]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Rely on HP_TIMING_AVAIL implies HP_SMALL_TIMING_AVAIL
[thirdparty/glibc.git] / ChangeLog
CommitLineData
225f410f
MR
12014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
2
3 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
4
3247f285
SP
52014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6
7 Sync up with gettext.
8 * intl/loadmsgcat.c: Define O_BINARY if not defined.
9 [_MSC_VER]: Include malloc.h
10 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
11 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
12 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
13 TEMP_FAILURE_RETRY. Cast return of alloca.
14 [!_LIBC] Call gl_rwlock_init.
15 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
16
d12704c7
SP
172014-07-02 Roland McGrath <roland@hack.frob.com>
18
19 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
20 before checking its value.
21
99f8dc92
SP
222014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23
05fdac77
SP
24 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
25
99f8dc92
SP
26 * debug/memcpy_chk.c: Don't include pagecopy.h.
27 * debug/mempcpy_chk.c: Likewise.
28 * string/memcpy.c: Likewise.
29 * string/memmove.c: Likewise.
30 * sysdeps/powerpc/memmove.c: Likewise.
31 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
32 definition of PAGE_COPY_FWD_MAYBE here...
33 * sysdeps/generic/pagecopy.h: ... from here.
34 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
35
bc8ea385
VR
362014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
37 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38
39 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
40 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
41 optimizations.
42 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43 (__libc_ifunc_impl_list): Likewise.
44 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
45 multiarch strcat for PPC64.
46 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
47 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
48
fe5f34e4
RM
492014-07-02 Roland McGrath <roland@hack.frob.com>
50
51 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
52
256aa665
SP
532014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
54
d4eb8195
SP
55 * intl/loadmsgcat.c: Remove declaration of
56 get_sysdep_segment_value.
57 (get_sysdep_segment_value): Use ISO C style.
58 (_nl_load_domain): Use ISO C style. Get rid of redundant
59 semicolon. Fix typo and formatting in comment.
60 (_nl_unload_domain): Use ISO C style.
61
256aa665
SP
62 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
63
b100f9aa
WN
642014-07-02 Will Newton <will.newton@linaro.org>
65
66 * malloc/obstack.c: Merge from gnulib master.
67 [HAVE_CONFIG_H]: Remove conditional code.
68 [!_LIBC]: Include config.h.
69 [!ELIDE_CODE]: Don't include inttypes.h, include
70 stdint.h unconditionally.
71 (print_and_abort): Mark as _Noreturn.
72 (_obstack_allocated_p): Mark as __attribute_pure__.
73 (obstack_free): Rename to __obstack_free.
74 [!__attribute__]: Remove conditional code.
75 * malloc/obstack.h: Merge from gnulib master.
76 [__cplusplus]: Move conditional down.
77 [!__attribute_pure__]: Define __attribute_pure__ here
78 if it is not already defined.
79 (_obstack_memory_used): Mark as __attribute_pure__.
80 [!__obstack_free]: Define as obstack_free.
81 [__GNUC__]: Remove check for ancient NeXT gcc.
82
c4c41244
PE
832014-07-02 Will Newton <will.newton@linaro.org>
84 Paul Eggert <eggert@cs.ucla.edu>
85
86 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
87
e1e041c4
SP
882014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
89
90 * resolv/gethnamaddr.c: Add comment warning that the file is
91 not maintained.
92
ccf431ff
CD
932014-07-01 Carlos O'Donell <carlos@redhat.com>
94
d34570a6
CD
95 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
96 entries.
97
ccf431ff
CD
98 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
99 entry for aio_cancel and aio_cancel64.
100 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
101 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
102 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
103 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
104 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
105 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
106 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
107 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
108 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
109 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
110 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
111 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
112 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
113
ca06321d
RM
1142014-07-01 Roland McGrath <roland@hack.frob.com>
115
116 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
117 * nptl/pthread_mutex_lock.c: Likewise.
118 * nptl/pthread_mutex_timedlock.c: Likewise.
119 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
120
a1ac3184
RH
1212014-07-01 Richard henderson <rth@redhat.com>
122
631021e0
RH
123 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
124 (__isnan, __isnanl): Remove.
125 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
126
a1ac3184
RH
127 * sysdeps/alpha/fpu/libm-test-ulps: Update.
128
0c1d731f
SL
1292014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
130
131 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
132
76985d3e
SP
1332014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
134
135 * resolv/nss_dns/dns-host.c (getanswer_r)
136 [MULTI_PTRS_ARE_ALIASES]: Remove code.
137
b0cb3096
JM
1382014-07-01 Joseph Myers <joseph@codesourcery.com>
139
140 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
141 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
142 undefine.
143 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
144 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
145
4d76cb39
RM
1462014-07-01 Roland McGrath <roland@hack.frob.com>
147
148 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
149 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
150
151 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
152 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
153
154 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
155 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
156 ... here.
157 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
158 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
159
160 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
161 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
162 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
163 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
164
165 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
166 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
167 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
168 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
169 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
170 Moved ...
171 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
172 ... here.
173 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
174 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
175 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
176 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
177 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
178 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
179 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
180 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
181 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
182 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
183 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
184 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
185 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
186 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
187 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
188 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
189 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
190 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
191 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
192 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
193 ... here.
194 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
195 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
196 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
197 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
198 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
199 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
200 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
201 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
202
0cdcad17
DH
2032014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
204
205 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
206 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
207 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
208 Add sysdep.
209
9b71d0e3
AZ
2102014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
211
212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
213
665390c2
JM
2142014-06-30 Joseph Myers <joseph@codesourcery.com>
215
ae05a9d7
JM
216 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
217 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
218
a7672a2f
JM
219 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
220
665390c2
JM
221 * sysdeps/arm/libm-test-ulps: Regenerated.
222
d7a05d07
MR
2232014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
224 Roland McGrath <roland@hack.frob.com>
225
226 * test-skeleton.c (signal_handler): Kill the whole process group
227 before killing the child individually.
228 (main): Report any failure on `setpgid'.
229
46f1d8a6
RM
2302014-06-30 Roland McGrath <roland@hack.frob.com>
231
232 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
233 from _TLS_H to _ARM_NPTL_TLS_H.
234 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
235 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
236
9c37ec0b
JM
2372014-06-30 Joseph Myers <joseph@codesourcery.com>
238
ce9c5b3e
JM
239 [BZ #16539]
240 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
241 (__expm1l): Return argument unchanged when small but not
242 subnormal.
243
3a6e9887
JM
244 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
245 include macro name.
246 (_FP_UNPACK_RAW_1_P): Likewise.
247 (_FP_PACK_RAW_1): Likewise.
248 (_FP_PACK_RAW_1_P): Likewise.
249 (_FP_MUL_MEAT_1_wide): Likewise.
250 (_FP_MUL_MEAT_DW_1_hard): Likewise.
251 (_FP_MUL_MEAT_1_hard): Likewise.
252 (_FP_DIV_MEAT_1_imm): Likewise.
253 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
254 (_FP_DIV_MEAT_1_udiv): Likewise.
255 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
256 (_FP_UNPACK_RAW_2): Likewise.
257 (_FP_UNPACK_RAW_2_P): Likewise.
258 (_FP_PACK_RAW_2): Likewise.
259 (_FP_PACK_RAW_2_P): Likewise.
260 (_FP_MUL_MEAT_DW_2_wide): Likewise.
261 (_FP_MUL_MEAT_2_wide): Likewise.
262 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
263 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
264 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
265 (_FP_MUL_MEAT_2_gmp): Likewise.
266 (_FP_DIV_MEAT_2_udiv): Likewise.
267 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
268 (_FP_FRAC_SRL_4): Likewise.
269 (_FP_FRAC_SRST_4): Likewise.
270 (_FP_FRAC_SRS_4): Likewise.
271 (_FP_UNPACK_RAW_4): Likewise.
272 (_FP_UNPACK_RAW_4_P): Likewise.
273 (_FP_PACK_RAW_4): Likewise.
274 (_FP_PACK_RAW_4_P): Likewise.
275 (_FP_MUL_MEAT_DW_4_wide): Likewise.
276 (_FP_MUL_MEAT_4_wide): Likewise.
277 (_FP_MUL_MEAT_4_gmp): Likewise.
278 (umul_ppppmnnn): Likewise.
279 (_FP_DIV_MEAT_4_udiv): Likewise.
280 (__FP_FRAC_ADD_4): Likewise.
281 (__FP_FRAC_SUB_3): Likewise.
282 (__FP_FRAC_SUB_4): Likewise.
283 (__FP_FRAC_DEC_3): Likewise.
284 (__FP_FRAC_DEC_4): Likewise.
285 (__FP_FRAC_ADDI_4): Likewise.
286 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
287 (_FP_FRAC_SRL_8): Likewise.
288 (_FP_FRAC_SRS_8): Likewise.
289
9c37ec0b
JM
290 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
291 include macro name.
292 (FP_UNPACK_RAW_EP): Likewise.
293 (FP_PACK_RAW_E): Likewise.
294 (FP_PACK_RAW_EP): Likewise.
295 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
296 (_FP_ISSIGNAN): Likewise.
297 (_FP_ADD_INTERNAL): Likewise.
298 (_FP_FMA): Likewise.
299 (_FP_CMP): Likewise.
300 (_FP_SQRT): Likewise.
301 (_FP_TO_INT): Likewise.
302 (_FP_FROM_INT): Likewise.
303 (FP_EXTEND): Likewise.
304 (_FP_DIV_MEAT_N_loop): Likewise.
305
2125f674
MR
3062014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
307
308 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
309 throughout.
310
edea4028
JM
3112014-06-29 Joseph Myers <joseph@codesourcery.com>
312
313 [BZ #17097]
314 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
315 result with correct sign in case of exponents that produce
316 overflow except for X very close to 1.
317
dd0ba018
PE
3182014-06-28 Paul Eggert <eggert@cs.ucla.edu>
319
320 mktime: merge #if/#ifdef usage from glibc
321 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
322 as that works with both Glibc's and Gnulib's style.
323 See thread starting at Siddhesh Poyarekar's bug report at:
324 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
325
64df73c2
SP
3262014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
327
328 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
329 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
330 * sysdeps/tile/tilegx/memmove.c: Remove file.
331
f1eafb41
JM
3322014-06-27 Joseph Myers <joseph@codesourcery.com>
333
334 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
335 abi-name definition.
336 * scripts/soversions.awk: Do not handle or generate ABI lines.
337 * shlib-versions: Remove ABI entries.
338 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
339 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
340
58eb0862
RM
3412014-06-27 Roland McGrath <roland@hack.frob.com>
342
37caf178
RM
343 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
344 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
345 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
346 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
347 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
348 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
349 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
350 Moved ...
351 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
352 ... here.
353 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
354 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
355 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
356 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
357 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
358 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
359 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
360 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
361 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
362 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
363 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
364 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
365 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
366 Moved ...
367 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
368 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
369 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
370 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
371 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
372 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
373 Moved ...
374 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
375 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
376 Moved ...
377 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
378 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
379 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
380 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
381 Moved ...
382 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
383 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
384 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
385 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
386 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
387 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
388 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
389 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
390 Moved ...
391 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
392 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
393 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
394 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
395 Moved ...
396 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
397 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
398 Moved ...
399 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
400 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
401 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
402 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
403 Moved ...
404 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
405 ... here.
406 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
407 Identical file removed.
408 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
409 Moved ...
410 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
411 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
412 Identical file removed.
413 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
414 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
415 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
416 Moved ...
417 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
418 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
419 Identical file removed.
420 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
421 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
422 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
423 Identical file removed.
424 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
425 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
426 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
427 Identical file removed.
428 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
429 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
430 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
431 Identical file removed.
432 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
433 Moved ...
434 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
435 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
436 Identical file removed.
437 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
438 Moved ...
439 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
440 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
441 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
442 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
443 Identical file removed.
444 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
445 Moved ...
446 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
447 ... here.
448 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
449 Identical file removed.
450 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
451 Moved ...
452 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
453 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
454 Identical file removed.
455 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
456 Moved ...
457 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
458 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
459 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
460 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
461 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
462 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
463 Moved ...
464 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
465 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
466 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
467
58eb0862
RM
468 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
469 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
470 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
471 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
472 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
473
6f12d062
AS
4742014-06-27 Arjun Shankar <arjun.is@lostca.se>
475
476 [BZ #17092]
477 * nscd/nscd.c (monitor_child): Return exit status of child
478 instead of return value from wait syscall.
479
be254932
JM
4802014-06-27 Joseph Myers <joseph@codesourcery.com>
481
cb403c34
JM
482 * configure.ac (libc_commonpagesize): Remove variable.
483 (libc_relro_required): Likewise.
484 (libc_cv_z_relro): Remove configure test.
485 * configure: Regenerated.
486 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
487 variable.
488 (libc_relro_required): Likewise.
489 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
490 (libc_relro_required): Likewise.
491 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
492 (libc_relro_required): Likewise.
493 * sysdeps/arm/preconfigure: Regenerated.
494 * sysdeps/ia64/preconfigure: Remove file.
495 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
496 variable.
497 (libc_relro_required): Likewise.
498
be254932
JM
499 [BZ #16561]
500 [BZ #16562]
501 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
502 (__ieee754_yn): Set FE_TONEAREST mode internally and then
503 recompute overflowing results in original rounding mode.
504 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
505 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
506 recompute overflowing results in original rounding mode.
507 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
508 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
509 recompute overflowing results in original rounding mode.
510 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
511 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
512 recompute overflowing results in original rounding mode.
513 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
514 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
515 recompute overflowing results in original rounding mode.
516 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
517 (libc_feholdsetround_ctx): New macro.
518 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
519 * sysdeps/i386/fpu/libm-test-ulps: Update.
520 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
521
b351d85a
JM
5222014-06-26 Joseph Myers <joseph@codesourcery.com>
523
524 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
525 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
526 corresponding .cpsetup call.
527
3cb4de47
RM
5282014-06-26 Roland McGrath <roland@hack.frob.com>
529
530 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
531 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
532 * sysdeps/arm/Makefile [$(subdir) = csu]
533 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
534 (static-only-routines): Add aeabi_read_tp here.
535 (shared-only-routines): Add libc-aeabi_read_tp here.
536 (CFLAGS-libc-start.c): Add -fexceptions here.
537 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
538 (sysdep_routines, static-only-routines, shared-only-routines):
539 Don't add to these here.
540 (CFLAGS-libc-start.c): Likewise.
541
542 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
543 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
544 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
545 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
546 * sysdeps/arm/Makefile [$(subdir) = rt]
547 (librt-sysdep_routines, librt-shared-only-routines):
548 Append rt-aeabi_unwind_cpp_pr1 here.
549 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
550 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
551 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
552 (libpthread-sysdep_routines, libpthread-shared-only-routines):
553 Append nptl-aeabi_unwind_cpp_pr1 here.
554 (tests): Filter out tst-cleanupx4 here.
555 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
556 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
557 Don't do those here.
558
354426bb
JM
5592014-06-26 Joseph Myers <joseph@codesourcery.com>
560
561 * scripts/list-sources.sh: Do not handle ports specially.
562
28b0a8c9
RM
5632014-06-26 Roland McGrath <roland@hack.frob.com>
564
a3dd035d
RM
565 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
566 * sysdeps/arm/feupdateenv.c: Likewise.
567
28b0a8c9
RM
568 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
569
e66a8203
JM
5702014-06-26 Joseph Myers <joseph@codesourcery.com>
571
572 * manual/texinfo.tex: Update to version 2014-05-05.10 with
573 trailing whitespace removed.
574 * scripts/config.guess: Update to version 2014-03-23.
575 * scripts/config.sub: Update to version 2014-05-01
576 * scripts/install-sh: Update to version 2013-12-25.23.
577 * scripts/move-if-change: Update from gnulib.
578
74171115
SP
5792014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
580
b97c9ce5
SP
581 * debug/memmove_chk.c: Remove pagecopy.h include.
582
4000f892
SP
5832014-06-26 Paul Eggert <eggert@cs.ucla.edu>
584
74171115
SP
585 * time/mktime.c (leapyear): Remove inline keyword. The code is now
586 identical to gnulib mktime.
587
a8779c28
JM
5882014-06-26 Joseph Myers <joseph@codesourcery.com>
589
e64708de
JM
590 * configure.ac: Do not test for machine being rs6000. Do not test
591 for powerpc*-*soft.
592 * configure: Regenerated.
593
a8779c28
JM
594 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
595 test.
596 * configure: Regenerated.
597 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
598 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
599 Remove configure test.
600 * sysdeps/arm/configure: Regenerated.
601 * sysdeps/nptl/configure.ac: Do not check
602 libc_cv_asm_cfi_directives.
603 * sysdeps/nptl/configure: Regenerated.
604 * sysdeps/x86_64/nptl/configure.ac: Remove file.
605 * sysdeps/x86_64/nptl/configure: Remove generated file.
606 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
607 unconditional.
608 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
609
2aac0a86
SP
6102014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
611
059bf913
SP
612 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
613 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
614 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
615 it is defined.
616
4cf5b6d0
SP
617 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
618 instead of whether it is defined.
619 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
620 * sysdeps/hppa/dl-machine.h: Likewise.
621 * sysdeps/ia64/dl-machine.h: Likewise.
622 * sysdeps/m68k/dl-machine.h: Likewise.
623 * sysdeps/microblaze/dl-machine.h: Likewise.
624 * sysdeps/mips/dl-machine.: Likewise.
625 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
626 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
627 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
628 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
629 * sysdeps/sh/dl-machine.h: Likewise.
630 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
631 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
632 * sysdeps/tile/dl-machine.h: Likewise.
633 * sysdeps/x86_64/dl-machine.h: Likewise.
634
2aac0a86
SP
635 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
636 code.
637 (verify_persistent_db): Likewise.
638
6ad2df0b
RM
6392014-06-26 Roland McGrath <roland@hack.frob.com>
640
d8a483f3
RM
641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
642 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
644 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
646 Moved ...
647 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
648 ... here.
649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
650 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
651 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
652 Identical file removed.
653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
654 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
656 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
658 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
660 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
662 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
664 Moved ...
665 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
667 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
669 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
671 Moved ...
672 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
674 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
676 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
678 Identical file removed.
679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
680 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
682 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
684 Moved ...
685 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
686 ... here.
687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
688 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
690 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
692 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
694 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
696 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
697 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
698 Moved ...
699 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
701 Moved ...
702 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
703 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
704 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
705 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
706 Moved ...
707 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
709 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
710
52ae23b4
RM
711 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
712 folded into ...
713 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
714 * sysdeps/unix/sysv/linux/s390/Versions
715 (libpthread: GLIBC_2.19): New version set.
716 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
717 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
718 (librt: GLIBC_2.3.3): New version set.
719 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
720 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
721 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
722 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
723 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
724 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
725 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
726 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
727 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
728 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
729 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
730 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
731 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
732 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
733 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
734 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
735 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
736 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
737 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
738 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
739 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
740 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
741 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
742 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
743 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
744 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
745 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
746 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
747 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
748 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
749 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
750 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
751 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
752 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
753 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
754 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
755 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
756 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
757 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
758 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
759 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
760 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
761 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
762 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
763 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
764
39507e4a
RM
765 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
766 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
767 (__libc_vfork): Define the function under this name.
768 [!NOT_IN_libc] (__vfork): Make this an alias.
769 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
770 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
771 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
772 (__libc_vfork): Define the function under this name.
773 [!NOT_IN_libc] (__vfork): Make this an alias.
774 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
775 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
776 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
777 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
778 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
779 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
780
e549ee56
RM
781 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
782 code that was previously under [RESET_PID].
783 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
784 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
785 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
786
6ad2df0b
RM
787 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
788 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
789 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
790 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
791 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
792 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
793 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
794 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
795 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
796 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
797 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
798 Moved ...
799 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
800 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
801 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
802 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
803 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
804 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
805 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
806 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
807 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
808 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
809 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
810 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
811 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
812 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
813 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
814 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
815 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
816 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
817 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
818 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
819 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
820 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
821 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
822 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
823 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
824 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
825 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
826 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
827 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
828
7c1c1d8e
RM
8292014-06-25 Roland McGrath <roland@hack.frob.com>
830
831 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
832 that was previously under [RESET_PID].
833 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
834
3e239be6
JM
8352014-06-25 Joseph Myers <joseph@codesourcery.com>
836
74385da5
JM
837 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
838 not undefine and redefine.
839 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
840 [O_CLOEXEC]: Make code unconditional.
841 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
842 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
843 <kernel-features.h>.
844 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
845 conditional variable definition.
846 (shm_open) [O_CLOEXEC]: Make code unconditional.
847 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
848 code.
849
c2570a0b
JM
850 * configure.ac (USE_REGPARMS): Don't define here.
851 * configure: Regenerated.
852 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
853 * sysdeps/i386/configure: Regenerated.
854
11b076bb
JM
855 * nptl/createthread.c: Don't include kernel-features.h.
856 * nptl/pthread_cancel.c: Likewise.
857 * nptl/pthread_condattr_setclock.c: Likewise.
858 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
859 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
860 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
861 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
862 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
863 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
864 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
865 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
866 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
867 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
868 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
869 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
870 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
871 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
872 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
873 * nscd/gai.c: Likewise.
874 * nss/nss_db/db-open.c: Likewise.
875 * sysdeps/generic/ldsodefs.h: Likewise.
876 * sysdeps/sh/nptl/tls.h: Likewise.
877 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
878 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
879 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
880 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
881 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
882 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
883 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
884 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
885 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
886 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
887 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
888 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
889 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
890 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
891 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
892 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
893 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
894 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
895 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
896 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
897 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
898 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
899 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
900 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
901 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
902 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
903 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
904 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
905 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
906 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
907 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
908 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
909 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
910 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
911 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
912 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
913 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
914 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
915 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
916 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
917 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
918 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
919 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
920 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
921 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
922 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
923 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
924 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
925 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
926 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
927 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
928 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
929 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
930 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
931 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
932 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
933 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
934 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
957 * sysdeps/unix/sysv/linux/pread.c: Likewise.
958 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
959 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
960 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
961 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
962 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
963 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
964 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
965 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
966 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
967 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
968 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
969 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
970 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
971 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
972 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
973 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
974 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
975 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
976 * sysdeps/unix/sysv/linux/system.c: Likewise.
977 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
978 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
979 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
980 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
981 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
982 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
983 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
984
92072d57
JM
985 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
986 * configure: Regenerated.
987 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
988
3e239be6
JM
989 * configure.ac (base_machine): Do not set specially for particular
990 machines here.
991 * configure: Regenerated.
992 * sysdeps/powerpc/preconfigure: Move machine and base_machine
993 settings from configure.ac.
994 * sysdeps/i386/preconfigure: New file.
995 * sysdeps/s390/preconfigure: Likewise.
996 * sysdeps/sh/preconfigure: Likewise.
997 * sysdeps/sparc/preconfigure: Likewise.
998
06d50baa
RM
9992014-06-25 Roland McGrath <roland@hack.frob.com>
1000
74836003
RM
1001 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1002 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1003 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1004 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1005 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1006 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1007 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1008 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1009 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1010 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1011 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1012 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1013 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1014 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1015 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1016 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1017 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1018 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1019 * sysdeps/sparc/sparc64/Makefile: ... appended here.
1020
1021 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1022 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1023 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1024 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1025 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1026 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1027 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1028 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1029 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1030 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1031 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1032 * sysdeps/sparc/sparc32/sem_post.c: ... here.
1033 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1034 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1035 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1036 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1037 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1038 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1039 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1040 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1041 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1042 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1043 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1044 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1045 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1046 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1047 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1048 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1049 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1050 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1051 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1052 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1053 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1054 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1055 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1056 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1057 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1058 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1059
06d50baa
RM
1060 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1061 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1062 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1063 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1064 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1065 Moved ...
1066 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1067 ... here.
1068 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1069 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1070 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1071 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1072 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1073 Moved ...
1074 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1075 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1076 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1077 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1078 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1080 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1081 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1082 Moved ...
1083 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1085 Moved ...
1086 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1087 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1088 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1089 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1090 Moved ...
1091 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1092 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1093 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1094 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1095 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1096 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1097 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1098 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1099 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1101 Moved ...
1102 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1103 ... here.
1104 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1105 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1107 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1108 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1109 Moved ...
1110 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1111 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1112 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1113 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1114 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1115 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1116 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1118 Moved ...
1119 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1120 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1121 Moved ...
1122 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1123 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1124 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1125 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1126 Moved ...
1127 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1129 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1131 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1132
a4ccbc9b
JM
11332014-06-25 Joseph Myers <joseph@codesourcery.com>
1134
0828edbf
JM
1135 * timezone/checktab.awk: Update from tzcode 2014e.
1136 * timezone/private.h: Likewise.
1137 * timezone/tzfile.h: Likewise.
1138 * timezone/zdump.c: Likewise.
1139 * timezone/zic.c: Likewise.
1140
a4ccbc9b
JM
1141 * sysdeps/unix/sysv/linux/kernel-features.h
1142 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1143 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1144 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1145 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1146 Remove conditional code.
1147
9aea0cb8
WN
11482014-06-25 Will Newton <will.newton@linaro.org>
1149
1150 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1151 (_dl_arm_cap_flags): Add HWCAP2 values.
1152 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1153 (_DL_HWCAP_COUNT): Increase to 37.
1154 (_DL_HWCAP_LAST): New define.
1155 (_DL_HWCAP2_LAST): New define.
1156 (_dl_procinfo): Add support for printing
1157 AT_HWCAP2 entries.
1158 (_dl_string_hwcap): Use _dl_hwcap_string.
1159
6eaa65ce
AZ
11602014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1161
1162 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1163
0f5b7185
JM
11642014-06-25 Joseph Myers <joseph@codesourcery.com>
1165
cfd2ea50
JM
1166 * README: Do not mention ports directory.
1167
cecf2ed4
JM
1168 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1169 Remove macro.
1170 * sysdeps/unix/sysv/linux/futimes.c: Do not include
1171 <kernel-features.h>.
1172 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1173 conditional variable definition.
1174 (__futimes): Update comment.
1175 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1176 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1177
a638de82
JM
1178 [BZ #16560]
1179 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1180 arguments close to 0.
1181 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1182 Likewise.
1183 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1184 Likewise.
1185 * math/auto-libm-test-in: Add more tests of exp10.
1186 * math/auto-libm-test-out: Regenerated.
1187 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1188
0f5b7185
JM
1189 * sysdeps/unix/sysv/linux/kernel-features.h
1190 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1191 * sysdeps/unix/sysv/linux/readv.c: Do not include
1192 <kernel-features.h>.
1193 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1194 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1195 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1196 unconditional.
1197 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1198 conditional code.
1199 * sysdeps/unix/sysv/linux/writev.c: Do not include
1200 <kernel-features.h>.
1201 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1202 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1203 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1204 unconditional.
1205 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1206 conditional code.
1207
c7aec4be
WN
12082014-06-25 Will Newton <will.newton@linaro.org>
1209
1210 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1211 comment changes throughout the file. Remove checks
1212 for HAVE_*_H definitions that are not required.
1213 (__gen_tempname): Call abort if an unknown kind value is
1214 passed.
1215
c5241f95
AS
12162014-06-25 Andreas Schwab <schwab@suse.de>
1217
1218 [BZ #17086]
1219 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1220 scalbln, scalblnf, scalblnl in libc.
1221
911422da
SP
12222014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1223
1224 [BZ #17086]
1225 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1226 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1227 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1228
0d749bbe
RM
12292014-06-24 Roland McGrath <roland@hack.frob.com>
1230
1231 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1232 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1233 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1234 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1235 Update #include.
1236 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1237 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1238 Update #include.
1239 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1240 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1241 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1242 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1243 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1244 * sysdeps/x86/bits/pthreadtypes.h: ... here.
1245 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1246 * sysdeps/x86/bits/semaphore.h: ... here.
1247 * sysdeps/x86/nptl/elide.h: Moved ...
1248 * sysdeps/x86/elide.h: ... here.
1249 * sysdeps/x86_64/nptl/Implies: File removed.
1250 * sysdeps/i386/nptl/Implies: File removed.
1251
0ea5d373
JM
12522014-06-24 Joseph Myers <joseph@codesourcery.com>
1253
4060283d
JM
1254 [BZ #16539]
1255 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1256 return the argument for normal arguments with exponent below -64.
1257 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1258 Likewise.
1259 * math/auto-libm-test-in: Add another test of expm1.
1260 * math/auto-libm-test-out: Regenerated.
1261
e7dd3c8c
JM
1262 [BZ #16287]
1263 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1264 calling __erfcl for arguments at least 16.
1265 * math/auto-libm-test-in: Add more tests of erf.
1266 * math/auto-libm-test-out: Regenerated.
1267
0ea5d373
JM
1268 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1269 individual architectures.
1270 * sysdeps/unix/sysv/linux/configure: Regenerated.
1271 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1272 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1273 * sysdeps/unix/sysv/linux/powerpc/configure.ac
1274 (ldd_rewrite_script): Define variable.
1275 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1277 file.
1278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1279 generated file.
1280 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1281 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1282 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1283 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1284 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1285 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1286 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1287 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1288
2307e126
SP
12892014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1290
1291 [BZ #17084]
1292 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1293 Rename member __data.d to __data.__elision_data.
1294
c0a4ed77
W
12952014-06-24 Wilco <wdijkstr@arm.com>
1296
1297 * NEWS: Add 16918 to fixed bug list.
1298
b8c00573
W
12992014-06-24 Wilco <wdijkstr@arm.com>
1300
1301 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1302
b5570d92
W
13032014-06-24 Wilco <wdijkstr@arm.com>
1304
1305 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1306 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1307 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1308 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1309 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1310 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1311 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1312 Use _FPU_MASK_RM.
1313
947bdca2
W
13142014-06-24 Wilco <wdijkstr@arm.com>
1315
1316 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1317
00f669ed
W
13182014-06-24 Wilco <wdijkstr@arm.com>
1319
1320 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1321 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1322 * sysdeps/arm/fesetround.c (fesetround): Remove space.
1323 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1324
db59bad3
W
13252014-06-24 Wilco <wdijkstr@arm.com>
1326
1327 [BZ #16918]
1328 * sysdeps/arm/feupdateenv.c (feupdateenv):
1329 Rewrite to reduce FPSCR accesses and fix return value.
1330
001f7b77
W
13312014-06-24 Wilco <wdijkstr@arm.com>
1332
1333 * sysdeps/arm/fclrexcpt.c (feclearexcept):
1334 Optimize to avoid unnecessary FPSCR writes.
1335 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1336 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1337 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1338 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1339
4841e6a6
W
13402014-06-24 Wilco <wdijkstr@arm.com>
1341
1342 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1343 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1344 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1345 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1346 Call libc_fetestexcept_vfp.
1347 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1348 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1349 __SOFTFP__ ifdef so that they can be built for softfp.
1350
0813022c
SP
13512014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1352
08e5862f
SP
1353 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1354 argument type signed char.
1355
0813022c
SP
1356 * Makerules (check-abi): Dump diff of symlist if the test
1357 fails.
1358
3fc7236a
RM
13592014-06-23 Roland McGrath <roland@hack.frob.com>
1360
aba8ef95
RM
1361 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1362 using abort.
1363
3fc7236a
RM
1364 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1365 Remove unused variable ST.
1366
4da6db51
JM
13672014-06-23 Joseph Myers <joseph@codesourcery.com>
1368
4648909d
JM
1369 [BZ #16354]
1370 [BZ #17061]
1371 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1372 small arguments before calling __expm1.
1373 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1374 small arguments before calling __expm1f.
1375 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1376 small arguments before calling __expm1l.
1377 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1378 Likewise.
1379 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1380 * math/auto-libm-test-in: Add more cosh tests. Do not allow
1381 spurious underflow for some cosh tests.
1382 * math/auto-libm-test-out: Regenerated.
1383 * sysdeps/i386/fpu/libm-test-ulps: Update.
1384
46a3d3c7
JM
1385 [BZ #17050]
1386 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1387 (__ieee754_y1): Set errno if return value overflows.
1388 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1389 (__ieee754_y1f): Set errno if return value overflows.
1390 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1391 (__ieee754_y1l): Set errno if return value overflows.
1392 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1393 (__ieee754_y1l): Set errno if return value overflows.
1394 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1395 * math/auto-libm-test-out: Regenerated.
1396
863893ec
JM
1397 * math/gen-auto-libm-tests.c: Document use of
1398 ignore-zero-inf-sign.
1399 (input_flag_type): Add value flag_ignore_zero_inf_sign.
1400 (input_flags): Add ignore-zero-inf-sign.
1401 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1402 * math/gen-libm-test.pl (generate_testfile): Handle
1403 ignore-zero-inf-sign.
1404 * math/auto-libm-test-in: Mark some cpow tests with
1405 ignore-zero-inf-sign and some with xfail-rounding.
1406 * math/auto-libm-test-out: Regenerated.
1407 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1408 * sysdeps/i386/fpu/libm-test-ulps: Update.
1409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1410
4da6db51
JM
1411 [BZ #16315]
1412 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1413 overflowing or underflowing operations take place with sign of
1414 result.
1415 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1416 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1417 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1418 (__ieee754_pow): Recompute overflowing and underflowing results in
1419 original rounding mode.
1420 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1421 (__powl_helper): Allow negative argument X and scale negated value
1422 as needed. Avoid passing value outside [-1, 1] to f2xm1.
1423 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1424 overflowing or underflowing operations take place with sign of
1425 result.
1426 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1427 Include <math.h>.
1428 * math/auto-libm-test-in: Add more tests of pow.
1429 * math/auto-libm-test-out: Regenerated.
1430 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1431 (pow_tonearest_test_data): Remove.
1432 (pow_test_tonearest): Likewise.
1433 (pow_towardzero_test_data): Likewise.
1434 (pow_test_towardzero): Likewise.
1435 (pow_downward_test_data): Likewise.
1436 (pow_test_downward): Likewise.
1437 (pow_upward_test_data): Likewise.
1438 (pow_test_upward): Likewise.
1439 (main): Don't call removed functions.
1440 * sysdeps/i386/fpu/libm-test-ulps: Update.
1441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1442
5686b236
RM
14432014-06-23 Roland McGrath <roland@hack.frob.com>
1444
1445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1446 Moved ...
1447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1449 Moved ...
1450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1452 Moved ...
1453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1455 Moved ...
1456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1458 File removed.
1459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1460 File removed.
1461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1462 File removed.
1463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1464 File removed.
1465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1466 File removed.
1467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1468 File removed.
1469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1470 File removed.
1471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1472 File removed.
1473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1474 File removed.
1475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1476 File removed.
1477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1478 File removed.
1479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1480 File removed.
1481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1482 Moved ...
1483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1485 Moved ...
1486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1487 ... here.
1488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1489 Moved ...
1490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1492 Moved ...
1493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1495 Moved ...
1496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1498 Moved ...
1499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1501 Moved ...
1502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1504 Moved ...
1505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1507 Moved ...
1508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1511 ... here.
1512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1513 Moved ...
1514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1516 Moved ...
1517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1518 ... here.
1519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1520 Moved ...
1521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1522 ... here.
1523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1524 Moved ...
1525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1526 ... here.
1527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1528 Moved ...
1529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1531 Moved ...
1532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1536 Moved ...
1537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1538 ... here.
1539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1540 Moved ...
1541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1542 ... here.
1543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1544 Moved ...
1545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1547 Moved ...
1548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1550 Moved ...
1551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1553 Moved ...
1554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1556 Moved ...
1557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1558 ... here.
1559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1560 Moved ...
1561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1563 Moved ...
1564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1566 Moved ...
1567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1569 Moved ...
1570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1574 Moved ...
1575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1577 Moved ...
1578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1580 Moved ...
1581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1582 ... here.
1583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1584 Moved ...
1585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1586 ... here.
1587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1588 Moved ...
1589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1590 ... here.
1591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1592 Moved ...
1593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1595 Moved ...
1596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1598 Moved ...
1599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1601 Moved ...
1602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1603 ... here.
1604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1605 Moved ...
1606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1607 ... here.
1608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1609 Moved ...
1610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1611 ... here.
1612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1613 Moved ...
1614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1616 Moved ...
1617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1618
e6d90d67
WD
16192014-06-23 Will Newton <will.newton@linaro.org>
1620 Wilco <wdijkstr@arm.com>
1621
1622 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1623 implementation. Include get-rounding-mode.h.
1624 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1625 [!libc_feholdsetround_noex_ctx]: Define
1626 libc_feholdsetround_noex_ctx.
1627 [!libc_feholdsetround_noexf_ctx]: Define
1628 libc_feholdsetround_noexf_ctx.
1629 [!libc_feholdsetround_noexl_ctx]: Define
1630 libc_feholdsetround_noexl_ctx.
1631 (libc_feholdsetround_ctx): New function.
1632 (libc_feresetround_ctx): New function.
1633 (libc_feholdsetround_noex_ctx): New function.
1634 (libc_feresetround_noex_ctx): New function.
1635
d42df555
RM
16362014-06-23 Roland McGrath <roland@hack.frob.com>
1637
88a46474
RM
1638 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1639 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1640 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1641 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1642 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1643 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1644
15bed472
RM
1645 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1646 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1647 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1648 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1649 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1650 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1651 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1652 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1653 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1654 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1655 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1656 Moved ...
1657 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1658 ... here.
1659 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1660 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1661 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1662 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1663 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1664 Moved ...
1665 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1666 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1667 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1668 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1669 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1670 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1671 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1672 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1673 Moved ...
1674 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1675 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1676 Moved ...
1677 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1678 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1679 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1680 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1681 Moved ...
1682 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1683 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1684 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1685 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1686 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1687 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1688 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1689 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1690 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1691 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1692 Moved ...
1693 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1694 ... here.
1695 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1696 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1697 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1698 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1699 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1700 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1701 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1702 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1703 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1704 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1705 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1706 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1707 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1708 Moved ...
1709 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1710 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1711 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1712 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1713 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1714 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1715 Moved ...
1716 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1717 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1718 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1719 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1720 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1721
d42df555
RM
1722 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1723 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1724 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1725 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1726 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1727 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1728 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1729 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1730 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1731 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1732 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1733 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1734 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1735 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1736 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1737 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1738 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1739 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1740 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1741 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1742 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1743 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1744 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1745 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1746 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1747 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1748 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1749 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1750
76e5216e
JM
17512014-06-23 Joseph Myers <joseph@codesourcery.com>
1752
1753 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1754 (FALLOC_FL_COLLAPSE_RANGE): New macro.
1755 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1756 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1757 (IPV6_PMTUDISC_INTERFACE): Likewise.
1758 (IPV6_PMTUDISC_OMIT): Likewise.
1759
7a81cbcc
AS
17602014-06-23 Andreas Schwab <schwab@suse.de>
1761
1762 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1763 Remove unused errout label.
1764
db224009
AZ
17652014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1766
1767 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1768 macro: hardware supports Vector Crypto instructions.
1769
f393b4aa
WN
17702014-06-23 Will Newton <will.newton@linaro.org>
1771
cc7d0447
WN
1772 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1773 rather than __builtin_expect.
1774
d6d06225
WN
1775 * elf/dl-lookup.c (undefined_msg): Remove variable.
1776 (_dl_lookup_symbol_x): Replace undefined_msg with string
1777 literal.
1778
f393b4aa
WN
1779 * elf/dl-lookup.c (do_lookup_unique): New function.
1780 (do_lookup_x): Move STB_GNU_UNIQUE handling code
1781 to a separate function.
1782
ac60763e
AS
17832014-06-23 Andreas Schwab <schwab@suse.de>
1784
1785 [BZ #17079]
1786 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1787 before reading the next line.
1788
c5c13355
WN
17892014-06-23 Will Newton <will.newton@linaro.org>
1790
1791 * test-skeleton.c (signal_handler): Use printf and %m
1792 rather than perror. Use printf rather than fprintf to
1793 stderr. Use puts rather than fputs to stderr.
1794 (main): Likewise.
1795
bd3675f9
LC
17962014-06-22 Ludovic Courtès <ludo@gnu.org>
1797
1798 * nscd/nscd.c (thread_info_t): Remove typedef.
1799 (thread_info): Remove variable.
1800
d03efb2f
AM
18012014-06-21 Allan McRae <allan@archlinux.org>
1802
1803 * NEWS: Mention CVE-2014-4043.
1804
bc4a86fa
RM
18052014-06-20 Roland McGrath <roland@hack.frob.com>
1806
dc9a54f8
RM
1807 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1808 * nptl/smp.h: ... here.
1809
bd7022c4
RM
1810 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1811
26ffd5e6
RM
1812 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1813 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1814 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1815 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1816
93a6d082
RM
1817 * nptl/allocatestack.c: Include <stack-aliasing.h>.
1818 * nptl/stack-aliasing.h: New file.
1819 * sysdeps/i386/i686/stack-aliasing.h: New file.
1820 * sysdeps/i386/i686/nptl/Makefile: File removed.
1821 * sysdeps/x86_64/stack-aliasing.h: New file.
1822 * sysdeps/x86_64/nptl/Makefile
1823 (CFLAGS-pthread_create.c): Variable removed.
1824
bc4a86fa
RM
1825 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1826 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1827 old file.
1828 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1829 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1830 old file.
1831
2272ffc1
JM
18322014-06-21 Joseph Myers <joseph@codesourcery.com>
1833
1834 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1835 (__ASSUME_SIGFRAME_V2): Remove macro.
1836 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1837 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1838 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1839 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1840 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1841 Declare as function. Remove conditional macro definitions.
1842 (__default_rt_sa_restorer): Likewise.
1843 (__default_sa_restorer_v1): Remove declaration.
1844 (__default_sa_restorer_v2): Likewise.
1845 (__default_rt_sa_restorer_v1): Likewise.
1846 (__default_rt_sa_restorer_v2): Likewise.
1847 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1848 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1849 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1850
4b88139b
RM
18512014-06-20 Roland McGrath <roland@hack.frob.com>
1852
1853 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1854 (libpthread-routines): Add sysdep.
1855 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1856 * sysdeps/unix/sysv/linux/sparc/Versions
1857 (libpthread: GLIBC_2.3.3): New version set.
1858 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1859 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1860 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1861 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1862 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
1863 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1864 Moved ...
1865 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1866 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1867 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1868 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1869 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1870 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1871 * sysdeps/sparc/nptl/sem_init.c: ... here.
1872 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1873 * sysdeps/sparc/nptl/sem_post.c: ... here.
1874 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1875 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1876 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1877 * sysdeps/sparc/nptl/sem_wait.c: ... here.
1878 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1879 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1880 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1881 (libpthread-routines): Add cpu_relax.
1882 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1883 File removed.
1884 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1885 (librt: GLIBC_2.3.3): New version set.
1886 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1887 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1888 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1889 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1890 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1891 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1892 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1893 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1894 Moved ...
1895 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1896 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1897 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1898 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1899 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1900 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1901 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1902 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1903 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1904 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1905 Moved ...
1906 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1907 Update #include.
1908 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1909 Moved ...
1910 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1911 Update #include.
1912 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1913 Moved ...
1914 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1915 Update #include.
1916 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1917 Moved ...
1918 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1919 Update #include.
1920 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1921 Moved ...
1922 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1923 Update #include.
1924 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1925 Moved ...
1926 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1927 Update #include.
1928 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1929 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1930 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1931 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1932 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1933 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1934 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1935 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1936 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1937 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1938 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1939 Moved ...
1940 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1941 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1942 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1943 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1944 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1945
d7109027
JM
19462014-06-20 Joseph Myers <joseph@codesourcery.com>
1947
9bc6103d
JM
1948 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1949 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1950 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1951 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1952 * nscd/nscd.c: Likewise.
1953 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1954 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1955 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1956 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1957
d7109027
JM
1958 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1959 <kernel-features.h>.
1960 (init_mq_netlink): Remove conditional have_sock_cloexec
1961 definitions. Remove code conditional on have_sock_cloexec < 0.
1962 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1963 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1964 * sysdeps/unix/sysv/linux/opensock.c: Do not include
1965 <kernel-features.h>.
1966 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1967 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1968
d92d8f8a
L
19692014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1970
1971 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1972 Add tests for memset_chk and memset.
1973
1974 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1975 with AVX2_Usable.
1976
4e6d2347
MR
19772014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1978
257ce712
MR
1979 [BZ #16046]
1980 * elf/tst-dl-iter-static.c: New file.
1981 * elf/Makefile (tests-static): Add tst-dl-iter-static.
1982
4e6d2347
MR
1983 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1984 error.
1985
a2a76afe
JM
19862014-06-20 Joseph Myers <joseph@codesourcery.com>
1987
7fd00f99
JM
1988 * sysdeps/unix/sysv/linux/kernel-features.h
1989 (__ASSUME_F_GETOWN_EX): Remove macro.
1990 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1991 <kernel-features.h>.
1992 (miss_F_GETOWN_EX): Remove variable or macro.
1993 (do_fcntl): Do not check miss_F_GETOWN_EX.
1994 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1995
4a103975
JM
1996 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1997 Remove macro.
1998 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1999 [!__ASSUME_AT_RANDOM]: Remove conditional code.
2000 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2001
a2a76afe
JM
2002 * sysdeps/unix/sysv/linux/kernel-features.h
2003 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2004 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2005 [ADJ_OFFSET_SS_READ]: Make code unconditional.
2006 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2007
90e5dd48
MR
20082014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2009
2010 [BZ #17075]
2011 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2012 Fix calculation of the symbol's value.
2013 * sysdeps/arm/tst-armtlsdescloc.c: New file.
2014 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2015 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2016 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2017 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2018 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2019 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2020 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2021 (modules-names): Add `tst-armtlsdescmod',
2022 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2023 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2024 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2025 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2026 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2027 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2028 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2029 ($(objpfx)tst-armtlsdescloc): New dependency.
2030 ($(objpfx)tst-armtlsdescextnow): Likewise.
2031 ($(objpfx)tst-armtlsdescextlazy): Likewise.
2032 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2033 TLS scheme support.
2034 * sysdeps/arm/configure: Regenerate.
2035
809fdf0d
JM
20362014-06-20 Joseph Myers <joseph@codesourcery.com>
2037
2038 * include/fcntl.h (__atfct_seterrno): Remove prototype.
2039 (__atfct_seterrno_2): Likewise.
2040 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2041 <kernel-features.h>.
2042 (__ASSUME_ATFCTS): Do not undefine and redefine.
2043 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2044 (__have_atfcts): Remove conditional definition.
2045 (__fxstatat([__NR_fstatat64]: Make code unconditional.
2046 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2047 unreachable if [__ASSUME_ATFCTS].
2048 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2049 not undefine and redefine.
2050 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2051 <kernel-features.h>.
2052 (faccessat) [__NR_faccessat]: Make code unconditional.
2053 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2054 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2055 <kernel-features.h>.
2056 (fchmodat) [__NR_fchmodat]: Make code unconditional.
2057 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2058 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2059 <kernel-features.h>.
2060 (fchownat) [__NR_fchownat]: Make code unconditional.
2061 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2062 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2063 <kernel-features.h>.
2064 (futimesat) [__NR_futimesat]: Make code unconditional.
2065 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2066 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2067 <kernel-features.h>.
2068 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2069 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2070 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2071 <kernel-features.h>.
2072 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2073 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2074 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2075 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2076 <kernel-features.h>.
2077 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2078 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2079 * sysdeps/unix/sysv/linux/linkat.c: Do not include
2080 <kernel-features.h>.
2081 (linkat) [__NR_linkat]: Make code unconditional.
2082 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2083 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2084 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2085 <kernel-features.h>.
2086 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2087 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2088 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2089 <kernel-features.h>.
2090 (mkdirat) [__NR_mkdirat]: Make code unconditional.
2091 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2092 * sysdeps/unix/sysv/linux/openat.c: Do not include
2093 <kernel-features.h>.
2094 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2095 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2096 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2097 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2098 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2099 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2100 <kernel-features.h>.
2101 (readlinkat) [__NR_readlinkat]: Make code unconditional.
2102 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
2103 result of INLINE_SYSCALL directly, not via int variable.
2104 * sysdeps/unix/sysv/linux/renameat.c: Do not include
2105 <kernel-features.h>.
2106 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2107 (renameat) [__NR_renameat]: Make code unconditional.
2108 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2109 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2110 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2111 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2112 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2113 (__ASSUME_ATFCTS): Do not undefine and redefine.
2114 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2115 <kernel-features.h>.
2116 (symlinkat) [__NR_symlinkat]: Make code unconditional.
2117 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2118 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2119 <kernel-features.h>.
2120 (unlinkat) [__NR_unlinkat]: Make code unconditional.
2121 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2122 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2123 (__ASSUME_ATFCTS): Do not undefine and redefine.
2124 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2125 <kernel-features.h>.
2126 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2127 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2128 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2129 <kernel-features.h>.
2130 (__xmknodat) [__NR_mknodat]: Make code unconditional.
2131 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2132
224c6c51
L
21332014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2134
2135 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2136
aa6ec754
AS
21372014-06-20 Andreas Schwab <schwab@linux-m68k.org>
2138
2139 [BZ #17069]
2140 * posix/regcomp.c (parse_reg_exp): Deallocate partially
2141 constructed tree before returning error.
2142 * posix/bug-regexp36.c: Expand test case.
2143
d8c2869d
SL
21442014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2145
3ef6b850
SL
2146 [BZ #6803]
2147 * math/libm-test.inc (scalbln_test_date):
2148 Add errno expectations.
2149 * math/w_scalblnf.c: New File.
2150 Add wrapper which checks for setting errno to ERANGE.
2151 Add weak_alias for corresponding scalbln function.
2152 * math/w_scalbln.c: Likewise.
2153 * math/w_scalblnl.c: Likewise.
2154 * math/Makefile (libm-calls): Add w_scalbln.
2155 * sysdeps/ieee754/flt-32/s_scalblnf.c:
2156 Remove weak_alias for corresponding scalbln function.
2157 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2158 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2159 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2160 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2161 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2162 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2163 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2164 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2165 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2166 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2167 Remove long_double_symbol for scalblnl function in libm, libc.
2168 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2169 Add wrapper which checks for setting errno to ERANGE.
2170 Add long_double_symbol for scalblnl function in libm, libc.
2171 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2172 Remove long_double_symbol for scalblnl in libm.
2173 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2174 Add wrapper which checks for setting errno to ERANGE.
2175 Add long_double_symbol for scalblnl function in libm.
2176 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2177 Do not use wrapper because of own implementation.
2178
c8daec5c
L
21792014-06-19 H.J. Lu <hongjiu.lu@intel.com>
2180
2181 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2182 3 bytes for __pad1 for x32.
2183 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2184
5c74e47c
LM
21852014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
2186 H.J. Lu <hongjiu.lu@intel.com>
2187
2188 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2189 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2190 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2191 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2192 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2193
4d43ef1e
AS
21942014-06-19 Andreas Schwab <schwab@linux-m68k.org>
2195
2196 [BZ #17069]
2197 * posix/regcomp.c (parse_expression): Deallocate partially
2198 constructed tree before returning error.
2199 * posix/Makefile.c (tests): Add bug-regex36.
2200 (generated): Add bug-regex36.mtrace.
2201 (tests-special): Add $(objpfx)bug-regex36-mem.out
2202 (bug-regex36-ENV): New variable.
2203 ($(objpfx)bug-regex36-mem.out): New rule.
2204 * posix/bug-regex36.c: New file.
2205
51a7380b
WN
22062014-06-19 Will Newton <will.newton@linaro.org>
2207
2208 * malloc/malloc.c (systrim): If extra is zero then return
2209 early.
2210
91b84fe5
SP
22112014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2212
2213 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2214
f940b965
RE
22152014-06-19 Richard Earnshaw <rearnsha@arm.com>
2216
2217 * sysdeps/aarch64/strchr.S: New file.
2218
4ba7a00f
JM
22192014-06-18 Joseph Myers <joseph@codesourcery.com>
2220
2221 [BZ #17022]
2222 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2223 from arguments -2 or below.
2224 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2225 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2226
b3a9f56b
AS
22272014-06-18 Andreas Schwab <schwab@suse.de>
2228
2229 [BZ #17062]
2230 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2231 of a bracket expr not to run off the end of the string.
2232 * posix/Makefile (tests): Add tst-fnmatch3.
2233 * posix/tst-fnmatch3.c: New file.
2234
85d89278
JM
22352014-06-18 Joseph Myers <joseph@codesourcery.com>
2236
2237 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2238 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2239 [$(cross-compiling) = no]: Likewise.
2240 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2241 [$(cross-compiling) = no]: Likewise.
2242
754c5a08
RS
22432014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2244
2245 [BZ #17031]
2246 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2247 double, adjusted for any remainder from the high double.
2248 * math/libm-test.inc (nearbyint): Add tests.
2249 (rint): Likewise.
2250
556f529d
AZ
22512014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2252
2253 * nptl/sysdeps/powerpc/Makefile: Moved ...
2254 * sysdeps/powerpc/nptl/Makefile: ... here.
2255 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2256 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2257 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2258 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2259 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2260 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2261 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2262 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2263 * nptl/sysdeps/powerpc/tls.h: Moved ...
2264 * sysdeps/powerpc/nptl/tls.h: ... here.
2265
91c03c53
JM
22662014-06-16 Joseph Myers <joseph@codesourcery.com>
2267
2268 [BZ #16681]
2269 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2270 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2271 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2272 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2273 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2274 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2275 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2276 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2277 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2278
a76e63c5
AS
22792014-06-17 Andreas Schwab <schwab@linux-m68k.org>
2280
2281 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2282
f2f6d82f
AS
22832014-06-16 Andreas Schwab <schwab@linux-m68k.org>
2284
ea8a15f6
AS
2285 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2286 defined operator.
2287
f2f6d82f
AS
2288 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2289 $TIMEOUTFACTOR.
2290
a7291117
FW
22912014-06-16 Florian Weimer <fweimer@redhat.com>
2292
2293 [BZ #17058]
2294 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2295 non-executed part of the test.
2296
3d7c00e3
AS
22972014-06-16 Andreas Schwab <schwab@suse.de>
2298
2299 * string/bits/string2.h (strdup, strndup): Update feature guard.
2300
6957fb31
DM
23012014-06-14 David S. Miller <davem@davemloft.net>
2302
2303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2304
11b9e55b
AS
23052014-06-14 Andreas Schwab <schwab@linux-m68k.org>
2306
1d2a0492
AS
2307 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2308 that was previously under [RESET_PID].
2309 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2310
11b9e55b
AS
2311 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2312 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2313 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2314 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2315 (__libc_vfork): New strong alias.
2316 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2317
0f6901d0
AK
23182014-06-14 Andi Kleen <ak@linux.intel.com>
2319
2320 * sysdeps/generic/elide.h: New file.
2321
38bbbb9f
SL
23222014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2323
2324 * Makefile (installed-headers): Adjust path of pthread.h header.
2325
45193bb8
RM
23262014-06-13 Roland McGrath <roland@hack.frob.com>
2327
9a25fd1e
RM
2328 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2329 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2330 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2331 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2332
4004f7e4
RM
2333 * nptl/sysdeps/s390/Makefile: Moved ...
2334 * sysdeps/s390/nptl/Makefile: ... here.
2335 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2336 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2337 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2338 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2339 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2340 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2341 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2342 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2343 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2344 * sysdeps/s390/nptl/pthreaddef.h: ... here.
2345 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2346 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2347 * nptl/sysdeps/s390/tls.h: Moved ...
2348 * sysdeps/s390/nptl/tls.h: ... here.
2349
45193bb8
RM
2350 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2351 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2352
f6fdf533
DM
23532014-06-13 David S. Miller <davem@davemloft.net>
2354
2355 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2356 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2357 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2358 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2359 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2360 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2361 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2362 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2363 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2364 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2365 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2366 Remove RESET_PID cpp guards.
2367 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2368 Remove RESET_PID cpp guards.
2369 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2370
f5d71e14
AS
23712014-06-13 Andreas Schwab <schwab@linux-m68k.org>
2372
2373 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2374 __sp to uintptr_t.
2375
b7aa8caa
AK
23762014-06-13 Andi Kleen <ak@linux.intel.com>
2377
4b266200
AZ
2378 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2379 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2380 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2381 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2382 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2383 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2384 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2385 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2386 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2387 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2388 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2389 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2390 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2391 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2392 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2393 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2394 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2395 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2396 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2397 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
2398
2399 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
2400 (pthread_rwlock_rdlock): Add elision.
2401 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2402 (pthread_rwlock_wrlock): Add elision.
2403 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2404 (pthread_rwlock_trywrlock): Add elision.
2405 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2406 (pthread_rwlock_tryrdlock): Add elision.
2407 * nptl/pthread_rwlock_unlock.c: Include elide.h.
2408 (pthread_rwlock_tryrdlock): Add elision unlock.
2409 * nptl/sysdeps/pthread/pthread.h:
2410 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2411 (PTHREAD_RWLOCK_INITIALIZER,
2412 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2413 Handle new elision field.
2414 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2415 * sysdeps/arm/nptl/bits/pthreadtypes.h
2416 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2417 * sysdeps/sh/nptl/bits/pthreadtypes.h
2418 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2419 * sysdeps/tile/nptl/bits/pthreadtypes.h
2420 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2421 * sysdeps/a/nptl/bits/pthreadtypes.h
2422 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2423 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2424 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2425 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2426 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2427 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2428 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2429 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2430 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2431 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2432 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2433 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2434 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2435 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2436 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2437 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2438 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2439 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2440 (elision_init): Set try_xbegin to zero when no RTM.
2441 * sysdeps/x86/nptl/bits/pthreadtypes.h
2442 (pthread_rwlock_t): Change __pad1 to __rwelision.
2443 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 2444
a832bdd3
AK
24452014-06-13 Andi Kleen <ak@linux.intel.com>
2446
2447 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2448 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2449 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2450 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2451
995a46bb
MI
24522014-06-13 Meador Inge <meadori@codesourcery.com>
2453
2454 [BZ #16996]
03ed7738 2455 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
2456 that the cached result has been set before returning it.
2457
45262aee
RM
24582014-06-12 Roland McGrath <roland@hack.frob.com>
2459
febf6cc5
RM
2460 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2461 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2462 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2463 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2464 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2465 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2466
e2682246
RM
2467 * nptl/sysdeps/sparc/Makefile: Moved ...
2468 * sysdeps/sparc/nptl/Makefile: ... here.
2469 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2470 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2471 * nptl/sysdeps/sparc/tls.h: Moved ...
2472 * sysdeps/sparc/nptl/tls.h: ... here.
2473 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2474 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2475 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2476 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2477 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2478 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2479 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2480 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2481 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2482 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2483 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2484 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2485 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2486 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2487 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2488 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2489 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2490 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2491 Update #include.
2492 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2493 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2494 Update #include.
2495 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2496 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2497 Update #include.
2498 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2499 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2500 Update #include.
2501
b0725f43
RM
2502 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2503
b14368b8
RM
2504 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2505 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2506
c5620eb3
RM
2507 * sysdeps/pthread/posix-timer.h: Include <list.h>.
2508 (struct list_links): Type removed.
2509 (struct thread_node, struct timer_node): Replace struct list_links
2510 with struct list_head.
2511 (list_unlink_ip): Likewise.
2512 * sysdeps/pthread/timer_routines.c
2513 (timer_free_list, thread_free_list, thread_active_list): Likewise.
2514 (list_append, list_insbefore): Likewise.
2515 (list_init): Function removed.
2516 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
2517 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2518 * sysdeps/pthread/Makefile: ... here, new file.
2519
2520 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2521 * sysdeps/nptl/Implies: ... here.
2522 * sysdeps/unix/sysv/linux/Implies: Add nptl.
2523 * nptl/sysdeps/pthread/list.h: Moved ...
2524 * include/list.h: ... here.
2525 * nptl/sysdeps/pthread/createthread.c: Moved ...
2526 * nptl/createthread.c: ... here.
2527 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2528 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2529 * nptl/pt-longjmp.c: ... here.
2530 * nptl/sysdeps/pthread/Makefile: Moved ...
2531 * sysdeps/nptl/Makefile: ... here.
2532 * nptl/sysdeps/pthread/Subdirs: Moved ...
2533 * sysdeps/nptl/Subdirs: ... here.
2534 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2535 * sysdeps/nptl/aio_misc.h: ... here.
2536 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2537 * sysdeps/nptl/bits/libc-lock.h: ... here.
2538 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2539 * sysdeps/nptl/bits/libc-lockP.h: ... here.
2540 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2541 * sysdeps/nptl/bits/stdio-lock.h: ... here.
2542 * nptl/sysdeps/pthread/configure: Moved ...
2543 * sysdeps/nptl/configure: ... here.
2544 * nptl/sysdeps/pthread/configure.ac: Moved ...
2545 * sysdeps/nptl/configure.ac: ... here.
2546 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2547 * sysdeps/nptl/gai_misc.h: ... here.
2548 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2549 * sysdeps/nptl/librt-cancellation.c: ... here.
2550 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2551 * sysdeps/nptl/malloc-machine.h: ... here.
2552 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2553 * sysdeps/nptl/pthread-functions.h: ... here.
2554 * nptl/sysdeps/pthread/pthread.h: Moved ...
2555 * sysdeps/nptl/pthread.h: ... here.
2556 * nptl/sysdeps/pthread/setxid.h: Moved ...
2557 * sysdeps/nptl/setxid.h: ... here.
2558 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2559 * sysdeps/nptl/sigfillset.c: ... here.
2560 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2561 * sysdeps/nptl/tcb-offsets.h: ... here.
2562 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2563 * sysdeps/nptl/tst-mqueue8x.c: ... here.
2564 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2565 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2566 * nptl/sysdeps/pthread/allocalim.h: Moved ...
2567 * sysdeps/pthread/allocalim.h: ... here.
2568 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2569 * sysdeps/pthread/bits/sigthread.h: ... here.
2570 * nptl/sysdeps/pthread/flockfile.c: Moved ...
2571 * sysdeps/pthread/flockfile.c: ... here.
2572 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2573 * sysdeps/pthread/ftrylockfile.c: ... here.
2574 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2575 * sysdeps/pthread/funlockfile.c: ... here.
2576 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2577 * sysdeps/pthread/posix-timer.h: ... here.
2578 * nptl/sysdeps/pthread/timer_create.c: Moved ...
2579 * sysdeps/pthread/timer_create.c: ... here.
2580 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2581 * sysdeps/pthread/timer_delete.c: ... here.
2582 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2583 * sysdeps/pthread/timer_getoverr.c: ... here.
2584 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2585 * sysdeps/pthread/timer_gettime.c: ... here.
2586 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2587 * sysdeps/pthread/timer_routines.c: ... here.
2588 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2589 * sysdeps/pthread/timer_settime.c: ... here.
2590 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2591 * sysdeps/pthread/tst-timer.c: ... here.
2592 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2593 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2594
e876b090
RM
2595 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2596 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2597
f6b07b3d
RM
2598 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2599 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2600 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2601 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2602 Update #include target.
2603 * nptl/sysdeps/i386/i686/Makefile: Moved ...
2604 * sysdeps/i386/i686/nptl/Makefile: ... here.
2605 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2606 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2607 Update #include target.
2608 * nptl/sysdeps/i386/i686/tls.h: Moved ...
2609 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
2610 * nptl/sysdeps/i386/Makefile: Moved ...
2611 * sysdeps/i386/nptl/Makefile: ... here.
2612 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2613 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2614 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2615 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2616 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2617 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2618 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2619 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2620 * sysdeps/i386/nptl/pthreaddef.h: ... here.
2621 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2622 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2623 * nptl/sysdeps/i386/tls.h: Moved ...
2624 * sysdeps/i386/nptl/tls.h: ... here.
2625
45262aee
RM
2626 * sysdeps/sh/Makefile [$(subdir) = csu]
2627 (gen-as-const-headers): Add tcb-offsets.sym.
2628 * nptl/sysdeps/sh/Makefile: File removed.
2629 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2630 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2631 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2632 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2633 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2634 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2635 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2636 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2637 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2638 * sysdeps/sh/nptl/pthreaddef.h: ... here.
2639 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2640 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2641 * nptl/sysdeps/sh/tls.h: Moved ...
2642 * sysdeps/sh/nptl/tls.h: ... here.
2643 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2644 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2645 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2646 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2647 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2648 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2649 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2650 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2651 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2652 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2653 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2654 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2655 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2656 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2657 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2658 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2659 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2660 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2661 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2662 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2663 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2664 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2665 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2666 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2667 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2668 Moved ...
2669 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2670 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2671 Moved ...
2672 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2673 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2674 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2675 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2676 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2677 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2678 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2679 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2680 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2681 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2682 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2683 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2684 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2685 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2686 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2687 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2688 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2689 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2690 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2691
35a5e3e3
SL
26922014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2693
2694 * posix/spawn_faction_addopen.c: Include string.h.
2695
14642b85
RM
26962014-06-11 Roland McGrath <roland@hack.frob.com>
2697
2698 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2699 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2700 * nptl/sysdeps/x86_64/Makefile: Moved ...
2701 * sysdeps/x86_64/nptl/Makefile: ... here.
2702 * nptl/sysdeps/x86_64/configure: Moved ...
2703 * sysdeps/x86_64/nptl/configure: ... here.
2704 * nptl/sysdeps/x86_64/configure.ac: Moved ...
2705 * sysdeps/x86_64/nptl/configure.ac: ... here.
2706 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2707 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2708 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2709 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2710 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2711 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2712 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2713 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2714 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2715 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2716 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2717 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2718 * nptl/sysdeps/x86_64/tls.h: Moved ...
2719 * sysdeps/x86_64/nptl/tls.h: ... here.
2720 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2721 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2722 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2723 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2724
2725 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2726
31c44fea
AZ
27272014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2728
2729 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2730
e81a4f9a
JM
27312014-06-11 Joseph Myers <joseph@codesourcery.com>
2732
2733 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2734 type.
2735 [POSIX] (off_t): Likewise.
2736 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2737 [POSIX] (S_ISBLK): Require macro.
2738 [POSIX] (S_ISCHR): Likewise.
2739 [POSIX] (S_ISDIR): Likewise.
2740 [POSIX] (S_ISFIFO): Likewise.
2741 [POSIX] (S_ISREG): Likewise.
2742 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2743 optional-macro.
2744 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2745 type.
2746 [POSIX] (time_t): Likewise.
2747 [POSIX] (timer_t): Likewise.
2748
89e435f3
FW
27492014-06-11 Florian Weimer <fweimer@redhat.com>
2750
2751 [BZ #17048]
2752 * posix/spawn_int.h (struct __spawn_action): Make the path string
2753 non-const to support deallocation.
2754 * posix/spawn_faction_addopen.c
2755 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2756 * posix/spawn_faction_destroy.c
2757 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
2758 path in all spawn_do_open actions.
2759 * posix/tst-spawn.c (do_test): Exercise the copy operation in
2760 posix_spawn_file_actions_addopen.
2761
c3a2ebe1
CM
27622014-06-11 Chris Metcalf <cmetcalf@tilera.com>
2763
2764 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2765 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2766 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2767 conditional code always true.
2768 (__libc_vfork): New alias.
2769
9503784a
RM
27702014-06-11 Roland McGrath <roland@hack.frob.com>
2771
c9cab3d2
RM
2772 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2773 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2774
d3996c79
RM
2775 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2776
ba5ec611
RM
2777 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2778 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2779
f12b4814
RM
2780 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2781 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2782
9503784a
RM
2783 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2784 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2785
e23d3d26
VR
27862014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2787
2788 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2789 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2790 multiarch strcmp for PPC64.
2791 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2792 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2793 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2794 multiarch optimizations.
2795 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2796 (__libc_ifunc_impl_list): Likewise.
2797
42b1161e
SP
27982014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2799
2800 * benchtests/scripts/validate_benchout.py: New script.
2801 * benchtests/Makefile (bench-func): Call it.
2802 * benchtests/scripts/benchout.schema.json: New file.
2803
2d0fc4dc
CM
28042014-06-10 Chris Metcalf <cmetcalf@tilera.com>
2805
4a594c34
AZ
2806 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2807 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2808 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2809 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2810 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2811 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2812 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2813 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2814 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2815 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2816 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2817 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2818 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2819 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2820 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2821 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 2823 Moved ...
4a594c34 2824 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 2825 ... here.
4a594c34 2826 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 2827 Moved ...
4a594c34
AZ
2828 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 2830 Moved ...
4a594c34 2831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 2832 ... here.
4a594c34 2833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 2834 Moved ...
4a594c34 2835 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 2836 ... here.
4a594c34 2837 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 2838 Moved ...
4a594c34
AZ
2839 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2840 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 2841 Moved ...
4a594c34 2842 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 2843 ... here.
4a594c34 2844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 2845 Moved ...
4a594c34 2846 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 2847 ... here.
4a594c34 2848 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 2849 Moved ...
4a594c34
AZ
2850 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2851 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 2852 Moved ...
4a594c34 2853 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 2854 ... here.
4a594c34 2855 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 2856 Moved ...
4a594c34 2857 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 2858 ... here.
4a594c34 2859 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 2860 Moved ...
4a594c34 2861 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 2862 ... here.
4a594c34 2863 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 2864 Moved ...
4a594c34
AZ
2865 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2866 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 2867 Moved ...
4a594c34 2868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 2869 ... here.
4a594c34 2870 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 2871 Moved ...
4a594c34 2872 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 2873 ... here.
4a594c34 2874 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 2875 Moved ...
4a594c34 2876 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 2877 ... here.
4a594c34 2878 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 2879 Moved ...
4a594c34
AZ
2880 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2881 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 2882 Moved ...
4a594c34 2883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 2884 ... here.
4a594c34 2885 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 2886 Moved ...
4a594c34 2887 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 2888 ... here.
4a594c34 2889 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 2890 Moved ...
4a594c34
AZ
2891 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2892 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 2893 Moved ...
4a594c34 2894 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 2895 ... here.
4a594c34 2896 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 2897 Moved ...
4a594c34
AZ
2898 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2899 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 2900 Moved ...
4a594c34
AZ
2901 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2902 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 2903 Moved ...
4a594c34 2904 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 2905 ... here.
4a594c34 2906 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 2907 Moved ...
4a594c34 2908 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 2909 ... here.
4a594c34 2910 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 2911 Moved ...
4a594c34 2912 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 2913 ... here.
4a594c34 2914 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 2915 Moved ...
4a594c34
AZ
2916 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2917 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 2918 Moved ...
4a594c34 2919 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 2920 ... here.
4a594c34 2921 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 2922 Moved ...
4a594c34 2923 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 2924 ... here.
4a594c34
AZ
2925 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2926 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2927 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2928 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2929 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 2930 Moved ...
4a594c34 2931 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 2932 ... here.
4a594c34
AZ
2933 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2934 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2935 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2936 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2937 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2938 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2939 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2940 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2941 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2942 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2943 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2944 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2945 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 2946 Moved ...
4a594c34
AZ
2947 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2948 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 2949 Moved ...
4a594c34
AZ
2950 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2951 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2952 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2953 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 2954 Moved ...
4a594c34
AZ
2955 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2956 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2957 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2958 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2959 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2960 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2961 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 2962
0570cfed
W
29632014-06-10 Wilco <wdijkstr@arm.com>
2964
2965 * math/test-fenv-return.c: New file.
2966 * math/Makefile: Add new test test-fenv-return.
2967
f8ba1b56
JM
29682014-06-10 Joseph Myers <joseph@codesourcery.com>
2969
2970 [BZ #17042]
2971 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2972 when x - 1 is zero.
2973 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2974 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2975 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2976 0.0L for an argument of 1.0L.
2977 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2978 Likewise.
2979 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2980 value when x - 1 is zero.
2981 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2982 * sysdeps/i386/fpu/libm-test-ulps: Update.
2983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2984
2c3520d9
BO
29852014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
2986
2987 [BZ #15119]
2988 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2989
acaa4d24
RM
29902014-06-09 Roland McGrath <roland@hack.frob.com>
2991
2992 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2993 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2994
962b744d
RM
29952014-06-09 Roland McGrath <roland@hack.frob.com>
2996
d752f0cc
RM
2997 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2998 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2999
34eda6d1
RM
3000 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3001 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3002
50f0a637
RM
3003 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3004 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3005
08f41f04
RM
3006 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3007 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3008
962b744d
RM
3009 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3010 if not already defined.
3011 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3012 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3013 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3014 (TLS_INIT_TP): Use it.
3015 (TLS_DEFINE_INIT_TP): New macro.
3016 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3017
09f19b05
JM
30182014-06-09 Joseph Myers <joseph@codesourcery.com>
3019
3020 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3021 constant.
3022 [POSIX] (IXANY): Likewise.
3023 [POSIX] (OLCUC): Likewise.
3024 [POSIX || POSIX2008] (CBAUD): Do not allow.
3025 [POSIX || POSIX2008] (DEFECHO): Likewise.
3026 [POSIX || POSIX2008] (ECHOCTL): Likewise.
3027 [POSIX || POSIX2008] (ECHOKE): Likewise.
3028 [POSIX || POSIX2008] (ECHOPRT): Likewise.
3029 [POSIX || POSIX2008] (EXTA): Likewise.
3030 [POSIX || POSIX2008] (EXTB): Likewise.
3031 [POSIX || POSIX2008] (FLUSHO): Likewise.
3032 [POSIX || POSIX2008] (LOBLK): Likewise.
3033 [POSIX || POSIX2008] (PENDIN): Likewise.
3034 [POSIX || POSIX2008] (SWTCH): Likewise.
3035 [POSIX || POSIX2008] (VDISCARD): Likewise.
3036 [POSIX || POSIX2008] (VDSUSP): Likewise.
3037 [POSIX || POSIX2008] (VLNEXT): Likewise.
3038 [POSIX || POSIX2008] (VREPRINT): Likewise.
3039 [POSIX || POSIX2008] (VSTATUS): Likewise.
3040 [POSIX || POSIX2008] (VWERASE): Likewise.
3041 (B*): Change to B[0123456789]*.
3042 * conform/data/time.h-data [POSIX || UNIX98]
3043 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3044 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3045 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3046 [POSIX] (tm_*): Do not allow.
3047
686554bf
JM
30482014-06-07 Joseph Myers <joseph@codesourcery.com>
3049
3050 * Makefile (install): Don't set LANGUAGE.
3051 * Makefile.in (install): Likewise.
3052 * assert/Makefile (test-assert-ENV): Remove variable.
3053 (test-assert-perr-ENV): Likewise.
3054 * elf/Makefile (neededtest4-ENV): Likewise.
3055 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3056 [$(cross-compiling) = no]: Don't set LANGUAGE.
3057 * io/ftwtest-sh (LANG): Remove variable.
3058 * libio/Makefile (tst-widetext-ENV): Likewise.
3059 * manual/install.texi (Running make install): Don't refer to
3060 environment settings for make install.
3061 * INSTALL: Regenerated.
3062 * nptl/tst-tls6.sh: Don't set LANG.
3063 * posix/globtest.sh (LANG): Remove variable.
3064 * string/Makefile (tester-ENV): Likewise.
3065 (inl-tester-ENV): Likewise.
3066 (noinl-tester-ENV): Likewise.
3067 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3068 [$(cross-compiling) = no]: Don't set LANGUAGE.
3069 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3070 without explicit environment settings.
3071
68e6b6b1
RM
30722014-06-06 Roland McGrath <roland@hack.frob.com>
3073
3074 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3075 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3076 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3077 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3078
4d3ae034
CM
30792014-06-06 Chris Metcalf <cmetcalf@tilera.com>
3080
3081 * crypt/crypt-private.h [DOS]: Add some includes taken from the
3082 other files in the crypt directory.
3083 * crypt/crypt.c: Remove duplicate includes.
3084 * crypt/crypt-entry.c: Likewise.
3085 * crypt/crypt_util.c: Likewise.
3086
8540f6d2
JM
30872014-06-06 Joseph Myers <joseph@codesourcery.com>
3088
3089 * Makeconfig (run-program-env): New variable.
3090 (run-program-prefix-before-env): Likewise.
3091 (run-program-prefix-after-env): Likewise.
3092 (run-program-prefix): Define in terms of new variables.
3093 (built-program-cmd-before-env): New variable.
3094 (built-program-cmd-after-env): Likewise.
3095 (built-program-cmd): Define in terms of new variables.
3096 (test-program-prefix-before-env): New variable.
3097 (test-program-prefix-after-env): Likewise.
3098 (test-program-prefix): Define in terms of new variables.
3099 (test-program-cmd-before-env): New variable.
3100 (test-program-cmd-after-env): Likewise.
3101 (test-program-cmd): Define in terms of new variables.
3102 * Rules (make-test-out): Use $(run-program-env).
3103 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3104 (help): Do not mention environment variables. Mention
3105 --timeoutfactor option.
3106 (timeoutfactor): New variable.
3107 (blacklist_exports): Remove function.
3108 (exports): Remove variable.
3109 (command): Do not include ${exports}.
3110 * manual/install.texi (Configuring and compiling): Do not mention
3111 test wrappers preserving environment variables. Mention that last
3112 assignment to a variable must take precedence.
3113 * INSTALL: Regenerated.
3114 * benchtests/Makefile (run-bench): Use $(run-program-env).
3115 * catgets/Makefile ($(objpfx)test1.cat): Use
3116 $(built-program-cmd-before-env), $(run-program-env) and
3117 $(built-program-cmd-after-env).
3118 ($(objpfx)test2.cat): Do not specify environment variables
3119 explicitly.
3120 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3121 $(run-program-env) and $(built-program-cmd-after-env).
3122 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3123 $(run-program-env) and $(test-program-cmd-after-env).
3124 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3125 explicitly.
3126 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3127 run_program_env and test_program_cmd_after_env arguments.
3128 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3129 * elf/tst-pathopt.sh: Use run_program_env argument.
3130 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3131 $(test-wrapper-env) and $(run-program-env).
3132 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3133 run_program_env arguments.
3134 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3135 * intl/Makefile ($(objpfx)tst-gettext.out): Use
3136 $(test-program-prefix-before-env), $(run-program-env) and
3137 $(test-program-prefix-after-env).
3138 ($(objpfx)tst-gettext2.out): Likewise.
3139 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3140 run_program_env and test_program_prefix_after_env arguments.
3141 * intl/tst-gettext2.sh: Likewise.
3142 * intl/tst-gettext4.sh: Do not set environment variables
3143 explicitly.
3144 * intl/tst-gettext6.sh: Likewise.
3145 * intl/tst-translit.sh: Likewise.
3146 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3147 $(test-program-prefix-before-env), $(run-program-env) and
3148 $(test-program-prefix-after-env).
3149 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3150 run_program_env and test_program_prefix_after_env arguments.
3151 * math/Makefile (run-regen-ulps): Use $(run-program-env).
3152 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3153 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
3154 explicitly with each use of ${test_wrapper_env}.
3155 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3156 $(test-program-prefix-before-env), $(run-program-env) and
3157 $(test-program-prefix-after-env).
3158 * posix/tst-getconf.sh: Do not set environment variables
3159 explicitly.
3160 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3161 run_program_env and test_program_prefix_after_env arguments.
3162 * stdio-common/tst-printf.sh: Do not set environment variables
3163 explicitly.
3164 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3165 $(test-program-prefix-before-env), $(run-program-env) and
3166 $(test-program-prefix-after-env).
3167 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3168 run_program_env and test_program_prefix_after_env arguments.
3169 Split $test calls into $test_pre and $test.
3170 * timezone/Makefile (build-testdata): Use
3171 $(built-program-cmd-before-env), $(run-program-env) and
3172 $(built-program-cmd-after-env).
3173
ed36bfa1
AZ
31742014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3175
3176 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3177 strlen for non SHARED builds.
3178
fc75bf46
SP
31792014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3180
3181 * nptl/allocatestack.c (check_list): Inlined function...
3182 (__reclaim_stacks): ... here.
3183
d89b3d80
OB
31842014-06-05 Ondřej Bílka <neleai@seznam.cz>
3185
3186 [BZ #15698]
3187 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3188 memory overrun.
3189
2bf18041
JM
31902014-06-05 Joseph Myers <joseph@codesourcery.com>
3191
3192 * Rules (make-test-out): Include
3193 LOCPATH=$(common-objpfx)localedata in default environment.
3194 * debug/Makefile (tst-chk1-ENV): Remove variable.
3195 (tst-chk2-ENV): Likewise.
3196 (tst-chk3-ENV): Likewise.
3197 (tst-chk4-ENV): Likewise.
3198 (tst-chk5-ENV): Likewise.
3199 (tst-chk6-ENV): Likewise.
3200 (tst-lfschk1-ENV): Likewise.
3201 (tst-lfschk2-ENV): Likewise.
3202 (tst-lfschk3-ENV): Likewise.
3203 (tst-lfschk4-ENV): Likewise.
3204 (tst-lfschk5-ENV): Likewise.
3205 (tst-lfschk6-ENV): Likewise.
3206 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3207 (tst-iconv7-ENV): Likewise.
3208 * intl/Makefile (LOCPATH-ENV): Likewise.
3209 (tst-codeset-ENV): Likewise.
3210 (tst-gettext3-ENV): Likewise.
3211 (tst-gettext5-ENV): Likewise.
3212 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3213 (tst-fopenloc-ENV): Likewise.
3214 (tst-fgetws-ENV): Remove variable.
3215 (tst-ungetwc1-ENV): Likewise.
3216 (tst-ungetwc2-ENV): Likewise.
3217 (bug-ungetwc2-ENV): Likewise.
3218 (tst-swscanf-ENV): Likewise.
3219 (bug-ftell-ENV): Likewise.
3220 (tst-fgetwc-ENV): Likewise.
3221 (tst-fseek-ENV): Likewise.
3222 (tst-ftell-partial-wide-ENV): Likewise.
3223 (tst-ftell-active-handler-ENV): Likewise.
3224 (tst-ftell-append-ENV): Likewise.
3225 * posix/Makefile (tst-fnmatch-ENV): Likewise.
3226 (tst-regexloc-ENV): Likewise.
3227 (bug-regex1-ENV): Likewise.
3228 (tst-regex-ENV): Likewise.
3229 (tst-regex2-ENV): Likewise.
3230 (bug-regex5-ENV): Likewise.
3231 (bug-regex6-ENV): Likewise.
3232 (bug-regex17-ENV): Likewise.
3233 (bug-regex18-ENV): Likewise.
3234 (bug-regex19-ENV): Likewise.
3235 (bug-regex20-ENV): Likewise.
3236 (bug-regex22-ENV): Likewise.
3237 (bug-regex23-ENV): Likewise.
3238 (bug-regex25-ENV): Likewise.
3239 (bug-regex26-ENV): Likewise.
3240 (bug-regex30-ENV): Likewise.
3241 (bug-regex32-ENV): Likewise.
3242 (bug-regex33-ENV): Likewise.
3243 (bug-regex34-ENV): Likewise.
3244 (bug-regex35-ENV): Likewise.
3245 (tst-rxspencer-ENV): Likewise.
3246 (tst-rxspencer-no-utf8-ENV): Likewise.
3247 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3248 (tst-sscanf-ENV): Likewise.
3249 (tst-swprintf-ENV): Likewise.
3250 (tst-swscanf-ENV): Likewise.
3251 (test-vfprintf-ENV): Likewise.
3252 (scanf13-ENV): Likewise.
3253 (bug14-ENV): Likewise.
3254 (tst-grouping-ENV): Likewise.
3255 * stdlib/Makefile (tst-strtod-ENV): Likewise.
3256 (tst-strtod3-ENV): Likewise.
3257 (tst-strtod4-ENV): Likewise.
3258 (tst-strtod5-ENV): Likewise.
3259 (testmb2-ENV): Likewise./
3260 * string/Makefile (tst-strxfrm-ENV): Likewise.
3261 (tst-strxfrm2-ENV): Likewise.
3262 (bug-strcoll1-ENV): Likewise.
3263 (test-strcasecmp-ENV): Likewise.
3264 (test-strncasecmp-ENV): Likewise.
3265 * time/Makefile (tst-strptime-ENV): Likewise.
3266 (tst-ftime_l-ENV): Likewise.
3267 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3268 (tst-mbrtowc-ENV): Likewise.
3269 (tst-wcrtomb-ENV): Likewise.
3270 (tst-mbrtowc2-ENV): Likewise.
3271 (tst-c16c32-1-ENV): Likewise.
3272 (tst-mbsnrtowcs-ENV): Likewise.
3273
cd1fb604
OB
32742014-06-05 Ondřej Bílka <neleai@seznam.cz>
3275
3276 * manual/resource.texi (How to get information about the memory
3277 subsystem?): Fix typo.
3278 Reported by Peon de la Parra Ivan <peon@keba.com>
3279
b42eca7d
GY
32802014-06-03 Guo Yixuan <culu.gyx@gmail.com>
3281
3282 [BZ #16882]
3283 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3284 (pthread_spin_lock): Branch out of spin loop to proper location.
3285 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3286 (pthread_spin_lock): Likewise.
3287
902b71f9
DM
3288 * nptl/tst-spin4.c: New test.
3289 * nptl/Makefile (tests): Add tst-spin4.
3290
f9d2d032
AS
32912014-06-03 Andreas Schwab <schwab@suse.de>
3292
3293 [BZ #15946]
3294 * resolv/res_send.c (send_dg): Reload file descriptor after
3295 calling reopen.
3296
cf7bfd28
SL
32972014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
3298
3299 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3300
111cc714
RH
33012014-06-03 Richard Henderson <rth@redhat.com>
3302
89b4bd6b
RH
3303 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3304 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3305 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3306 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
3307 in the SAVE_PID block.
3308 (__libc_vfork): New alias.
71840409 3309 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 3310
111cc714
RH
3311 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3312 child in registers, not on the stack. Remove RESET_PID conditionals.
3313 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3314
ccc39911
MS
33152014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
3316
3317 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3318
693096cc
W
33192014-06-03 Wilco <wdijkstr@arm.com>
3320
3321 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3322 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3323 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3324 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3325 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3326 Likewise.
3327
0b4366bc
W
33282014-06-03 Wilco <wdijkstr@arm.com>
3329
3330 * sysdeps/aarch64/fpu/math_private.h
3331 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3332 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3333 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3334 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3335 Fix declarations.
3336
8747cd03
KS
33372014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3338
3339 * crypt/crypt-private.h: Include ufc-crypt.h.
3340 (__b64_from_24bit): Declare extern.
3341 * crypt/crypt_util.c(__b64_from_24bit): New function.
3342 (b64t): New static const variable.
3343 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3344 (b64t): Remove variable.
3345 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3346 * crypt/sha256-crypt.c: Include crypt-private.h.
3347 (b64t): Remove variable.
3348 (__sha256_crypt_r): Remove b64_from_24bit and replace
3349 with __b64_from_24bit.
3350 * crypt/sha512-crypt.c: Likewise.
3351
d936d379
RM
33522014-06-02 Roland McGrath <roland@hack.frob.com>
3353
3354 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3355 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3356 Label the code __libc_vfork rather than __vfork.
3357 [!NOT_IN_libc] (vfork): Define as weak alias.
3358 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3359 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3360 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3361
9fa76613
SP
33622014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3363
3364 * malloc/malloc.c (malloc_info): Fix format specifier for
3365 n_mmaps.
3366
a88dadbe
W
33672014-06-02 Wilco <wdijkstr@arm.com>
3368
3369 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3370 FPCR write.
3371
c95b3011
W
33722014-06-02 Wilco <wdijkstr@arm.com>
3373
3374 [BZ #17009]
3375 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3376 Rewrite to reduce FPCR/FPSR accesses.
3377
6b4d7a90
DM
33782014-06-01 David S. Miller <davem@davemloft.net>
3379
3380 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3381
30f3d07c
DM
33822014-05-31 David S. Miller <davem@davemloft.net>
3383
3384 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3385 to occur in round to nearest mode when |x| >= 2.0
3386
74f31c18
RH
33872014-05-30 Richard Henderson <rth@twiddle.net>
3388
f0712b54
RH
3389 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3390 (PSEUDO_RET_NOERRNO): Remove.
3391 (ret): Don't redefine.
3392 (ret_NOERRNO): Define in terms of ret.
3393 (ret_ERRVAL): Likewise.
3394
74f31c18
RH
3395 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3396 use of PSEUDO_RET; perform the error check directly.
3397
30477995
MM
33982014-05-30 Marko Myllynen <myllynen@redhat.com>
3399
3400 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3401 with __int128_t.
3402
62a58816
SP
34032014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3404
3405 * malloc/malloc (malloc_info): Fix formatting.
3406
4d653a59
SP
34072014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3408 Roland McGrath <roland@hack.frob.com>
3409
3410 * malloc/malloc (malloc_info): Also print mmapped statistics.
3411
5190c17f
RM
34122014-05-30 Roland McGrath <roland@hack.frob.com>
3413
3414 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3415 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3416
987c0269
OB
34172014-05-30 Ondřej Bílka <neleai@seznam.cz>
3418
3419 * malloc/malloc.c (malloc_info): Inline mi_arena.
3420
af4e8ef9
RH
34212014-05-29 Richard Henderson <rth@twiddle.net>
3422
1670e207
RH
3423 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3424 Remove comma before expanding ASM_ARGS_##nr.
3425 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3426 Make _x0 a strict output; make _x8 a strict input; adjust expansion
3427 of ASM_ARGS_##nr.
3428 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3429 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3430 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3431 (ASM_ARGS_1): Add leading comma.
3432
11a28aee
RH
3433 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3434 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3435 to __errno_location.
3436 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3437 Remove the expected plt for __errno_location.
3438
a17e5ffb 3439 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 3440 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
3441 call to __read_tp.
3442
b5be4597
RH
3443 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3444 Always allocate 64 bytes of stack frame. Use ldp/stp to create
3445 it and break it down.
3446 (DOCARGS_0, DOCARGS_1): Do nothing.
3447 (DOCARGS_2): Update to store into the new stack frame.
3448 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3449 (UNDOCARGS_1): Update to restore from the new stack frame.
3450 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3451 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3452
645d44ab
RH
3453 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3454 (SINGLE_THREAD_P): New parameter for result regno.
3455 (PSEUDO): Update to match; use cbz instead of beq.
3456
a8b4f04a
RH
3457 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3458 Use ENTRY to define the _nocancel entry point. Share the syscall
3459 and syscall error check paths with the cancel path.
3460 (PSEUDO_END): New.
3461
af4e8ef9
RH
3462 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3463 whitespace; tabs before and after asm mnemonics.
3464
26b0d2e1
EW
34652014-05-29 Eric Wong <normalperson@yhbt.net>
3466
3467 [BZ #15132]
3468 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3469 Call fstat64 or stat64 internally, depending on arguments passed.
3470 Replace stat buffer argument with file descriptor argument.
3471 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3472 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3473 Pass fd to __internal_statvfs instead of calling fstat64.
3474 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3475 Pass fd to __internal_statvfs64 instead of calling fstat64.
3476 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3477 Pass -1 to __internal_statvfs instead of calling stat64.
3478 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3479 Pass -1 to __internal_statvfs64 instead of calling stat64.
3480
1efe2bd9
RM
34812014-05-28 Roland McGrath <roland@hack.frob.com>
3482
0d3b7a19
RM
3483 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3484 that was previously under [RESET_PID].
3485 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3486
1efe2bd9
RM
3487 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3488 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3489
a6bea3ca
RM
34902014-05-27 Roland McGrath <roland@hack.frob.com>
3491
30b6629e
RM
3492 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3493
a6bea3ca
RM
3494 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3495 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3496
3dfb9a5c
OB
34972014-05-27 Ondřej Bílka <neleai@seznam.cz>
3498
3499 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3500
774f9285
AS
35012014-05-27 Andreas Schwab <schwab@suse.de>
3502
3503 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3504 TLS_INIT_TP macro.
3505 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3506 * elf/rtld.c (init_tls, dl_main): Likewise.
3507 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3508 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3509 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3510 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3511 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3512 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3513 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3514 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3515 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3516 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3517 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3518 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3519 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3520 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3521 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3522 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3523 * sysdeps/generic/tls.h: Update description.
3524
36ffe739
WN
35252014-05-27 Will Newton <will.newton@linaro.org>
3526
3527 [BZ #16990]
3528 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3529 and restore r2 rather than just restoring.
3530
2482ae43
SP
35312014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3532
3533 [BZ #16724]
3534 * libio/tst-ftell-append.c: New test case.
3535 * libio/Makefile (tests): Add test case.
3536 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3537 append mode.
3538 * libio/wfileops.c (do_ftell_wide): Likewise.
3539
3d1024e8
AZ
35402014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3541
bab90016
AZ
3542 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3543
c7a8d667
AZ
3544 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3545 ...
3546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3548 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3549 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3550 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3551 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3552 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3553 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3554 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3555 Moved ...
3556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3557 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3558 Moved ...
3559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3560 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3561 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3562 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3563 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3564 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3565 ...
3566 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3567 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3568 Moved ...
3569 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3570 here.
3571 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3572 ...
3573 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3574 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3575 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3576
daee7851
AZ
3577 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3578 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3579 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3580 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3581
50a40819
AZ
3582 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3583 merge into ...
3584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3585 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3586 ...
3587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3588 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3589 ...
3590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3591 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3592 Moved ...
3593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3594 here.
3595 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3596 Moved ...
3597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3598 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3599 Moved ...
3600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3601
8464c2a1
AZ
3602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3603 conditional [RESET_PID].
3604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3605 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3606 removed.
3607 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3608 removed.
3609
3d1024e8
AZ
3610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3611 <tcb-offsets.h>.
3612 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3613 (__libc_vfork): New strong alias.
3614 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3615 removed.
3616 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3617 Removed.
3618
3619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3620 <tcb-offsets.h>.
3621 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3622 (__libc_vfork): New strong alias.
3623 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3624 removed.
3625 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3626 removed.
3627
fdfd175d
CD
36282014-05-26 Carlos O'Donell <carlos@redhat.com>
3629
3630 * malloc/malloc.c (mi_arena): New function.
3631 (malloc_info): Remove nested function mi_arena. Call non-nosted
3632 function mi_arena.
3633
d298c416
AZ
36342014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3635
3636 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3637 by insrwi.
3638 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3639 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3640 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3641 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3642 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3643 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3644 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3645
b60ea6ff
AS
36462014-05-26 Andreas Schwab <schwab@suse.de>
3647
3648 [BZ #16984]
3649 * locale/programs/repertoire.c (repertoire_read): Add slash
3650 between I18NPATH element and file name.
3651 * locale/programs/locfile.c (locfile_read): Likewise.
3652
67365926
SL
36532014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3654
3655 * nptl/pthread_mutexattr_settype.c
3656 (__pthread_mutexattr_settype):
3657 Disable lock elision for PTHREAD_MUTEX_NORMAL.
3658
f8bdf1f0
SL
36592014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3660
3661 * nptl/tst-mutex5 (do_test):
3662 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3663
15eaf6ff
SP
36642014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3665
3666 * benchtests/README: Document 'init' directive.
3667 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3668 BENCH_INIT.
3669 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3670 (parse_file): Recognize 'init' directive.
3671
75f11331
KM
36722014-05-26 Kyle McMartin <kyle@redhat.com>
3673
3674 [BZ #16796]
3675 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3676 alignment of struct pthread.
3677
c3ec475c
SP
36782014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3679
3680 [BZ #16878]
3681 * nscd/netgroupcache.c (addgetnetgrentX): Look for
3682 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3683 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3684 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3685
82aab97c
RH
36862014-05-25 Richard Henderson <rth@twiddle.net>
3687
aa2f176d
RH
3688 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3689 (SINGLE_THREAD_P_PIC): Remove.
3690 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3691 (SINGLE_THREAD_P_PIC): Remove.
3692
ca3cfa40
RH
3693 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3694 branch to syscall error ...
3695 (PSEUDO): ... here.
3696 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3697 from __local_syscall_error to .Lsyscall_error.
3698 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3699 (SYSCALL_ERROR): Update label name.
3700
6e6c2d01
RH
3701 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3702 Do not use DOARGS/UNDOARGS.
3703 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3704 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3705 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3706 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3707 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3708
c69abcee
RH
3709 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3710 block comment.
3711
82aab97c
RH
3712 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3713 define if !NOT_IN_libc.
3714 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3715 define with non-default symbol versions.
3716
8820e3ac
RH
37172014-05-23 Richard Henderson <rth@twiddle.net>
3718
900e445f
RH
3719 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3720 (vfork, __vfork): Define via compat_symbol.
3721
8820e3ac
RH
3722 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3723 [!HAVE_IFUNC] (vfork_compat): Remove.
3724 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3725
e59252a5
JM
37262014-05-23 Joseph Myers <joseph@codesourcery.com>
3727
3728 [BZ #16978]
3729 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3730 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3731 variable.
3732
132c7f5f
RH
37332014-05-23 Richard Henderson <rth@twiddle.net>
3734
bc89e962
RH
3735 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3736 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3737 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3738 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3739
3740 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3741 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3742 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3743 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3744 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3745 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3746 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3747 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3748 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3749 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3750 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3751 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3752 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3753 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3754 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3755 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3756 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3757 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3758 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3759 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3760 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3761 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3762 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3763 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3764 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3765 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3766 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3767 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3768 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3769 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3770 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3771 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3772 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3773 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3774 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3775 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3776 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3777 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3778 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3779 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3780 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3781 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3782 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3783 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3784 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3785 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3786 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3787 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3788 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3789 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3790 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3791 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3792 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3793 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3794 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3795 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3796
e2fa4bc2
RH
3797 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3798 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3799 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
3800 before exiting on error.
3801 (__libc_vfork): New strong alias.
3802 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3803 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3804
279b24e2
RH
3805 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3806 that was previously under [RESET_PID].
3807 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3808
132c7f5f
RH
3809 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3810
b72592e7
JM
38112014-05-23 Joseph Myers <joseph@codesourcery.com>
3812
3813 [BZ #16977]
3814 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3815 value when x - 1 is zero.
3816 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3817 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3818 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3819 0.0L for an argument of 1.0L.
3820 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3821 Likewise.
3822 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3823 value when x - 1 is zero.
3824 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3825 * sysdeps/i386/fpu/libm-test-ulps: Update.
3826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3827
2302d679
RV
38282014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3829
3830 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3831 alphasort and versionsort.
3832
32999d63
AZ
38332014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3834
3835 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3836 macro.
3837 [copysignf]: Likewise.
3838
019324d0
SP
38392014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3840
3841 * crypt/md5-crypt.c: Fix formatting.
3842
34fff5c2
KS
38432014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3844
3845 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3846 (b64_from_24bit): New function.
3847
3d2badac
AZ
38482014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3849
3850 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3851 libc_hidden_builtin_def to ifunc.
3852 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3853 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3854
f7bb179f 38552014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
3856
3857 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3858 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3859
4134b50d
JM
38602014-05-21 Joseph Myers <joseph@codesourcery.com>
3861
bb7d0337
JM
3862 * nscd/Depend (linuxthreads): Remove.
3863 (nptl): Add.
3864 * resolv/Depend (linuxthreads): Remove.
3865 * rt/Depend (linuxthreads): Remove.
3866
4134b50d
JM
3867 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3868 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3869 $(common-objpfx)elf/.
3870 (link-libc-before-gnulib): Likewise.
3871 (elfobjdir): Remove variable.
3872 * Makefile (install): Use $(elf-objpfx) instead of
3873 $(common-objpfx)elf/.
3874 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3875 $(elfobjdir)/.
3876 (link-libc-deps): Likewise.
3877 ($(common-objpfx)libc.so): Likewise.
3878 ($(common-objpfx)linkobj/libc.so): Likewise.
3879 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3880 instead of $(common-objpfx)elf/.
3881 (symbolic-link-list): Likewise.
3882 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3883 [$(cross-compiling) = no]: Likewise.
3884 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3885 $(elfobjdir)/.
3886 (static-gnulib-arch): Likewise.
3887 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3888 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3889 $(common-objpfx)elf/.
3890
3612eb8f
RH
38912014-05-21 Richard Henderson <rth@redhat.com>
3892
a6b3657b
RH
3893 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3894 (SINGLE_THREAD_P): Use the correct width load. Fold
3895 into the ldr offset.
3896
3612eb8f
RH
3897 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3898 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3899
175cef41
JM
39002014-05-20 Joseph Myers <joseph@codesourcery.com>
3901
3902 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3903 (libgcc_s_resume): Use __attribute_used__.
3904 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3905 Likewise.
3906
e13bccd3
AZ
39072014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3908
3909 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3910 optimization when used with float constants.
3911
7c112a38
AZ
3912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3913
ae75a883
AJ
39142014-05-20 Aurelien Jarno <aurelien@aurel32.net>
3915
3916 [BZ #16915]
3917 * locale/nl_langinfo_l.c: Make direct reference to every
3918 _nl_current_CATEGORY symbol.
3919 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3920 (tests-static): Add tst-langinfo-static.
3921 (tests-special): Add tst-langinfo-static.out.
3922 ($(objpfx)tst-langinfo.out): Redirect output.
3923 ($(objpfx)tst-langinfo-static.out): New.
3924 * localedata/tst-langinfo.sh: Send output to stdout.
3925 * localedata/tst-langinfo-static.c: New file.
3926
4406c41c
AJ
3927 [BZ #16965]
3928 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3929 when the shift amount is modulo the limb size.
3930
4c0a1e63
RH
39312014-05-20 Richard Henderson <rth@redhat.com>
3932
de9d8f20
RH
3933 [BZ #16967]
3934 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3935 Change type of sa_flags from unsigned int to int.
3936
4c0a1e63
RH
3937 [BZ #16966]
3938 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
3939
3940 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3941
a60339aa
WN
39422014-05-20 Will Newton <will.newton@linaro.org>
3943
3944 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3945 Test the return value of the system call in the nocancel case.
3946
7d05a816
YR
39472014-05-20 Will Newton <will.newton@linaro.org>
3948 Yvan Roux <yvan.roux@linaro.org>
3949
3950 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3951 #include of asm/ptrace.h.
3952 (PTRACE_GET_THREAD_AREA): Remove #undef.
3953 (PTRACE_GETHBPREGS): Likewise.
3954 (PTRACE_SETHBPREGS): Likewise.
3955 (struct user_regs_struct): New structure.
3956 (struct user_fpsimd_struct): New structure.
3957 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3958 #include of asm/ptrace.h and second #include of sys/user.h.
3959 (PTRACE_GET_THREAD_AREA): Remove #undef.
3960 (PTRACE_GETHBPREGS): Likewise.
3961 (PTRACE_SETHBPREGS): Likewise.
3962 (ELF_NGREG): Use new struct user_regs_struct.
3963 (elf_fpregset_t): Use new struct user_fpsimd_struct.
3964
af121e37
AZ
39652014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3966
3967 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3968 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3969
834caf06
JM
39702014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3971
3972 [BZ #16958]
3973 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3974 membar to avoid block loads/stores to overlap previous stores.
3975
e184a918
RH
39762014-05-17 Richard Henderson <rth@redhat.com>
3977
3978 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3979 Create the __##syscall_name##_nocancel entry point.
3980 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3981 Remove; let the sysdep-cancel.h code create it.
3982
f56c7a6a
DM
39832014-05-17 David S. Miller <davem@davemloft.net>
3984
3985 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3986 Protect with __USE_GNU.
3987 (TIOCSET_TEMPT): Likewise.
3988 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3989 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3990 these are already provided in bits/ioctl-types.h
3991
f75616b2
RM
39922014-05-16 Roland McGrath <roland@hack.frob.com>
3993
3edeca86
RM
3994 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3995 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3996
f75616b2
RM
3997 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3998 Use wait4 regardless of [__NR_waitpid].
3999
deb0f7f6
MR
40002014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4001
4002 PR libgcc/60166
4003 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4004 (_FP_NANSIGN_Q): Set the quiet bit.
4005
79520f4b
JM
40062014-05-16 Joseph Myers <joseph@codesourcery.com>
4007
4008 * benchtests/Makefile
4009 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4010 not $(common-objpfx)math/libm.so.
4011 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4012 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4013 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4014 $(common-objpfx)dlfcn/libdl.so.
4015 ($(objpfx)tst-audit8): Depend on $(libm), not
4016 $(common-objpfx)math/libm.so.
4017 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4018 not $(common-objpfx)dlfcn/libdl.so.
4019 * math/Makefile
4020 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4021 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
4022 [$(build-shared) = yes].
4023 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4024 $(common-objpfx)nptl/libpthread.so.
4025 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4026 $(common-objpfx)math/libm.so$(libm.so-version) or
4027 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4028 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4029 $(common-objpfx)dlfcn/libdl.so.
4030 * setjmp/Makefile (link-libm): Remove variable.
4031 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4032 * stdio-common/Makefile (link-libm): Remove variable.
4033 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4034 * stdlib/Makefile (link-libm): Remove variable.
4035 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4036 ($(objpfx)tst-strtod-round): Likewise.
4037 ($(objpfx)tst-tininess): Likewise.
4038 ($(objpfx)tst-strtod-underflow): Likewise.
4039 ($(objpfx)tst-strtod6): Likewise.
4040 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4041 $(libdl), not $(common-objpfx)nptl/libpthread.so and
4042 $(common-objpfx)dlfcn/libdl.so.
4043
026b0fe4
AZ
40442014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4045
4046 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4047 BSD terminal modes definitions.
4048
def4bcb2
RM
40492014-05-16 Roland McGrath <roland@hack.frob.com>
4050
fe39b021
RM
4051 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4052 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4053
1d1fc46e 4054 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
4055 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4056 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4057 Don't do #include_next.
4058 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4059 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4060 Don't do #include_next.
4061 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4062 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4063 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4064 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4065
c72399fb
AM
40662014-05-16 Allan McRae <allan@archlinux.org>
4067
d51d659d
AM
4068 * po/sv.po: Update Swedish translation from translation project.
4069
c72399fb
AM
4070 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4071 in sed expression.
4072
d0583c40
AJ
40732014-05-16 Aurelien Jarno <aurelien@aurel32.net>
4074
4075 [BZ #16917]
4076 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4077 errno if the TIOCGPTN ioctl fails with an error different than
4078 EINVAL.
4079 * login/tst-ptsname.c: New file.
4080 * login/Makefile (tests): Add tst-ptsname.
4081
d16e6ec7
AJ
4082 [BZ #16943]
4083 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4084 and prlimit64.
4085
cf26a0cb
SP
40862014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4087
4088 [BZ #16849]
4089 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4090 herrno to return EAI_AGAIN.
4091
5675da1e
RM
40922014-05-14 Roland McGrath <roland@hack.frob.com>
4093
a5d87b3d
RM
4094 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4095 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4096 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4097 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4098 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4099 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4100 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4101 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4102 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4103 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4104 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4105 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4106 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4107 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4108 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4109 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4110 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4111 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4112 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4113 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4114 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4115 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4116 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4117 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4118 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4119 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4120 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4121 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4122 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4123 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4124 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4125 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4126 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4127 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4128 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4129 Moved ...
4130 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4131 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4132 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4133 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4134 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4136 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4138 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4139 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4140 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4142 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4143 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4144 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4145 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4146 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4148 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4150 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4152 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4153 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4154 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4155 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4156 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4157 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4158 Moved ...
4159 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4160 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4161 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4162 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4163 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4164 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4165 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4166 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4167 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4168 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4169 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4170 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4171 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4172 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4173 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4174 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4175 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4177 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4179 Moved ...
4180 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4181 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4182 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4183
039890a6
RM
4184 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4185 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4186 (libpthread-sysdep_routines): Add elision-related stuff here instead.
4187 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4188 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4189 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4190 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4191 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4192 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4193 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4194 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4195 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4196 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4197 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4198 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4199 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4200 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4201 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4202 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4203 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4204 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4205 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4206 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4207 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4208 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4209 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4210 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4211 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4212 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4213 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4214 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4215
65c89320
RM
4216 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4217 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4218
348f8e8c
RM
4219 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4220 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4221 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4222 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4223 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4224 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4225 Moved ...
4226 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4227 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4228 Moved ...
4229 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4230 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4231 Moved ...
4232 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4233 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4234 Moved ...
4235 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4236 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4237 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4238 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4239 Moved ...
4240 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4241 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4242 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4243 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4244 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4245 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4246 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4247 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4248 Moved ...
4249 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4250 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4251 Moved ...
4252 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4253 ... here.
4254 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4255 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4256 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4257 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4258 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4259 Moved ...
4260 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4261 ... here.
4262 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4263 Moved ...
4264 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4265 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4266 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4267 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4268 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4269 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4270 Moved ...
4271 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4272 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4273 Moved ...
4274 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4275 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4276 Moved ...
4277 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4278 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4279 Moved ...
4280 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4281 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4282 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4283 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4284 Moved ...
4285 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4286 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4287 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4288 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4289 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4290 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4291 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4292 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4293 Moved ...
4294 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4295 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4296 Moved ...
4297 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4298 ... here.
4299 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4300 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4301 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4302 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4303 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4304 Moved ...
4305 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4306 ... here.
4307 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4308 Moved ...
4309 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4310 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4311 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4312 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4313 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4314 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4315 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4316 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4317 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4318 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4319 Moved ...
4320 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4321 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4322 Moved ...
4323 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4324 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4325 Moved ...
4326 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4327 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4328 Moved ...
4329 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4330 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4331 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4332 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4333 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4334 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4335 Moved ...
4336 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4337 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4338 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4339 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4340 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4341 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4342 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4343 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4344 Moved ...
4345 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4346 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4347 Moved ...
4348 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4349 ... here.
4350 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4351 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4352 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4353 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4354 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4355 Moved ...
4356 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4357 ... here.
4358 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4359 Moved ...
4360 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4361 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4362 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4363 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4364 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4365 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4366 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4367 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4368 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4369 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4370 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4371
5085af05
RM
4372 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4373 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4374
708f0813
RM
4375 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4376 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4377
c96067bc
RM
4378 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4379 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4380 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4381 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4382 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4383 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4384 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4385 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4386 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4387 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4388 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4389 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4390 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4391 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4392 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4393 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4394 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4395 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4396 Moved ...
4397 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4398 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4399 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4400 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4401 Moved ...
4402 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4403 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4404 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4405 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4406 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4407 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4408 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4409 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4410 Moved ...
4411 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4412 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4413 Moved ...
4414 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4415 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4416 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4417 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4418 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4419 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4420 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4421 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4422 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4423 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4424 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4425 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4426 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4427 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4428 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4429 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4430 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4431
ec136444
RM
4432 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4433 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4434 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4435 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4436 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4437
2fbdf533
RM
4438 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4439 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4440 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4441 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4442 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4443 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4444 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4445 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4446 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4447 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4448
4c68138b
RM
4449 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4450 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4451
4eaae765
RM
4452 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4453 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
4454 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4455 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4456 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4457 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4458 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4459 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4460 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4461 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4462 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4463 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4464 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4465 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4466 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4467 Update #include.
4468 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4469 Likewise.
4470 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4471 Likewise.
4472 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4473 Likewise.
4474 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4475 Likewise.
4476 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4477 Likewise.
4478 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4479 Likewise.
4480 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4481 Likewise.
4482 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4483 Likewise.
4484 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4485 Likewise.
4ef6befa
RM
4486 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4487 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4488 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4489 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4490 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
4491 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4492 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4493 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4494 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4495 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4496 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4497 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4498 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4499 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
4500 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 4501
941d7dfd
RM
4502 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4503 that was previously under [RESET_PID].
4504 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4505 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4506 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4507
1b731c35
RM
4508 * sysdeps/i386/nptl/Implies: New file.
4509 * sysdeps/x86_64/nptl/Implies: New file.
4510 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4511 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4512 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4513 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4514
e2787137
RM
4515 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4516 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4517 (__libc_vfork): New strong alias.
4518 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4519 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4520
4521 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4522 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4523 (__libc_vfork): New strong alias.
4524 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4525 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4526
5675da1e
RM
4527 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4528 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4529 (__libc_vfork): New strong alias.
4530 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4531 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4532 * nptl/pt-vfork.c: New file.
4533 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4534 (libpthread: GLIBC_2.20): New version set (empty).
4535
4f02e2b8
WN
45362014-05-14 Will Newton <will.newton@linaro.org>
4537
4538 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4539 rather than #if.
4540
0bf061d3
JM
45412014-05-14 Joseph Myers <joseph@codesourcery.com>
4542
1a84c3d6
JM
4543 [BZ #16564]
4544 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4545 arguments with exponent 65 or above.
4546 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4547 arguments 0x1p113L or above.
4548 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4549 to arguments 0x1p107L or above.
4550 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4551 positive arguments with exponent 65 or above.
4552 * math/auto-libm-test-in: Add more tests of log1p.
4553 * math/auto-libm-test-out: Regenerated.
4554
01dbacd2
JM
4555 [BZ #16928]
4556 * math/s_cacos.c (__cacos): Ensure zero real part of result from
4557 non-finite arguments is +0.
4558 * math/s_cacosf.c (__cacosf): Likewise.
4559 * math/s_cacosl.c (__cacosl): Likewise.
4560 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4561 * sysdeps/i386/fpu/libm-test-ulps: Update.
4562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4563
913d03c8
JM
4564 [BZ #16927]
4565 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4566 value.
4567 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4568 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4569 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4570 for explicit high bit of mantissa when testing for argument equal
4571 to 1.
4572 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4573 * sysdeps/i386/fpu/libm-test-ulps: Update.
4574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4575
0bf061d3
JM
4576 [BZ #16516]
4577 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4578 (__erf): Scale by 16 instead of 8 in potentially underflowing
4579 case. Ensure exception if result actually underflows.
4580 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4581 (__erff): Scale by 16 instead of 8 in potentially underflowing
4582 case. Ensure exception if result actually underflows.
4583 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4584 (efx8): Remove variable.
4585 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4586 case. Ensure exception if result actually underflows.
4587 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4588 (efx8): Remove variable.
4589 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4590 case. Ensure exception if result actually underflows.
4591 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4592 (efx8): Remove variable.
4593 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4594 case. Ensure exception if result actually underflows.
4595 * math/auto-libm-test-in: Add more tests of erf.
4596 * math/auto-libm-test-out: Regenerated.
4597
73ba67cb
AS
45982014-05-14 Andreas Schwab <schwab@suse.de>
4599
3d8c8bff
AS
4600 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4601 Remove code conditionalized on USE___THREAD.
4602
73ba67cb
AS
4603 * config.h.in (HAVE_PT_CHOWN): Define as 0.
4604 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4605 not definedness.
4606
5c521ecd
JM
46072014-05-14 Joseph Myers <joseph@codesourcery.com>
4608
5e7698c6
JM
4609 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4610 Define unconditionally.
4611 (__ASSUME_O_CLOEXEC): Likewise.
4612 (__ASSUME_SOCK_CLOEXEC): Likewise.
4613 (__ASSUME_IN_NONBLOCK): Likewise.
4614 (__ASSUME_PIPE2): Likewise.
4615 (__ASSUME_EVENTFD2): Likewise.
4616 (__ASSUME_SIGNALFD4): Likewise.
4617 (__ASSUME_DUP3): Likewise.
4618 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4619 (__ASSUME_DUP3): Do not define.
4620 (__ASSUME_EVENTFD2): Likewise.
4621 (__ASSUME_IN_NONBLOCK): Likewise.
4622 (__ASSUME_O_CLOEXEC): Likewise.
4623 (__ASSUME_PIPE2): Likewise.
4624 (__ASSUME_SIGNALFD4): Likewise.
4625 (__ASSUME_SOCK_CLOEXEC): Likewise.
4626 (__ASSUME_UTIMES): Undefine.
4627 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4628 (__ASSUME_UTIMES): Do not define.
4629 (__ASSUME_O_CLOEXEC): Likewise.
4630 (__ASSUME_SOCK_CLOEXEC): Likewise.
4631 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4632 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4633 0x020621].
4634 (__ASSUME_PIPE2): Likewise.
4635 (__ASSUME_EVENTFD2): Likewise.
4636 (__ASSUME_SIGNALFD4): Likewise.
4637 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4638 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4639 Do not define.
4640 (__ASSUME_EVENTFD2): Likewise.
4641 (__ASSUME_SIGNALFD4): Likewise.
4642 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4643 (__ASSUME_32BITUIDS): Likewise.
4644 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4645 (__ASSUME_IPC64): Likewise.
4646 (__ASSUME_ST_INO_64_BIT): Likewise.
4647 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4648 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4649 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4650 (__ASSUME_UTIMES): Do not define.
4651 (__ASSUME_PSELECT): Likewise.
4652 (__ASSUME_PPOLL): Likewise.
4653 (__ASSUME_O_CLOEXEC): Likewise.
4654 (__ASSUME_SOCK_CLOEXEC): Likewise.
4655 (__ASSUME_IN_NONBLOCK): Likewise.
4656 (__ASSUME_PIPE2): Likewise.
4657 (__ASSUME_EVENTFD2): Likewise.
4658 (__ASSUME_SIGNALFD4): Likewise.
4659 (__ASSUME_DUP3): Likewise.
4660 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4661 (__ASSUME_UTIMES): Likewise.
4662 (__ASSUME_O_CLOEXEC): Likewise.
4663 (__ASSUME_SOCK_CLOEXEC): Likewise.
4664 (__ASSUME_IN_NONBLOCK): Likewise.
4665 (__ASSUME_PIPE2): Likewise.
4666 (__ASSUME_EVENTFD2): Likewise.
4667 (__ASSUME_SIGNALFD4): Likewise.
4668 (__ASSUME_DUP3): Likewise.
4669 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4670 (__ASSUME_UTIMES): Likewise.
4671 (__ASSUME_O_CLOEXEC): Likewise.
4672 (__ASSUME_SOCK_CLOEXEC): Likewise.
4673 (__ASSUME_IN_NONBLOCK): Likewise.
4674 (__ASSUME_PIPE2): Likewise.
4675 (__ASSUME_EVENTFD2): Likewise.
4676 (__ASSUME_SIGNALFD4): Likewise.
4677 (__ASSUME_DUP3): Likewise.
4678 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4679 Likewise.
4680 (__ASSUME_UTIMES): Likewise.
4681 (__ASSUME_EVENTFD2): Likewise.
4682 (__ASSUME_SIGNALFD4): Likewise.
4683 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4684 (__ASSUME_O_CLOEXEC): Likewise.
4685 (__ASSUME_SOCK_CLOEXEC): Likewise.
4686 (__ASSUME_IN_NONBLOCK): Likewise.
4687 (__ASSUME_PIPE2): Likewise.
4688 (__ASSUME_EVENTFD2): Likewise.
4689 (__ASSUME_SIGNALFD4): Likewise.
4690 (__ASSUME_DUP3): Likewise.
4691 (__ASSUME_UTIMES): Undefine.
4692
5c521ecd
JM
4693 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4694 feclearexcept. Remove symbol versioning code.
4695 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
4696 symbol versioning code.
4697 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
4698 symbol versioning code.
4699 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4700 feupdateenv. Remove symbol versioning code.
4701 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4702 fegetexceptflag. Remove symbol versioning code.
4703 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4704 fesetexceptflag. Remove symbol versioning code.
4705 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4706 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
4707 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4708 (__posix_fadvise64_l32): Remove prototype.
4709 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4710 code.
4711
5da9dfad
RM
47122014-05-13 Roland McGrath <roland@hack.frob.com>
4713
4714 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4715 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4716 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4717 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4718
893b4f37
SK
47192014-05-13 Sami Kerola <kerolasa@iki.fi>
4720
4721 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4722 current working directory
4723
e0db6517
RM
47242014-05-13 Roland McGrath <roland@hack.frob.com>
4725
58aa195d
RM
4726 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4727 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4728 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4729 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4730 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4731 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4732 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4733 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4734 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4735 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4736 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4737 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4738 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4739 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4740 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4741 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4742 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4743 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4744 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4745 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4746 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4747 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4748 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4749 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4750 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4751 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4752 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4753 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4754 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4755 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4756 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4757 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4758 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4759 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4760 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4761 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4762 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4763 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4764 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4765 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4766 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4767 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4768
8c6d01f0
RM
4769 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4770 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4771
4772 * sysdeps/unix/sysv/linux/arm/Makefile
4773 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4774 Add rt-aeabi_unwind_cpp_pr1.
4775 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4776 Add nptl-aeabi_unwind_cpp_pr1.
4777 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4778 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4779 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4780 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4781 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4782 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4783
4784 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4785 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4786 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4787 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4788
bba6da4e
RM
4789 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4790 Deconditionalize the code that was previously under [RESET_PID].
4791 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4792
e0db6517
RM
4793 * sysdeps/generic/exit-thread.h: New file.
4794 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4795 * include/unistd.h (__exit_thread): Remove declaration.
4796 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4797 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4798 * csu/libc-start.c: Include <exit-thread.h>.
4799 (LIBC_START_MAIN): Pass no argument to __exit_thread.
4800 * nptl/pthread_create.c: Include <exit-thread.h>.
4801 (start_thread): Call __exit_thread in place of __exit_thread_inline.
4802 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4803 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4804 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4805 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4806 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4807 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4808 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4809 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4810 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4811 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4812 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4813 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4814 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4815 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4816 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4817 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4818
01eb16fd
AS
48192014-05-13 Andreas Schwab <schwab@suse.de>
4820
4821 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4822
637461d9
JM
48232014-05-12 Joseph Myers <joseph@codesourcery.com>
4824
4825 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4826 (__ASSUME_UTIMES): Do not condition on kernel version.
4827 (__ASSUME_PSELECT): Define unconditionally.
4828 (__ASSUME_PPOLL): Likewise.
4829 (__ASSUME_ATFCTS): Likewise.
4830 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4831 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4832 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4833 (__ASSUME_UTIMENSAT): Define unconditionally.
4834 (__ASSUME_PRIVATE_FUTEX): Likewise.
4835 (__ASSUME_FALLOCATE): Likewise.
4836 (__ASSUME_O_CLOEXEC): Likewise.
4837 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4838 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4839 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4840 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4841 (__ASSUME_IN_NONBLOCK): Likewise.
4842 (__ASSUME_PIPE2): Likewise.
4843 (__ASSUME_EVENTFD2): Likewise.
4844 (__ASSUME_SIGNALFD4): Likewise.
4845 (__ASSUME_DUP3): Likewise.
4846 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4847 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4848 (__ASSUME_AT_RANDOM): Likewise.
4849 (__ASSUME_PREADV): Likewise.
4850 (__ASSUME_PWRITEV): Likewise.
4851 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4852 (__ASSUME_F_GETOWN_EX): Define unconditionally.
4853 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4854 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4855 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4856 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4857 (__ASSUME_O_CLOEXEC): Define unconditionally.
4858 (__ASSUME_PSELECT): Do not undefine conditionally.
4859 (__ASSUME_PPOLL): Likewise.
4860 (__ASSUME_ATFCTS): Likewise.
4861 (__ASSUME_SET_ROBUST_LIST): Likewise.
4862 (__ASSUME_UTIMENSAT): Likewise.
4863 (__ASSUME_FDATASYNC): Define unconditionally.
4864 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4865 (__ASSUME_SIGFRAME_V2): Likewise.
4866 )__ASSUME_EVENTFD2): Likewise.
4867 (__ASSUME_SIGNALFD4): Likewise.
4868 (__ASSUME_PSELECT): Do not undefine conditionally.
4869 (__ASSUME_PPOLL): Likewise.
4870 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4871 (__ASSUME_PSELECT): Define unconditionally.
4872 (__ASSUME_PPOLL): Likewise.
4873 (__ASSUME_O_CLOEXEC): Likewise.
4874 (__ASSUME_SOCK_CLOEXEC): Likewise.
4875 (__ASSUME_IN_NONBLOCK): Likewise.
4876 (__ASSUME_PIPE2): Likewise.
4877 (__ASSUME_EVENTFD2): Likewise.
4878 (__ASSUME_SIGNALFD4): Likewise.
4879 (__ASSUME_DUP3): Likewise.
4880 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4881 (__ASSUME_O_CLOEXEC): Likewise.
4882 (__ASSUME_SOCK_CLOEXEC): Likewise.
4883 (__ASSUME_IN_NONBLOCK): Likewise.
4884 (__ASSUME_PIPE2): Likewise.
4885 (__ASSUME_EVENTFD2): Likewise.
4886 (__ASSUME_SIGNALFD4): Likewise.
4887 (__ASSUME_DUP3): Likewise.
4888 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4889 (__ASSUME_EVENTFD2): Likewise.
4890 (__ASSUME_SIGNALFD4): Likewise.
4891 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4892
315eb1d8
AS
48932014-05-12 Andreas Schwab <schwab@suse.de>
4894
4895 [BZ #16932]
4896 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4897 (_nss_nis_gethostbyname4_r): Return error if item length is larger
4898 than maximum RPC packet size.
4899 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4900 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4901 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4902 (_nss_nis_getservbyport_r): Likewise.
4903
91df99f7
WN
49042014-05-12 Will Newton <will.newton@linaro.org>
4905
4906 * malloc/Makefile (tests): Add tst-mallopt.
4907 * malloc/tst-mallopt.c: New file.
4908
0a982a29
RM
49092014-05-09 Roland McGrath <roland@hack.frob.com>
4910
4911 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4912 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4913
0ded08a5
AZ
49142014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4915
4916 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4917 (tst-tlsmod6.so): Likewise.
4918
55d4d550
RM
49192014-05-09 Roland McGrath <roland@hack.frob.com>
4920
4921 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4922
77d08aca
JM
49232014-05-09 Joseph Myers <joseph@codesourcery.com>
4924
4925 [BZ #16064]
4926 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4927 and <dl-procinfo.h>.
4928 (__fegetenv): Save SSE state in envp->__eip if supported.
4929 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4930 envp->__eip if supported.
4931 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4932 and <dl-procinfo.h>.
4933 (__fesetenv): Always set __eip, __cs_selector, __opcode,
4934 __data_offset and __data_selector in environment to 0. Set SSE
4935 state if supported.
4936 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4937 test-fenv-sse.
4938 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4939 -mfpmath=sse.
4940 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4941
28162f4d
WN
49422014-05-09 Will Newton <will.newton@linaro.org>
4943
4944 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4945 and libc_relro_required for ARM.
4946 * sysdeps/arm/preconfigure: Regenerate.
4947
5a414ff7
DV
49482014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
4949 Stefan Liebler <stli@linux.vnet.ibm.com>
4950
4951 * config.make.in (enable-lock-elision): New Makefile variable.
4952 * configure.ac: Likewise.
4953 * configure: Regenerate.
4954 * sysdeps/s390/configure.ac:
4955 Add check for gcc transactions support.
4956 * sysdeps/s390/configure: Regenerate.
4957 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4958 Build elision files if enabled.
4959 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4960 Add lock elision support for s390.
4961 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4962 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4963 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4964 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4965 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4966 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4967 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4968 Likewise.
4969 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4970 Likewise.
4971 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4972 Likewise.
4973 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4974 Likewise.
4975 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4976 (__lll_timedlock_elision, __lll_lock_elision)
4977 (__lll_unlock_elision, __lll_trylock_elision)
4978 (lll_timedlock_elision, lll_lock_elision)
4979 (lll_unlock_elision, lll_trylock_elision): Add.
4980 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4981 (pthread_mutex_t): Add lock elision support for s390.
4982
1a2f40e5
W
49832014-05-14 Wilco <wdijkstr@arm.com>
4984
4985 * sysdeps/arm/fclrexcpt.c: Cleanup.
4986 * sysdeps/arm/fedisblxcpt.c: Cleanup.
4987 * sysdeps/arm/feenablxcpt.c: Cleanup.
4988 * sysdeps/arm/fegetenv.c: Cleanup.
4989 * sysdeps/arm/fegetexcept.c: Cleanup.
4990 * sysdeps/arm/fegetround.c: Cleanup.
4991 * sysdeps/arm/feholdexcpt.c: Cleanup.
4992 * sysdeps/arm/fesetenv.c: Cleanup.
4993 * sysdeps/arm/fesetround.c: Cleanup.
4994 * sysdeps/arm/feupdateenv.c: Cleanup.
4995 * sysdeps/arm/fgetexcptflg.c: Cleanup.
4996 * sysdeps/arm/fraiseexcpt.c: Cleanup.
4997 * sysdeps/arm/fsetexcptflg.c: Cleanup.
4998 * sysdeps/arm/ftestexcept.c: Cleanup.
4999 * sysdeps/arm/get-rounding-mode.h: Cleanup.
5000 * sysdeps/arm/setfpucw.c: Cleanup.
5001
f63c86fe
WN
50022014-05-09 Will Newton <will.newton@linaro.org>
5003
5004 * sysdeps/arm/armv7/strcmp.S: New file.
5005 * NEWS: Mention addition of ARMv7 optimized strcmp.
5006
7a1a51b5
RM
50072014-05-08 Roland McGrath <roland@hack.frob.com>
5008
95afbbe5
RM
5009 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5010 look for %.ac rather than %.in.
5011
5012 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5013 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5014 * sysdeps/mach/hurd/configure: Regenerated.
5015 * sysdeps/unix/sysv/linux/configure: Regenerated.
5016
7a1a51b5
RM
5017 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5018
5057ad3b
SE
50192014-05-07 Steve Ellcey <sellcey@mips.com>
5020
5021 [BZ# 16922]
5022 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5023 (LONG_SUB): Ditto.
5024 (PTR_SUB): Ditto.
5025
8dc97517
AS
50262014-05-07 Andreas Schwab <schwab@suse.de>
5027
5028 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5029 when skipping over non-matching result from nscd.
5030
ce0c5b8f
OB
50312014-05-07 Ondřej Bílka <neleai@seznam.cz>
5032
5033 [BZ #16876]
5034 * nptl/sockperf.c (client): Check socket return value.
8dc97517 5035
a1189263
OB
5036 [BZ #16877]
5037 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5038 nscd security class.
ce0c5b8f 5039
0f58d252
RM
50402014-05-06 Roland McGrath <roland@hack.frob.com>
5041
5042 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5043 * sysdeps/arm/unwind.h: ... here.
5044
83df9ad0
AJ
50452014-05-06 Aurelien Jarno <aurelien@aurel32.net>
5046
ce0c5b8f
OB
5047 [BZ# 16916]
5048 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5049 Define.
83df9ad0 5050
f360f94a
VR
50512014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5052
5053 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5054 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5055 multiarch strncpy for PPC64.
5056 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5057 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5058 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5059 multiarch optimizations.
5060 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5061 (__libc_ifunc_impl_list): Likewise.
5062 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5063 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5064 multiarch stpncpy for PPC64.
5065 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5066 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5067
978a41c3
AS
50682014-05-06 Andreas Schwab <schwab@suse.de>
5069
5070 [BZ #16912]
5071 * gmon/mcount.c (_MCOUNT_DECL): Use
5072 atomic_compare_and_exchange_bool_acq instead of
5073 catomic_compare_and_exchange_bool_acq.
5074
eb1ed03d
RM
50752014-05-05 Roland McGrath <roland@hack.frob.com>
5076
fe658845
RM
5077 * elf/Makefile (others, install-bin): Remove pldd.
5078 (pldd-modules): Variable removed.
5079 ($(objpfx)pldd): Target removed.
5080 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5081 (others, install-bin): Append pldd here.
5082 ($(objpfx)pldd): New target.
5083
eb1ed03d
RM
5084 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5085 to 0, so the first #if test emitted later doesn't see it undefined.
5086 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5087 * sysdeps/gnu/errlist.c: Regenerated.
5088
19c4bec0
AZ
50892014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5090
5091 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5092 [libc_hidden_builtin_def]: Define to empty value.
5093 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5094 [libc_hidden_builtin_def]: Likewise.
5095 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5096 [libc_hidden_builtin_def]: Likewise.
5097 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5098 [libc_hidden_builtin_def]: Likewise.
5099 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5100 __redirect_memcpy and define ifunc as default hidden symbol.
5101 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5102 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5103
7776e669
AC
51042014-05-04 Adam Conrad <adconrad@0c3.net>
5105
5106 * locale/iso-4217.def: Reintroduce XDR currency.
5107
d69aeb12
AM
51082014-05-04 Allan McRae <allan@archlinux.org>
5109
5110 * po/eo.po: Update Esperanto translation from translation project.
5111
8f1df5cf
CD
51122014-05-02 Carlos O'Donell <carlos@redhat.com>
5113
5114 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5115 and FEATURE_INDEX_MAX to 1.
5116 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5117
13e402e7
SE
51182014-05-01 Steve Ellcey <sellcey@mips.com>
5119
5120 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5121 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5122 * iconvdata/big5.c (ONE_DIRECTION): Define.
5123 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5124 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5125 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5126 * iconvdata/cp932.c (ONE_DIRECTION): Define.
5127 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5128 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5129 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5130 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5131 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5132 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5133 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5134 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5135 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5136 * iconvdata/gbk.c (ONE_DIRECTION): Define.
5137 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5138 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5139 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5140 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5141 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5142 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5143 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5144 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5145 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5146 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5147 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5148 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5149 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5150 * iconvdata/iso646.c (ONE_DIRECTION): Define.
5151 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5152 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5153 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5154 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5155 * iconvdata/johab.c (ONE_DIRECTION): Define.
5156 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5157 * iconvdata/sjis.c (ONE_DIRECTION): Define.
5158 * iconvdata/t.61.c (ONE_DIRECTION): Define.
5159 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5160 * iconvdata/tscii.c (ONE_DIRECTION): Define.
5161 * iconvdata/uhc.c (ONE_DIRECTION): Define.
5162 * iconvdata/unicode.c (ONE_DIRECTION): Define.
5163 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5164 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5165 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5166
c727f032
RM
51672014-05-01 Roland McGrath <roland@hack.frob.com>
5168
8f2f08d0
RM
5169 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5170 (_IO_JUMPS_OFFSET): Define to 0.
5171
c727f032
RM
5172 * nptl/sysdeps/pthread/bits/libc-lock.h
5173 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5174 (__libc_lock_define_initialized_recursive): Always define using
5175 initializer. Modern compilers treat uninitialized (implicit zero) and
5176 explicit zero initializers the same (i.e. put the datum in bss).
5177
a849e800
AS
51782014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5179
5180 * nscd/nscd-client.h: Include <string.h>.
5181
5331255b
DM
51822014-05-01 David S. Miller <davem@davemloft.net>
5183
5184 [BZ #16885]
5185 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5186 multiple zero bytes exist at the end of a string.
5187 Reported by Aurelien Jarno <aurelien@aurel32.net>
5188
5189 * string/test-strcmp.c (check): Add explicit test for situations where
5190 there are multiple zero bytes after the first.
5191
4fdfe821
AS
51922014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5193
5194 [BZ #16890]
5195 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5196 when compiling wprintf.
5197 * stdio-common/tstdiomisc.c (t3): New function.
5198 (main): Call it.
5199
0cdddc25
SE
52002014-05-01 Steve Ellcey <sellcey@mips.com>
5201
5202 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5203 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5204 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5205 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5206
6426d77e
SE
52072014-05-01 Steve Ellcey <sellcey@mips.com>
5208
5209 * stdlib/longlong.h: Updated from GCC.
5210
6d96f5e4
WN
52112014-05-01 Will Newton <will.newton@linaro.org>
5212 Bernard Ogden <bernie.ogden@linaro.org>
5213
7470db0c
WN
5214 * NEWS: Update fixed bug list.
5215
6d96f5e4
WN
5216 [BZ #15119]
5217 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5218
211d653c
DM
52192014-04-30 David S. Miller <davem@davemloft.net>
5220
4fa262fa
DM
5221 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5222 (libc_feholdexcept_setround_sparc_ctx): New function.
5223 (libc_fesetenv_sparc_ctx): Likewise.
5224 (libc_feupdateenv_sparc_ctx): Likewise.
5225 (libc_feholdsetround_sparc_ctx): Likewise.
5226 (libc_feholdexcept_setround_ctx): Define.
5227 (libc_feholdexcept_setroundf_ctx): Likewise.
5228 (libc_feholdexcept_setroundl_ctx): Likewise.
5229 (libc_fesetenv_ctx): Likewise.
5230 (libc_fesetenvf_ctx): Likewise.
5231 (libc_fesetenvl_ctx): Likewise.
5232 (libc_feupdateenv_ctx): Likewise.
5233 (libc_feupdateenvf_ctx): Likewise.
5234 (libc_feupdateenvl_ctx): Likewise.
5235 (libc_feresetround_ctx): Likewise.
5236 (libc_feresetroundf_ctx): Likewise.
5237 (libc_feresetroundl_ctx): Likewise.
5238 (libc_feholdsetround_ctx): Likewise.
5239 (libc_feholdsetroundf_ctx): Likewise.
5240 (libc_feholdsetroundl_ctx): Likewise.
5241
1d3d93ef
DM
5242 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5243 with __USE_GNU instead of XOPEN cpp guards.
5244
8aa583c3
DM
5245 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5246 0.
5247
211d653c
DM
5248 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5249 with XOPEN cpp guards.
5250
60c8f1f6
JB
52512014-04-30 Julian Brown <julian@codesourcery.com>
5252
5253 [BZ #16888]
5254 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5255 handling.
5256
9a461d46
JM
52572014-04-30 Joseph Myers <joseph@codesourcery.com>
5258
d0f5b3f8
JM
5259 [BZ #9894]
5260 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5261 Change to 2.6.32.
5262 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5263 * sysdeps/unix/sysv/linux/configure: Regenerated.
5264 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5265 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5266 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5267 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5268 * README: Update reference to required Linux kernel version.
5269 * manual/install.texi (Linux): Update reference to required Linux
5270 kernel headers version.
5271 * INSTALL: Regenerated.
5272
9a461d46
JM
5273 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5274 header inclusion.
5275 [POSIX] (limits.h): Likewise.
5276 [POSIX] (math.h): Likewise.
5277 [POSIX] (sys/wait.h): Likewise.
5278 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5279 function.
5280 [POSIX] (stddef.h): Do not allow header inclusion.
5281
1775babf
AZ
52822014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5283
57f41c40 5284 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 5285
8f630cca
YY
52862014-04-30 Yang Yingliang <yangyingliang@huawei.com>
5287
5288 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5289 Return immediately after lll_futex_wake.
5290
1cdeb237
SP
52912014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5292
bc8f194c
SP
5293 [BZ #16791]
5294 * nscd/nscd-client.h (datahead_init_common): Initialize entire
5295 structure.
5296 (datahead_init_pos): Call datahead_init_common early.
5297 (datahead_init_neg): Likewise.
5298
1cdeb237
SP
5299 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5300 datahead_init_neg): New functions.
5301 * nscd/aicache.c (addhstaiX): Use them.
5302 * nscd/grpcache.c (cache_addgr): Likewise.
5303 * nscd/hstcache.c (cache_addhst): Likewise.
5304 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5305 * nscd/netgroupcache.c (do_notfound): Likewise.
5306 (addgetnetgrentX): Likewise.
5307 (addinnetgrX): Likewise.
5308 * nscd/pwdcache.c (cache_addpw): Likewise.
5309 * nscd/servicescache.c (cache_addserv): Likewise.
5310
16b293a7
SP
53112014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5312 Atsushi Onoe <atsushi@onoe.org>
5313
5314 [BZ #14308]
5315 [BZ #12994]
5316 [BZ #13651]
5317 * resolv/res_query.c (__libc_res_nsearch): Return if at least
5318 one response is valid.
5319 * resolv/res_send.c (send_dg): Check for validity of other
5320 response if the current response is a referral.
5321
a28a9b94
SE
53222014-04-29 Steve Ellcey <sellcey@mips.com>
5323
5324 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5325
2ca180e9
SL
53262014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
5327
5328 [BZ #16823]
5329 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5330 Always divide by positive zero when computing -Inf result.
5331 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5332 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5333
18f2945a
AZ
53342014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5335
5336 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5337 FPSCR if value do not change.
5338 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5339 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5340 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5341 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5342 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5343 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5344 function.
5345
5abebba4
CD
53462014-05-29 Carlos O'Donell <carlos@systemhalted.org>
5347
5348 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5349 * sysdeps/unix/sysv/linux/hppa: Move directory from
5350 ports/systeps/unix/sysv/linux/hppa.
5351 * README: Update listing for hppa-*-linux-gnu.
5352
f7ed60c2
OB
53532014-04-28 Ondřej Bílka <neleai@seznam.cz>
5354
fff763a5
OB
5355 [BZ #16754]
5356 * manual/stdio.texi (Hook functions): Fix types of stream hook
5357 functions.
f7ed60c2
OB
5358 [BZ #16854]
5359 * socket/sys/socket.h: Fix typo in comment.
5360
df639d73
WD
53612014-04-28 Wilco <wdijkstr@arm.com>
5362
f7ed60c2 5363 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
5364 * sysdeps/arm/math_private.h: New file.
5365 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5366
48332d82
L
53672014-04-25 H.J. Lu <hongjiu.lu@intel.com>
5368
5369 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5370 with __int128_t.
5371 (La_x86_64_retval): Likewise.
5372
e5e0d9a4
IB
53732014-04-24 Ian Bolton <ian.bolton@arm.com>
5374
5375 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5376 fpsr if value didn't change.
5377 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5378 to fpcr if value didn't change.
5379 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5380 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5381 fpsr or fpcr if value didn't change.
5382 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5383 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5384 fpcr if value didn't change.
5385 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5386 to fpsr if value didn't change.
5387
bacc75f7
SP
53882014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5389
5390 * nptl/tst-sem3.c: Use test-skeleton.c
5391 (main): Rename to do_test. Use return instead of
5392 exit.
5393 * nptl/tst-sem4.c: Use test-skeleton.c
5394 (main): Rename to do_test.
5395
a059d359
DM
53962014-04-22 David S. Miller <davem@davemloft.net>
5397
5398 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5399 (struct sigaction): New struct member __glibc_reserved0, change
5400 type of sa_flags to int.
5401
ea6c92f3
YZ
54022014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
5403
5404 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5405 (COUNT_LEADING_ZEROS_0): Define for AArch64.
5406
766c4a36
SP
54072014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5408
5409 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5410 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5411
140cc7ab
VK
54122014-04-22 Will Newton <will.newton@linaro.org>
5413 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
5414
5415 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5416 (__longjmp): Add longjmp and longjmp_target SystemTap
5417 probes.
5418 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5419 (__sigsetjmp): Add setjmp SystemTap probe.
5420
c54e5cf7
CD
54212014-04-17 Carlos O'Donell <carlos@redhat.com>
5422
5423 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5424 match manual order.
5425
75ffb047
AZ
54262014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5427
5428 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5429
2cd925f7
AZ
5430 * sysdeps/powerpc/fpu/fenv_private.h
5431 (libc_feholdexcept_setroundl_ctx): Define to
5432 libc_feholdexcept_setround_ppc_ctx.
5433 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5434 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5435 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5436 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5437
39e6cd8d
IB
54382014-04-17 Ian Bolton <ian.bolton@arm.com>
5439
5440 * sysdeps/aarch64/math-tests.h: New file.
5441
f9281df9
SY
54422014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
5443
5444 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5445 New.
5446 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5447 Check and set bit_AVX2_Usable.
5448 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5449 macro.
5450 (bit_AVX2): Likewise.
5451 (index_AVX2_Usable): Likewise.
5452 (CPUID_AVX2): Likewise.
5453 (HAS_AVX2): Likewise.
5454
37d35007
WN
54552014-04-17 Will Newton <will.newton@linaro.org>
5456
7c677662
WN
5457 * manual/setjmp.texi (System V contexts): Add note that
5458 calling setcontext on a context created by a call to a
5459 signal handler is undefined. Update text to note that
5460 setcontext from a signal handler is possible but not
5461 recommended.
5462
37d35007 5463 [BZ #16629]
e04a4e9d
WN
5464 * stdlib/tst-setcontext.c: Include signal.h.
5465 (main): Check that the signal stack before and
5466 after swapcontext is the same.
5467
37d35007
WN
5468 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5469 Re-implement to restore registers in user code and avoid
5470 rt_sigreturn system call.
5471
423a7160
W
54722014-04-17 Wilco <wdijkstr@arm.com>
5473
5474 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5475 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5476 * math/test-fenv.c: Skip exception trap tests on targets which only
5477 support non-stop mode.
5478
bc93ab29
IB
54792014-04-17 Ian Bolton <ian.bolton@arm.com>
5480 Wilco Dijkstra <wilco.dijkstra@arm.com>
5481
5482 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5483 (libc_feholdsetround_aarch64_ctx)
5484 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5485 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5486 (libc_feresetround_ctx, libc_feresetroundf_ctx)
5487 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5488 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5489 (libc_feresetround_noexl_ctx): Define.
5490
95fc5fa3
RH
54912014-04-16 Richard Henderson <rth@redhat.com>
5492
ddb04724
RH
5493 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5494
d77c0899
RH
5495 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5496 unwind tables.
5497
a3df56fc
RH
5498 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5499 const from the non-libc, non-ldso copy.
5500
95fc5fa3
RH
5501 * sysdeps/alpha/libm-test-ulps: Regenerate.
5502
7e0b6763
IB
55032014-04-16 Ian Bolton <ian.bolton@arm.com>
5504 Wilco Dijkstra <wilco.dijkstra@arm.com>
5505
5506 * sysdeps/aarch64/fpu/math_private.h: New file.
5507
a9ea2e0c
MS
55082014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
5509
5510 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5511
ea8ba7cd
IZ
55122014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
5513
5514 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5515 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5516 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5517 Intel MPX bound registers before _dl_profile_fixup.
5518 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5519 registers after _dl_profile_fixup. Save and restore bound
5520 registers bnd0/bnd1 when calling _dl_call_pltexit.
5521 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5522 (LR_BND_OFFSET): Likewise.
5523 (LRV_BND0_OFFSET): Likewise.
5524 (LRV_BND1_OFFSET): Likewise.
5525
9f2a4fbc
ST
55262014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5527
5528 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5529 to...
5530 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
5531 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5532 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5533 fields.
9f2a4fbc 5534
fd15a59b
ST
55352014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5536
5537 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5538
f19dfa0a
SL
55392014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5540
5541 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5542
4fa8bc3b
SL
55432014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5544
5545 [BZ #14770]
5546 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5547 * sysdeps/s390/configure: Regenerate.
5548
8ea587db
SL
5549 [BZ #16824]
5550 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5551 Set round-to-nearest internally to reduce error accumulation.
5552
aa5f0ff1
AM
55532014-04-16 Alan Modra <amodra@gmail.com>
5554
5555 [BZ #16740]
5556 [BZ #16619]
5557 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5558 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 5559 * NEWS: Update fixed bug list.
aa5f0ff1 5560
bb9c256f
SP
55612014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5562
5563 * benchtests/Makefile: Depend on libraries in build directory.
5564 (bench-math): Separate out math tests.
5565 (bench-pthread): Separate out pthread tests.
5566 (bench): Include math and pthread tests.
5567
f737dfd0
CD
55682014-04-14 Carlos O'Donell <carlos@redhat.com>
5569
5570 [BZ #16831]
5571 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5572 _dl_debug_initialize.
5573
0699f766
CD
5574 * configure.ac: Remove SELinux header check.
5575 * configure: Regenerate.
5576 * nscd/selinux.c (perms): Array of const char* to permission names.
5577 (nscd_request_avc_has_perm): Call security_deny_unknown to find
5578 default policy. Call string_to_security_class and string_to_av_perm to
5579 translate strings. Enforce default policy and call avs_has_perm with
5580 results of translated strings.
5581
809bd45f
DM
55822014-04-13 David S. Miller <davem@davemloft.net>
5583
5584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5585
89e691f2
AM
55862014-04-12 Allan McRae <allan@archlinux.org>
5587
5588 [BZ #16838]
5589 * manual/string.texi (Collation Functions): Fix qsort argument
5590 order in example.
5591 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5592
9c9daaeb
CM
55932014-04-11 Chris Metcalf <cmetcalf@tilera.com>
5594
5595 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5596 Make the test a no-op if there are no exceptions defined.
5597
95561fb9
PP
55982014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
5599
fe8d072c 5600 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
5601 enable-hardcoded-path-in-tests
5602
970c602a
WN
56032014-04-11 Will Newton <will.newton@linaro.org>
5604
5605 * benchtests/Makefile (extra-objs): Add json-lib.o.
5606 (bench-func): Tidy up JSON output.
5607 * benchtests/bench-skeleton.c: Include json-lib.h.
5608 (main): Use JSON library functions to do output of
5609 benchmark results.
5610 * benchtests/bench-timing-type.c (main): Output the
5611 timing type simply, leaving formatting to the user.
5612 * benchtests/json-lib.c: New file.
5613 * benchtests/json-lib.h: Likewise.
5614
36875b06
TR
56152014-04-11 Torvald Riegel <triegel@redhat.com>
5616
5617 [BZ #15215]
5618 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5619 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
5620 memory barriers. Add comments.
5621 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5622 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5623 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5624 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5625 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5626 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5627
579db35a
SL
56282014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5629
5630 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5631 * sysdeps/s390/s390-64/configure.ac: ... this ...
5632 * sysdeps/s390/configure.ac: ... to here.
5633 * sysdeps/s390/s390-32/configure: Delete file.
5634 * sysdeps/s390/s390-64/configure: Delete file.
5635 * sysdeps/s390/configure: Regenerate.
5636
c12e9f37
JAPH
56372014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
5638
5639 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5640
439bda32
WN
56412014-04-11 Will Newton <will.newton@linaro.org>
5642
5643 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5644 to zero if it is not defined elsewhere. (mtrim): Test
5645 the value of MALLOC_DEBUG with #if rather than #ifdef.
5646
6a5d6ea1
TR
56472014-04-10 Torvald Riegel <triegel@redhat.com>
5648
5649 * benchtests/pthread_once-inputs: New file.
5650 * benchtests/pthread_once-source.c: New file.
5651 * benchtests/README: Update documentation.
5652
a4c75cfd
IZ
56532014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
5654 H.J. Lu <hongjiu.lu@intel.com>
5655
5656 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5657 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5658 * sysdeps/x86_64/configure: Regenerated.
5659 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5660 macro.
5661 (REGISTER_SAVE_RAX): Likewise.
5662 (REGISTER_SAVE_RCX): Likewise.
5663 (REGISTER_SAVE_RDX): Likewise.
5664 (REGISTER_SAVE_RSI): Likewise.
5665 (REGISTER_SAVE_RDI): Likewise.
5666 (REGISTER_SAVE_R8): Likewise.
5667 (REGISTER_SAVE_R9): Likewise.
5668 (REGISTER_SAVE_BND0): Likewise.
5669 (REGISTER_SAVE_BND1): Likewise.
5670 (REGISTER_SAVE_BND2): Likewise.
5671 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
5672 bound registers when calling _dl_fixup.
5673
27822ce6
AZ
56742014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5675
5676 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
5677 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5678 of its definition.
27822ce6
AZ
5679 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5680 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5681 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5682 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5683 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5684 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5685 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5686
a88ddc90
PTB
56872014-04-09 Peter Brett <peter@peter-b.co.uk>
5688
5689 [BZ #15514]
5690 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5691 pathconf(_PC_NAME_MAX).
5692
01f8eac2
AZ
56932014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5694
5695 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5696 Remove macro usage.
5697 (__PTHREAD_SPINS): Move definition to ...
5698 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5699 (__PTHREAD_SPINS): ... here.
5700 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5701 (__PTHREAD_SPIN): Likewise.
5702 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5703 (__PTHREAD_SPIN): Likewise.
5704 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5705 (__PTHREAD_SPIN): Likewise.
5706 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5707 (__PTHREAD_SPIN): Likewise.
5708 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5709 (__PTHREAD_SPIN): Likewise.
5710 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5711 (__PTHREAD_SPIN): Likewise.
5712 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5713 (__PTHREAD_SPIN): Likewise.
5714 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5715 (__PTHREAD_SPIN): Likewise.
5716 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5717 (__PTHREAD_SPIN): Likewise.
5718 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5719 (__PTHREAD_SPIN): Likewise.
5720 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5721 (__PTHREAD_SPIN): Likewise.
5722 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5723 (__PTHREAD_SPIN): Likewise.
5724
de21c33c
AZ
5725 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5726 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5727 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5728 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5729 imply folder.
5730 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5731 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5732 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5733 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5734 correct imply path.
5735 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5736 strlen symbol for non multi-arch builds.
5737 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5738 missing hidden_def and weak_alias.
5739
862c472e
CD
57402014-04-08 Carlos O'Donell <carlos@redhat.com>
5741
5742 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5743
8667f90e
WN
57442014-04-07 Will Newton <will.newton@linaro.org>
5745
5746 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5747 and contents. [!_LIBC] Remove #ifndef and contents.
5748 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
5749 * string/memccpy.c (__memccpy): Use ANSI prototype.
5750 * string/memfrob.c (memfrob): Likewise.
5751 * string/strcoll.c (STRCOLL): Likewise.
5752 * string/strlen.c (strlen): Likewise.
5753 * string/strtok.c (STRTOK): Likewise.
5754 * string/strcat.c: Remove unused #include of memcopy.h.
5755 (strcat): Use ANSI prototype.
5756 * string/strchr.c: Remove unused #include of memcopy.h.
5757 (strchr): Use ANSI prototype.
5758 * string/strcmp.c: Remove unused #include of memcopy.h.
5759 (strcmp): Use ANSI prototype.
5760 * string/strcpy.c: Remove unused #include of memcopy.h.
5761 (strcpy): Use ANSI prototype.
5762
7ffa9423
AZ
57632014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5764
5765 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5766 * config.make.in (config-extra-cppflags): Set it from
5767 libc_extra_cppflags.
5768 * configure.ac (libc_extra_cflags): Make it accumulate over
5769 configure fragments.
5770 (libc_extra_cppflags): New flag.
5771 * configure. Regenerate.
5772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
5773 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5774 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
5775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5776
8bd70862
AZ
5777 [BZ #16815]
5778 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5779 result for FE_DOWNWARD rounding mode.
5780 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5781 Likewise.
5782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5783
d42f3448
CM
57842014-04-04 Chris Metcalf <cmetcalf@tilera.com>
5785
5786 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5787 in function argument name.
5788
1c21d115
DS
57892014-04-03 David Svoboda <svoboda@cert.org>
5790
5791 [BZ #5666]
5792 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5793 explicitly.
5794
fcccd512
RM
57952014-04-03 Roland McGrath <roland@hack.frob.com>
5796
5797 * elf/dl-unmap-segments.h: New file.
5798 * sysdeps/generic/ldsodefs.h
5799 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5800 * elf/dl-close.c: Include <dl-unmap-segments.h>.
5801 * elf/dl-fptr.c: Likewise.
5802 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5803 * sysdeps/aarch64/tlsdesc.c: Likewise.
5804 * sysdeps/arm/tlsdesc.c: Likewise.
5805 * sysdeps/i386/tlsdesc.c: Likewise.
5806 * sysdeps/tile/dl-runtime.c: Likewise.
5807 * sysdeps/x86_64/tlsdesc.c: Likewise.
5808 * elf/dl-load.h: New file.
5809 * elf/dl-load.c: Include it.
5810 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5811 Macros moved to dl-load.h.
5812 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5813 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5814 Use _dl_unmap_segments in place of __munmap.
5815 Break out segment-mapping loop into ...
5816 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5817
f6488e2b
WN
58182014-04-03 Will Newton <will.newton@linaro.org>
5819
5820 * elf/dl-lookup.c (do_lookup_x): Remove comment
5821 referring to nested function and move variable
5822 declarations down to before first use.
5823
6f05bafe
JM
58242014-04-02 Joseph Myers <joseph@codesourcery.com>
5825
a84e78c8
JM
5826 [BZ #16799]
5827 [BZ #16800]
5828 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5829 with 0 numerator.
5830 * math/s_catanf.c (__catanf): Likewise.
5831 * math/s_catanh.c (__catanh): Likewise.
5832 * math/s_catanhf.c (__catanhf): Likewise.
5833 * math/s_catanhl.c (__catanhl): Likewise.
5834 * math/s_catanl.c (__catanl): Likewise.
5835 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5836 by positive zero when computing -Inf result.
5837 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5838 (catanh_test): Likewise.
5839 * sysdeps/i386/fpu/libm-test-ulps: Update.
5840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5841
6f05bafe
JM
5842 [BZ #16789]
5843 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5844 instead of using underflowing value in computing result.
5845 * math/s_clog10.c (__clog10): Likewise.
5846 * math/s_clog10f.c (__clog10f): Likewise.
5847 * math/s_clog10l.c (__clog10l): Likewise.
5848 * math/s_clogf.c (__clogf): Likewise.
5849 * math/s_clogl.c (__clogl): Likewise.
5850 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5851 (clog10_test): Likewise.
5852 * sysdeps/i386/fpu/libm-test-ulps: Update.
5853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5854
b0abbc21
AM
58552014-04-02 Alan Modra <amodra@gmail.com>
5856
5857 [BZ #16739]
5858 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5859 output when value is near a power of two. Use int64_t for lx and
5860 remove casts. Use decimal rather than hex exponent constants.
5861 Don't use long double multiplication when double will suffice.
5862 * math/libm-test.inc (nextafter_test_data): Add tests.
5863 * NEWS: Add 16739 and 16786 to bug list.
5864
af6b1797
AM
5865 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5866
483818d7
AM
5867 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5868
f6c55796
WN
58692014-04-01 Will Newton <will.newton@linaro.org>
5870
5871 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5872 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
5873
13f7fe35
FW
58742014-04-01 Florian Weimer <fweimer@redhat.com>
5875
5876 [BZ #13347]
5877 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5878 * nptl/tst-setuid2.c: New file.
5879 * nptl/Makefile (xtests): Add tst-setuid2.
5880
c859b32e
AM
58812014-04-01 Alan Modra <amodra@gmail.com>
5882
5883 [BZ #16786]
5884 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5885
54fa2475
JM
58862014-03-31 Joseph Myers <joseph@codesourcery.com>
5887
8795b4a4
JM
5888 [BZ #6803]
5889 [BZ #6804]
5890 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5891 set errno as appropriate.
5892 * math/w_scalbf.c (__scalbf): Likewise.
5893 * math/w_scalbl.c (__scalbl): Likewise.
5894 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5895 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5896 * math/libm-test.inc (scalb_test_data): Add errno expectations.
5897 Add more NaN tests.
5898
54fa2475
JM
5899 [BZ #16349]
5900 * math/w_atan2.c: Include <errno.h>.
5901 (__atan2): Set errno for result underflowing to zero.
5902 * math/w_atan2f.c: Include <errno.h>.
5903 (__atan2f): Set errno for result underflowing to zero.
5904 * math/w_atan2l.c: Include <errno.h>.
5905 (__atan2l): Set errno for result underflowing to zero.
5906 * math/auto-libm-test-in: Don't allow missing errno for some atan2
5907 tests.
5908 * math/auto-libm-test-out: Regenerated.
5909
757d9dd5
AZ
59102014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5911
5912 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5913 Encode instruction correctly in little endian.
5914 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5915 Likewise.
5916 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5917 Likewise.
5918 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5919 Likewise.
5920 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5921 Likewise.
5922
d7a68734
JM
59232014-03-31 Joseph Myers <joseph@codesourcery.com>
5924
47c5adeb
JM
5925 [BZ #9894]
5926 * sysdeps/unix/sysv/linux/kernel-features.h
5927 [__sparc__ && !__arch64__ && !__sparc_v9__]
5928 (__ASSUME_SET_ROBUST_LIST): Do not define.
5929 [__sparc__ && !__arch64__ && !__sparc_v9__]
5930 (__ASSUME_FUTEX_LOCK_PI): Likewise.
5931 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5932 Likewise.
5933 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5934 (__ASSUME_FUTEX_LOCK_PI): Undefine.
5935 (__ASSUME_REQUEUE_PI): Likewise.
5936 (__ASSUME_SET_ROBUST_LIST): Likewise.
5937 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5938 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5939 Undefine.
5940 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5941 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5942 Likewise.
5943 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5944 Likewise.
5945 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5946 Likewise.
5947 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5948 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5949 Undefine.
5950 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5951 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5952 Likewise.
5953
d7a68734
JM
5954 [BZ #16648]
5955 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5956 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5957 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5958
c760f5c2
WN
59592014-03-31 Will Newton <will.newton@linaro.org>
5960
5961 * benchtests/Makefile (bench): Add ffs and ffsll to list
5962 of tests.
5963 * benchtests/ffs-inputs: New file.
5964 * benchtests/ffsll-inputs: Likewise.
5965
ea6029b1
JM
59662014-03-29 Joseph Myers <joseph@codesourcery.com>
5967
5968 [BZ #16770]
5969 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5970 too large before casting to int.
5971 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5972 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5973 * math/libm-test.inc (scalb_test_data): Add more tests.
5974
cf806aff
SP
59752014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5976
56737508
SP
5977 * benchtests/Makefile (DETAILED_OPT): New make option.
5978 (bench-func): Run benchmark program with -d if DETAILED_OPT is
5979 set.
5980 * benchtests/bench-skeleton.c: Include stdbool.h.
5981 (main): Store and print timings per input.
5982 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5983 member to each argument value.
5984 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5985 (_print_arg_data): Initialize per-input timing to 0.
5986
cb5e4aad
SP
5987 * benchtests/Makefile (timing-type): New binary.
5988 (bench-clean): Also remove bench-timing-type.
5989 (bench): New target for timing-type.
5990 (bench-func): Print output in JSON format.
5991 * benchtests/bench-skeleton.c (main): Print output in JSON
5992 format.
5993 * benchtests/bench-timing-type.c: New file.
5994 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5995 (TIMING_PRINT_STATS): Remove.
5996 * benchtests/scripts/bench.py (_print_arg_data): Store variant
5997 name separately.
5998
cf806aff
SP
5999 * benchtests/bench-modf.c: Remove.
6000 * benchtests/modf-inputs: New inputs file.
6001
289e0779
JM
60022014-03-28 Joseph Myers <joseph@codesourcery.com>
6003
6004 [BZ #16362]
6005 * math/s_clog10.c (M_PI_LOG10E): New macro.
6006 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6007 imaginary parts are 0.
6008 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6009 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6010 imaginary parts are 0.
6011 * math/s_clog10l.c (M_PI_LOG10El): New macro.
6012 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6013 imaginary parts are 0.
6014 * math/libm-test.inc (clog10_test_data): Update expected results
6015 for when real and imaginary parts are 0.
6016
277ae3f1
PP
60172014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
6018
6019 * elf/dl-load.c: Finish conversion of __builtin_expect into
6020 __glibc_{un}likely.
6021
03a7091f
JM
60222014-03-27 Joseph Myers <joseph@codesourcery.com>
6023
6024 [BZ #16348]
6025 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6026 1+x for argument with exponent below -67.
6027 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6028 Likewise.
6029 * math/auto-libm-test-in: Add more tests of exp.
6030 * math/auto-libm-test-out: Regenerated.
6031
ea7d8b95
SP
60322014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6033
dd3022d7
SP
6034 [BZ #16759]
6035 * inet/getnetgrent_r.c (get_nonempty_val): New function.
6036 (nscd_getnetgrent): Use it.
6037
ea7d8b95
SP
6038 [BZ #16760]
6039 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6040 of stpcpy.
6041
df5b85da
AK
60422014-03-27 Andi Kleen <ak@linux.intel.com>
6043
57f41c40
AS
6044 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6045 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6046 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6047 (lll_robust_unlock): Remove out of line section. Use cfi
6048 intrinsics.
df5b85da 6049 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
6050 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6051 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6052 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6053 (lll_robust_unlock): Remove out of line section. Use cfi
6054 intrinsics.
df5b85da
AK
6055 (LLL_STUB_UNWIND_INFO*): Remove.
6056
fbd6b5a4
SP
60572014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6058
6059 [BZ #16758]
6060 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6061 blank values.
6062
1b26b855
PP
60632014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
6064
6065 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6066
9be36fb8
JM
60672014-03-26 Joseph Myers <joseph@codesourcery.com>
6068
6069 [BZ #16198]
6070 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6071 fnstenv.
6072 * math/test-fenv-preserve.c: New file.
6073 * math/Makefile (tests): Add test-fenv-preserve.
6074
60a2f3c1
WN
60752014-03-26 Will Newton <will.newton@linaro.org>
6076
6077 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6078
a5e5f1e2
RM
60792014-03-25 Roland McGrath <roland@hack.frob.com>
6080
6081 * scripts/versionlist.awk: Partition the version sets and emit all
6082 GLIBC_* (sorted) before all others (sorted).
6083
00f4012a
JM
60842014-03-25 Joseph Myers <joseph@codesourcery.com>
6085
6086 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6087 GLIBC_2.2.5 version.
6088
7bc5a741
AZ
60892014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6090
6091 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6092 calls.
6093
7578473b
AZ
6094 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6095 previous change.
6096
f3f1dab3
AZ
6097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6098
6da36183
AS
60992014-03-25 Andreas Schwab <schwab@suse.de>
6100
6101 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6102 label to be used after in6ailist is initialized.
6103
f3f1dab3 61042014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 6105
7578473b 6106 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
6107 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6108
046651c1
JM
61092014-03-25 Joseph Myers <joseph@codesourcery.com>
6110
6111 [BZ #16357]
6112 [BZ #16599]
6113 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6114 min_plus_half.
6115 (fp_formats): Update initializers.
6116 (init_fp_formats): Initialize new field.
6117 (output_for_one_input_case): Allow underflow for results up to
6118 min_plus_half.
6119 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6120 * math/auto-libm-test-in: Don't mark some underflows from asin and
6121 atanh as spurious.
6122 * math/auto-libm-test-out: Regenerated.
6123 * sysdeps/i386/fpu/libm-test-ulps: Update.
6124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6125
003e49ed
AS
61262014-03-25 Andreas Schwab <schwab@suse.de>
6127
6128 * libio/Makefile (tst-ftell-partial-wide-ENV)
6129 (tst-ftell-active-handler-ENV): Define.
6130
de031874
SL
61312014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6132
6133 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6134
55a81e3b
PP
61352014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6136
6137 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6138
f3426898
JM
61392014-03-24 Joseph Myers <joseph@codesourcery.com>
6140
6141 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6142 * sysdeps/x86_64/fpu/multiarch/e_exp.c
6143 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6144
a42faf59
PP
61452014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6146
6147 [BZ #16634]
a42faf59 6148 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
6149 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6150 (open_path): Change from boolean 'secure' to complete flag 'mode'
6151 (_dl_map_object): Adjust.
a42faf59
PP
6152 * elf/Makefile (tests): Add tst-dlopen-aout.
6153 * elf/tst-dlopen-aout.c: New test.
6154
50936127
SL
61552014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6156
6157 [BZ #16714]
6158 * sysdeps/unix/sysv/linux/s390/bits/stat.h
6159 (struct stat): Rename member pad0 to __glibc_reserved0.
6160
26011b5c
SL
6161 [BZ #16712]
6162 * sysdeps/s390/s390-32/bits/wordsize.h
6163 (__WORDSIZE32_SIZE_ULONG): New define.
6164 * sysdeps/s390/s390-64/bits/wordsize.h
6165 (__WORDSIZE32_SIZE_ULONG): Likewise.
6166 * sysdeps/generic/stdint.h (SIZE_MAX):
6167 Define as UL if __WORDSIZE32_SIZE_ULONG.
6168
a2d86bf1
SL
6169 [BZ #16713]
6170 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6171 (__glibc_reserved0): New variable.
6172 (sa_flags): Change type to int.
6173
78b6eebc
SL
6174 * posix/Makefile (before-compile): Use += before-compile instead
6175 of a :=.
6176
f1399b5a
SL
6177 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6178 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6179
a071766e
AS
61802014-03-20 Andreas Schwab <schwab@suse.de>
6181
6182 [BZ #16743]
6183 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6184 non-matching result from nscd.
6185
27c673b8
SP
61862014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6187
6188 * scripts/bench.py: Moved to ...
6189 * benchtests/scripts/bench.py: ... here.
6190 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6191
44152e4b
AS
61922014-03-24 Andreas Schwab <schwab@suse.de>
6193
6194 [BZ #16002]
6195 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6196 alloca_account and account alloca use for struct in6ailist.
6197
b376a11a
JM
61982014-03-24 Joseph Myers <joseph@codesourcery.com>
6199
6200 [BZ #16284]
6201 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6202 rounding mode to recompute results that overflow to infinity or
6203 underflow to zero.
6204 * math/auto-libm-test-in: Don't mark tests as expected to fail for
6205 bug 16284.
6206 * math/auto-libm-test-out: Regenerated.
6207 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6208 (ccosh_test): Likewise.
6209 (csin_test_data): Use plus_oflow.
6210 (csin_test): Use ALL_RM_TEST.
6211 (csinh_test_data): Use plus_oflow.
6212 (csinh_test): Use ALL_RM_TEST.
6213 * sysdeps/i386/fpu/libm-test-ulps: Update.
6214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6215
f7be7376
JM
62162014-03-21 Joseph Myers <joseph@codesourcery.com>
6217
1ca2d03e
JM
6218 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6219 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6220 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6221
f7be7376
JM
6222 [BZ #16731]
6223 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6224 when x - 1 is zero.
6225 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6226 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6227 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6228 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6229 argument is 1.
6230 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6231 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6232 zero.
6233 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6234 * sysdeps/i386/fpu/libm-test-ulps: Update.
6235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6236
fdf4534d
SP
62372014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6238
df26ea53
SP
6239 * scripts/bench.pl: Remove file.
6240 * scripts/bench.py: New benchmark script.
6241 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6242 * benchtests/README: Mention python dependency.
6243 * scripts/pylintrc: New file.
6244 * scripts/pylint: New file.
6245
fdf4534d
SP
6246 * bits/mathdef.h: Use #ifdef instead of #if.
6247 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6248 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6249 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6250 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6251 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6252 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6253
6f23d093
AZ
62542014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6255 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6256
6257 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6258 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6259 and strpbrk-ppc64 objects.
6260 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6261 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6262 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6263 multiarch strpbrk for POWER7.
6264 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6265 multiarch strpbrk for PPC64.
6266 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6267 ifunc selector.
6268 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6269 strpbrk for POWER7.
6270
8c92dfff
JM
62712014-03-20 Joseph Myers <joseph@codesourcery.com>
6272
6273 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6274 (atan_test): Likewise.
6275 (atanh_test_data): Use NO_TEST_INLINE for two tests.
6276 (atanh_test): Use ALL_RM_TEST.
6277 (atan2_test_data): Likewise.
6278 (cabs_test): Likewise.
6279 (cacosh_test): Likewise.
6280 (carg_test): Likewise.
6281 (casin_test): Likewise.
6282 (casinh_test): Likewise.
6283 (cbrt_test): Likewise.
6284 (csqrt_test): Likewise.
6285 (erf_test): Likewise.
6286 (erfc_test): Likewise.
6287 (pow10_test): Likewise.
6288 (exp2_test): Likewise.
6289 (hypot_test): Likewise.
6290 (j0_test): Likewise.
6291 (j1_test): Likewise.
6292 (lgamma_test): Likewise.
6293 (gamma_test): Likewise.
6294 (sincos_test): Likewise.
6295 (tanh_test): Likewise.
6296 (y0_test): Likewise.
6297 (y1_test): Likewise.
6298 * sysdeps/i386/fpu/libm-test-ulps: Update.
6299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6300
6eaf95cb
AZ
63012014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6302
a387428c
SP
6303 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6304 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
6305 and strcspn-ppc64 objects.
6306 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6307 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6308 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6309 multiarch strcspn for POWER7.
6310 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6311 multiarch strcspn for PPC64.
6312 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6313 ifunc selector.
6314 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6315 strcspn for POWER7.
6316
ae3a5dff
JM
63172014-03-20 Joseph Myers <joseph@codesourcery.com>
6318
6319 * math/gen-libm-test.pl (generate_testfile): Expect only function
6320 name as argument to AUTO_TESTS_* and pass results for all rounding
6321 modes to parse_args.
6322 (parse_auto_input): Separate inputs of automatic tests from
6323 outputs before storing in %auto_tests.
6324 * math/libm-test.inc (acos_test_data): Update call to
6325 AUTO_TESTS_f_f.
6326 (acos_test): Use ALL_RM_TEST.
6327 (acos_tonearest_test_data): Remove.
6328 (acos_test_tonearest): Likewise.
6329 (acos_towardzero_test_data): Likewise.
6330 (acos_test_towardzero): Likewise.
6331 (acos_downward_test_data): Likewise.
6332 (acos_test_downward): Likewise.
6333 (acos_upward_test_data): Likewise.
6334 (acos_test_upward): Likewise.
6335 (acosh_test_data): Update call to AUTO_TESTS_f_f.
6336 (asin_test_data): Likewise.
6337 (asin_test): Use ALL_RM_TEST.
6338 (asin_tonearest_test_data): Remove.
6339 (asin_test_tonearest): Likewise.
6340 (asin_towardzero_test_data): Likewise.
6341 (asin_test_towardzero): Likewise.
6342 (asin_downward_test_data): Likewise.
6343 (asin_test_downward): Likewise.
6344 (asin_upward_test_data): Likewise.
6345 (asin_test_upward): Likewise.
6346 (asinh_test_data): Update call to AUTO_TESTS_f_f.
6347 (atan_test_data): Likewise.
6348 (atanh_test_data): Likewise.
6349 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6350 (cabs_test_data): Update call to AUTO_TESTS_c_f.
6351 (carg_test_data): Likewise.
6352 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6353 (ccos_test_data): Update call to AUTO_TESTS_c_c.
6354 (ccosh_test_data): Likewise.
6355 (cexp_test_data): Likewise.
6356 (clog_test_data): Likewise.
6357 (clog10_test_data): Likewise.
6358 (cos_test_data): Update call to AUTO_TESTS_f_f.
6359 (cos_test): Use ALL_RM_TEST.
6360 (cos_tonearest_test_data): Remove.
6361 (cos_test_tonearest): Likewise.
6362 (cos_towardzero_test_data): Likewise.
6363 (cos_test_towardzero): Likewise.
6364 (cos_downward_test_data): Likewise.
6365 (cos_test_downward): Likewise.
6366 (cos_upward_test_data): Likewise.
6367 (cos_test_upward): Likewise.
6368 (cosh_test_data): Update call to AUTO_TESTS_f_f.
6369 (cosh_test): Use ALL_RM_TEST.
6370 (cosh_tonearest_test_data): Remove.
6371 (cosh_test_tonearest): Likewise.
6372 (cosh_towardzero_test_data): Likewise.
6373 (cosh_test_towardzero): Likewise.
6374 (cosh_downward_test_data): Likewise.
6375 (cosh_test_downward): Likewise.
6376 (cosh_upward_test_data): Likewise.
6377 (cosh_test_upward): Likewise.
6378 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6379 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6380 (ctan_test_data): Likewise.
6381 (ctan_test): Use ALL_RM_TEST.
6382 (ctan_tonearest_test_data): Remove.
6383 (ctan_test_tonearest): Likewise.
6384 (ctan_towardzero_test_data): Likewise.
6385 (ctan_test_towardzero): Likewise.
6386 (ctan_downward_test_data): Likewise.
6387 (ctan_test_downward): Likewise.
6388 (ctan_upward_test_data): Likewise.
6389 (ctan_test_upward): Likewise.
6390 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6391 (ctanh_test): Use ALL_RM_TEST.
6392 (ctanh_tonearest_test_data): Remove.
6393 (ctanh_test_tonearest): Likewise.
6394 (ctanh_towardzero_test_data): Likewise.
6395 (ctanh_test_towardzero): Likewise.
6396 (ctanh_downward_test_data): Likewise.
6397 (ctanh_test_downward): Likewise.
6398 (ctanh_upward_test_data): Likewise.
6399 (ctanh_test_upward): Likewise.
6400 (erf_test_data): Update call to AUTO_TESTS_f_f.
6401 (erfc_test_data): Likewise.
6402 (exp_test_data): Likewise.
6403 (exp_test): Use ALL_RM_TEST.
6404 (exp_tonearest_test_data): Remove.
6405 (exp_test_tonearest): Likewise.
6406 (exp_towardzero_test_data): Likewise.
6407 (exp_test_towardzero): Likewise.
6408 (exp_downward_test_data): Likewise.
6409 (exp_test_downward): Likewise.
6410 (exp_upward_test_data): Likewise.
6411 (exp_test_upward): Likewise.
6412 (exp10_test_data): Update call to AUTO_TESTS_f_f.
6413 (exp10_test): Use ALL_RM_TEST.
6414 (exp10_tonearest_test_data): Remove.
6415 (exp10_test_tonearest): Likewise.
6416 (exp10_towardzero_test_data): Likewise.
6417 (exp10_test_towardzero): Likewise.
6418 (exp10_downward_test_data): Likewise.
6419 (exp10_test_downward): Likewise.
6420 (exp10_upward_test_data): Likewise.
6421 (exp10_test_upward): Likewise.
6422 (exp2_test_data): Update call to AUTO_TESTS_f_f.
6423 (expm1_test_data): Likewise.
6424 (expm1_test): Use ALL_RM_TEST.
6425 (expm1_tonearest_test_data): Remove.
6426 (expm1_test_tonearest): Likewise.
6427 (expm1_towardzero_test_data): Likewise.
6428 (expm1_test_towardzero): Likewise.
6429 (expm1_downward_test_data): Likewise.
6430 (expm1_test_downward): Likewise.
6431 (expm1_upward_test_data): Likewise.
6432 (expm1_test_upward): Likewise.
6433 (fma_test_data): Update call to AUTO_TESTS_fff_f.
6434 (fma_test): Use ALL_RM_TEST.
6435 (fma_towardzero_test_data): Remove.
6436 (fma_test_towardzero): Likewise.
6437 (fma_downward_test_data): Likewise.
6438 (fma_test_downward): Likewise.
6439 (fma_upward_test_data): Likewise.
6440 (fma_test_upward): Likewise.
6441 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6442 (j0_test_data): Update call to AUTO_TESTS_f_f.
6443 (j1_test_data): Likewise.
6444 (jn_test_data): Update call to AUTO_TESTS_if_f.
6445 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6446 (log_test_data): Update call to AUTO_TESTS_f_f.
6447 (log10_test_data): Likewise.
6448 (log1p_test_data): Likewise.
6449 (log2_test_data): Likewise.
6450 (pow_test_data): Update call to AUTO_TESTS_ff_f.
6451 (pow_tonearest_test_data): Likewise.
6452 (sin_test_data): Update call to AUTO_TESTS_f_f.
6453 (sin_test): Use ALL_RM_TEST.
6454 (sin_tonearest_test_data): Remove.
6455 (sin_test_tonearest): Likewise.
6456 (sin_towardzero_test_data): Likewise.
6457 (sin_test_towardzero): Likewise.
6458 (sin_downward_test_data): Likewise.
6459 (sin_test_downward): Likewise.
6460 (sin_upward_test_data): Likewise.
6461 (sin_test_upward): Likewise.
6462 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6463 (sinh_test_data): Update call to AUTO_TESTS_f_f.
6464 (sinh_test): Use ALL_RM_TEST.
6465 (sinh_tonearest_test_data): Remove.
6466 (sinh_test_tonearest): Likewise.
6467 (sinh_towardzero_test_data): Likewise.
6468 (sinh_test_towardzero): Likewise.
6469 (sinh_downward_test_data): Likewise.
6470 (sinh_test_downward): Likewise.
6471 (sinh_upward_test_data): Likewise.
6472 (sinh_test_upward): Likewise.
6473 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6474 (sqrt_test): Use ALL_RM_TEST.
6475 (sqrt_tonearest_test_data): Remove.
6476 (sqrt_test_tonearest): Likewise.
6477 (sqrt_towardzero_test_data): Likewise.
6478 (sqrt_test_towardzero): Likewise.
6479 (sqrt_downward_test_data): Likewise.
6480 (sqrt_test_downward): Likewise.
6481 (sqrt_upward_test_data): Likewise.
6482 (sqrt_test_upward): Likewise.
6483 (tan_test_data): Update call to AUTO_TESTS_f_f.
6484 (tan_test): Use ALL_RM_TEST.
6485 (tan_tonearest_test_data): Remove.
6486 (tan_test_tonearest): Likewise.
6487 (tan_towardzero_test_data): Likewise.
6488 (tan_test_towardzero): Likewise.
6489 (tan_downward_test_data): Likewise.
6490 (tan_test_downward): Likewise.
6491 (tan_upward_test_data): Likewise.
6492 (tan_test_upward): Likewise.
6493 (tanh_test_data): Update call to AUTO_TESTS_f_f.
6494 (tgamma_test_data): Likewise.
6495 (y0_test_data): Likewise.
6496 (y1_test_data): Likewise.
6497 (yn_test_data): Update call to AUTO_TESTS_if_f.
6498 (main): Do not call removed functions.
6499
d71aeee8
JM
65002014-03-19 Joseph Myers <joseph@codesourcery.com>
6501
6502 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6503 (ldexp_test_data): Remove.
6504 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
6505 scalbn_test_data.
6506 (scalb_test): Use ALL_RM_TEST.
6507
baaf1ded
AS
65082014-03-19 Andreas Schwab <schwab@suse.de>
6509
6510 * nscd/nscd.service: Also invalidate netgroup cache on reload.
6511
b1115e91
JM
65122014-03-19 Joseph Myers <joseph@codesourcery.com>
6513
6514 [BZ #16649]
6515 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6516 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6517 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6518 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6519 (__ASSUME_PREADV): Undefine.
6520 (__ASSUME_PWRITEV): Likewise.
6521
0283ecca
RM
65222014-03-18 Roland McGrath <roland@hack.frob.com>
6523
7d375303
RM
6524 * bits/mman-linux.h: Add comment about non-Linux use.
6525 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6526 bits/mman-linux.h resting place.
6527
0283ecca
RM
6528 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6529 * bits/mman-linux.h: ... here.
6530
aebe1003
AZ
65312014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6532
6533 * conform/conformtest.pl: Add standard definition when calling C
6534 preprocessor on data files.
6535 (checknamespace): Remove unused variable.
6536
b29b6bb8
JM
65372014-03-18 Joseph Myers <joseph@codesourcery.com>
6538
6539 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6540 minus_oflow, plus_uflow and minus_uflow in expected results.
6541 * math/libm-test.inc (scalbn_test_data): Add more tests of
6542 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
6543 minus_uflow.
6544 (scalbn_test): Use ALL_RM_TEST.
6545 (scalbln_test_data): Add more tests of negative arguments. Use
6546 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6547 (scalbln_test): Use ALL_RM_TEST.
6548
c8f8fa15
RM
65492014-03-18 Roland McGrath <roland@hack.frob.com>
6550
6551 * scripts/abilist.awk: Ignore symbols marked with .hidden.
6552
fede7a5f
WN
65532014-03-18 Will Newton <will.newton@linaro.org>
6554
6555 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6556 inaccurate comment.
6557
80cf0a58
JM
65582014-03-18 Joseph Myers <joseph@codesourcery.com>
6559
6560 * Makerules [!subdir] (check-abi): Exit with error status if a
6561 test failed.
6562
b3620862
JM
65632014-03-17 Joseph Myers <joseph@codesourcery.com>
6564
6565 * math/libm-test.inc (nearbyint_test_data): Include all tests used
6566 for rint. Include results for all rounding modes.
6567 (nearbyint_test): Use ALL_RM_TEST.
6568 (rint_test_data): Include all tests used for nearbyint.
6569
788bba36
WN
65702014-03-17 Will Newton <will.newton@linaro.org>
6571
04ec140a
WN
6572 * nptl/sysdeps/pthread/pthread.h: Revert previous
6573 change.
6574
7579d8d5
WN
6575 * sysdeps/generic/ldsodefs.h: Revert previous
6576 change.
6577
c15cf13a
WN
6578 * libio/genops.c: Revert previous change.
6579 * libio/libioP.h: Likewise.
6580 * stdio-common/vfprintf.c: Likewise.
6581
d0ac1324
WN
6582 * sysdeps/generic/math_private.h: Revert previous
6583 change.
6584
9290130a
WN
6585 * sysdeps/generic/math_private.h: Check whether
6586 HAVE_RM_CTX is defined with #ifdef rather
6587 than #if.
6588
afb466fc
WN
6589 * argp/argp-fmtstream.h: Check whether
6590 __STRICT_ANSI__ is defined with #ifdef rather
6591 than #if.
6592 * argp/argp.h: Likewise.
6593
f7efd7c3
WN
6594 * libio/genops.c: Check whether
6595 _IO_JUMPS_OFFSET is defined with #ifdef rather
6596 than #if.
6597 * libio/libioP.h: Likewise.
6598 * stdio-common/vfprintf.c: Likewise.
6599
53f1bed3
WN
6600 * sysdeps/generic/ldsodefs.h: Check whether
6601 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6602 than #if.
6603
788bba36
WN
6604 * nptl/sysdeps/pthread/pthread.h: Check
6605 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6606 its value.
6607
fcd89ebe
SP
66082014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6609
ae42bbc5
SP
6610 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6611 setting O_APPEND.
6612 * libio/tst-ftell-active-handler.c (do_append_test): Add a
6613 test case.
6614
ea33158c
SP
6615 [BZ #16680]
6616 * libio/fileops.c (_IO_file_open): Seek to end of file but
6617 don't cache the offset.
6618 (get_file_offset): Remove function.
6619 (do_ftell): Use cached offset when available.
6620 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6621 don't cache the offset.
6622 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6623 case.
6624 (do_one_test): Call it.
6625 (do_ftell_test): Fix up expected old offset for a+ mode.
6626 * libio/wfileops.c (do_ftell_wide): Used cached offset when
6627 available.
6628
b1dbb426
SP
6629 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6630 up test status with function return status.
6631 (do_write_test): Likewise.
6632 (do_append_test): Likewise.
6633
fcd89ebe
SP
6634 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6635 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6636 Remove.
6637
9962a2d3
JM
66382014-03-17 Joseph Myers <joseph@codesourcery.com>
6639
6640 * math/gen-libm-test.pl (parse_args): Handle results specified for
6641 each rounding mode separately.
6642 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6643 tests and results from lrint_tonearest_test_data,
6644 lrint_towardzero_test_data, lrint_downward_test_data and
6645 lrint_upward_test_data.
6646 (lrint_test): Use ALL_RM_TEST.
6647 (lrint_tonearest_test_data): Remove.
6648 (lrint_test_tonearest): Likewise.
6649 (lrint_towardzero_test_data): Likewise.
6650 (lrint_test_towardzero): Likewise.
6651 (lrint_downward_test_data): Likewise.
6652 (lrint_test_downward): Likewise.
6653 (lrint_upward_test_data): Likewise.
6654 (lrint_test_upward): Likewise.
6655 (llrint_test_data): Merge in per-rounding-mode tests and results
6656 from llrint_tonearest_test_data, llrint_towardzero_test_data,
6657 llrint_downward_test_data and llrint_upward_test_data.
6658 (llrint_test): Use ALL_RM_TEST.
6659 (llrint_tonearest_test_data): Remove.
6660 (llrint_test_tonearest): Likewise.
6661 (llrint_towardzero_test_data): Likewise.
6662 (llrint_test_towardzero): Likewise.
6663 (llrint_downward_test_data): Likewise.
6664 (llrint_test_downward): Likewise.
6665 (llrint_upward_test_data): Likewise.
6666 (llrint_test_upward): Likewise.
6667 (rint_test_data): Merge in per-rounding-mode tests and results
6668 from rint_tonearest_test_data, rint_towardzero_test_data,
6669 rint_downward_test_data and rint_upward_test_data. Add
6670 per-rounding-mode results for tests not in those arrays.
6671 (rint_test): Use ALL_RM_TEST.
6672 (rint_tonearest_test_data): Remove.
6673 (rint_test_tonearest): Likewise.
6674 (rint_towardzero_test_data): Likewise.
6675 (rint_test_towardzero): Likewise.
6676 (rint_downward_test_data): Likewise.
6677 (rint_test_downward): Likewise.
6678 (rint_upward_test_data): Likewise.
6679 (rint_test_upward): Likewise.
6680 (main): Don't call removed functions.
6681
5006148e
RM
66822014-03-14 Roland McGrath <roland@hack.frob.com>
6683
6684 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6685 "Compiled on ..." crapola. It is anti-useful.
6686
d6fe5e58
JM
66872014-03-14 Joseph Myers <joseph@codesourcery.com>
6688
6689 * scripts/evaluate-test.sh: Handle fourth argument to determine
6690 whether test run should stop on failure.
6691 * Makeconfig (stop-on-test-failure): New variable.
6692 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6693 $(stop-on-test-failure).
6694 * Makefile (tests): Give a summary of results from testing and
6695 exit with failure status if they include an ERROR or FAIL.
6696 (xtests): Likewise.
6697 * manual/install.texi (Configuring and compiling): Mention
6698 stop-on-test-failure=y.
6699 * INSTALL: Regenerated.
6700
498a2233
RM
67012014-03-14 Roland McGrath <roland@hack.frob.com>
6702
22dbc19d
RM
6703 * scripts/versionlist.awk: New file.
6704 * Makerules [$(build-shared) = yes]
6705 (postclean-generated): Add Versions.def, not Versions.def.v and
6706 Versions.def.v.i.
6707 ($(common-objpfx)Versions.def.v.i): Target removed.
6708 ($(common-objpfx)Versions.def): New target.
6709 ($(common-objpfx)Versions.all): Depend on that rather that
6710 $(common-objpfx)Versions.def.v.
6711 * Versions.def: File removed.
6712
498a2233
RM
6713 * Makeconfig (+gccwarn): Add -Wundef.
6714 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6715 a dl-sysdep.h breaking its contract.
6716 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6717 * include/stackinfo.h: New file.
6718 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6719 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6720 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6721 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6722 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6723 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6724 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6725 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6726 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6727 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6728 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6729 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6730 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6731 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6732 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6733
c7de5025
AZ
67342014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6735
6736 [BZ #16707]
6737 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6738 implementation.
6739 * math/libm-test.inc (round_test_data): Add more tests.
6740
98fb27a3
AZ
6741 [BZ #16706]
6742 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6743 implementation.
6744 * math/libm-test.inc (nearbyint_test_data): Add more tests.
6745
374f7f61
AZ
6746 [BZ #16701]
6747 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6748 implementation.
6749 * math/libm-test.inc (ceil_test_data): Add more tests.
6750
4655c291
AZ
6751 * math/libm-test.inc (trunc_test_data): Add more tests related to
6752 BZ#16414.
6753
d7329d4b
RM
67542014-03-14 Roland McGrath <roland@hack.frob.com>
6755
6756 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6757 with #if rather than #ifdef.
6758 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6759
aa4de9ce
L
67602014-03-14 H.J. Lu <hongjiu.lu@intel.com>
6761
6762 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6763 first. Disable AVX-512 GCC support if assembler doesn't support
6764 it.
6765 * sysdeps/x86_64/configure: Regenerated.
6766
2e03fae7
CD
67672014-03-13 Carlos O'Donell <carlos@redhat.com>
6768
6769 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6770 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6771 (__old_pthread_attr_setstack): Likewise.
6772 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6773 [!_STACK_GROWS_DOWN]: Likewise.
6774
43ca83ec
MF
67752014-03-13 Mike Frysinger <vapier@gentoo.org>
6776
6777 * config.make.in (have-bash2): Delete.
6778 * configure.ac (libc_cv_have_bash2): Delete.
6779 * configure: Regenerate.
6780 * elf/Makefile (common-ldd-rewrite): Rename to ...
6781 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
6782 (sh-ldd-rewrite): Delete.
6783 (bash-ldd-rewrite): Delete.
6784 (have-bash2): Delete checks.
57f41c40
AS
6785 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6786 ldd-rewrite.
c66e48b4
MF
6787
6788 * config.make.in (have-ksh): Delete.
6789 (KSH): Delete.
6790 * configure.ac (libc_cv_have_ksh): Delete.
6791 * configure: Regenerate.
6792
b93834ef
MF
6793 * elf/Makefile: Delete $(have-ksh) check.
6794 ($(objpfx)sotruss): Change KSH to BASH.
6795 * elf/sotruss.ksh: Rename to ...
6796 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
6797 function style to match POSIX. Drop ksh vim mode setting.
6798
f3a4632a
MF
6799 * manual/time.texi (Specifying the Time Zone with TZ): Change
6800 Tuesday to Thursday.
6801
5896c8bd
MF
6802 * debug/tst-longjmp_chk2.c: Update header comment.
6803 (stackoverflow_handler): Add comment. Call assert on pass value.
6804
2d63a517
IZ
68052014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
6806
6807 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6808 (HAVE_AVX512_ASM_SUPPORT): Likewise.
6809 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6810 (La_x86_64_vector): Add zmm.
6811 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6812 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6813 ($(objpfx)tst-audit10): New target.
6814 ($(objpfx)tst-audit10.out): Likewise.
6815 (tst-audit10-ENV): New.
6816 (AVX512-CFLAGS): Likewise.
6817 (CFLAGS-tst-audit10.c): Likewise.
6818 (CFLAGS-tst-auditmod10a.c): Likewise.
6819 (CFLAGS-tst-auditmod10b.c): Likewise.
6820 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6821 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6822 * sysdeps/x86_64/configure: Regenerated.
6823 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6824 AVX-512 zmm register support.
6825 (_dl_x86_64_save_sse): Likewise.
6826 (_dl_x86_64_restore_sse): Likewise.
6827 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6828 size vector registers.
6829 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6830 (ZMM_SIZE): Likewise.
6831 * sysdeps/x86_64/tst-audit10.c: New file.
6832 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6833 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6834
44c4e5d5
RM
68352014-03-13 Roland McGrath <roland@hack.frob.com>
6836
6837 * configure.ac (HAVE_EHDR_START): New check.
6838 * configure: Regenerated.
6839 * config.h.in (HAVE_EHDR_START): New #undef.
6840 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6841 assuming the lowest-addressed segment maps the start of the file.
6842
acd6e389
JM
68432014-03-13 Joseph Myers <joseph@codesourcery.com>
6844
6845 * INSTALL: Regenerated.
6846
6f918f36
WN
68472014-03-13 Will Newton <will.newton@linaro.org>
6848
6849 * manual/setjmp.texi (System V contexts): Improve
6850 clarity and grammar of documentation.
6851
798212a0
PP
68522014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
6853
6854 [BZ #16381]
798212a0 6855 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 6856 (tests-pie): Add tst-pie2.
798212a0
PP
6857 * elf/tst-pie2.c: New file.
6858 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6859 for ET_EXEC.
6860 * elf/rtld.c (map_doit): Load executable as lt_executable.
6861 (dl_main): Likewise.
6862
abe6d90c
JM
68632014-03-12 Joseph Myers <joseph@codesourcery.com>
6864
6865 [BZ #16642]
6866 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6867 (__ASSUME_PSELECT): Undefine.
6868
dd3946c6
AZ
68692014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6870
6871 [BZ #16689]
6872 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6873 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6874 static build.
6875 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6876 selector for static builds.
6877
c44496df
SP
68782014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6879
6880 [BZ #16695]
6881 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6882 key in the buffer.
6883
27c7220a
AZ
68842014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6885
57f41c40
AS
6886 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6887 IFUNC selector for static builds.
27c7220a 6888
600fa361
JM
68892014-03-11 Joseph Myers <joseph@codesourcery.com>
6890
76c96cf7
JM
6891 * sysdeps/mips/math_private.h [__mips_hard_float]
6892 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6893 libc_feresetround_mips_ctx.
6894 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6895 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6896 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6897
600fa361
JM
6898 [BZ #16677]
6899 * math/s_nextafter.c (__nextafter): Do not return value from
6900 overflowing computation.
6901 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6902 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6903 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6904 Likewise.
6905 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6906 Likewise.
6907 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6908 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6909
d7706c32
RM
69102014-03-11 Roland McGrath <roland@hack.frob.com>
6911
6912 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6913 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6914 Move sfi_sp use from the load-multiple (that no longer sets sp) to
6915 the new mov targetting sp.
6916
4facea47
AZ
69172014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6918
6919 [BZ #16683]
6920 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6921 Define it for static builds as well.
6922 (NO_BZERO_IMPL): Likewise.
6923
e65caf1f
VR
69242014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6925
6926 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6927 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6928 multiarch strspn for PPC64.
6929 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6930 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6931 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6932 (__libc_ifunc_impl_list): Likewise.
6933 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6934 multiarch optimizations
6935 * string/strspn.c (strspn): Using macro to redefine symbol name.
6936
ba9cc071
AZ
69372014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6938 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6939
6940 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6941 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6942 multiarch strncat for PPC64.
6943 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6944 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6945 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6946 (__libc_ifunc_impl_list): Likewise.
6947 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6948 multiarch optimizations
6949
8b4ff974
SP
69502014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6951
6952 [BZ #16639]
6953 * nscd/nscd.service: Make service type forking.
6954
54b46a4b
AZ
69552014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6956
6957 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6958 sign in non default rounding modes.
6959 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6960
e9996ef7
JM
69612014-03-08 Joseph Myers <joseph@codesourcery.com>
6962
6963 * math/libm-test.inc (ALL_RM_TEST): New macro.
6964 (ceil_test): Use ALL_RM_TEST.
6965 (cimag_test): Likewise.
6966 (conj_test): Likewise.
6967 (copysign_test): Likewise.
6968 (cproj_test): Likewise.
6969 (creal_test): Likewise.
6970 (fabs_test): Likewise.
6971 (floor_test): Likewise.
6972 (fmax_test): Likewise.
6973 (fmin_test): Likewise.
6974 (fmod_test): Likewise.
6975 (fpclassify_test): Likewise.
6976 (frexp_test): Likewise.
6977 (ilogb_test): Likewise.
6978 (isfinite_test): Likewise.
6979 (finite_test): Likewise.
6980 (isgreater_test): Likewise.
6981 (isgreaterequal_test): Likewise.
6982 (isinf_test): Likewise.
6983 (isless_test): Likewise.
6984 (islessequal_test): Likewise.
6985 (islessgreater_test): Likewise.
6986 (isnan_test): Likewise.
6987 (isnormal_test): Likewise.
6988 (issignaling_test): Likewise.
6989 (isunordered_test): Likewise.
6990 (logb_test): Likewise.
6991 (logb_downward_test_data): Remove.
6992 (logb_test_downward): Likewise.
6993 (lround_test): Use ALL_RM_TEST.
6994 (llround_test): Likewise.
6995 (modf_test): Likewise.
6996 (nexttoward_test): Likewise.
6997 (remainder_test): Likewise.
6998 (drem_test): Likewise.
6999 (remainder_tonearest_test_data): Likewise.
7000 (remainder_test_tonearest): Likewise.
7001 (drem_test_tonearest): Likewise.
7002 (remainder_towardzero_test_data): Likewise.
7003 (remainder_test_towardzero): Likewise.
7004 (drem_test_towardzero): Likewise.
7005 (remainder_downward_test_data): Likewise.
7006 (remainder_test_downward): Likewise.
7007 (drem_test_downward): Likewise.
7008 (remainder_upward_test_data): Likewise.
7009 (remainder_test_upward): Likewise.
7010 (drem_test_upward): Likewise.
7011 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
7012 (round_test): Use ALL_RM_TEST.
7013 (signbit_test): Likewise.
7014 (trunc_test): Likewise.
7015 (significand_test): Likewise.
7016 (main): Don't call removed functions.
7017
bc61d27c
JM
70182014-03-07 Joseph Myers <joseph@codesourcery.com>
7019
5c780849
JM
7020 [BZ #16674]
7021 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7022 || __USE_XOPEN2K8].
7023 (ILL_ILLOPN): Likewise.
7024 (ILL_ILLADR): Likewise.
7025 (ILL_ILLTRP): Likewise.
7026 (ILL_PRVOPC): Likewise.
7027 (ILL_PRVREG): Likewise.
7028 (ILL_COPROC): Likewise.
7029 (ILL_BADSTK): Likewise.
7030 (FPE_INTDIV): Likewise.
7031 (FPE_INTOVF): Likewise.
7032 (FPE_FLTDIV): Likewise.
7033 (FPE_FLTOVF): Likewise.
7034 (FPE_FLTUND): Likewise.
7035 (FPE_FLTRES): Likewise.
7036 (FPE_FLTINV): Likewise.
7037 (FPE_FLTSUB): Likewise.
7038 (SEGV_MAPERR): Likewise.
7039 (SEGV_ACCERR): Likewise.
7040 (BUS_ADRALN): Likewise.
7041 (BUS_ADRERR): Likewise.
7042 (BUS_OBJERR): Likewise.
7043 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7044 (TRAP_TRACE): Likewise.
7045 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7046 __USE_XOPEN2K8].
7047 (CLD_KILLED): Likewise.
7048 (CLD_DUMPED): Likewise.
7049 (CLD_TRAPPED): Likewise.
7050 (CLD_STOPPED): Likewise.
7051 (CLD_CONTINUED): Likewise.
7052 (POLL_IN): Likewise.
7053 (POLL_OUT): Likewise.
7054 (POLL_MSG): Likewise.
7055 (POLL_ERR): Likewise.
7056 (POLL_PRI): Likewise.
7057 (POLL_HUP): Likewise.
7058 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7059 Likewise.
7060 (ILL_ILLOPN): Likewise.
7061 (ILL_ILLADR): Likewise.
7062 (ILL_ILLTRP): Likewise.
7063 (ILL_PRVOPC): Likewise.
7064 (ILL_PRVREG): Likewise.
7065 (ILL_COPROC): Likewise.
7066 (ILL_BADSTK): Likewise.
7067 (FPE_INTDIV): Likewise.
7068 (FPE_INTOVF): Likewise.
7069 (FPE_FLTDIV): Likewise.
7070 (FPE_FLTOVF): Likewise.
7071 (FPE_FLTUND): Likewise.
7072 (FPE_FLTRES): Likewise.
7073 (FPE_FLTINV): Likewise.
7074 (FPE_FLTSUB): Likewise.
7075 (SEGV_MAPERR): Likewise.
7076 (SEGV_ACCERR): Likewise.
7077 (BUS_ADRALN): Likewise.
7078 (BUS_ADRERR): Likewise.
7079 (BUS_OBJERR): Likewise.
7080 (BUS_MCEERR_AR): Likewise.
7081 (BUS_MCEERR_AO): Likewise.
7082 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7083 (TRAP_TRACE): Likewise.
7084 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7085 __USE_XOPEN2K8].
7086 (CLD_KILLED): Likewise.
7087 (CLD_DUMPED): Likewise.
7088 (CLD_TRAPPED): Likewise.
7089 (CLD_STOPPED): Likewise.
7090 (CLD_CONTINUED): Likewise.
7091 (POLL_IN): Likewise.
7092 (POLL_OUT): Likewise.
7093 (POLL_MSG): Likewise.
7094 (POLL_ERR): Likewise.
7095 (POLL_PRI): Likewise.
7096 (POLL_HUP): Likewise.
7097 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7098 (ILL_ILLOPN): Likewise.
7099 (ILL_ILLADR): Likewise.
7100 (ILL_ILLTRP): Likewise.
7101 (ILL_PRVOPC): Likewise.
7102 (ILL_PRVREG): Likewise.
7103 (ILL_COPROC): Likewise.
7104 (ILL_BADSTK): Likewise.
7105 (FPE_INTDIV): Likewise.
7106 (FPE_INTOVF): Likewise.
7107 (FPE_FLTDIV): Likewise.
7108 (FPE_FLTOVF): Likewise.
7109 (FPE_FLTUND): Likewise.
7110 (FPE_FLTRES): Likewise.
7111 (FPE_FLTINV): Likewise.
7112 (FPE_FLTSUB): Likewise.
7113 (SEGV_MAPERR): Likewise.
7114 (SEGV_ACCERR): Likewise.
7115 (BUS_ADRALN): Likewise.
7116 (BUS_ADRERR): Likewise.
7117 (BUS_OBJERR): Likewise.
7118 (BUS_MCEERR_AR): Likewise.
7119 (BUS_MCEERR_AO): Likewise.
7120 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7121 (TRAP_TRACE): Likewise.
7122 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7123 __USE_XOPEN2K8].
7124 (CLD_KILLED): Likewise.
7125 (CLD_DUMPED): Likewise.
7126 (CLD_TRAPPED): Likewise.
7127 (CLD_STOPPED): Likewise.
7128 (CLD_CONTINUED): Likewise.
7129 (POLL_IN): Likewise.
7130 (POLL_OUT): Likewise.
7131 (POLL_MSG): Likewise.
7132 (POLL_ERR): Likewise.
7133 (POLL_PRI): Likewise.
7134 (POLL_HUP): Likewise.
7135 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7136 Likewise.
7137 (ILL_ILLOPN): Likewise.
7138 (ILL_ILLADR): Likewise.
7139 (ILL_ILLTRP): Likewise.
7140 (ILL_PRVOPC): Likewise.
7141 (ILL_PRVREG): Likewise.
7142 (ILL_COPROC): Likewise.
7143 (ILL_BADSTK): Likewise.
7144 (ILL_BADIADDR): Likewise.
7145 (ILL_BREAK): Likewise.
7146 (FPE_INTDIV): Likewise.
7147 (FPE_INTOVF): Likewise.
7148 (FPE_FLTDIV): Likewise.
7149 (FPE_FLTOVF): Likewise.
7150 (FPE_FLTUND): Likewise.
7151 (FPE_FLTRES): Likewise.
7152 (FPE_FLTINV): Likewise.
7153 (FPE_FLTSUB): Likewise.
7154 (FPE_DECOVF): Likewise.
7155 (FPE_DECDIV): Likewise.
7156 (FPE_DECERR): Likewise.
7157 (FPE_INVASC): Likewise.
7158 (FPE_INVDEC): Likewise.
7159 (SEGV_MAPERR): Likewise.
7160 (SEGV_ACCERR): Likewise.
7161 (SEGV_PSTKOVF): Likewise.
7162 (BUS_ADRALN): Likewise.
7163 (BUS_ADRERR): Likewise.
7164 (BUS_OBJERR): Likewise.
7165 (BUS_MCEERR_AR): Likewise.
7166 (BUS_MCEERR_AO): Likewise.
7167 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7168 (TRAP_TRACE): Likewise.
7169 (TRAP_BRANCH): Likewise.
7170 (TRAP_HWBKPT): Likewise.
7171 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7172 __USE_XOPEN2K8].
7173 (CLD_KILLED): Likewise.
7174 (CLD_DUMPED): Likewise.
7175 (CLD_TRAPPED): Likewise.
7176 (CLD_STOPPED): Likewise.
7177 (CLD_CONTINUED): Likewise.
7178 (POLL_IN): Likewise.
7179 (POLL_OUT): Likewise.
7180 (POLL_MSG): Likewise.
7181 (POLL_ERR): Likewise.
7182 (POLL_PRI): Likewise.
7183 (POLL_HUP): Likewise.
7184 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7185 (ILL_ILLOPN): Likewise.
7186 (ILL_ILLADR): Likewise.
7187 (ILL_ILLTRP): Likewise.
7188 (ILL_PRVOPC): Likewise.
7189 (ILL_PRVREG): Likewise.
7190 (ILL_COPROC): Likewise.
7191 (ILL_BADSTK): Likewise.
7192 (FPE_INTDIV): Likewise.
7193 (FPE_INTOVF): Likewise.
7194 (FPE_FLTDIV): Likewise.
7195 (FPE_FLTOVF): Likewise.
7196 (FPE_FLTUND): Likewise.
7197 (FPE_FLTRES): Likewise.
7198 (FPE_FLTINV): Likewise.
7199 (FPE_FLTSUB): Likewise.
7200 (SEGV_MAPERR): Likewise.
7201 (SEGV_ACCERR): Likewise.
7202 (BUS_ADRALN): Likewise.
7203 (BUS_ADRERR): Likewise.
7204 (BUS_OBJERR): Likewise.
7205 (BUS_MCEERR_AR): Likewise.
7206 (BUS_MCEERR_AO): Likewise.
7207 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7208 (TRAP_TRACE): Likewise.
7209 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7210 __USE_XOPEN2K8].
7211 (CLD_KILLED): Likewise.
7212 (CLD_DUMPED): Likewise.
7213 (CLD_TRAPPED): Likewise.
7214 (CLD_STOPPED): Likewise.
7215 (CLD_CONTINUED): Likewise.
7216 (POLL_IN): Likewise.
7217 (POLL_OUT): Likewise.
7218 (POLL_MSG): Likewise.
7219 (POLL_ERR): Likewise.
7220 (POLL_PRI): Likewise.
7221 (POLL_HUP): Likewise.
7222 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7223 (ILL_ILLOPN): Likewise.
7224 (ILL_ILLADR): Likewise.
7225 (ILL_ILLTRP): Likewise.
7226 (ILL_PRVOPC): Likewise.
7227 (ILL_PRVREG): Likewise.
7228 (ILL_COPROC): Likewise.
7229 (ILL_BADSTK): Likewise.
7230 (FPE_INTDIV): Likewise.
7231 (FPE_INTOVF): Likewise.
7232 (FPE_FLTDIV): Likewise.
7233 (FPE_FLTOVF): Likewise.
7234 (FPE_FLTUND): Likewise.
7235 (FPE_FLTRES): Likewise.
7236 (FPE_FLTINV): Likewise.
7237 (FPE_FLTSUB): Likewise.
7238 (SEGV_MAPERR): Likewise.
7239 (SEGV_ACCERR): Likewise.
7240 (BUS_ADRALN): Likewise.
7241 (BUS_ADRERR): Likewise.
7242 (BUS_OBJERR): Likewise.
7243 (BUS_MCEERR_AR): Likewise.
7244 (BUS_MCEERR_AO): Likewise.
7245 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7246 (TRAP_TRACE): Likewise.
7247 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7248 __USE_XOPEN2K8].
7249 (CLD_KILLED): Likewise.
7250 (CLD_DUMPED): Likewise.
7251 (CLD_TRAPPED): Likewise.
7252 (CLD_STOPPED): Likewise.
7253 (CLD_CONTINUED): Likewise.
7254 (POLL_IN): Likewise.
7255 (POLL_OUT): Likewise.
7256 (POLL_MSG): Likewise.
7257 (POLL_ERR): Likewise.
7258 (POLL_PRI): Likewise.
7259 (POLL_HUP): Likewise.
7260 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7261 (ILL_ILLOPN): Likewise.
7262 (ILL_ILLADR): Likewise.
7263 (ILL_ILLTRP): Likewise.
7264 (ILL_PRVOPC): Likewise.
7265 (ILL_PRVREG): Likewise.
7266 (ILL_COPROC): Likewise.
7267 (ILL_BADSTK): Likewise.
7268 (FPE_INTDIV): Likewise.
7269 (FPE_INTOVF): Likewise.
7270 (FPE_FLTDIV): Likewise.
7271 (FPE_FLTOVF): Likewise.
7272 (FPE_FLTUND): Likewise.
7273 (FPE_FLTRES): Likewise.
7274 (FPE_FLTINV): Likewise.
7275 (FPE_FLTSUB): Likewise.
7276 (SEGV_MAPERR): Likewise.
7277 (SEGV_ACCERR): Likewise.
7278 (BUS_ADRALN): Likewise.
7279 (BUS_ADRERR): Likewise.
7280 (BUS_OBJERR): Likewise.
7281 (BUS_MCEERR_AR): Likewise.
7282 (BUS_MCEERR_AO): Likewise.
7283 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7284 (TRAP_TRACE): Likewise.
7285 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7286 __USE_XOPEN2K8].
7287 (CLD_KILLED): Likewise.
7288 (CLD_DUMPED): Likewise.
7289 (CLD_TRAPPED): Likewise.
7290 (CLD_STOPPED): Likewise.
7291 (CLD_CONTINUED): Likewise.
7292 (POLL_IN): Likewise.
7293 (POLL_OUT): Likewise.
7294 (POLL_MSG): Likewise.
7295 (POLL_ERR): Likewise.
7296 (POLL_PRI): Likewise.
7297 (POLL_HUP): Likewise.
7298 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7299 (ILL_ILLOPN): Likewise.
7300 (ILL_ILLADR): Likewise.
7301 (ILL_ILLTRP): Likewise.
7302 (ILL_PRVOPC): Likewise.
7303 (ILL_PRVREG): Likewise.
7304 (ILL_COPROC): Likewise.
7305 (ILL_BADSTK): Likewise.
7306 (ILL_DBLFLT): Likewise.
7307 (ILL_HARDWALL): Likewise.
7308 (FPE_INTDIV): Likewise.
7309 (FPE_INTOVF): Likewise.
7310 (FPE_FLTDIV): Likewise.
7311 (FPE_FLTOVF): Likewise.
7312 (FPE_FLTUND): Likewise.
7313 (FPE_FLTRES): Likewise.
7314 (FPE_FLTINV): Likewise.
7315 (FPE_FLTSUB): Likewise.
7316 (SEGV_MAPERR): Likewise.
7317 (SEGV_ACCERR): Likewise.
7318 (BUS_ADRALN): Likewise.
7319 (BUS_ADRERR): Likewise.
7320 (BUS_OBJERR): Likewise.
7321 (BUS_MCEERR_AR): Likewise.
7322 (BUS_MCEERR_AO): Likewise.
7323 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7324 (TRAP_TRACE): Likewise.
7325 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7326 __USE_XOPEN2K8].
7327 (CLD_KILLED): Likewise.
7328 (CLD_DUMPED): Likewise.
7329 (CLD_TRAPPED): Likewise.
7330 (CLD_STOPPED): Likewise.
7331 (CLD_CONTINUED): Likewise.
7332 (POLL_IN): Likewise.
7333 (POLL_OUT): Likewise.
7334 (POLL_MSG): Likewise.
7335 (POLL_ERR): Likewise.
7336 (POLL_PRI): Likewise.
7337 (POLL_HUP): Likewise.
7338 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7339 (ILL_ILLOPN): Likewise.
7340 (ILL_ILLADR): Likewise.
7341 (ILL_ILLTRP): Likewise.
7342 (ILL_PRVOPC): Likewise.
7343 (ILL_PRVREG): Likewise.
7344 (ILL_COPROC): Likewise.
7345 (ILL_BADSTK): Likewise.
7346 (FPE_INTDIV): Likewise.
7347 (FPE_INTOVF): Likewise.
7348 (FPE_FLTDIV): Likewise.
7349 (FPE_FLTOVF): Likewise.
7350 (FPE_FLTUND): Likewise.
7351 (FPE_FLTRES): Likewise.
7352 (FPE_FLTINV): Likewise.
7353 (FPE_FLTSUB): Likewise.
7354 (SEGV_MAPERR): Likewise.
7355 (SEGV_ACCERR): Likewise.
7356 (BUS_ADRALN): Likewise.
7357 (BUS_ADRERR): Likewise.
7358 (BUS_OBJERR): Likewise.
7359 (BUS_MCEERR_AR): Likewise.
7360 (BUS_MCEERR_AO): Likewise.
7361 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7362 (TRAP_TRACE): Likewise.
7363 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7364 __USE_XOPEN2K8].
7365 (CLD_KILLED): Likewise.
7366 (CLD_DUMPED): Likewise.
7367 (CLD_TRAPPED): Likewise.
7368 (CLD_STOPPED): Likewise.
7369 (CLD_CONTINUED): Likewise.
7370 (POLL_IN): Likewise.
7371 (POLL_OUT): Likewise.
7372 (POLL_MSG): Likewise.
7373 (POLL_ERR): Likewise.
7374 (POLL_PRI): Likewise.
7375 (POLL_HUP): Likewise.
7376 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7377 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7378
bc61d27c
JM
7379 [BZ #16670]
7380 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7381 before #include of <time.h>.
7382 [!__USE_XOPEN2K] (__need_timespec): Likewise.
7383 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7384 (test-xfail-UNIX98/sched.h/conform): Likewise.
7385
302949e2
MS
73862014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
7387
7388 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7389 error absence of trapping exception support.
7390 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7391
a00f522a
JM
73922014-03-07 Joseph Myers <joseph@codesourcery.com>
7393
6f99f280
JM
7394 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7395 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7396 * timezone/Makefile (testdata): Move definition above include of
7397 Rules.
7398 (test-zones): New variable.
7399 (tests-special): Add zone files.
7400 (build-testdata): Use $(evaluate-test).
7401
0b20a9e8
JM
7402 * elf/Makefile (tests-special): Rename tests to end with .out.
7403 ($(objpfx)noload-mem): Likewise.
7404 ($(objpfx)tst-leaks1-mem): Likewise.
7405 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7406 * iconv/Makefile (xtests-special): Change test-iconvconfig to
7407 $(objpfx)test-iconvconfig.out.
7408 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
7409 set -e inside subshell and redirect output to file.
7410 * iconvdata/Makefile (generated): Rename tests to end with .out.
7411 Correct type.
7412 (tests-special): Rename tests to end with .out.
7413 ($(objpfx)mtrace-tst-loading): Likewise.
7414 * intl/Makefile (generated): Likewise.
7415 (tests-special): Likewise.
7416 ($(objpfx)mtrace-tst-gettext): Likewise.
7417 * misc/Makefile (generated): Likewise.
7418 (tests-special): Likewise.
7419 ($(objpfx)tst-error1-mem): Likewise.
7420 * nptl/Makefile (tests-special): Likewise.
7421 ($(objpfx)tst-stack3-mem): Likewise.
7422 (generated): Likewise.
7423 * posix/Makefile (generated): Likewise.
7424 (tests-special): Likewise.
7425 (xtests-special): Likewise.
7426 ($(objpfx)tst-fnmatch-mem): Likewise.
7427 ($(objpfx)bug-regex2-mem): Likewise.
7428 ($(objpfx)bug-regex14-mem): Likewise.
7429 ($(objpfx)bug-regex21-mem): Likewise.
7430 ($(objpfx)bug-regex31-mem): Likewise.
7431 ($(objpfx)tst-vfork3-mem): Likewise.
7432 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7433 ($(objpfx)tst-pcre-mem): Likewise.
7434 ($(objpfx)tst-boost-mem): Likewise.
7435 ($(objpfx)bug-ga2-mem): Likewise.
7436 ($(objpfx)bug-glob2-mem): Likewise.
7437 * resolv/Makefile (generate): Likewise.
7438 (tests-special): Likewise.
7439 (xtests-special): Likewise.
7440 (generated): Likewise.
7441 ($(objpfx)mtrace-tst-leaks): Likewise.
7442 ($(objpfx)mtrace-tst-leaks2): Likewise.
7443
265d52ab
JM
7444 * scripts/merge-test-results.sh: New file.
7445 * Makefile (tests-special-notdir): New variable.
7446 (tests): Run merge-test-results.sh.
7447 (xtests): Likewise.
7448 * Rules (tests-special-notdir): New variable.
7449 (xtests-special-notdir): Likewise.
7450 (tests): Run merge-test-results.sh
7451 (xtests): Likewise.
7452
54ee292d
JM
7453 * Makeconfig (test-xfail-name): New variable.
7454 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7455 compute variable name for expected failures.
7456 * conform/Makefile (conformtest-headers-data): New variable.
7457 (conformtest-standards): Likewise.
7458 (conformtest-headers-ISO): Likewise.
7459 (conformtest-headers-ISO99): Likewise.
7460 (conformtest-headers-ISO11): Likewise.
7461 (conformtest-headers-POSIX): Likewise.
7462 (conformtest-headers-XPG3): Likewise.
7463 (conformtest-headers-XPG4): Likewise.
7464 (conformtest-headers-UNIX98): Likewise.
7465 (conformtest-headers-XOPEN2K): Likewise.
7466 (conformtest-headers-POSIX2008): Likewise.
7467 (conformtest-headers-XOPEN2K8): Likewise.
7468 (conformtest-header-list-base): Likewise.
7469 (conformtest-header-list-tests): Likewise.
7470 (conformtest-header-base): Likewise.
7471 (conformtest-header-tests): Likewise.
7472 (tests-special): Add $(conformtest-header-list-tests). If
7473 [$(fast-check) && !$(cross-compiling)], add
7474 $(conformtest-header-tests) instead of
7475 $(objpfx)run-conformtest.out.
7476 (generated): Add $(conformtest-header-list-base). If
7477 [$(fast-check) && !$(cross-compiling)], add
7478 $(conformtest-header-base). Remove previous setting.
7479 ($(conformtest-header-list-tests)): New target.
7480 (test-xfail-run-conformtest): Remove variable.
7481 ($(objpfx)run-conformtest.out): Remove target.
7482 (test-xfail-ISO11/complex.h/conform): New variable.
7483 (test-xfail-ISO11/stdalign.h/conform): Likewise.
7484 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7485 (test-xfail-XPG3/varargs.h/conform): Likewise.
7486 (test-xfail-XPG4/varargs.h/conform): Likewise.
7487 (test-xfail-UNIX98/varargs.h/conform): Likewise.
7488 (test-xfail-XPG4/ndbm.h/conform): Likewise.
7489 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7490 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7491 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7492 (test-xfail-XPG3/fcntl.h/conform): Likewise.
7493 (test-xfail-XPG3/ftw.h/conform): Likewise.
7494 (test-xfail-XPG3/grp.h/conform): Likewise.
7495 (test-xfail-XPG3/langinfo.h/conform): Likewise.
7496 (test-xfail-XPG3/limits.h/conform): Likewise.
7497 (test-xfail-XPG3/pwd.h/conform): Likewise.
7498 (test-xfail-XPG3/search.h/conform): Likewise.
7499 (test-xfail-XPG3/signal.h/conform): Likewise.
7500 (test-xfail-XPG3/stdio.h/conform): Likewise.
7501 (test-xfail-XPG3/stdlib.h/conform): Likewise.
7502 (test-xfail-XPG3/string.h/conform): Likewise.
7503 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7504 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7505 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7506 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7507 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7508 (test-xfail-XPG3/sys/types.h/conform): Likewise.
7509 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7510 (test-xfail-XPG3/termios.h/conform): Likewise.
7511 (test-xfail-XPG3/time.h/conform): Likewise.
7512 (test-xfail-XPG3/unistd.h/conform): Likewise.
7513 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7514 (test-xfail-XPG4/fcntl.h/conform): Likewise.
7515 (test-xfail-XPG4/langinfo.h/conform): Likewise.
7516 (test-xfail-XPG4/netdb.h/conform): Likewise.
7517 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7518 (test-xfail-XPG4/signal.h/conform): Likewise.
7519 (test-xfail-XPG4/stdio.h/conform): Likewise.
7520 (test-xfail-XPG4/stdlib.h/conform): Likewise.
7521 (test-xfail-XPG4/stropts.h/conform): Likewise.
7522 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7523 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7524 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7525 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7526 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7527 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7528 (test-xfail-XPG4/sys/time.h/conform): Likewise.
7529 (test-xfail-XPG4/sys/types.h/conform): Likewise.
7530 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7531 (test-xfail-XPG4/termios.h/conform): Likewise.
7532 (test-xfail-XPG4/ucontext.h/conform): Likewise.
7533 (test-xfail-XPG4/unistd.h/conform): Likewise.
7534 (test-xfail-XPG4/utmpx.h/conform): Likewise.
7535 (test-xfail-POSIX/sched.h/conform): Likewise.
7536 (test-xfail-POSIX/signal.h/conform): Likewise.
7537 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7538 (test-xfail-POSIX/tar.h/conform): Likewise.
7539 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7540 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7541 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7542 (test-xfail-UNIX98/netdb.h/conform): Likewise.
7543 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7544 (test-xfail-UNIX98/sched.h/conform): Likewise.
7545 (test-xfail-UNIX98/signal.h/conform): Likewise.
7546 (test-xfail-UNIX98/stdio.h/conform): Likewise.
7547 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7548 (test-xfail-UNIX98/stropts.h/conform): Likewise.
7549 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7550 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7551 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7552 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7553 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7554 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7555 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7556 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7557 (test-xfail-UNIX98/unistd.h/conform): Likewise.
7558 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7559 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7560 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7561 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7562 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7563 (test-xfail-XOPEN2K/math.h/conform): Likewise.
7564 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7565 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7566 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7567 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7568 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7569 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7570 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7571 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7572 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7573 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7574 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7575 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7576 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7577 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7578 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7579 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7580 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7581 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7582 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7583 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7584 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7585 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7586 (test-xfail-POSIX2008/signal.h/conform): Likewise.
7587 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7588 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7589 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7590 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7591 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7592 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7593 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7594 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7595 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7596 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7597 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7598 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7599 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7600 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7601 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7602 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7603 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7604 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7605 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7606 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7607 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7608 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7609 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7610 (conformtest-cc-flags): Likewise.
7611 ($(conformtest-header-tests): New target.
7612 * conform/check-header-lists.sh: New file.
7613 * conform/run-conformtest.sh: Remove.
7614
a00f522a
JM
7615 * conform/conformtest.pl: Allow ' and \ in values given for
7616 constants.
7617 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7618 inclusion.
7619 [POSIX] (sys/types.h): Likewise.
7620 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7621 inclusion.
7622 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7623 inclusion.
7624 * conform/data/signal.h-data (SIGIO): Remove expectation.
7625 [XPG3] (SIGBUS): Do not expect.
7626 [POSIX || XPG3] (SIGPOLL): Likewise.
7627 [POSIX || XPG3] (SIGPROF): Likewise.
7628 [POSIX || XPG3] (SIGSYS): Likewise.
7629 [XPG3] (SIGTRAP): Likewise.
7630 [POSIX || XPG3] (SIGURG): Likewise.
7631 [POSIX || XPG3] (SIGVTALRM): Likewise.
7632 [POSIX || XPG3] (SIGXCPU): Likewise.
7633 [POSIX || XPG3] (SIGXFSZ): Likewise.
7634 [POSIX] (SA_SIGINFO): Expect.
7635 [XPG3] (siginfo_t): Do not expect type or contents.
7636 [POSIX] (si_pid): Do not expect element.
7637 [POSIX] (si_uid): Likewise.
7638 [POSIX] (si_addr): Likewise.
7639 [POSIX] (si_status): Likewise.
7640 [POSIX] (si_band): Likewise.
7641 [XPG4] (si_value): Likewise.
7642 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7643 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7644 [POSIX || XPG3] (ILL_ILLADR): Likewise.
7645 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7646 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7647 [POSIX || XPG3] (ILL_PRVREG): Likewise.
7648 [POSIX || XPG3] (ILL_COPROC): Likewise.
7649 [POSIX || XPG3] (ILL_BADSTK): Likewise.
7650 [POSIX || XPG3] (FPE_INTDIV): Likewise.
7651 [POSIX || XPG3] (FPE_INTOVF): Likewise.
7652 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7653 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7654 [POSIX || XPG3] (FPE_FLTUND): Likewise.
7655 [POSIX || XPG3] (FPE_FLTRES): Likewise.
7656 [POSIX || XPG3] (FPE_FLTINV): Likewise.
7657 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7658 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7659 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7660 [POSIX || XPG3] (BUS_ADRALN): Likewise.
7661 [POSIX || XPG3] (BUS_ADRERR): Likewise.
7662 [POSIX || XPG3] (BUS_OBJERR): Likewise.
7663 [POSIX || XPG3] (CLD_EXITED): Likewise.
7664 [POSIX || XPG3] (CLD_KILLED): Likewise.
7665 [POSIX || XPG3] (CLD_DUMPED): Likewise.
7666 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7667 [POSIX || XPG3] (CLD_STOPPED): Likewise.
7668 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7669 [POSIX || XPG3] (POLL_IN): Likewise.
7670 [POSIX || XPG3] (POLL_OUT): Likewise.
7671 [POSIX || XPG3] (POLL_MSG): Likewise.
7672 [POSIX || XPG3] (POLL_ERR): Likewise.
7673 [POSIX || XPG3] (POLL_PRI): Likewise.
7674 [POSIX || XPG3] (POLL_HUP): Likewise.
7675 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7676 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7677 (SIG*): Do not allow.
7678 [XPG3] (si_*): Likewise.
7679 [XPG3] (SI_*): Likewise.
7680 [XPG3 || XPG4] (sigev_*): Likewise.
7681 [XPG3 || XPG4] (SIGEV_*): Likewise.
7682 [XPG3 || XPG4] (sival_*): Likewise.
7683 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7684 [POSIX || XPG3] (BUS_*): Likewise.
7685 [POSIX || XPG3] (CLD_*): Likewise.
7686 [POSIX || XPG3] (FPE_*): Likewise.
7687 [POSIX || XPG3] (ILL_*): Likewise.
7688 [POSIX || XPG3] (POLL_*): Likewise.
7689 [POSIX || XPG3] (SEGV_*): Likewise.
7690 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7691 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7692 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7693 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7694 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7695 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7696 Specify type and value.
7697 (TVERSLEN): Likewise.
7698 (REGTYPE): Likewise.
7699 (AREGTYPE): Likewise.
7700 (LNKTYPE): Likewise.
7701 (SYMTYPE): Likewise.
7702 (CHRTYPE): Likewise.
7703 (BLKTYPE): Likewise.
7704 (DIRTYPE): Likewise.
7705 (FIFOTYPE): Likewise.
7706 (CONTTYPE): Likewise.
7707 (TSUID): Likewise.
7708 (TSGID): Likewise.
7709 (TSVTX): Likewise.
7710 (TUREAD): Likewise.
7711 (TUWRITE): Likewise.
7712 (TUEXEC): Likewise.
7713 (TGREAD): Likewise.
7714 (TGWRITE): Likewise.
7715 (TGEXEC): Likewise.
7716 (TOREAD): Likewise.
7717 (TOWRITE): Likewise.
7718 (TOEXEC): Likewise.
7719 [POSIX] (TSVTX): Expect constant.
7720
aa97dee1
JM
77212014-03-06 Joseph Myers <joseph@codesourcery.com>
7722
f214606a
JM
7723 * Makefile (tests): Change dependencies to ....
7724 (tests-special): ... additions to this variable.
7725 (tests): Depend on $(tests-special).
7726 * Makerules (check-abi-list): New variable.
7727 (check-abi): Depend on $(check-abi-list).
7728 [$(subdir) = elf] (tests-special): Add
7729 $(objpfx)check-abi-libc.out.
7730 [$(build-shared) = yes && subdir] (tests-special): Add
7731 $(check-abi-list).
7732 [$(build-shared) = yes && subdir] (tests): Do not depend on
7733 check-abi.
7734 * Rules (tests): Depend on $(tests-special).
7735 (xtests): Depend on $(xtests-special).
7736 * catgets/Makefile (tests): Change dependencies to ....
7737 (tests-special): ... additions to this variable.
7738 * conform/Makefile (tests): Change dependencies to ....
7739 (tests-special): ... additions to this variable.
7740 * elf/Makefile (tests): Change dependencies to ....
7741 (tests-special): ... additions to this variable.
7742 * grp/Makefile (tests): Change dependencies to ....
7743 (tests-special): ... additions to this variable.
7744 * iconv/Makefile (xtests): Change dependencies to ....
7745 (xtests-special): ... additions to this variable.
7746 * iconvdata/Makefile (tests): Change dependencies to ....
7747 (tests-special): ... additions to this variable.
7748 * intl/Makefile (tests): Change dependencies to ....
7749 (tests-special): ... additions to this variable. Also add
7750 $(objpfx)tst-gettext.out.
7751 * io/Makefile (tests): Change dependencies to ....
7752 (tests-special): ... additions to this variable.
7753 * libio/Makefile (tests): Change dependencies to ....
7754 (tests-special): ... additions to this variable.
7755 * malloc/Makefile (tests): Change dependencies to ....
7756 (tests-special): ... additions to this variable.
7757 * misc/Makefile (tests): Change dependencies to ....
7758 (tests-special): ... additions to this variable.
7759 * nptl/Makefile (tests): Change dependencies to ....
7760 (tests-special): ... additions to this variable.
7761 * nptl_db/Makefile (tests): Change dependencies to ....
7762 (tests-special): ... additions to this variable.
7763 * posix/Makefile (tests): Change dependencies to ....
7764 (tests-special): ... additions to this variable.
7765 (xtests): Change dependencies to ....
7766 (xtests-special): ... additions to this variable.
7767 * resolv/Makefile (tests): Change dependencies to ....
7768 (tests-special): ... additions to this variable.
7769 (xtests): Change dependencies to ....
7770 (xtests-special): ... additions to this variable.
7771 * stdio-common/Makefile (tests): Change dependencies to ....
7772 (tests-special): ... additions to this variable.
7773 (do-tst-unbputc): Remove target.
7774 (do-tst-printf): Likewise.
7775 * stdlib/Makefile (tests): Change dependencies to ....
7776 (tests-special): ... additions to this variable.
7777 * string/Makefile (tests): Change dependencies to ....
7778 (tests-special): ... additions to this variable.
7779 * sysdeps/x86/Makefile (tests): Change dependencies to ....
7780 (tests-special): ... additions to this variable.
7781
81700b53
JM
7782 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7783 whole file.
7784 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7785 whole file.
7786 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7787 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7788
2ea18461
JM
7789 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7790 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7791 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7792 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7793 * conform/data/libgen.h-data [XPG3]: Likewise.
7794 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7795 * conform/data/ndbm.h-data [XPG3]: Likewise.
7796 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7797 * conform/data/netdb.h-data [XPG3]: Likewise.
7798 * conform/data/netinet/in.h-data [XPG3]: Likewise.
7799 * conform/data/poll.h-data [XPG3]: Likewise.
7800 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7801 * conform/data/strings.h-data [XPG3]: Likewise.
7802 * conform/data/stropts.h-data [XPG3]: Likewise.
7803 * conform/data/sys/mman.h-data [XPG3]: Likewise.
7804 * conform/data/sys/resource.h-data [XPG3]: Likewise.
7805 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7806 Likewise.
7807 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7808 * conform/data/sys/time.h-data [XPG3]: Likewise.
7809 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7810 * conform/data/sys/uio.h-data [XPG3]: Likewise.
7811 * conform/data/sys/un.h-data [XPG3]: Likewise.
7812 * conform/data/syslog.h-data [XPG3]: Likewise.
7813 * conform/data/ucontext.h-data [XPG3]: Likewise.
7814 * conform/data/utmpx.h-data [XPG3]: Likewise.
7815 * conform/data/varargs.h-data [UNIX98]: Enable file.
7816
355bc986
JM
7817 * manual/Makefile (INSTALL_INFO): Remove variable setting.
7818
215db402
JM
7819 * math/libm-test.inc (struct test_f_f_data): Move expected results
7820 into structure for each rounding mode.
7821 (struct test_ff_f_data): Likewise.
7822 (struct test_ff_f_data_nexttoward): Likewise.
7823 (struct test_fi_f_data): Likewise.
7824 (struct test_fl_f_data): Likewise.
7825 (struct test_if_f_data): Likewise.
7826 (struct test_fff_f_data): Likewise.
7827 (struct test_c_f_data): Likewise.
7828 (struct test_f_f1_data): Likewise.
7829 (struct test_fF_f1_data): Likewise.
7830 (struct test_ffI_f1_data): Likewise.
7831 (struct test_c_c_data): Likewise.
7832 (struct test_cc_c_data): Likewise.
7833 (struct test_f_i_data): Likewise.
7834 (struct test_ff_i_data): Likewise.
7835 (struct test_f_l_data): Likewise.
7836 (struct test_f_L_data): Likewise.
7837 (struct test_fFF_11_data): Likewise.
7838 (RM_): New macro.
7839 (RM_FE_DOWNWARD): Likewise.
7840 (RM_FE_TONEAREST): Likewise.
7841 (RM_FE_TOWARDZERO): Likewise.
7842 (RM_FE_UPWARD): Likewise.
7843 (RUN_TEST_LOOP_f_f): Update references to expected results.
7844 (RUN_TEST_LOOP_2_f): Likewise.
7845 (RUN_TEST_LOOP_fff_f): Likewise.
7846 (RUN_TEST_LOOP_c_f): Likewise.
7847 (RUN_TEST_LOOP_f_f1): Likewise.
7848 (RUN_TEST_LOOP_fF_f1): Likewise.
7849 (RUN_TEST_LOOP_fI_f1): Likewise.
7850 (RUN_TEST_LOOP_ffI_f1): Likewise.
7851 (RUN_TEST_LOOP_c_c): Likewise.
7852 (RUN_TEST_LOOP_cc_c): Likewise.
7853 (RUN_TEST_LOOP_f_i): Likewise.
7854 (RUN_TEST_LOOP_f_i_tg): Likewise.
7855 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7856 (RUN_TEST_LOOP_f_b): Likewise.
7857 (RUN_TEST_LOOP_f_b_tg): Likewise.
7858 (RUN_TEST_LOOP_f_l): Likewise.
7859 (RUN_TEST_LOOP_f_L): Likewise.
7860 (RUN_TEST_LOOP_fFF_11): Likewise.
7861 * math/gen-libm-test.pl (parse_args): Output four copies of
7862 expected results for each test.
7863
67737b8f
JM
7864 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7865 (__ASSUME_UTIMES): Remove.
7866 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7867 (__ASSUME_UTIMES): Likewise.
7868
aa97dee1
JM
7869 * math/gen-auto-libm-tests.c: Update comment on output format.
7870 (output_for_one_input_case): Generate before-rounding and
7871 after-rounding information as conditions on output flags not
7872 floating-point format.
7873 * math/auto-libm-test-out: Regenerated.
7874 * math/gen-libm-test.pl (cond_value): New function.
7875 (or_cond_value): Use cond_value.
7876 (generate_testfile): Handle conditional exceptions.
7877
e6b6a857
JM
78782014-03-05 Joseph Myers <joseph@codesourcery.com>
7879
2f0a0f44
JM
7880 * math/libm-test.inc (max_valid_error): New variable.
7881 (init_max_error): Take new argument specifying whether function
7882 results are exactly determined. Set max_valid_error and bound
7883 other variables for errors based on this argument.
7884 (set_max_error): Do not record results above max_valid_error.
7885 (check_float_internal): Only accept errors of up to 0.5ulps if
7886 also at most max_valid_error.
7887 (START): Take new argument EXACT and pass it to init_max_error.
7888 (acos_test): Update call to START.
7889 (acos_test_tonearest): Likewise.
7890 (acos_test_towardzero): Likewise.
7891 (acos_test_downward): Likewise.
7892 (acos_test_upward): Likewise.
7893 (acosh_test): Likewise.
7894 (asin_test): Likewise.
7895 (asin_test_tonearest): Likewise.
7896 (asin_test_towardzero): Likewise.
7897 (asin_test_downward): Likewise.
7898 (asin_test_upward): Likewise.
7899 (asinh_test): Likewise.
7900 (atan_test): Likewise.
7901 (atanh_test): Likewise.
7902 (atan2_test): Likewise.
7903 (cabs_test): Likewise.
7904 (cacos_test): Likewise.
7905 (cacosh_test): Likewise.
7906 (carg_test): Likewise.
7907 (casin_test): Likewise.
7908 (casinh_test): Likewise.
7909 (catan_test): Likewise.
7910 (catanh_test): Likewise.
7911 (cbrt_test): Likewise.
7912 (ccos_test): Likewise.
7913 (ccosh_test): Likewise.
7914 (ceil_test): Likewise.
7915 (cexp_test): Likewise.
7916 (cimag_test): Likewise.
7917 (clog_test): Likewise.
7918 (clog10_test): Likewise.
7919 (conj_test): Likewise.
7920 (copysign_test): Likewise.
7921 (cos_test): Likewise.
7922 (cos_test_tonearest): Likewise.
7923 (cos_test_towardzero): Likewise.
7924 (cos_test_downward): Likewise.
7925 (cos_test_upward): Likewise.
7926 (cosh_test): Likewise.
7927 (cosh_test_tonearest): Likewise.
7928 (cosh_test_towardzero): Likewise.
7929 (cosh_test_downward): Likewise.
7930 (cosh_test_upward): Likewise.
7931 (cpow_test): Likewise.
7932 (cproj_test): Likewise.
7933 (creal_test): Likewise.
7934 (csin_test): Likewise.
7935 (csinh_test): Likewise.
7936 (csqrt_test): Likewise.
7937 (ctan_test): Likewise.
7938 (ctan_test_tonearest): Likewise.
7939 (ctan_test_towardzero): Likewise.
7940 (ctan_test_downward): Likewise.
7941 (ctan_test_upward): Likewise.
7942 (ctanh_test): Likewise.
7943 (ctanh_test_tonearest): Likewise.
7944 (ctanh_test_towardzero): Likewise.
7945 (ctanh_test_downward): Likewise.
7946 (ctanh_test_upward): Likewise.
7947 (erf_test): Likewise.
7948 (erfc_test): Likewise.
7949 (exp_test): Likewise.
7950 (exp_test_tonearest): Likewise.
7951 (exp_test_towardzero): Likewise.
7952 (exp_test_downward): Likewise.
7953 (exp_test_upward): Likewise.
7954 (exp10_test): Likewise.
7955 (exp10_test_tonearest): Likewise.
7956 (exp10_test_towardzero): Likewise.
7957 (exp10_test_downward): Likewise.
7958 (exp10_test_upward): Likewise.
7959 (pow10_test): Likewise.
7960 (exp2_test): Likewise.
7961 (expm1_test): Likewise.
7962 (expm1_test_tonearest): Likewise.
7963 (expm1_test_towardzero): Likewise.
7964 (expm1_test_downward): Likewise.
7965 (expm1_test_upward): Likewise.
7966 (fabs_test): Likewise.
7967 (fdim_test): Likewise.
7968 (floor_test): Likewise.
7969 (fma_test): Likewise.
7970 (fma_test_towardzero): Likewise.
7971 (fma_test_downward): Likewise.
7972 (fma_test_upward): Likewise.
7973 (fmax_test): Likewise.
7974 (fmin_test): Likewise.
7975 (fmod_test): Likewise.
7976 (fpclassify_test): Likewise.
7977 (frexp_test): Likewise.
7978 (hypot_test): Likewise.
7979 (ilogb_test): Likewise.
7980 (isfinite_test): Likewise.
7981 (finite_test): Likewise.
7982 (isgreater_test): Likewise.
7983 (isgreaterequal_test): Likewise.
7984 (isinf_test): Likewise.
7985 (isless_test): Likewise.
7986 (islessequal_test): Likewise.
7987 (islessgreater_test): Likewise.
7988 (isnan_test): Likewise.
7989 (isnormal_test): Likewise.
7990 (issignaling_test): Likewise.
7991 (isunordered_test): Likewise.
7992 (j0_test): Likewise.
7993 (j1_test): Likewise.
7994 (jn_test): Likewise.
7995 (ldexp_test): Likewise.
7996 (lgamma_test): Likewise.
7997 (gamma_test): Likewise.
7998 (lrint_test): Likewise.
7999 (lrint_test_tonearest): Likewise.
8000 (lrint_test_towardzero): Likewise.
8001 (lrint_test_downward): Likewise.
8002 (lrint_test_upward): Likewise.
8003 (llrint_test): Likewise.
8004 (llrint_test_tonearest): Likewise.
8005 (llrint_test_towardzero): Likewise.
8006 (llrint_test_downward): Likewise.
8007 (llrint_test_upward): Likewise.
8008 (log_test): Likewise.
8009 (log10_test): Likewise.
8010 (log1p_test): Likewise.
8011 (log2_test): Likewise.
8012 (logb_test): Likewise.
8013 (logb_test_downward): Likewise.
8014 (lround_test): Likewise.
8015 (llround_test): Likewise.
8016 (modf_test): Likewise.
8017 (nearbyint_test): Likewise.
8018 (nextafter_test): Likewise.
8019 (nexttoward_test): Likewise.
8020 (pow_test): Likewise.
8021 (pow_test_tonearest): Likewise.
8022 (pow_test_towardzero): Likewise.
8023 (pow_test_downward): Likewise.
8024 (pow_test_upward): Likewise.
8025 (remainder_test): Likewise.
8026 (drem_test): Likewise.
8027 (remainder_test_tonearest): Likewise.
8028 (drem_test_tonearest): Likewise.
8029 (remainder_test_towardzero): Likewise.
8030 (drem_test_towardzero): Likewise.
8031 (remainder_test_downward): Likewise.
8032 (drem_test_downward): Likewise.
8033 (remainder_test_upward): Likewise.
8034 (drem_test_upward): Likewise.
8035 (remquo_test): Likewise.
8036 (rint_test): Likewise.
8037 (rint_test_tonearest): Likewise.
8038 (rint_test_towardzero): Likewise.
8039 (rint_test_downward): Likewise.
8040 (rint_test_upward): Likewise.
8041 (round_test): Likewise.
8042 (scalb_test): Likewise.
8043 (scalbn_test): Likewise.
8044 (scalbln_test): Likewise.
8045 (signbit_test): Likewise.
8046 (sin_test): Likewise.
8047 (sin_test_tonearest): Likewise.
8048 (sin_test_towardzero): Likewise.
8049 (sin_test_downward): Likewise.
8050 (sin_test_upward): Likewise.
8051 (sincos_test): Likewise.
8052 (sinh_test): Likewise.
8053 (sinh_test_tonearest): Likewise.
8054 (sinh_test_towardzero): Likewise.
8055 (sinh_test_downward): Likewise.
8056 (sinh_test_upward): Likewise.
8057 (sqrt_test): Likewise.
8058 (sqrt_test_tonearest): Likewise.
8059 (sqrt_test_towardzero): Likewise.
8060 (sqrt_test_downward): Likewise.
8061 (sqrt_test_upward): Likewise.
8062 (tan_test): Likewise.
8063 (tan_test_tonearest): Likewise.
8064 (tan_test_towardzero): Likewise.
8065 (tan_test_downward): Likewise.
8066 (tan_test_upward): Likewise.
8067 (tanh_test): Likewise.
8068 (tgamma_test): Likewise.
8069 (trunc_test): Likewise.
8070 (y0_test): Likewise.
8071 (y1_test): Likewise.
8072 (yn_test): Likewise.
8073 (significand_test): Likewise.
8074
e6b6a857
JM
8075 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8076 individual tests in comment.
8077 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8078 (prev_max_error): New variable.
8079 (prev_real_max_error): Likewise.
8080 (prev_imag_max_error): Likewise.
8081 (compare_ulp_data): Don't refer to test names in comment.
8082 (find_test_ulps): Remove function.
8083 (find_function_ulps): Likewise.
8084 (find_complex_function_ulps): Likewise.
8085 (init_max_error): Take function name as argument. Look up ulps
8086 for that function.
8087 (print_ulps): Remove function.
8088 (print_max_error): Use prev_max_error instead of calling
8089 find_function_ulps.
8090 (print_complex_max_error): Use prev_real_max_error and
8091 prev_imag_max_error instead of calling find_complex_function_ulps.
8092 (check_float_internal): Take max_ulp parameter instead of calling
8093 find_test_ulps. Don't call print_ulps.
8094 (check_float): Update call to check_float_internal.
8095 (check_complex): Update calls to check_float_internal.
8096 (START): Pass argument to init_max_error.
8097 * math/gen-libm-test.pl (%results): Don't include "kind"
8098 information.
8099 (parse_ulps): Don't handle ulps of individual tests.
8100 (print_ulps_file): Likewise.
8101 (output_ulps): Likewise.
8102 * math/README.libm-test: Update.
8103 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8104 individual tests.
8105 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8106 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8107 * sysdeps/arm/libm-test-ulps: Likewise.
8108 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8109 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8110 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8111 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8112 * sysdeps/microblaze/libm-test-ulps: Likewise.
8113 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8114 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8115 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8116 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8117 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8118 * sysdeps/sh/libm-test-ulps: Likewise.
8119 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8120 * sysdeps/tile/libm-test-ulps: Likewise.
8121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8122
45adef3c
JM
81232014-03-04 Joseph Myers <joseph@codesourcery.com>
8124
8125 * math/libm-test.inc (print_complex_max_error): Check separately
8126 whether real and imaginary errors are within allowed range and
8127 pass 0 to print_complex_function_ulps instead of value within
8128 allowed range.
8129
000232b9
SP
81302014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8131
d4b17258
SP
8132 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8133 formatting.
8134 (get_handles_fopen): Likewise.
8135 (do_write_test): Likewise.
8136
091eff71
SP
8137 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8138
fa3cd248
SP
8139 * libio/fileops.c (do_ftell): Use cached offset when
8140 available.
8141 * libio/iofwide.c (do_ftell_wide): Likewise.
8142 * libio/iofdopen.c (_IO_new_fdopen): Don't use
8143 _IO_file_attach.
8144 * libio/wfileops.c (_IO_fwide): Don't cache offset.
8145
000232b9
SP
8146 [BZ #16532]
8147 * libio/libioP.h (get_file_offset): New function.
8148 * libio/fileops.c (get_file_offset): Likewise.
8149 (do_ftell): Likewise.
8150 (_IO_new_file_seekoff): Split out ftell logic.
8151 * libio/wfileops.c (do_ftell_wide): Likewise.
8152 (_IO_wfile_seekoff): Split out ftell logic.
8153 * libio/tst-ftell-active-handler.c: New test case.
8154 * libio/Makefile (tests): Add it.
8155
116f4d1a
RM
81562014-03-03 Roland McGrath <roland@hack.frob.com>
8157
8158 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8159 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8160
532a6035
SP
81612014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8162
8163 [BZ #16639]
8164 * nscd/connections.c (nscd_init): Call do_exit.
8165 (start_threads): Call do_exit and notify_parent.
8166 (begin_drop_privileges): Call do_exit.
8167 (finish_drop_privileges): Likewise.
8168 * nscd/selinux.c (preserve_capabilities): Likewise.
8169 (install_real_capabilities): Likewise.
8170 (nscd_selinux_enabled): Likewise.
8171 (avc_create_thread): Likewise.
8172 (avc_alloc_lock): Likewise.
8173 (nscd_avc_init): Likewise.
8174 * nscd/nscd.c (parent_fd): New static variable.
8175 (main): Create a pipe between parent and child processes.
8176 Skip closing parent_fd.
8177 (monitor_child): New function.
8178 (do_exit): Likewise.
8179 (notify_parent): Likewise.
8180 * nscd/nscd.h (notify_parent): Likewise.
8181 (do_exit): Likewise.
8182
d6285c9f
CD
81832014-03-03 Carlos O'Donell <carlos@redhat.com>
8184
8185 * malloc/malloc.c (__libc_calloc): Revert last change.
8186
2b85d2a0
AZ
81872014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8188
8189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8190
c7debbdf
RS
81912014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8192
8193 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8194 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8195 implementation.
8196 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8197 (__libc_ifunc_impl_list): Likewise.
8198 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8199 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8200 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8201 * string/strrchr.c: Define STRRCHR.
8202
235eed86
OB
82032014-02-28 Ondřej Bílka <neleai@seznam.cz>
8204
8205 * benchtest/bench-strtok.c (simple_strtok): Delete.
8206 (strtok_string): Use as benchmark.
8207 * string/strtok (STRTOK): New macro.
8208
8e25d1e7
CD
82092014-02-28 Carlos O'Donell <carlos@redhat.com>
8210
ef563f92
CD
8211 * manual/threads.texi: Add header and standard comments to all
8212 functions.
8213
8e25d1e7
CD
8214 * elf/dl-lookup.c (check_match): New function.
8215 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8216 (do_lookup_x): Remove nested function check_match. Use non-nested
8217 function check_match.
8218
ff71cc37
RM
82192014-02-28 Roland McGrath <roland@hack.frob.com>
8220
f08e9a26
RM
8221 * csu/Makefile (generated, before-compile): Use += rather than =.
8222 * catgets/Makefile (generated, generated-dirs): Likewise.
8223 * debug/Makefile (generated): Likewise.
8224 * dlfcn/Makefile (generated): Likewise.
8225 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8226 * iconvdata/Makefile (before-compile, generated): Likewise.
8227 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8228 * libio/Makefile (generated): Likewise.
8229 * malloc/Makefile (generated): Likewise.
8230 * manual/Makefile (generated, generated-dirs): Likewise.
8231 * misc/Makefile (generated): Likewise.
8232 * posix/Makefile (generated): Likewise.
8233 * resolv/Makefile (generated): Likewise.
8234 * sunrpc/Makefile (generated, generated-dirs): Likewise.
8235 * timezone/Makefile (generated, generated-dirs): Likewise.
8236
ff71cc37
RM
8237 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8238
fe13a20c
AZ
82392014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8240
57f41c40
AS
8241 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8242 power8 implementation.
8243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8244 file: POWER8 llround ifunc implementation.
8245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8246 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
8247 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8248 POWER8 llround implementation.
8249
57f41c40
AS
8250 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8251 power8 implementation.
8252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8253 file: POWER8 llrint ifunc implementation.
8254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8255 Add POWER8 implementation.
1ad8950a
AZ
8256 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8257 POWER8 llrint implementation.
8258
57f41c40
AS
8259 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8260 power8 implementation.
8261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8262 file: POWER8 finite ifunc implementation.
8263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8264 Add POWER8 implementation.
cac626d6
AZ
8265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8266 Likewise.
8267 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8268 POWER8 finite implementation.
8269 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8270
57f41c40
AS
8271 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8272 power8 implementation.
8273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8274 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
8275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8276 POWER8 implementation.
8277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8278 Likewise.
57f41c40
AS
8279 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8280 isinf implementation.
4393fc11
AZ
8281 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8282
57f41c40
AS
8283 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8284 (INIT_ARCH): Add hwcap2 initialization.
8285 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8286 power8 implementation.
8287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8288 file: POWER8 isnan ifunc implementation.
487972ae
AZ
8289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8290 POWER8 implementation.
8291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8292 Likewise.
57f41c40
AS
8293 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8294 isnan implementation.
487972ae
AZ
8295 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8296
7d92b787
JY
82972014-02-27 Joey Ye <joey.ye@arm.com>
8298
8299 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8300 (_FP_NANFRAC_Q): Set to zero.
8301
1cadc858
SP
83022014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8303
8304 [BZ #16623]
8305 * math/auto-libm-test-in: New test inputs.
8306 * math/auto-libm-test-out: Regenerate.
8307 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8308 and DA.
8309 (__cos): Likewise.
8310 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8311
f8c17e79
JM
83122014-02-27 Joseph Myers <joseph@codesourcery.com>
8313
8314 * scripts/evaluate-test.sh: Take new argument indicating whether
8315 failure is expected.
8316 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8317 indicating whether failure is expected.
8318 * conform/Makefile (test-xfail-run-conformtest): New variable.
8319 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8320 level.
8321 * posix/Makefile (test-xfail-annexc): New variable.
8322 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8323
a5f891ac
JM
83242014-02-26 Joseph Myers <joseph@codesourcery.com>
8325
8326 * argp/Makefile: Include Makeconfig immediately after defining
8327 subdir.
8328 * assert/Makefile: Likewise.
8329 * benchtests/Makefile: Likewise.
8330 * catgets/Makefile: Likewise.
8331 * conform/Makefile: Likewise.
8332 * crypt/Makefile: Likewise.
8333 * csu/Makefile: Likewise.
8334 (all): Remove target.
8335 * ctype/Makefile: Include Makeconfig immediately after defining
8336 subdir.
8337 * debug/Makefile: Likewise.
8338 * dirent/Makefile: Likewise.
8339 * dlfcn/Makefile: Likewise.
8340 * gmon/Makefile: Likewise.
8341 * gnulib/Makefile: Likewise.
8342 * grp/Makefile: Likewise.
8343 * gshadow/Makefile: Likewise.
8344 * hesiod/Makefile: Likewise.
8345 * hurd/Makefile: Likewise.
8346 (all): Remove target.
8347 * iconvdata/Makefile: Include Makeconfig immediately after
8348 defining subdir.
8349 * inet/Makefile: Likewise.
8350 * intl/Makefile: Likewise.
8351 * io/Makefile: Likewise.
8352 * libio/Makefile: Likewise.
8353 (all): Remove target.
8354 * locale/Makefile: Include Makeconfig immediately after defining
8355 subdir.
8356 * login/Makefile: Likewise.
8357 * mach/Makefile: Likewise.
8358 (all): Remove target.
8359 * malloc/Makefile: Include Makeconfig immediately after defining
8360 subdir.
8361 (all): Remove target.
8362 * manual/Makefile: Include Makeconfig immediately after defining
8363 subdir.
8364 * math/Makefile: Likewise.
8365 * misc/Makefile: Likewise.
8366 * nis/Makefile: Likewise.
8367 * nss/Makefile: Likewise.
8368 * po/Makefile: Likewise.
8369 (all): Remove target.
8370 * posix/Makefile: Include Makeconfig immediately after defining
8371 subdir.
8372 * pwd/Makefile: Likewise.
8373 * resolv/Makefile: Likewise.
8374 * resource/Makefile: Likewise.
8375 * rt/Makefile: Likewise.
8376 * setjmp/Makefile: Likewise.
8377 * shadow/Makefile: Likewise.
8378 * signal/Makefile: Likewise.
8379 * socket/Makefile: Likewise.
8380 * soft-fp/Makefile: Likewise.
8381 * stdio-common/Makefile: Likewise.
8382 * stdlib/Makefile: Likewise.
8383 * streams/Makefile: Likewise.
8384 * string/Makefile: Likewise.
8385 * sunrpc/Makefile: Likewise.
8386 (all): Remove target.
8387 * sysvipc/Makefile: Include Makeconfig immediately after defining
8388 subdir.
8389 * termios/Makefile: Likewise.
8390 * time/Makefile: Likewise.
8391 * timezone/Makefile: Likewise.
8392 (all): Remove target.
8393 * wcsmbs/Makefile: Include Makeconfig immediately after defining
8394 subdir.
8395 * wctype/Makefile: Likewise.
8396
5b456e9d
SE
83972014-02-26 Steve Ellcey <sellcey@mips.com>
8398
8399 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8400 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8401 (libc_feholdexcept_setround_mips): Ditto.
8402 (libc_feholdsetround): New.
8403 (libc_feholdsetroundf): New.
8404 (libc_feholdsetroundl): New.
8405 (libc_feupdateenv_test_mips): New.
8406 (libc_feupdateenv_test): New.
8407 (libc_feupdateenv_testf): New.
8408 (libc_feupdateenv_testl): New.
8409 (libc_feresetround): New.
8410 (libc_feresetroundf): New.
8411 (libc_feresetroundl): New.
8412 (libc_fetestexcept_mips): New.
8413 (libc_fetestexcept): New.
8414 (libc_fetestexceptf): New.
8415 (libc_fetestexceptl): New.
8416 (HAVE_RM_CTX): New.
8417 (libc_feholdexcept_setround_mips_ctx): New.
8418 (libc_feholdexcept_setround_ctx): New.
8419 (libc_feholdexcept_setroundf_ctx): New.
8420 (libc_feholdexcept_setroundl_ctx): New.
8421 (libc_fesetenv_mips_ctx): New.
8422 (libc_fesetenv_ctx): New.
8423 (libc_fesetenv_ctxf): New.
8424 (libc_fesetenv_ctxl): New.
8425 (libc_feupdateenv_mips_ctx): New.
8426 (libc_feupdateenv_ctx): New.
8427 (libc_feupdateenvf_ctx): New.
8428 (libc_feupdateenvl_ctx): New.
8429 (libc_feholdsetround_mips_ctx): New.
8430 (libc_feholdsetround_ctx): New.
8431 (libc_feholdsetroundf_ctx): New.
8432 (libc_feholdsetroundl_ctx): New.
8433 (libc_feresetround_mips_ctx): New.
8434 (libc_feresetround_ctx): New.
8435 (libc_feresetroundf_ctx): New.
8436 (libc_feresetroundl_ctx): New.
8437
085d0e35
CD
84382014-02-26 Carlos O'Donell <carlos@redhat.com>
8439
f067bf1f
CD
8440 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8441
085d0e35
CD
8442 * manual/ipc.texi: New file.
8443 * manual/Makefile (chapters): Add ipc.
8444 * manual/job.texi: Add "Inter-Process Communication" to next.
8445 * manual/process.texi: Add "Inter-Process Communication" to prev.
8446
86e58c08
AZ
84472014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8448
8449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8450
4248f0da
OB
84512014-02-26 Ondřej Bílka <neleai@seznam.cz>
8452
8453 * malloc/malloc.c (__libc_calloc): Simplify implementation.
8454
cf822e3c
OB
8455 * manual/arith.texi: Fix spaces after sentences.
8456 * manual/charset.texi: Likewise.
8457 * manual/errno.texi: Likewise.
8458 * manual/install.texi: Likewise.
8459 * manual/llio.texi: Likewise.
8460 * manual/locale.texi: Likewise.
8461 * manual/maint.texi: Likewise.
8462 * manual/math.texi: Likewise.
8463 * manual/memory.texi: Likewise.
8464 * manual/message.texi: Likewise.
8465 * manual/probes.texi: Likewise.
8466 * manual/resource.texi: Likewise.
8467 * manual/signal.texi: Likewise.
8468 * manual/socket.texi: Likewise.
8469 * manual/stdio.texi: Likewise.
8470 * manual/string.texi: Likewise.
8471 * manual/time.texi: Likewise.
8472 * manual/users.texi: Likewise.
8473
ade40b10
CD
84742014-02-25 Carlos O'Donell <carlos@redhat.com>
8475
8476 [BZ #16632]
8477 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8478 _DEFAULT_SOURCE is defined.
8479
d0503676
CD
84802014-02-25 Ulrich Drepper <drepper@gmail.com>
8481 Carlos O'Donell <carlos@redhat.com>
8482
8483 [BZ #16613]
8484 * elf/dl-tls.c (_dl_count_modids): New function.
8485 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8486 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8487 audit library and increment generation counter.
8488 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8489 * elf/tst-audit9.c: New file.
8490 * elf/tst-auditmod9a.c: New file.
8491 * elf/tst-auditmod9b.c: New file.
8492 * elf/Makefile: Add rules to build and run tst-audit9.
8493
4cbf380c
FW
84942014-02-25 Florian Weimer <fweimer@redhat.com>
8495
8496 [BZ #15347]
8497 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8498
80a56cc3
WN
84992014-02-25 Will Newton <will.newton@linaro.org>
8500
8501 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8502 (__longjmp): Restore sp and lr before restoring callee
8503 saved registers. Add longjmp and longjmp_target
8504 SystemTap probe point.
8505 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8506 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8507 Define to zero to match jmpbuf layout.
8508 * sysdeps/arm/setjmp.S: Include stap-probe.h.
8509 (__sigsetjmp): Save sp and lr before saving callee
8510 saved registers. Add setjmp SystemTap probe point.
8511
3ea0f74e
SL
85122014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8513
8514 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8515
b04acb26
AS
85162014-02-24 Andreas Schwab <schwab@suse.de>
8517
8518 [BZ #15804]
8519 * elf/pldd.c (wait_for_ptrace_stop): New function.
8520 (main): Call it after attaching.
8521
098ad55c
RM
85222014-02-22 Roland McGrath <roland@hack.frob.com>
8523
d4ec6ae1
RM
8524 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8525 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8526 Versions files is now verboten.
8527 * hurd/Versions (libc: GLIBC_2.0):
8528 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8529 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8530 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8531 * mach/Versions: Likewise.
8532
098ad55c
RM
8533 * csu/Versions: Remove unused %include.
8534 * resolv/Versions: Likewise.
8535
acd7f096
JM
85362014-02-21 Joseph Myers <joseph@codesourcery.com>
8537
f0881698
JM
8538 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8539 ($(objpfx)check-local-headers.out): Likewise.
8540 ($(objpfx)begin-end-check.out): Likewise.
8541 * Makerules (check-abi-%.out): Likewise.
8542 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8543 ($(objpfx)test2.cat): Likewise.
8544 ($(objpfx)de/libc.cat): Likewise.
8545 ($(objpfx)test-gencat.out): Likewise.
8546 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8547 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8548 ($(objpfx)noload-mem): Likewise.
8549 ($(objpfx)tst-pathopt.out): Likewise.
8550 ($(objpfx)tst-rtld-load-self.out): Likewise.
8551 ($(objpfx)tst-array1-cmp.out): Likewise.
8552 ($(objpfx)tst-array1-static-cmp.out): Likewise.
8553 ($(objpfx)tst-array2-cmp.out): Likewise.
8554 ($(objpfx)tst-array3-cmp.out): Likewise.
8555 ($(objpfx)tst-array4-cmp.out): Likewise.
8556 ($(objpfx)tst-array5-cmp.out): Likewise.
8557 ($(objpfx)tst-array5-static-cmp.out): Likewise.
8558 ($(objpfx)check-textrel.out): Likewise.
8559 ($(objpfx)check-execstack.out): Likewise.
8560 ($(objpfx)check-localplt.out): Likewise.
8561 ($(objpfx)order2-cmp.out): Likewise.
8562 ($(objpfx)tst-leaks1-mem): Likewise.
8563 ($(objpfx)tst-leaks1-static-mem): Likewise.
8564 ($(objpfx)tst-initorder-cmp.out): Likewise.
8565 ($(objpfx)tst-initorder2-cmp.out): Likewise.
8566 ($(objpfx)tst-unused-dep.out): Likewise.
8567 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8568 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8569 * iconv/Makefile (test-iconvconfig): Likewise.
8570 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8571 ($(objpfx)iconv-test.out): Likewise.
8572 ($(objpfx)tst-tables.out): Likewise.
8573 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8574 ($(objpfx)tst-gettext.out): Likewise.
8575 ($(objpfx)tst-translit.out): Likewise.
8576 ($(objpfx)tst-gettext2.out): Likewise.
8577 ($(objpfx)tst-gettext4.out): Likewise.
8578 ($(objpfx)tst-gettext6.out): Likewise.
8579 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8580 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8581 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8582 ($(objpfx)tst-fopenloc-mem.out): Likewise.
8583 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8584 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8585 * posix/Makefile ($(objpfx)globtest.out): Likewise.
8586 ($(objpfx)wordexp-tst.out): Likewise.
8587 ($(objpfx)annexc.out): Likewise.
8588 ($(objpfx)tst-fnmatch-mem): Likewise.
8589 ($(objpfx)bug-regex2-mem): Likewise.
8590 ($(objpfx)bug-regex14-mem): Likewise.
8591 ($(objpfx)bug-regex21-mem): Likewise.
8592 ($(objpfx)bug-regex31-mem): Likewise.
8593 ($(objpfx)tst-vfork3-mem): Likewise.
8594 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8595 ($(objpfx)tst-pcre-mem): Likewise.
8596 ($(objpfx)tst-boost-mem): Likewise.
8597 ($(objpfx)tst-getconf.out): Likewise.
8598 ($(objpfx)bug-ga2-mem): Likewise.
8599 ($(objpfx)bug-glob2-mem): Likewise.
8600 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8601 ($(objpfx)mtrace-tst-leaks2): Likewise.
8602 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8603 ($(objpfx)tst-printf.out): Likewise.
8604 ($(objpfx)tst-setvbuf1.out): Likewise.
8605 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8606 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8607 ($(objpfx)tst-fmtmsg.out): Likewise.
8608 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8609 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8610
acd7f096
JM
8611 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8612 * bits/sigaction.h [__USE_MISC]: Likewise.
8613 * bits/waitstatus.h: Update #endif comments.
8614 * ctype/ctype.h: Likewise.
8615 * dirent/dirent.h: Likewise.
8616 [__USE_MISC]: Remove redundant conditionals.
8617 * grp/grp.h: Update #endif comments.
8618 [__USE_GNU]: Remove redundant conditionals.
8619 [__USE_MISC]: Likewise.
8620 * inet/netinet/in.h [__USE_GNU]: Likewise.
8621 * io/sys/stat.h [__USE_MISC]: Likewise.
8622 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8623 * libio/bits/stdio.h: Update #endif comments.
8624 [__USE_MISC]: Remove redundant conditionals.
8625 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8626 * libio/stdio.h: Update #endif comments.
8627 [__USE_MISC]: Remove redundant conditionals.
8628 * math/bits/math-finite.h [__USE_MISC]: Likewise.
8629 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8630 * math/math.h: Update #else and #endif comments.
8631 [__USE_MISC]: Remove redundant conditionals.
8632 * misc/sys/uio.h: Update #endif comments.
8633 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8634 * posix/glob.h [__USE_MISC]: Likewise.
8635 * posix/sys/types.h: Update #endif comments.
8636 [__USE_MISC]: Remove redundant conditionals.
8637 * posix/sys/wait.h: Update #endif comments.
8638 [__USE_MISC]: Remove redundant conditionals.
8639 * posix/unistd.h: Update #endif comments.
8640 [__USE_MISC]: Remove redundant conditionals.
8641 * pwd/pwd.h [__USE_GNU]: Likewise.
8642 [__USE_MISC]: Likewise.
8643 * resolv/netdb.h [__USE_GNU]: Likewise.
8644 * signal/signal.h: Update #endif comments.
8645 [__USE_MISC]: Remove redundant conditionals.
8646 * stdlib/stdlib.h: Update #else and #endif comments.
8647 [__USE_MISC]: Remove redundant conditionals.
8648 [__USE_GNU]: Likewise.
8649 * string/bits/string2.h [__USE_MISC]: Likewise.
8650 * string/string.h: Update #endif comments.
8651 [__USE_MISC]: Remove redundant conditionals.
8652 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8653 Likewise.
8654 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8655 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8656 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8657 Likewise.
8658 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8659 Likewise.
8660 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8661 comments.
8662 [__USE_MISC]: Remove redundant conditionals.
8663 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8664 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8665 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8666 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8667 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8668 Likewise.
8669 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8670 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8671 Likewise.
8672 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8673 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8674 Likewise.
8675 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8676 Likewise.
8677 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8678 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8679 Likewise.
8680 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8681 Likewise.
8682 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8683 * sysdeps/x86/bits/string.h: Update #endif comments.
8684 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8685 conditionals.
8686 * time/sys/time.h: Update #endif comments.
8687 * time/time.h: Likewise.
8688 [__USE_MISC]: Remove redundant conditionals.
8689
a5d82e4e
YG
86902014-02-21 Yury Gribov <y.gribov@samsung.com>
8691
8692 [BZ #16600]
8693 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8694
9a80491d
AS
86952014-02-21 Andreas Schwab <schwab@linux-m68k.org>
8696
8697 * Versions.def (librt): Add GLIBC_2.17.
8698
105fa381
AC
86992014-02-21 Adam Conrad <adconrad@0c3.net>
8700
8701 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8702 synonym for _SYS_AUXV_H to allow direct inclusion.
8703 * sysdeps/sparc/bits/hwcap.h: Likewise.
8704 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8705 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8706 * sysdeps/sparc/sysdep.h: Likewise.
8707
b8cd1c4e
SP
87082014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8709
8710 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8711
bd939d23
RS
87122014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8713
8714 * benchtests/bench-strrchr.c: Print length instead of position.
8715
5d7b57ca
JM
87162014-02-20 Joseph Myers <joseph@codesourcery.com>
8717
bc688c10
JM
8718 [BZ #16611]
8719 * sysdeps/unix/sysv/linux/kernel-features.h
8720 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8721 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8722 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8723 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8724 Likewise.
8725 [__i386__ || __powerpc__ || __sh__ || __sparc__]
8726 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8727 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8728 (__ASSUME_SENDMMSG): Define instead of using previous
8729 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8730 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8731 (__ASSUME_SENDMMSG_SYSCALL): Define.
8732 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8733 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8734 Likewise.
8735 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8736 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8737 Likewise.
8738 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8739 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8740 Likewise.
8741 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8742 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8743 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8744 [__ASSUME_SENDMMSG]: Change conditionals to
8745 [__ASSUME_SENDMMSG_SOCKETCALL].
8746 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8747 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8748 Define.
8749 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8750 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8751 Likewise.
8752 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8753 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8754 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8755 [!__ASSUME_SENDMMSG]: Change conditional to
8756 [!__ASSUME_SENDMMSG_SOCKETCALL].
8757 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8758 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8759 Define.
8760
0e31b18c
JM
8761 [BZ #16610]
8762 * sysdeps/unix/sysv/linux/kernel-features.h
8763 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8764 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8765 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8766 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8767 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8768 [__i386__ || __sparc__]
8769 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8770 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8771 (__ASSUME_RECVMMSG): Define instead of using previous
8772 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8773 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8774 (__ASSUME_RECVMMSG_SYSCALL): Define.
8775 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8776 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8777 Likewise.
8778 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8779 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8780 Likewise.
8781 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8782 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8783 Likewise.
8784 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8785 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8786 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8787 [__ASSUME_RECVMMSG]: Change condition to
8788 [__ASSUME_RECVMMSG_SOCKETCALL].
8789 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8790 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8791 Define.
8792 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8793 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8794 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8795 Likewise.
8796 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8797 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8798 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8799 [!__ASSUME_RECVMMSG]: Change condition to
8800 [!__ASSUME_RECVMMSG_SOCKETCALL].
8801 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8802 (__ASSUME_RECVMMSG_SYSCALL): Define.
8803
dd481ccf
JM
8804 [BZ #16609]
8805 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8806 __powerpc__ || __s390__ || __sh__ || __sparc__]
8807 (__ASSUME_SOCKETCALL): Define.
8808 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8809 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8810 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8811 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8812 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8813 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8814 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8815 (__ASSUME_ACCEPT4): Define instead of using previous
8816 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8817 __powerpc__ || __sparc__ || __s390__)] condition.
8818 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8819 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8820 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8821 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8822 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8823 [!__ASSUME_ACCEPT4]: Change condition to
8824 [!__ASSUME_ACCEPT4_SOCKETCALL].
8825 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8826 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
8827 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8828 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8829 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8830 __ASSUME_ACCEPT4_SYSCALL.
8831 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8832 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8833 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8834 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8835 __ASSUME_ACCEPT4_SYSCALL.
8836 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8837 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8838 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8839 [__ASSUME_ACCEPT4]: Change condition to
8840 [__ASSUME_ACCEPT4_SOCKETCALL].
8841 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8842 (__ASSUME_SOCKETCALL): Define.
8843 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8844 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8845 (__ASSUME_SOCKETCALL): Define.
8846 (__ASSUME_ACCEPT4): Remove.
8847 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8848 Define.
8849 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8850 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8851 Likewise.
8852 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8853 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8854
5d7b57ca
JM
8855 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8856 macro.
8857 (HWCAP_ARM_LPAE): Likewise.
8858 (HWCAP_ARM_EVTSTRM): Likewise.
8859 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8860 Add vpfd32, lpae and evtstrm.
8861 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8862 Increase to 22.
8863
63689d61
JM
88642014-02-19 Joseph Myers <joseph@codesourcery.com>
8865
8866 * math/auto-libm-test-in: Add tests of clog10.
8867 * math/auto-libm-test-out: Regenerated.
8868 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8869 * sysdeps/i386/fpu/libm-test-ulps: Update.
8870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8871
ab09bf61
AS
88722014-02-18 Andreas Schwab <schwab@suse.de>
8873
8874 [BZ #16574]
8875 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8876 Store non-zero if the second buffer was newly allocated.
8877 (send_dg): Likewise.
8878 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8879 to send_vc and send_dg.
8880 (res_nsend): Pass NULL for ansp2_malloced.
8881 * resolv/res_query.c (__libc_res_nquery): Add parameter
8882 answerp2_malloced and pass it down to __libc_res_nsend.
8883 (res_nquery): Pass additional NULL to __libc_res_nquery.
8884 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8885 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
8886 second answer buffer if answerp2_malloced was set.
8887 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8888 (__libc_res_nquerydomain): Add parameter
8889 answerp2_malloced and pass it down to __libc_res_nquery.
8890 (res_nquerydomain): Pass additional NULL to
8891 __libc_res_nquerydomain.
8892 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8893 additional NULL to __libc_res_nsend and __libc_res_nquery.
8894 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8895 additional NULL to __libc_res_nsearch.
8896 (_nss_dns_gethostbyname4_r): Revert last change. Use new
8897 parameter of __libc_res_nsearch to check for separately allocated
8898 second buffer.
8899 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8900 __libc_res_nquery.
8901 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8902 additional NULL to __libc_res_nquery.
8903 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8904 __libc_res_nsearch.
8905 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8906 * include/resolv.h: Update prototypes of __libc_res_nquery,
8907 __libc_res_nsearch, __libc_res_nsend.
8908
a4fb7861
JM
89092014-02-18 Joseph Myers <joseph@codesourcery.com>
8910
c6af2d89
JM
8911 * math/auto-libm-test-in: Add tests of fma.
8912 * math/auto-libm-test-out: Regenerated.
8913 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8914 (fma_towardzero_test_data): Likewise.
8915 (fma_downward_test_data): Likewise.
8916 (fma_upward_test_data): Likewise.
8917 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8918 mpc_mode.
8919 (rounding_modes): Add values for new field.
8920 (func_calc_method): Add value mpfr_fff_f.
8921 (func_calc_desc): Add mpfr_fff_f union field.
8922 (test_function): Add field exact_args.
8923 (FUNC): Add macro argument EXACT_ARGS.
8924 (FUNC_mpfr_f_f): Update call to FUNC.
8925 (FUNC_mpfr_f_f): Likewise.
8926 (FUNC_mpfr_ff_f): Likewise.
8927 (FUNC_mpfr_if_f): Likewise.
8928 (FUNC_mpc_c_f): Likewise.
8929 (FUNC_mpc_c_c): Likewise.
8930 (test_functions): Add fma. Update calls to FUNC.
8931 (handle_input_arg): Add argument exact_args.
8932 (add_test): Update call to handle_input_arg.
8933 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
8934 (output_for_one_input_case): Update call to calc_generic_results.
8935 Recalculate exact zero results in each rounding mode.
8936
a4fb7861
JM
8937 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8938 non-negative before setting low bit.
8939 * math/auto-libm-test-in: Mark one asin test possibly having
8940 spurious underflow.
8941 * math/auto-libm-test-out: Regenerated.
8942 * sysdeps/i386/fpu/libm-test-ulps: Update.
8943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8944
ef114eaf
DH
89452014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
8946
2b7f4f2c
SP
8947 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8948 * sysdeps/unix/sysv/linux/microblaze: Move directory from
8949 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
8950 * README: Add missing listing for microblaze*-*-linux-gnu.
8951
c70a4b1d
MF
89522014-02-16 Mike Frysinger <vapier@gentoo.org>
8953
8954 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8955 * sysdeps/unix/sysv/linux/ia64: Move directory from
8956 ports/sysdeps/unix/sysv/linux/ia64.
8957 * README: Update listing for ia64-*-linux-gnu.
8958
591aeaf7
TD
89592014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
8960 Joseph Myers <joseph@codesourcery.com>
8961
8962 * Makeconfig (test-name): New variable.
8963 (evaluate-test): Likewise.
8964 * Makerules (do-test-clean): Remove .test-result files.
8965 (common-mostlyclean): Likewise.
8966 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8967 * scripts/evaluate-test.sh: New file.
8968
6e89caf1
JM
89692014-02-14 Joseph Myers <joseph@codesourcery.com>
8970
7f98f180
JM
8971 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8972 separate $(objpfx)tst-fopenloc-cmp.out and
8973 $(objpfx)tst-fopenloc-mem.out targets.
8974 (tests): Update dependencies.
8975 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8976 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8977 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8978 (tst-rxspencer-no-utf8-ARGS): New variable.
8979 (tst-rxspencer-no-utf8-ENV): Likewise.
8980 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8981 instead of $(objpfx)tst-rxspencer-mem.
8982 ($(objpfx)tst-rxspencer-mem): Change target to
8983 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
8984 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8985 * posix/tst-rxspencer-no-utf8.c: New file.
8986
6e89caf1
JM
8987 * elf/Makefile ($(objpfx)order.out): Remove rule.
8988 [$(run-built-tests) = yes] (tests): Depend on
8989 $(objpfx)order-cmp.out.
8990 ($(objpfx)order-cmp.out): New rule.
8991 [$(run-built-tests) = yes] (tests): Depend on
8992 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8993 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8994 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8995 $(objpfx)tst-array5-static-cmp.out.
8996 ($(objpfx)tst-array1.out): Remove rule.
8997 ($(objpfx)tst-array1-cmp.out): New rule.
8998 ($(objpfx)tst-array1-static.out): Remove rule.
8999 ($(objpfx)tst-array1-static-cmp.out): New rule.
9000 ($(objpfx)tst-array2.out): Remove rule.
9001 ($(objpfx)tst-array2-cmp.out): New rule.
9002 ($(objpfx)tst-array3.out): Remove rule.
9003 ($(objpfx)tst-array3-cmp.out): New rule.
9004 ($(objpfx)tst-array4.out): Remove rule.
9005 ($(objpfx)tst-array4-cmp.out): New rule.
9006 ($(objpfx)tst-array5.out): Remove rule.
9007 ($(objpfx)tst-array5-cmp.out): New rule.
9008 ($(objpfx)tst-array5-static.out): Remove rule.
9009 ($(objpfx)tst-array5-static-cmp.out): New rule.
9010 [$(run-built-tests) = yes] (tests): Depend on
9011 $(objpfx)order2-cmp.out.
9012 ($(objpfx)order2.out): Remove rule.
9013 ($(objpfx)order2-cmp.out): New rule.
9014 ($(objpfx)tst-initorder.out): Remove rule.
9015 [$(run-built-tests) = yes] (tests): Depend on
9016 $(objpfx)tst-initorder-cmp.out.
9017 ($(objpfx)tst-initorder-cmp.out): New rule.
9018 ($(objpfx)tst-initorder2.out): Remove rule.
9019 [$(run-built-tests) = yes] (tests): Depend on
9020 $(objpfx)tst-initorder2-cmp.out.
9021 ($(objpfx)tst-initorder2-cmp.out): New rule.
9022 [$(run-built-tests) = yes] (tests): Depend on
9023 $(objpfx)tst-unused-dep-cmp.out.
9024 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9025 ($(objpfx)tst-unused-dep-cmp.out): New rule.
9026 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9027 on $(objpfx)tst-setvbuf1-cmp.out.
9028 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9029 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9030 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9031 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9032 ($(objpfx)tst-svc.out): Remove rule.
9033 ($(objpfx)tst-svc-cmp.out): New rule.
9034
ed9a38e2
JM
90352014-02-13 Joseph Myers <joseph@codesourcery.com>
9036
9037 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9038 * ctype/ctype.h [__USE_MISC]: Likewise.
9039 * dirent/dirent.h [__USE_MISC]: Likewise.
9040 * grp/grp.h [__USE_MISC]: Likewise.
9041 * io/fcntl.h [__USE_MISC]: Likewise.
9042 * io/sys/stat.h [__USE_MISC]: Likewise.
9043 * libio/stdio.h [__USE_MISC]: Likewise.
9044 * posix/unistd.h [__USE_MISC]: Likewise.
9045 * pwd/pwd.h [__USE_MISC]: Likewise.
9046 * stdlib.h [__USE_MISC]: Likewise.
9047 * string/bits/string2.h [__USE_MISC]: Likewise.
9048 * string/string.h [__USE_MISC]: Likewise.
9049 * time/time.h [__USE_MISC]: Likewise.
9050
d6680619
AS
90512014-02-13 Andreas Schwab <schwab@suse.de>
9052
9053 [BZ #16574]
9054 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9055 second answer buffer if it was separately allocated.
9056
ace614b8
JM
90572014-02-12 Joseph Myers <joseph@codesourcery.com>
9058
743151ae
JM
9059 * sysdeps/mips/math-tests.h: Include <features.h>.
9060 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9061 (ROUNDING_TESTS_long_double): Do not define.
9062 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9063 (EXCEPTION_TESTS_long_double): Likewise.
9064 * sysdeps/mips/mips64/libm-test-ulps: Update.
9065
498afc54
JM
9066 * include/features.h (__USE_BSD): Remove macro definitions.
9067 (__USE_SVID): Likewise.
9068 (_BSD_SOURCE): Likewise.
9069 (_SVID_SOURCE): Likewise.
9070 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9071 from definition of _DEFAULT_SOURCE.
9072 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9073 [_DEFAULT_SOURCE].
9074 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9075 * bits/mman.h [__USE_BSD]: Likewise.
9076 * bits/termios.h [__USE_BSD]: Likewise.
9077 * bits/waitstatus.h [__USE_BSD]: Likewise.
9078 * ctype/ctype.h [__USE_SVID]: Likewise.
9079 * dirent/dirent.h [__USE_BSD]: Likewise.
9080 * grp/grp.h [__USE_SVID]: Likewise.
9081 [__USE_BSD]: Likewise.
9082 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9083 * io/fcntl.h [__USE_BSD]: Likewise.
9084 * io/ftw.h [__USE_BSD]: Likewise.
9085 * io/sys/stat.h [__USE_BSD]: Likewise.
9086 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9087 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9088 * libio/stdio.h [__USE_SVID]: Likewise.
9089 [__USE_BSD]: Likewise.
9090 * math/math.h [__USE_SVID]: Likewise.
9091 [__USE_BSD]: Likewise.
9092 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9093 * misc/bits/syslog.h [__USE_BSD]: Likewise.
9094 * misc/search.h [__USE_SVID]: Likewise.
9095 * misc/sys/mman.h [__USE_BSD]: Likewise.
9096 * misc/sys/syslog.h [__USE_BSD]: Likewise.
9097 * misc/sys/uio.h [__USE_BSD]: Likewise.
9098 * posix/bits/unistd.h [__USE_BSD]: Likewise.
9099 * posix/glob.h [__USE_BSD]: Likewise.
9100 * posix/regex.h [__USE_BSD]: Likewise.
9101 * posix/sys/types.h [__USE_BSD]: Likewise.
9102 [__USE_SVID]: Likewise.
9103 * posix/sys/utsname.h [__USE_SVID]: Likewise.
9104 * posix/sys/wait.h [__USE_BSD]: Likewise.
9105 [__USE_SVID]: Likewise.
9106 * posix/unistd.h [__USE_BSD]: Likewise.
9107 [__USE_SVID]: Likewise.
9108 * pwd/pwd.h [__USE_SVID]: Likewise.
9109 * resolv/netdb.h [__USE_BSD]: Likewise.
9110 * setjmp/setjmp.h [__USE_BSD]: Likewise.
9111 * signal/signal.h [__USE_BSD]: Likewise.
9112 [__USE_SVID]: Likewise.
9113 * socket/sys/socket.h [__USE_BSD]: Likewise.
9114 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9115 * stdlib/stdlib.h [__USE_BSD]: Likewise.
9116 [__USE_SVID]: Likewise.
9117 * string/bits/string2.h [__USE_BSD]: Likewise.
9118 [__USE_SVID]: Likewise.
9119 * string/bits/string3.h [__USE_BSD]: Likewise.
9120 * string/endian.h [__USE_BSD]: Likewise.
9121 * string/string.h [__USE_SVID]: Likewise.
9122 [__USE_BSD]: Likewise.
9123 * string/strings.h [__USE_BSD]: Likewise.
9124 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9125 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9126 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9127 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9128 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9129 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9130 Likewise.
9131 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9132 Likewise.
9133 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9134 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9135 Likewise.
9136 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9137 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9138 Likewise.
9139 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9140 Likewise.
9141 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9142 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9143 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9144 Likewise.
9145 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9146 Likewise.
9147 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9148 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9149 * termios/termios.h [__USE_BSD]: Likewise.
9150 * time/sys/time.h [__USE_BSD]: Likewise.
9151 * time/time.h [__USE_BSD]: Likewise.
9152 [__USE_SVID]: Likewise.
9153
dd7b064c
JM
9154 * Makefile (subdir_targets): Remove subdir_lint.out.
9155
a2c4c199
JM
9156 * stdio-common/Makefile (do-tst-unbputc): Remove target.
9157 (do-tst-printf): Likewise.
9158 (tests): Depend directly on $(objpfx)tst-unbputc.out and
9159 $(objpfx)tst-printf.out.
9160
8756f740
JM
9161 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9162
1b6dd3f1
JM
9163 * Makerules (check-abi-%): Change target to
9164 $(objpfx)check-abi-%.out.
9165 (check-abi target): Update dependencies.
9166 (check-abi-pattern variable): Redirect output of diff to $@.
9167 (check-abi variable): Likewise.
9168 * elf/Makefile (check-abi): Update dependencies.
9169
ace614b8
JM
9170 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9171 unused.
9172 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9173 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9174 subnormal range.
9175 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9176 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9177 value has largest subnormal exponent.
9178 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9179 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9180 * sysdeps/aarch64/soft-fp/sfp-machine.h
9181 (_FP_TININESS_AFTER_ROUNDING): New macro.
9182 * sysdeps/alpha/soft-fp/sfp-machine.h
9183 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9184 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9185 Likewise.
9186 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9187 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9188 * sysdeps/mips/soft-fp/sfp-machine.h
9189 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9190 * sysdeps/powerpc/soft-fp/sfp-machine.h
9191 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9192 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9193 Likewise.
9194 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9195 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9196 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9197 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9198 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9199 Likewise.
9200
fbfdf9cb
DAS
92012014-02-12 Dylan Alex Simon <dylan@dylex.net>
9202
9203 [BZ #16545]
9204 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9205 model 1.
9206
68b7efaa
RH
92072014-02-12 Richard Henderson <rth@redhat.com>
9208
c70a4b1d 9209 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
9210 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9211 * sysdeps/unix/sysv/linux/alpha: Move directory from
9212 ports/sysdeps/unix/sysv/linux/alpha.
9213 * README: Update listing for alpha-*-linux-gnu.
9214
cb4a2928
JM
92152014-02-11 Joseph Myers <joseph@codesourcery.com>
9216
c941736c
JM
9217 * include/features.h: Update comment documenting feature test
9218 macros.
9219 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
9220 _DEFAULT_SOURCE.
9221 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9222 (_SVID_SOURCE): Likewise.
9223 (_DEFAULT_SOURCE): Update description of default features.
9224 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9225 with _GNU_SOURCE.
9226 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9227 (S_ISVTX): Likewise.
9228 * manual/math.texi (Mathematical Constants): Likewise.
9229 * manual/signal.texi (Interrupted Primitives): Likewise.
9230 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9231 * math/test-matherr.c (_SVID_SOURCE): Do not define.
9232 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9233 Don't refer to _SVID_SOURCE in warning text.
9234
e8d8d7ec
JM
9235 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9236
cb4a2928
JM
9237 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9238 already defined.
9239 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9240 * sysdeps/mips/dl-lookup.c: Remove.
9241 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9242
7e6424e3
AK
92432014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9244
9245 [BZ #16447]
9246 * math/auto-libm-test-in: Add testcase for expl.
9247 * math/auto-libm-test-out: Regenerate.
9248 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9249 calculation of unsafe.
9250 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9251
75eff3fe
MS
92522014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
9253
9254 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9255 * sysdeps/unix/sysv/linux/aarch64: Move directory from
9256 ports/sysdeps/unix/sysv/linux/aarch64.
9257 * README: Update listing for aarch64*-*-linux-gnu.
9258
d35f1e80
WN
92592014-02-11 Will Newton <will.newton@linaro.org>
9260
9261 * manual/probes.texi (Mathematical Function Probes): Use
9262 "triggered" instead of "hit".
9263
7b3436d4
WN
9264 * manual/probes.texi (Internal Probes): Add documentation
9265 of setjmp, longjmp and longjmp_target probes.
9266
b4f12ca3
WN
9267 * include/stap-probe.h: Add comment about probe argument
9268 format.
9269
c13a72b7
WN
9270 * malloc/mtrace.c (attribute_hidden): Remove unused macro
9271 definition. (tr_where, tr_freehook, tr_mallochook,
9272 tr_reallochook, tr_memalignhook): Use ANSI protoype.
9273
195b8165
DM
92742014-02-11 David S. Miller <davem@davemloft.net>
9275
9276 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9277 processing int_tests.
9278
2ad7600b
JM
92792014-02-10 Joseph Myers <joseph@codesourcery.com>
9280
9281 * sysdeps/mips: Move directory from ports/sysdeps/mips.
9282 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9283 * sysdeps/unix/sysv/linux/mips: Move directory from
9284 ports/sysdeps/unix/sysv/linux/mips.
9285 * README: Update listing for mips-*-linux-gnu and
9286 mips64-*-linux-gnu.
9287
73588a72
AS
92882014-02-10 Andreas Schwab <schwab@linux-m68k.org>
9289
9290 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9291 * sysdeps/unix/sysv/linux/m68k: Move directory from
9292 ports/sysdeps/unix/sysv/linux/m68k.
9293 * README: Update listing for m68k-*-linux-gnu.
9294
4372980f
CM
92952014-02-10 Chris Metcalf <cmetcalf@tilera.com>
9296
9297 * sysdeps/tile: Move directory from ports/sysdeps/tile.
9298 * sysdeps/unix/sysv/linux/generic: Move directory from
9299 ports/sysdeps/unix/sysv/linux/generic.
9300 * sysdeps/unix/sysv/linux/tile: Move directory from
9301 ports/sysdeps/unix/sysv/linux/tile.
9302 * README: Update listing for tile*-*-linux-gnu.
9303
a1ffb40e
OB
93042014-02-10 Ondřej Bílka <neleai@seznam.cz>
9305
57f41c40
AS
9306 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9307 __builtin_expect.
a1ffb40e
OB
9308 * benchtests/bench-memmem.c (simple_memmem): Likewise.
9309 * catgets/open_catalog.c (__open_catalog): Likewise.
9310 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9311 * debug/confstr_chk.c: Likewise.
9312 * debug/fread_chk.c (__fread_chk): Likewise.
9313 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9314 * debug/getgroups_chk.c: Likewise.
9315 * debug/mbsnrtowcs_chk.c: Likewise.
9316 * debug/mbsrtowcs_chk.c: Likewise.
9317 * debug/mbstowcs_chk.c: Likewise.
9318 * debug/memcpy_chk.c: Likewise.
9319 * debug/memmove_chk.c: Likewise.
9320 * debug/mempcpy_chk.c: Likewise.
9321 * debug/memset_chk.c: Likewise.
9322 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9323 * debug/strcat_chk.c (__strcat_chk): Likewise.
9324 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9325 * debug/strncat_chk.c (__strncat_chk): Likewise.
9326 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9327 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9328 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9329 * debug/wcpncpy_chk.c: Likewise.
9330 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9331 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9332 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9333 * debug/wcsncpy_chk.c: Likewise.
9334 * debug/wcsnrtombs_chk.c: Likewise.
9335 * debug/wcsrtombs_chk.c: Likewise.
9336 * debug/wcstombs_chk.c: Likewise.
9337 * debug/wmemcpy_chk.c: Likewise.
9338 * debug/wmemmove_chk.c: Likewise.
9339 * debug/wmempcpy_chk.c: Likewise.
9340 * debug/wmemset_chk.c: Likewise.
9341 * dirent/scandirat.c (SCANDIRAT): Likewise.
9342 * dlfcn/dladdr1.c (dladdr1): Likewise.
9343 * dlfcn/dladdr.c (dladdr): Likewise.
9344 * dlfcn/dlclose.c (dlclose_doit): Likewise.
9345 * dlfcn/dlerror.c (__dlerror): Likewise.
9346 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9347 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9348 * dlfcn/dlopen.c (dlopen_doit): Likewise.
9349 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9350 * dlfcn/dlsym.c (dlsym_doit): Likewise.
9351 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9352 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9353 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9354 Likewise.
9355 * elf/dl-conflict.c: Likewise.
9356 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9357 * elf/dl-dst.h: Likewise.
9358 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9359 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9360 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9361 * elf/dl-init.c (call_init, _dl_init): Likewise.
9362 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
9363 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9364 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9365 Likewise.
a1ffb40e
OB
9366 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9367 Likewise.
9368 * elf/dl-minimal.c (__libc_memalign): Likewise.
9369 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9370 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9371 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9372 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
9373 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9374 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
9375 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9376 * elf/dl-writev.h (_dl_writev): Likewise.
9377 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
9378 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9379 (dl_main): Likewise.
a1ffb40e
OB
9380 * elf/setup-vdso.h (setup_vdso): Likewise.
9381 * grp/compat-initgroups.c (compat_call): Likewise.
9382 * grp/fgetgrent.c (fgetgrent): Likewise.
9383 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9384 * grp/putgrent.c (putgrent): Likewise.
9385 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9386 Likewise.
9387 * hurd/hurdinit.c: Likewise.
9388 * iconvdata/8bit-gap.c (struct): Likewise.
9389 * iconvdata/ansi_x3.110.c : Likewise.
9390 * iconvdata/big5.c : Likewise.
9391 * iconvdata/big5hkscs.c : Likewise.
9392 * iconvdata/cp1255.c: Likewise.
9393 * iconvdata/cp1258.c : Likewise.
9394 * iconvdata/cp932.c : Likewise.
9395 * iconvdata/euc-cn.c: Likewise.
9396 * iconvdata/euc-jisx0213.c : Likewise.
9397 * iconvdata/euc-jp.c: Likewise.
9398 * iconvdata/euc-jp-ms.c : Likewise.
9399 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9400 * iconvdata/gb18030.c : Likewise.
9401 * iconvdata/gbbig5.c (const): Likewise.
9402 * iconvdata/gbgbk.c: Likewise.
9403 * iconvdata/gbk.c : Likewise.
9404 * iconvdata/ibm1364.c : Likewise.
9405 * iconvdata/ibm930.c : Likewise.
9406 * iconvdata/ibm932.c: Likewise.
9407 * iconvdata/ibm933.c : Likewise.
9408 * iconvdata/ibm935.c : Likewise.
9409 * iconvdata/ibm937.c : Likewise.
9410 * iconvdata/ibm939.c : Likewise.
9411 * iconvdata/ibm943.c: Likewise.
9412 * iconvdata/iso_11548-1.c: Likewise.
9413 * iconvdata/iso-2022-cn.c : Likewise.
9414 * iconvdata/iso-2022-cn-ext.c : Likewise.
9415 * iconvdata/iso-2022-jp-3.c: Likewise.
9416 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9417 * iconvdata/iso-2022-kr.c : Likewise.
9418 * iconvdata/iso646.c (gconv_end): Likewise.
9419 * iconvdata/iso_6937-2.c : Likewise.
9420 * iconvdata/iso_6937.c : Likewise.
9421 * iconvdata/iso8859-1.c: Likewise.
9422 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9423 * iconvdata/shift_jisx0213.c : Likewise.
9424 * iconvdata/sjis.c : Likewise.
9425 * iconvdata/t.61.c : Likewise.
9426 * iconvdata/tcvn5712-1.c : Likewise.
9427 * iconvdata/tscii.c: Likewise.
9428 * iconvdata/uhc.c : Likewise.
9429 * iconvdata/unicode.c (gconv_end): Likewise.
9430 * iconvdata/utf-16.c (gconv_end): Likewise.
9431 * iconvdata/utf-32.c (gconv_end): Likewise.
9432 * iconvdata/utf-7.c (base64): Likewise.
9433 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9434 * iconv/gconv_close.c (__gconv_close): Likewise.
9435 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
9436 * iconv/gconv_simple.c (internal_ucs4_loop_single)
9437 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9438 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9439 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9440 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
9441 * iconv/iconv.c (iconv): Likewise.
9442 * iconv/iconv_close.c: Likewise.
9443 * iconv/loop.c (SINGLE): Likewise.
9444 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9445 * include/atomic.h: Likewise.
9446 * inet/inet6_option.c (option_alloc): Likewise.
9447 * intl/bindtextdom.c (set_binding_values): Likewise.
9448 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9449 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9450 * intl/localealias.c (read_alias_file): Likewise.
9451 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
9452 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9453 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
9454 * libio/fmemopen.c (fmemopen): Likewise.
9455 * libio/iofgets.c (_IO_fgets): Likewise.
9456 * libio/iofgets_u.c (fgets_unlocked): Likewise.
9457 * libio/iofgetws.c (fgetws): Likewise.
9458 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9459 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
9460 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9461 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
9462 * locale/findlocale.c (_nl_find_locale): Likewise.
9463 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9464 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9465 Likewise.
9466 * locale/setlocale.c (setlocale): Likewise.
9467 * login/programs/pt_chown.c (main): Likewise.
9468 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9469 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
9470 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9471 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
9472 * math/e_exp2l.c: Likewise.
9473 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9474 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9475 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9476 * math/s_catan.c (__catan): Likewise.
9477 * math/s_catanf.c (__catanf): Likewise.
9478 * math/s_catanh.c (__catanh): Likewise.
9479 * math/s_catanhf.c (__catanhf): Likewise.
9480 * math/s_catanhl.c (__catanhl): Likewise.
9481 * math/s_catanl.c (__catanl): Likewise.
9482 * math/s_ccosh.c (__ccosh): Likewise.
9483 * math/s_ccoshf.c (__ccoshf): Likewise.
9484 * math/s_ccoshl.c (__ccoshl): Likewise.
9485 * math/s_cexp.c (__cexp): Likewise.
9486 * math/s_cexpf.c (__cexpf): Likewise.
9487 * math/s_cexpl.c (__cexpl): Likewise.
9488 * math/s_clog10.c (__clog10): Likewise.
9489 * math/s_clog10f.c (__clog10f): Likewise.
9490 * math/s_clog10l.c (__clog10l): Likewise.
9491 * math/s_clog.c (__clog): Likewise.
9492 * math/s_clogf.c (__clogf): Likewise.
9493 * math/s_clogl.c (__clogl): Likewise.
9494 * math/s_csin.c (__csin): Likewise.
9495 * math/s_csinf.c (__csinf): Likewise.
9496 * math/s_csinh.c (__csinh): Likewise.
9497 * math/s_csinhf.c (__csinhf): Likewise.
9498 * math/s_csinhl.c (__csinhl): Likewise.
9499 * math/s_csinl.c (__csinl): Likewise.
9500 * math/s_csqrt.c (__csqrt): Likewise.
9501 * math/s_csqrtf.c (__csqrtf): Likewise.
9502 * math/s_csqrtl.c (__csqrtl): Likewise.
9503 * math/s_ctan.c (__ctan): Likewise.
9504 * math/s_ctanf.c (__ctanf): Likewise.
9505 * math/s_ctanh.c (__ctanh): Likewise.
9506 * math/s_ctanhf.c (__ctanhf): Likewise.
9507 * math/s_ctanhl.c (__ctanhl): Likewise.
9508 * math/s_ctanl.c (__ctanl): Likewise.
9509 * math/w_pow.c: Likewise.
9510 * math/w_powf.c: Likewise.
9511 * math/w_powl.c: Likewise.
9512 * math/w_scalb.c (sysv_scalb): Likewise.
9513 * math/w_scalbf.c (sysv_scalbf): Likewise.
9514 * math/w_scalbl.c (sysv_scalbl): Likewise.
9515 * misc/error.c (error_tail): Likewise.
9516 * misc/pselect.c (__pselect): Likewise.
9517 * nis/nis_callback.c (__nis_create_callback): Likewise.
9518 * nis/nis_call.c (__nisfind_server): Likewise.
9519 * nis/nis_creategroup.c (nis_creategroup): Likewise.
9520 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9521 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9522 * nis/nis_getservlist.c (nis_getservlist): Likewise.
9523 * nis/nis_lookup.c (nis_lookup): Likewise.
9524 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
9525 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9526 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 9527 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
9528 * nis/nss_compat/compat-grp.c (getgrent_next_file)
9529 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9530 * nis/nss_compat/compat-initgroups.c (add_group)
9531 (internal_getgrent_r): Likewise.
9532 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9533 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9534 * nis/nss_compat/compat-spwd.c (getspent_next_file)
9535 (internal_getspnam_r): Likewise.
9536 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9537 (_nss_nis_getaliasbyname_r): Likewise.
9538 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9539 (_nss_nis_getntohost_r): Likewise.
9540 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9541 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9542 (_nss_nis_getgrgid_r): Likewise.
9543 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9544 (internal_nis_gethostent_r, internal_gethostbyname2_r)
9545 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9546 (_nss_nis_gethostbyname4_r): Likewise.
9547 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9548 (initgroups_netid): Likewise.
a1ffb40e 9549 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
9550 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9551 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9552 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9553 (_nss_nis_getprotobynumber_r): Likewise.
9554 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9555 (_nss_nis_getsecretkey): Likewise.
9556 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9557 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9558 (_nss_nis_getpwuid_r): Likewise.
9559 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9560 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9561 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9562 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9563 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9564 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
9565 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9566 Likewise.
57f41c40
AS
9567 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9568 (_nss_nisplus_getntohost_r): Likewise.
9569 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9570 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9571 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9572 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 9573 Likewise.
57f41c40
AS
9574 * nis/nss_nisplus/nisplus-initgroups.c
9575 (_nss_nisplus_initgroups_dyn): Likewise.
9576 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9577 (_nss_nisplus_getnetbyaddr_r): Likewise.
9578 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9579 (_nss_nisplus_getprotobynumber_r): Likewise.
9580 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9581 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
9582 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9583 Likewise.
57f41c40
AS
9584 * nis/nss_nisplus/nisplus-service.c
9585 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9586 (_nss_nisplus_getservbyport_r): Likewise.
9587 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9588 (_nss_nisplus_getspnam_r): Likewise.
9589 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9590 Likewise.
a1ffb40e
OB
9591 * nscd/aicache.c (addhstaiX): Likewise.
9592 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
9593 * nscd/connections.c (register_traced_file, send_ro_fd)
9594 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9595 (main_loop_epoll): Likewise.
a1ffb40e
OB
9596 * nscd/grpcache.c (addgrbyX): Likewise.
9597 * nscd/hstcache.c (addhstbyX): Likewise.
9598 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9599 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
9600 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9601 (addinnetgrX): Likewise.
9602 * nscd/nscd-client.h (__nscd_acquire_maplock)
9603 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
9604 * nscd/nscd_getai.c (__nscd_getai): Likewise.
9605 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9606 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9607 Likewise.
9608 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9609 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
9610 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9611 (__nscd_get_map_ref): Likewise.
a1ffb40e 9612 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
9613 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9614 Likewise.
a1ffb40e
OB
9615 * nscd/pwdcache.c (addpwbyX): Likewise.
9616 * nscd/selinux.c (preserve_capabilities): Likewise.
9617 * nscd/servicescache.c (addservbyX): Likewise.
9618 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9619 * posix/fnmatch.c (fnmatch): Likewise.
9620 * posix/getopt.c (_getopt_internal_r): Likewise.
9621 * posix/glob.c (glob, glob_in_dir): Likewise.
9622 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
9623 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9624 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
9625 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9626 * resolv/res_init.c: Likewise.
9627 * resolv/res_mkquery.c (res_nmkquery): Likewise.
9628 * resolv/res_query.c (__libc_res_nquery): Likewise.
9629 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9630 Likewise.
9631 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9632 * stdio-common/perror.c (perror): Likewise.
9633 * stdio-common/printf_fp.c (___printf_fp): Likewise.
9634 * stdio-common/tmpnam.c (tmpnam): Likewise.
9635 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9636 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
9637 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9638 Likewise.
a1ffb40e
OB
9639 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9640 * stdlib/putenv.c (putenv): Likewise.
9641 * stdlib/setenv.c (__add_to_environ): Likewise.
9642 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9643 * stdlib/strtol_l.c (INTERNAL): Likewise.
9644 * string/memmem.c (memmem): Likewise.
9645 * string/strerror.c (strerror): Likewise.
9646 * string/strnlen.c (__strnlen): Likewise.
9647 * string/test-memmem.c (simple_memmem): Likewise.
9648 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9649 * sunrpc/pm_getport.c (__get_socket): Likewise.
9650 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9651 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
9652 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9653 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
9654 Likewise.
9655 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9656 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9657 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9658 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9659 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
9660 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9661 Likewise.
9662 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9663 Likewise.
a1ffb40e
OB
9664 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9665 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9666 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9667 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9668 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9669 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9670 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9671 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9672 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9673 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9674 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9675 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9676 Likewise.
9677 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9678 Likewise.
9679 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9680 Likewise.
9681 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9682 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9683 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9684 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9685 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9686 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9687 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9688 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9689 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9690 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9691 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9692 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9693 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9694 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9695 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
9696 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9697 Likewise.
a1ffb40e
OB
9698 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9699 Likewise.
9700 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9701 Likewise.
9702 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9703 Likewise.
9704 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9705 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9706 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9707 Likewise.
9708 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9709 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9710 * sysdeps/posix/opendir.c (__opendirat): Likewise.
9711 * sysdeps/posix/sleep.c: Likewise.
9712 * sysdeps/posix/tempname.c: Likewise.
9713 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9714 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9715 Likewise.
57f41c40
AS
9716 * sysdeps/powerpc/powerpc32/dl-machine.h
9717 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
9718 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9719 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9720 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9721 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9722 Likewise.
9723 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
9724 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9725 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9726 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9727 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
9728 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9729 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9730 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9731 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9732 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
9733 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9734 (elf_machine_lazy_rel): Likewise.
a1ffb40e 9735 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
9736 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9737 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
9738 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9739 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9740 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9741 * sysdeps/unix/grantpt.c (grantpt): Likewise.
9742 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9743 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9744 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9745 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9746 Likewise.
9747 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9748 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9749 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9750 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9751 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9752 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9753 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9754 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9755 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9756 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9757 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9758 Likewise.
9759 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9760 (__posix_fallocate64_l64): Likewise.
9761 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9762 (posix_fallocate): Likewise.
57f41c40
AS
9763 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9764 Likewise.
a1ffb40e 9765 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
9766 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9767 (getifaddrs_internal): Likewise.
a1ffb40e
OB
9768 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9769 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9770 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9771 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9772 * sysdeps/unix/sysv/linux/posix_fallocate64.c
9773 (__posix_fallocate64_l64): Likewise.
9774 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9775 Likewise.
9776 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
9777 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9778 (__get_clockfreq): Likewise.
a1ffb40e
OB
9779 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9780 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9781 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9782 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9783 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9784 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9785 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9786 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9787 Likewise.
9788 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9789 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9790 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9791 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9792 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9793 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9794 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9795 Likewise.
9796 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9797 (posix_fallocate): Likewise.
9798 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9799 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9800 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
9801 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9802 (elf_machine_rela, elf_machine_rela_relative)
9803 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
9804 * time/asctime.c (asctime_internal): Likewise.
9805 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9806 * time/tzset.c (__tzset_parse_tz): Likewise.
9807 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9808 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9809 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9810 * wcsmbs/wcsmbsload.h: Likewise.
9811
f3d338c9
OB
9812 [BZ #15894]
9813 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9814
57f41c40
AS
9815 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9816 (arena_get2): Remove THREAD_STATS conditionals.
9817 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9818 (__malloc_stats, int): Likewise.
bdfe308a 9819
d674667c
MF
98202014-02-08 Mike Frysinger <vapier@gentoo.org>
9821
9822 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9823 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
9824
6349768c
MF
9825 * manual/setjmp.texi: Fix typos/grammar errors.
9826
0b7c7473
MF
9827 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9828 Only return early when n is <= 0. Delete unused return statement.
9829
ac8cc9e3
MF
9830 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9831 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9832 * debug/tst-longjmp_chk3.c: New file.
9833
c5bb8e23
MF
9834 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9835 (test_main): Replace code with set_fortify_handler call.
9836 * debug/test-strcpy_chk.c: Likewise.
9837 * debug/tst-chk1.c: Likewise.
9838 * debug/tst-longjmp_chk.c: Likewise.
9839 * test-skeleton.c: Include fcntl.h & paths.h
9840 (set_fortify_handler): Define.
9841
10444e42
MF
9842 * debug/tst-longjmp_chk.c: Add header comment and include
9843 ../test-skeleton.c.
9844 (do_test): Mark static.
9845 (TEST_FUNCTION): Define.
9846
1e805e8d
MF
9847 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9848 (IP_PMTUDISC_INTERFACE): Likewise.
9849 (IP_MULTICAST_IF): Likewise.
9850 (IP_MULTICAST_TTL): Likewise.
9851 (IP_MULTICAST_LOOP): Likewise.
9852 (IP_ADD_MEMBERSHIP): Likewise.
9853 (IP_DROP_MEMBERSHIP): Likewise.
9854 (IP_UNBLOCK_SOURCE): Likewise.
9855 (IP_BLOCK_SOURCE): Likewise.
9856 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9857 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9858 (IP_MSFILTER): Likewise.
9859 (MCAST_JOIN_GROUP): Likewise.
9860 (MCAST_BLOCK_SOURCE): Likewise.
9861 (MCAST_UNBLOCK_SOURCE): Likewise.
9862 (MCAST_LEAVE_GROUP): Likewise.
9863 (MCAST_JOIN_SOURCE_GROUP): Likewise.
9864 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9865 (MCAST_MSFILTER): Likewise.
9866 (IP_MULTICAST_ALL): Likewise.
9867 (IP_UNICAST_IF): Likewise.
9868
73f79bb7
MF
9869 * timezone/Makefile: Delete $(have-ksh) check.
9870 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9871 * timezone/tzselect.ksh: Add +x mode bits.
9872
8da79b60
MF
9873 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9874 (ANON_INODE_FS_MAGIC): Likewise.
9875 (BDEVFS_MAGIC): Likewise.
9876 (BINFMTFS_MAGIC): Likewise.
9877 (BTRFS_TEST_MAGIC): Likewise.
9878 (CRAMFS_MAGIC_WEND): Likewise.
9879 (DEBUGFS_MAGIC): Likewise.
9880 (ECRYPTFS_SUPER_MAGIC): Likewise.
9881 (EXT3_SUPER_MAGIC): Likewise.
9882 (EXT4_SUPER_MAGIC): Likewise.
9883 (FUTEXFS_SUPER_MAGIC): Likewise.
9884 (HOSTFS_SUPER_MAGIC): Likewise.
9885 (HUGETLBFS_MAGIC): Likewise.
9886 (MINIX3_SUPER_MAGIC): Likewise.
9887 (MTD_INODE_FS_MAGIC): Likewise.
9888 (NILFS_SUPER_MAGIC): Likewise.
9889 (OPENPROM_SUPER_MAGIC): Likewise.
9890 (PIPEFS_MAGIC): Likewise.
9891 (PSTOREFS_MAGIC): Likewise.
9892 (QNX6_SUPER_MAGIC): Likewise.
9893 (RAMFS_MAGIC): Likewise.
9894 (REISERFS_SUPER_MAGIC_STRING): Likewise.
9895 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9896 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9897 (SECURITYFS_MAGIC): Likewise.
9898 (SELINUX_MAGIC): Likewise.
9899 (SMACK_MAGIC): Likewise.
9900 (SOCKFS_MAGIC): Likewise.
9901 (SQUASHFS_MAGIC): Likewise.
9902 (STACK_END_MAGIC): Likewise.
9903 (TMPFS_MAGIC): Likewise.
9904 (USBDEVICE_SUPER_MAGIC): Likewise.
9905 (V9FS_MAGIC): Likewise.
9906 (XENFS_SUPER_MAGIC): Likewise.
9907 (CRAMFS_MAGIC): Fix typo in comment.
9908 (EXT2_SUPER_MAGIC): Update comment.
9909 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9910
464263cc
JM
99112014-02-08 Joseph Myers <joseph@codesourcery.com>
9912
c6bfe5c4
JM
9913 * sysdeps/arm: Move directory from ports/sysdeps/arm.
9914 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9915 * sysdeps/unix/sysv/linux/arm: Move directory from
9916 ports/sysdeps/unix/sysv/linux/arm.
9917 * README: Update listing for arm-*-linux-gnueabi.
9918
464263cc
JM
9919 * README: Remove mention of am33.
9920
32749f6c
RM
99212014-02-07 Roland McGrath <roland@hack.frob.com>
9922
9923 * bits/sigset.h (__sigemptyset): Use a statement expression rather
9924 than the comma operator, to avoid "rhs of comma has no effect"
9925 compiler warnings.
9926 (__sigfillset, __sigandset, __sigorset): Likewise.
9927 * include/signal.h (__sigemptyset): Likewise.
9928 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9929
d5b396c1
AM
99302014-02-07 Allan McRae <allan@archlinux.org>
9931
9932 * version.h (RELEASE): Set to "development".
9933 (VERSION): Set to "2.19.90"
9934 * NEWS: Add 2.20 section.
9935
3bfff2ed
CD
99362014-02-06 Carlos O'Donell <carlos@redhat.com>
9937
9938 [BZ #16529]
9939 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9940
ee7cc385
SP
99412014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9942
9943 * manual/contrib.texi: Update entry for Carlos O'Donell,
9944 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9945
f877c4f2
CD
99462014-02-05 Carlos O'Donell <carlos@rehdat.com>
9947
27e839f6
CD
9948 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9949
f877c4f2
CD
9950 * sysdeps/unix/sysv/linux/kernel-features.h
9951 [__LINUX_KERNEL_VERSION >= 0x020621]
9952 (__ASSUME_PROC_PID_TASK_COMM): Define.
9953
68159946
SP
99542014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9955
ba17cdbd
SP
9956 [BZ #16398]
9957 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9958 conversion when destination buffer does not have enough space.
9959 * libio/tst-ftell-partial-wide.c: New test case.
9960 * libio/Makefile (tests): Add tst-ftell-partial-wide.
9961
68159946
SP
9962 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9963 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
9964 Leonard and Allan McRae.
9965
2b528732
DM
99662014-02-04 David S. Miller <davem@davemloft.net>
9967
9968 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9969 32-bit.
9970
0ff82463
AZ
99712014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9972
57f41c40
AS
9973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9974 New file
c01603f7
AZ
9975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9976 New file
57f41c40
AS
9977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9978 New file.
9979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9980 New file.
c01603f7
AZ
9981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9982 New file.
57f41c40
AS
9983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9984 New file.
9985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9986 New file.
c01603f7
AZ
9987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9988 New file.
9989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9990 New file.
9991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9992 New file.
9993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9994 New file.
9995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9996 New file.
9997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9998 New file.
9999
100002014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10001
0ff82463
AZ
10002 * nptl/shlib-versions: Change powerpc*le start to 2.17.
10003 * shlib-versions: Likewise.
10004
1695c773
AZ
100052014-02-04 Roland McGrath <roland@hack.frob.com>
10006 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10007
10008 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10009 (abilist-pattern): New variable, set to %-le.abilist.
10010
10011 * Makerules (abilist-pattern): New variable.
10012 (vpath): Use $(abilist-pattern) in place of %.abilist.
10013 (check-abi-% pattern rule): Likewise.
10014 (check-abi, update-abi): Likewise.
10015
6c0ce4b4
EW
100162014-02-04 Eric Wong <normalperson@yhbt.net>
10017
10018 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10019
481e3524
CD
100202014-02-03 Carlos O'Donell <carlos@redhat.com>
10021
10022 * manual/startup.texi: Add next, previous, and top entries for
10023 the `Program Arguments' and `Environment Variables' nodes.
10024
375592d3
AO
100252014-02-03 Alexandre Oliva <aoliva@redhat.com>
10026
10027 * manual/macros.texi: Add comments before MTASC-safety macros.
10028
f54838ba
AO
10029 * manual/users.texi: Document MTASC-safety properties.
10030
57f41c40
AS
10031 * manual/threads.texi (pthread_key_create, pthread_key_delete)
10032 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
10033 @deftypefun, and add @safety note.
10034 * manual/signal.texi: Move comments that analyze the above
10035 functions to their home place.
10036
fd3daba4
AM
100372014-02-03 Allan McRae <allan@archlinux.org>
10038
10039 * po/sl.po: Update Slovenian translation from translation project.
10040
597636d7
AO
100412014-02-02 Alexandre Oliva <aoliva@redhat.com>
10042
10043 * manual/time.texi (timegm): Add missing blank after @c.
10044 Reported by Joseph Myers <joseph@codesourcery.com>.
10045
ee196e3c
AO
100462014-02-01 Alexandre Oliva <aoliva@redhat.com>
10047
10048 * manual/check-safety.sh: New.
10049 * manual/Makefile ($(objpfx)stamp-summary): Run it.
10050
f8d529d5
AO
10051 * manual/terminal.texi: Document MTASC-safety properties.
10052
de55fdf4
AO
10053 * manual/filesys.texi: Document MTASC-safety properties.
10054
c3299c08
AO
10055 * manual/errno.texi: Document MTASC-safety properties.
10056
06e90b14
AO
10057 * manual/intro.texi: Document safety identifiers and
10058 conditionals.
10059
1acd4371
AO
10060 * manual/string.texi (wcstok): Fix prototype.
10061 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10062
23e5b8cb
AO
10063 * manual/time.texi: Document MTASC-safety properties.
10064
11087373
AO
10065 * manual/string.texi: Document MTASC-safety properties.
10066
5da2c93d
AO
10067 * manual/threads.texi: Document MTASC-safety properties.
10068
171e9210
AO
10069 * manual/stdio.texi: Document MTASC-safety properties.
10070
d9e02532
AO
10071 * manual/syslog.texi: Document MTASC-safety properties.
10072
6af8bab7
AO
10073 * manual/sysinfo.texi: Document MTASC-safety properties.
10074
663b02d7
AO
10075 * manual/startup.texi: Document MTASC-safety properties.
10076
973f180b
AO
10077 * manual/socket.texi: Document MTASC-safety properties.
10078
8f3c25c8
AO
10079 * manual/signal.texi: Document MTASC-safety properties.
10080
542210fb
AO
100812014-01-31 Alexandre Oliva <aoliva@redhat.com>
10082
10083 * manual/setjmp.texi: Document MTASC-safety properties.
10084
433c45a2
AO
10085 * manual/search.texi: Document MTASC-safety properties.
10086
c8ce789c
AO
10087 * manual/resource.texi: Document MTASC-safety properties.
10088
19f5d29c
AO
10089 * manual/process.texi: Document MTASC-safety properties.
10090
e2dfb7f4
AO
10091 * manual/platform.texi: Document MTASC-safety properties.
10092
8c1413f5
AO
10093 * manual/pipe.texi: Document MTASC-safety properties.
10094
03483ada
AO
10095 * manual/pattern.texi: Document MTASC-safety properties.
10096
29e7e2df
AO
10097 * manual/message.texi: Document MTASC-safety properties.
10098
9f529d7c
AO
10099 [BZ #12751]
10100 * manual/memory.texi: Document MTASC-safety properties.
10101
27aaa791
AO
10102 * manual/math.texi: Document MTASC-safety properties.
10103
f2d58726
AO
10104 * manual/locale.texi: Document MTASC-safety properties.
10105
2cc3615c
AO
10106 * manual/llio.texi: Document MTASC-safety properties.
10107
d9f0ec97
AO
10108 * manual/libdl.texi: New.
10109
e7c4409a
AO
10110 * manual/lang.texi: Document MTASC-safety properties.
10111
27bdc63c
AO
10112 * manual/job.texi: Document MTASC-safety properties.
10113
a7b90ea9
AO
10114 * manual/getopt.texi: Document MTASC-safety properties.
10115
c49130e3
AO
10116 * manual/ctype.texi: Document MTASC-safety properties.
10117
0d23a5c1
MR
101182014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
10119
10120 [BZ #16046]
10121 * csu/libc-tls.c (static_map): Remove variable.
10122 (__libc_setup_tls): Use main executable's link map for TLS data.
10123 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10124 casing for LM_ID_BASE and GL(dl_nns).
10125 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10126 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
10127 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10128 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10129 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10130 member.
10131 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10132 l_phnum members.
10133
0037bb60
AO
101342014-01-30 Alexandre Oliva <aoliva@redhat.com>
10135
10136 * manual/debug.texi: Document MTASC-safety properties.
10137
409e00bd
L
101382014-01-29 H.J. Lu <hongjiu.lu@intel.com>
10139
10140 [BZ #16510]
10141 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10142 of __x86_64__ when disabling x87 inline functions.
10143
86e60666
AO
101442014-01-29 Alexandre Oliva <aoliva@redhat.com>
10145
10146 * manual/charset.texi: Document MTASC-safety properties.
10147
76167637
AO
10148 * manual/crypt.texi: Document MTASC-safety properties.
10149
e567f2a0
AO
10150 * manual/conf.texi: Document MTASC-safety properties.
10151
b719dafd
AO
10152 * manual/arith.texi: Document MTASC-safety properties.
10153
4a16c662
AO
10154 * manual/argp.texi: Document MTASC-safety properties.
10155
0a57b83e
AO
10156 * manual/macros.texi: Introduce macros to document multi
10157 thread, asynchronous signal and asynchronous cancellation
10158 safety properties.
10159 * manual/intro.texi: Introduce the properties themselves.
10160
feab2397
KK
101612014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10162
10163 * sysdeps/sh/sh4/Makefile: New file.
10164
1c0d11bc
AS
101652014-01-27 Andreas Schwab <schwab@linux-m68k.org>
10166
10167 * math/gen-libm-test.pl ($srcdir): New variable.
10168 ($auto_input): Use it.
10169
af37a8a3
SP
101702014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10171
d7b00f98
SP
10172 [BZ #16506]
10173 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10174 access beyond array bounds when parsing netgroups file.
10175
af37a8a3
SP
10176 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10177 the old buffer before realloc.
10178
0c00f062
AM
101792014-01-27 Allan McRae <allan@archlinux.org>
10180
10181 * po/fr.po: Update French translation from translation project.
10182
7d69a1b0
KK
101832014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10184
10185 * sysdeps/sh/libm-test-ulps: Regenerate.
10186
6e697ff7
DM
101872014-01-24 David S. Miller <davem@davemloft.net>
10188
10189 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10190
9cadb35c
KK
101912014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10192
10193 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10194 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10195
5d41dadf
SP
101962013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10197
10198 [BZ #16474]
10199 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10200 string pointers after reallocation.
10201
0bad441c
KK
102022014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10203
10204 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10205 __SH4A__ instead of __SH_FPU_ANY__.
10206
7007c661
KK
102072014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10208
10209 * sysdeps/sh/fpu_control.h: New file.
10210 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10211 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10212 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10213 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10214 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10215 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10216 * sysdeps/sh/sys/ucontext.h: Remove.
10217 * sysdeps/sh/sys: Remove directory.
10218
0f0c35e4
AK
102192014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10220
10221 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10222 s390/sys/ucontext.h.
10223 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10224 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10225
4959e284
L
102262014-01-20 H.J. Lu <hongjiu.lu@intel.com>
10227
10228 [BZ #15605]
10229 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10230
d98720e0
AZ
102312014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10232
10233 [BZ#16431]
10234 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10235 Adjust the vDSO correctly for internal calls.
10236 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10237
91cbd0bc
AM
102382014-01-20 Allan McRae <allan@archlinux.org>
10239
10240 * po/ca.po: Update Catalan translation from translation project.
10241
7a02cfad
MF
102422014-01-16 Mike Frysinger <vapier@gentoo.org>
10243
10244 * sysdeps/s390/sotruss-lib.c: New file.
10245
736c304a
AZ
102462014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10247
10248 [BZ#16430]
6e077ee5 10249 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
10250 (__GI___gettimeofday): Alias for a different internal symbol to avoid
10251 local calls issues by not having a PLT stub required for IFUNC calls.
10252 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10253
94d0cea0
JM
102542014-01-16 Joseph Myers <joseph@codesourcery.com>
10255
10256 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10257 * math/test-fpucw-static.c: Likewise.
10258
980cb518
SP
102592013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10260
10261 [BZ #16453]
10262 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10263
2393fc01
AZ
102642014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10265
10266 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10267 implementation for powerpc.
10268
d359bcc2
OB
102692014-01-15 Ondřej Bílka <neleai@seznam.cz>
10270
10271 [BZ #14782]
10272 * sysdeps/posix/system.c (__libc_system): Do not enable
10273 asynchronous cancellation.
10274
7beb48cb
AK
102752014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10276
10277 [BZ #16427]
10278 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10279 handling only for numbers special also in the IEEE case.
10280
c20d5bf5
AK
102812014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10282
10283 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10284
e83bd4ee
AM
102852014-01-11 Allan McRae <allan@archlinux.org>
10286
76d0ea69
AM
10287 * po/bg.po: Update Bulgarian translation from translation project.
10288
e83bd4ee
AM
10289 * po/de.po: Update German translation from translation project.
10290
bc2ba20a
RM
102912014-01-10 Roland McGrath <roland@hack.frob.com>
10292
10293 * sysdeps/generic/gcc-compat.h: New file.
10294
649ecea2
SP
102952014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10296
10297 * benchtests/asin-inputs: Correct slow inputs.
10298 * benchtests/acos-inputs: Likewise.
10299
1b19c006
AM
103002014-01-10 Allan McRae <allan@archlinux.org>
10301
a46dab08
AM
10302 * po:sv.po: Update Swedish translation from translation project.
10303
421df74a
AM
10304 * po/vi.po: Update Vietnamese translation from translation project.
10305
d61c51a7
AM
10306 * po/eo.po: Update Esperanto translation from translation project.
10307
0339a319
AM
10308 * po/cs.po: Update Czech translation from translation project.
10309
94ad3e99
AM
10310 * po/nl.po: Update Dutch translation from translation project.
10311
e349ca71
AM
10312 * po/pl.po: Update Polish translation from translation project.
10313
ddf930c1
AM
10314 * po/ru.po: Update Russian translation from translation project.
10315
1b19c006
AM
10316 * po/uk.po: Update Ukrainian translation from translation project.
10317
9f236c49
BM
103182014-01-08 Brooks Moses <bmoses@google.com>
10319
10320 * elf/dl-load.c: Fix comment typo.
10321
cd6701cf
CD
103222014-01-08 Carlos O'Donell <carlos@redhat.com>
10323
10324 * po/header.pot: Rename to...
10325 * po/pot.header: ... this.
10326 * po/Makefile: Use pot.header.
10327
66671c84
YK
103282014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
10329 Maxim Kuvyrkov <maxim@kugelworks.com>
10330
10331 [BZ #16394]
cd6701cf
CD
10332 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10333 SRC and DEST against LEN.
66671c84 10334
38f34581
AZ
103352014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10336
10337 [BZ #16414]
10338 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10339 implementation.
10340 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10341
103422014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
10343
10344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10345
4c327f2a
JM
103462014-01-08 Joseph Myers <joseph@codesourcery.com>
10347
10348 [BZ #16408]
10349 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10350 for large positive arguments.
10351
b821f414
JM
103522014-01-07 Joseph Myers <joseph@codesourcery.com>
10353
1f0f2067
JM
10354 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10355
a5a326f6
JM
10356 * math/auto-libm-test-in: Mark various tests with
10357 xfail-rounding:ldbl-128ibm.
10358 * math/auto-libm-test-out: Regenerated.
10359
b821f414
JM
10360 [BZ #16407]
10361 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10362 Increase overflow threshold.
10363
94c8a4bc
OB
103642014-01-07 Ondřej Bílka <neleai@seznam.cz>
10365
10366 [BZ #14286]
10367 * stdio-common/vfprintf.c: Check for integer overflow.
10368
87ded0c3
AK
103692014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10370
10371 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10372 the first argument and return value of __tls_get_addr_internal.
10373
c5eebdd0
AK
103742014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10375
10376 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10377 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10378
05d138ef
AK
103792014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10380
10381 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10382 * sysdeps/s390/rtld-global-offsets.sym: New file.
10383 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10384 GLIBC_2.19 symbol.
10385 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10386 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10387 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10388 ... this.
10389 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10390 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10391 ... this.
10392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10393 Regenerate.
10394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10395 Regenerate.
10396 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10397 halfs of GPRs for high_gprs contexts.
10398 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10399 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
10400 field.
10401 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10402 uc_flags field.
10403 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10404 64 bit versions:
10405 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10406 for high GPRs (uc_high_gprs) and for future extensions
10407 (__reserved).
10408 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10409 for future extensions (__reserved).
10410 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10411 64 bit versions:
10412 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10413 SC_HIGHGPRS offset definition.
10414 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10415 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10416
93a45ff1
AK
10417 * Versions.def: Add GLIBC_2.19 for libpthread.
10418 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10419 siglongjmp for libpthread with GLIBC_2.19 symver.
10420 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10421 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10422 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10423 * sysdeps/s390/__longjmp.c: New file.
10424 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10425 * sysdeps/s390/longjmp.c: New file.
10426 * sysdeps/s390/setjmp.S: New file.
10427 * sysdeps/s390/sigjmp.S: New file.
10428 * sysdeps/s390/v1-longjmp.c: New file.
10429 * sysdeps/s390/v1-setjmp.h: New file.
10430 * sysdeps/s390/v1-sigjmp.c: New file.
10431 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10432 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10433 GLIBC_2.19 version.
10434 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10435 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10436 versioned symbols for ____longjmp_chk.
10437 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10438 Likewise.
10439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10440 Regenerate.
10441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10442 Regenerate.
10443 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10444 Regenerate.
10445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10446 Regenerate.
10447 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10448 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10449 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10450 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10451 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10452 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10453 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10454 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10455 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10456 * sysdeps/s390/rtld-__longjmp.c: New file.
10457 * sysdeps/s390/rtld-setjmp.S: New file.
10458
eb3fc44b
JM
104592014-01-06 Joseph Myers <joseph@codesourcery.com>
10460
10461 [BZ #16400]
10462 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10463 Return -__logl (x) for small positive arguments without evaluating
10464 a polynomial.
10465
9341dde4
MF
104662014-01-06 Mike Frysinger <vapier@gentoo.org>
10467
10468 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10469 Rename to ...
10470 (__ptrace_peeksiginfo_args): ... this.
10471 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10472 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10473 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10474
4cff0293
AM
104752014-01-06 Allan McRae <allan@archlinux.org>
10476
10477 * inet/netinet/in.h: Fix typo in comment.
10478
75595dcf
AJ
104792014-01-05 Andreas Jaeger <aj@suse.de>
10480
10481 * sysdeps/i386/fpu/libm-test-ulps: Update.
10482
79c1e109
AM
104832014-01-05 Allan McRae <allan@archlinux.org>
10484
dd804818
AM
10485 * po/libc.pot: Regenerated.
10486
79c1e109
AM
10487 * malloc/memusagestat.c: Fix gettext call formatting.
10488
0c813d1f
SK
104892014-01-04 Sami Kerola <kerolasa@iki.fi>
10490
10491 * nscd/nscd.c: Improve usage() output.
10492
20f4a8d9
MF
104932014-01-04 Mike Frysinger <vapier@gentoo.org>
10494
10495 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10496 * sysdeps/unix/sysv/linux/configure: Regenerated.
10497 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10498 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10499
22562bb2
JM
105002014-01-03 Joseph Myers <joseph@codesourcery.com>
10501
10502 [BZ #16390]
10503 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10504 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10505
d7ad2d9b
AZ
105062014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10507
10508 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10509 extra tokens at end of #undef directive.
10510 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10511 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10512 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10513
7dd009d8
JM
105142014-01-03 Joseph Myers <joseph@codesourcery.com>
10515
24db925a
JM
10516 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10517
7dd009d8
JM
10518 * math/auto-libm-test-in: Mark various tests with
10519 xfail-rounding:ldbl-128ibm.
10520 * math/auto-libm-test-out: Regenerated.
10521
396e3ecf
JM
105222014-01-02 Joseph Myers <joseph@codesourcery.com>
10523
819e5d50
JM
10524 [BZ #16386]
10525 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10526 numbers with subnormal high part when calculating exponent.
10527
90b6a1e5
JM
10528 [BZ #16385]
10529 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10530 fabs.
10531
396e3ecf
JM
10532 [BZ #16384]
10533 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10534 M_LN2l.
10535 (__ieee754_acoshl): Use __log1pl not __log1p.
10536
6c8dbf00
OB
105372013-01-02 Ondřej Bílka <neleai@seznam.cz>
10538
57f41c40
AS
10539 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10540 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10541 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10542 (grow_heap, heap_trim, _int_new_arena, get_free_list)
10543 (reused_arena, arena_get2): Convert to GNU style.
10544 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10545 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10546 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 10547 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
10548 * malloc/malloc.c (__malloc_assert, malloc_init_state)
10549 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10550 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10551 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10552 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10553 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 10554 * malloc/malloc.h: Likewise.
57f41c40
AS
10555 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10556 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 10557 * malloc/mcheck.h: Likewise.
57f41c40
AS
10558 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10559 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
10560 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10561 * malloc/morecore.c (__default_morecore): Likewise.
10562 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
10563 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10564 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10565 (print_and_abort): Likewise.
6c8dbf00
OB
10566 * malloc/obstack.h: Likewise.
10567 * malloc/set-freeres.c (__libc_freeres): Likewise.
10568 * malloc/tst-mallocstate.c (main): Likewise.
10569 * malloc/tst-mtrace.c (main): Likewise.
10570 * malloc/tst-realloc.c (do_test): Likewise.
10571
d4124212
SP
105722013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10573
9a3c6a6f
SP
10574 [BZ #16366]
10575 * nscd/netgroupcache.c (do_notfound): New function.
10576 (addgetnetgrentX): Use it.
10577
d4124212
SP
10578 [BZ # 16365]
10579 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10580 NSS_STATUS_NOTFOUND.
10581
97b9a009
JM
105822014-01-01 Joseph Myers <joseph@codesourcery.com>
10583
10584 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10586
d4697bc9
AM
105872014-01-01 Allan McRae <allan@archlinux.org>
10588
ddb3687f
AM
10589 * scripts/update-copyrights: Update configure input file suffix.
10590
88726d48
AM
10591 * NEWS: Update copyright year.
10592 * catgets/gencat.c: Likewise.
10593 * csu/version.c: Likewise.
10594 * debug/catchsegv.sh: Likewise.
10595 * debug/pcprofiledump.c: Likewise.
10596 * debug/xtrace.sh: Likewise.
10597 * elf/ldconfig.c: Likewise.
10598 * elf/ldd.bash.in: Likewise.
10599 * elf/pldd.c: Likewise.
10600 * elf/sotruss.ksh: Likewise.
10601 * elf/sprof.c: Likewise.
10602 * iconv/iconv_prog.c: Likewise.
10603 * iconv/iconvconfig.c: Likewise.
10604 * locale/programs/locale.c: Likewise.
10605 * locale/programs/localedef.c: Likewise.
10606 * login/programs/pt_chown.c: Likewise.
10607 * malloc/memusage.sh: Likewise.
10608 * malloc/memusagestat.c: Likewise.
10609 * malloc/mtrace.pl: Likewise.
10610 * manual/libc.texinfo: Likewise.
10611 * nscd/nscd.c: Likewise.
10612 * nss/getent.c: Likewise.
10613 * nss/makedb.c: Likewise.
10614 * posix/getconf.c: Likewise.
10615 * scripts/test-installation.pl: Likewise.
10616
d4697bc9
AM
10617 * All files with FSF copyright notices: Update copyright dates
10618 using scripts/update-copyrights.
10619 * intl/plural.c: Regenerated.
10620 * locale/programs/charmap-kw.h: Likewise.
10621 * locale/programs/locfile-kw.h: Likewise.
10622
c8590f9d
MF
106232013-12-31 Mike Frysinger <vapier@gentoo.org>
10624
10625 * sysdeps/unix/sysv/linux/configure: Regenerated.
10626 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10627 the linux/fanotify.h header.
10628 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10629 HAVE_LINUX_FANOTIFY_H is defined.
10630
b19221b9
SP
106312013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10632
dd1d85e5
SP
10633 * benchtests/cos-inputs: New inputs.
10634 * benchtests/sin-inputs: Likewise.
10635
1acbb90f
SP
10636 * benchtests/atan-inputs: New inputs. Fix name of multiple
10637 precision fallback inputs.
10638
4c012ed3
SP
10639 * benchtests/atanh-inputs: New inputs.
10640 * benchtests/tanh-inputs: Likewise.
10641
eff98324
SP
10642 * benchtests/acosh-inputs: New inputs.
10643 * benchtests/asinh-inputs: Likewise.
10644
ce641152
SP
10645 * benchtests/cosh-inputs: New inputs.
10646 * benchtests/sinh-inputs: Likewise.
10647
b19221b9
SP
10648 * benchtests/acos-inputs: Add more inputs.
10649 * benchtests/asin-inputs: Likewise.
10650
030a4976 106512013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 10652
030a4976 10653 [BZ #16375]
9dcc8f11
VS
10654 * manual/arith.texi: Fix spelling.
10655 * manual/charset.texi: Likewise.
10656 * manual/errno.texi: Likewise.
10657 * manual/filesys.texi: Likewise.
10658 * manual/lang.texi: Likewise.
10659 * manual/llio.texi: Likewise.
10660 * manual/locale.texi: Likewise.
10661 * manual/message.texi: Likewise.
10662 * manual/resource.texi: Likewise.
10663 * manual/search.texi: Likewise.
10664 * manual/setjmp.texi: Likewise.
10665 * manual/stdio.texi: Likewise.
10666 * manual/string.texi: Likewise.
10667 * manual/sysinfo.texi: Likewise.
10668 * manual/time.texi: Likewise.
10669
11520a57
CD
106702013-12-27 Carlos O'Donell <carlos@redhat.com>
10671
10672 * po/sl.po: New file.
10673
471103ae
MF
106742013-12-27 Mike Frysinger <vapier@gentoo.org>
10675
10676 * .gitignore: Add core/.gdbinit/.gdb_history.
10677
6c9642ed
AM
106782013-12-27 Allan McRae <allan@archlinux.org>
10679
10680 [BZ #16369]
10681 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10682 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10683
3f637079
BM
106842013-12-24 Brooks Moses <bmoses@google.com>
10685
10686 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10687 all compilers that claim C++98 compliance, not just GCC.
10688 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10689 Likewise.
10690
abc26e99
MK
106912013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10692
10693 * NEWS: Restore accidentally deleted bug-fix entries.
10694
362b47fe
MK
106952013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10696 Ondřej Bílka <neleai@seznam.cz>
10697
10698 [BZ #15073]
10699 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 10700 have_lock.
362b47fe 10701
b9bcbbcb
OB
107022013-12-23 Ondřej Bílka <neleai@seznam.cz>
10703
10704 [BZ #12986]
10705 * manual/stdio.texi (String Input Conversions): Clarify that character
10706 classes are not supported.
10707
fb55fcd2
AZ
107082013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10709
10710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10711
ef7344f0
JM
107122013-12-22 Joseph Myers <joseph@codesourcery.com>
10713
4f40e4b3
JM
10714 [BZ #16337]
10715 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10716 Calculate results for small negative arguments directly rather
10717 than using reflection formula with special underflow handling.
10718
ef7344f0
JM
10719 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10720 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10721 sysdeps/unix/bsd/bsd4.4/syscalls.list.
10722 (fchflags): Likewise.
10723 (revoke): Likewise.
10724 (setlogin): Likewise.
10725 (sigaltstack): Likewise.
10726 (wait4): Likewise.
10727 (sigblock): Remove.
10728 (sigsetmask): Likewise.
10729 (wait3): Likewise.
10730 (waitpid): Likewise.
10731 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10732 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10733 file.
10734 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10735 * sysdeps/unix/bsd/Makefile: ... here.
10736 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10737 * sysdeps/unix/bsd/Versions: ... here.
10738 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10739 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10740 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10741 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10742 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10743 * sysdeps/unix/bsd/sigblock.c: ... here.
10744 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10745 * sysdeps/unix/bsd/sigsetmask.c: ... here.
10746 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10747 * sysdeps/unix/bsd/sigvec.c: ... here.
10748 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10749 * sysdeps/unix/bsd/tcdrain.c: ... here.
10750 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10751 * sysdeps/unix/bsd/tcgetattr.c: ... here.
10752 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10753 * sysdeps/unix/bsd/tcsetattr.c: ... here.
10754 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10755 * sysdeps/unix/bsd/wait.c: ... here.
10756 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10757 * sysdeps/unix/bsd/wait3.c: ... here.
10758 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10759 * sysdeps/unix/bsd/waitpid.c: ... here.
10760
5b0626b9
JM
107612013-12-21 Joseph Myers <joseph@codesourcery.com>
10762
10763 [BZ #16356]
10764 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10765 round-to-nearest for [!USE_AS_EXPM1L].
10766 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10767 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
10768 more tests of exp and exp10. Expect some exp10 tests to miss
10769 exceptions or fail in directed rounding modes.
10770 * math/auto-libm-test-out: Regenerated.
10771 * math/libm-test.inc (exp10_tonearest_test_data): New array.
10772 (exp10_test_tonearest): New function.
10773 (exp10_towardzero_test_data): New array.
10774 (exp10_test_towardzero): New function.
10775 (exp10_downward_test_data): New array.
10776 (exp10_test_downward): New function.
10777 (exp10_upward_test_data): New array.
10778 (exp10_test_upward): New function.
10779 (main): Call the new functions.
10780 * sysdeps/i386/fpu/libm-test-ulps: Update.
10781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10782
7fda5682
JM
107832013-12-20 Joseph Myers <joseph@codesourcery.com>
10784
31e3a405
JM
10785 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10786 asinh, atan, atan2, atanh, cbrt, cos and cosh.
10787 * math/auto-libm-test-out: Regenerated.
10788 * math/libm-test.inc (acosh_test_data): Add more tests.
10789 (atanh_test_data): Likewise.
10790 (ceil_test_data): Likewise.
10791 (copysign_test_data): Likewise.
10792 * sysdeps/i386/fpu/libm-test-ulps: Update.
10793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10794
85bff96a
JM
10795 * timezone/checktab.awk: Update from tzcode 2013i.
10796 * timezone/private.h: Likewise.
10797 * timezone/scheck.c: Likewise.
10798 * timezone/tzfile.h: Likewise.
10799 * timezone/tzselect.ksh: Likewise.
10800 * timezone/zdump.c: Likewise.
10801 * timezone/zic.c: Likewise.
10802
b7867a3b
JM
10803 * math/auto-libm-test-in: Add tests of cpow.
10804 * math/auto-libm-test-out: Regenerated.
10805 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 10806 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
10807 mpc_cc_c.
10808 (func_calc_desc): Add mpc_cc_c union field.
10809 (test_functions): Add cpow.
10810 (special_fill_2pi): New function.
10811 (special_real_inputs): Add 2pi.
10812 (calc_generic_results): Handle mpc_cc_c.
10813 * sysdeps/i386/fpu/libm-test-ulps: Update.
10814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10815
7fda5682
JM
10816 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10817 csqrt, ctan and ctanh.
10818 * math/auto-libm-test-out: Regenerated.
10819 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10820 (TEST_COND_x86): Likewise.
10821 (ccos_test_data): Use AUTO_TESTS_c_c.
10822 (ccosh_test_data): Likewise.
10823 (cexp_test_data): Likewise.
10824 (clog_test_data): Likewise.
10825 (csqrt_test_data): Likewise.
10826 (ctan_test_data): Likewise.
10827 (ctan_tonearest_test_data): Likewise.
10828 (ctan_towardzero_test_data): Likewise.
10829 (ctan_downward_test_data): Likewise.
10830 (ctan_upward_test_data): Likewise.
10831 (ctanh_test_data): Likewise.
10832 (ctanh_tonearest_test_data): Likewise.
10833 (ctanh_towardzero_test_data): Likewise.
10834 (ctanh_downward_test_data): Likewise.
10835 (ctanh_upward_test_data): Likewise.
10836 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10837 mpc_c_c.
10838 (func_calc_desc): Add mpc_c_c union field.
10839 (FUNC_mpc_c_c): New macro.
10840 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10841 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10842 ctanh.
10843 (special_fill_min_subnorm_p120): New function.
10844 (special_real_inputs): Add min_subnorm_p120.
10845 (calc_generic_results): Handle mpc_c_c.
10846 * sysdeps/i386/fpu/libm-test-ulps: Update.
10847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10848
5ff8d60e
SP
108492013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10850
57f41c40
AS
10851 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10852 (do_sin_slow): New functions.
10853 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10854 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 10855
84ba214c
SP
10856 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10857 Use M to change sign of result instead of X. Assume X is
10858 positive.
10859 (csloww1): Likewise.
10860 (__sin): Adjust.
10861 (__cos): Adjust.
10862
975195e4
SP
10863 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10864 arguments A and DA.
10865 (__sin): Adjust.
10866 (__cos): Likewise.
10867
5ff8d60e
SP
10868 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10869 (__cos): Likewise.
10870 (sloww1): Don't adjust sign of DX.
10871 (csloww1): Likewise.
10872 (sloww2): Use X directly and don't adjust sign of DX.
10873 (csloww2): Likewise.
10874
eb983568
JM
108752013-12-19 Joseph Myers <joseph@codesourcery.com>
10876
64a17f1a
JM
10877 * math/auto-libm-test-in: Add tests of cabs and carg.
10878 * math/auto-libm-test-out: Regenerated.
10879 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10880 (carg_test_data): Likewise.
10881 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10882 mpc_c_f.
10883 (func_calc_desc): Add mpc_c_f union field.
10884 (test_functions): Add cabs and carg.
10885 (calc_generic_results): Handle mpc_c_f.
10886
eb983568
JM
10887 * sysdeps/powerpc/powerpc32/libgcc-compat.S
10888 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10889 as a macro and a compat symbol.
10890 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10891 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10892 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10893 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10894 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10895 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10896 not use .hidden.
10897 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10898 Likewise.
10899 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10900 Likewise.
10901 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10902 Likewise.
10903 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10904 Likewise.
10905 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10906 Likewise.
10907 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10908 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10909 from GLIBC_2.3.2.
10910
6eeb678a
AZ
109112013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10912
10913 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10914
6f6fc482
JM
109152013-12-19 Joseph Myers <joseph@codesourcery.com>
10916
21fea2e2
JM
10917 * manual/texinfo.tex: Update to version 2013-11-26.10 with
10918 trailing whitespace removed.
10919 * scripts/config.guess: Update to version 2013-11-29.
10920 * scripts/config.sub: Update to version 2013-10-01.
10921
6f6fc482
JM
10922 * math/auto-libm-test-in: Add tests of sincos.
10923 * math/auto-libm-test-out: Regenerated.
10924 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10925 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10926 mpfr_f_11.
10927 (func_calc_desc): Add mpfr_f_11 union field.
10928 (test_functions): Add sincos.
10929 (calc_generic_results): Handle mpfr_f_11.
10930 * sysdeps/i386/fpu/libm-test-ulps: Update.
10931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10932
83f5c32d
AS
109332013-12-19 Andreas Schwab <schwab@suse.de>
10934
10935 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10936 CALL_MCOUNT.
10937 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10938 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10939 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10940
c688b419
JM
109412013-12-19 Joseph Myers <joseph@codesourcery.com>
10942
335ee092
JM
10943 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10944 * sysdeps/i386/fpu/libm-test-ulps: Update.
10945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10946
f88acd39
JM
10947 [BZ #16293]
10948 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10949 round-to-nearest mode when using frndint.
10950 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10951 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10952 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10953 Likewise.
10954 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
10955 sinh test to fail.
10956 * math/auto-libm-test-out: Regenerated.
10957 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10958 (TEST_COND_x86): Likewise.
10959 (expm1_tonearest_test_data): New array.
10960 (expm1_test_tonearest): New function.
10961 (expm1_towardzero_test_data): New array.
10962 (expm1_test_towardzero): New function.
10963 (expm1_downward_test_data): New array.
10964 (expm1_test_downward): New function.
10965 (expm1_upward_test_data): New array.
10966 (expm1_test_upward): New function.
10967 (main): Run the new test functions.
10968 * sysdeps/i386/fpu/libm-test-ulps: Update.
10969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10970
c688b419
JM
10971 * include/features.h: Update comment documenting feature test
10972 macros. Mention _DEFAULT_SOURCE in comment.
10973 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10974 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10975 _BSD_SOURCE and _SVID_SOURCE.
10976 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10977 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10978 !_SVID_SOURCE]: Likewise.
10979 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10980 (__USE_POSIX_IMPLICITLY): Define.
10981 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10982 (_POSIX_SOURCE): Undefine and redefine.
10983 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10984 (_POSIX_C_SOURCE): Likewise.
10985 * manual/creature.texi (_DEFAULT_SOURCE): Document.
10986 (Feature Test Macros): Update documentation of default features.
10987
9f6e964c
RS
109882013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10989
10990 * benchtests/Makefile: Add bench-strtok.
10991 * benchtests/bench-strtok.c: New file: strtok benchtest.
10992
ee0a148a
AM
109932013-12-19 Allan McRae <allan@archlinux.org>
10994
10995 * manual/install.texi: Suppress menu for plain text output.
10996 * INSTALL: Regenerated.
10997
b9ab448f
BM
109982013-12-18 Brooks Moses <bmoses@google.com>
10999
11000 [BZ #15846]
11001 * misc/getauxval.c: Include errno.h.
11002 (__getauxval): Set errno to ENOENT if the requested type is not
11003 found.
11004 * misc/sys/auxv.h (getauxval): Document that it may set errno;
11005 don't declare with __attribute_const__.
11006 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11007 * manual/startup.texi: Document that getauxval sets errno.
11008
23776487
JM
110092013-12-18 Joseph Myers <joseph@codesourcery.com>
11010
f889953b
JM
11011 * math/auto-libm-test-in: Add tests of jn and yn.
11012 * math/auto-libm-test-out: Regenerated.
11013 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11014 (yn_test_data): Likewise.
11015 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11016 mpfr_if_f.
11017 (func_calc_desc): Add mpfr_if_f union field.
11018 (FUNC_mpfr_if_f): New macro.
11019 (test_functions): Add jn and yn.
11020 (calc_generic_results): Assert type of second input for
11021 mpfr_ff_f. Handle mpfr_if_f.
11022 (output_for_one_input_case): Disable all checking for arguments
11023 fitting floating-point types in case of an integer argument.
11024 * sysdeps/i386/fpu/libm-test-ulps: Update.
11025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11026
23776487
JM
11027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11028 Don't expect fegetround reference in libm.so.
11029
cb756c6d
MS
110302013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11031
11032 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11033 $(config-cflags-nofma).
11034
2dec468f
JM
110352013-12-18 Joseph Myers <joseph@codesourcery.com>
11036
5953eb3a
JM
11037 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11038 * math/auto-libm-test-out: Regenerated.
11039
2dec468f
JM
11040 [BZ #16338]
11041 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11042 to determine exponent and adjust argument to have exponent of -1.
11043 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11044 log2.
11045 * math/auto-libm-test-out: Regenerated.
11046 * sysdeps/i386/fpu/libm-test-ulps: Update.
11047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11048
4d84e6ad
OB
110492013-12-18 Ondřej Bílka <neleai@seznam.cz>
11050
11051 * manual/probes.texi: Remove cases when per-thread arenas are
11052 disabled.
11053
1818483b
AS
110542013-12-18 Andreas Schwab <schwab@suse.de>
11055
11056 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11057 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11058 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11059 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11060 * sysdeps/i386/i686/multiarch/Makefile: Update.
11061 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11062
25de95bf
JM
110632013-12-17 Joseph Myers <joseph@codesourcery.com>
11064
11065 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11066 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11067
674762d9
PE
110682013-12-17 Paul Eggert <eggert@cs.ucla.edu>
11069
ed27ed83 11070 [BZ #15968]
0748546f
PE
11071 Support TZ transition times < 00:00:00.
11072 This is needed for version-3 tz-format files; it supports time
11073 stamps past 2037 for America/Godthab (the only entry in the tz
11074 database for which this change is relevant).
11075 * manual/time.texi (TZ Variable): Document transition times
11076 from -167:59:59 through -00:00:01.
11077 * time/tzset.c (tz_rule): Time of day is now signed.
11078 (__tzset_parse_tz): Parse negative time of day.
11079
4480e934
PE
11080 Document TZ transition times >= 25:00:00.
11081 * manual/time.texi (TZ Variable): Document transition times from
11082 25:00:00 through 167:59:59. These are already supported, and this
11083 support will help with version-3 tz-format files.
11084
69947401
PE
11085 * manual/time.texi (TZ Variable): Modernize North America example
11086 to reflect current (i.e., 2007-and-later) daylight saving rules.
11087
674762d9
PE
11088 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11089
7011c262
JM
110902013-12-17 Joseph Myers <joseph@codesourcery.com>
11091
2fc6557e
JM
11092 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11093 * sysdeps/unix/bsd/bits/stat.h: Likewise.
11094 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11095 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11096 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11097 * sysdeps/unix/bsd/bsdstat.h: Likewise.
11098 * sysdeps/unix/bsd/clock.c: Likewise.
11099 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11100 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11101 * sysdeps/unix/bsd/init-posix.c: Likewise.
11102 * sysdeps/unix/bsd/poll.c: Likewise.
11103 * sysdeps/unix/bsd/ptsname.c: Likewise.
11104 * sysdeps/unix/bsd/seekdir.c: Likewise.
11105 * sysdeps/unix/bsd/setegid.c: Likewise.
11106 * sysdeps/unix/bsd/seteuid.c: Likewise.
11107 * sysdeps/unix/bsd/setgid.c: Likewise.
11108 * sysdeps/unix/bsd/setrgid.c: Likewise.
11109 * sysdeps/unix/bsd/setruid.c: Likewise.
11110 * sysdeps/unix/bsd/setsid.c: Likewise.
11111 * sysdeps/unix/bsd/setuid.c: Likewise.
11112 * sysdeps/unix/bsd/sigaction.c: Likewise.
11113 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11114 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11115 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11116 * sysdeps/unix/bsd/telldir.c: Likewise.
11117 * sysdeps/unix/bsd/times.c: Likewise.
11118 * sysdeps/unix/bsd/usleep.c: Likewise.
11119
029c7b25
JM
11120 * misc/Makefile (install-lib): Remove libbsd-compat.a.
11121 ($(objpfx)libbsd-compat.a): Remove rule.
11122
7011c262
JM
11123 * include/features.h (__FAVOR_BSD): Do not define.
11124 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11125 features conflicting with POSIX.
11126 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11127 (_BSD_SOURCE): Remove description of not being a subset of other
11128 feature test macros.
11129 * manual/job.texi (getpgrp): Do not document BSD version.
11130 (getpgid): Do not document by reference to BSD getpgrp.
11131 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11132 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11133 * signal/signal.h [__FAVOR_BSD]: Likewise.
11134 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11135 instead of making contents conditional on [__FAVOR_BSD].
11136 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11137
affb6f78
AZ
111382013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11139
11140 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11141
c88769dd
JM
111422013-12-17 Joseph Myers <joseph@codesourcery.com>
11143
6432a540
JM
11144 [BZ #16314]
11145 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11146 values below 2**-450, not 2**-500.
11147 * math/auto-libm-test-in: Don't allow spurious underflow from
11148 hypot.
11149 * math/auto-libm-test-out: Regenerated.
11150
c88769dd
JM
11151 [BZ #16316]
11152 [BZ #16330]
11153 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11154 values of ha and hb and sort them after adjusting subnormal
11155 arguments.
11156 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11157 Likewise.
11158 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11159 values of ea and eb and sort them after adjusting subnormal
11160 arguments.
11161 * math/auto-libm-test-in: Do not expect some hypot tests of
11162 subnormals to fail. Add more hypot tests.
11163 * math/auto-libm-test-out: Regenerated.
11164
29618f6b
KK
111652013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11166
11167 [BZ #13304]
11168 * sysdeps/sh/s_fma.c: New file.
11169 * sysdeps/sh/s_fmaf.c: New file.
11170 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
11171 version.
11172 * sysdeps/sh/Implies: Add sh/soft-fp.
11173
eacfdfbf
RM
111742013-12-16 Roland McGrath <roland@hack.frob.com>
11175
11176 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
11177 level of indirection to members `objname', `errstring', `malloced'.
11178 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11179 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
11180 it as the __longjmp argument (just pass 1 instead).
11181 (_dl_catch_error): Initialize C with argument pointers and address of
11182 volatile local ERRCODE rather than copying values out of C at return.
11183
ff362e5b
JM
111842013-12-16 Joseph Myers <joseph@codesourcery.com>
11185
11186 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11187 * math/auto-libm-test-out: Regenerated.
11188 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11189 (hypot_test_data): Likewise.
11190 (pow_test_data): Likewise.
11191 (pow_tonearest_test_data): Likewise.
11192 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11193 mpfr_ff_f.
11194 (func_calc_desc): Add mpfr_ff_f union field.
11195 (FUNC_mpfr_ff_f): New macro.
11196 (test_functions): Add atan2, hypot and pow.
11197 (special_fill_min): New function.
11198 (special_fill_minus_min): Likewise.
11199 (special_fill_min_subnorm): Likewise.
11200 (special_fill_minus_min_subnorm): Likewise.
11201 (special_real_inputs): Add min, -min, min_subnorm and
11202 -min_subnorm.
11203 (calc_generic_results): Handle mpfr_ff_f.
11204 * sysdeps/i386/fpu/libm-test-ulps: Update.
11205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11206
5764c27f
WN
112072013-12-16 Will Newton <will.newton@linaro.org>
11208
11209 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11210 (Aligned Memory Blocks): Add documentation for aligned_alloc
11211 and suggest it as an alternative to posix_memalign.
11212 (Hooks for Malloc): Document __memalign_hook is also called
11213 for aligned_alloc. (Summary of Malloc): Add summary for
11214 aligned alloc. Document __memalign_hook is also called
11215 for aligned_alloc.
11216
0a096e44
WN
112172013-12-16 Will Newton <will.newton@linaro.org>
11218
11219 * manual/memory.texi (Malloc Examples): Clarify default
11220 alignment documentation. Suggest posix_memalign rather
11221 than memalign or valloc.
11222 (Aligned Memory Blocks): Remove suggestion to use memalign
11223 or valloc. Remove obsolete comment about BSD.
11224 Document memalign errno values and mark the function obsolete.
11225 Document posix_memalign returned error codes. Mark valloc
11226 as obsolete. (Hooks for Malloc): __memalign_hook is also
11227 called for posix_memalign and valloc.
11228 (Summary of Malloc): Add posix_memalign to function summary.
11229 __memalign_hook is also called for posix_memalign and valloc.
11230
8d561986
SP
112312013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11232
11233 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11234 TAYLOR_SIN.
11235 (__sin): Adjust.
11236 (__cos): Likewise.
11237 (sloww): Use mynumber union. Expand ternary operator into
11238 if-else statements.
11239 (cslow): use mynumber union.
11240
73616a74
AM
112412013-12-16 Allan McRae <allan@archlinux.org>
11242
9e8ac24b
AM
11243 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11244 * configure: Regenerated.
11245
6f8e37eb
AM
11246 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11247
8894bad3
AM
11248 [BZ #14120]
11249 * configure.ac: Added --enable-maintainer-mode. Check for
11250 autoconf when enabled.
11251 * configure: Regenerated.
11252
73616a74
AM
11253 * nscd/nscd.service: New file.
11254 * nscd/nscd.tmpfiles: New file.
11255
584b18eb
OB
112562013-12-14 Ondřej Bílka <neleai@seznam.cz>
11257
11258 [BZ #12100]
11259 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11260 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11261 * sysdeps/x86_64/multiarch/strstr.c: ... here.
11262 (strstr): Add __strstr_sse2_unaligned ifunc.
11263 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11264 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11265 (strcasestr): Remove __strcasestr_sse42 ifunc.
11266 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11267 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11268 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11269
8a5c7897
KK
112702013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11271
11272 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11273 * sysdeps/sh/bits/fenv.h: ... here.
11274 * sysdeps/sh/sh4/fpu/bits: Remove directory.
11275
fd712ef3
AZ
112762013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11277
11278 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11279
42fcb46c
AZ
11280 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11281 hypotf multiarch implementations.
11282 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11283 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11284 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11285 multiarch hypot for PPC64.
11286 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11287 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11288 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11289 multiarch hypotf for PPC64.
11290
83efded4
AZ
11291 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11292 modff multiarch implementations.
11293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11296 multiarch modf for PPC64.
11297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11300 multiarch modff for PPC64.
11301
43e246d2
AZ
11302 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11303 and logl multiarch implementations.
11304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11307 multiarch logb for PPC64.
11308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11311 multiarch logb for PPC64.
11312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11315 multiarch logb for PPC64.
11316
8fdad123
AZ
11317 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11318 isinff multiarch implementation.
11319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11320 file.
11321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11323 multiarch isinf for PPC64.
11324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11325 file.
11326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11327 multiarch isinff for PPC64.
11328
1481d706
AZ
11329 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11330 finitef multiarch implementation.
11331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11332 file.
11333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11335 multiarch finite for PPC64.
11336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11337 file.
11338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11339 multiarch finitef for PPC64.
11340
5ccd5fc8
AZ
11341 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11342 lrint multiarch implementation.
11343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11344 file.
11345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11347 multiarch llrint for PPC64.
11348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11349 multiarch lrint for PPC64.
11350
2568f3fa
AZ
11351 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11352 copysignf multiarch implementation.
11353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11354 file.
11355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11356 file.
11357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11358 multiarch copysign for PPC64.
11359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11360 multiarch copysignf for PPC64.
11361
1cb341fd
AZ
11362 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11363 multiarch implementation.
11364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11365 file.
11366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11367 file.
11368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11369 file.
11370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11371 file.
11372 multiarch llround for PPC64.
11373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11374 multiarch trunc for PPC64.
11375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11376 multiarch truncf for PPC64.
11377
59a3e194
AZ
11378 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11379 multiarch implementation.
11380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11381 file.
11382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11383 file.
11384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11385 file.
11386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11387 file.
11388 multiarch llround for PPC64.
11389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11390 multiarch round for PPC64.
11391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11392 multiarch roundf for PPC64.
11393
357fd3b4
AZ
11394 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11395 multiarch implementation.
11396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11397 file.
11398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11399 file.
11400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11401 file.
11402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11403 file.
11404 multiarch llround for PPC64.
11405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11406 multiarch floor for PPC64.
11407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11408 multiarch floorf for PPC64.
11409
96770f12
AZ
11410 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11411 multiarch implementation.
11412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11413 file.
11414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11415 file.
11416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11417 file.
11418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11419 file.
11420 multiarch llround for PPC64.
11421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11422 multiarch ceil for PPC64.
11423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11424 multiarch ceilf for PPC64.
11425
c3627f6e
AZ
11426 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11427 multiarch implementation.
11428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11429 file.
11430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11431 file.
11432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11433 file.
11434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11435 multiarch llround for PPC64.
11436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11437 multiarch lround for PPC64.
11438
b2284ad7
AZ
11439 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11440 multiarch implementation.
11441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11444 file.
11445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11448 multiarch isnan for PPC64.
11449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11450 multiarch isnanf for PPC64.
11451
69bbc63d
AZ
11452 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11453 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11454 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11455 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11456 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11458
c24517c9
AZ
11459 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11460 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11461 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11462 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11463
a52374e8
AZ
11464 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11465 multiarch implementations.
11466 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11467 (__libc_ifunc_impl_list): Likewise.
11468 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11469 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11470 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11471 multiarch stpcpy for PPC64.
11472
7f5ec113
AZ
11473 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11474 multiarch implementations.
11475 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11476 (__libc_ifunc_impl_list): Likewise.
11477 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11478 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11479 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11480 multiarch strcpy for PPC64.
11481
e28bcd42
AZ
11482 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11483 redefine function name.
11484 (_wordcopy_fwd_dest_aligned): Likewise.
11485 (_wordcopy_bwd_aligned): Likewise.
11486 (_wordcopy_bwd_dest_aligned): Likewise.
11487 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11488 multiarch implementations.
11489 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11490 (__libc_ifunc_impl_list): Likewise.
11491 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11492 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11493 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11494 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11495 multiarch wcscpy for PPC64.
11496
92cacfce
AZ
11497 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11498 multiarch implementations.
11499 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11500 (__libc_ifunc_impl_list): Likewise.
11501 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11502 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11503 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11504 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11505 multiarch wcscpy for PPC64.
11506
7b714620
AZ
11507 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11508 multiarch implementations.
11509 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11510 (__libc_ifunc_impl_list): Likewise.
11511 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11512 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11513 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11514 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11515 multiarch wcsrchr for PPC64.
11516
16fd2ae3
AZ
11517 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11518 multiarch implementations.
11519 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11520 (__libc_ifunc_impl_list): Likewise.
11521 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11522 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11523 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11524 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11525 multiarch wcschr for PPC64.
11526
9ee2969b
AZ
11527 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11528 multiarch implementations.
11529 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11530 (__libc_ifunc_impl_list): Likewise.
11531 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11532 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11533 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11534 multiarch strchrnul for PPC64.
11535
372dc060
AZ
11536 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11537 implementations.
11538 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11539 (__libc_ifunc_impl_list): Likewise.
11540 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11541 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11542 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11543 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11544 strchr for PPC64.
11545
24c2c3b9
AZ
11546 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11547 implementations.
11548 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11549 (__libc_ifunc_impl_list): Likewise.
11550 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11551 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11552 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11553 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11554 strncmp for PPC64.
11555
1c92d9a0
AZ
11556 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11557 multiarch implementations.
11558 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11559 (__libc_ifunc_impl_list): Likewise.
11560 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11561 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11562 strncasecmp for PPC64.
11563 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11564 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11565 multiarch strncasecmp_l for PPC64.
11566
17de3ee3
AZ
11567 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11568 multiarch implementations.
11569 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11570 (__libc_ifunc_impl_list): Likewise.
11571 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11572 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11573 multiarch strcasecmp for PPC64.
11574 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11575 file.
11576 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11577 multiarch strcasecmp_l for PPC64.
11578
62982bf9
AZ
11579 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11580 implementations.
11581 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11582 (__libc_ifunc_impl_list): Likewise.
11583 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11584 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11585 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11586 strnlen for PPC64.
11587
a65f4904
AZ
11588 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11589 implementations.
11590 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11591 (__libc_ifunc_impl_list): Likewise.
11592 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11593 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11594 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11595 strlen for PPC64.
11596
1fd005ad
AZ
11597 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11598 implementations.
11599 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11600 (__libc_ifunc_impl_list): Likewise.
11601 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11602 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11603 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11604 rawmemrchr for PPC64.
11605
cd05ba91
AZ
11606 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11607 implementation.
11608 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11609 (__libc_ifunc_impl_list): Likewise.
11610 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11611 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11612 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11613 memrchr for PPC64.
11614
870f8676
AZ
11615 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11616 implementation.
11617 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11618 (__libc_ifunc_impl_list): Likewise.
11619 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11620 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11621 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11622 memchr for PPC64.
11623
f00be62b
AZ
11624 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11625 implementation.
11626 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11627 (__libc_ifunc_impl_list): Likewise.
11628 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11629 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11630 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11631 mempcpy for PPC64.
11632
8a29a3d0
AZ
11633 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11634 avoid cretion of __bzero symbol.
11635 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11636 Likewise.
11637 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11638 Likewise.
11639 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11640 Likewise.
11641 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11642 multiarch implementations.
11643 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11644 (__libc_ifunc_impl_list): Likewise.
11645 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11646 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11647 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11648 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11649 bzero for PPC32.
11650 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11651 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11652 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11653 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11654 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11655 memset for PPC64.
11656 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11657
07253fcf
AZ
11658 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11659 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11660 implementations.
11661 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11662 (__libc_ifunc_impl_list): Likewise.
11663 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11664 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11665 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11666 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11667 memcmp for PPC64.
11668
b5beafbc
AZ
11669 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11670 multiarch for POWER/PPC64.
11671 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11672 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11673 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11674 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11675 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11676 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11677 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11678 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11679 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11680 memcpy for PPC64.
11681
5e6a4d4b
AZ
11682 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11683 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11684 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11685 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11686 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11687 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11688 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11689 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11690 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11691 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11692 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11693 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11694 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11695 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11696 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11704
ddfab6dc
KK
117052013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11706
11707 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11708
19b5525e
SP
117092013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11710
11711 * benchtests/Makefile (bench): Add exp2 and log2.
11712 (LDLIBS-bench-exp2): Add -lm.
11713 (LDLIBS-bench-log2): Likewise.
11714 * benchtests/exp2-inputs: New inputs file.
11715 * benchtests/log2-inputs: New inputs file.
11716 * benchtests/log-inputs: Add new inputs.
11717 * benchtests/tan-inputs: Likewise.
11718
196f7f5d
SP
117192013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11720
7a74607f
SP
11721 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11722 definition...
57f41c40
AS
11723 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11724 (csloww2): ... from here.
7a74607f 11725
196f7f5d
SP
11726 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11727 instead of structures.
11728 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11729 (POLYNOMIAL): Likewise.
11730 (TAYLOR_SLOW): Likewise.
11731 (__sin): Likewise.
11732 (__cos): Likewise.
11733 (slow1): Likewise.
11734 (slow2): Likewise.
11735 (sloww): Likewise.
11736 (sloww1); Likewise.
11737 (sloww2): Likewise.
11738 (bsloww1): Likewise.
11739 (bsloww2): Likewise.
11740 (cslow2): Likewise.
11741 (csloww): Likewise.
11742 (csloww1): Likewise.
11743 (csloww2): Likewise.
11744
0dfa665c
OB
117452013-12-10 Ondřej Bílka <neleai@seznam.cz>
11746
11747 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
11748 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11749 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
11750 * malloc/hooks.c (realloc_check): Likewise.
11751
5782a80f
OB
11752 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11753 * malloc/arena.c: Remove PER_THREAD conditional.
11754 [!PER_THREAD]: Remove code.
11755 (ptmalloc_unlock_all2): Likewise.
11756 (ptmalloc_init): Likewise.
11757 (_int_new_arena): Likewise.
11758 (arena_get2): Likewise.
11759 * malloc/hooks.c (__malloc_get_state): Likewise.
11760 (__malloc_set_state): Likewise.
11761 * malloc/malloc.c: Likewise.
11762 (struct malloc_state): Likewise.
11763 (struct malloc_par): Likewise.
11764 (__libc_realloc): Likewise.
11765 (__libc_mallopt): Likewise.
11766
aeb95445
AZ
117672013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11768
11769 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11770
e8349efd
OB
117712013-12-09 Ondřej Bílka <neleai@seznam.cz>
11772
11773 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11774 macro to a function. Check for zero perturb_byte.
11775 (_int_malloc, _int_free): Remove zero perturb_byte checks.
11776
f3eeb3fc 11777 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
11778 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11779 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
11780 force_reg by atomic_forced_read.
11781 * malloc/arena.c (ptmalloc_init): Likewise.
11782 * malloc/hooks.c (top_check): Likewise.
11783
be2f9009
AZ
117842013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11785
11786 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11787
e7b914bd
MT
117882013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
11789
11790 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11791
9f0be4f8
JM
117922013-12-08 Joseph Myers <joseph@codesourcery.com>
11793
11794 * math/auto-libm-test-in: Add tests of lgamma.
11795 * math/auto-libm-test-out: Regenerated.
11796 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11797 (M_LOG_2_SQRT_PIl): Likewise.
11798 (lgamma_test_data): Use AUTO_TESTS_f_f1.
11799 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11800 mpfr_f_f1.
11801 (func_calc_desc): Add mpfr_f_f1 union field.
11802 (ARGS1): New macro.
11803 (ARGS2): Likewise.
11804 (ARGS3): Likewise.
11805 (ARGS4): Likewise.
11806 (RET1): Likewise.
11807 (RET2): Likewise.
11808 (CALC): Likewise.
11809 (FUNC): Likewise.
11810 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11811 (test_functions): Add lgamma.
11812 (calc_generic_results): Handle mpfr_f_f1.
11813 * sysdeps/i386/fpu/libm-test-ulps: Update.
11814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11815
24eeafdb
AZ
118162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11817
11818 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11819 __mpn_add_n for PowerPC64/POWER7.
11820 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11821 __mpn_sub_n for PowerPC64/POWER7.
11822
4a2c0fd4
AZ
11823 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11824 __mpn_addmul_1 for PowerPC64.
11825 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11826 __mpn_submul_1 for PowerPC64.
11827 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11828 for PowerPC64.
11829 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11830 for PowerPC64.
11831
4b5b548c
FS
118322013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
11833
11834 [BZ #15089]
11835 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11836
0a3ac0aa
AZ
118372013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11838
11839 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11840
ccdc8438
AZ
11841 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11842 add multiarch folders.
11843 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11844 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11845 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11846 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11847 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11848 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11849 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11850 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11851 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11852 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11853 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11860
2e973d99
AZ
11861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11862 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11864 New file.
11865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11866 New file.
11867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11868 multiarch __ieee754_hypot for PowerPC32.
11869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11870 New file.
11871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11872 New file.
11873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11874 multiarch __ieee754_hypotf for PowerPC32.
11875
2d9470b2
AZ
11876 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11877 long_double_symbol only if __logbl is defined.
11878 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11879 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11880 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11881 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11882 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11883 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11884 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11885 path for implementation.
11886 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11887 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11889 logb, and logbl multiarch implementations for PowerPC32.
11890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11891 file.
11892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11893 file.
11894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11895 multiarch logb for PowerPC32.
11896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11897 file.
11898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11899 file.
11900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11901 multiarch logbf for PowerPC32.
11902 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11904 file.
11905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11906 multiarch logbl implementation for PowerPC32.
11907
5212ffce
AZ
11908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11909 and modff multiarch implementations.
11910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11911 New file.
11912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11913 New file.
11914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11915 multiarch modf for PowerPC32.
11916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11917 New file.
11918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11919 New file.
11920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11921 multiarch modff for PowerPC32.
11922
79dccf31
AZ
11923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11924 and lrintf multiarch implementations.
11925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11926 New file.
11927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11928 New file.
11929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11930 multiarch lrint for PowerPC32.
11931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11932 file: multiarch lrintf for PowerPC32.
11933
deb66480
AZ
11934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11935 and lroundf multiarch implementations.
11936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11937 New file.
11938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11939 New file.
11940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11941 New file.
11942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11943 multiarch lround for PowerPC32.
11944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11945 file: multiarch lroundf for PowerPC32.
11946
264b036b
AZ
11947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11948 copysign and copysignf multiarch implementations.
11949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11950 New file.
11951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11952 New file.
11953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11954 file: multiarch copysign for PowerPC32.
11955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11956 file: multiarch copysignf for PowerPC32.
11957
d47db6c9
AZ
11958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11959 and truncf multiarch implementations.
11960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11961 New file.
11962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11963 file.
11964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11965 multiarch trunc for PowerPC32.
11966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11967 New file.
11968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11969 New file.
11970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11971 multiarch truncf for PowerPC32.
11972
ddb60b5a
AZ
11973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11974 and roundf multiarch implementations.
11975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11976 New file.
11977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11978 file.
11979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11980 multiarch round for PowerPC32.
11981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11982 New file.
11983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11984 New file.
11985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11986 multiarch roundf for PowerPC32.
11987
bedcf49b
AZ
11988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11989 and floorf multiarch implementations.
11990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11991 New file.
11992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11993 file.
11994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11995 multiarch floor for PowerPC32.
11996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11997 New file.
11998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11999 New file.
12000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12001 multiarch floorf for PowerPC32.
12002
35ae5b40
AZ
12003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12004 and ceilf multiarch implementations.
12005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12006 New file.
12007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12008 file.
12009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12010 multiarch ceil for PowerPC32.
12011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12012 New file.
12013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12014 file.
12015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12016 multiarch ceilf for PowerPC32.
12017
ae1a4cd9
AZ
12018 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12019 is defined.
12020 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12021 FINITEF is defined.
12022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12023 and finitef multiarch implementations.
12024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12025 New file.
12026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12027 file.
12028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12029 multiarch finite for PowerPC32.
12030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12031 New file.
12032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12033 file: multiarch finitef for PowerPC32.
12034
64fffd65
AZ
12035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12036 and isinff multiarch implementations.
12037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12038 file.
12039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12040 file.
12041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12042 multiarch isinf for PowerPC32.
12043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12044 New file.
12045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12046 multiarch isinff for PowerPC32.
12047
8e4e7ba2
AZ
12048 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12049 alias when __isnan is defined.
12050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12051 and isnanf multiarch implementations.
12052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12053 file.
12054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12055 file.
12056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12057 file.
12058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12059 file.
12060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12061 multiarch isnan for PowerPC32.
12062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12063 New file.
12064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12065 New file.
12066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12067 multiarch isnanf for PowerPC32.
12068
ddba588e
AZ
12069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12070 and sqrtf multiarch implementations.
12071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12072 file.
12073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12074 file.
12075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12076 multiarch sqrt for PowerPC32.
12077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12078 file.
12079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12080 file.
12081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12082 multiarch sqrtf for PowerPC32.
12083
0f96a2f0
AZ
12084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12085 and llroundf multiarch implementations.
12086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12087 New file.
12088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12089 New file.
12090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12091 New file.
12092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12093 file: multiarch llround for PowerPC32.
12094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12095 file: multiarch llroundf for PowerPC32.
12096
c9b5d79e
AZ
12097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12098 multiarch PowerPC32 fpu implementations.
12099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12100 New file.
12101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12102 New file.
12103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12104 multiarch llrint for PowerPC32.
12105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12106 New file.
12107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12108 New file.
12109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12110 file.
12111
9cbb3aab
AZ
12112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12113
ea5a72f8
AZ
12114 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12115 file.
12116 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12117 file.
12118 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12119 file.
12120 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12121 multiarch wordcopy for PPC32.
12122 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12123 wordcopy objects.
12124 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12125 (__libc_ifunc_impl_list): Likewise.
12126 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12127 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12128 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12129 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12130 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12131 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12132
93be09e7
AZ
12133 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12134 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12135 file.
12136 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12137 file.
12138 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12139 file.
12140 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12141 multiarch wcscpy for PPC32.
12142 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12143 multiarch objects.
12144 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12145 (__libc_ifunc_impl_list): Likewise.
12146 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12147 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12148 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12149 sysdeps/powerpc/power6/wcscpy.c.
12150
bb04e529
AZ
12151 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12152 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12153 file.
12154 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12155 file.
12156 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12157 file.
12158 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12159 multiarch wcsrchr for PPC32.
12160 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12161 multiarch objects.
12162 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12163 (__libc_ifunc_impl_list): Likewise.
12164 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12165 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12166 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12167 sysdeps/powerpc/power6/wcsrchr.c.
12168
05b5cd1c
AZ
12169 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12170 file.
12171 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12172 file.
12173 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12174 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12175 multiarch wcschr for PPc32.
12176 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12177 multiarch objects.
12178 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12179 (__libc_ifunc_impl_list): Likewise.
12180 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12181 * sysdeps/powerpc/power6/wcschr.c: ... to here.
12182 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12183 sysdeps/powerpc/power6/wcschr.c.
12184
ba964147
AZ
12185 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12186 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12187 file.
12188 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12189 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12190 file: multiarch strchr for PPC32.
12191 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12192 multiarch objects.
12193 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12194 (__libc_ifunc_impl_list): Likewise.
12195
31c81aaa
AZ
12196 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12197 name.
12198 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12199 file.
12200 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12201 file.
12202 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12203 multiarch strchrnul for PPC32.
12204 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12205 multiarch objects.
12206 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12207 (__libc_ifunc_impl_list): Likewise.
12208
0d0607d9
AZ
12209 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12210 file.
12211 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12212 multiarch strncasecmp for PPC32.
12213 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12214 file.
12215 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12216 multiarch strncasecmp_l for PPC32.
12217 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12218 strncasecmp multiarch objects.
12219 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12220 (__libc_ifunc_impl_list): Likewise.
12221
4dfd5c86
AZ
12222 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12223 file.
12224 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12225 multiarch strncasecmp for PPC32.
12226 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12227 New file.
12228 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12229 multiarch strcasecmp_l for PPC32.
12230 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12231 multiarch objects.
12232 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12233 (__libc_ifunc_impl_list): Likewise.
12234
a19e01a3
AZ
12235 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12236 file.
12237 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12238 file.
12239 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12240 multiarch strncmp for PPC32.
12241 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12242 multiarch objects.
12243 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12244 (__libc_ifunc_impl_list): Likewise.
12245
ae9cf7a2
AZ
12246 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12247 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12248 file.
12249 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12250 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12251 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12252 multiarch objects.
12253 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12254 (__libc_ifunc_impl_list): Likewise.
12255
3148bb7d
AZ
12256 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12257 file.
12258 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12259 file.
12260 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12261 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12262 multiarch objects.
12263 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12264 (__libc_ifunc_impl_list): Likewise.
12265
7af8b946
AZ
12266 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12267 file.
12268 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12269 file.
12270 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12271 multiarch rawmemchr for PPC32.
12272 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12273 multiarch objects.
12274 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12275 (__libc_ifunc_impl_list): Likewise.
12276
03a6aa6a
AZ
12277 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12278 file.
12279 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12280 file.
12281 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12282 file: memrchr multiarch for PPC32.
12283 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12284 multiarch objects.
12285 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12286 (__libc_ifunc_impl_list): Likewise.
12287
1c62e6d9
AZ
12288 * string/memchr.c (__memchr): Using macro to redefine symbol name.
12289 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12290 file.
12291 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12292 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12293 multiarch memchr for PPC32.
12294 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12295 multiarch objects.
12296 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12297 (__libc_ifunc_impl_list): Likewise.
12298
87da8bdb
AZ
12299 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12300 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12301 file.
12302 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12303 file.
12304 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12305 file: multiarch mempcpy for PPC32.
12306 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12307 multiarch objects.
12308 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12309 (__libc_ifunc_impl_list): Likewise.
12310
20ed4714
AZ
12311 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12312 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12313 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12314 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12315 multiarch bzero for PPC32.
12316 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12317 file.
12318 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12319 file.
12320 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12321 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12322 file: multiarch memset for PPC32.
12323 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12324 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12325 memset multiarch objects.
12326 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12327 (__libc_ifunc_impl_list): Likewise.
12328
ab3e3a46
AZ
12329 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12330 file.
12331 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12332 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12333 memcmp for PPC32.
12334 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12335 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12336 multiarch objects.
12337 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12338 (__libc_ifunc_impl_list): Likewise.
12339
930de6f0
AZ
12340 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12341 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12342 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12343 file.
12344 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12345 file.
12346 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12347 file.
12348 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12349 multiarch memcpy for PPC32.
12350 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12351 multiarch objects.
12352 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12353 (__libc_ifunc_impl_list): Likewise.
12354
4c628e00
AZ
12355 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12356 support multiarch for POWER/PPC32.
12357 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12358 Likewise.
12359 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12361 Implies file to make multiarch folder appers before the fpu and
12362 default folder for power4 configuration.
12363
f4479220
SP
123642013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12365
12366 * scripts/bench.pl: Append volatile keyword to type.
12367
8517800f
KK
123682013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12369
12370 * sysdeps/sh/sotruss-lib.c: New file.
12371 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12372
180138f1
AZ
123732013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12374
12375 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12376
bbf37bdc
JM
123772013-12-05 Joseph Myers <joseph@codesourcery.com>
12378
e47cc4e0
JM
12379 [BZ #6810]
12380 * math/w_tgamma.c: Include <errno.h>.
12381 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
12382 * math/w_tgammaf.c: Include <errno.h>.
12383 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
12384 * math/w_tgammal.c: Include <errno.h>.
12385 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
12386 * math/auto-libm-test-in: Do not allow missing errno on tgamma
12387 underflow. Add more tgamma tests.
12388 * math/auto-libm-test-out: Regenerated.
12389 * sysdeps/i386/fpu/libm-test-ulps: Update.
12390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12391
bbf37bdc
JM
12392 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12393 sin, sinh, tan, tanh, tgamma, y0 and y1.
12394 * math/auto-libm-test-out: Regenerated.
12395 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12396 (TEST_COND_x86): Likewise.
12397 (M_E2l): Remove macro.
12398 (M_E3l): Likewise.
12399 (M_2_SQRT_PIl): Likewise.
12400 (M_SQRT_PIl): Likewise.
12401 (M_1_DIV_El): Likewise.
12402 (log_test_data): Use AUTO_TESTS_f_f.
12403 (log10_test_data): Likewise.
12404 (log1p_test_data): Likewise.
12405 (log2_test_data): Likewise.
12406 (sin_test_data): Likewise.
12407 (sin_tonearest_test_data): Likewise.
12408 (sin_towardzero_test_data): Likewise.
12409 (sin_downward_test_data): Likewise.
12410 (sin_upward_test_data): Likewise.
12411 (sinh_test_data): Likewise.
12412 (sinh_tonearest_test_data): Likewise.
12413 (sinh_towardzero_test_data): Likewise.
12414 (sinh_downward_test_data): Likewise.
12415 (sinh_upward_test_data): Likewise.
12416 (tan_test_data): Likewise.
12417 (tan_tonearest_test_data): Likewise.
12418 (tan_towardzero_test_data): Likewise.
12419 (tan_downward_test_data): Likewise.
12420 (tan_upward_test_data): Likewise.
12421 (tanh_test_data): Likewise.
12422 (tgamma_test_data): Likewise.
12423 (y0_test_data): Likewise.
12424 (y1_test_data): Likewise.
12425 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12426 (special_real_inputs): Add pi/4.
12427 * sysdeps/i386/fpu/libm-test-ulps: Update.
12428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12429
eb5ad6b9
AZ
124302013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12431
12432 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12433 "longjmp_target" static probes.
12434 (__longjmp): Rename to __longjmp_symbol.
12435 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12436 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12437 on which longjmp to generate.
12438 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12439 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12440 probe.
12441 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12442 (__sigjmp_save): Rename to __sigjmp_save_symbol.
12443 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12444 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12445 and __sigjmp_save_symbol based on which sigsetjmp to generated.
12446 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12448 __longjmp_symbol based on which __longjmp to generate.
12449 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12450 probe.
12451 (setjmp): Rename to setjmp_symbol.
12452 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12453 (_setjmp): Rename to _setjmp_symbol.
12454 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12455 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12456 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12457 which setjmp to generate.
12458 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12459 "longjmp_target" static probes.
12460
d136c6dc
SP
124612013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12462
9298ecba
SP
12463 * benchtests/README: Add note about output arguments.
12464 * benchtests/bench-sincos.c: Remove file.
12465 * benchtests/sincos-inputs: New file.
12466 * scripts/bench.pl: Identify output arguments and define
12467 static variables for them.
12468
232983e9
SP
12469 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12470
d136c6dc
SP
12471 [BZ #15941]
12472 * Makefile (INSTALL): Add install-plain.texi as the primary
12473 dependency.
12474 * manual/install-plain.texi: New file.
12475 * manual/install.texi: Include node directive only for
12476 non-plaintext output.
12477
699ff837
JM
124782013-12-04 Joseph Myers <joseph@codesourcery.com>
12479
ab07cea8
JM
12480 * stdlib/longlong.h: Update from GCC.
12481
699ff837
JM
12482 [BZ #6807]
12483 [BZ #15901]
12484 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12485 * math/w_j0f.c (y0f): Likewise.
12486 * math/w_j0l.c (__y0l): Likewise.
12487 * math/w_j1.c (y1): Likewise.
12488 * math/w_j1f.c (y1f): Likewise.
12489 * math/w_j1l.c (__y1l): Likewise
12490 * math/w_jn.c (yn): Likewise.
12491 * math/w_jnf.c (ynf): Likewise.
12492 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12493 Bessel function pole errors in _POSIX_ mode. Use NAN as return
12494 value for Bessel function domain errors outside _SVID_ mode.
12495 Adjust sign of return value for yn (negative integer, 0).
12496 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12497 by zero in return for negative x and set sign appropriately for
12498 negative n.
12499 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12500 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12501 * math/libm-test.inc (y0_test_data): Add more tests and adjust
12502 expectations in error cases.
12503 (y1_test_data): Likewise.
12504 (yn_test_data): Likewise.
12505 * sysdeps/i386/fpu/libm-test-ulps: Update.
12506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12507
5b118558
UW
125082013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12509
12510 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12511 "64" to "64-v1". Add "64-v2".
12512 (abi-64-options): Rename to ...
12513 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
12514 (abi-64-condition): Rename to ...
12515 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
12516 (abi-64-ld-soname): Rename to ...
12517 (abi-64-v1-ld-soname): ... this.
12518 (abi-64-v2-options): Define.
12519 (abi-64-v2-condition): Likewise.
12520 (abi-64-v2-ld-soname): Likewise.
12521 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12522 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12526
61cd8fe4
UW
125272013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12528 Alan Modra <amodra@gmail.com>
12529
12530 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12531 New versions for use with the ELFv2 ABI.
12532 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12533 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12534 declaration.
12535 (struct La_ppc64v2_retval): Likewise.
12536 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12537 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12538 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12539 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12540 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12541 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12542 Do not save or restore CR.
12543 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12544 (_dl_profile_resolve): Do no save or restore CR. Support extended
12545 return values for ELFv2 ABI. Fix location of FPR return registers.
12546 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12547 updated values for _CALL_ELF == 2.
12548 (La_regs, La_retval, int_retval): Likewise.
12549
8b8a692c
UW
125502013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12551
12552 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12553 (FRAME_MIN_SIZE_PARM): Likewise.
12554 (FRAME_BACKCHAIN): Likewise.
12555 (FRAME_CR_SAVE): Likewise.
12556 (FRAME_LR_SAVE): Likewise.
12557 (FRAME_TOC_SAVE): Likewise.
12558 (FRAME_PARM_SAVE): Likewise.
12559 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12560 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12561 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12562 (call_mcount_parm_offset): New macro.
12563 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12564 (PROF): Use symbolic stack frame offsets.
12565 (TAIL_CALL_SYSCALL_ERROR): Likewise.
12566 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12567 Redefine in terms of FRAME_MIN_SIZE.
12568 (_dl_runtime_resolve): Use symbolic stack frame offsets.
12569 (_dl_profile_resolve): Likewise. Update comment.
12570 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12571 symbols stack frame offsets.
12572 (__sigsetjmp): Likewise.
12573 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12574 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12575 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12576 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12577
12578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12579 (FRAME_BACKCHAIN): Remove.
12580 (FRAME_CR_SAVE): Likewise.
12581 (FRAME_LR_SAVE): Likewise.
12582 (FRAME_COMPILER_DW): Likewise.
12583 (FRAME_LINKER_DW): Likewise.
12584 (FRAME_TOC_SAVE): Likewise.
12585 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
12586 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12587 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12588 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
12589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12590 (CHECK_SP): Use symbolic stack frame offsets.
12591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12592 zone" instead of caller's parameter save area for temp storage.
12593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12594 Likewise. Also, use symbolic stack frame offsets.
12595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12596 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12597 our own stack frame instead of the caller's.
12598 (__socket): Use symbolic stack frame offsets.
12599
122b66de
UW
126002013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12601 Alan Modra <amodra@gmail.com>
12602
12603 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12604 Define.
57f41c40
AS
12605 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12606 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
12607 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12608 New function.
12609 (elf_machine_fixup_plt): Call it.
12610 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
12611 reloc arguments.
12612 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
12613 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12614 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
12615 r2 before calling target.
12616
696caf1d
UW
126172013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12618 Alan Modra <amodra@gmail.com>
12619
12620 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12621 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12622 versions of macros to support ELFv2 ABI.
12623 (LOCALENTRY): New macro.
12624 (ENTRY, EALIGN): Use it.
12625 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12626 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12627 fall through into ENTRY entry point.
12628 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12629 Only define if _CALL_ELF != 2.
12630
12631 (elf_machine_matches_host): Verify ABI version matches.
12632 (RTLD_START): Use LOCALENTRY.
12633 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12634 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12635 (PLT_ENTRY_WORDS): New macro.
12636 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12637 (elf_machine_runtime_setup): Support ELFv2 ABI.
12638 (elf_machine_fixup_plt): Likewise.
12639 (elf_machine_plt_conflict): Likewise.
12640 (resolve_ifunc): Likewise.
12641 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12642 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12643 Likewise.
12644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12645 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12647 (makecontext): Support ELFv2 ABI.
12648 * elf/elf.h (EF_PPC64_ABI): Define.
12649
d31beafa
UW
126502013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12651
57f41c40
AS
12652 * sysdeps/powerpc/powerpc64/sysdep.h
12653 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12654 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12655 (ENTRY) [ASSEMBLER]: ... but instead here ...
12656 (EALIGN) [ASSEMBLER]: ... and here.
12657 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12658 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12659 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
12660 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12661 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
12662 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12663 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
12664 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12666 Use PPC64_LOAD_FUNCPTR.
12667
b525166b
UW
12668 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12669
7ec07d9a
AM
126702013-12-04 Alan Modra <amodra@gmail.com>
12671
12672 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12673 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12674 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12675 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12676
12677 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12678 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12679 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12680 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12681 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12682 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12683
5162e7dd
UW
126842013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12685
12686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12687 (__makecontext): Fix incorrect CFI when backtracing out of
12688 context created via makecontext.
12689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12690 (__setcontext): Fix incorrect CFI during switch to new context.
12691 (__novec_setcontext): Likewise.
12692
19e3372b
OB
126932013-12-04 Ondřej Bílka <neleai@seznam.cz>
12694
12695 [BZ #4772]
12696 * time/strptime_l.c (__strptime_internal): Allow modifiers
12697 in strptime.
12698 * time/tst-strptime.c (day_tests): Add testcase.
12699
ecaf142d
SP
127002013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12701
12702 * scripts/bench.pl: Skip over blank lines.
12703
fbf964ae
PE
127042013-12-04 Paul Eggert <eggert@cs.ucla.edu>
12705
12706 [BZ #926]
12707 * manual/time.texi (Calendar Time): Clarify what timezone functions
12708 use.
12709
fa60a674
AZ
127102013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12711
12712 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12713
d674f0ef
OB
127142013-12-04 Ondřej Bílka <neleai@seznam.cz>
12715
12716 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12717 implementation.
12718 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12719 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12720 * debug/memset_chk.c (__memset_chk): Likewise.
12721 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12722 * debug/strncpy_chk.c: Likewise.
12723
17dea188
JM
127242013-12-03 Joseph Myers <joseph@codesourcery.com>
12725
749008ff
JM
12726 [BZ #15268]
12727 [BZ #15425]
12728 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12729 (__ieee754_exp): For possibly underflowing results, check size of
12730 result and force underflow exception if required.
12731 * math/auto-libm-test-in: Add more tests of exp.
12732 * math/auto-libm-test-out: Regenerated.
12733 * sysdeps/i386/fpu/libm-test-ulps: Update.
12734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12735
17dea188
JM
12736 [BZ #16283]
12737 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12738 * math/w_exp2f.c (__exp2f): Likewise.
12739 * math/w_exp2l.c (__exp2l): Likewise.
12740 * math/auto-libm-test-in: Do not allow missing errno on exp2
12741 underflow.
12742 * math/auto-libm-test-out: Regenerated.
12743
b20de2c3
OB
127442013-12-03 Ondřej Bílka <neleai@seznam.cz>
12745
12746 [BZ #16274]
12747 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12748 handle filename validation.
12749 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12750 (do_open): Delete.
12751
d8e2dbe3
JM
127522013-12-03 Joseph Myers <joseph@codesourcery.com>
12753
34e16df5
JM
12754 [BZ #6786]
12755 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12756 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12757 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12758 <float.h>.
12759 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12760 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12761 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12762 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12763 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12764 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12765 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12766 * math/auto-libm-test-in: Don't allow missing errno from erfc.
12767 Add more erfc tests.
12768 * math/auto-libm-test-out: Regenerated.
12769 * sysdeps/i386/fpu/libm-test-ulps: Update.
12770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12771
d8e2dbe3
JM
12772 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12773 exp2, expm1, j0 and j1.
12774 * math/auto-libm-test-out: Regenerated.
12775 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12776 (erfc_test_data): Likewise.
12777 (exp_test_data): Likewise.
12778 (exp_tonearest_test_data): Likewise.
12779 (exp_towardzero_test_data): Likewise.
12780 (exp_downward_test_data): Likewise.
12781 (exp_upward_test_data): Likewise.
12782 (exp10_test_data): Likewise.
12783 (exp2_test_data): Likewise.
12784 (expm1_test_data): Likewise.
12785 (j0_test_data): Likewise.
12786 (j1_test_data): Likewise.
12787 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12788 (input_flag_type): Add flag_xfail_rounding.
12789 (input_flags): Add xfail-rounding.
12790 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12791 (output_for_one_input_case): Handle flag_xfail_rounding.
12792 * sysdeps/i386/fpu/libm-test-ulps: Update.
12793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12794
18d14251
AJ
127952013-12-03 Aurelien Jarno <aurelien@aurel32.net>
12796
3d2e6075 12797 [BZ #16289]
18d14251
AJ
12798 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12799 division by 0.
12800
520d437b
SP
128012013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12802
12803 [BZ #16195]
12804 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12805 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12806 (STAP_PROBE0): New macro.
12807 (STAP_PROBE1): Likewise.
12808 (STAP_PROBE2): Likewise.
12809 (STAP_PROBE3): Likewise.
12810 (STAP_PROBE4): Likewise.
12811
416e0145
OB
128122013-12-02 Ondřej Bílka <neleai@seznam.cz>
12813
12814 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12815
9d17796a
SE
128162013-12-02 Steve Ellcey <sellcey@mips.com>
12817
12818 * benchtests/Makefile (bench): Add sqrt.
12819 (LDLIBS-bench-sqrt): New.
12820 * benchtests/sqrt-input: New.
12821
f524d6a8
PS
128222013-12-02 Pavel Simerda <psimerda@redhat.com>
12823
639a0ef8
PS
12824 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12825 (GAIH_EAI): Likewise.
12826 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12827 (gaih_inet): Likewise.
12828 (getaddrinfo): Don't use GAIH_EAI.
12829
f524d6a8
PS
12830 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12831 (struct gaih): Remove definition.
12832
df3aedaf
SP
128332013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12834
12835 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12836 Use HERRNOP directly.
12837
1ab19dec
AZ
128382013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12839
b42ad38d 12840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 12841
176b0c79
JM
128422013-11-30 Joseph Myers <joseph@codesourcery.com>
12843
12844 * math/gen-auto-libm-tests.c (test_functions): Add more
12845 single-argument functions.
12846 (special_fill_pi_2): New function.
12847 (special_fill_minus_pi_2): Likewise.
12848 (special_fill_pi_6): Likewise.
12849 (special_fill_minus_pi_6): Likewise.
12850 (special_fill_pi_3): Likewise.
12851 (special_fill_2pi_3): Likewise.
12852 (special_fill_e): Likewise.
12853 (special_fill_1_e): Likewise.
12854 (special_fill_e_minus_1): Likewise.
12855 (special_real_inputs): Add more special inputs.
12856 (output_for_one_input_case): Do not require ERANGE on underflow to
12857 zero if round-to-nearest result does not underflow to zero, unless
12858 exact results required.
12859 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12860 atan, atanh, cbrt, cos and cosh.
12861 * math/auto-libm-test-out: Regenerated.
12862 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12863 (acos_tonearest_test_data): Likewise.
12864 (acos_towardzero_test_data): Likewise.
12865 (acos_downward_test_data): Likewise.
12866 (acos_upward_test_data): Likewise.
12867 (acosh_test_data): Likewise.
12868 (asin_test_data): Likewise.
12869 (asin_tonearest_test_data): Likewise.
12870 (asin_towardzero_test_data): Likewise.
12871 (asin_upward_test_data): Likewise.
12872 (asinh_test_data): Likewise.
12873 (atan_test_data): Likewise.
12874 (atanh_test_data): Likewise.
12875 (cbrt_test_data): Likewise.
12876 (cos_test_data): Likewise.
12877 (cos_tonearest_test_data): Likewise.
12878 (cos_towardzero_test_data): Likewise.
12879 (cos_downward_test_data): Likewise.
12880 (cos_upward_test_data): Likewise.
12881 (cosh_test_data): Likewise.
12882 (cosh_tonearest_test_data): Likewise.
12883 (cosh_towardzero_test_data): Likewise.
12884 (cosh_downward_test_data): Likewise.
12885 (cosh_upward_test_data): Likewise.
12886 * sysdeps/i386/fpu/libm-test-ulps: Update.
12887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12888
ffb536d0
JM
128892013-11-29 Joseph Myers <joseph@codesourcery.com>
12890
2a77a467
JM
12891 [BZ #6787]
12892 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12893 * math/w_exp10f.c (__exp10f): Likewise.
12894 * math/w_exp10l.c (__exp10l): Likewise.
12895 * math/libm-test.inc (exp10_test_data): Add more tests and expect
12896 errno settings in existing tests.
12897
ea3bc4e8
JM
12898 [BZ #14032]
12899 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12900 precision control set to double precision.
12901 * sysdeps/i386/fpu/w_sqrt.c: New file.
12902 * math/auto-libm-test-in: Add more tests.
12903 * math/auto-libm-test-out: Update.
12904
0712c9d8
JM
12905 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12906 (sqrt_test_tonearest): New function.
12907 (sqrt_towardzero_test_data): New variable.
12908 (sqrt_test_towardzero): New function.
12909 (sqrt_downward_test_data): New variable.
12910 (sqrt_test_downward): New function.
12911 (sqrt_upward_test_data): New variable.
12912 (sqrt_test_upward): New function.
12913 (main): Call the new functions.
12914
ffb536d0
JM
12915 * math/gen-auto-libm-tests.c: New file.
12916 * math/auto-libm-test-in: Likewise.
12917 * math/auto-libm-test-out: New generated file.
12918 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12919 variables.
12920 (%beautify): Add generated representations of zero.
12921 (top level): Set $auto_input and call parse_auto_input.
12922 (beautify): Remove trailing "f" from hex float constants.
12923 (parse_args): Handle XFAIL_TEST.
12924 (convert_condition): New function.
12925 (or_value): Likewise.
12926 (or_cond_value): Likewise.
12927 (generate_testfile): Handle AUTO_TESTS_* lines.
12928 (parse_auto_input): New function.
12929 * math/libm-test.inc (XFAIL_TEST): New macro.
12930 (ERRNO_UNCHANGED): Update value.
12931 (ERRNO_EDOM): Likewise.
12932 (ERRNO_ERANGE): Likewise.
12933 (IGNORE_RESULT): Likewise.
12934 (TEST_COND_flt_32): New macro.
12935 (TEST_COND_dbl_64): Likewise.
12936 (TEST_COND_ldbl_96_intel): Likewise.
12937 (TEST_COND_ldbl_96_m68k): Likewise.
12938 (TEST_COND_ldbl_128): Likewise.
12939 (TEST_COND_ldbl_128ibm): Likewise.
12940 (TEST_COND_long32): Likewise.
12941 (TEST_COND_long64): Likewise.
12942 (TEST_COND_before_rounding): Likewise.
12943 (TEST_COND_after_rounding): Likewise.
12944 (enable_test): Handle XFAIL_TEST flag.
12945 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12946 with finite results.
12947 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12948 auto-libm-test-out.
12949
acd98a8e
AK
129502013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12951 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12952
12953 [BZ #16214]
12954 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12955 __tls_get_addr_internal instead of __tls_get_offset in order to
12956 avoid GOT pointer dependency. Make rtld export
12957 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12958 __tls_get_addr since we are a __tls_get_offset platform.
12959 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12960 GOT pointer being set up before.
12961 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12962
3c1c46a6
JM
129632013-11-28 Joseph Myers <joseph@codesourcery.com>
12964
7475aef5
JM
12965 * manual/math.texi (Errors in Math Functions): Document accuracy
12966 goals.
12967
8bca7cd8
JM
12968 [BZ #15004]
12969 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12970 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12971 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12972 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12973 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12974 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12975 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12976 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12977 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12978 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12979 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12980 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12981 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12982 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12983 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12984 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12985
91a1f3fe
JM
12986 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12987 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12988 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12989 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12990 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12991 Likewise.
12992 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12993 Likewise.
12994 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12995 Likewise.
12996 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12997 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12998 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12999 atomic-feupdateenv and flt-rounds.
13000 * sysdeps/powerpc/nofpu/Versions (libc): Add
13001 __atomic_feholdexcept, __atomic_feclearexcept,
13002 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13003 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13004 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13005 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13006 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13007 here.
13008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13009 Update.
13010
c5df7609
JM
13011 * manual/arith.texi (FP Exceptions): Document that exceptions may
13012 not be raised when matherr is used.
13013 (Math Error Reporting): Document overflow in directed rounding
13014 modes. Document that errno may not be set when finite values are
13015 returned on overflow. Document intent to set errno on underflow
13016 only for underflow to zero.
13017
3c1c46a6
JM
13018 [BZ #16271]
13019 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13020 round-to-nearest then adjust result for other rounding modes.
13021 * include/fenv.h (fegetround): Use libm_hidden_proto.
13022 * math/fegetround.c (fegetround): Use libm_hidden_def.
13023 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13024 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13025 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13026 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13027 Likewise.
13028 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13029 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13030 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13031 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13032
5a4c6d53
SP
130332013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13034
13035 [BZ #16077]
13036 * nss/Versions (libnss_files): Add
13037 _nss_files_gethostbyname3_r.
13038 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13039 New function.
13040 (HOST_DB_LOOKUP): Remove macro.
13041 (_nss_files_gethostbyname_r): Implement function without the
13042 HOST_DB_LOOKUP macro.
13043 (_nss_files_gethostbyname2_r): Likewise.
13044
897b98ba
OB
130452013-11-28 Ondřej Bílka <neleai@seznam.cz>
13046
13047 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13048
6f476861
UB
130492013-11-26 Uros Bizjak <ubizjak@gmail.com>
13050
13051 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13052 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13053 warning.
13054
bd12ab55
AZ
130552013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13056
13057 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13058 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13059 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13060 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13061 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13062 __fe_nomask_env_priv and attribute_hidden.
13063 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13064 (libc_feupdateenv_test_ppc): Likewise.
13065 (libc_feresetround_ppc): Likewise.
13066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13067 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13068 compat_symbol macro.
13069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13070 (__fe_nomask_env): Likewise.
13071 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13072
52bb6543
OB
130732013-11-26 Ondřej Bílka <neleai@seznam.cz>
13074
13075 * string/Makefile: Remove ifunc tests.
13076 * string/test-string.h: Define TEST_IFUNC.
13077 * string/test-bcopy-ifunc.c: Remove.
13078 * string/test-bzero-ifunc.c: Likewise.
13079 * string/test-memccpy-ifunc.c: Likewise.
13080 * string/test-memchr-ifunc.c: Likewise.
13081 * string/test-memcmp-ifunc.c: Likewise.
13082 * string/test-memcpy-ifunc.c: Likewise.
13083 * string/test-memmem-ifunc.c: Likewise.
13084 * string/test-memmove-ifunc.c: Likewise.
13085 * string/test-mempcpy-ifunc.c: Likewise.
13086 * string/test-memrchr-ifunc.c: Likewise.
13087 * string/test-memset-ifunc.c: Likewise.
13088 * string/test-rawmemchr-ifunc.c: Likewise.
13089 * string/test-stpcpy-ifunc.c: Likewise.
13090 * string/test-stpncpy-ifunc.c: Likewise.
13091 * string/test-strcasecmp-ifunc.c: Likewise.
13092 * string/test-strcasestr-ifunc.c: Likewise.
13093 * string/test-strcat-ifunc.c: Likewise.
13094 * string/test-strchr-ifunc.c: Likewise.
13095 * string/test-strchrnul-ifunc.c: Likewise.
13096 * string/test-strcmp-ifunc.c: Likewise.
13097 * string/test-strcpy-ifunc.c: Likewise.
13098 * string/test-strcspn-ifunc.c: Likewise.
13099 * string/test-strlen-ifunc.c: Likewise.
13100 * string/test-strncasecmp-ifunc.c: Likewise.
13101 * string/test-strncat-ifunc.c: Likewise.
13102 * string/test-strncmp-ifunc.c: Likewise.
13103 * string/test-strncpy-ifunc.c: Likewise.
13104 * string/test-strnlen-ifunc.c: Likewise.
13105 * string/test-strpbrk-ifunc.c: Likewise.
13106 * string/test-strrchr-ifunc.c: Likewise.
13107 * string/test-strspn-ifunc.c: Likewise.
13108 * string/test-strstr-ifunc.c: Likewise.
13109
ab260039 131102013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
13111
13112 * benchtests/Makefile: Remove ifunc tests.
13113 * benchtests/bench-string.h: Define TEST_IFUNC.
13114 * benchtests/bench-bcopy-ifunc.c: Remove.
13115 * benchtests/bench-bzero-ifunc.c: Likewise.
13116 * benchtests/bench-memccpy-ifunc.c: Likewise.
13117 * benchtests/bench-memchr-ifunc.c: Likewise.
13118 * benchtests/bench-memcmp-ifunc.c: Likewise.
13119 * benchtests/bench-memcpy-ifunc.c: Likewise.
13120 * benchtests/bench-memmem-ifunc.c: Likewise.
13121 * benchtests/bench-memmove-ifunc.c: Likewise.
13122 * benchtests/bench-mempcpy-ifunc.c: Likewise.
13123 * benchtests/bench-memrchr-ifunc.c: Likewise.
13124 * benchtests/bench-memset-ifunc.c: Likewise.
13125 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13126 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13127 * benchtests/bench-stpcpy-ifunc.c: Likewise.
13128 * benchtests/bench-stpncpy-ifunc.c: Likewise.
13129 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13130 * benchtests/bench-strcasestr-ifunc.c: Likewise.
13131 * benchtests/bench-strcat-ifunc.c: Likewise.
13132 * benchtests/bench-strchr-ifunc.c: Likewise.
13133 * benchtests/bench-strchrnul-ifunc.c: Likewise.
13134 * benchtests/bench-strcmp-ifunc.c: Likewise.
13135 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13136 * benchtests/bench-strcpy-ifunc.c: Likewise.
13137 * benchtests/bench-strcspn-ifunc.c: Likewise.
13138 * benchtests/bench-strlen-ifunc.c: Likewise.
13139 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13140 * benchtests/bench-strncat-ifunc.c: Likewise.
13141 * benchtests/bench-strncmp-ifunc.c: Likewise.
13142 * benchtests/bench-strncpy-ifunc.c: Likewise.
13143 * benchtests/bench-strnlen-ifunc.c: Likewise.
13144 * benchtests/bench-strpbrk-ifunc.c: Likewise.
13145 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 13146 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
13147 * benchtests/bench-strspn-ifunc.c: Likewise.
13148 * benchtests/bench-strstr-ifunc.c: Likewise.
13149
131502013-11-26 Ondřej Bílka <neleai@seznam.cz>
13151
ab260039
OB
13152 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13153
d1d9eaf4 131542013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 13155
d1d9eaf4
OB
13156 * resolv/netdb.h: Use __glibc_reserved instead __unused.
13157 * rt/aio.h: Likewise.
13158 * sysdeps/gnu/bits/utmp.h: Likewise.
13159 * sysdeps/gnu/bits/utmpx.h: Likewise.
13160 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13161 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13162 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13163 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13164 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13165 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13166 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13167 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13168 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13169 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13170 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13171 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13172 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13174 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13175 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13176 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13177 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13178 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13179 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13180 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13181 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13182 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13183 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13184 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13185 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13186 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13187 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13188 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13189 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13190 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13191 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13192 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13193 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13194 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13195 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13196 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13197 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13198 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13199 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13200 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13201 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13202
a7624ed9
CD
132032013-11-25 Carlos O'Donell <carlos@redhat.com>
13204
13205 [BZ #16245]
13206 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13207 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13208
63cfe52b
JM
132092013-11-25 Joseph Myers <joseph@codesourcery.com>
13210
13211 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13212 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13213 Likewise.
13214
41e8926a
AZ
132152013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13216
13217 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13218 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13219 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13220 (__fesetround): Remove define.
13221 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13222 rounding and exceptions handling.
13223 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13224 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13225 (__fe_nomask_env): Likewise.
13226 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13227 __fegetround instead of fegetround.
13228 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13229 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13230
6851bd4d
RM
132312013-11-21 Roland McGrath <roland@hack.frob.com>
13232
070906ff
RM
13233 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13234 it's there.
13235
6851bd4d
RM
13236 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13237
84ae135d
MI
132382013-11-21 Meador Inge <meadori@codesourcery.com>
13239
13240 [BZ #11157]
13241 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13242 (encrypt_r): Likewise.
13243 * malloc/obstack.h (obstack_free): Likewise.
13244 * posix/unistd.h (encrypt): Likewise.
13245
daf75146
GM
132462013-11-21 Guy Martin <gmsoft@tuxicoman.be>
13247
13248 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13249 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13250 DL_CALL_DT_FINI() that call the functions directly.
13251 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13252 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13253 * elf/dl-fini.c: Likewise.
13254
10ad46bc
OB
132552013-11-20 Ondřej Bílka <neleai@seznam.cz>
13256
13257 * malloc/hooks.c (memalign_check): Add alignment rounding.
13258 * malloc/malloc.c (_mid_memalign): New function.
13259 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13260 Implement by calling _mid_memalign.
13261 * manual/probes.texi (Memory Allocation Probes): Remove
13262 memory_valloc_retry and memory_pvalloc_retry.
13263
f3fd2628
SP
132642013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13265
4712799f
SP
13266 * locale/programs/locarchive.c (open_archive): Add const
13267 qualifier to ARCHIVEFNAME and copy default fname to
13268 DEFAULT_FNAME.
13269
0417b20f
SP
13270 [BZ #15601]
13271 * libio/tst-widetext.input: Rename Oriya to Odia.
13272 * locale/iso-639.def: Likewise.
13273
f3fd2628
SP
13274 * manual/probes.texi (Mathematical Function Probes): Add
13275 documentation for sin, cos, asin and acos probes.
13276 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13277 (__sin32): Add slowasin probe.
13278 (__cos32): Add slowacos probe.
13279 (__mpsin): Add slowsin probe.
13280 (__mpcos): Add slowcos probe.
13281
73c1ce4f
JM
132822013-11-19 Joseph Myers <joseph@codesourcery.com>
13283
13284 [BZ #15483]
13285 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13286 thread-local __sim_exceptions_thread and global
13287 __sim_exceptions_global.
13288 (__sim_disabled_exceptions): Change to thread-local
13289 __sim_disabled_exceptions_thread and global
13290 __sim_disabled_exceptions_global.
13291 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13292 and global __sim_round_mode_global.
13293 (__simulate_exceptions): Use thread-local floating-point state and
13294 set global state from it as needed.
13295 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13296 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13297 __sim_round_mode_thread.
13298 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13299 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13300 and global __sim_exceptions_global.
13301 (__sim_disabled_exceptions): Change to thread-local
13302 __sim_disabled_exceptions_thread and global
13303 __sim_disabled_exceptions_global.
13304 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13305 and global __sim_round_mode_global.
13306 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13307 (SIM_SET_GLOBAL): Likewise.
13308 * sysdeps/powerpc/soft-fp/sfp-machine.h
13309 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13310 __sim_round_mode_thread.
13311 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13312 __sim_disabled_exceptions_thread.
13313 (__sim_exceptions): Change to __sim_exceptions_thread.
13314 (__sim_disabled_exceptions): Change to
13315 __sim_disabled_exceptions_thread.
13316 (__sim_round_mode): Change to __sim_round_mode_thread.
13317 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13318 thread-local floating-point state and set global state from it as
13319 needed.
13320 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13321 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13322 (__sim_disabled_exceptions): Remove extern declaration.
13323 (feenableexcept): Use thread-local floating-point state and set
13324 global state from it as needed.
13325 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13326 extern declaration.
13327 (__sim_disabled_exceptions): Likewise.
13328 (__sim_round_mode): Likewise.
13329 (__fegetenv): Use thread-local floating-point state.
13330 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13331 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13332 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13333 floating-point state and set global state from it as needed.
13334 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13335 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13336 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13337 Likewise.
13338 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13339 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13340 Likewise.
13341 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13342 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13343 Use __sim_round_mode_thread.
13344 * math/test-fenv-tls.c: New file.
13345 * math/Makefile (tests): Add test-fenv-tls.
13346 ($(objpfx)test-fenv-tls): Depend on
13347 $(common-objpfx)nptl/libpthread.so.
13348
b5449b12
AS
133492013-11-19 Andreas Schwab <schwab@suse.de>
13350
13351 * locale/programs/locale.c (show_info): Decode wordarray elements.
13352 * locale/categories.def (LC_MONETARY): Add element for
13353 _NL_MONETARY_CRNCYSTR.
13354 * locale/C-monetary.c (conversion_rate): New variable.
13355 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13356 element.
13357
e186536b
CM
133582013-11-18 Chris Metcalf <cmetcalf@tilera.com>
13359
13360 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13361 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13362
5c349950
PP
133632013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13364
13365 * elf/Makefile (tst-auxv): New test.
13366 * elf/tst-auxv.c: New
13367 * elf/rtld.c (dl_main): Adjust AT_EXECFN
13368
699df45b
JM
133692013-11-18 Joseph Myers <joseph@codesourcery.com>
13370
13371 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13372 (hidden_proto): Caller changed.
13373 (hidden_tls_proto): New macro.
13374 (libc_hidden_tls_proto): Likewise.
13375 (rtld_hidden_tls_proto): Likewise.
13376 (libm_hidden_tls_proto): Likewise.
13377 (libresolv_hidden_tls_proto): Likewise.
13378 (librt_hidden_tls_proto): Likewise.
13379 (libdl_hidden_tls_proto): Likewise.
13380 (libnss_files_hidden_tls_proto): Likewise.
13381 (libnsl_hidden_tls_proto): Likewise.
13382 (libnss_nisplus_hidden_tls_proto): Likewise.
13383 (libutil_hidden_tls_proto): Likewise.
13384
b7589107
OB
133852013-11-18 Ondřej Bílka <neleai@seznam.cz>
13386
13387 [BZ #10253]
13388 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13389 (decompose_rpath): Defer expansion to fillin_rpath.
13390 (_dl_init_paths): Pass linkmap to fillin_rpath.
13391
250c23bd
RS
133922013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13393
13394 * benchtests/Makefile: Add strsep.
13395 * benchtests/bench-strsep.c: New file: strsep benchtest.
13396 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13397
a7931fcf
AS
133982013-11-18 Andreas Schwab <schwab@suse.de>
13399
13400 * locale/programs/locale.c (show_info) [case byte]: Check for
13401 '\377' instead of '\177'.
13402 * locale/C-monetary.c (not_available): Always use "\377".
13403 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13404 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
13405 detect unavailable sign_posn locale elements.
13406 * locale/localeconv.c (__localeconv): For grouping and
13407 mon_grouping handle "\177" and "\377" like no grouping.
13408 (INT_ELEM): New macro. Use it to set all numeric members.
13409 * locale/programs/ld-monetary.c (monetary_read)
13410 <tok_mon_grouping>: Normalize single -1 to the empty string.
13411 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13412 Likewise.
13413
728dab0e
OB
134142013-11-07 Ondřej Bílka <neleai@seznam.cz>
13415
13416 [BZ #16055]
13417 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13418 when we match (nil).
13419 * stdio-common/tst-sscanf.c (struct test): Add testcase.
13420
66294491
JM
134212013-11-16 Joseph Myers <joseph@codesourcery.com>
13422
ce665817
JM
13423 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13424 (NO_TEST_INLINE): Update value.
13425 (ERRNO_UNCHANGED): Likewise.
13426 (ERRNO_EDOM): Likewise.
13427 (ERRNO_ERANGE): Likewise.
13428 (IGNORE_RESULT): Likewise.
13429 (check_float_internal): Check signs of NaN results if
13430 TEST_NAN_SIGN used.
13431 (check_complex): Pass TEST_NAN_SIGN flag through to second
13432 check_float_internal call.
13433 (copysign_test_data): Add tests with quiet NaNs as second
13434 argument. Use TEST_NAN_SIGN.
13435 (fabs_test_data): Add test of negative quiet NaN argument. Use
13436 TEST_NAN_SIGN.
13437 (signbit_test_data): Add tests of quiet NaN argument.
13438 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13439
ee1466a9
JM
13440 * math/gen-libm-test.pl (show_exceptions): Take extra argument
13441 $ignore_result.
13442 (parse_args): Handle function results specified as IGNORE.
13443 * math/libm-test.inc (IGNORE_RESULT): New macro.
13444 (check_float_internal): Do not check numerical result if flag
13445 IGNORE_RESULT set.
13446 (check_complex): Pass through IGNORE_RESULT to second
13447 check_float_internal call.
13448 (check_int): Do not check numerical result if flag IGNORE_RESULT
13449 set.
13450 (check_long): Likewise.
13451 (check_bool): Likewise.
13452 (check_longlong): Likewise.
13453 (lrint_test_data): Add tests of infinite and NaN arguments.
13454 (lrint_tonearest_test_data): Likewise.
13455 (lrint_towardzero_test_data): Likewise.
13456 (lrint_downward_test_data): Likewise.
13457 (lrint_upward_test_data): Likewise.
13458 (llrint_test_data): Likewise.
13459 (llrint_tonearest_test_data): Likewise.
13460 (llrint_towardzero_test_data): Likewise.
13461 (llrint_downward_test_data): Likewise.
13462 (llrint_upward_test_data): Likewise.
13463 (lround_test_data): Likewise.
13464 (llround_test_data): Likewise.
13465
14407b7e
JM
13466 * math/libm-test.inc (NO_TEST_INLINE): New macro.
13467 (ERRNO_UNCHANGED): Update value.
13468 (ERRNO_EDOM): Likewise.
13469 (ERRNO_ERANGE): Likewise.
13470 (NO_TEST_INLINE_FLOAT): New macro.
13471 (NO_TEST_INLINE_DOUBLE): Likewise.
13472 (enable_test): New function.
13473 (RUN_TEST_f_f): Check enable_test before running test.
13474 (RUN_TEST_2_f): Likewise.
13475 (RUN_TEST_fff_f): Likewise.
13476 (RUN_TEST_c_f): Likewise.
13477 (RUN_TEST_f_f1): Likewise.
13478 (RUN_TEST_fF_f1): Likewise.
13479 (RUN_TEST_fI_f1): Likewise.
13480 (RUN_TEST_ffI_f1): Likewise.
13481 (RUN_TEST_c_c): Likewise.
13482 (RUN_TEST_cc_c): Likewise.
13483 (RUN_TEST_f_i): Likewise.
13484 (RUN_TEST_f_i_tg): Likewise.
13485 (RUN_TEST_ff_i_tg): Likewise.
13486 (RUN_TEST_f_b): Likewise.
13487 (RUN_TEST_f_b_tg): Likewise.
13488 (RUN_TEST_f_l): Likewise.
13489 (RUN_TEST_f_L): Likewise.
13490 (RUN_TEST_fFF_11): Likewise.
13491 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13492 conditionals.
13493 (cosh_test_data): Likewise.
13494 (exp_test_data): Likewise.
13495 (expm1_test_data): Likewise.
13496 (hypot_test_data): Likewise.
13497 (pow_test_data): Likewise.
13498 (sinh_test_data): Likewise.
13499 (tanh_test_data): Likewise.
13500 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13501 flags argument.
13502
ca07f197
JM
13503 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13504 tests with quiet NaN input and output.
13505 (acosh_test_data): Likewise.
13506 (asin_test_data): Likewise.
13507 (asinh_test_data): Likewise.
13508 (atan_test_data): Likewise.
13509 (atanh_test_data): Likewise.
13510 (atan2_test_data): Likewise.
13511 (cbrt_test_data): Likewise.
13512 (cos_test_data): Likewise.
13513 (cosh_test_data): Likewise.
13514 (erf_test_data): Likewise.
13515 (erfc_test_data): Likewise.
13516 (exp_test_data): Likewise.
13517 (exp10_test_data): Likewise.
13518 (exp2_test_data): Likewise.
13519 (expm1_test_data): Likewise.
13520 (hypot_test_data): Likewise.
13521 (j0_test_data): Likewise.
13522 (j1_test_data): Likewise.
13523 (jn_test_data): Likewise.
13524 (lgamma_test_data): Likewise.
13525 (log_test_data): Likewise.
13526 (log10_test_data): Likewise.
13527 (log1p_test_data): Likewise.
13528 (log2_test_data): Likewise.
13529 (pow_test_data): Likewise.
13530 (scalb_test_data): Likewise.
13531 (sin_test_data): Likewise.
13532 (sincos_test_data): Likewise.
13533 (sinh_test_data): Likewise.
13534 (tan_test_data): Likewise.
13535 (tanh_test_data): Likewise.
13536 (tgamma_test_data): Likewise.
13537 (y0_test_data): Likewise.
13538 (y1_test_data): Likewise.
13539 (yn_test_data): Likewise.
13540
66294491
JM
13541 [BZ #16167]
13542 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13543 argument being NaN and avoid computations with second argument in
13544 that case.
13545 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13546 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13547 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13548
1820b143
CL
135492013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
13550
13551 * locale/iso-639.def: Add Chitwani Tharu (the).
13552
714bd261
AS
135532013-11-14 Andreas Schwab <schwab@suse.de>
13554
13555 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13556 word instead of empty string.
13557
7ab44563
AZ
135582013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13559
13560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13561 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13563 (__fe_nomask_env): Likewise.
13564
e8470ea2
SE
135652013-11-13 Steve Ellcey <sellcey@mips.com>
13566
13567 * benchtests/bench-timing.h: Include time.h.
13568
17c1d9f0
L
135692013-11-13 H.J. Lu <hongjiu.lu@intel.com>
13570
13571 [BZ #15997]
13572 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13573 to 3.4.0 for x32.
13574 * sysdeps/unix/sysv/linux/configure: Regenerated.
13575
9310c284
JM
135762013-11-13 Joseph Myers <joseph@codesourcery.com>
13577
13578 [BZ #16151]
13579 * stdlib/strtod_l.c (round_and_return): Do not consider
13580 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13581 exponent one less than half the least subnormal exponent.
13582 * stdlib/test-strtod-round-data: Add more tests.
13583 * stdlib/tst-strtod-round.c (tests): Regenerated.
13584
7a2ad8cf
AZ
135852013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13586
13587 [BZ #14143]
13588 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13589 (__fe_mask_env): Likewise.
13590 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13591 libm_hidden_proto and add function prototype.
13592 (__fe_mask_env): Add function prototype.
13593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13594 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13596 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13598 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13599
50727aa7
MS
136002013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13601
b2f386c1 13602 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
13603 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13604
a615be46
MS
136052013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13606
13607 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13608 of htab_find_slot().
13609
7ddace62
DM
136102013-11-11 David S. Miller <davem@davemloft.net>
13611
13612 [BZ #16150]
13613 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13614 symbol in the non-vis3 case in static builds.
13615 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13616 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13617 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13618 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13619
9182aa67
JK
136202013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13621
13622 [BZ #387]
13623 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13624 it is empty.
13625
450a2e2d
AZ
136262013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13627
b2f386c1
SP
13628 * benchtests/Makefile: Add bench-strtod.
13629 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 13630
8ec3f656
AS
136312013-11-11 Andreas Schwab <schwab@suse.de>
13632
13633 [BZ #16153]
13634 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13635 terminating NUL in key length.
13636
76a9b998
AZ
136372013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13638
13639 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13640 Add artificial ODP entry for vDSO symbol for PPC64.
13641 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13642 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13643
e4368156
OB
136442013-11-07 Ondřej Bílka <neleai@seznam.cz>
13645
13646 [BZ #15374]
13647 * nss/getent.c (services_keys): Recognize services starting with digit.
13648
8d6bb57c
DM
136492013-11-06 David S. Miller <davem@davemloft.net>
13650
13651 [BZ #15985]
13652 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13653 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13654
e256c421
WN
136552013-11-06 Will Newton <will.newton@linaro.org>
13656
13657 * manual/memory.texi (Malloc Examples): Remove register
13658 keyword from examples.
13659
f6e12daa 136602013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 13661
f6e12daa 13662 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 13663
9d880655
AS
136642013-11-04 Joseph Myers <joseph@codesourcery.com>
13665
fd2f9486 13666 [BZ #6981]
9d880655
AS
13667 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13668 depending on [__GCC_IEC_559 > 0].
13669 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13670 depending on [__GCC_IEC_559_COMPLEX > 0].
13671
ae129d3c
CL
136722013-11-03 Chris Leonard <cjl@sugarlabs.org>
13673
13674 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13675 to iso-639.def.
13676
4a15c2a4 136772013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
13678
13679 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13680
8b35e35d
OB
136812013-11-01 Ondřej Bílka <neleai@seznam.cz>
13682
13683 [BZ #16112]
13684 * malloc/malloc (malloc_info): Do not handle first bin as
13685 special case.
13686
1d70fd6c
CL
136872013-11-01 Chris Leonard <cjl@sugarlabs.org>
13688
13689 * locale/iso-639.def: Add Central Nahuatl (nhn).
13690
8c5c2600
BH
136912013-11-01 Bruno Haible <bruno@clisp.org>
13692
13693 [BZ #7003]
13694 * manual/math.texi (BSD Random): Specify range upper bound as
13695 in POSIX.
13696
da5579c2
CL
136972013-10-31 Chris Leonard <cjl@sugarlabs.org>
13698
13699 * locale/iso-639.def: Add Meadow Mari (mhr).
13700
5d30d853
OB
137012013-10-31 Ondřej Bílka <neleai@seznam.cz>
13702
13703 [BZ #14752], [BZ #15763]
13704 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13705 Validate name.
13706 * rt/tst_shm.c: Add test for escaping directory.
13707
a4966c61
AS
137082013-10-31 Andreas Schwab <schwab@suse.de>
13709
8a43e768 13710 [BZ #15917]
a4966c61
AS
13711 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13712 followed by 'x' as part of digit sequence.
13713 * stdio-common/tst-sscanf.c (double_tests2): New tests.
13714
28d708c4
MAP
137152013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13716
13717 [BZ #16037]
13718 * configure.ac: allow GNU Make 4.0 and greater.
13719 * configure: Regenerated.
13720
a56ee40b
WN
137212013-10-30 Will Newton <will.newton@linaro.org>
13722
13723 [BZ #16038]
13724 * malloc/hooks.c (memalign_check): Limit alignment to the
13725 maximum representable power of two.
13726 * malloc/malloc.c (__libc_memalign): Likewise.
13727 * malloc/tst-memalign.c (do_test): Add test for very
13728 large alignment values.
13729 * malloc/tst-posix_memalign.c (do_test): Likewise.
13730
c6e4925d
OB
137312013-10-30 Ondřej Bílka <neleai@seznam.cz>
13732
13733 [BZ #11087]
13734 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13735 (munmap_chunk): Likewise.
13736 (mremap_chunk): Likewise.
13737
137382013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 13739
8a43e768 13740 [BZ #15799]
bbea82f7
OB
13741 * stdlib/div.c (div): Remove obsolete code.
13742 * stdlib/ldiv.c (ldiv): Likewise.
13743 * stdlib/lldiv.c (lldiv): Likewise.
13744
977f4b31
SP
137452013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13746
13747 [BZ #16071]
13748 * nss/nss_files/files-XXX.c (get_contents_ret): New
13749 enumerator.
13750 (get_contents): New function.
13751 (internal_getent): Use it. Expand size of LINEBUFLEN.
13752
cb8a6dbd
MF
137532013-10-30 Mike Frysinger <vapier@gentoo.org>
13754
13755 * configure.in: Moved to ...
13756 * configure.ac: ... here. Change reference to configure.in
13757 to configure.ac.
13758 * sysdeps/arm/preconfigure.ac: ... here.
13759 configure.in to configure.ac.
13760 * sysdeps/gnu/configure.in: Moved to ...
13761 * sysdeps/gnu/configure.ac: ... here.
13762 * sysdeps/i386/configure.in: Moved to ...
13763 * sysdeps/i386/configure.ac: ... here.
13764 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13765 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13766 * sysdeps/mach/configure.in: Moved to ...
13767 * sysdeps/mach/configure.ac: ... here.
13768 * sysdeps/mach/hurd/configure.in: Moved to ...
13769 * sysdeps/mach/hurd/configure.ac: ... here.
13770 * sysdeps/powerpc/configure.in: Moved to ...
13771 * sysdeps/powerpc/configure.ac: ... here.
13772 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13773 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13774 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13775 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13776 * sysdeps/s390/s390-32/configure.in: Moved to ...
13777 * sysdeps/s390/s390-32/configure.ac: ... here.
13778 * sysdeps/s390/s390-64/configure.in: Moved to ...
13779 * sysdeps/s390/s390-64/configure.ac: ... here.
13780 * sysdeps/sh/configure.in: Moved to ...
13781 * sysdeps/sh/configure.ac: ... here.
13782 * sysdeps/sparc/configure.in: Moved to ...
13783 * sysdeps/sparc/configure.ac: ... here.
13784 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13785 * sysdeps/unix/sysv/linux/configure.ac: ... here.
13786 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13787 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13788 * sysdeps/x86_64/configure.in: Moved to ...
13789 * sysdeps/x86_64/configure.ac: ... here.
13790 * sysdeps/x86_64/preconfigure.in: Moved to ...
13791 * sysdeps/x86_64/preconfigure.ac: ... here.
13792 * aclocal.m4: Change reference to configure.in to configure.ac.
13793 * config.h.in: Likewise.
13794 * manual/install.texi: Likewise.
13795 * manual/maint.texi: Likewise.
13796 * Makefile: Likewise.
13797 * malloc/Makefile: Likewise.
13798 * nscd/Makefile: Likewise.
13799 * Makeconfig: Change reference to configure.in and
13800 preconfigure.in to configure.ac and preconfigure.ac
13801 respectively.
13802 * INSTALL: Regenerated.
13803 * configure: Likewise.
13804 * sysdeps/gnu/configure: Likewise.
13805 * sysdeps/i386/configure: Likewise.
13806 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13807 * sysdeps/mach/configure: Likewise.
13808 * sysdeps/mach/hurd/configure: Likewise.
13809 * sysdeps/powerpc/configure: Likewise.
13810 * sysdeps/powerpc/powerpc32/configure: Likewise.
13811 * sysdeps/powerpc/powerpc64/configure: Likewise.
13812 * sysdeps/s390/s390-32/configure: Likewise.
13813 * sysdeps/s390/s390-64/configure: Likewise.
13814 * sysdeps/sh/configure: Likewise.
13815 * sysdeps/sparc/configure: Likewise.
13816 * sysdeps/unix/sysv/linux/configure: Likewise.
13817 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13818 * sysdeps/x86_64/configure: Likewise.
13819 * sysdeps/x86_64/preconfigure: Likewise.
13820
36a4953a
AS
138212013-10-29 Andreas Schwab <schwab@suse.de>
13822
13823 * stdio-common/Makefile (tst-swscanf-ENV): Define.
13824
c79a1204
SP
138252013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13826
dfa1b402
SP
13827 * benchtests/pow-inputs: Add new inputs.
13828
54f73d9c
SP
13829 * benchtests/exp-inputs: Add new inputs.
13830
c79a1204
SP
13831 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13832 conditional check for return value.
13833 (__cos32): Likewise.
13834
67beb545 138352013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
13836
13837 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13838 to provide a boost for large inputs with word alignment.
13839 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13840 implementation based on optimized PPC64 strcpy.
13841 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13842 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13843 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13844 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13845
151659f6
OB
138462013-10-25 Ondřej Bílka <neleai@seznam.cz>
13847
482a077e 13848 [BZ #2801]
151659f6
OB
13849 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13850
10b0f26b
OB
138512013-10-25 Ondřej Bílka <neleai@seznam.cz>
13852
13853 [BZ #14876]
13854 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13855 * time/tst-strptime.c (day_tests): Add testcase.
13856
ca42d35e
OB
138572013-10-25 Ondřej Bílka <neleai@seznam.cz>
13858
482a077e 13859 [BZ #14029]
ca42d35e
OB
13860 * manual/pattern.texi: Acknowledge that fnmatch can fail.
13861
52e6d801
FB
138622013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
13863
13864 [BZ #16074]
13865 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13866 MAP_FAILED on error.
13867
7cbcdb36
SP
138682013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13869
13870 [BZ #16072]
13871 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13872 heap for large requests.
13873
894f3f10
AM
138742013-10-25 Aurelien Jarno <aurelien@aurel32.net>
13875
13876 [BZ #9954]
13877 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13878 result if the result has no associated interface.
13879 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13880 interface for all 127.X.Y.Z addresses.
13881
b85545a6
CL
138822013-10-24 Chris Leonard <cjl@sugarlabs.org>
13883
13884 * locale/iso-639.def: Add Ligurian (lij)
13885
d1f23d46
OB
138862013-10-21 Ondřej Bílka <neleai@seznam.cz>
13887
13888 [BZ #15825]
13889 * sunrpc/rpc_main.c: Document rpcgen -5.
13890
4db5b08f
MS
138912013-10-19 Michael Stahl <mstahl@redhat.com>
13892
13893 * elf/rtld.c (do_preload): Print the reason why preloading failed.
13894
a471e96a
OB
138952013-10-19 Ondřej Bílka <neleai@seznam.cz>
13896
d1f23d46 13897 [BZ #10278]
a471e96a
OB
13898 * posix/glob.c: Match only directories when trailing slash is present.
13899 * posix/tst-gnuglob.c (my_opendir): Do not open files.
13900 (main): Add testcase.
13901
45c30c61
OB
139022013-10-19 Ondřej Bílka <neleai@seznam.cz>
13903
13904 [BZ #15670]
13905 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13906
484c12fb
CD
139072013-10-18 Carlos O'Donell <carlos@redhat.com>
13908
3d7dc513
CD
13909 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13910 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13911 AUTH_DES and cindex for FIPS 140-2.
13912 (DES Encryption): Add cindex FIPS 46-3.
13913
484c12fb
CD
13914 * locale/locarchive.h (struct locarhandle): Add fname.
13915 * locale/programs/localedef.c (main): Pass ARGV[remaining]
13916 if an optional argument was specified to --list-archive,
13917 otherwise NULL.
13918 * locale/programs/locarchive.c (show_archive_content): Take new
13919 argument fname and pass it via ah.fname to open_archive.
13920 * locale/programs/localedef.h: Update decl.
13921 (open_archive): If AH->fname is non-null, open that file
13922 rather than the default file name, and don't ignore ENOENT.
13923 (create_archive): Set AH.fname to NULL.
13924 (delete_locales_from_archive): Likewise.
13925 (add_locales_to_archive): Likewise.
13926 * locale/programs/locfile.c (write_all_categories): Likewise.
13927
3c8325fb
JM
139282013-10-18 Joseph Myers <joseph@codesourcery.com>
13929 Aldy Hernandez <aldyh@redhat.com>
13930
13931 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13932 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13933 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13934 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13935 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13936 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13937 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13938 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13939 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13940 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13941 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13942 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13943 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13944 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13945 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13946 Likewise.
13947 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13948 Likewise.
13949 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13950 Likewise.
13951 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13952 Likewise.
13953 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13954 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13955 Likewise.
13956 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13957 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13958 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13959 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13960 Likewise.
13961 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13962 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13963 * sysdeps/powerpc/preconfigure: Likewise.
13964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13965 Likewise.
13966 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13967 Replace contents of file by #include of <fenv_libc.h>.
13968 * sysdeps/powerpc/soft-fp/sfp-machine.h
13969 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13970 and <sys/prctl.h>.
13971 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13972 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13973 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13974 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13975 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13976 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13977 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13978 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13979 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13980 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13981 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13982 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13984 Allow copysignl PLT reference to be missing.
13985
5abe0682
RS
139862013-10-18 Richard Sandiford <richard@codesourcery.com>
13987 Joseph Myers <joseph@codesourcery.com
13988
13989 [BZ #15948]
13990 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13991 single character.
13992 (add_to_tablewc): Assert sequence of wide characters is nonempty.
13993
c7738d08
SP
139942013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13995
13996 * elf/tst-tls-dlinfo.c: Don't include tls.h.
13997 * elf/tst-tls1.c: Likewise.
13998 * elf/tst-tls10.h: Likewise.
13999 * elf/tst-tls14.c: Likewise.
14000 * elf/tst-tls2.c: Likewise.
14001 * elf/tst-tls3.c: Likewise.
14002 * elf/tst-tls4.c: Likewise.
14003 * elf/tst-tls5.c: Likewise.
14004 * elf/tst-tls6.c: Likewise.
14005 * elf/tst-tls7.c: Likewise.
14006 * elf/tst-tls8.c: Likewise.
14007 * elf/tst-tls9.c: Likewise.
14008 * elf/tst-tlsmod1.c: Likewise.
14009 * elf/tst-tlsmod13.c: Likewise.
14010 * elf/tst-tlsmod13a.c: Likewise.
14011 * elf/tst-tlsmod14a.c: Likewise.
14012 * elf/tst-tlsmod16a.c: Likewise.
14013 * elf/tst-tlsmod16b.c: Likewise.
14014 * elf/tst-tlsmod2.c: Likewise.
14015 * elf/tst-tlsmod3.c: Likewise.
14016 * elf/tst-tlsmod4.c: Likewise.
14017 * elf/tst-tlsmod5.c: Likewise.
14018 * elf/tst-tlsmod6.c: Likewise.
14019
0bfcf2c7
OB
140202013-10-18 Ondřej Bílka <neleai@seznam.cz>
14021
14022 [BZ #12486]
14023 * malloc/malloc.c: remove checks for statistics.
14024
264aad1e
OB
140252013-10-17 Ondřej Bílka <neleai@seznam.cz>
14026
14027 [BZ #15277]
14028 * inet/inet_net.c (inet_network): Detect additional invalid strings.
14029 * inet/tst-network.c: Add testcase.
14030
b957ced8
AS
140312013-10-17 Andreas Schwab <schwab@suse.de>
14032
14033 [BZ #15218]
14034 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14035 to determine canonical name.
14036
c5d5d574
OB
140372013-10-17 Ondřej Bílka <neleai@seznam.cz>
14038
14039 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14040 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14041 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14042 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14043 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14044 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14045 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14046 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14047 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14048 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14049 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14050 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14051 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14052 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14053 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14054 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14055 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14056 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14057 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14058 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14059 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14060 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14061 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14062 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14063 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14064 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14065 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14066 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14067 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14068 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14069 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14070 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14071 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14072 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14073 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14074 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14075 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14076 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14077 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14078 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14079 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14080 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14081 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14082 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14083 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14084 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14085 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14086 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14087 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14088 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14089 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14090 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14091 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14092 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14093 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14094 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14095 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14096 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14097
e5c2c2d0
JM
140982013-10-17 Joseph Myers <joseph@codesourcery.com>
14099
14100 [BZ #16041]
14101 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14102 make result into a quiet NaN.
14103
51ca9e29
JM
141042013-10-16 Joseph Myers <joseph@codesourcery.com>
14105
14106 * soft-fp/adddf3.c: Fix horizontal whitespace.
14107 * soft-fp/addsf3.c: Likewise.
14108 * soft-fp/addtf3.c: Likewise.
14109 * soft-fp/divdf3.c: Likewise.
14110 * soft-fp/divsf3.c: Likewise.
14111 * soft-fp/divtf3.c: Likewise.
14112 * soft-fp/double.h: Likewise.
14113 * soft-fp/eqdf2.c: Likewise.
14114 * soft-fp/eqsf2.c: Likewise.
14115 * soft-fp/eqtf2.c: Likewise.
14116 * soft-fp/extenddftf2.c: Likewise.
14117 * soft-fp/extended.h: Likewise.
14118 * soft-fp/extendsfdf2.c: Likewise.
14119 * soft-fp/extendsftf2.c: Likewise.
14120 * soft-fp/extendxftf2.c: Likewise.
14121 * soft-fp/fixdfdi.c: Likewise.
14122 * soft-fp/fixdfsi.c: Likewise.
14123 * soft-fp/fixdfti.c: Likewise.
14124 * soft-fp/fixsfdi.c: Likewise.
14125 * soft-fp/fixsfsi.c: Likewise.
14126 * soft-fp/fixsfti.c: Likewise.
14127 * soft-fp/fixtfdi.c: Likewise.
14128 * soft-fp/fixtfsi.c: Likewise.
14129 * soft-fp/fixtfti.c: Likewise.
14130 * soft-fp/fixunsdfdi.c: Likewise.
14131 * soft-fp/fixunsdfsi.c: Likewise.
14132 * soft-fp/fixunsdfti.c: Likewise.
14133 * soft-fp/fixunssfdi.c: Likewise.
14134 * soft-fp/fixunssfsi.c: Likewise.
14135 * soft-fp/fixunssfti.c: Likewise.
14136 * soft-fp/fixunstfdi.c: Likewise.
14137 * soft-fp/fixunstfsi.c: Likewise.
14138 * soft-fp/fixunstfti.c: Likewise.
14139 * soft-fp/floatdidf.c: Likewise.
14140 * soft-fp/floatdisf.c: Likewise.
14141 * soft-fp/floatditf.c: Likewise.
14142 * soft-fp/floatsidf.c: Likewise.
14143 * soft-fp/floatsisf.c: Likewise.
14144 * soft-fp/floatsitf.c: Likewise.
14145 * soft-fp/floattidf.c: Likewise.
14146 * soft-fp/floattisf.c: Likewise.
14147 * soft-fp/floattitf.c: Likewise.
14148 * soft-fp/floatundidf.c: Likewise.
14149 * soft-fp/floatundisf.c: Likewise.
14150 * soft-fp/floatunditf.c: Likewise.
14151 * soft-fp/floatunsidf.c: Likewise.
14152 * soft-fp/floatunsisf.c: Likewise.
14153 * soft-fp/floatunsitf.c: Likewise.
14154 * soft-fp/floatuntidf.c: Likewise.
14155 * soft-fp/floatuntisf.c: Likewise.
14156 * soft-fp/floatuntitf.c: Likewise.
14157 * soft-fp/fmadf4.c: Likewise.
14158 * soft-fp/fmasf4.c: Likewise.
14159 * soft-fp/fmatf4.c: Likewise.
14160 * soft-fp/gedf2.c: Likewise.
14161 * soft-fp/gesf2.c: Likewise.
14162 * soft-fp/getf2.c: Likewise.
14163 * soft-fp/ledf2.c: Likewise.
14164 * soft-fp/lesf2.c: Likewise.
14165 * soft-fp/letf2.c: Likewise.
14166 * soft-fp/muldf3.c: Likewise.
14167 * soft-fp/mulsf3.c: Likewise.
14168 * soft-fp/multf3.c: Likewise.
14169 * soft-fp/negdf2.c: Likewise.
14170 * soft-fp/negsf2.c: Likewise.
14171 * soft-fp/negtf2.c: Likewise.
14172 * soft-fp/op-1.h: Likewise.
14173 * soft-fp/op-2.h: Likewise.
14174 * soft-fp/op-4.h: Likewise.
14175 * soft-fp/op-8.h: Likewise.
14176 * soft-fp/op-common.h: Likewise.
14177 * soft-fp/quad.h: Likewise.
14178 * soft-fp/single.h: Likewise.
14179 * soft-fp/soft-fp.h: Likewise.
14180 * soft-fp/sqrtdf2.c: Likewise.
14181 * soft-fp/sqrtsf2.c: Likewise.
14182 * soft-fp/sqrttf2.c: Likewise.
14183 * soft-fp/subdf3.c: Likewise.
14184 * soft-fp/subsf3.c: Likewise.
14185 * soft-fp/subtf3.c: Likewise.
14186 * soft-fp/truncdfsf2.c: Likewise.
14187 * soft-fp/trunctfdf2.c: Likewise.
14188 * soft-fp/trunctfsf2.c: Likewise.
14189 * soft-fp/trunctfxf2.c: Likewise.
14190 * soft-fp/unorddf2.c: Likewise.
14191 * soft-fp/unordsf2.c: Likewise.
14192 * soft-fp/unordtf2.c: Likewise.
14193
9ebb0332
JM
141942013-10-15 Joseph Myers <joseph@codesourcery.com>
14195
14196 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14197 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14198
4b1a6d8b
OB
141992013-10-15 Ondřej Bílka <neleai@seznam.cz>
14200
14201 * elf/dl-libc.c: Clear initfini list after freeing.
14202
1e145589
JM
142032013-10-14 Joseph Myers <joseph@codesourcery.com>
14204
14205 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14206 * soft-fp/addsf3.c: Likewise.
14207 * soft-fp/addtf3.c: Likewise.
14208 * soft-fp/divdf3.c: Likewise.
14209 * soft-fp/divsf3.c: Likewise.
14210 * soft-fp/divtf3.c: Likewise.
14211 * soft-fp/double.h: Likewise.
14212 * soft-fp/eqdf2.c: Likewise.
14213 * soft-fp/eqsf2.c: Likewise.
14214 * soft-fp/eqtf2.c: Likewise.
14215 * soft-fp/extenddftf2.c: Likewise.
14216 * soft-fp/extended.h: Likewise.
14217 * soft-fp/extendsfdf2.c: Likewise.
14218 * soft-fp/extendsftf2.c: Likewise.
14219 * soft-fp/extendxftf2.c: Likewise.
14220 * soft-fp/fixdfdi.c: Likewise.
14221 * soft-fp/fixdfsi.c: Likewise.
14222 * soft-fp/fixdfti.c: Likewise.
14223 * soft-fp/fixsfdi.c: Likewise.
14224 * soft-fp/fixsfsi.c: Likewise.
14225 * soft-fp/fixsfti.c: Likewise.
14226 * soft-fp/fixtfdi.c: Likewise.
14227 * soft-fp/fixtfsi.c: Likewise.
14228 * soft-fp/fixtfti.c: Likewise.
14229 * soft-fp/fixunsdfdi.c: Likewise.
14230 * soft-fp/fixunsdfsi.c: Likewise.
14231 * soft-fp/fixunsdfti.c: Likewise.
14232 * soft-fp/fixunssfdi.c: Likewise.
14233 * soft-fp/fixunssfsi.c: Likewise.
14234 * soft-fp/fixunssfti.c: Likewise.
14235 * soft-fp/fixunstfdi.c: Likewise.
14236 * soft-fp/fixunstfsi.c: Likewise.
14237 * soft-fp/fixunstfti.c: Likewise.
14238 * soft-fp/floatdidf.c: Likewise.
14239 * soft-fp/floatdisf.c: Likewise.
14240 * soft-fp/floatditf.c: Likewise.
14241 * soft-fp/floatsidf.c: Likewise.
14242 * soft-fp/floatsisf.c: Likewise.
14243 * soft-fp/floatsitf.c: Likewise.
14244 * soft-fp/floattidf.c: Likewise.
14245 * soft-fp/floattisf.c: Likewise.
14246 * soft-fp/floattitf.c: Likewise.
14247 * soft-fp/floatundidf.c: Likewise.
14248 * soft-fp/floatundisf.c: Likewise.
14249 * soft-fp/floatunsidf.c: Likewise.
14250 * soft-fp/floatunsisf.c: Likewise.
14251 * soft-fp/floatuntidf.c: Likewise.
14252 * soft-fp/floatuntisf.c: Likewise.
14253 * soft-fp/floatuntitf.c: Likewise.
14254 * soft-fp/fmadf4.c: Likewise.
14255 * soft-fp/fmasf4.c: Likewise.
14256 * soft-fp/fmatf4.c: Likewise.
14257 * soft-fp/gedf2.c: Likewise.
14258 * soft-fp/gesf2.c: Likewise.
14259 * soft-fp/getf2.c: Likewise.
14260 * soft-fp/ledf2.c: Likewise.
14261 * soft-fp/lesf2.c: Likewise.
14262 * soft-fp/letf2.c: Likewise.
14263 * soft-fp/muldf3.c: Likewise.
14264 * soft-fp/mulsf3.c: Likewise.
14265 * soft-fp/multf3.c: Likewise.
14266 * soft-fp/negdf2.c: Likewise.
14267 * soft-fp/negsf2.c: Likewise.
14268 * soft-fp/negtf2.c: Likewise.
14269 * soft-fp/op-1.h: Likewise.
14270 * soft-fp/op-2.h: Likewise.
14271 * soft-fp/op-4.h: Likewise.
14272 * soft-fp/op-8.h: Likewise.
14273 * soft-fp/op-common.h: Likewise.
14274 * soft-fp/quad.h: Likewise.
14275 * soft-fp/single.h: Likewise.
14276 * soft-fp/soft-fp.h: Likewise.
14277 * soft-fp/sqrtdf2.c: Likewise.
14278 * soft-fp/sqrtsf2.c: Likewise.
14279 * soft-fp/sqrttf2.c: Likewise.
14280 * soft-fp/subdf3.c: Likewise.
14281 * soft-fp/subsf3.c: Likewise.
14282 * soft-fp/subtf3.c: Likewise.
14283 * soft-fp/truncdfsf2.c: Likewise.
14284 * soft-fp/trunctfdf2.c: Likewise.
14285 * soft-fp/trunctfsf2.c: Likewise.
14286 * soft-fp/trunctfxf2.c: Likewise.
14287 * soft-fp/unorddf2.c: Likewise.
14288 * soft-fp/unordsf2.c: Likewise.
14289 * soft-fp/unordtf2.c: Likewise.
14290
17c48a60
OB
142912013-10-14 Ondřej Bílka <neleai@seznam.cz>
14292
14293 [BZ #15672]
14294 * misc/error.c (error_tail): Fix possible buffer overflow.
14295
cabba934
OB
142962013-10-14 Aurelien Jarno <aurelien@aurel32.net>
14297
14298 [BZ #13028]
14299 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14300 address.
14301
94bf958a
PM
143022013-10-14 P. J. McDermott <pj@pehjota.net>
14303
14304 [BZ #832]
14305 * elf/ldd.bash.in (try_trace): New function. Delete previous code
14306 testing pipefail option.
14307
71b4dea7
JM
143082013-10-12 Joseph Myers <joseph@codesourcery.com>
14309
14310 * soft-fp/double.h: Indent preprocessor directives inside #if.
14311 * soft-fp/extended.h: Likewise.
14312 * soft-fp/op-2.h: Likewise.
14313 * soft-fp/op-4.h: Likewise.
14314 * soft-fp/op-common.h: Likewise.
14315 * soft-fp/quad.h: Likewise.
14316 * soft-fp/single.h: Likewise.
14317 * soft-fp/soft-fp.h: Likewise.
14318
55602758
YC
143192013-10-12 Yuri Chornoivan <yurchor@ukr.net>
14320
14321 * iconv/iconv_prog.c: Fix typos.
14322 * stdio-common/psiginfo-data.h: Likewise.
14323
9cd83302
RT
143242013-10-12 Reuben Thomas <rrt@sc3d.org>
14325
14326 [BZ #15764]
14327 * locale/setlocale.c: Fix typo.
14328
99fd9f47
JM
143292013-10-12 Joseph Myers <joseph@codesourcery.com>
14330
b7ea74f0
JM
14331 [BZ #16036]
14332 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14333 signaling NaN arguments.
14334 * soft-fp/unordsf2.c (__unordsf2): Likewise.
14335 * soft-fp/unordtf2.c (__unordtf2): Likewise.
14336
8a509447
JM
14337 [BZ #14910]
14338 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14339 unordered operands.
14340 * soft-fp/gesf2.c (__gesf2): Likewise.
14341 * soft-fp/getf2.c (__getf2): Likewise.
14342 * soft-fp/ledf2.c (__ledf2): Likewise.
14343 * soft-fp/lesf2.c (__lesf2): Likewise.
14344 * soft-fp/letf2.c (__letf2): Likewise.
14345
98998e9f
JM
14346 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14347 * soft-fp/eqsf2.c (__eqsf2): Likewise.
14348 * soft-fp/eqtf2.c (__eqtf2): Likewise.
14349 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14350 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14351 * soft-fp/fixdfti.c (__fixdfti): Likewise.
14352 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14353 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14354 * soft-fp/fixsfti.c (__fixsfti): Likewise.
14355 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14356 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14357 * soft-fp/fixtfti.c (__fixtfti): Likewise.
14358 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14359 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14360 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14361 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14362 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14363 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14364 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14365 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14366 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14367 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14368 * soft-fp/floatdisf.c (__floatdisf): Likewise.
14369 * soft-fp/floatsisf.c (__floatsisf): Likewise.
14370 * soft-fp/floattidf.c (__floattidf): Likewise.
14371 * soft-fp/floattisf.c (__floattisf): Likewise.
14372 * soft-fp/floattitf.c (__floattitf): Likewise.
14373 * soft-fp/floatundidf.c (__floatundidf): Likewise.
14374 * soft-fp/floatundisf.c (__floatundisf): Likewise.
14375 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14376 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14377 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14378 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14379 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14380 * soft-fp/gesf2.c (__gesf2): Likewise.
14381 * soft-fp/getf2.c (__getf2): Likewise.
14382 * soft-fp/ledf2.c (__ledf2): Likewise.
14383 * soft-fp/lesf2.c (__lesf2): Likewise.
14384 * soft-fp/letf2.c (__letf2): Likewise.
14385
8edc4a11
JM
14386 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14387 Undefine and redefine.
14388 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14389 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14390 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14391 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14392 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14393 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14394 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14395 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14396 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14397 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14398 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14399 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14400 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14401 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14402 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14403
8399acaf
JM
14404 [BZ #16032]
14405 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14406 without decrementing exponent if mantissa >= that for the
14407 denominator, not >.
14408 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14409 denominator, not >. Decrement exponent in < case instead of
14410 incrementing in >= case.
14411 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14412 without decrementing exponent if mantissa >= that for the
14413 denominator, not >.
14414
99fd9f47
JM
14415 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14416 computing saturated result for unsigned overflow.
14417
10e1cf6b
SP
144182013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14419 Jeff Law <law@redhat.com>
14420
14421 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14422 (atan2Mp): Add systemtap probe marker.
14423 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14424 (__ieee754_log): Add systemtap probe marker.
14425 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14426 (atanMp): Add systemtap probe marker.
14427 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14428 (tanMp): Add systemtap probe marker.
14429 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14430 (__slowexp): Add systemtap probe marker.
14431 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14432 (__slowpow): Add systemtap probe marker.
14433 * manual/probes.texi: Document probes.
14434
3d110c7c
EB
144352013-10-11 Eric Biggers <ebiggers3@gmail.com>
14436
14437 [BZ #15362]
14438 * libio/fileops.c (_IO_new_file_write): Return count of bytes
14439 written.
14440 (_IO_new_file_xsputn): Don't return EOF if nothing has been
14441 written.
14442 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14443 written to buffer but not flushed.
14444 * libio/iofwrite_u.c: Likewise.
14445 * libio/iopadn.c: Return bytes returned even if EOF was
14446 encountered.
14447 * libio/iowpadn.c: Likewise.
14448 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14449 if _IO_padn does not write the whole buffer.
14450 [!COMPILE_WPRINTF] (PAD): Likewise.
14451
75b4202a
DM
144522013-10-10 David S. Miller <davem@davemloft.net>
14453
14454 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14455 directory block.
14456
6c6352e6
JM
144572013-10-10 Joseph Myers <joseph@codesourcery.com>
14458
33b853c3
JM
14459 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
14460 instead of FSF address.
14461 * soft-fp/fixdfti.c: Likewise.
14462 * soft-fp/fixsfti.c: Likewise.
14463 * soft-fp/fixtfti.c: Likewise.
14464 * soft-fp/fixunsdfti.c: Likewise.
14465 * soft-fp/fixunssfti.c: Likewise.
14466 * soft-fp/fixunstfti.c: Likewise.
14467 * soft-fp/floattidf.c: Likewise.
14468 * soft-fp/floattisf.c: Likewise.
14469 * soft-fp/floattitf.c: Likewise.
14470 * soft-fp/floatuntidf.c: Likewise.
14471 * soft-fp/floatuntisf.c: Likewise.
14472 * soft-fp/floatuntitf.c: Likewise.
14473 * soft-fp/trunctfxf2.c: Likewise.
14474
6c6352e6
JM
14475 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
14476 * soft-fp/fixdfti.c: Likewise.
14477 * soft-fp/fixsfti.c: Likewise.
14478 * soft-fp/fixtfti.c: Likewise.
14479 * soft-fp/fixunsdfti.c: Likewise.
14480 * soft-fp/fixunssfti.c: Likewise.
14481 * soft-fp/fixunstfti.c: Likewise.
14482 * soft-fp/floattidf.c: Likewise.
14483 * soft-fp/floattisf.c: Likewise.
14484 * soft-fp/floattitf.c: Likewise.
14485 * soft-fp/floatuntidf.c: Likewise.
14486 * soft-fp/floatuntisf.c: Likewise.
14487 * soft-fp/floatuntitf.c: Likewise.
14488 * soft-fp/trunctfxf2.c: Likewise.
14489
3bf78b71
DM
144902013-10-10 David S. Miller <davem@davemloft.net>
14491
14492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14493
6f10289e
JM
144942013-10-10 Joseph Myers <joseph@codsourcery.com>
14495
bd878fc0
JM
14496 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14497 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14498 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14499 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14500 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14501 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14502 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14503
6f10289e
JM
14504 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14505 for NaNs before doing comparisons on argument.
14506 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14507 Likewise.
14508
321e2684
WN
145092013-10-10 Will Newton <will.newton@linaro.org>
14510
14511 * malloc/hooks.c (memalign_check): Ensure the value of bytes
14512 passed to _int_memalign does not overflow.
14513
40fefba1
TR
145142013-10-10 Torvald Riegel <triegel@redhat.com>
14515
14516 * scripts/bench.pl: Add include-sources directive.
14517 * benchtests/README: Update documentation.
14518
2ae21ed2
JM
145192013-10-10 Joseph Myers <joseph@codesourcery.com>
14520
dcc2dd3f
JM
14521 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14522 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14523 instead of FP_INIT_ROUNDMODE.
14524 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14525 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14526
2ae21ed2
JM
14527 [BZ #16034]
14528 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
14529 copy class of input value.
14530 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
14531 not handle exceptions.
14532 * soft-fp/negsf2.c (__negsf2): Likewise.
14533 * soft-fp/negtf2.c (__negtf2): Likewise.
14534 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14535
cb8f9562
JM
145362013-10-09 Joseph Myers <joseph@codesourcery.com>
14537
14538 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14539 semicolon. From Linux kernel.
14540
5b60c59d
AB
145412013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
14542
14543 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14544
b86835ca
YC
145452013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
14546
14547 [BZ #156]
14548 * manual/socket.texi: Added statement about buffer
14549 for gethostbyname2_r.
14550
e7044ea7
OB
145512013-10-08 Ondřej Bílka <neleai@seznam.cz>
14552
14553 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14554 Use .p2align directive instead, throughout.
14555 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14556 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14557 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14558 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14559 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14560 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14561 * sysdeps/x86_64/strchr.S: Likewise.
14562 * sysdeps/x86_64/strrchr.S: Likewise.
14563
09544cbc
SP
145642013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14565
88576635
SP
14566 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14567
e7b2d1dd
SP
14568 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14569
09544cbc
SP
14570 * sysdeps/generic/math_private.h (__mpsin1): Remove
14571 declaration.
14572 (__mpcos1): Likewise.
14573 (__mpsin): New argument __range_reduce.
14574 (__mpcos): Likewise.
14575 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14576 (slow): Use __mpsin and __mpcos.
14577 (slow1): Likewise.
14578 (slow2): Likewise.
14579 (sloww): Likewise.
14580 (sloww1): Likewise.
14581 (sloww2): Likewise.
14582 (bsloww): Likewise.
14583 (bsloww1): Likewise.
14584 (bsloww2): Likewise.
14585 (cslow2): Likewise.
14586 (csloww): Likewise.
14587 (csloww1): Likewise.
14588 (csloww2): Likewise.
14589 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14590 range_reduce. Merge in __mpsin1.
14591 (__mpcos): Likewise.
14592 (__mpsin1): Remove.
14593 (__mpcos1): Likewise.
14594
7602d070
JM
145952013-10-07 Joseph Myers <joseph@codesourcery.com>
14596
14597 * locale/loadlocale.c (_nl_intern_locale_data): Use
14598 LOCFILE_ALIGNED_P.
14599 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14600 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14601 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14602 obstack data is appropriately aligned.
14603 (obstack_int32_grow_fast): Likewise.
14604 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14605 * locale/programs/locfile.c (add_locale_uint32): Likewise.
14606 (add_locale_uint32_array): Likewise.
14607
a357259b
SP
146082013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14609
14610 * benchtests/Makefile: Remove ARGLIST and RET variables.
14611 ($(objpfx)bench-%.c): Pass only function name to the script.
14612 * benchtests/README: Update documentation.
14613 * benchtests/acos-inputs: Add new directives.
14614 * benchtests/acosh-inputs: Likewise.
14615 * benchtests/asin-inputs: Likewise.
14616 * benchtests/asinh-inputs: Likewise.
14617 * benchtests/atan-inputs: Likewise.
14618 * benchtests/atanh-inputs: Likewise.
14619 * benchtests/cos-inputs: Likewise.
14620 * benchtests/cosh-inputs: Likewise.
14621 * benchtests/exp-inputs: Likewise.
14622 * benchtests/log-inputs: Likewise.
14623 * benchtests/pow-inputs: Likewise.
14624 * benchtests/rint-inputs: Likewise.
14625 * benchtests/sin-inputs: Likewise.
14626 * benchtests/sinh-inputs: Likewise.
14627 * benchtests/tan-inputs: Likewise.
14628 * benchtests/tanh-inputs: Likewise.
14629 * scripts/bench.pl: Add support for new directives.
14630
9ec1b13d
AM
146312013-10-07 Alan Modra <amodra@gmail.com>
14632
14633 * README: Fix careless merge.
14634
8b7d57cd
AM
146352013-10-05 Alan Modra <amodra@gmail.com>
14636
14637 * NEWS: Mention powerpc64le support and bugs fixed.
14638 * README: Both big-endian and little-endian powerpc64 supported.
14639
7b7bab13
ST
146402013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14641
57f41c40
AS
14642 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14643 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
14644 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14645 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14646
d39baad1
RA
146472013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
14648
14649 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14650 match prototype.
14651
cd78f7e7
JM
146522013-10-04 Joseph Myers <joseph@codesourcery.com>
14653
29d73d86
JM
14654 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14655 Move -mhard-float appending from
14656 ports/sysdeps/powerpc/powerpc32/Makefile.
14657 [$(with-fp) = yes] (ASFLAGS): Likewise.
14658 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14659 * sysdeps/powerpc/nofpu: Move directory from
14660 ports/sysdeps/powerpc/nofpu.
14661 * sysdeps/powerpc/soft-fp: Move directory from
14662 ports/sysdeps/powerpc/soft-fp.
14663 * sysdeps/powerpc/powerpc32/405: Move directory from
14664 ports/sysdeps/powerpc/powerpc32/405.
14665 * sysdeps/powerpc/powerpc32/440: Move directory from
14666 ports/sysdeps/powerpc/powerpc32/440.
14667 * sysdeps/powerpc/powerpc32/464: Move directory from
14668 ports/sysdeps/powerpc/powerpc32/464.
14669 * sysdeps/powerpc/powerpc32/476: Move directory from
14670 ports/sysdeps/powerpc/powerpc32/476.
14671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14672 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14674 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14676 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14678 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14680 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14681 * README: Update for powerpc-*-linux-gnu software floating point
14682 support in libc.
14683
e246b347
JM
14684 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14685 case to powerpc/powerpc32*.
14686 * sysdeps/unix/sysv/linux/configure: Regenerated.
14687
89c2003e
JM
14688 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14689 (_FPU_MASK_OM): Define as 0x04.
14690 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14691 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14692 0x00c10080.
14693 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14694 0x0000003c.
14695 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14696
cd78f7e7
JM
14697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14698 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14699 getcontext_e500.
14700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14701 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14702 setcontext_e500.
14703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14704 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14705 and setcontext_e500.
14706
c755294d
CL
147072013-10-04 Chris Leonard <cjl@sugarlabs,.org>
14708
14709 * locale/iso-3166.def: Update iso-1366.def and related occurrences
14710
e16d221c
SP
147112013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14712
14713 * manual/threads.texi (Default Thread Attributes): Fix typo.
14714
215c7d43
WN
147152013-10-04 Will Newton <will.newton@linaro.org>
14716
14717 * malloc/Makefile: Add tst-memalign.
14718 * malloc/tst-memalign.c: New file.
14719
27d0461b
WN
14720 * malloc/tst-posix_memalign.c: Add comments.
14721 (do_test): Add comments and call free on all potentially
14722 allocated pointers. Add space after cast.
14723
1bc92709
WN
14724 * malloc/tst-pvalloc.c: Add comments.
14725 (do_test): Add comments and call free on all potentially
14726 allocated pointers. Remove duplicate check for NULL pointer.
14727 Add space after cast.
14728
66a9be9d
WN
14729 * malloc/tst-valloc.c: Add comments.
14730 (do_test): Add comments and call free on all potentially
14731 allocated pointers. Remove duplicate check for NULL pointer.
14732 Add space after cast.
14733
4cb81307
AM
147342013-10-04 Alan Modra <amodra@gmail.com>
14735
14736 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14737 Use stdint types in rather than __attribute__((mode())).
14738 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14739
f8e3e9f3
AM
147402013-10-04 Alan Modra <amodra@gmail.com>
14741
14742 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14743 Correct handling of unaligned relocs for little-endian.
14744 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14745
8f9ebb08
AM
147462013-10-04 Alan Modra <amodra@gmail.com>
14747
14748 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14749 * configure: Regenerate.
14750 * nptl/shlib-versions: Powerpc*le starts at 2.18.
14751 * shlib-versions: Likewise.
14752
0edf96c2
AM
147532013-10-04 Alan Modra <amodra@gmail.com>
14754
14755 * string/tester.c (test_memrchr): Increment reported test cycle.
14756
e0f7a380
AM
147572013-10-04 Alan Modra <amodra@gmail.com>
14758
14759 * string/test-memcpy.c (do_one_test): When reporting errors, print
14760 string address and don't overrun end of string.
14761
466b0393
AM
147622013-10-04 Alan Modra <amodra@gmail.com>
14763
14764 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14765 insrdi. Make better use of reg selection to speed exit slightly.
14766 Schedule entry path a little better. Remove useless "are we done"
14767 checks on entry to main loop. Handle wrapping around zero address.
14768 Correct main loop count. Handle single left-over word from main
14769 loop inline rather than by using loop_small. Remove extra word
14770 case in loop_small caused by wrong loop count. Add little-endian
14771 support.
14772 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14773 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
14774 cache hint.
14775 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14776 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14777 support. Avoid rlwimi.
14778 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14779
3be87c77
AM
147802013-10-04 Alan Modra <amodra@gmail.com>
14781
14782 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 14783 insrdi. Formatting.
3be87c77
AM
14784 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14785 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14786 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14787 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14788 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14789 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14790
759cfef3
AM
147912013-10-04 Alan Modra <amodra@gmail.com>
14792
14793 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14794 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14795 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14796 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14797 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14798 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14799 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14800 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14801 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
14802 use of regs. Use power7 mtocrf. Tidy function tails.
14803
fe6e95d7
AM
148042013-10-04 Alan Modra <amodra@gmail.com>
14805
14806 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14807 Formatting. Consistently use rXXX register defines or rN defines.
14808 Use early exit labels that avoid restoring unused non-volatile regs.
14809 Make cr field use more consistent with rWORDn compares. Rename
14810 regs used as shift registers for unaligned loop, using rN defines
14811 for short lifetime/multiple use regs.
14812 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14813 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
14814 addi 1,1,64 to pop stack frame. Simplify return value code.
14815 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14816
664318c3
AM
148172013-10-04 Alan Modra <amodra@gmail.com>
14818
14819 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14820 support. Correct typos, formatting. Optimize tail. Use insrdi
14821 rather than rlwimi.
14822 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14823 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14824 little-endian support. Correct typos.
14825 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
14826 rather than rlwimi.
14827 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
14828 in loop and entry code to keep "and." results.
14829 (strchr): Add little-endian support. Comment. Move cntlzd
14830 earlier in tail.
14831 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14832
43b84013
AM
148332013-10-04 Alan Modra <amodra@gmail.com>
14834
14835 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14836 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14837 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14838 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14839
8a7413f9
AM
148402013-10-04 Alan Modra <amodra@gmail.com>
14841
14842 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14843 (rTMP): Define as r11.
14844 (strcmp): Add little-endian support. Optimise tail.
14845 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14846 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14847 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14848 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14849 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14850 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14851 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14852
33ee81de
AM
148532013-10-04 Alan Modra <amodra@gmail.com>
14854
14855 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14856 little-endian support. Remove unnecessary "are we done" tests.
14857 Handle "s" wrapping around zero and extremely large "size".
14858 Correct main loop count. Handle single left-over word from main
14859 loop inline rather than by using small_loop. Correct comments.
14860 Delete "zero" tail, use "end_max" instead.
14861 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14862
db9b4570
AM
148632013-10-04 Alan Modra <amodra@gmail.com>
14864
14865 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14866 support. Don't branch over align.
14867 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14868 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14869 support. Rearrange tmp reg use to suit. Comment.
14870 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14871
f7c399cf
AM
148722013-10-04 Alan Modra <amodra@gmail.com>
14873
14874 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14875
0b2c2ace
AM
148762013-10-04 Alan Modra <amodra@gmail.com>
14877
14878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14879 conditional form of branch and link when obtaining pc.
14880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14881
02f04a6c
AM
148822013-10-04 Alan Modra <amodra@gmail.com>
14883
14884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14885 HIWORD/LOWORD.
14886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14888
9b874b2f
AM
148892013-10-04 Alan Modra <amodra@gmail.com>
14890
14891 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14892 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14893 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14894 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14895 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14896 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14897 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14898 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14899 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14900 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14901
be1e5d31
AB
149022013-10-04 Anton Blanchard <anton@au1.ibm.com>
14903 Alistair Popple <alistair@ozlabs.au.ibm.com>
14904 Alan Modra <amodra@gmail.com>
14905
14906 [BZ #15723]
14907 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14908 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14909 _dl_hwcap access for little-endian.
14910 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
14911 destroy vmx regs when saving unaligned.
14912 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14913 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
14914 destroy vmx regs when saving unaligned.
14915
fef13a78
AM
149162013-10-04 Alan Modra <amodra@gmail.com>
14917
14918 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14919 Don't use a union to pack hi/low value.
14920
76a66d51
AB
149212013-10-04 Anton Blanchard <anton@au1.ibm.com>
14922
14923 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14924 for little-endian.
14925 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14926 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14927 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14928 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14929 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14930
6a31fe7f
AM
149312013-10-04 Alan Modra <amodra@gmail.com>
14932
14933 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14934 constants to usual value for .cst8 section, and remove redundant
14935 high address load.
14936 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14937 constant for 0x1p52. Load little-endian words of double from
14938 correct stack offsets.
14939
7b88401f
AM
149402013-10-04 Alan Modra <amodra@gmail.com>
14941
14942 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14943 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14944 words of double from correct stack offsets.
14945 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14946 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14947 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14948 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14949 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14950 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14951 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14952 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14953 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14954 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14955 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14956 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14957 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14958 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14959 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14960 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14961 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14962
9c008155
AM
149632013-10-04 Alan Modra <amodra@gmail.com>
14964
14965 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14966 64-bit int/double union.
14967 (_FPU_SETCW): Likewise.
14968 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14969 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14970
da13146d
AM
149712013-10-04 Alan Modra <amodra@gmail.com>
14972
14973 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14974 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14975
603e8410
AM
149762013-10-04 Alan Modra <amodra@gmail.com>
14977
14978 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14979 use vector int constants.
14980 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14981
4a28b3ca
AB
149822013-10-04 Anton Blanchard <anton@au1.ibm.com>
14983
14984 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14985 array with long long.
14986 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14987 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14988 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14989 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14990 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14991 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14992 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14993 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14994 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14995 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14996 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14997 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14998 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14999
2ca85d2b
AB
150002013-10-04 Anton Blanchard <anton@au1.ibm.com>
15001
15002 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15003 (__signbit): Likewise. Correct for little-endian.
15004 (__signbitl): Call __signbit.
15005 (lrint): Correct for little-endian.
15006 (lrintf): Call lrint.
15007
62a728ae
AM
150082013-10-04 Alan Modra <amodra@gmail.com>
15009
15010 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15011 union 32-bit int array member with 64-bit int array.
15012 (t515, tm256): Double rather than long double.
15013 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15014
32c301df
AM
150152013-10-04 Alan Modra <amodra@gmail.com>
15016
15017 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15018 Delete.
15019 (IEEE854_LONG_DOUBLE_BIAS): Delete.
15020 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15021 version of math_ldbl.h.
15022
650ef4bd
AM
150232013-10-04 Alan Modra <amodra@gmail.com>
15024
15025 [BZ #15734], [BZ #15735]
15026 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15027 all uses of ieee875 long double macros and unions. Simplify test
15028 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
15029 ldbl_extract_mantissa value for ix,iy exponents. Properly
15030 normalize after ldbl_extract_mantissa, and don't add hidden bit
15031 already handled. Don't treat low word of ieee854 mantissa like
15032 low word of IBM long double and mask off bit when testing for
15033 zero.
15034 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15035 all uses of ieee875 long double macros and unions. Simplify tests
15036 for 0.0L and inf. Correct double adjustment of k. Delete dead code
15037 adjusting ha,hb. Simplify code setting kld. Delete two600 and
15038 two1022, instead use their values. Recognise that tests for large
15039 "a" and small "b" are mutually exclusive. Rename vars. Comment.
15040 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15041 Rewrite all uses of ieee875 long double macros and unions. Simplify
15042 test for 0.0L and nan. Correct negation.
15043 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15044 ieee875 long double macros and unions. Correct output for large
15045 magnitude x. Correct absolute value calculation.
15046 (__erfcl): Likewise.
15047 * math/libm-test.inc: Add tests for errors discovered in IBM long
15048 double versions of fmodl, remainderl, erfl and erfcl.
15049
765714ca
AM
150502013-10-04 Alan Modra <amodra@gmail.com>
15051
15052 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15053 all uses of ieee854 long double macros and unions. Simplify tests
15054 for long doubles that are fully specified by the high double.
15055 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15056 Likewise.
15057 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15058 Remove dead code too.
15059 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15060 (__ieee754_ynl): Likewise.
15061 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15062 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15063 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15064 Remove dead code too.
15065 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15066 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15067 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15068 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15069 Simplify.
15070 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15071 Simplify.
15072 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15073 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15074 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15075 Comment on variable precision.
15076 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15077 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15078 Likewise.
15079 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15080 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15081 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15082 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15083 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15084
4ebd120c
AM
150852013-10-04 Alan Modra <amodra@gmail.com>
15086
15087 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15088 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15089 all uses of ieee854 long double macros and unions.
15090 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15091 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15092 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15093 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15094 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15095 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15096 Likewise.
15097 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15098 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15099 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15100 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15101 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15102 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15103 Simplify sign and nan test too.
15104 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15105 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15106 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15107 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15108 Likewise.
15109 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15110 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15111 Likewise.
15112 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15113 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15114 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15115 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15116 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15117 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15118
1b6adf88
AM
151192013-10-04 Alan Modra <amodra@gmail.com>
15120
15121 * stdio-common/printf_size.c (__printf_size): Don't use
15122 union ieee854_long_double in fpnum union.
15123 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
15124 signbit macro to retrieve sign from long double.
15125 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15126 retrieve sign from long double.
15127 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15128 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15129 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15130 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15131 * math/test-misc.c (main): Don't use union ieee854_long_double.
15132
4cf69995
AM
151332013-10-04 Alan Modra <amodra@gmail.com>
15134
15135 [BZ #15680]
15136 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15137 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15138 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15139 calculation. Remove unnecessary test for denormal exponent.
15140 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15141 Correct handling of denormals. Avoid undefined shift behaviour.
15142 Correct normalisation of low mantissa when low double is denormal.
15143 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15144 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
15145 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15146 Correct normalisation of low mantissa. Test for overflow of high
15147 mantissa and normalise.
15148 (ldbl_nearbyint): Use more readable constant for two52.
15149 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15150 (__mpn_construct_long_double): Fix test for overflow of high
15151 mantissa and correct normalisation. Avoid undefined shift.
15152
9605ca6c
AM
151532013-10-04 Alan Modra <amodra@gmail.com>
15154
15155 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15156 (union ibm_extended_long_double): Define as an array of ieee754_double.
15157 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15158 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15159 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15160 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15161 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15162 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15163 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15164 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15165 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15166 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15167 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15168
975569d0
JM
151692013-10-03 Joseph Myers <joseph@codesourcery.com>
15170
d3d23756
JM
15171 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15172 page size instead of calling getpagesize.
15173
975569d0
JM
15174 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15175 (LOCFILE_ALIGN_MASK): Likewise.
15176 (LOCFILE_ALIGN_UP): Likewise.
15177 (LOCFILE_ALIGNED_P): Likewise.
15178 * locale/programs/ld-collate.c (collate_output): Use the new
15179 macros instead of __alignof__ (int32_t).
15180 * locale/weight.h (findidx): Likewise.
15181
b1fe1f2b
OB
151822013-10-03 Ondřej Bílka <neleai@seznam.cz>
15183
15184 [BZ #431]
15185 * manual/string.texi: Fix strncat and wcsncat.
15186
5f855e35
BM
151872013-10-03 Brooks Moses <bmoses@google.com>
15188
15189 [BZ #15915]
15190 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15191 * Makerules: ...here, and adjust associated comments.
15192
3cef6009
WN
151932013-10-02 Will Newton <will.newton@linaro.org>
15194
15195 * malloc/Makefile: Add tst-pvalloc.
15196 * malloc/tst-pvalloc.c: New file.
15197
7815420b
WN
151982013-10-02 Will Newton <will.newton@linaro.org>
15199
15200 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15201 improve test coverage.
15202
4868b204
WN
152032013-10-02 Will Newton <will.newton@linaro.org>
15204
15205 * malloc/Makefile: Add tst-posix_memalign.
15206 * malloc/tst-posix_memalign.c: New file.
15207
29c793b3
EB
152082013-10-01 Eric Blake <eblake@redhat.com>
15209
15210 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15211 Use __THROWNL rather than __THROW on static functions.
15212
fd967522
PM
152132013-09-30 Petr Machata <pmachata@redhat.com>
15214
15215 * elf/elf.h (R_AARCH64_ABS16): New macro.
15216 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15217 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15218 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15219 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15220 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15221 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15222 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15223 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15224 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15225 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15226 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15227 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15228 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15229 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15230 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15231 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15232 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15233 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15234 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15235 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15236 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15237 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15238 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15239 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15240 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15241 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15242 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15243 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15244 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15245 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15246 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15247 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15248 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15249 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15250 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15251 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15252 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15253 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15254 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15255 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15256 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15257 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15258 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15259 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15260 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15261 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15262 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15263 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15264 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15265 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15266 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15267 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15268 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15269 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15270 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15271 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15272 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15273 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15274 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15275 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15276 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15277 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15278 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15279 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15280 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15281 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15282 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15283 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15284 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15285 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15286 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15287 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15288 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15289 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15290 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15291 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15292 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15293 (R_AARCH64_TLSDESC_LDR): Likewise.
15294 (R_AARCH64_TLSDESC_ADD): Likewise.
15295 (R_AARCH64_TLSDESC_CALL): Likewise.
15296
b2179107
AS
152972013-09-30 Andreas Schwab <schwab@suse.de>
15298
15299 [BZ #15048]
15300 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15301 the nss database lookup.
15302 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15303 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15304
47f28d0a
MF
153052013-09-28 Mike Frysinger <vapier@gentoo.org>
15306
15307 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15308
153092013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
15310
15311 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15312 ${Bash-specific parameter/pattern/string} parameter expansion.
15313 * sysdeps/unix/make-syscalls.sh: Likewise.
15314
f4518a17
KK
153152013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15316
15317 * sysdeps/sh/stackguard-macros.h: New file.
15318
dc1a95c7
OB
153192013-09-26 Ondřej Bílka <neleai@seznam.cz>
15320
15321 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15322 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15323 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15324 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15325 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15326 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15327
5ebbff8f
AZ
153282013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15329
15330 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15331 Fix thread ID register.
15332
4fd2cf9f
JM
153332013-09-25 Joseph Myers <joseph@codesourcery.com>
15334
15335 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15336 [POSIX || UNIX98]: Require rather than permitting all symbols from
15337 <time.h>.
15338 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15339 element of struct sched_param.
15340 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15341 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15342 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15343 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15344 constant.
15345
12c22bc4
OL
153462013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
15347
15348 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15349 argument calculation.
15350
a03d8ea7
JM
153512013-09-24 Joseph Myers <joseph@codesourcery.com>
15352
15353 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15354 Expect macro.
15355 [POSIX] (pthread_attr_t): Do not require type.
15356 [POSIX] (pthread_cond_t): Likewise.
15357 [POSIX] (pthread_condattr_t): Likewise.
15358 [POSIX] (pthread_key_t): Likewise.
15359 [POSIX] (pthread_mutex_t): Likewise.
15360 [POSIX] (pthread_mutexattr_t): Likewise.
15361 [POSIX] (pthread_once_t): Likewise.
15362 [POSIX] (pthread_t): Likewise.
15363 [POSIX-based standards] (pthread_atfork): Expect function.
15364
6055173a
JM
153652013-09-24 Joseph Myers <joseph@codesourcery.com>
15366 Richard Sandiford <richard@codesourcery.com>
15367
15368 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15369 (swap_endianness_p): New extern variable.
15370 (set_big_endian): New inline function.
15371 (maybe_swap_uint32): Likewise.
15372 (maybe_swap_uint32_array): Likewise.
15373 (maybe_swap_uint32_obstack): Likewise.
15374 * locale/programs/locfile.c: Include <stdbool.h>.
15375 (swap_endianness_p): New variable.
15376 (add_locale_uint32): Call maybe_swap_uint32.
15377 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15378 (write_locale_data): Call maybe_swap_uint32_array.
15379 * locale/programs/ld-collate.c (obstack_int32_grow): Call
15380 maybe_swap_uint32.
15381 (obstack_int32_grow_fast): Likewise.
15382 (output_weightwc): Call maybe_swap_uint32_obstack.
15383 (collate_output): Likewise.
15384 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15385 (OPT_LITTLE_ENDIAN): Likewise.
15386 (options): Add --little-endian and --big-endian options.
15387 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15388 * locale/programs/locarchive.c: Include "locfile.h".
15389 (GET): New macro.
15390 (SET): Likewise.
15391 (INC): Likewise.
15392 (create_archive): Use the new macros to access fields of
15393 structures directly mapped from or written to locale archives.
15394 (oldlocrecentcmp): Likewise.
15395 (enlarge_archive): Likewise.
15396 (insert_name): Likewise.
15397 (add_alias): Likewise.
15398 (add_locale): Likewise.
15399 (delete_locales_from_archive): Likewise.
15400 (show_archive_content): Likewise.
15401 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
15402 locale data.
15403
39bf0bb4
RM
154042013-09-24 Roland McGrath <roland@hack.frob.com>
15405
15406 * manual/freemanuals.texi: Updated from (newly) canonical copy at
15407 http://www.gnu.org/doc/freemanuals.texi.
15408 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15409
f02eed10
WN
154102013-09-24 Will Newton <will.newton@linaro.org>
15411
15412 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15413 macro.
15414
a3a6c312
JM
154152013-09-23 Joseph Myers <joseph@codesourcery.com>
15416
15417 * locale/hashval.h (compute_hashval): Interpret bytes of key as
15418 unsigned char.
15419
107375ac
MR
154202013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
15421
15422 * manual/threads.texi (POSIX Threads): Fix a typo.
15423
141f3a77
SP
154242013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15425
303e567a
SP
15426 [BZ #14547]
15427 * string/tst-strcoll-overflow.c: New test case.
15428 * string/Makefile (xtests): Add tst-strcoll-overflow.
15429 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15430 cache if string sizes may cause integer overflow.
15431
141f3a77
SP
15432 [BZ #14547]
15433 * string/strcoll_l.c (coll_seq): New members rule, idx,
15434 save_idx and back_us.
15435 (get_next_seq_nocache): New function.
15436 (do_compare_nocache): New function.
15437 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15438 when malloc fails.
15439
c61b4d41
CD
154402013-09-23 Carlos O'Donell <carlos@redhat.com>
15441
0b1f8e35
CD
15442 [BZ #15754]
15443 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15444 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15445 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15446
c61b4d41
CD
15447 [BZ #15754]
15448 * elf/Makefile (tests): Add tst-ptrguard1.
15449 (tests-static): Add tst-ptrguard1-static.
15450 (tst-ptrguard1-ARGS): Define.
15451 (tst-ptrguard1-static-ARGS): Define.
15452 * elf/tst-ptrguard1.c: New file.
15453 * elf/tst-ptrguard1-static.c: New file.
15454 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15455 * sysdeps/i386/stackguard-macros.h: Likewise.
15456 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15457 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15458 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15459 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15460 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15461 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15462
154632013-09-23 Hector Marco <hecmargi@upv.es>
15464 Ismael Ripoll <iripoll@disca.upv.es>
15465 Carlos O'Donell <carlos@redhat.com>
15466
15467 [BZ #15754]
15468 * sysdeps/generic/stackguard-macros.h: Define
15469 __pointer_chk_guard_local and POINTER_CHK_GUARD.
15470 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15471 Define __pointer_chk_guard_local.
15472 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15473 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15474
f5f4e7b4
VV
154752013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
15476
15477 [BZ #15859]
15478 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15479
5bb43a43
AS
154802013-09-20 Andreas Schwab <schwab@linux-m68k.org>
15481
15482 * include/string.h (__ffs): Declare as hidden.
15483 * string/ffs.c (__ffs): Define as hidden.
15484 * sysdeps/i386/ffs.c (__ffs): Likewise.
15485 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15486 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15487 * sysdeps/s390/ffs.c (__ffs): Likewise.
15488 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15489
3ea5be54
AO
154902013-09-20 Alexandre Oliva <aoliva@redhat.com>
15491
ffb89e53
AO
15492 * NEWS: Mention malloc probes.
15493
322dea08
AO
15494 * malloc/arena.c (new_heap): New memory_heap_new probe.
15495 (grow_heap): New memory_heap_more probe.
15496 (shrink_heap): New memory_heap_less probe.
15497 (heap_trim): New memory_heap_free probe.
15498 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15499 (systrim): New memory_sbrk_less probe.
15500 * manual/probes.texi: Document them.
15501
655673f3
AO
15502 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15503 * manual/probes.texi: Document it.
15504
35fed6f1
AO
15505 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15506 (__libc_realloc): Add memory_realloc_retry probe.
15507 (__libc_memalign): Add memory_memalign_retry probe.
15508 (__libc_valloc): Add memory_valloc_retry probe.
15509 (__libc_pvalloc): Add memory_pvalloc_retry probe.
15510 (__libc_calloc): Add memory_calloc_retry probe.
15511 * manual/probes.texi: Document them.
15512
6999d38c
AO
15513 * malloc/arena.c (get_free_list): Add probe
15514 memory_arena_reuse_free_list.
15515 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15516 and memory_arena_reuse.
15517 (arena_get2) [!PER_THREAD]: Likewise.
15518 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15519 memory_arena_reuse_realloc.
15520 * manual/probes.texi: Document them.
15521
0653427f
AO
15522 * malloc/malloc.c (__libc_free): Add
15523 memory_mallopt_free_dyn_thresholds probe.
15524 (__libc_mallopt): Add multiple memory_mallopt probes.
15525 * manual/probes.texi: Document them.
15526
3ea5be54
AO
15527 * malloc/malloc.c: Include stap-probe.h.
15528 (__libc_mallopt): Add memory_mallopt probe.
15529 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15530 * manual/probes.texi: New.
15531 * manual/Makefile (chapters): Add probes.
15532 * manual/threads.texi: Set next node.
15533
e35696c3 155342013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 15535
e35696c3
CL
15536 [BZ #15963, #13985]
15537 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15538 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15539 Add `Chinese' to `nan' entry name.
15540
4aafb73c
SP
155412013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15542
15543 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15544 (POLYNOMIAL): Likewise.
15545 (TAYLOR_SINCOS): Likewise.
15546 (TAYLOR_SLOW): Likewise.
15547 (__sin): Use TAYLOR_SINCOS.
15548 (__cos): Likewise.
15549 (slow): Use TAYLOR_SLOW.
15550 (sloww): Likewise.
15551 (bsloww): Likewise.
15552 (csloww): Likewise.
15553
d84f25c7
LD
155542013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15555
15556 * stdlib/strtod_l.c: Fix buffer overrun.
15557
5eea0404
SP
155582013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15559
7849ff93
SP
15560 * benchtests/Makefile (bench): Add sincos.
15561 * benchtests/bench-sincos.c: New file.
15562
cfa3c886
SP
15563 * math/libm-test.inc (cos_test_data): New test inputs.
15564 (sin_test_data): Likewise.
15565
b348e1e3
SP
15566 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15567 macro.
15568 (__sin): Use it.
15569 (__cos): Likewise.
15570 (slow1): Likewise.
15571 (slow2): Likewise.
15572 (sloww1): Likewise.
15573 (sloww2): Likewise.
15574 (bsloww1): Likewise.
15575 (bsloww2): Likewise.
15576 (cslow2): Likewise.
15577 (csloww1): Likewise.
15578 (csloww2): Likewise.
15579
6cce25f8
SP
15580 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15581 function.
15582 (__sin): Use it.
15583 (__cos): Likewise.
15584
5eea0404
SP
15585 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15586 gotos.
15587 (__cos): Likewise.
15588
9c21573c
MR
155892013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
15590
15591 * config.h.in (HAVE_MIPS_NAN2008): New macro.
15592 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15593 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15594 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15595 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15596 * elf/cache.c (print_entry): Handle the new cache flags.
15597
24d22e65
JM
155982013-09-18 Joseph Myers <joseph@codesourcery.com>
15599 Aldy Hernandez <aldyh@redhat.com>
15600
15601 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15602 Change condition to [_SOFT_FLOAT].
15603 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15604 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15605 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15606 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15607 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15608 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15609 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15610 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15611 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15612 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15613 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15614 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15615 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15616 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15617 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15618 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15619 declaration.
15620
d13ef066
JM
156212013-09-18 Joseph Myers <joseph@codesourcery.com>
15622
2e071de0
JM
15623 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15624 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15625 (__longjmp): Use LOAD_GP to load saved GPRs.
15626 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15627 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15628 (__sigsetjmp): Use SAVE_GP to save GPRs.
15629
d13ef066
JM
15630 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15631 Do not append -msoft-float.
15632 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15633
97a0650b
SP
156342013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15635
15636 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15637
11ca09e9
JM
156382013-09-17 Joseph Myers <joseph@codesourcery.com>
15639
15640 [BZ #15966]
15641 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15642 (_FPU_GETCW): Use initial "__" on variable and field names but not
15643 on macro parameter name.
15644 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
15645 parentheses around reference to macro parameter.
15646
08ffcf34
RS
156472013-09-13 Richard Sandiford <richard@codesourcery.com>
15648
15649 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15650 prototype.
15651 (ctype_startup): Use uint32_t in cast and sizeof for
15652 ctype->charnames.
15653
ae7080d3
JL
156542013-09-11 Jia Liu <proljc@gmail.com>
15655
15656 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15657 __daddr_t_defined.
15658 [__FreeBSD__]: Likewise.
15659
5905e7b3
OB
156602013-09-11 Ondřej Bílka <neleai@seznam.cz>
15661
15662 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15663 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15664 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15665 (strchr): Remove __strchr_sse42 ifunc selection.
15666 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15667 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15668
b987c776
WN
156692013-09-11 Will Newton <will.newton@linaro.org>
15670
15671 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15672 parameter to RES. Remove hardcoded 1000 value.
15673 * benchtests/bench-skeleton.c (main): Pass RES parameter
15674 to TIMING_INIT and multiply result by 1000.
15675
ddf985af
AZ
156762013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15677
15678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15679
ffdd3181
AS
156802013-09-11 Andreas Schwab <schwab@suse.de>
15681
15682 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15683 if not defined.
15684 (O_TMPFILE) [__USE_GNU]: Define.
15685 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15686 Define.
15687
b73ed247
WN
156882013-09-11 Will Newton <will.newton@linaro.org>
15689
15690 [BZ #15857]
15691 * malloc/malloc.c (__libc_memalign): Check the value of bytes
15692 does not overflow.
15693
55e17aad
WN
156942013-09-11 Will Newton <will.newton@linaro.org>
15695
15696 [BZ #15856]
15697 * malloc/malloc.c (__libc_valloc): Check the value of bytes
15698 does not overflow.
15699
1159a193
WN
157002013-09-11 Will Newton <will.newton@linaro.org>
15701
15702 [BZ #15855]
15703 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15704 does not overflow.
15705
5905e7b3 157062013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
15707
15708 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15709 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15710 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15711 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15712 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15713
cdfc721b
AM
157142013-09-10 Allan McRae <allan@archlinux.org>
15715
aa04af00
AM
15716 [BZ #15748]
15717 * manual/arith.texi (Parsing of Floats): Clarify
15718 cross-reference.
15719
cdfc721b
AM
15720 [BZ #15849]
15721 * manual/install.texi (Running make install): Mention
15722 --enable-pt-chown.
15723 * INSTALL: Regenerated.
15724
95e7cf29
MR
157252013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15726
15727 * csu/init-first.c (_init): Remove the !SHARED condition around
15728 FPU control word initialization.
15729 * elf/dl-support.c (_dl_fpu_control): New variable.
15730 (_dl_aux_init) <AT_FPUCW>: Initialize it.
15731 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15732 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15733 * math/test-fpucw-static.c: New file.
15734 * math/test-fpucw-ieee.c: New file.
15735 * math/test-fpucw-ieee-static.c: New file.
15736 * math/Makefile (tests): Add `test-fpucw-ieee' and
15737 `$(tests-static)'.
15738 (tests-static): New variable.
15739 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15740 dependency to...
15741 [($(build-shared),yes)]
15742 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15743 ... this.
15744 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15745 New dependency.
15746
83e43bf0
AM
157472013-09-09 Allan McRae <allan@archlinux.org>
15748
a9f5ce09
AM
15749 [BZ #15939]
15750 * manual/string.texi (Collation Functions): Fix typo in
15751 strcoll example.
15752 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15753
34829bc2
AM
15754 [BZ #15893]
15755 * stdlib/isomac.c (get_null_defines): Fix memory leak.
15756
3932737d
AM
15757 [BZ #15892]
15758 * libio/memstream.c (open_memstream): Fix memory leak.
15759 * libio/wmemstream.c (open_wmemstream): Likewise.
15760
83e43bf0
AM
15761 [BZ #15895]
15762 * nscd/netgroupcache.c: Fix nesting of ifdefs.
15763
0c66b8e9
WN
157642013-09-09 Will Newton <will.newton@linaro.org>
15765
15766 * malloc/Makefile: Add tst-realloc to tests.
15767 * malloc/tst-realloc.c: New file.
15768
f6b00fd1
AM
157692013-09-09 Allan McRae <allan@archlinux.org>
15770
15771 [BZ #15844]
15772 * COPYING: Update from GNU website to fix FSF address.
15773 * COPYING.LIB: Likewise.
15774
eec55e16
DM
157752013-09-06 David S. Miller <davem@davemloft.net>
15776
15777 * po/zh_TW.po: Update Chinese (traditional) translation from
15778 translation project.
15779
1ecbb381
RS
157802013-09-06 Richard Sandiford <richard@codesourcery.com>
15781 Joseph Myers <joseph@codesourcery.com>
15782
15783 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15784 "localeinfo.h".
15785 (obstack_chunk_alloc): New macro.
15786 (obstack_chunk_free): Likewise.
15787 (record_offset): New function.
15788 (init_locale_data): Likewise.
15789 (align_locale_data): Likewise.
15790 (add_locale_empty): Likewise.
15791 (add_locale_raw_data): Likewise.
15792 (add_locale_raw_obstack): Likewise.
15793 (add_locale_string): Likewise.
15794 (add_locale_wstring): Likewise.
15795 (add_locale_uint32): Likewise.
15796 (add_locale_uint32_array): Likewise.
15797 (add_locale_char): Likewise.
15798 (start_locale_structure): Likewise.
15799 (end_locale_structure): Likewise.
15800 (start_locale_prelude): Likewise.
15801 (end_locale_prelude): Likewise.
15802 (write_locale_data): Take locale_file structure rather than an
15803 iovec.
15804 * locale/programs/locfile.h: Include "obstack.h".
15805 (struct locale_file): Change to store locale file contents instead
15806 of header.
15807 (init_locale_data): New prototype.
15808 (align_locale_data): Likewise.
15809 (add_locale_empty): Likewise.
15810 (add_locale_raw_data): Likewise.
15811 (add_locale_raw_obstack): Likewise.
15812 (add_locale_string): Likewise.
15813 (add_locale_wstring): Likewise.
15814 (add_locale_uint32): Likewise.
15815 (add_locale_uint32_array): Likewise.
15816 (add_locale_char): Likewise.
15817 (start_locale_structure): Likewise.
15818 (end_locale_structure): Likewise.
15819 (start_locale_prelude): Likewise.
15820 (end_locale_prelude): Likewise.
15821 (write_locale_data): Update prototype.
15822 * locale/programs/3level.h (struct TABLE): Remove result field.
15823 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15824 Use new locale_file interface.
15825 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15826 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15827 * locale/programs/ld-address.c (address_output): Use new
15828 locale_file interface.
15829 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15830 NO_ADD_LOCALE.
15831 (collate_finish): Don't call collseq_table_finalize.
15832 (collate_output): Use new locale_file interface.
15833 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15834 in file.
15835 (NO_FINALIZE): Change to NO_ADD_LOCALE.
15836 (TABLE): Move defines earlier in file.
15837 (ELEMENT): Likewise.
15838 (DEFAULT): Likewise.
15839 (wctrans_table_add): Move macro and inline function earlier in
15840 file.
15841 (struct wctype_table): Move type earlier in file.
15842 (add_locale_wctype_table): New static prototype.
15843 (struct locale_ctype_t): Use logical types instead of struct iovec
15844 pointers for members.
15845 (ctype_output): Use new locale_file interface.
15846 (wctype_table_finalize): Change to add_locale_wctype_table. Use
15847 new locale_file interface.
15848 (allocate_arrays): Update for use of new locale_file interface.
15849 * locale/programs/ld-identification.c (identification_output): Use
15850 new locale_file interface.
15851 * locale/programs/ld-measurement.c (measurement_output): Likewise.
15852 * locale/programs/ld-messages.c (messages_output): Likewise.
15853 * locale/programs/ld-monetary.c (monetary_output): Likewise.
15854 * locale/programs/ld-name.c (name_output): Likewise.
15855 * locale/programs/ld-numeric.c (numeric_output): Likewise.
15856 * locale/programs/ld-paper.c (paper_output): Likewise.
15857 * locale/programs/ld-telephone.c (telephone_output): Likewise.
15858 * locale/programs/ld-time.c (time_output): Likewise.
15859
e029e2e5
AZ
158602013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15861
15862 * benchtests/Makefile: Add memrchr benchmark.
15863 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15864 benchmark as memrchr.
15865 * benchtests/bench-memrchr-ifunc.c: New file.
15866 * benchtests/bench-memrchr.c: New file.
15867
bbf6e8e4
WN
158682013-09-06 Will Newton <will.newton@linaro.org>
15869
15870 * benchtests/Makefile (string-bench): Add memcpy.
15871
6c82a2f8
CD
158722013-09-05 Carlos O'Donell <carlos@redhat.com>
15873 Cong Wang <amwang@redhat.com>
15874
e732c5f0 15875 [BZ #15850]
6c82a2f8
CD
15876 * sysdeps/unix/sysv/linux/bits/in.h
15877 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15878 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15879 before __USE_KERNEL_IPV6_DEFS uses.
15880 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15881 IPPROTO_BEETPH.
15882 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15883 sockaddr_in6, or ipv6_mreq.
15884
5430fc65
AZ
158852013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15886
15887 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15888 memory access for final bytes in some large inputs.
15889 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15890
4660856c
AZ
158912013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15892
15893 * string/test-memrchr.c: New file.
15894 * string/test-memrchr-ifunc.c: New file.
15895 * string/Makefile: Add new memrchr testcase.
15896
bb8ea713
MF
158972013-09-05 Mike Frysinger <vapier@gentoo.org>
15898
15899 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15900 fanotify_init returns EPERM.
15901
b92a20b5
JM
159022013-09-04 Joseph Myers <joseph@codesourcery.com>
15903
15904 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15905 errors.
15906 (top level): Treat second token from macro or constant entries for
15907 allowed headers as allowed.
15908 * include/complex.h: Condition internal declarations on
15909 [!_ISOMAC].
15910 * include/fenv.h: Condition include of <stdbool.h> and internal
15911 declarations on [!_ISOMAC].
7447ccd9
CL
15912
159132013-09-04 Chris Leonard <cjl@sugarlabs,.org>
15914
3e181dda 15915 [BZ #15923]
7447ccd9
CL
15916 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15917
3f2e46a4
JM
159182013-09-04 Joseph Myers <joseph@codesourcery.com>
15919
15920 * configure.in (--enable-versioning): Remove configure option.
15921 (libc_cv_asm_symver_directive): Remove configure test.
15922 (libc_cv_ld_version_script_option): Likewise.
15923 (VERSIONING): Remove variable and AC_SUBST.
15924 (DO_VERSIONING): Remove AC_DEFINE.
15925 * configure: Regenerated.
15926 * config.h.in (DO_VERSIONING): Remove macro.
15927 * Makerules [$(versioning) = yes]: Change conditionals to
15928 [$(build-shared) = yes].
15929 * config.make.in (versioning): Remove variable.
15930 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15931 [$(build-shared) = yes].
15932 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15933 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15934 * elf/Makefile [$(versioning) = yes]: Change conditionals to
15935 [$(build-shared) = yes].
15936 * extra-lib.mk [$(versioning) = yes]: Likewise.
15937 * hurd/Makefile [$(versioning) = yes]: Likewise.
15938 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15939 [SHARED].
15940 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15941 [SHARED].
15942 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15943 [SHARED && !NO_HIDDEN].
15944 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15945 [SHARED].
15946 [SHARED && DO_VERSIONING]: Likewise..
15947 * libio/Makefile [$(versioning) = yes]: Change conditionals to
15948 [$(build-shared) = yes].
15949 * manual/install.texi (--disable-versioning): Remove
15950 documentation.
15951 * INSTALL: Regenerated.
15952 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15953 to [SHARED].
15954 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15955 [$(build-shared) = yes].
15956 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15957 * sysdeps/i386/i686/multiarch/strstr-c.c
15958 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15959 [SHARED && !NO_HIDDEN].
15960 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15961 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15962 * sysdeps/powerpc/powerpc32/dl-machine.c
15963 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15964 * sysdeps/powerpc/powerpc32/sysdep.h
15965 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15966 to [SHARED && PIC && !NO_HIDDEN].
15967 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15968 conditional to [SHARED].
15969
44558701
WN
159702013-09-04 Will Newton <will.newton@linaro.org>
15971
15972 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15973 * benchtests/bench-string.h: Include bench-timing.h instead
15974 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15975 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15976 call to HP_TIMING_DIFF_INIT.
15977 * benchtests/bench-memccpy.c: Use bench-timing.h macros
15978 instead of hp-timing.h macros.
15979 * benchtests/bench-memchr.c: Likewise.
15980 * benchtests/bench-memcmp.c: Likewise.
15981 * benchtests/bench-memcpy.c: Likewise.
15982 * benchtests/bench-memmem.c: Likewise.
15983 * benchtests/bench-memmove.c: Likewise.
15984 * benchtests/bench-memset.c: Likewise.
15985 * benchtests/bench-rawmemchr.c: Likewise.
15986 * benchtests/bench-strcasecmp.c: Likewise.
15987 * benchtests/bench-strcasestr.c: Likewise.
15988 * benchtests/bench-strcat.c: Likewise.
15989 * benchtests/bench-strchr.c: Likewise.
15990 * benchtests/bench-strcmp.c: Likewise.
15991 * benchtests/bench-strcpy.c: Likewise.
15992 * benchtests/bench-strcpy_chk.c: Likewise.
15993 * benchtests/bench-strlen.c: Likewise.
15994 * benchtests/bench-strncasecmp.c: Likewise.
15995 * benchtests/bench-strncat.c: Likewise.
15996 * benchtests/bench-strncmp.c: Likewise.
15997 * benchtests/bench-strncpy.c: Likewise.
15998 * benchtests/bench-strnlen.c: Likewise.
15999 * benchtests/bench-strpbrk.c: Likewise.
16000 * benchtests/bench-strrchr.c: Likewise.
16001 * benchtests/bench-strspn.c: Likewise.
16002 * benchtests/bench-strstr.c: Likewise.
16003
cae16d66
WN
160042013-09-04 Will Newton <will.newton@linaro.org>
16005
16006 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16007
ffa3cd7f
JM
160082013-09-03 Joseph Myers <joseph@codesourcery.com>
16009
16010 [BZ #15427]
16011 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16012 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16013 * math/libm-test.inc (lgamma_test_data): Add more tests.
16014 * sysdeps/i386/fpu/libm-test-ulps: Update.
16015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16016
8f02859f
OB
160172013-09-03 Ondřej Bílka <neleai@seznam.cz>
16018
16019 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16020 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16021 Add ifunc.
16022 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16023 Add strcmp-sse2-unaligned
16024 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16025
18d43716
MF
160262013-09-02 Mike Frysinger <vapier@gentoo.org>
16027
16028 * Versions.def (libc): Add GLIBC_2.19.
16029
ac444012
MF
160302013-09-02 Mike Frysinger <vapier@gentoo.org>
16031
16032 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16033 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16034
b7835e32
JM
160352013-09-02 Joseph Myers <joseph@codesourcery.com>
16036
16037 [BZ #14155]
16038 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16039 intermediate calculations in recurrence.
16040 (__ieee754_ynf): Likewise.
16041 * math/libm-test.inc (jn_test_data): Do not allow spurious
16042 underflow exception. Add more tests.
16043 (yn_test_data): Add more tests.
16044 * sysdeps/i386/fpu/libm-test-ulps: Update.
16045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16046
8220f4f0
OB
160472013-09-02 Ondřej Bílka <neleai@seznam.cz>
16048
16049 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16050
f24a6d08
OB
160512013-08-30 Ondřej Bílka <neleai@seznam.cz>
16052
16053 * csu/init-first.c: Fix then/than typos.
16054 * locale/programs/ld-collate.c: Likewise.
16055 * locale/programs/linereader.h: Likewise.
16056 * manual/charset.texi: Likewise.
16057 * manual/filesys.texi: Likewise.
16058 * manual/stdio.texi: Likewise.
16059 * manual/string.texi: Likewise.
16060 * stdlib/fmtmsg.c: Likewise.
16061 * sysdeps/i386/stpncpy.S: Likewise.
16062 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16063 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16064 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16065 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16066
382466e0
OB
160672013-08-30 Ondřej Bílka <neleai@seznam.cz>
16068
16069 * elf/dl-open.c: Fix typos.
16070 * iconvdata/gbbig5.c: Likewise.
16071 * iconvdata/iso-2022-jp.c: Likewise.
16072 * iconv/gconv_int.h: Likewise.
16073 * iconv/loop.c: Likewise.
16074 * nis/rpcsvc/nis.h: Likewise.
16075 * resolv/ns_name.c: Likewise.
16076 * stdio-common/vfscanf.c: Likewise.
16077 * streams/stropts.h: Likewise.
16078 * sunrpc/rpc_thread.c: Likewise.
16079 * sysdeps/i386/strpbrk.S: Likewise.
16080 * sysdeps/ieee754/k_standard.c: Likewise.
16081 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16082 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16083 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16084 * sysdeps/mach/hurd/profil.c: Likewise.
16085 * sysdeps/s390/dl-procinfo.h: Likewise.
16086 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16087 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16088 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16089 * sysdeps/x86_64/dl-trampoline.S: Likewise.
16090 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16091
0186c6e9
OB
160922013-08-30 Ondřej Bílka <neleai@seznam.cz>
16093
16094 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16095 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16096
d4e16af1
OB
160972013-08-29 Ondřej Bílka <neleai@seznam.cz>
16098
16099 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16100 aix specific files.
16101 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16102 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16103 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16104 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16105 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16106 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16107 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16108 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16109
88335980
TS
161102013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16111 Roland McGrath <roland@hack.frob.com>
16112
16113 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16114 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16115
ed479b02
ST
161162013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16117
16118 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16119 __executable_start symbol instead of _start.
16120
f1cc4c86
TS
161212013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16122
d821f07c
TS
16123 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16124 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16125 Move macros to...
16126 * sysdeps/gnu/ldsodefs.h: ... this new file.
16127
c54290cf
TS
16128 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16129 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16130 instead of ELFOSABI_LINUX.
16131
0007fc9b 16132 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
16133 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16134 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16135 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16136 Likewise.
16137 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16138 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16139 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16140 Likewise.
16141 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16142 (ibm_extended_long_double): Add ieee_nan member.
16143 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16144 (do_test): New function.
16145
f1cc4c86
TS
16146 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16147 TEST_TRUNC.
16148 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16149 functions, renamed from truncdfsf_test, trunctfsf_test,
16150 trunctfdf_test.
16151 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16152 functions.
16153 (do_test): Run all these.
16154
6f65e668
OB
161552013-08-29 Ondřej Bílka <neleai@seznam.cz>
16156
16157 * argp/argp-help.c: Fix typos.
16158 * argp/argp-parse.c: Likewise.
16159 * debug/backtracesyms.c: Likewise.
16160 * elf/elf.h: Likewise.
16161 * malloc/malloc.c: Likewise.
16162 * nis/nis_print.c: Likewise.
16163 * resolv/res_comp.c: Likewise.
16164 * stdlib/stdlib.h: Likewise.
16165 * sunrpc/clnt_tcp.c: Likewise.
16166 * sunrpc/clnt_udp.c: Likewise.
16167 * sunrpc/clnt_unix.c: Likewise.
16168 * sysdeps/unix/bsd/ptsname.c: Likewise.
16169 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16170 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
16171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16172 Likewise.
16173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16174 Likewise.
16175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16176 Likewise.
6f65e668
OB
16177 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16178
3a309239
SP
161792013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16180
16181 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16182 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16183
3b813b29
MF
161842013-08-27 Mike Frysinger <vapier@gentoo.org>
16185
16186 [BZ #15897]
16187 * dlfcn/Makefile (tests): Add bug-dl-leaf.
16188 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16189 ($(objpfx)bug-dl-leaf): New rule.
16190 ($(objpfx)bug-dl-leaf.so): Likewise.
16191 ($(objpfx)bug-dl-leaf.out): Likewise.
16192 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16193 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16194 * dlfcn/bug-dl-leaf.c: New test.
16195 * dlfcn/bug-dl-leaf-lib.c: Likewise.
16196 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16197 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16198 (dlclose): Likewise.
16199 (dlmopen): Likewise.
16200
8cc3269f
RM
162012013-08-27 Roland McGrath <roland@hack.frob.com>
16202
7f9d0034
RM
16203 * include/netdb.h [!_ISOMAC]:
16204 Don't include <tls.h>.
16205 (h_errno, __libc_h_errno): Move declaration and macros out of
16206 [_LIBC_REENTRANT].
16207
fb431262
RM
16208 * include/resolv.h [_RESOLV_H_]:
16209 Don't include <tls.h>.
16210 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16211 * resolv/res_libc.c: Don't include <tls.h>.
16212 (_res): Use __attribute__ ((nocommon)) in place of
16213 __attribute__ ((section (".bss"))).
16214
bd81123a
RM
16215 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16216 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16217
c4e42566
RM
16218 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16219
f890a59b
RM
16220 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16221 only under [SIOCGIFCONF && SIOCGIFNETMASK].
16222
16223 * resolv/res_mkquery.c: Include <sys/time.h>.
16224
5d1f0a09
RM
16225 * inet/ifreq.c: Moved to ...
16226 * sysdeps/unix/ifreq.c: ... here.
16227 * inet/ifreq.c: New file, true stub version.
16228
6fcf28b3
RM
16229 * socket/sa_len.c: New file.
16230 * socket/Makefile (aux): Add it.
16231 * sysdeps/unix/sysv/linux/Makefile
16232 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16233 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16234 and #include <socket/sa_len.c>.
16235 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16236 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16237
e041fb8b
RM
16238 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16239 * bits/socket.h: ... here.
16240
8cc3269f
RM
16241 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16242 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16243 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16244
5d228a43
AS
162452013-08-27 Andreas Schwab <schwab@suse.de>
16246
45b8accc
AS
16247 [BZ #15736]
16248 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16249 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16250 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16251 * string/test-strcasecmp.c (test_main): Run tests in several
16252 locales.
16253 * string/test-strncasecmp.c (test_main): Likewise.
16254
5d228a43
AS
16255 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16256 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16257 to __strcasecmp_nonascii and __strncasecmp_nonascii.
16258 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16259 (__strncasecmp_ssse3) [PIC]: Likewise.
16260
59d112a4
RM
162612013-08-26 Roland McGrath <roland@hack.frob.com>
16262
53234cc3
RM
16263 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16264
59d112a4
RM
16265 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16266 instead of explicitly declaring xdecrypt.
16267 * nis/nss_nis/nis-publickey.c: Likewise.
16268
595aba70
SP
162692013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16270
16271 [BZ #15890]
16272 * nscd/aicache.c: Include res_hconf.h.
16273 (addhstaiX): Initialize res_hconf.
16274
ffabd393
AS
162752013-08-26 Andreas Schwab <schwab@suse.de>
16276
16277 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16278 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16279
e0a69f5c
SP
162802013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16281
16282 * nscd/aicache.c (addhstaiX): Fix indentation.
16283
8c12f01d
MF
162842013-08-25 Mike Frysinger <vapier@gentoo.org>
16285
16286 * configure.ac: Quote $build_pt_chown test.
16287 * configure: Regenerated.
16288
8fe89494
JM
162892013-08-23 Joseph Myers <joseph@codesourcery.com>
16290
16291 [BZ #15532]
16292 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16293 * math/s_cexpf.c (__cexpf): Likewise.
16294 * math/s_cexpl.c (__cexpl): Likewise.
16295 * math/libm-test.inc (cexp_test_data): Correct expected return
16296 value for NaN + i0. Add another test.
16297
75b181d6
DM
162982013-08-22 David S. Miller <davem@davemloft.net>
16299
16300 * po/ca.po: Update Catalan translation from translation project.
936241e4 16301 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 16302
acd06bb1
JM
163032013-08-21 Joseph Myers <joseph@codesourcery.com>
16304
16305 [BZ #15797]
16306 * math/s_fdim.c (__fdim): Check for infinite arguments if result
16307 is infinite, not alongside NaN test.
16308 * math/s_fdimf.c (__fdimf): Likewise.
16309 * math/s_fdiml.c (__fdiml): Likewise.
16310 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
16311 errno is unchanged.
16312
c0c3f78a
OB
163132013-08-21 Ondřej Bílka <neleai@seznam.cz>
16314
16315 * argp/argp-help.c: Fix typos.
16316 * crypt/speeds.c: Likewise.
16317 * csu/check_fds.c: Likewise.
16318 * elf/dl-load.c: Likewise.
16319 * elf/dl-open.c: Likewise.
16320 * elf/reldep3.c: Likewise.
16321 * elf/reldep.c: Likewise.
16322 * elf/sprof.c: Likewise.
16323 * iconv/iconv_charmap.c: Likewise.
16324 * iconv/skeleton.c: Likewise.
16325 * iconv/strtab.c: Likewise.
16326 * io/lockf64.c: Likewise.
16327 * libio/libioP.h: Likewise.
16328 * resolv/gai_notify.c: Likewise.
16329 * resolv/ns_name.c: Likewise.
16330 * resolv/ns_samedomain.c: Likewise.
16331 * resolv/res_send.c: Likewise.
16332 * stdlib/random.c: Likewise.
16333 * sunrpc/rpc/xdr.h: Likewise.
16334 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16335 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16336 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16337 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16338 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16339 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16340 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16341 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16342 * sysdeps/mach/hurd/check_fds.c: Likewise.
16343 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16344 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16345 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16346 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16347 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16348 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16349 * sysdeps/pthread/aio_notify.c: Likewise.
16350 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16351 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16352 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16353 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16354 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16355
46ed1038
LD
163562013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16357
16358 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16359 version if bit_Slow_SSE4_2 is set.
16360 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16361 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16362
d400dcac
AZ
163632013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16364
16365 [BZ #15867]
16366 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16367 trampoline stack frame information.
16368 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16369 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16370 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16371 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16372 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16373 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16374 (_libc_vdso_platform_setup): Initialize the signal trampolines.
16375 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16376 sa_flags value.
16377 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16378 interrupting a syscall and set with option SA_SIGINFO.
16379
42c8fdd8
JM
163802013-08-20 Joseph Myers <joseph@codesourcery.com>
16381
c980f2f4
JM
16382 [BZ #15531]
16383 * math/s_cproj.c (__cproj): Only return an infinity if one part of
16384 argument is infinite.
16385 * math/s_cprojf.c (__cprojf): Likewise.
16386 * math/s_cprojl.c (__cprojl): Likewise.
16387 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16388 * math/libm-test.inc (cproj_test_data): Add more tests.
16389
0716c4fc
JM
16390 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16391
42c8fdd8
JM
16392 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16393 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16394 size. Use __ffs to determine corresponding shift.
16395
b31469d0
JM
163962013-08-20 Joseph Myers <joseph@codesourcery.com>
16397 Roland McGrath <roland@hack.frob.com>
16398
16399 * Makefile (INSTALL): Remove trailing blank lines from output of
16400 makeinfo.
16401
4e39af6e
AK
164022013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16403
16404 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16405 Align 32 bit compat elf_greg to 8 bytes.
16406
f315524e
AA
164072013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16408
16409 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16410
1326ba1a
SP
164112013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16412
16413 * string/strcoll_l.c (coll_seq): New structure.
16414 (get_next_seq_cached): New function.
16415 (get_next_seq): New function.
16416 (do_compare): New function.
16417 (STRCOLL): Use GNU style definition. Simplify implementation
16418 by using get_next_seq, get_next_seq_cached and do_compare.
16419
91ce4085
FW
164202013-08-16 Florian Weimer <fweimer@redhat.com>
16421
16422 [BZ #14699]
16423 CVE-2013-4237
16424 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16425 member.
16426 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16427 member.
16428 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16429 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16430 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
16431 conditional.
16432 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16433 GETDENTS_64BIT_ALIGNED.
16434 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16435 * manual/filesys.texi (Reading/Closing Directory): Document
16436 ENAMETOOLONG return value of readdir_r. Recommend readdir more
16437 strongly.
16438 * manual/conf.texi (Limits for Files): Add portability note to
16439 NAME_MAX, PATH_MAX.
16440 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16441
ca0a6bc4
AS
164422013-08-13 Andreas Schwab <schwab@suse.de>
16443
16444 [BZ #15749]
16445 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16446 of fabs.
16447 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16448 LDBL_MAX_EXP >= 16384]: Add tests for it.
16449
6c1fd795
DM
164502013-08-12 David S. Miller <davem@davemloft.net>
16451
16452 * version.h (RELEASE): Set to "development".
16453 (VERSION): Set to "2.18.90".
16454 * NEWS: Add 2.19 section.
16455
31ad488d
DM
164562013-08-03 David S. Miller <davem@davemloft.net>
16457
16458 * po/ko.po: Update Korean translation from translation project.
16459
db24e684
DM
164602013-08-01 David S. Miller <davem@davemloft.net>
16461
16462 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
16463 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16464 Bilka.
16465
f723285b
DM
164662013-07-30 David S. Miller <davem@davemloft.net>
16467
16468 * po/fr.po: Update French translation from translation project.
16469
3cbc52db
DM
164702013-07-28 David S. Miller <davem@davemloft.net>
16471
30bbc0cc
DM
16472 * po/cs.po: Update Czech translation from translation project.
16473
3cbc52db
DM
16474 * po/sv.po: Update Swedish translation from translation project.
16475
d492e6d0
DM
164762013-07-27 David S. Miller <davem@davemloft.net>
16477
f1a7f492
DM
16478 * po/eo.po: Update Esperanto translation from translation project.
16479
90e62a4a
DM
16480 * po/vi.po: Update Vietnamese translation from translation project.
16481
d492e6d0
DM
16482 * po/de.po: Update German translation from translation project.
16483
d4baa62d
DM
164842013-07-26 David S. Miller <davem@davemloft.net>
16485
641aa7b4
DM
16486 * po/bg.po: Update Bulgarian translation from translation project.
16487
d4baa62d
DM
16488 * po/nl.po: Update Dutch translation from translation project.
16489 * po/pl.po: Update Polish translation from translation project.
16490 * po/ru.po: Update Russian translation from translation project.
16491
61a9dcb9
DM
164922013-07-24 David S. Miller <davem@davemloft.net>
16493
16494 * po/libc.pot: Update.
16495
7b1f8b58
AZ
164962013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16497
16498 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16499 variable page size.
16500 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16501 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16502 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16503
a8fc7a03
AK
165042013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16505
16506 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16507
e4608715
CD
165082013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16509 Andreas Schwab <schwab@suse.de>
16510 Roland McGrath <roland@hack.frob.com>
16511 Joseph Myers <joseph@codesourcery.com>
16512 Carlos O'Donell <carlos@redhat.com>
16513
16514 [BZ #15755]
16515 * config.h.in: Define HAVE_PT_CHOWN.
16516 * config.make.in (build-pt-chown): New variable.
16517 * configure.in (--enable-pt_chown): New configure option.
16518 * configure: Regenerate.
16519 * login/Makefile: Include Makeconfig. Build pt_chown only if
16520 build-pt-chown is enabled.
16521 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16522 pt_chown to fix pty ownership.
16523 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16524 CLOSE_ALL_FDS.
16525 * manual/install.texi (Configuring and compiling): Mention
16526 --enable-pt_chown. Add @findex for grantpt.
16527 * INSTALL: Regenerate.
16528
da2d62df
DM
165292013-07-20 David S. Miller <davem@davemloft.net>
16530
16531 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16532 difference between 32-bit and 64-bit.
16533
d7e06450
CD
165342013-07-15 Carlos O'Donell <carlos@redhat.com>
16535
16536 [BZ #15711]
16537 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16538 Avoid system header dependency with -ffreestanding.
16539 ($(objpfx)bits/syscall%d): Likewise.
16540
f959cfd7
DM
165412013-07-13 David S. Miller <davem@davemloft.net>
16542
16543 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16544 underflows from atanl/atan2l due to bug 15319.
16545 (casinh_test_data): Likewise.
16546
c61f8513
DM
165472013-07-07 David S. Miller <davem@davemloft.net>
16548
16549 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16550
72c90ed0
JA
165512013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
16552
16553 * sysdeps/i386/fpu/libm-test-ulps: Update.
16554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16555
52dfbe13
SP
165562013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16557
16558 * configure.in (--enable-lock-elision): Fix message text.
16559 * INSTALL: Regenerate.
16560 * configure: Regenerate.
16561
3f169543
AZ
165622013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16563
16564 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16565
521c6785
AJ
165662013-07-03 Andreas Jaeger <aj@suse.de>
16567
16568 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16569 define.
16570 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16571 (ptrace_peeksiginfo_args): Add.
16572 (__ptrace_peeksiginfo_flags): Add.
16573 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16574 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16575 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16576
d2cc15cb
AM
165772013-07-03 Allan McRae <allan@archlinux.org>
16578
16579 * sysdeps/i386/fpu/libm-test-ulps: Update.
16580
3aaeeca7
DM
165812013-07-02 David S. Miller <davem@davemloft.net>
16582
16583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16584
5314ed1a
MT
165852013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
16586
16587 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16588
67338156
JM
165892013-07-02 Joseph Myers <joseph@codesourcery.com>
16590
16591 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16593
1717da59
AK
165942013-07-02 Andi Kleen <ak@linux.intel.com>
16595
16596 * config.h.in (ENABLE_LOCK_ELISION): Add.
16597 * configure.in (--enable-lock-elision): Add option.
16598 * manual/install.texi: Document --enable lock elision.
16599 * configure: Regenerate
16600 * INSTALL: Regenerate.
16601
1c81621c
L
166022013-07-02 H.J. Lu <hongjiu.lu@intel.com>
16603
16604 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16605 SSE4.2 strcasecmp for libc.a.
16606 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16607
77f01ab5
JM
166082013-07-02 Joseph Myers <joseph@codesourcery.com>
16609
16610 [BZ #13304]
16611 * soft-fp/op-common.h (_FP_FMA): New macro.
16612 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16613 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
16614 (_FP_MUL_MEAT_1_imm): ... here.
16615 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
16616 (_FP_MUL_MEAT_1_wide): ... here.
16617 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
16618 (_FP_MUL_MEAT_1_hard): ... here.
16619 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16620 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
16621 (_FP_MUL_MEAT_2_wide): ... here.
16622 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
16623 (_FP_MUL_MEAT_2_wide_3mul): ... here.
16624 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
16625 (_FP_MUL_MEAT_2_gmp): ... here.
16626 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16627 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
16628 (_FP_MUL_MEAT_4_wide): ... here.
16629 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
16630 (_FP_MUL_MEAT_4_gmp): ... here.
16631 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16632 (_FP_WFRACBITS_DW_S): Likewise.
16633 (_FP_WFRACXBITS_DW_S): Likewise.
16634 (_FP_HIGHBIT_DW_S): Likewise.
16635 (FP_FMA_S): Likewise.
16636 (_FP_FRAC_HIGH_DW_S): Likewise.
16637 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16638 (_FP_WFRACBITS_DW_D): Likewise.
16639 (_FP_WFRACXBITS_DW_D): Likewise.
16640 (_FP_HIGHBIT_DW_D): Likewise.
16641 (FP_FMA_D): Likewise.
16642 (_FP_FRAC_HIGH_DW_D): Likewise.
16643 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16644 (_FP_WFRACBITS_DW_E): Likewise.
16645 (_FP_WFRACXBITS_DW_E): Likewise.
16646 (_FP_HIGHBIT_DW_E): Likewise.
16647 (FP_FMA_E): Likewise.
16648 (_FP_FRAC_HIGH_DW_E): Likewise.
16649 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16650 (_FP_WFRACBITS_DW_Q): Likewise.
16651 (_FP_WFRACXBITS_DW_Q): Likewise.
16652 (_FP_HIGHBIT_DW_Q): Likewise.
16653 (FP_FMA_Q): Likewise.
16654 (_FP_FRAC_HIGH_DW_Q): Likewise.
16655 * soft-fp/fmasf4.c: New file.
16656 * soft-fp/fmadf4.c: Likewise.
16657 * soft-fp/fmatf4.c: Likewise.
16658
6308fd9a
LD
166592013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16660
16661 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16662 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16663 Silvermont.
16664 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16665 macro.
16666 (index_Slow_SSE4_2): Likewise.
16667 (index_Prefer_PMINUB_for_stringop): Likewise.
16668 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16669 bit_Slow_SSE4_2 is set.
16670 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16671 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16672
89cd9569
RA
166732013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16674
16675 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16676 rtld_global._dl_hwcap2.
16677 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16678 POWER8.
16679 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16680 POWER8 feature descriptions defined in _dl_hwcap2.
16681 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16682 string handling for POWER8 feature bits.
16683 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16684 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16685 _dl_powerpc_cap_flags.
16686 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16687 * sysdeps/powerpc/rtld-global-offsets.sym
16688 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16689 _dl_hwcap2 in the rtld_global_ro structure.
16690
1ae8bfe0
RA
166912013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16692
16693 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16694 hardware capabilities in support of AT_HWCAP2.
16695 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16696 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16697 GLRO(dl_hwcap2).
16698 (_dl_show_auxv): Add support for calling _dl_procinfo to display
16699 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
16700 explicitly the unknown a_type display mechanism is used.
16701 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16702 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16703 struct member.
16704 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16705 to macro prototype for AT_HWCAP2 support.
16706 * sysdeps/i386/dl-procinfo.h: Likewise.
16707 * sysdeps/s390/dl-procinfo.h: Likewise.
16708 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16709 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
16710 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
16711 return -1 for unknown a_type display fallback.
16712 * sysdeps/sparc/dl-procinfo.h: Likewise.
16713 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16714 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16715
8fbec010
JM
167162013-06-28 Joseph Myers <joseph@codesourcery.com>
16717
16718 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16719 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16720
0432680e
PY
167212013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
16722
16723 [BZ #12492]
16724 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16725 mprotect making __stack_prot writable.
16726
ce61a2ad
NF
167272013-06-28 Nathan Froyd <froydnj@codesourcery.com>
16728 Joseph Myers <joseph@codesourcery.com>
16729
16730 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16731 as being properly aligned.
16732
f91f1c0f
MR
167332013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
16734
3d0f5d0c
MR
16735 * dlfcn/modstatic5.c: New file.
16736 * dlfcn/tststatic5.c: New file.
16737 * dlfcn/Makefile (tests): Add tststatic5.
16738 (tests-static): Likewise.
16739 (modules-names): Add modstatic5.
16740 (tststatic5-ENV): New variable.
16741 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16742
f91f1c0f
MR
16743 [BZ #15022]
16744 * elf/dl-support.c (_dl_main_map): New variable.
16745 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16746 (_dl_nns, _dl_load_adds): Set to 1.
16747 (_dl_initial_searchlist): Refer to _dl_main_map.
16748 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16749 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16750 call to _dl_get_origin.
16751 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16752 around call_map.
16753 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16754 * dlfcn/modstatic3.c: New file.
16755 * dlfcn/tststatic3.c: New file.
16756 * dlfcn/tststatic4.c: New file.
16757 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16758 (tests-static): Likewise.
16759 (modules-names): Add modstatic3.
16760 (tststatic3-ENV, tststatic4-ENV): New variables.
16761 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16762 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16763
cbe7d24b
JM
167642013-06-26 Joseph Myers <joseph@codesourcery.com>
16765
16766 * configure.in (CC): Require GCC version 4.4 or later.
16767 * configure: Regenerated.
16768 * manual/install.texi (Tools for Compilation): Update GCC version
16769 requirement.
16770 * INSTALL: Regenerated.
16771
11b8a0e1
LD
167722013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16773
16774 [BZ #15674]
bb5bb87c
L
16775 * string/test-memcmp.c (check2): New.
16776 (main): Call check2.
16777
11b8a0e1
LD
16778 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16779
b0037103
MR
167802013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
16781
16782 [BZ #15022]
16783 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16784 over to...
16785 (dl_open_worker) [!SHARED]: ... here.
16786
c18c701d
RA
167872013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16788
16789 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16790
1d17fa5f
RH
167912013-06-25 Richard Henderson <rth@redhat.com>
16792
16793 * locale/programs/locarchive.c: Include <libc-internal.h>
16794
8fcb833a
JM
167952013-06-25 Joseph Myers <joseph@codesourcery.com>
16796
16797 * manual/texinfo.tex: Update to version 2013-06-21.17, with
16798 trailing whitespace removed.
16799
17db6e8d
MF
168002013-06-24 Mike Frysinger <vapier@gentoo.org>
16801
16802 [BZ #10283]
17db6e8d
MF
16803 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16804 * locale/programs/locarchive.c: Include libc-mmap.h.
16805 (prepare_address_space): Take two new outputs (the mmap base and len).
16806 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
16807 values.
16808 (create_archive): Declare new mmap base and len values for
16809 prepare_address_space, and store the result in ah.
16810 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16811 (enlarge_archive): If ah->mmap_base is not NULL, use that and
16812 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16813 Declare new mmap base and len values for
16814 prepare_address_space, and store the result in new_ah.
16815 (open_archive): Declare new mmap base and len values for
16816 prepare_address_space, and store the result in ah.
16817 (close_archive): If ah->mmap_base is not NULL, use that and
16818 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16819 * sysdeps/generic/libc-mmap.h: New file.
16820
d605071e
MF
168212013-06-24 Mike Frysinger <vapier@gentoo.org>
16822
16823 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16824 (ALIGN_UP): Likewise.
16825 (PTR_ALIGN_DOWN): Likewise.
16826 (PTR_ALIGN_UP): Likewise.
16827
2f063a6e
RA
168282013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16829
16830 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16831 entry mapped to PPC_PLATFORM_POWER8.
16832 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16833 POWER8.
16834 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16835 (_dl_string_platform): Add case for exporting platform position for
16836 POWER8.
16837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16838 search path to sysdeps/powerpc/powerpc32/power8 directory.
16839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16840 search path to sysdeps/powerpc/powerpc64/power8 directory.
16841 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16842 power7 directories.
16843 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16844 power7 directories.
16845
a31ee4b3
SP
168462013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16847
a74ca98f
SP
16848 * INSTALL: Regenerate.
16849
a31ee4b3
SP
16850 * nscd/connections.c (nscd_init): Fix comment.
16851
695c378f
JM
168522013-06-22 Joseph Myers <joseph@codesourcery.com>
16853
d8412221
JM
16854 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16855
695c378f
JM
16856 [BZ #15667]
16857 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16858 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16859
d1d54715
MR
168602013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16861
16862 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16863 DL_DST_REQ_STATIC.
16864 (DL_DST_REQ_STATIC): Remove macro.
16865
8fdda7af
JM
168662013-06-21 Joseph Myers <joseph@codesourcery.com>
16867
16868 [BZ #7006]
16869 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16870 with a shift of 0 bits.
16871
f3bc5e5a
MR
168722013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16873
16874 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16875 $(tststatic-ENV).
16876
be09e8c9
KK
168772013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16878
16879 [BZ #15655]
16880 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16881
85c2e611
AZ
168822013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16883
16884 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16885 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16886 accepts -fno-tree-loop-distribute-patterns.
16887 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16888 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16889 recursive call.
16890 * string/memset.c (memset): Likewise.
16891 * string/test-memmove.c (simple_memmove): Disable loop transformation
16892 to library calls.
16893 * string/test-memset.c (simple_memset): Likewise.
16894 * benchtests/bench-memmove.c (simple_memmove): Likewise.
16895 * benchtests/bench-memset.c (simple_memset): Likewise.
16896 * configure: Regenerated.
16897
c91e0825
JM
168982013-06-20 Joseph Myers <joseph@codesourcery.com>
16899
b8c792af
JM
16900 * math/test-misc.c (main): Ignore fesetround failure when failures
16901 of subsequent rounding tests would be ignored.
16902
c91e0825
JM
16903 [BZ #15654]
16904 * math/fedisblxcpt.c (fedisableexcept): Return 0.
16905 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16906 * math/fegetenv.c (__fegetenv): Return 0.
16907 * math/fegetexcept.c (fegetexcept): Return 0.
16908 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16909 FE_TONEAREST.
16910 * math/feholdexcpt.c (feholdexcept): Return 0.
16911 * math/fesetenv.c (__fesetenv): Return 0.
16912 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16913 argument FE_TONEAREST.
16914 * math/feupdateenv.c (__feupdateenv): Return 0.
16915 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16916
bfcacbde
RM
169172013-06-18 Roland McGrath <roland@hack.frob.com>
16918
16919 * elf/rtld-Rules (rtld-compile-command.S): New variable.
16920 (rtld-compile-command.s, rtld-compile-command.c): New variables.
16921 ($(objpfx)rtld-%.os rules): Use them.
16922
e55a9b25
AZ
169232013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16924
16925 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16926 fields.
16927
346d65b3
RM
169282013-06-17 Roland McGrath <roland@hack.frob.com>
16929
12086fb4
RM
16930 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16931 length of target pattern, then descending length of dependency pattern.
16932 * configure.in (AWK): Require gawk 3.1.2 or newer.
16933 * manual/install.texi (Tools for Compilation): Say that we do.
16934 * configure: Regenerated.
16935
346d65b3
RM
16936 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16937 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16938 * scripts/sysd-rules.awk: ... this new script.
16939 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16940 than a glob-style pattern.
16941
1a846317
JM
169422013-06-17 Joseph Myers <joseph@codesourcery.com>
16943
16944 * math/test-misc.c (main): Do not treat incorrectly rounded
16945 conversions as failure unless ROUNDING_TESTS passes.
16946
8fc75e6f
JM
169472013-06-15 Joseph Myers <joseph@codesourcery.com>
16948
3711a167
JM
16949 [BZ #15631]
16950 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16951 restore exception state around main square root computation, then
16952 check for inexactness explicitly.
16953
8fc75e6f
JM
16954 * math/libm-test.inc (fma_test_data): Add another test.
16955
61dd6208
SP
169562013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16957
adf23d2c
SP
16958 * manual/threads.texi (Non-POSIX Extensions): New document
16959 node. Document pthread_getattr_default_np and
16960 pthread_setattr_default_np.
16961
61dd6208
SP
16962 * Versions.def (libpthread): Add GLIBC_2.18.
16963 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16965 Likewise.
16966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16967 Likewise.
16968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16969 Likewise.
16970 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16971 Likewise.
16972 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16973 Likewise.
16974 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16975 Likewise.
16976 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16977 Likewise.
16978 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16979 Likewise.
16980 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16981 Likewise.
16982
d086fc7b
LD
169832013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16984
16985 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16986 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16987
747ef469
SP
169882013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16989 H.J. Lu <hjl.tools@gmail.com>
16990
16991 [BZ #15627]
16992 * sysdeps/x86_64/rtld-memset.c: Remove file.
16993 * sysdeps/x86_64/rtld-memset.S: New file.
16994
1b2feed2
JM
169952013-06-14 Joseph Myers <joseph@codesourcery.com>
16996
16997 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16998 (test_in_one_mode): Take arguments for whether the rounding mode
16999 is supported for each floating-point type.
17000 (do_test): Pass new arguments to test_in_one_mode using
17001 ROUNDING_TESTS.
17002
a58ad3f8
RM
170032013-06-13 Roland McGrath <roland@hack.frob.com>
17004
17005 * posix/tst-waitid.c (do_test): Distinguish different instances of
17006 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
17007 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17008 before entering the kernel for waitpid.
17009
c204ab28
SP
170102013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17011
17012 * NEWS: Fix note on clock function precision. Text by Roland
17013 McGrath.
17014
f4a29fba
RM
170152013-06-13 Roland McGrath <roland@hack.frob.com>
17016
17017 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17018 it into place only when and if the sanity check passes.
17019
1f24b9ad
JM
170202013-06-13 Joseph Myers <joseph@codesourcery.com>
17021
17022 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17023 output for whether conversion result is exact. Take argument
17024 indicating whether type is IBM long double.
17025 (round_for_all): Change need_exact field to ibm_ld.
17026 * stdlib/tst-strtod-round.c (struct exactness): New type.
17027 (struct test): Change bool ld_ok field to struct exactness exact.
17028 (TEST): Update all definitions for change to field.
17029 (tests): Regenerate array contents.
17030 (test_in_one_mode): Take pointer to new field instead of old ld_ok
17031 field value. Check for IBM long double here.
17032 (do_test): Update calls to test_in_one_mode.
17033
58206c68
SP
170342013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17035
17036 [BZ #12515]
17037 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17038 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17039
2d6f4c5b 170402013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
17041
17042 [BZ #15605]
17043 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17044 generated by the compiler on loop optimizations.
17045 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17046 general definitions.
17047
94f2c076
JM
170482013-06-12 Joseph Myers <joseph@codesourcery.com>
17049
17050 * math/bug-nextafter.c: Include <math-tests.h>.
17051 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17052 the relevant type.
17053 * math/bug-nexttoward.c: Include <math-tests.h>.
17054 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17055 the relevant type.
17056 * math/test-misc.c: Include <math-tests.h>.
17057 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17058 the relevant type.
17059
e0e50a0a
AJ
170602013-06-12 Andreas Jaeger <aj@suse.de>
17061
17062 * po/ia.po: Update Interlingua translation from translation
17063 project.
17064
25061094
SP
170652013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17066
17067 * include/fenv.h: Include stdbool.h.
17068 (struct rm_ctx): New structure.
17069 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17070 Define macro.
17071 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17072 (SET_RESTORE_ROUNDF): Likewise.
17073 (SET_RESTORE_ROUNDL): Likewise.
17074 (SET_RESTORE_ROUND_NOEX): Likewise.
17075 (SET_RESTORE_ROUND_NOEXF): Likewise.
17076 (SET_RESTORE_ROUND_NOEXL): Likewise.
17077 (SET_RESTORE_ROUND_53BIT): Likewise.
17078 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17079 (libc_feresetround_noexf_ctx): Likewise.
17080 (libc_feresetround_noexl_ctx): Likewise.
17081 (libc_feholdsetround_53bit_ctx): Likewise.
17082 (libc_feresetround_53bit_ctx): Likewise.
17083 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17084 (libc_feholdexcept_setround_sse_ctx): New function.
17085 (libc_fesetenv_sse_ctx): Likewise.
17086 (libc_feupdateenv_sse_ctx): Likewise.
17087 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17088 (libc_feholdexcept_setround_387_ctx): Likewise.
17089 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17090 (libc_feholdsetround_387_prec_ctx): Likewise.
17091 (libc_feholdsetround_387_ctx): Likewise.
17092 (libc_feholdsetround_387_53bit_ctx): Likewise.
17093 (libc_feholdsetround_sse_ctx): Likewise.
17094 (libc_feresetround_sse_ctx): Likewise.
17095 (libc_feresetround_387_ctx): Likewise.
17096 (libc_feupdateenv_387_ctx): Likewise.
17097 (libc_feholdexcept_setroundf_ctx): Define macro.
17098 (libc_fesetenvf_ctx): Likewise.
17099 (libc_feupdateenvf_ctx): Likewise.
17100 (libc_feholdsetroundf_ctx): Likewise.
17101 (libc_feresetroundf_ctx): Likewise.
17102 (libc_feholdexcept_setround_ctx): Likewise.
17103 (libc_fesetenv_ctx): Likewise.
17104 (libc_feupdateenv_ctx): Likewise.
17105 (libc_feholdsetround_ctx): Likewise.
17106 (libc_feresetround_ctx): Likewise.
17107 (libc_feholdexcept_setroundl_ctx): Likewise.
17108 (libc_feupdateenvl_ctx): Likewise.
17109 (libc_feholdsetroundl_ctx): Likewise.
17110 (libc_feresetroundl_ctx): Likewise.
17111 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17112 (libc_feresetround_53bit_ctx): Likewise.
17113
59b30555
SP
171142013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17115
17116 * locale/iso-639.def: Convert to UTF-8.
17117
f1d73d30
JM
171182013-06-11 Joseph Myers <joseph@codesourcery.com>
17119
17120 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17121 (EXCEPTION_TESTS_double): Likewise.
17122 (EXCEPTION_TESTS_long_double): Likewise.
17123 (EXCEPTION_TESTS): Likewise.
17124 * math/libm-test.inc (test_exceptions): Only test exceptions if
17125 EXCEPTION_TESTS (FLOAT).
17126
94aca5e7
SP
171272013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17128
17129 * benchtests/Makefile (string-bench): Add strcpy_chk and
17130 stpcpy_chk.
17131 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17132 * benchtests/bench-stpcpy_chk.c: New file.
17133 * benchtests/bench-strcpy_chk-ifunc.c: New file.
17134 * benchtests/bench-strcpy_chk.c: New file.
17135 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17136 code.
17137 (do_test): Likewise.
17138
fac0c5f2
RA
171392013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17140
17141 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17142 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17143 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17144 with tabs where appropriate.
17145 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17146 dl-procinfo.h.
17147 [PPC_PLATFORM_PPC440]: Likewise.
17148 [PPC_PLATFORM_PPC464]: Likewise.
17149 [PPC_PLATFORM_PPC476]: Likewise.
17150 (_dl_string_platform): Add support for detecting ppc405, ppc440,
17151 ppc464, and ppc476 platform strings merging from ports/
17152 dl-procinfo.h.
17153
f22bc486
AS
171542013-06-11 Andreas Schwab <schwab@suse.de>
17155
17156 [BZ #14991]
17157 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17158 (from_ucs4_idx): Regenerate.
17159 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17160 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17161 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17162 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17163 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17164 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17165 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17166 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17167 from FROM_LOOP and TO_LOOP specific macros.
17168 (BODY): Handle combining characters.
17169 * iconvdata/BIG5HKSCS.irreversible: Update.
17170 * iconvdata/BIG5HKSCS.precomposed: New file.
17171 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17172 characters.
17173 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17174
c1f75dc3
SP
171752013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17176
4eacded2
SP
17177 * include/sys/time.h: Fix indentation and add copyright header.
17178
fec799f8
SP
17179 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17180 (do_test): Likewise.
17181 * string/test-memchr.c (do_one_test): Likewise.
17182 (do_test): Likewise.
17183 * string/test-memcmp.c (do_one_test): Likewise.
17184 (do_test): Likewise.
17185 * string/test-memcpy.c (do_one_test): Likewise.
17186 (do_test): Likewise.
17187 * string/test-memmem.c (do_one_test): Likewise.
17188 (do_test): Likewise.
17189 (do_random_tests): Likewise.
17190 * string/test-memmove.c (do_one_test): Likewise.
17191 (do_test): Likewise.
17192 * string/test-memset.c (do_one_test): Likewise.
17193 (do_test): Likewise.
17194 * string/test-rawmemchr.c (do_one_test): Likewise.
17195 (do_test): Likewise.
17196 * string/test-strcasecmp.c (do_one_test): Likewise.
17197 (do_test): Likewise.
17198 * string/test-strcasestr.c (do_one_test): Likewise.
17199 (do_test): Likewise.
17200 * string/test-strcat.c (do_one_test): Likewise.
17201 (do_test): Likewise.
17202 * string/test-strchr.c (do_one_test): Likewise.
17203 (do_test): Likewise.
17204 * string/test-strcmp.c (do_one_test): Likewise.
17205 (do_test): Likewise.
17206 * string/test-strcpy.c (do_one_test): Likewise.
17207 (do_test): Likewise.
17208 * string/test-string.h: Likewise.
17209 (test_init): Likewise.
17210 * string/test-strlen.c (do_one_test): Likewise.
17211 (do_test): Likewise.
17212 * string/test-strncasecmp.c (do_one_test): Likewise.
17213 (do_test): Likewise.
17214 * string/test-strncat.c (do_one_test): Likewise.
17215 (do_test): Likewise.
17216 * string/test-strncmp.c (do_one_test): Likewise.
17217 (do_test_limit): Likewise.
17218 (do_test): Likewise.
17219 * string/test-strncpy.c (do_one_test): Likewise.
17220 (do_test): Likewise.
17221 * string/test-strnlen.c (do_one_test): Likewise.
17222 (do_test): Likewise.
17223 * string/test-strpbrk.c (do_one_test): Likewise.
17224 (do_test): Likewise.
17225 * string/test-strrchr.c (do_one_test): Likewise.
17226 (do_test): Likewise.
17227 * string/test-strspn.c (do_one_test): Likewise.
17228 (do_test): Likewise.
17229 * string/test-strstr.c (do_one_test): Likewise.
17230 (do_test): Likewise.
17231
97020474
SP
17232 * benchtests/Makefile (string-bench): Add string benchmarks.
17233 * benchtests/bench-bcopy-ifunc.c: New file.
17234 * benchtests/bench-bcopy.c: New file.
17235 * benchtests/bench-bzero-ifunc.c: New file.
17236 * benchtests/bench-bzero.c: New file.
17237 * benchtests/bench-memccpy-ifunc.c: New file.
17238 * benchtests/bench-memccpy.c: New file.
17239 * benchtests/bench-memchr-ifunc.c: New file.
17240 * benchtests/bench-memchr.c: New file.
17241 * benchtests/bench-memcmp-ifunc.c: New file.
17242 * benchtests/bench-memcmp.c: New file.
17243 * benchtests/bench-memmem-ifunc.c: New file.
17244 * benchtests/bench-memmem.c: New file.
17245 * benchtests/bench-memmove-ifunc.c: New file.
17246 * benchtests/bench-memmove.c: New file.
17247 * benchtests/bench-mempcpy-ifunc.c: New file.
17248 * benchtests/bench-mempcpy.c: New file.
17249 * benchtests/bench-memset-ifunc.c: New file.
17250 * benchtests/bench-memset.c: New file.
17251 * benchtests/bench-rawmemchr-ifunc.c: New file.
17252 * benchtests/bench-rawmemchr.c: New file.
17253 * benchtests/bench-stpcpy-ifunc.c: New file.
17254 * benchtests/bench-stpcpy.c: New file.
17255 * benchtests/bench-stpncpy-ifunc.c: New file.
17256 * benchtests/bench-stpncpy.c: New file.
17257 * benchtests/bench-strcasecmp-ifunc.c: New file.
17258 * benchtests/bench-strcasecmp.c: New file.
17259 * benchtests/bench-strcasestr-ifunc.c: New file.
17260 * benchtests/bench-strcasestr.c: New file.
17261 * benchtests/bench-strcat-ifunc.c: New file.
17262 * benchtests/bench-strcat.c: New file.
17263 * benchtests/bench-strchr-ifunc.c: New file.
17264 * benchtests/bench-strchr.c: New file.
17265 * benchtests/bench-strchrnul-ifunc.c: New file.
17266 * benchtests/bench-strchrnul.c: New file.
17267 * benchtests/bench-strcmp-ifunc.c: New file.
17268 * benchtests/bench-strcmp.c: New file.
17269 * benchtests/bench-strcpy-ifunc.c: New file.
17270 * benchtests/bench-strcpy.c: New file.
17271 * benchtests/bench-strcspn-ifunc.c: New file.
17272 * benchtests/bench-strcspn.c: New file.
17273 * benchtests/bench-strlen-ifunc.c: New file.
17274 * benchtests/bench-strlen.c: New file.
17275 * benchtests/bench-strncasecmp-ifunc.c: New file.
17276 * benchtests/bench-strncasecmp.c: New file.
17277 * benchtests/bench-strncat-ifunc.c: New file.
17278 * benchtests/bench-strncat.c: New file.
17279 * benchtests/bench-strncmp-ifunc.c: New file.
17280 * benchtests/bench-strncmp.c: New file.
17281 * benchtests/bench-strncpy-ifunc.c: New file.
17282 * benchtests/bench-strncpy.c: New file.
17283 * benchtests/bench-strnlen-ifunc.c: New file.
17284 * benchtests/bench-strnlen.c: New file.
17285 * benchtests/bench-strpbrk-ifunc.c: New file.
17286 * benchtests/bench-strpbrk.c: New file.
17287 * benchtests/bench-strrchr-ifunc.c: New file.
17288 * benchtests/bench-strrchr.c: New file.
17289 * benchtests/bench-strspn-ifunc.c: New file.
17290 * benchtests/bench-strspn.c: New file.
17291 * benchtests/bench-strstr-ifunc.c: New file.
17292 * benchtests/bench-strstr.c: New file.
17293
c1f75dc3
SP
17294 * benchtests/Makefile: Disable parallel execution of targets.
17295 (string-bench): Add memcpy.
17296 (benchset): New variable to store a list of benchmark sets.
17297 (bench-func): Renamed from bench.
17298 (bench-set): New target.
17299 (bench): Depend on bench-func and bench-set.
17300 * benchtests/README: Add section on benchmark sets.
17301 * benchtests/bench-memcpy-ifunc.c: New file.
17302 * benchtests/bench-memcpy.c: New file.
17303 * benchtests/bench-string.h: New file.
17304
50fd745b
AS
173052013-06-11 Andreas Schwab <schwab@suse.de>
17306
17307 [BZ #15577]
17308 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17309 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17310 values in the triple.
17311 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17312 terminator in the group key.
17313
3ee7e9fe
AJ
173142013-06-11 Andreas Jaeger <aj@suse.de>
17315
17316 * po/zh_TW.po: Update Chinese (traditional) translation from
17317 translation project.
17318
89fb6835
SP
173192013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17320
17321 * include/time.h (__clock_gettime): Add libc_hidden_proto.
17322 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17323 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
17324 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17325 (clock_getcpuclockid): Likewise.
17326 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17327 Add weak_alias and libc_hidden_def.
17328 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17329 * rt/clock_gettime.c (clock_gettime): Rename to
17330 __clock_gettime. Add weak_alias and libc_hidden_def.
17331 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17332 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17333 __clock_nanosleep. Add weak_alias and libc_hidden_def.
17334 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17335 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17336 Likewise.
17337 * rt/clock_settime.c (clock_settime): Rename to
17338 __clock_settime. Add weak_alias and libc_hidden_def.
17339 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17340
0efa6f8b
JM
173412013-06-10 Joseph Myers <joseph@codesourcery.com>
17342
b8c61b4b
JM
17343 * mach/err_boot.sub: Remove trailing whitespace.
17344 * mach/err_ipc.sub: Likewise.
17345 * mach/err_mach.sub: Likewise.
17346
0efa6f8b
JM
17347 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17348 (ROUNDING_TESTS_double): Likewise.
17349 (ROUNDING_TESTS_long_double): Likewise.
17350 (ROUNDING_TESTS): Likewise.
17351 * math/libm-test.inc: Include <math-tests.h>.
17352 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17353 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17354 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17355 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17356
50b818bf
SP
173572013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17358
17359 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17360 of assigning.
17361
60d2f8f3
JM
173622013-06-08 Joseph Myers <joseph@codesourcery.com>
17363
4902d2c3
JM
17364 * sysdeps/gnu/errlist.awk: Do not generate space at end of
17365 otherwise empty TRANS lines.
17366 * sysdeps/gnu/errlist.c: Regenerated.
17367
60d2f8f3
JM
17368 * catgets/gencat.c (error_print): Use (void) in function
17369 definition.
17370 * crypt/crypt_util.c (__init_des): Likewise.
17371 * crypt/speeds.c (Stop): Likewise.
17372 (main): Likewise.
17373 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17374 * inet/ruserpass.c (token): Likewise.
17375 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17376 * intl/localealias.c (extend_alias_table): Likewise.
17377 * intl/plural-exp.c (init_germanic_plural): Likewise.
17378 * libio/fcloseall.c (__fcloseall): Likewise.
17379 * libio/genops.c (_IO_flush_all): Likewise.
17380 (_IO_flush_all_linebuffered): Likewise.
17381 (_IO_cleanup): Likewise.
17382 (_IO_iter_begin): Likewise.
17383 (_IO_iter_end): Likewise.
17384 (_IO_list_lock): Likewise.
17385 (_IO_list_unlock): Likewise.
17386 (_IO_list_resetlock): Likewise.
17387 * libio/getchar.c (getchar): Likewise.
17388 * libio/getchar_u.c (getchar_unlocked): Likewise.
17389 * libio/getwchar.c (getwchar): Likewise.
17390 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17391 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17392 * login/getpt.c (__getpt): Likewise.
17393 * login/tst-utmp.c (main): Likewise.
17394 * malloc/hooks.c (__malloc_check_init): Likewise.
17395 * malloc/malloc.c (__malloc_stats): Likewise.
17396 * malloc/mtrace.c (tr_break): Likewise.
17397 (mtrace): Likewise.
17398 (muntrace): Likewise.
17399 * misc/fstab.c (endfsent): Likewise.
17400 * misc/getclktck.c (__getclktck): Likewise.
17401 * misc/getdtsz.c (__getdtablesize): Likewise.
17402 * misc/gethostid.c (gethostid): Likewise.
17403 * misc/getpagesize.c (__getpagesize): Likewise.
17404 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17405 (__get_nprocs): Likewise.
17406 (__get_phys_pages): Likewise.
17407 (__get_avphys_pages): Likewise.
17408 * misc/getttyent.c (getttyent): Likewise.
17409 (setttyent): Likewise.
17410 (endttyent): Likewise.
17411 * misc/getusershell.c (getusershell): Likewise.
17412 (endusershell): Likewise.
17413 (setusershell): Likewise.
17414 (initshells): Likewise.
17415 * misc/hsearch.c (__hdestroy): Likewise.
17416 * misc/sync.c (sync): Likewise.
17417 * misc/syslog.c (closelog_internal): Likewise.
17418 (closelog): Likewise.
17419 * misc/ttyslot.c (ttyslot): Likewise.
17420 * misc/vhangup.c (vhangup): Likewise.
17421 * posix/fork.c (__fork): Likewise.
17422 * posix/getegid.c (__getegid): Likewise.
17423 * posix/geteuid.c (__geteuid): Likewise.
17424 * posix/getgid.c (__getgid): Likewise.
17425 * posix/getpid.c (__getpid): Likewise.
17426 * posix/getppid.c (__getppid): Likewise.
17427 * posix/getuid.c (__getuid): Likewise.
17428 * posix/pause.c (pause): Likewise.
17429 * posix/setpgrp.c (setpgrp): Likewise.
17430 * posix/setsid.c (__setsid): Likewise.
17431 * posix/test-vfork.c (noop): Likewise.
17432 * resolv/gethnamaddr.c (_endhtent): Likewise.
17433 (_gethtent): Likewise.
17434 (ht_endhostent): Likewise.
17435 (gethostent): Likewise.
17436 (dns_service): Likewise.
17437 * stdlib/drand48.c (drand48): Likewise.
17438 * stdlib/lrand48.c (lrand48): Likewise.
17439 * stdlib/mrand48.c (mrand48): Likewise.
17440 * stdlib/rand.c (rand): Likewise.
17441 * stdlib/random.c (__random): Likewise.
17442 * stdlib/setenv.c (clearenv): Likewise.
17443 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17444 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17445 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17446 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17447 (__get_nprocs): Likewise.
17448 (__get_phys_pages): Likewise.
17449 (__get_avphys_pages): Likewise.
17450 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17451 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17452 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17453 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17454 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17455 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17456 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17457 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17458 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17459 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17460 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17461 * sysdeps/mach/hurd/sync.c (sync): Likewise.
17462 * sysdeps/posix/clock.c (clock): Likewise.
17463 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17464 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17465 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17466 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17467 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17468 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17469 (__get_nprocs_conf): Likewise.
17470 (__get_phys_pages): Likewise.
17471 (__get_avphys_pages): Likewise.
17472 * time/clock.c (clock): Likewise.
17473 * time/tzset.c (__tzname_max): Likewise.
17474
2e09a79a
JM
174752013-06-07 Joseph Myers <joseph@codesourcery.com>
17476
17477 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17478 (__bswap_32): Do not use "register".
17479 * crypt/crypt.c (_ufc_doit_r): Likewise.
17480 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17481 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17482 * gmon/gmon.c (__monstartup): Likewise.
17483 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17484 * hurd/hurdmalloc.c (more_memory): Likewise.
17485 (malloc): Likewise.
17486 (free): Likewise.
17487 (realloc): Likewise.
17488 (malloc_fork_prepare): Likewise.
17489 (malloc_fork_parent): Likewise.
17490 (malloc_fork_child): Likewise.
17491 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17492 (_svcauth_des): Likewise.
17493 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17494 * inet/inet_net.c (inet_network): Likewise.
17495 * inet/inet_netof.c (inet_netof): Likewise.
17496 * inet/rcmd.c (__validuser2_sa): Likewise.
17497 * io/fts.c (fts_open): Likewise.
17498 (fts_load): Likewise.
17499 (fts_close): Likewise.
17500 (fts_read): Likewise.
17501 (fts_children): Likewise.
17502 (fts_build): Likewise.
17503 (fts_stat): Likewise.
17504 (fts_sort): Likewise.
17505 (fts_alloc): Likewise.
17506 (fts_lfree): Likewise.
17507 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17508 (_IO_file_xsgetn): Likewise.
17509 (_IO_file_xsgetn_mmap): Likewise.
17510 * libio/iofopncook.c (_IO_cookie_read): Likewise.
17511 (_IO_cookie_write): Likewise.
17512 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17513 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17514 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17515 * malloc/obstack.c (_obstack_begin): Likewise.
17516 (_obstack_begin_1): Likewise.
17517 (_obstack_newchunk): Likewise.
17518 (_obstack_allocated_p): Likewise.
17519 (obstack_free): Likewise.
17520 (_obstack_memory_used): Likewise.
17521 * misc/getttyent.c (getttynam): Likewise.
17522 (getttyent): Likewise.
17523 (skip): Likewise.
17524 (value): Likewise.
17525 * misc/getusershell.c (initshells): Likewise.
17526 * misc/syslog.c (__vsyslog_chk): Likewise.
17527 * misc/ttyslot.c (ttyslot): Likewise.
17528 * nis/nis_hash.c (__nis_hash): Likewise.
17529 * posix/fnmatch_loop.c (FCT): Likewise.
17530 * posix/getconf.c (print_all): Likewise.
17531 (main): Likewise.
17532 * posix/getopt.c (exchange): Likewise.
17533 * posix/glob.c (globfree): Likewise.
17534 (prefix_array): Likewise.
17535 (__glob_pattern_type): Likewise.
17536 * resolv/arpa/nameser.h (NS_GET16): Likewise.
17537 (NS_GET32): Likewise.
17538 (NS_PUT16): Likewise.
17539 (NS_PUT32): Likewise.
17540 * resolv/gethnamaddr.c (getanswer): Likewise.
17541 (gethostbyname2): Likewise.
17542 (gethostbyaddr): Likewise.
17543 (_gethtent): Likewise.
17544 (_gethtbyname2): Likewise.
17545 (_gethtbyaddr): Likewise.
17546 * resolv/ns_print.c (dst_s_get_int16): Likewise.
17547 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17548 * resolv/res_init.c (__res_vinit): Likewise.
17549 (net_mask): Likewise.
17550 * resolv/res_mkquery.c (outchar): Likewise.
17551 (PRINT): Likewise.
17552 * stdio-common/printf_fp.c (outchar): Likewise.
17553 (PRINT): Likewise.
17554 * stdio-common/printf_fphex.c (outchar): Likewise.
17555 (PRINT): Likewise.
17556 * stdio-common/printf_size.c (outchar): Likewise.
17557 (PRINT): Likewise.
17558 * stdio-common/test_rdwr.c (main): Likewise.
17559 * stdio-common/tfformat.c (matches): Likewise.
17560 * stdio-common/vfprintf.c (outchar): Likewise.
17561 (printf_unknown): Likewise.
17562 (buffered_vfprintf): Likewise.
17563 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17564 * stdio-common/xbug.c (AppendToBuffer): Likewise.
17565 (ReadFile): Likewise.
17566 * stdlib/qsort.c (SWAP): Likewise.
17567 (_quicksort): Likewise.
17568 * stdlib/setenv.c (__add_to_environ): Likewise.
17569 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17570 * stdlib/strtol_l.c (__strtol_l): Likewise.
17571 * stdlib/tst-strtod.c (main): Likewise.
17572 * stdlib/tst-strtol.c (main): Likewise.
17573 * stdlib/tst-strtoll.c (main): Likewise.
17574 * string/bits/string2.h (__strcmp_cc): Likewise.
17575 (__strcmp_cg): Likewise.
17576 (__strcspn_c1): Likewise.
17577 (__strcspn_c2): Likewise.
17578 (__strcspn_c3): Likewise.
17579 (__strspn_c1): Likewise.
17580 (__strspn_c2): Likewise.
17581 (__strspn_c3): Likewise.
17582 (__strsep_1c): Likewise.
17583 (__strsep_2c): Likewise.
17584 (__strsep_3c): Likewise.
17585 * string/memccpy.c (__memccpy): Likewise.
17586 * string/stpcpy.c (__stpcpy): Likewise.
17587 * string/strcmp.c (strcmp): Likewise.
17588 * string/strrchr.c (strrchr): Likewise.
17589 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17590 Likewise.
17591 * sysdeps/mach/hurd/getcwd.c
17592 (_hurd_canonicalize_directory_name_internal): Likewise.
17593 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17594 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17595 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17596 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17597 Likewise, in both definitions.
17598 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17599 definitions.
17600 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17601 64] (__bswap_64): Likewise.
17602 * time/test_time.c (main): Likewise.
17603 * time/tzfile.c (__tzfile_read): Likewise.
17604 (__tzfile_compute): Likewise.
17605 * time/tzset.c (__tzset_parse_tz): Likewise.
17606 (tzset_internal): Likewise.
17607 (compute_change): Likewise.
17608 * wcsmbs/wcscat.c (__wcscat): Likewise.
17609 * wcsmbs/wcschr.c (wcschr): Likewise.
17610 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17611 * wcsmbs/wcscspn.c (wcscspn): Likewise.
17612 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17613 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17614 * wcsmbs/wcsspn.c (wcsspn): Likewise.
17615 * wcsmbs/wcsstr.c (wcsstr): Likewise.
17616 * wcsmbs/wmemchr.c (wmemchr): Likewise.
17617 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17618 * wcsmbs/wmemset.c (wmemset): Likewise.
17619
9e54314b
JM
176202013-06-06 Joseph Myers <joseph@codesourcery.com>
17621
17622 * scripts/config.guess: Update to version 2013-05-16.
17623 * scripts/config.sub: Update to version 2013-04-24.
17624 * scripts/install-sh: Update to version 2011-11-20.07.
17625 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17626 * scripts/move-if-change: Update to version 2012-01-06 07:23.
17627
350635a5
OB
176282013-06-06 Ondřej Bílka <neleai@seznam.cz>
17629
17630 * debug/fgetws_u_chk.c: Fix leading whitespaces.
17631 * elf/sln.c: Likewise.
17632 * hurd/hurd/ioctl.h: Likewise.
17633 * hurd/hurdmalloc.c: Likewise.
17634 * hurd/xattr.c: Likewise.
17635 * include/shlib-compat.h: Likewise.
17636 * inet/ruserpass.c: Likewise.
17637 * libio/iofgets_u.c: Likewise.
17638 * libio/iofgetws_u.c: Likewise.
17639 * locale/programs/ld-identification.c: Likewise.
17640 * locale/programs/ld-time.c: Likewise.
17641 * mach/msg-destroy.c: Likewise.
17642 * nss/nss_files/files-netgrp.c: Likewise.
17643 * resolv/res_data.c: Likewise.
17644 * soft-fp/op-1.h: Likewise.
17645 * soft-fp/op-2.h: Likewise.
17646 * soft-fp/op-4.h: Likewise.
17647 * soft-fp/op-common.h: Likewise.
17648 * stdio-common/printf_fphex.c: Likewise.
17649 * stdlib/strtod_l.c: Likewise.
17650 * sunrpc/rpc/clnt.h: Likewise.
17651 * sysdeps/generic/framestate.c: Likewise.
17652 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17653 * sysdeps/i386/bsd-setjmp.S: Likewise.
17654 * sysdeps/i386/__longjmp.S: Likewise.
17655 * sysdeps/i386/setjmp.S: Likewise.
17656 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17657 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17658 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17659 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17660 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17661 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17662 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17663 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17664 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17665 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17666 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17667 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17668 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17669 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17670 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17671 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17672 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17673 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17674 * sysdeps/ieee754/support.c: Likewise.
17675 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17676 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17677 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17678 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17679 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17680 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17681 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17682 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17683 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17684 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17685 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17686 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17687 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17688 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17689 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17690 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17691 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17693
44a988af
OB
176942013-06-05 Ondřej Bílka <neleai@seznam.cz>
17695
25506f09 17696 * posix/transbug.c: Remove executable mode.
44a988af 17697
9c84384c
JM
176982013-06-05 Joseph Myers <joseph@codesourcery.com>
17699
17700 * crypt/speeds.c: Remove trailing whitespace.
17701 * dlfcn/default.c: Likewise.
17702 * elf/ifuncdep2.c: Likewise.
17703 * elf/ifuncmain1.c: Likewise.
17704 * elf/ifuncmain1vis.c: Likewise.
17705 * elf/testobj.h: Likewise.
17706 * elf/tst-stackguard1.c: Likewise.
17707 * gmon/sys/gmon.h: Likewise.
17708 * hurd/hurdmsg.c: Likewise.
17709 * hurd/new-fd.c: Likewise.
17710 * hurd/ports-get.c: Likewise.
17711 * iconvdata/ibm1008_420.c: Likewise.
17712 * inet/tst-getni1.c: Likewise.
17713 * inet/tst-getni2.c: Likewise.
17714 * libio/ioungetc.c: Likewise.
17715 * libio/wfiledoalloc.c: Likewise.
17716 * manual/libm-err-tab.pl: Likewise.
17717 * math/w_dremf.c: Likewise.
17718 * misc/ftruncate.c: Likewise.
17719 * posix/bug-glob2.c: Likewise.
17720 * posix/tst-pcre.c: Likewise.
17721 * posix/wait4.c: Likewise.
17722 * resolv/README: Likewise.
17723 * resolv/res_debug.h: Likewise.
17724 * resolv/tst-inet_ntop.c: Likewise.
17725 * setjmp/bug269-setjmp.c: Likewise.
17726 * soft-fp/extended.h: Likewise.
17727 * soft-fp/op-1.h: Likewise.
17728 * soft-fp/op-2.h: Likewise.
17729 * soft-fp/op-4.h: Likewise.
17730 * soft-fp/op-8.h: Likewise.
17731 * soft-fp/testit.c: Likewise.
17732 * stdio-common/bug16.c: Likewise.
17733 * stdlib/random.c: Likewise.
17734 * sunrpc/rpcsvc/rquota.x: Likewise.
17735 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17736 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17737 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17738 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17739 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17740 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17741 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17742 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17743 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17744 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17745 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17746 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17747 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17748 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17749 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17750 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17751 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17752 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17753 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17754 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17755 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17756 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17757 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17758 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17759 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17760 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17761 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17762 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17763 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17764 * sysdeps/ieee754/s_lib_version.c: Likewise.
17765 * sysdeps/mach/hurd/check_fds.c: Likewise.
17766 * sysdeps/mach/hurd/getsockname.c: Likewise.
17767 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17768 * sysdeps/mach/hurd/recvfrom.c: Likewise.
17769 * sysdeps/powerpc/bits/link.h: Likewise.
17770 * sysdeps/powerpc/dl-procinfo.c: Likewise.
17771 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17772 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17773 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17774 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17775 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17776 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17777 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17778 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17779 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17780 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17781 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17782 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17783 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17784 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17785 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17786 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17787 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17788 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17789 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17790 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17791 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17792 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17793 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17794 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17795 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17796 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17797 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17798 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17799 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17800 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17801 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17802 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17803 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17804 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17805 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17806 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17807 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17808 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17809 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17810 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17811 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17812 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17813 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17814 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17815 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17816 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17817 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17818 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17819 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17820 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17821 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17822 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17823 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17824 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17825 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17826 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17827 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17828 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17829 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17830 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17831 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17832 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17833 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17834 * sysdeps/powerpc/sysdep.h: Likewise.
17835 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17836 * sysdeps/s390/s390-64/sub_n.S: Likewise.
17837 * sysdeps/sh/dl-trampoline.S: Likewise.
17838 * sysdeps/sh/memset.S: Likewise.
17839 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17840 * sysdeps/sh/strlen.S: Likewise.
17841 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17842 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17843 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17844 * sysdeps/sparc/sparc32/rem.S: Likewise.
17845 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17846 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17847 * sysdeps/sparc/sparc32/strchr.S: Likewise.
17848 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17849 * sysdeps/sparc/sparc32/urem.S: Likewise.
17850 * sysdeps/sparc/sparc64/add_n.S: Likewise.
17851 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17852 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17853 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17854 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17855 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17856 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17857 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17858 * sysdeps/unix/bsd/times.c: Likewise.
17859 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17860 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17864 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17865 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17866 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17867 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17868 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17869 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17870 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17871 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17872 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17873 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17874 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17875 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17876 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17877 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17878 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17879 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17880 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17881 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17882 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17883 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17884 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17885 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17886 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17887 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17888 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17889 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17890 * sysdeps/x86_64/strcspn.S: Likewise.
17891
869378a5
RA
178922013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17893
17894 * locale/C-translit.h: Revert #include <stdint.h> because this is a
17895 generated file. Regenerate properly from gen-translit.pl.
17896 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
17897 locale/C-translit.h.
17898
840e2943
AS
178992013-06-05 Andreas Schwab <schwab@suse.de>
17900
17901 [BZ #15100]
17902 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17903 week as 6 instead of -1.
17904 * time/tst-strptime.c (day_tests): Add test case.
17905
4c60cb0c
SP
179062013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17907
17908 * sysdeps/generic/math_private.h
17909 (libc_feholdexcept_setround_53bit): Replace with
17910 libc_feholdsetround_53bit.
17911 (libc_feupdateenv_53bit): Replace with
17912 libc_feresetround_53bit.
17913 (SET_RESTORE_ROUND_53BIT): Adjust.
17914
d180203e
SP
179152013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17916
96df079a
SP
17917 * string/test-strchrnul.c: Add copyright header.
17918
d180203e
SP
17919 * posix/tst-getaddrinfo4.c: Increase test timeout.
17920
8b0ccb2d
CD
179212013-06-03 Carlos O'Donell <carlos@redhat.com>
17922
17923 [BZ #15536]
17924 * math/libm-test.inc (MAX_EXP): Remove
17925 (MIN_EXP): Define.
17926 (ulp): Use MIN_EXP - MANT_DIG.
17927 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17928
3b3c4d40
CD
179292013-05-31 Carlos O'Donell <carlos@redhat.com>
17930
17931 * po/be.po: Revert last change.
17932 * po/zh_CN.po: Likewise.
17933 * po/header.pot: Likewise.
17934
fab7ce3f
JM
179352013-05-31 Joseph Myers <joseph@codesourcery.com>
17936
17937 * Makefile ($(common-objpfx)linkobj/libc.so): Define
17938 link-libc-deps to empty as target-specific variable.
17939 * Makerules (link-libc-args): New variable.
17940 (libc-for-link): Likewise.
17941 (link-libc-deps): Likewise.
17942 (lib%.so): Depend on $(link-libc-deps). Link with
17943 $(link-libc-args).
17944 (build-module): Link with $(link-libc-args).
17945 (build-module-asneeded): Likewise.
17946 (build-module-helper-objlist): Filter out $(link-libc-deps) from
17947 list of objects.
17948 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17949 target-specific variable.
17950 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17951 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17952 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17953 libc.
17954 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17955 libc and ld.so.
17956 ($(objpfx)libpcprofile.so): Likewise.
17957 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17958 libc_nonshared.a.
17959 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17960 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17961 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17962 $(link-libc-deps).
17963 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17964 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17965 * login/Makefile ($(objpfx)libutil.so): Likewise.
17966 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17967 * math/Makefile ($(objpfx)libm.so): Likewise.
17968 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17969 $(objpfx)libnsl.so): Define libc-for-link as target-specific
17970 variable instead of depending directly on libc.
17971 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17972 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17973 $(link-libc-deps).
17974 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17975 libc.
17976 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17977 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17978 ($(objpfx)libanl.so): Likewise.
17979 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17980 ld.so.
17981 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17982 $(link-libc-deps).
17983 * sysdeps/i386/fpu/Makefile: Remove file.
17984 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17985 ($(objpfx)libm.so): Remove dependency on ld.so.
17986
eca5920c
PF
179872013-05-30 Patsy Franklin <pfrankli@redhat.com>
17988
17989 [BZ # 15553]
17990 * nis/yp_xdr.c (XDRMAXNAME): Define.
17991 (XDRMAXRECORD): Define.
17992 (xdr_domainname): Use XDRMAXNAME.
17993 (xdr_mapname): Likewise.
17994 (xdr_peername): Likewise.
17995 (xdr_keydat): Use XDRMAXRECORD.
17996 (xdr_valdat): Likewise.
17997
179982013-05-30 Jeff Law <law@redhat.com>
96945714
JL
17999
18000 [BZ #14256]
18001 * manual/errno.texi (ESTALE): Update to account for more than
18002 just NFS file systems.
18003 * sysdeps/gnu/errlist.c: Regenerated.
18004
b9375348
SP
180052013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18006
18007 [BZ #15465]
18008 * elf/Makefile (tests): Add tst-null-argv.
18009 (modules-names): Add tst-null-argv-lib.
18010 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18011 (tst-null-argv-ENV): Set environment for tst-null-argv.
18012 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18013 (RTLD_PROGNAME): New macro.
18014 * elf/tst-null-argv.c: New test case.
18015 * elf/tst-null-argv-lib.c: Library for test case.
18016 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18017 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18018 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18019 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18020 * elf/dl-init.c (call_init): Likewise.
18021 (_dl_init): Likewise.
18022 * elf/dl-load.c (print_search_path): Likewise.
18023 (_dl_map_object): Likewise.
18024 * elf/dl-lookup.c (do_lookup_x): Likewise.
18025 (add_dependency): Likewise.
18026 (_dl_lookup_symbol_x): Likewise.
18027 (_dl_debug_bindings): Likewise.
18028 * elf/dl-open.c (_dl_show_scope): Likewise.
18029 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18030 * elf/dl-version.c (match_symbol): Likewise.
18031 (_dl_check_map_versions): Likewise.
18032 * elf/rtld.c (dl_main): Likewise.
18033 (print_unresolved): Use RTLD_PROGNAME.
18034 (print_missing_version): Likewise.
18035 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18036 (elf_machine_rela): Likewise.
18037 * sysdeps/powerpc/powerpc32/dl-machine.c
18038 (__process_machine_rela): Likewise.
18039 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18040 Likewise.
18041 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18042 Likewise.
18043 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18044 Likewise.
18045 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18046 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18047 Likewise.
18048 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18049 Likewise.
18050 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18051
8a9f20c8
CD
180522013-05-28 Carlos O'Donell <carlos@redhat.com>
18053
18054 * po/be.po: Add descriptive title.
18055 * po/zh_CN.po: Likewise.
18056 * po/header.pot: Likewise.
18057
0e60d68e
MF
180582013-05-28 Mike Frysinger <vapier@gentoo.org>
18059
18060 * locale/programs/locarchive.c (create_archive): Inlucde fname in
18061 error message.
18062 (enlarge_archive): Likewise.
18063
56b672e9
BN
180642013-05-28 Ben North <ben@redfrontdoor.org>
18065
18066 * manual/arith.texi (frexp): It is the magnitude of the return
18067 value which lies in [0.5, 1), not the return value itself.
18068
5e056687
AZ
180692013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18070
18071 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18072
2b66ef5d
TS
180732013-05-26 Thomas Schwinge <thomas@codesourcery.com>
18074
528c2405
TS
18075 * stdio-common/bug26.c (main): Correct fscanf template.
18076
07b4c13d
TS
18077 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18078 declare _dl_skip_args.
18079
ec9dd97c
TS
18080 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18081 Don't declare.
18082
2b66ef5d
TS
18083 * manual/platform.texi: Add missing @end deftypefun.
18084
4f8dfe27
JM
180852013-05-24 Joseph Myers <joseph@codesourcery.com>
18086
0323d086
JM
18087 [BZ #15529]
18088 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18089 bit of mantissa of 2^16382.
18090 * math/libm-test.inc (hypot_test_data): Add more tests.
18091
dd4259b9
JM
18092 * math/libm-test.inc: Add drem and pow10 to list of tested
18093 functions.
18094 (pow10_test): New function.
18095 (drem_test): Likewise.
18096 (drem_test_tonearest): Likewise.
18097 (drem_test_towardzero): Likewise.
18098 (drem_test_downward): Likewise.
18099 (drem_test_upward): Likewise.
18100 (main): Call the new functions.
18101
4f8dfe27
JM
18102 * math/libm-test.inc (finite_test_data): Remove.
18103 (finite_test): Run tests from isfinite_test_data.
18104 (gamma_test_data): Remove.
18105 (gamma_test): Run tests from lgamma_test_data.
18106 * sysdeps/i386/fpu/libm-test-ulps: Update.
18107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18108
d116b7c4
AZ
181092013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18110
18111 * manual/platform.texi: Add PowerPC PPR function set documentation.
18112 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18113 implementation.
18114
e96e3767
CD
181152013-05-24 Carlos O'Donell <carlos@redhat.com>
18116
18117 * math/libm-test.inc (MAX_EXP): Define.
18118 (ULPDIFF): Define.
18119 (ulp): New function.
18120 (check_float_internal): Use ULPDIFF.
18121 (cpow_test): Disable failing test.
18122 (check_ulp): Test ulp() implemetnation.
18123 (main): Call check_ulp before starting tests.
18124
b679a606
JM
181252013-05-24 Joseph Myers <joseph@codesourcery.com>
18126
e8bdba36
JM
18127 * math/gen-libm-test.pl (generate_testfile): Do not handle
18128 START_DATA and END_DATA.
18129 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18130 END_DATA.
18131 (acos_tonearest_test_data): Likewise.
18132 (acos_towardzero_test_data): Likewise.
18133 (acos_downward_test_data): Likewise.
18134 (acos_upward_test_data): Likewise.
18135 (acosh_test_data): Likewise.
18136 (asin_test_data): Likewise.
18137 (asin_tonearest_test_data): Likewise.
18138 (asin_towardzero_test_data): Likewise.
18139 (asin_downward_test_data): Likewise.
18140 (asin_upward_test_data): Likewise.
18141 (asinh_test_data): Likewise.
18142 (atan_test_data): Likewise.
18143 (atanh_test_data): Likewise.
18144 (atan2_test_data): Likewise.
18145 (cabs_test_data): Likewise.
18146 (cacos_test_data): Likewise.
18147 (cacosh_test_data): Likewise.
18148 (carg_test_data): Likewise.
18149 (casin_test_data): Likewise.
18150 (casinh_test_data): Likewise.
18151 (catan_test_data): Likewise.
18152 (catanh_test_data): Likewise.
18153 (cbrt_test_data): Likewise.
18154 (ccos_test_data): Likewise.
18155 (ccosh_test_data): Likewise.
18156 (ceil_test_data): Likewise.
18157 (cexp_test_data): Likewise.
18158 (cimag_test_data): Likewise.
18159 (clog_test_data): Likewise.
18160 (clog10_test_data): Likewise.
18161 (conj_test_data): Likewise.
18162 (copysign_test_data): Likewise.
18163 (cos_test_data): Likewise.
18164 (cos_tonearest_test_data): Likewise.
18165 (cos_towardzero_test_data): Likewise.
18166 (cos_downward_test_data): Likewise.
18167 (cos_upward_test_data): Likewise.
18168 (cosh_test_data): Likewise.
18169 (cosh_tonearest_test_data): Likewise.
18170 (cosh_towardzero_test_data): Likewise.
18171 (cosh_downward_test_data): Likewise.
18172 (cosh_upward_test_data): Likewise.
18173 (cpow_test_data): Likewise.
18174 (cproj_test_data): Likewise.
18175 (creal_test_data): Likewise.
18176 (csin_test_data): Likewise.
18177 (csinh_test_data): Likewise.
18178 (csqrt_test_data): Likewise.
18179 (ctan_test_data): Likewise.
18180 (ctan_tonearest_test_data): Likewise.
18181 (ctan_towardzero_test_data): Likewise.
18182 (ctan_downward_test_data): Likewise.
18183 (ctan_upward_test_data): Likewise.
18184 (ctanh_test_data): Likewise.
18185 (ctanh_tonearest_test_data): Likewise.
18186 (ctanh_towardzero_test_data): Likewise.
18187 (ctanh_downward_test_data): Likewise.
18188 (ctanh_upward_test_data): Likewise.
18189 (erf_test_data): Likewise.
18190 (erfc_test_data): Likewise.
18191 (exp_test_data): Likewise.
18192 (exp_tonearest_test_data): Likewise.
18193 (exp_towardzero_test_data): Likewise.
18194 (exp_downward_test_data): Likewise.
18195 (exp_upward_test_data): Likewise.
18196 (exp10_test_data): Likewise.
18197 (exp2_test_data): Likewise.
18198 (expm1_test_data): Likewise.
18199 (fabs_test_data): Likewise.
18200 (fdim_test_data): Likewise.
18201 (finite_test_data): Likewise.
18202 (floor_test_data): Likewise.
18203 (fma_test_data): Likewise.
18204 (fma_towardzero_test_data): Likewise.
18205 (fma_downward_test_data): Likewise.
18206 (fma_upward_test_data): Likewise.
18207 (fmax_test_data): Likewise.
18208 (fmin_test_data): Likewise.
18209 (fmod_test_data): Likewise.
18210 (fpclassify_test_data): Likewise.
18211 (frexp_test_data): Likewise.
18212 (gamma_test_data): Likewise.
18213 (hypot_test_data): Likewise.
18214 (ilogb_test_data): Likewise.
18215 (isfinite_test_data): Likewise.
18216 (isgreater_test_data): Likewise.
18217 (isgreaterequal_test_data): Likewise.
18218 (isinf_test_data): Likewise.
18219 (isless_test_data): Likewise.
18220 (islessequal_test_data): Likewise.
18221 (islessgreater_test_data): Likewise.
18222 (isnan_test_data): Likewise.
18223 (isnormal_test_data): Likewise.
18224 (issignaling_test_data): Likewise.
18225 (isunordered_test_data): Likewise.
18226 (j0_test_data): Likewise.
18227 (j1_test_data): Likewise.
18228 (jn_test_data): Likewise.
18229 (ldexp_test_data): Likewise.
18230 (lgamma_test_data): Likewise.
18231 (lrint_test_data): Likewise.
18232 (lrint_tonearest_test_data): Likewise.
18233 (lrint_towardzero_test_data): Likewise.
18234 (lrint_downward_test_data): Likewise.
18235 (lrint_upward_test_data): Likewise.
18236 (llrint_test_data): Likewise.
18237 (llrint_tonearest_test_data): Likewise.
18238 (llrint_towardzero_test_data): Likewise.
18239 (llrint_downward_test_data): Likewise.
18240 (llrint_upward_test_data): Likewise.
18241 (log_test_data): Likewise.
18242 (log10_test_data): Likewise.
18243 (log1p_test_data): Likewise.
18244 (log2_test_data): Likewise.
18245 (logb_test_data): Likewise.
18246 (logb_downward_test_data): Likewise.
18247 (lround_test_data): Likewise.
18248 (llround_test_data): Likewise.
18249 (modf_test_data): Likewise.
18250 (nearbyint_test_data): Likewise.
18251 (nextafter_test_data): Likewise.
18252 (nexttoward_test_data): Likewise.
18253 (pow_test_data): Likewise.
18254 (pow_tonearest_test_data): Likewise.
18255 (pow_towardzero_test_data): Likewise.
18256 (pow_downward_test_data): Likewise.
18257 (pow_upward_test_data): Likewise.
18258 (remainder_test_data): Likewise.
18259 (remainder_tonearest_test_data): Likewise.
18260 (remainder_towardzero_test_data): Likewise.
18261 (remainder_downward_test_data): Likewise.
18262 (remainder_upward_test_data): Likewise.
18263 (remquo_test_data): Likewise.
18264 (rint_test_data): Likewise.
18265 (rint_tonearest_test_data): Likewise.
18266 (rint_towardzero_test_data): Likewise.
18267 (rint_downward_test_data): Likewise.
18268 (rint_upward_test_data): Likewise.
18269 (round_test_data): Likewise.
18270 (scalb_test_data): Likewise.
18271 (scalbn_test_data): Likewise.
18272 (scalbln_test_data): Likewise.
18273 (signbit_test_data): Likewise.
18274 (sin_test_data): Likewise.
18275 (sin_tonearest_test_data): Likewise.
18276 (sin_towardzero_test_data): Likewise.
18277 (sin_downward_test_data): Likewise.
18278 (sin_upward_test_data): Likewise.
18279 (sincos_test_data): Likewise.
18280 (sinh_test_data): Likewise.
18281 (sinh_tonearest_test_data): Likewise.
18282 (sinh_towardzero_test_data): Likewise.
18283 (sinh_downward_test_data): Likewise.
18284 (sinh_upward_test_data): Likewise.
18285 (sqrt_test_data): Likewise.
18286 (tan_test_data): Likewise.
18287 (tan_tonearest_test_data): Likewise.
18288 (tan_towardzero_test_data): Likewise.
18289 (tan_downward_test_data): Likewise.
18290 (tan_upward_test_data): Likewise.
18291 (tanh_test_data): Likewise.
18292 (tgamma_test_data): Likewise.
18293 (trunc_test_data): Likewise.
18294 (y0_test_data): Likewise.
18295 (y1_test_data): Likewise.
18296 (yn_test_data): Likewise.
18297 (significand_test_data): Likewise.
18298
b679a606
JM
18299 * math/gen-libm-test.pl (@functions): Remove variable.
18300 (generate_testfile): Don't handle START and END lines.
18301 * math/libm-test.inc (START): New macro.
18302 (END): Likewise.
18303 (END_COMPLEX): Likewise.
18304 (acos_test): Use END macro without arguments.
18305 (acos_test_tonearest): Likewise.
18306 (acos_test_towardzero): Likewise.
18307 (acos_test_downward): Likewise.
18308 (acos_test_upward): Likewise.
18309 (acosh_test): Likewise.
18310 (asin_test): Likewise.
18311 (asin_test_tonearest): Likewise.
18312 (asin_test_towardzero): Likewise.
18313 (asin_test_downward): Likewise.
18314 (asin_test_upward): Likewise.
18315 (asinh_test): Likewise.
18316 (atan_test): Likewise.
18317 (atanh_test): Likewise.
18318 (atan2_test): Likewise.
18319 (cabs_test): Likewise.
18320 (cacos_test): Use END_COMPLEX macro without arguments.
18321 (cacosh_test): Likewise.
18322 (carg_test): Use END macro without arguments.
18323 (casin_test): Use END_COMPLEX macro without arguments.
18324 (casinh_test): Likewise.
18325 (catan_test): Likewise.
18326 (catanh_test): Likewise.
18327 (cbrt_test): Use END macro without arguments.
18328 (ccos_test): Use END_COMPLEX macro without arguments.
18329 (ccosh_test): Likewise.
18330 (ceil_test): Use END macro without arguments.
18331 (cexp_test): Use END_COMPLEX macro without arguments.
18332 (cimag_test): Use END macro without arguments.
18333 (clog_test): Use END_COMPLEX macro without arguments.
18334 (clog10_test): Likewise.
18335 (conj_test): Likewise.
18336 (copysign_test): Use END macro without arguments.
18337 (cos_test): Likewise.
18338 (cos_test_tonearest): Likewise.
18339 (cos_test_towardzero): Likewise.
18340 (cos_test_downward): Likewise.
18341 (cos_test_upward): Likewise.
18342 (cosh_test): Likewise.
18343 (cosh_test_tonearest): Likewise.
18344 (cosh_test_towardzero): Likewise.
18345 (cosh_test_downward): Likewise.
18346 (cosh_test_upward): Likewise.
18347 (cpow_test): Use END_COMPLEX macro without arguments.
18348 (cproj_test): Likewise.
18349 (creal_test): Use END macro without arguments.
18350 (csin_test): Use END_COMPLEX macro without arguments.
18351 (csinh_test): Likewise.
18352 (csqrt_test): Likewise.
18353 (ctan_test): Likewise.
18354 (ctan_test_tonearest): Likewise.
18355 (ctan_test_towardzero): Likewise.
18356 (ctan_test_downward): Likewise.
18357 (ctan_test_upward): Likewise.
18358 (ctanh_test): Likewise.
18359 (ctanh_test_tonearest): Likewise.
18360 (ctanh_test_towardzero): Likewise.
18361 (ctanh_test_downward): Likewise.
18362 (ctanh_test_upward): Likewise.
18363 (erf_test): Use END macro without arguments.
18364 (erfc_test): Likewise.
18365 (exp_test): Likewise.
18366 (exp_test_tonearest): Likewise.
18367 (exp_test_towardzero): Likewise.
18368 (exp_test_downward): Likewise.
18369 (exp_test_upward): Likewise.
18370 (exp10_test): Likewise.
18371 (exp2_test): Likewise.
18372 (expm1_test): Likewise.
18373 (fabs_test): Likewise.
18374 (fdim_test): Likewise.
18375 (finite_test): Likewise.
18376 (floor_test): Likewise.
18377 (fma_test): Likewise.
18378 (fma_test_towardzero): Likewise.
18379 (fma_test_downward): Likewise.
18380 (fma_test_upward): Likewise.
18381 (fmax_test): Likewise.
18382 (fmin_test): Likewise.
18383 (fmod_test): Likewise.
18384 (fpclassify_test): Likewise.
18385 (frexp_test): Likewise.
18386 (gamma_test): Likewise.
18387 (hypot_test): Likewise.
18388 (ilogb_test): Likewise.
18389 (isfinite_test): Likewise.
18390 (isgreater_test): Likewise.
18391 (isgreaterequal_test): Likewise.
18392 (isinf_test): Likewise.
18393 (isless_test): Likewise.
18394 (islessequal_test): Likewise.
18395 (islessgreater_test): Likewise.
18396 (isnan_test): Likewise.
18397 (isnormal_test): Likewise.
18398 (issignaling_test): Likewise.
18399 (isunordered_test): Likewise.
18400 (j0_test): Likewise.
18401 (j1_test): Likewise.
18402 (jn_test): Likewise.
18403 (ldexp_test): Likewise.
18404 (lgamma_test): Likewise.
18405 (lrint_test): Likewise.
18406 (lrint_test_tonearest): Likewise.
18407 (lrint_test_towardzero): Likewise.
18408 (lrint_test_downward): Likewise.
18409 (lrint_test_upward): Likewise.
18410 (llrint_test): Likewise.
18411 (llrint_test_tonearest): Likewise.
18412 (llrint_test_towardzero): Likewise.
18413 (llrint_test_downward): Likewise.
18414 (llrint_test_upward): Likewise.
18415 (log_test): Likewise.
18416 (log10_test): Likewise.
18417 (log1p_test): Likewise.
18418 (log2_test): Likewise.
18419 (logb_test): Likewise.
18420 (logb_test_downward): Likewise.
18421 (lround_test): Likewise.
18422 (llround_test): Likewise.
18423 (modf_test): Likewise.
18424 (nearbyint_test): Likewise.
18425 (nextafter_test): Likewise.
18426 (nexttoward_test): Likewise.
18427 (pow_test): Likewise.
18428 (pow_test_tonearest): Likewise.
18429 (pow_test_towardzero): Likewise.
18430 (pow_test_downward): Likewise.
18431 (pow_test_upward): Likewise.
18432 (remainder_test): Likewise.
18433 (remainder_test_tonearest): Likewise.
18434 (remainder_test_towardzero): Likewise.
18435 (remainder_test_downward): Likewise.
18436 (remainder_test_upward): Likewise.
18437 (remquo_test): Likewise.
18438 (rint_test): Likewise.
18439 (rint_test_tonearest): Likewise.
18440 (rint_test_towardzero): Likewise.
18441 (rint_test_downward): Likewise.
18442 (rint_test_upward): Likewise.
18443 (round_test): Likewise.
18444 (scalb_test): Likewise.
18445 (scalbn_test): Likewise.
18446 (scalbln_test): Likewise.
18447 (signbit_test): Likewise.
18448 (sin_test): Likewise.
18449 (sin_test_tonearest): Likewise.
18450 (sin_test_towardzero): Likewise.
18451 (sin_test_downward): Likewise.
18452 (sin_test_upward): Likewise.
18453 (sincos_test): Likewise.
18454 (sinh_test): Likewise.
18455 (sinh_test_tonearest): Likewise.
18456 (sinh_test_towardzero): Likewise.
18457 (sinh_test_downward): Likewise.
18458 (sinh_test_upward): Likewise.
18459 (sqrt_test): Likewise.
18460 (tan_test): Likewise.
18461 (tan_test_tonearest): Likewise.
18462 (tan_test_towardzero): Likewise.
18463 (tan_test_downward): Likewise.
18464 (tan_test_upward): Likewise.
18465 (tanh_test): Likewise.
18466 (tgamma_test): Likewise.
18467 (trunc_test): Likewise.
18468 (y0_test): Likewise.
18469 (y1_test): Likewise.
18470 (yn_test): Likewise.
18471 (significand_test): Likewise.
18472
bae143d2
OB
184732013-05-24 Ondřej Bílka <neleai@seznam.cz>
18474
18475 [BZ #15381]
18476 * libio/genops.c (_IO_no_init): Initialize wide struct info.
18477
9323d39b
EM
184782013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
18479
d4ea44a0 18480 [BZ #14894]
9323d39b
EM
18481 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18482 __ppc_mdoio and __ppc_mdoom.
18483 * manual/platform.texi: Document new functions __ppc_yield,
18484 __ppc_mdoio and __ppc_mdoom.
18485
13e23af7
CD
184862013-05-22 Carlos O'Donell <carlos@redhat.com>
18487
18488 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18489 (main): Mention "tls" pseudo-hwcap is legacy.
18490 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18491
351fe550
JM
184922013-05-22 Joseph Myers <joseph@codesourcery.com>
18493
18494 * math/gen-libm-test.pl (parse_args): Output only string of
18495 arguments as text for test name, not full call or descriptions of
18496 tests for extra outputs.
18497 (generate_testfile): Do not pass function name to parse_args.
18498 Generate this_func variable from START.
18499 * math/libm-test.inc (struct test_f_f_data): Rename test_name
18500 field to arg_str.
18501 (struct test_ff_f_data): Likewise.
18502 (test_ff_f_data_nexttoward): Likewise.
18503 (struct test_fi_f_data): Likewise.
18504 (struct test_fl_f_data): Likewise.
18505 (struct test_if_f_data): Likewise.
18506 (struct test_fff_f_data): Likewise.
18507 (struct test_c_f_data): Likewise.
18508 (struct test_f_f1_data): Likewise. Remove field extra_name.
18509 (struct test_fF_f1_data): Likewise.
18510 (struct test_ffI_f1_data): Likewise.
18511 (struct test_c_c_data): Rename test_name field to arg_str.
18512 (struct test_cc_c_data): Likewise.
18513 (struct test_f_i_data): Likewise.
18514 (struct test_ff_i_data): Likewise.
18515 (struct test_f_l_data): Likewise.
18516 (struct test_f_L_data): Likewise.
18517 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
18518 and extra2_name.
18519 (COMMON_TEST_SETUP): New macro.
18520 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18521 (COMMON_TEST_CLEANUP): Likewise.
18522 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18523 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
18524 macros.
18525 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18526 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
18527 macros.
18528 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18529 (RUN_TEST_fff_f): Take argument string. Call new setup and
18530 cleanup macros.
18531 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18532 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
18533 macros.
18534 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18535 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
18536 macros.
18537 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18538 (RUN_TEST_fF_f1): Take argument string. Call new setup and
18539 cleanup macros.
18540 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18541 (RUN_TEST_fI_f1): Take argument string. Call new setup and
18542 cleanup macros.
18543 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18544 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
18545 cleanup macros.
18546 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18547 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
18548 macros.
18549 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18550 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
18551 macros.
18552 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18553 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
18554 macros.
18555 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18556 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
18557 cleanup macros.
18558 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18559 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
18560 cleanup macros.
18561 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18562 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
18563 macros.
18564 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18565 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
18566 cleanup macros.
18567 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18568 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
18569 macros.
18570 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18571 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
18572 macros.
18573 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18574 (RUN_TEST_fFF_11): Take argument string. Call new setup and
18575 cleanup macros.
18576 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18577
85118d4d
EBM
185782013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18579
18580 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18581 to _sifields.sigfault.
18582 (si_addr_lsb): Define new macro.
18583 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18584 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18585 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18586
7a44c18f
CD
185872013-05-03 Carlos O'Donell <carlos at redhat.com>
18588
18589 [BZ #15441]
18590 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18591 returns -1.
18592 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18593 null return -1.
18594 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18595 loading the domain.
18596
b50a7181
JM
185972013-05-22 Joseph Myers <joseph@codesourcery.com>
18598
18599 * math/gen-libm-test.pl (parse_args): Do not include expected
18600 result in test name.
18601 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18602 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18603 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18604 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18605 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18607
051063c8
SP
186082013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18609
3ce9e010
SP
18610 * benchtests/Makefile: Sort function entries.
18611
051063c8
SP
18612 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18613 tanh, asinh, acosh, atanh.
18614 * benchtests/acos-inputs: New file.
18615 * benchtests/acosh-inputs: New file.
18616 * benchtests/asin-inputs: New file.
18617 * benchtests/asinh-inputs: New file.
18618 * benchtests/atanh-inputs: New file.
18619 * benchtests/cosh-inputs: New file.
18620 * benchtests/log-inputs: New file.
18621 * benchtests/sinh-inputs: New file.
18622 * benchtests/tanh-inputs: New file.
18623
47c22455
DL
186242013-05-21 Dmitry V. Levin <ldv@altlinux.org>
18625
18626 [BZ #15339]
18627 * posix/tst-getaddrinfo4.c: New test.
18628 * posix/Makefile (tests): Add it.
18629
3d04f5db
SP
186302013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18631
18632 [BZ #15339]
18633 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18634 when no services were used.
18635 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18636 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18637
d5dd6189
AS
186382013-05-21 Andreas Schwab <schwab@suse.de>
18639
18640 [BZ #15014]
18641 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18642 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18643 successful.
18644 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18645 redundant variable declarations and reallocation of buffer when
18646 parsing as IPv6 address. Always set NSS status when called from
18647 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
18648 buffer too small. Correct computation of needed size.
18649 * nss/Makefile (tests): Add test-digits-dots.
18650 * nss/test-digits-dots.c: New test.
18651
fef94eab
SP
186522013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18653
18654 * benchtests/Makefile: Remove instructions for adding
18655 benchmark tests.
18656 * benchtests/README: New file to explain how to execute and
18657 enhance the benchmark tests.
18658
e39adf43
AS
186592013-05-21 Andreas Schwab <schwab@suse.de>
18660
18661 [BZ #15493]
18662 * setjmp/Makefile (tests): Add tst-sigsetjmp.
18663 * setjmp/tst-sigsetjmp.c: New test.
18664
b2b671b6
OB
186652013-05-20 Ondřej Bílka <neleai@seznam.cz>
18666
18667 * sysdeps/x86_64/memset.S (memset): New implementation.
18668 (__bzero): Likewise.
18669 (__memset_tail): New function.
18670
2d48b41c
OB
186712013-05-20 Ondřej Bílka <neleai@seznam.cz>
18672
18673 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18674 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18675 __memcpy_sse2_unaligned ifunc selection.
18676 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18677 Add memcpy-sse2-unaligned.S.
18678 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18679 Add: __memcpy_sse2_unaligned.
18680
f16cc3eb
JM
186812013-05-19 Joseph Myers <joseph@codesourcery.com>
18682
3e694268
JM
18683 [BZ #15490]
18684 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18685 math_force_eval before restoring floating-point envrionment.
18686 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18687 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18688 Likewise.
18689 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18690 <math_private.h>.
18691 (__nearbyintl): Use math_force_eval before restoring
18692 floating-point environment.
18693 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18694
db62a907
JM
18695 * math/gen-libm-test.pl (special_functions): Remove.
18696 (parse_args): Don't handle TEST_extra. Handle functions with no
18697 return value.
18698 * math/libm-test.inc (struct test_sincos_data): Replace with
18699 struct test_fFF_11_data.
18700 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18701 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18702 (sincos_test_data): Change element type to struct
18703 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
18704 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18705 RUN_TEST_LOOP_sincos.
18706 * math/README.libm-test: Don't mention special handling of
18707 individual functions.
18708 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18709 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18710 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18711 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18712 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18714
f16cc3eb
JM
18715 * math/gen-libm-test.pl (get_variable): Remove function.
18716 (parse_args): Don't show pointer parameters to call in test
18717 names. Use "extra output N" in test names for extra outputs
18718 rather than naming variables.
18719
3779b5b6
JM
187202013-05-18 Joseph Myers <joseph@codesourcery.com>
18721
2ee094ff
JM
18722 [BZ #15488]
18723 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18724 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18725 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18726 double tests.
18727 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18728 disable.
18729 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18730 check_long_double.
18731
3779b5b6
JM
18732 * math/gen-libm-test.pl (@tests): Remove variable.
18733 ($count): Likewise.
18734 (new_test): Remove function.
18735 (show_exceptions): New function.
18736 (special_functions): Use show_exceptions instead of new_test.
18737 (parse_args): Likewise.
18738 (generate_testfile): Pass only function name in generated call to
18739 print_max_error or print_complex_max_error.
18740 (get_ulps): Do not handle complex tests specially.
18741 (output_test): Rename to ...
18742 (get_all_ulps_for_test): ... this. Return a string rather than
18743 printing to a file. Require ulps to be present.
18744 (output_ulps): Generate arrays rather than #defines.
18745 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18746 (struct ulp_data): New type.
18747 (BUILD_COMPLEX_ULP): Remove macro.
18748 (compare_ulp_data): New function.
18749 (find_ulps): Likewise.
18750 (find_test_ulps): Likewise.
18751 (find_function_ulps): Likewise.
18752 (find_complex_function_ulps): Likewise.
18753 (print_max_error): Determine allowed ulps using
18754 find_function_ulps.
18755 (print_complex_max_error): Determine allowed ulps using
18756 find_complex_function_ulps.
18757 (check_float_internal): Determine max ulps using find_test_ulps.
18758 (check_float): Do not take max_ulp parameter. Update call to
18759 check_float_internal.
18760 (check_complex): Likewise.
18761 (check_int): Do not take max_ulp parameter.
18762 (check_long): Likewise.
18763 (check_bool): Likewise.
18764 (check_longlong): Likewise.
18765 (struct test_f_f_data): Remove max_ulp field.
18766 (struct test_ff_f_data): Likewise.
18767 (struct test_ff_f_data_nexttoward): Likewise.
18768 (struct test_fi_f_data): Likewise.
18769 (struct test_fl_f_data): Likewise.
18770 (struct test_if_f_data): Likewise.
18771 (struct test_fff_f_data): Likewise.
18772 (struct test_c_f_data): Likewise.
18773 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18774 (struct test_fF_f1_data): Likewise.
18775 (struct test_ffI_f1_data): Likewise.
18776 (struct test_c_c_data): Remove max_ulp field.
18777 (struct test_cc_c_data): Likewise.
18778 (struct test_f_i_data): Likewise.
18779 (struct test_ff_i_data): Likewise.
18780 (struct test_f_l_data): Likewise.
18781 (struct test_f_L_data): Likewise.
18782 (struct test_sincos_data): Likewise.
18783 (RUN_TEST_f_f): Do not handle ulps.
18784 (RUN_TEST_LOOP_f_f): Likewise.
18785 (RUN_TEST_2_f): Likewise.
18786 (RUN_TEST_LOOP_2_f): Likewise.
18787 (RUN_TEST_fff_f): Likewise.
18788 (RUN_TEST_LOOP_fff_f): Likewise.
18789 (RUN_TEST_c_f): Likewise.
18790 (RUN_TEST_LOOP_c_f): Likewise.
18791 (RUN_TEST_f_f1): Likewise.
18792 (RUN_TEST_LOOP_f_f1): Likewise.
18793 (RUN_TEST_fF_f1): Likewise.
18794 (RUN_TEST_LOOP_fF_f1): Likewise.
18795 (RUN_TEST_fI_f1): Likewise.
18796 (RUN_TEST_LOOP_fI_f1): Likewise.
18797 (RUN_TEST_ffI_f1): Likewise.
18798 (RUN_TEST_LOOP_ffI_f1): Likewise.
18799 (RUN_TEST_c_c): Likewise.
18800 (RUN_TEST_LOOP_c_c): Likewise.
18801 (RUN_TEST_cc_c): Likewise.
18802 (RUN_TEST_LOOP_cc_c): Likewise.
18803 (RUN_TEST_f_i): Likewise.
18804 (RUN_TEST_LOOP_f_i): Likewise.
18805 (RUN_TEST_f_i_tg): Likewise.
18806 (RUN_TEST_LOOP_f_i_tg): Likewise.
18807 (RUN_TEST_ff_i_tg): Likewise.
18808 (RUN_TEST_LOOP_ff_i_tg): Likewise.
18809 (RUN_TEST_f_b): Likewise.
18810 (RUN_TEST_LOOP_f_b): Likewise.
18811 (RUN_TEST_f_b_tg): Likewise.
18812 (RUN_TEST_LOOP_f_b_tg): Likewise.
18813 (RUN_TEST_f_l): Likewise.
18814 (RUN_TEST_LOOP_f_l): Likewise.
18815 (RUN_TEST_f_L): Likewise.
18816 (RUN_TEST_LOOP_f_L): Likewise.
18817 (RUN_TEST_sincos): Likewise.
18818 (RUN_TEST_LOOP_sincos): Likewise.
18819
8269107f
JM
188202013-05-17 Joseph Myers <joseph@codesourcery.com>
18821
bb38759d
JM
18822 [BZ #15480]
18823 [BZ #15485]
18824 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18825 main case of finite arguments, set rounding mode to FE_TONEAREST
18826 and discard exceptions.
18827 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18828 exceptions.
18829 (remainder_tonearest_test_data): New variable.
18830 (remainder_test_tonearest): New function.
18831 (remainder_towardzero_test_data): New variable.
18832 (remainder_test_towardzero): New function.
18833 (remainder_downward_test_data): New variable.
18834 (remainder_test_downward): New function.
18835 (remainder_upward_test_data): New variable.
18836 (remainder_test_upward): New function.
18837 (main): Call the new test functions.
18838
a00bdcf0
JM
18839 * math/libm-test.inc (struct test_f_f1_data): Remove field
18840 extra_init.
18841 (struct test_fF_f1_data): Likewise.
18842 (struct test_ffI_f1_data): Likewise.
18843 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
18844 based on value of EXTRA_EXPECTED.
18845 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18846 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
18847 EXTRA_VAR based on value of EXTRA_EXPECTED.
18848 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18849 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
18850 EXTRA_VAR based on value of EXTRA_EXPECTED.
18851 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18852 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
18853 EXTRA_VAR based on value of EXTRA_EXPECTED.
18854 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18855 * math/gen-libm-test.pl (parse_args): Don't output initializers
18856 for extra output values.
18857
de407f79
JM
18858 * math/libm-test.inc (check_int): Expect result to be exactly
18859 equal to expected value and do not handle ulps.
18860 (check_long): Likewise.
18861 (check_longlong): Likewise.
18862
8269107f
JM
18863 * math/libm-test.inc (ceil_test_data): Test for "inexact"
18864 exceptions.
18865 (cimag_test_data): Likewise.
18866 (conj_test_data): Likewise.
18867 (copysign_test_data): Likewise.
18868 (cproj_test_data): Likewise.
18869 (creal_test_data): Likewise.
18870 (fabs_test_data): Likewise.
18871 (fdim_test_data): Likewise.
18872 (finite_test_data): Likewise.
18873 (floor_test_data): Likewise.
18874 (fmax_test_data): Likewise.
18875 (fmin_test_data): Likewise.
18876 (fmod_test_data): Likewise.
18877 (fpclassify_test_data): Likewise.
18878 (frexp_test_data): Likewise.
18879 (ilogb_test_data): Likewise.
18880 (isfinite_test_data): Likewise.
18881 (isgreater_test_data): Likewise.
18882 (isgreaterequal_test_data): Likewise.
18883 (isinf_test_data): Likewise.
18884 (isless_test_data): Likewise.
18885 (islessequal_test_data): Likewise.
18886 (islessgreater_test_data): Likewise.
18887 (isnan_test_data): Likewise.
18888 (isnormal_test_data): Likewise.
18889 (issignaling_test_data): Likewise.
18890 (isunordered_test_data): Likewise.
18891 (ldexp_test_data): Likewise.
18892 (lrint_test_data): Likewise.
18893 (lrint_test_data) [TEST_FLOAT]: Disable one test.
18894 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18895 (lrint_tonearest_test_data): Test for "inexact" exceptions.
18896 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18897 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18898 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18899 test input.
18900 (lrint_towardzero_test_data): Test for "inexact" exceptions.
18901 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18902 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18903 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18904 that test input.
18905 (lrint_downward_test_data): Test for "inexact" exceptions.
18906 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18907 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18908 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18909 test input.
18910 (lrint_upward_test_data): Test for "inexact" exceptions.
18911 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18912 test input.
18913 (llrint_test_data): Test for "inexact" exceptions.
18914 (llrint_test_data) [TEST_FLOAT]: Disable one test.
18915 (llrint_tonearest_test_data): Test for "inexact" exceptions.
18916 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18917 (llrint_towardzero_test_data): Test for "inexact" exceptions.
18918 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18919 (llrint_downward_test_data): Test for "inexact" exceptions.
18920 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18921 (llrint_upward_test_data): Test for "inexact" exceptions.
18922 (logb_test_data): Likewise.
18923 (logb_downward_test_data): Likewise.
18924 (nextafter_test_data): Likewise.
18925 (nexttoward_test_data): Likewise.
18926 (remainder_test_data): Likewise.
18927 (remquo_test_data): Likewise.
18928 (scalbn_test_data): Likewise.
18929 (scalbln_test_data): Likewise.
18930 (signbit_test_data): Likewise.
18931 (sqrt_test_data): Likewise.
18932 (significand_test_data): Likewise.
18933
48a18de1
SP
189342013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18935
18936 [BZ #15424]
18937 * benchtests/bench-modf.c (struct args): Mark arg0 as
18938 volatile.
18939 * scripts/bench.pl: Mark members of struct args as volatile.
18940
13d3b41a
AZ
189412013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18942
68191c1d 18943 [BZ # 15497]
13d3b41a
AZ
18944 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18945 negative infinity on POWER6 or lower.
18946 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18947
2848b105
MR
189482013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
18949
18950 [BZ #15442]
18951 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18952 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18953 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18954 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18955 (_FP_SETQNAN): New macro.
18956 (_FP_SETQNAN_SEMIRAW): Likewise.
18957 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18958 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18959 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18960 (FP_EXTEND): Use _FP_FRAC_SNANP.
18961 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18962 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18963 into account.
18964 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18965 New macro.
18966 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18967 Likewise.
18968
323e5cb7
JM
189692013-05-16 Joseph Myers <joseph@codesourcery.com>
18970
c58b274f
JM
18971 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18972 with DIVIDE_BY_ZERO_EXCEPTION.
18973 (gamma_test_data): Likewise.
18974 (lgamma_test_data): Likewise.
18975 (log_test_data): Likewise.
18976 (log10_test_data): Likewise.
18977 (log2_test_data): Likewise.
18978 (tgamma_test_data): Likewise.
18979
0ab34904
JM
18980 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18981 (acos_test_tonearest): Likewise.
18982 (acos_test_towardzero): Likewise.
18983 (acos_test_downward): Likewise.
18984 (acos_test_upward): Likewise.
18985 (acosh_test): Likewise.
18986 (asin_test): Likewise.
18987 (asin_test_tonearest): Likewise.
18988 (asin_test_towardzero): Likewise.
18989 (asin_test_downward): Likewise.
18990 (asin_test_upward): Likewise.
18991 (asinh_test): Likewise.
18992 (atan_test): Likewise.
18993 (atanh_test): Likewise.
18994 (atan2_test): Likewise.
18995 (cabs_test): Likewise.
18996 (cacos_test): Likewise.
18997 (cacosh_test): Likewise.
18998 (casin_test): Likewise.
18999 (casinh_test): Likewise.
19000 (catan_test): Likewise.
19001 (catanh_test): Likewise.
19002 (cbrt_test): Likewise.
19003 (ccos_test): Likewise.
19004 (ccosh_test): Likewise.
19005 (cexp_test): Likewise.
19006 (clog_test): Likewise.
19007 (clog10_test): Likewise.
19008 (cos_test): Likewise.
19009 (cos_test_tonearest): Likewise.
19010 (cos_test_towardzero): Likewise.
19011 (cos_test_downward): Likewise.
19012 (cos_test_upward): Likewise.
19013 (cosh_test): Likewise.
19014 (cosh_test_tonearest): Likewise.
19015 (cosh_test_towardzero): Likewise.
19016 (cosh_test_downward): Likewise.
19017 (cosh_test_upward): Likewise.
19018 (cpow_test): Likewise.
19019 (csin_test): Likewise.
19020 (csinh_test): Likewise.
19021 (csqrt_test): Likewise.
19022 (ctan_test): Likewise.
19023 (ctan_test_tonearest): Likewise.
19024 (ctan_test_towardzero): Likewise.
19025 (ctan_test_downward): Likewise.
19026 (ctan_test_upward): Likewise.
19027 (ctanh_test): Likewise.
19028 (ctanh_test_tonearest): Likewise.
19029 (ctanh_test_towardzero): Likewise.
19030 (ctanh_test_downward): Likewise.
19031 (ctanh_test_upward): Likewise.
19032 (erf_test): Likewise.
19033 (erfc_test): Likewise.
19034 (exp_test): Likewise.
19035 (exp_test_tonearest): Likewise.
19036 (exp_test_towardzero): Likewise.
19037 (exp_test_downward): Likewise.
19038 (exp_test_upward): Likewise.
19039 (exp10_test): Likewise.
19040 (exp2_test): Likewise.
19041 (expm1_test): Likewise.
19042 (fmod_test): Likewise.
19043 (gamma_test): Likewise.
19044 (hypot_test): Likewise.
19045 (j0_test): Likewise.
19046 (j1_test): Likewise.
19047 (jn_test): Likewise.
19048 (lgamma_test): Likewise.
19049 (log_test): Likewise.
19050 (log10_test): Likewise.
19051 (log1p_test): Likewise.
19052 (log2_test): Likewise.
19053 (logb_test_downward): Likewise.
19054 (pow_test): Likewise.
19055 (pow_test_tonearest): Likewise.
19056 (pow_test_towardzero): Likewise.
19057 (pow_test_downward): Likewise.
19058 (pow_test_upward): Likewise.
19059 (remainder_test): Likewise.
19060 (remquo_test): Likewise.
19061 (sin_test): Likewise.
19062 (sin_test_tonearest): Likewise.
19063 (sin_test_towardzero): Likewise.
19064 (sin_test_downward): Likewise.
19065 (sin_test_upward): Likewise.
19066 (sincos_test): Likewise.
19067 (sinh_test): Likewise.
19068 (sinh_test_tonearest): Likewise.
19069 (sinh_test_towardzero): Likewise.
19070 (sinh_test_downward): Likewise.
19071 (sinh_test_upward): Likewise.
19072 (sqrt_test): Likewise.
19073 (tan_test): Likewise.
19074 (tan_test_tonearest): Likewise.
19075 (tan_test_towardzero): Likewise.
19076 (tan_test_downward): Likewise.
19077 (tan_test_upward): Likewise.
19078 (tanh_test): Likewise.
19079 (tgamma_test): Likewise.
19080 (y0_test): Likewise.
19081 (y1_test): Likewise.
19082 (yn_test): Likewise.
19083
323e5cb7
JM
19084 * math/gen-libm-test.pl (adjust_arg): Remove function.
19085 (special_function): Remove argument $in_func. Only handle
19086 generating output for tables of tests, not inside functions.
19087 (parse_args): Likewise.
19088 (generate_testfile): Remove variable $in_func. Update call to
19089 parse_args.
19090 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19091 (MINUS_ZERO_INIT): Rename macro to minus_zero.
19092 (PLUS_INFTY_INIT): Rename macro to plus_infty.
19093 (MINUS_INFTY_INIT): Rename macro to minus_infty.
19094 (QNAN_VALUE_INIT): Rename macro to qnan_value.
19095 (MAX_VALUE_INIT): Rename macro to max_value.
19096 (MIN_VALUE_INIT): Rename macro to min_value.
19097 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19098 (plus_zero): Remove variable.
19099 (minus_zero): Likewise.
19100 (plus_infty): Likewise.
19101 (minus_infty): Likewise.
19102 (qnan_value): Likewise.
19103 (max_value): Likewise.
19104 (min_value): Likewise.
19105 (min_subnorm_value): Likewise.
19106
e054f494
RA
191072013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19108
19109 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19110 uint64_t or uint32_t usage.
19111 * crypt/sha256-block.c: Likewise.
19112 * crypt/sha256-crypt.c: Likewise.
19113 * crypt/sha256.c: Likewise.
19114 * crypt/sha512-block.c: Likewise.
19115 * crypt/sha512-crypt.c: Likewise.
19116 * crypt/sha512.c: Likewise.
19117 * debug/backtrace-tst.c: Likewise.
19118 * debug/pcprofiledump.c: Likewise.
19119 * elf/cache.c: Likewise.
19120 * elf/dl-cache.c: Likewise.
19121 * elf/dl-misc.c: Likewise.
19122 * elf/dl-profile.c: Likewise.
19123 * elf/dl-support.c: Likewise.
19124 * elf/ldconfig.c: Likewise.
19125 * elf/sprof.c: Likewise.
19126 * iconv/dummy-repertoire.c: Likewise.
19127 * iconv/iconv_charmap.c: Likewise.
19128 * iconv/skeleton.c: Likewise.
19129 * iconvdata/8bit-generic.c: Likewise.
19130 * iconvdata/cp737.h: Likewise.
19131 * iconvdata/cp775.h: Likewise.
19132 * iconvdata/ibm1008.h: Likewise.
19133 * iconvdata/ibm1025.h: Likewise.
19134 * iconvdata/ibm1046.h: Likewise.
19135 * iconvdata/ibm1097.h: Likewise.
19136 * iconvdata/ibm1112.h: Likewise.
19137 * iconvdata/ibm1122.h: Likewise.
19138 * iconvdata/ibm1123.h: Likewise.
19139 * iconvdata/ibm1124.h: Likewise.
19140 * iconvdata/ibm1129.h: Likewise.
19141 * iconvdata/ibm1130.h: Likewise.
19142 * iconvdata/ibm1132.h: Likewise.
19143 * iconvdata/ibm1133.h: Likewise.
19144 * iconvdata/ibm1137.h: Likewise.
19145 * iconvdata/ibm1140.h: Likewise.
19146 * iconvdata/ibm1141.h: Likewise.
19147 * iconvdata/ibm1142.h: Likewise.
19148 * iconvdata/ibm1143.h: Likewise.
19149 * iconvdata/ibm1144.h: Likewise.
19150 * iconvdata/ibm1145.h: Likewise.
19151 * iconvdata/ibm1146.h: Likewise.
19152 * iconvdata/ibm1147.h: Likewise.
19153 * iconvdata/ibm1148.h: Likewise.
19154 * iconvdata/ibm1149.h: Likewise.
19155 * iconvdata/ibm1153.h: Likewise.
19156 * iconvdata/ibm1154.h: Likewise.
19157 * iconvdata/ibm1155.h: Likewise.
19158 * iconvdata/ibm1156.h: Likewise.
19159 * iconvdata/ibm1157.h: Likewise.
19160 * iconvdata/ibm1158.h: Likewise.
19161 * iconvdata/ibm1160.h: Likewise.
19162 * iconvdata/ibm1161.h: Likewise.
19163 * iconvdata/ibm1162.h: Likewise.
19164 * iconvdata/ibm1163.h: Likewise.
19165 * iconvdata/ibm1164.h: Likewise.
19166 * iconvdata/ibm1166.h: Likewise.
19167 * iconvdata/ibm1167.h: Likewise.
19168 * iconvdata/ibm12712.h: Likewise.
19169 * iconvdata/ibm1390.h: Likewise.
19170 * iconvdata/ibm1399.h: Likewise.
19171 * iconvdata/ibm16804.h: Likewise.
19172 * iconvdata/ibm4517.h: Likewise.
19173 * iconvdata/ibm4899.h: Likewise.
19174 * iconvdata/ibm4909.h: Likewise.
19175 * iconvdata/ibm4971.h: Likewise.
19176 * iconvdata/ibm5347.h: Likewise.
19177 * iconvdata/ibm803.h: Likewise.
19178 * iconvdata/ibm856.h: Likewise.
19179 * iconvdata/ibm901.h: Likewise.
19180 * iconvdata/ibm902.h: Likewise.
19181 * iconvdata/ibm9030.h: Likewise.
19182 * iconvdata/ibm9066.h: Likewise.
19183 * iconvdata/ibm921.h: Likewise.
19184 * iconvdata/ibm922.h: Likewise.
19185 * iconvdata/ibm9448.h: Likewise.
19186 * iconvdata/isiri-3342.h: Likewise.
19187 * iconvdata/jis0201.h: Likewise.
19188 * include/link.h: Likewise.
19189 * include/netdb.h: Likewise.
19190 * inet/check_native.c: Likewise.
19191 * inet/check_pf.c: Likewise.
19192 * inet/getipv4sourcefilter.c: Likewise.
19193 * inet/getnameinfo.c: Likewise.
19194 * inet/getsourcefilter.c: Likewise.
19195 * inet/htonl.c: Likewise.
19196 * inet/setipv4sourcefilter.c: Likewise.
19197 * inet/setsourcefilter.c: Likewise.
19198 * inet/test-inet6_opt.c: Likewise.
19199 * inet/tst-network.c: Likewise.
19200 * locale/C-collate.c: Likewise.
19201 * locale/C-ctype.c: Likewise.
19202 * locale/C-time.c: Likewise.
19203 * locale/C-translit.h: Likewise.
19204 * locale/loadarchive.c: Likewise.
19205 * locale/programs/3level.h: Likewise.
19206 * locale/programs/charmap.c: Likewise.
19207 * locale/programs/charmap.h: Likewise.
19208 * locale/programs/ld-address.c: Likewise.
19209 * locale/programs/ld-collate.c: Likewise.
19210 * locale/programs/ld-ctype.c: Likewise.
19211 * locale/programs/ld-identification.c: Likewise.
19212 * locale/programs/ld-measurement.c: Likewise.
19213 * locale/programs/ld-messages.c: Likewise.
19214 * locale/programs/ld-monetary.c: Likewise.
19215 * locale/programs/ld-name.c: Likewise.
19216 * locale/programs/ld-numeric.c: Likewise.
19217 * locale/programs/ld-paper.c: Likewise.
19218 * locale/programs/ld-telephone.c: Likewise.
19219 * locale/programs/ld-time.c: Likewise.
19220 * locale/programs/linereader.c: Likewise.
19221 * locale/programs/locale.c: Likewise.
19222 * locale/programs/locarchive.c: Likewise.
19223 * locale/programs/locfile.h: Likewise.
19224 * locale/programs/repertoire.c: Likewise.
19225 * locale/programs/simple-hash.c: Likewise.
19226 * locale/programs/simple-hash.h: Likewise.
19227 * malloc/memusage.c: Likewise.
19228 * malloc/memusagestat.c: Likewise.
19229 * nis/nis_defaults.c: Likewise.
19230 * nis/nis_hash.c: Likewise.
19231 * nis/nis_print.c: Likewise.
19232 * nis/nis_xdr.c: Likewise.
19233 * nscd/connections.c: Likewise.
19234 * nscd/hstcache.c: Likewise.
19235 * nscd/nscd_gethst_r.c: Likewise.
19236 * nscd/nscd_getserv_r.c: Likewise.
19237 * nscd/nscd_helper.c: Likewise.
19238 * nscd/servicescache.c: Likewise.
19239 * nss/makedb.c: Likewise.
19240 * nss/nss_db/db-XXX.c: Likewise.
19241 * nss/nss_db/db-initgroups.c: Likewise.
19242 * nss/nss_db/db-netgrp.c: Likewise.
19243 * nss/nss_files/files-network.c: Likewise.
19244 * nss/nss_files/files-parse.c: Likewise.
19245 * posix/bug-regex5.c: Likewise.
19246 * posix/fnmatch_loop.c: Likewise.
19247 * posix/regcomp.c: Likewise.
19248 * posix/regexec.c: Likewise.
19249 * posix/tst-rfc3484-2.c: Likewise.
19250 * posix/tst-rfc3484-3.c: Likewise.
19251 * posix/tst-rfc3484.c: Likewise.
19252 * resolv/nss_dns/dns-canon.c: Likewise.
19253 * resolv/nss_dns/dns-network.c: Likewise.
19254 * resolv/res_init.c: Likewise.
19255 * resolv/res_mkquery.c: Likewise.
19256 * resolv/tst-aton.c: Likewise.
19257 * stdlib/cxa_atexit.c: Likewise.
19258 * stdlib/cxa_finalize.c: Likewise.
19259 * stdlib/gen-fpioconst.c: Likewise.
19260 * stdlib/strtol_l.c: Likewise.
19261 * string/tst-endian.c: Likewise.
19262 * sunrpc/auth_des.c: Likewise.
19263 * sunrpc/clnt_udp.c: Likewise.
19264 * sunrpc/rtime.c: Likewise.
19265 * sunrpc/svcauth_des.c: Likewise.
19266 * sunrpc/xdr.c: Likewise.
19267 * sunrpc/xdr_intXX_t.c: Likewise.
19268 * sunrpc/xdr_rec.c: Likewise.
19269 * sysdeps/generic/ldconfig.h: Likewise.
19270 * sysdeps/generic/ldsodefs.h: Likewise.
19271 * sysdeps/generic/memusage.h: Likewise.
19272 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19273 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19274 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19275 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19276 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19277 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19278 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19279 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19280 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19281 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19282 * sysdeps/posix/getaddrinfo.c: Likewise.
19283 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19284 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19285 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19286 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19287 * sysdeps/powerpc/test-gettimebase.c: Likewise.
19288 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19289 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19290 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19291 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19292 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19293 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19294 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19295 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19296 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19297 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19298 * sysdeps/x86_64/dl-tls.h: Likewise.
19299 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19300 * time/alt_digit.c: Likewise.
19301 * time/era.c: Likewise.
19302 * wcsmbs/tst-c16c32-1.c: Likewise.
19303
8c75f674
JM
193042013-05-16 Joseph Myers <joseph@codesourcery.com>
19305
19306 * math/libm-test.inc (struct test_sincos_data): New type.
19307 (RUN_TEST_LOOP_sincos): New macro.
19308 (sincos_test_data): New variable.
19309 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19310
e6e49e59
RH
193112013-05-16 Richard Henderson <rth@redhat.com>
19312
19313 * math/atest-exp2.c (LIMB64): New macro.
19314 (CONSTSZ): New macro.
19315 (mp_exp1, mp_exp_m1, mp_log2): New variables.
19316 (hexdig): Move ...
19317 (print_mpn_fp): ... to function scope.
19318 (read_mpn_hex): Remove.
19319 (get_log2): Remove.
19320 (exp2_mpn): Use mp_log2.
19321 (main): Use mp_exp1.
19322
15c7c18d
JM
193232013-05-16 Joseph Myers <joseph@codesourcery.com>
19324
105a07df
JM
19325 * math/libm-test.inc: Remove comment about not testing "inexact"
19326 exceptions.
19327 (INEXACT_EXCEPTION): New macro.
19328 (NO_INEXACT_EXCEPTION): Likewise.
19329 (INVALID_EXCEPTION_OK): Update value.
19330 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19331 (OVERFLOW_EXCEPTION_OK): Likewise.
19332 (UNDERFLOW_EXCEPTION_OK): Likewise.
19333 (IGNORE_ZERO_INF_SIGN): Likewise.
19334 (ERRNO_UNCHANGED): Likewise.
19335 (ERRNO_EDOM): Likewise.
19336 (ERRNO_ERANGE): Likewise.
19337 (test_exceptions): Handle testing "inexact" exceptions.
19338 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19339 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19340 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19341 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19342 INEXACT_EXCEPTION.
19343 (rint_towardzero_test_data): Likewise.
19344 (rint_downward_test_data): Likewise.
19345 (rint_upward_test_data): Likewise.
19346
e9eee333
JM
19347 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19348 with OVERFLOW_EXCEPTION.
19349 (exp10_test_data): Likewise.
19350 (exp2_test_data): Likewise.
19351 (expm1_test_data): Likewise.
19352 (lgamma_test_data): Likewise.
19353 (pow_test_data): Likewise.
19354 (tgamma_test_data): Likewise.
19355 (yn_test_data): Remove duplicate test of overflow.
19356
1c38ff73
JM
19357 * math/libm-test.inc (struct test_cc_c_data): New type.
19358 (RUN_TEST_LOOP_cc_c): New macro.
19359 (cpow_test_data): New variable.
19360 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19361
15c7c18d
JM
19362 * math/libm-test.inc (struct test_f_L_data): New type.
19363 (RUN_TEST_LOOP_f_L): New macro.
19364 (llrint_test_data): New variable.
19365 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19366 (llrint_tonearest_test_data): New variable.
19367 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19368 (llrint_towardzero_test_data): New variable.
19369 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19370 (llrint_downward_test_data): New variable.
19371 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19372 (llrint_upward_test_data): New variable.
19373 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19374 (llround_test_data): New variable.
19375 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19376
f137ff13
PC
193772013-05-13 Peter Collingbourne <pcc@google.com>
19378
19379 * math/atest-exp2.c (get_log2): Remove const attribute.
19380
3608cb24
JM
193812013-05-15 Joseph Myers <joseph@codesourcery.com>
19382
19383 * math/libm-test.inc (struct test_f_l_data): New type.
19384 (RUN_TEST_LOOP_f_l): New macro.
19385 (lrint_test_data): New variable.
19386 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19387 (lrint_tonearest_test_data): New variable.
19388 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19389 (lrint_towardzero_test_data): New variable.
19390 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19391 (lrint_downward_test_data): New variable.
19392 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19393 (lrint_upward_test_data): New variable.
19394 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19395 (lround_test_data): New variable.
19396 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19397
39b1f617
PC
193982013-05-15 Peter Collingbourne <pcc@google.com>
19399
1deff3dc
PC
19400 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19401 (EXTRACT_WORDS64) Use where appropriate.
19402 (INSERT_WORDS64) Likewise.
19403
791f3ba0
PC
19404 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19405 constraints with x constraints.
19406 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19407
39b1f617
PC
19408 * malloc/obstack.c (_obstack_compat): Add initializer.
19409
12fba011
EM
194102013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
19411
19412 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19413 si_trapno and add si_addr_lsb to _sifields.sigfault.
19414 (si_trapno): Remove macro.
19415 (si_addr_lsb): Define new macro.
19416 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19417
d369f531
JM
194182013-05-15 Joseph Myers <joseph@codesourcery.com>
19419
b861c6c4
JM
19420 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19421 instead of TEST_f_l.
19422 (llrint_test_tonearest): Likewise.
19423 (llrint_test_towardzero): Likewise.
19424 (llrint_test_downward): Likewise.
19425 (llrint_test_upward): Likewise.
19426 (llround_test): Likewise.
19427
7abeee12
JM
19428 * math/libm-test.inc (struct test_f_i_data): Add comment.
19429 (RUN_TEST_LOOP_f_b): New macro.
19430 (RUN_TEST_LOOP_f_b_tg): Likewise.
19431 (finite_test_data): New variable.
19432 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19433 (isfinite_test_data): New variable.
19434 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19435 (isinf_test_data): New variable.
19436 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19437 (isnan_test_data): New variable.
19438 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19439 (isnormal_test_data): New variable.
19440 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19441 (issignaling_test_data): New variable.
19442 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19443 (signbit_test_data): New variable.
19444 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19445
cbe8c4d3
JM
19446 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19447 with INVALID_EXCEPTION.
19448 (acosh_test_data): Likewise.
19449 (asin_test_data): Likewise.
19450 (atanh_test_data): Likewise.
19451 (fmod_test_data): Likewise.
19452 (log_test_data): Likewise.
19453 (log10_test_data): Likewise.
19454 (log2_test_data): Likewise.
19455 (pow_test_data): Likewise.
19456 (sqrt_test_data): Likewise.
19457 (y0_test_data): Likewise.
19458 (y1_test_data): Likewise.
19459 (yn_test_data): Likewise.
19460
5575c0e5
JM
19461 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19462 function contents.
19463
d369f531
JM
19464 * math/libm-test.inc (struct test_ff_i_data): New type.
19465 (RUN_TEST_LOOP_ff_i_tg): New macro.
19466 (isgreater_test_data): New variable.
19467 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19468 (isgreaterequal_test_data): New variable.
19469 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19470 (isless_test_data): New variable.
19471 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19472 (islessequal_test_data): New variable.
19473 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19474 (islessgreater_test_data): New variable.
19475 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19476 (isunordered_test_data): New variable.
19477 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19478
781fd748
DM
194792013-05-14 David S. Miller <davem@davemloft.net>
19480
19481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19482
87aa21df
JM
194832013-05-14 Joseph Myers <joseph@codesourcery.com>
19484
5e908270
JM
19485 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19486
f71172e5
JM
19487 * math/libm-test.inc (struct test_fF_f1_data): Change type of
19488 extra_test to int.
19489 (struct test_f_i_data): Change type of max_ulp to int.
19490
8cfa635a
JM
19491 * math/libm-test.inc (test_ffI_f1_data): New type.
19492 (RUN_TEST_LOOP_ffI_f1): New macro.
19493 (remquo_test_data): New variable.
19494 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19495
2bcb36b2
JM
19496 * setjmp/tst-setjmp-fp.c: New file.
19497 * setjmp/Makefile (tests): Add tst-setjmp-fp.
19498 (link-libm): New variable.
19499 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19500
acbd839a
JM
19501 * math/libm-test.inc (struct test_f_i_data): New type.
19502 (RUN_TEST_LOOP_f_i): New macro.
19503 (RUN_TEST_LOOP_f_i_tg): Likewise.
19504 (fpclassify_test_data): New variable.
19505 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19506 (ilogb_test_data): New variable.
19507 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19508
e414d745
JM
19509 * math/libm-test.inc (scalbln_test): Correct function name in END
19510 call.
19511
d9c2a0fd
JM
19512 * math/libm-test.inc (struct test_f_f1_data): Add comment.
19513 (RUN_TEST_LOOP_fI_f1): New macro.
19514 (frexp_test_data): New variable.
19515 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19516
9dc9095d
JM
19517 * math/libm-test.inc (struct test_fF_f1_data): New type.
19518 (RUN_TEST_LOOP_fF_f1): New macro.
19519 (modf_test_data): New variable.
19520 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19521
87aa21df
JM
19522 * math/libm-test.inc (struct test_f_f1_data): New type.
19523 (RUN_TEST_LOOP_f_f1): New macro.
19524 (gamma_test_data): New variable.
19525 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19526 (lgamma_test_data): New variable.
19527 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19528
141af660
CD
195292013-05-13 Carlos O'Donell <carlos@redhat.com>
19530
19531 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19532 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19533 (main): Comment "tls" pseudo-hwcap.
19534
6d33265c
JM
195352013-05-13 Joseph Myers <joseph@codesourcery.com>
19536
68fc074c
JM
19537 * math/libm-test.inc (struct test_fl_f_data): New type.
19538 (RUN_TEST_LOOP_fl_f): New variable.
19539 (scalbln_test_data): New variable.
19540 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19541
243216e1
JM
19542 * math/libm-test.inc (struct test_fi_f_data): New type.
19543 (RUN_TEST_LOOP_fi_f): New macro.
19544 (ldexp_test_data): New variable.
19545 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19546 (scalbn_test_data): New variable.
19547 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19548
6a1992e2
JM
19549 * math/libm-test.inc (struct test_c_f_data): New type.
19550 (RUN_TEST_LOOP_c_f): New macro.
19551 (cabs_test_data): New variable.
19552 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19553 (carg_test_data): New variable.
19554 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19555 (cimag_test_data): New variable.
19556 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19557 (creal_test_data): New variable.
19558 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19559
0e400df5
JM
19560 * math/libm-test.inc (struct test_if_f_data): New type.
19561 (RUN_TEST_LOOP_if_f): New macro.
19562 (jn_test_data): New variable.
19563 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19564 (yn_test_data): New variable.
19565 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19566
6d33265c
JM
19567 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19568
f98ece5f
AZ
195692013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19570
19571 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19572 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19573
0f7d347b
SP
195742013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19575
43fe811b
SP
19576 * benchtests/Makefile (CPPFLAGS-nonlib): Add
19577 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19578 (bench-deps): Add bench-timing.h.
19579 * benchtests-bench-skeleton.c: Include bench-timing.h.
19580 (main): Use TIMING_* macros instead of clock_gettime.
19581 * benchtests/bench-timing.h: New file.
19582
0f7d347b
SP
19583 [BZ #14582]
19584 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19585 Renamed from _LIB_VERSION.
19586 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19587
601a3a5f
JM
195882013-05-12 Joseph Myers <joseph@codesourcery.com>
19589
4f184d30
JM
19590 * math/libm-test.inc (struct test_fff_f_data): New type.
19591 (RUN_TEST_LOOP_fff_f): New macro.
19592 (fma_test_data): New variable.
19593 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19594 (fma_towardzero_test_data): New variable.
19595 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19596 (fma_downward_test_data): New variable.
19597 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19598 (fma_upward_test_data): New variable.
19599 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19600
08198877
JM
19601 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19602 (struct test_c_c_data): New type.
19603 (RUN_TEST_LOOP_c_c): New macro.
19604 (cacos_test_data): New variable.
19605 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19606 (cacosh_test_data): New variable.
19607 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19608 (casin_test_data): New variable.
19609 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19610 (casinh_test_data): New variable.
19611 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19612 (catan_test_data): New variable.
19613 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19614 (catanh_test_data): New variable.
19615 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19616 (ccos_test_data): New variable.
19617 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19618 (ccosh_test_data): New variable.
19619 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19620 (cexp_test_data): New variable.
19621 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19622 (clog_test_data): New variable.
19623 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19624 (clog10_test_data): New variable.
19625 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19626 (conj_test_data): New variable.
19627 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19628 (cproj_test_data): New variable.
19629 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19630 (csin_test_data): New variable.
19631 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19632 (csinh_test_data): New variable.
19633 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19634 (csqrt_test_data): New variable.
19635 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19636 (ctan_test_data): New variable.
19637 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19638 (ctan_tonearest_test_data): New variable.
19639 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19640 (ctan_towardzero_test_data): New variable.
19641 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19642 (ctan_downward_test_data): New variable.
19643 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19644 (ctan_upward_test_data): New variable.
19645 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19646 (ctanh_test_data): New variable.
19647 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19648 (ctanh_tonearest_test_data): New variable.
19649 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19650 (ctanh_towardzero_test_data): New variable.
19651 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19652 (ctanh_downward_test_data): New variable.
19653 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19654 (ctanh_upward_test_data): New variable.
19655 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19656 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19657 of BUILD_COMPLEX.
19658
601a3a5f
JM
19659 * math/libm-test.inc (struct test_ff_f_data): New type.
19660 (struct test_ff_f_data_nexttoward): Likewise.
19661 (RUN_TEST_LOOP_2_f): New macro.
19662 (RUN_TEST_LOOP_ff_f): Likewise.
19663 (atan2_test_data): New variable.
19664 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19665 (copysign_test_data): New variable.
19666 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19667 (fdim_test_data): New variable.
19668 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19669 (fmax_test_data): New variable.
19670 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19671 (fmin_test_data): New variable.
19672 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19673 (fmod_test_data): New variable.
19674 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19675 (hypot_test_data): New variable.
19676 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19677 (nextafter_test_data): New variable.
19678 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19679 (nexttoward_test_data): New variable.
19680 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19681 (pow_test_data): New variable.
19682 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19683 (pow_tonearest_test_data): New variable.
19684 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19685 (pow_towardzero_test_data): New variable.
19686 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19687 (pow_downward_test_data): New variable.
19688 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19689 (pow_upward_test_data): New variable.
19690 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19691 (remainder_test_data): New variable.
19692 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19693 (scalb_test_data): New variable.
19694 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19695 * sysdeps/i386/fpu/libm-test-ulps: Update.
19696
74c57478
JM
196972013-05-11 Joseph Myers <joseph@codesourcery.com>
19698
8329e4da
JM
19699 * math/libm-test.inc (fma_test): Use max_value instead of local
19700 variable fltmax.
19701 (nextafter_test): Likewise.
19702
74c57478
JM
19703 * math/libm-test.inc (acos_towardzero_test_data): New variable.
19704 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19705 (acos_downward_test_data): New variable.
19706 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19707 (acos_upward_test_data): New variable.
19708 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19709 (acosh_test_data): New variable.
19710 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19711 (asin_test_data): New variable.
19712 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19713 (asin_tonearest_test_data): New variable.
19714 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19715 (asin_towardzero_test_data): New variable.
19716 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19717 (asin_downward_test_data): New variable.
19718 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19719 (asin_upward_test_data): New variable.
19720 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19721 (asinh_test_data): New variable.
19722 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19723 (atan_test_data): New variable.
19724 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19725 (atanh_test_data): New variable.
19726 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19727 (cbrt_test_data): New variable.
19728 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19729 (ceil_test_data): New variable.
19730 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19731 (cos_test_data): New variable.
19732 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19733 (cos_tonearest_test_data): New variable.
19734 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19735 (cos_towardzero_test_data): New variable.
19736 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19737 (cos_downward_test_data): New variable.
19738 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19739 (cos_upward_test_data): New variable.
19740 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19741 (cosh_test_data): New variable.
19742 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19743 (cosh_tonearest_test_data): New variable.
19744 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19745 (cosh_towardzero_test_data): New variable.
19746 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19747 (cosh_downward_test_data): New variable.
19748 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19749 (cosh_upward_test_data): New variable.
19750 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19751 (erf_test_data): New variable.
19752 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19753 (erfc_test_data): New variable.
19754 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19755 (exp_test_data): New variable.
19756 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19757 (exp_tonearest_test_data): New variable.
19758 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19759 (exp_towardzero_test_data): New variable.
19760 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19761 (exp_downward_test_data): New variable.
19762 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19763 (exp_upward_test_data): New variable.
19764 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19765 (exp10_test_data): New variable.
19766 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19767 (exp2_test_data): New variable.
19768 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19769 (expm1_test_data): New variable.
19770 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19771 (fabs_test_data): New variable.
19772 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19773 (floor_test_data): New variable.
19774 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19775 (j0_test_data): New variable.
19776 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19777 (j1_test_data): New variable.
19778 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19779 (log_test_data): New variable.
19780 (log_test): Run tests with RUN_TEST_LOOP_f_f.
19781 (log10_test_data): New variable.
19782 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19783 (log1p_test_data): New variable.
19784 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19785 (log2_test_data): New variable.
19786 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19787 (logb_test_data): New variable.
19788 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19789 (logb_downward_test_data): New variable.
19790 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19791 (nearbyint_test_data): New variable.
19792 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19793 (rint_test_data): New variable.
19794 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19795 (rint_tonearest_test_data): New variable.
19796 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19797 (rint_towardzero_test_data): New variable.
19798 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19799 (rint_downward_test_data): New variable.
19800 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19801 (rint_upward_test_data): New variable.
19802 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19803 (round_test_data): New variable.
19804 (round_test): Run tests with RUN_TEST_LOOP_f_f.
19805 (sin_test_data): New variable.
19806 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19807 (sin_tonearest_test_data): New variable.
19808 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19809 (sin_towardzero_test_data): New variable.
19810 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19811 (sin_downward_test_data): New variable.
19812 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19813 (sin_upward_test_data): New variable.
19814 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19815 (sinh_test_data): New variable.
19816 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19817 (sinh_tonearest_test_data): New variable.
19818 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19819 (sinh_towardzero_test_data): New variable.
19820 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19821 (sinh_downward_test_data): New variable.
19822 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19823 (sinh_upward_test_data): New variable.
19824 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19825 (sqrt_test_data): New variable.
19826 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19827 (tan_test_data): New variable.
19828 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19829 (tan_tonearest_test_data): New variable.
19830 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19831 (tan_towardzero_test_data): New variable.
19832 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19833 (tan_downward_test_data): New variable.
19834 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19835 (tan_upward_test_data): New variable.
19836 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19837 (tanh_test_data): New variable.
19838 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19839 (tgamma_test_data): New variable.
19840 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19841 (trunc_test_data): New variable.
19842 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19843 (y0_test_data): New variable.
19844 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19845 (y1_test_data): New variable.
19846 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19847 (significand_test_data): New variable.
19848 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19849
7187d844
CG
198502013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
19851
19852 [BZ #12387]
19853 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19854
f63fae73
PT
198552013-05-10 Pino Toscano <toscano.pino@tiscali.it>
19856
19857 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19858
8a67a4b3
AJ
198592013-05-10 Andreas Jaeger <aj@suse.de>
19860
19861 [BZ #15448]
19862 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19863 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19864
51df539d
JM
198652013-05-10 Joseph Myers <joseph@codesourcery.com>
19866
19867 * math/gen-libm-test.pl (adjust_arg): New function.
19868 (special_functions): Handle generating output in both functions
19869 and arrays.
19870 (parse_args): Likewise.
19871 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
19872 $in_func argument to parse_args.
19873 * math/libm-test.inc (struct test_f_f_data): New type.
19874 (IF_ROUND_INIT_): New macro.
19875 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19876 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19877 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19878 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19879 (ROUND_RESTORE_): Likewise.
19880 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19881 (ROUND_RESTORE_FE_TONEAREST): Likewise.
19882 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19883 (ROUND_RESTORE_FE_UPWARD): Likewise.
19884 (RUN_TEST_LOOP_f_f): New macro.
19885 (acos_test_data): New variable.
19886 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19887 (acos_tonearest_test_data): New variable.
19888 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19889
5c637fe5
SP
198902013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19891
19892 * benchtests/bench-skeleton.c (startup): Fix coding style.
19893
ab2b9461
JM
198942013-05-10 Joseph Myers <joseph@codesourcery.com>
19895
19896 [BZ #6809]
19897 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19898 negative infinity argument.
19899 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19900 negative infinity argument.
19901 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19902 negative infinity argument.
19903 * math/libm-test.inc (tgamma_test): Expect errno to be set for
19904 domain errors.
19905
4c0fe6fe
FW
199062013-05-10 Florian Weimer <fweimer@redhat.com>
19907
19908 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19909 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19910 * iconv/iconv_prog.c (main): Likewise.
19911 * locale/programs/charmap-dir.c (charmap_readdir)
19912 (fopen_uncompressed): Likewise.
19913 * locale/programs/locfile.c (siblings_uncached)
19914 (write_locale_data): Use lstat64 instead of lstat.
19915 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19916 stat.
19917
a3375d29
AJ
199182013-05-10 Andreas Jaeger <aj@suse.de>
19919
19920 [BZ #15395]
19921 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19922 localization.
19923 Include <locale.h>.
19924
36129722
CD
199252013-05-09 Carlos O'Donell <carlos@redhat.com>
19926
19927 * elf/dl-close.c (_dl_close_worker): Add comments.
19928
faa7f811
JM
199292013-05-09 Joseph Myers <joseph@codesourcery.com>
19930
ed41ffef
JM
19931 [BZ #15359]
19932 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19933 high part of pi/2.
19934 (__ieee754_rem_pio2l): Update comments.
19935
d0213cd0
JM
19936 [BZ #15429]
19937 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19938 high part of pi/2.
19939 (__ieee754_rem_pio2l): Update comments.
19940
0d3e777a
JM
19941 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19942 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19943
24f56066
JM
19944 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19945 M_PI_4l.
19946
faa7f811
JM
19947 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19948 (M_PI_34_LOG10El): Likewise.
19949 (M_PI2_LOG10El): Likewise.
19950 (M_PI4_LOG10El): Likewise.
19951 (M_PI_LOG10El): Likewise.
19952
e9a5e0fd
AZ
199532013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19954
19955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19956
d8cd06db
JM
199572013-05-08 Joseph Myers <joseph@codesourcery.com>
19958
a0d9f9d7
JM
19959 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19960 (MINUS_ZERO_INIT): Likewise.
19961 (PLUS_INFTY_INIT): Likewise.
19962 (MINUS_INFTY_INIT): Likewise.
19963 (QNAN_VALUE_INIT): Likewise.
19964 (MAX_VALUE_INIT): Likewise.
19965 (MIN_VALUE_INIT): Likewise.
19966 (MIN_SUBNORM_VALUE_INIT): Likewise.
19967 (plus_zero): Initialize with PLUS_ZERO_INIT.
19968 (minus_zero): Initialize with MINUS_ZERO_INIT.
19969 (plus_infty): Initialize with PLUS_INFTY_INIT.
19970 (minus_infty): Initialize with MINUS_INFTY_INIT.
19971 (qnan_value): Initialize with QNAN_VALUE_INIT.
19972 (max_value): Initialize with MAX_VALUE_INIT.
19973 (min_value): Initialize with MIN_VALUE_INIT.
19974 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19975
ae08db3b
JM
19976 * math/libm-test.inc (RUN_TEST_if_f): New macro.
19977 (jn_test): Use TEST_if_f instead of TEST_ff_f.
19978 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19979 (yn_test): Use TEST_if_f instead of TEST_ff_f.
19980
f44bf14a
JM
19981 * math/libm-test.inc (RUN_TEST_f_f): New macro.
19982 (RUN_TEST_2_f): Likewise.
19983 (RUN_TEST_ff_f): Likewise.
19984 (RUN_TEST_fi_f): Likewise.
19985 (RUN_TEST_fl_f): Likewise.
19986 (RUN_TEST_fff_f): Likewise.
19987 (RUN_TEST_c_f): Likewise.
19988 (RUN_TEST_f_f1): Likewise.
19989 (RUN_TEST_fF_f1): Likewise.
19990 (RUN_TEST_fI_f1): Likewise.
19991 (RUN_TEST_ffI_f1): Likewise.
19992 (RUN_TEST_c_c): Likewise.
19993 (RUN_TEST_cc_c): Likewise.
19994 (RUN_TEST_f_i): Likewise.
19995 (RUN_TEST_f_i_tg): Likewise.
19996 (RUN_TEST_ff_i_tg): Likewise.
19997 (RUN_TEST_f_b): Likewise.
19998 (RUN_TEST_f_b_tg): Likewise.
19999 (RUN_TEST_f_l): Likewise.
20000 (RUN_TEST_f_L): Likewise.
20001 (RUN_TEST_sincos): Likewise.
20002 * math/gen-libm-test.pl (new_test): Take new argument to indicate
20003 whether to show exceptions. Do not include ");\n" in return
20004 value.
20005 (special_functions): Output call to RUN_TEST_sincos instead of
20006 check_float calls. Update calls to new_test.
20007 (parse_args): Output call to single RUN_TEST_* macro instead of
20008 check_* calls and other assignments. Update calls to new_test.
20009
d8cd06db
JM
20010 [BZ #2546]
20011 [BZ #2560]
20012 [BZ #5159]
20013 [BZ #15426]
20014 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20015 input to result for tgamma overflow.
20016 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20017 (gamma_coeff): New variable.
20018 (NCOEFF): New macro.
20019 (gamma_positive): New function.
20020 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20021 underflow here. Use gamma_positive instead of exp (lgamma) for
20022 other arguments.
20023 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20024 (gamma_coeff): New variable.
20025 (NCOEFF): New macro.
20026 (gammaf_positive): New function.
20027 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20028 underflow here. Use gamma_positive instead of exp (lgamma) for
20029 other arguments.
20030 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20031 (gamma_coeff): New variable.
20032 (NCOEFF): New macro.
20033 (gammal_positive): New function.
20034 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20035 underflow here. Use gamma_positive instead of exp (lgamma) for
20036 other arguments.
20037 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20038 (gamma_coeff): New variable.
20039 (NCOEFF): New macro.
20040 (gammal_positive): New function.
20041 (__ieee754_gammal_r): Handle positive infinity, overflow and
20042 underflow here. Handle NaN the same as positive infinity. Remove
20043 check x < 0xffffffff for negative integers. Use gamma_positive
20044 instead of exp (lgamma) for other arguments.
20045 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20046 (gamma_coeff): New variable.
20047 (NCOEFF): New macro.
20048 (gammal_positive): New function.
20049 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20050 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20051 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20052 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20053 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20054 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20055 * sysdeps/generic/math_private.h (__gamma_productf): New
20056 prototype.
20057 (__gamma_product): Likewise.
20058 (__gamma_productl): Likewise.
20059 * math/Makefile (libm-calls): Add gamma_product.
20060 * math/libm-test.inc (tgamma_test): Add more tests.
20061 * sysdeps/i386/fpu/libm-test-ulps: Update.
20062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20063
bb7cf681
OB
200642013-05-08 Ondřej Bílka <neleai@seznam.cz>
20065
20066 * benchtests/bench-skeleton.c (main): Preheat CPU.
20067
ba853947
AJ
200682013-05-07 Aurelien Jarno <aurelien@aurel32.net>
20069
20070 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20071
8347c74c
RM
200722013-05-07 Roland McGrath <roland@hack.frob.com>
20073
20074 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20075 and _dl_skip_args_internal.
20076
e8dd4791
CD
200772013-05-07 Carlos O'Donell <carlos@redhat.com>
20078
20079 * manual/message.texi (Message Translation): Talk about users.
20080 Message to key mapping impacts design.
20081
c7405830
RM
200822013-05-06 Roland McGrath <roland@hack.frob.com>
20083
a9173057
RM
20084 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20085
976e2f03
RM
20086 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20087
9723ffc5
RM
20088 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20089 * sysdeps/wordsize-64/glob64.c: ... here.
20090
962e6658
RM
20091 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20092 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20093 New macros.
20094
ee586a6d
RM
20095 * debug/getlogin_r_chk.c: Moved to ...
20096 * login/getlogin_r_chk.c: ... here.
20097 * debug/Makefile (routines): Move getlogin_r_chk to ...
20098 * login/Makefile (routines): ... here.
20099 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20100 * login/Versions (libc: GLIBC_2.4): ... here.
20101
355f9165
RM
20102 * io/poll.c (__poll): Renamed from poll.
20103 Add libc_hidden_def.
20104 (poll): Define as weak alias.
20105
bd9ffde6
RM
20106 * debug/ptsname_r_chk.c: Moved to ...
20107 * login/ptsname_r_chk.c: ... here.
20108 * debug/Makefile (routines): Move ptsname_r_chk to ...
20109 * login/Makefile (routines): ... here.
20110 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20111 * login/Versions (libc: GLIBC_2.4): ... here.
20112
8fb16a04
RM
20113 * posix/getlogin.c: Moved to ...
20114 * login/getlogin.c: ... here.
20115 * posix/getlogin_r.c: Moved to ...
20116 * login/getlogin_r.c: ... here.
20117 * posix/getlogin_r.c: Moved to ...
20118 * login/getlogin_r.c: ... here.
20119 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20120 * login/Makefile (routines): ... here.
20121 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20122 * login/Versions (libc: GLIBC_2.0): ... here.
20123
b99b892f
RM
20124 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20125 (setrlimit): Define as weak alias.
20126
c7405830
RM
20127 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20128 Call __ names for open, ftruncate, and close.
20129 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20130 (truncate): Define as weak alias.
20131
5bf96de5
JM
201322013-05-06 Joseph Myers <joseph@codesourcery.com>
20133
9ea3513c
JM
20134 * math/gen-libm-test.pl (parse_args): Initialize x before each
20135 test of frexp, modf and remquo.
20136
5bf96de5
JM
20137 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20138 test signgam value.
20139
16e616a7
AZ
201402013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20141
20142 [BZ #15418]
20143 [BZ #15419]
20144 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20145 internal tests.
20146 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20147
d5e82754
RM
201482013-05-06 Roland McGrath <roland@hack.frob.com>
20149
20150 * elf/dl-writev.h: New file.
20151 * elf/dl-misc.c: Include it.
20152 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20153 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20154
a7548d41
JM
201552013-05-04 Joseph Myers <joseph@codesourcery.com>
20156
b7dab1e4
JM
20157 * math/libm-test.inc (noXFails): Remove variable.
20158 (noXPasses): Likewise.
20159 (BUILD_COMPLEX_INT): Remove macro.
20160 (print_screen): Remove xfail argument.
20161 (print_screen_max_error): Likewise.
20162 (update_stats): Likewise.
20163 (print_max_error): Likewise. Update calls to other affected
20164 functions.
20165 (print_complex_max_error): Likewise.
20166 (test_single_exception): Update calls to print_screen.
20167 (test_single_errno): Likewise.
20168 (check_float_internal): Remove xfail argument. Update calls to
20169 other affected functions.
20170 (check_float): Likewise.
20171 (check_complex): Likewise.
20172 (check_int): Likewise.
20173 (check_long): Likewise.
20174 (check_bool): Likewise.
20175 (check_longlong): Likewise.
20176 (main): Don't print noXFails and noXPasses.
20177 * math/gen-libm-test.pl (top level): Don't mention expected
20178 failure handling in comment.
20179 (new_test): Don't handle expected failures.
20180 (parse_args): Don't mention expected failure handling in comment.
20181 (generate_testfile): Don't handle expected failures.
20182 (parse_ulps): Likewise.
20183 (print_ulps_file): Likewise.
20184 (get_failure): Remove function.
20185 (output_test): Don't handle expected failures.
20186 * make/README.libm-test: Don't mention expected failure handling.
20187
a7548d41
JM
20188 * math/libm-test.inc (plus_zero): Make const. Add initializer.
20189 (minus_zero): Likewise.
20190 (plus_infty): Likewise.
20191 (minus_infty): Likewise.
20192 (qnan_value): Likewise.
20193 (max_value): Likewise.
20194 (min_value): Likewise.
20195 (min_subnorm_value): Likewise.
20196 (initialize): Do not initialize those variables dynamically.
20197
60bfd54c
RM
201982013-05-03 Roland McGrath <roland@hack.frob.com>
20199
cc0e6ed8
RM
20200 * io/open.c (__open_2): Moved to ...
20201 * io/open_2.c: ... this new file.
20202 * io/open64.c (__open64_2): Moved to ...
20203 * io/open64_2.c: ... this new file.
20204 * io/openat.c (__openat_2): Moved to ...
20205 * io/openat_2.c: ... this new file.
20206 * io/openat64.c (__openat64_2): Moved to ...
20207 * io/openat64_2.c: ... this new file.
20208 * io/Makefile (routines): Add them.
20209 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20210 * sysdeps/unix/sysv/linux/open_2.c: File removed.
20211 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20212 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20213 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20214 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20215 (__openat64): Add hidden_ver.
20216 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20217 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20218
60bfd54c
RM
20219 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20220 Separately conditionalize setting of GLRO(dl_sysinfo) so
20221 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20222 as well, but the actual setting is only under [NEED_DL_SYSINFO].
20223
83e7640f
AZ
202242013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20225
20226 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20227 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20228 definition.
20229 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20230 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20231 (_libc_vdso_platform_setup): Add __vdso_time initialization.
20232 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20233 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20234
d5dc2af3
JM
202352013-05-03 Joseph Myers <joseph@codesourcery.com>
20236
c31a5b1e
JM
20237 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20238 test signgam value.
20239
d5dc2af3
JM
20240 * math/libm-test.inc (hypot_test): Do not use
20241 IGNORE_ZERO_INF_SIGN.
20242
164fd39d
AJ
202432013-05-03 Andreas Jaeger <aj@suse.de>
20244
20245 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20246 Linux 3.9.
20247 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20248 (PF_MAX): Adjust for VSOCK change.
20249
8237f48c
AZ
202502013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20251
20252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20253
9df02941
CD
202542013-05-02 Carlos O'Donell <carlos@redhat.com>
20255
20256 [BZ #15264]
20257 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20258 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20259 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20260
d422395e
DM
202612013-05-02 David S. Miller <davem@davemloft.net>
20262
20263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20264
a07c5731
OB
202652013-05-01 Ondřej Bílka <neleai@seznam.cz>
20266
20267 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20268
1324e37f
RM
202692013-05-01 Roland McGrath <roland@hack.frob.com>
20270
20271 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20272
0695940b
RS
202732013-05-01 Richard Smith <richard@metafoo.co.uk>
20274
bb5f27ad 20275 [BZ #14952]
0695940b
RS
20276 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20277 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20278 Use __attribute__ ((__gnu_inline__)).
20279 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20280 Don't use __attribute__ ((__gnu_inline__)).
20281
10de07f5
JM
202822013-05-01 Joseph Myers <joseph@codesourcery.com>
20283
20284 [BZ #15423]
20285 * math/s_catan.c (__catan): Handle small real or imaginary part of
20286 input specially to avoid spurious underflow.
20287 * math/s_catanf.c (__catanf): Likewise.
20288 * math/s_catanh.c (__catanh): Likewise.
20289 * math/s_catanhf.c (__catanhf): Likewise.
20290 * math/s_catanhl.c (__catanhl): Likewise.
20291 * math/s_catanl.c (__catanl): Likewise.
20292 * math/libm-test.inc (catan_test): Add more tests.
20293 (catanh_test): Likewise.
20294 * sysdeps/i386/fpu/libm-test-ulps: Update.
20295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20296
cb4d5414
AZ
202972013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20298
20299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20300
caf84319
JM
203012013-04-30 Joseph Myers <joseph@codesourcery.com>
20302
20303 [BZ #15416]
20304 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20305 accurately for denominator in atan2.
20306 * math/s_catanf.c (__catanf): Likewise.
20307 * math/s_catanh.c (__catanh): Likewise.
20308 * math/s_catanhf.c (__catanhf): Likewise.
20309 * math/s_catanhl.c (__catanhl): Likewise.
20310 * math/s_catanl.c (__catanl): Likewise.
20311 * math/libm-test.inc (catan_test): Add more tests.
20312 (catanh_test): Likewise.
20313 * sysdeps/i386/fpu/libm-test-ulps: Update.
20314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20315
d569c6ee
SP
203162013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20317
6dbe713d
SP
20318 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20319
f0ee064b
SP
20320 * benchtests/Makefile (bench): Remove slow benchmarks.
20321 * benchtests/atan-inputs: Add slow benchmark inputs.
20322 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20323 (BENCH_FUNC): Accept variant offset.
20324 (VARIANT): Define.
20325 * benchtests/bench-skeleton.c (main): Run benchmark for each
20326 variant.
20327 * benchtests/cos-inputs: Add slow benchmark inputs.
20328 * benchtests/exp-inputs: Likewise.
20329 * benchtests/pow-inputs: Likewise.
20330 * benchtests/sin-inputs: Likewise.
20331 * benchtests/slowatan-inputs: Remove.
20332 * benchtests/slowatan.c: Remove.
20333 * benchtests/slowcos-inputs: Remove.
20334 * benchtests/slowcos.c: Remove.
20335 * benchtests/slowexp-inputs: Remove.
20336 * benchtests/slowexp.c: Remove.
20337 * benchtests/slowpow-inputs: Remove.
20338 * benchtests/slowpow.c: Remove.
20339 * benchtests/slowsin-inputs: Remove.
20340 * benchtests/slowsin.c: Remove.
20341 * benchtests/slowtan-inputs: Remove.
20342 * benchtests/slowtan.c: Remove.
20343 * benchtests/tan-inputs: Add slow benchmark inputs.
20344 * scripts/bench.pl: Parse comments and directives.
20345
d569c6ee
SP
20346 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
20347 in CPPFLAGS.
20348 ($(objpfx)bench-%.c): Remove *-ITER.
20349 * benchtests/bench-modf.c: Remove definition of ITER.
20350 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20351 (main): Loop for DURATION seconds instead of fixed number of
20352 iterations.
20353 * scripts/bench.pl: Don't expect iterations in parameters.
20354
a6a242fe
RM
203552013-04-29 Roland McGrath <roland@hack.frob.com>
20356
20357 * io/fchdir.c (__fchdir): Renamed from fchdir.
20358 (fchdir): Define as weak alias.
20359
f2da7793
JM
203602013-04-29 Joseph Myers <joseph@codesourcery.com>
20361
20362 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20363 (ERRNO_EDOM): Likewise.
20364 (ERRNO_ERANGE): Likewise.
20365 (noErrnoTests): New variable.
20366 (init_max_error): Set errno to 0.
20367 (test_single_errno): New function.
20368 (test_errno): Likewise.
20369 (check_float_internal): Call test_errno. Set errno to 0.
20370 (check_complex): Refer to errno tests in comment.
20371 (check_int): Call test_errno. Set errno to 0.
20372 (check_long): Likewise.
20373 (check_bool): Likewise.
20374 (check_longlong): Likewise.
20375 (cos_test): Use ERRNO_* flags for errno tests instead of
20376 check_int.
20377 (expm1_test): Likewise.
20378 (fmod_test): Likewise.
20379 (ilogb_test): Likewise.
20380 (lgamma_test): Likewise.
20381 (pow_test): Likewise.
20382 (remainder_test): Likewise.
20383 (sin_test): Likewise.
20384 (tan_test): Likewise.
20385 (yn_test): Likewise.
20386 (initialize): Set errno to 0.
20387 (main): Print number of errno tests.
20388 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20389
b1a36ceb
AJ
203902013-04-29 Andreas Jaeger <aj@suse.de>
20391
c3ed8088
AJ
20392 [BZ #15084]
20393 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20394 and RES_USEVC.
20395
f1a24198
AJ
20396 [BZ #15085]
20397 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20398 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20399 unimplemented.
20400
9ce3b2cb
AJ
20401 [BZ #15380]
20402 * stdlib/random.c (__initstate): Return NULL if
20403 __initstate fails.
20404
f1a24198 20405 [BZ #15086]
b1a36ceb
AJ
20406 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20407 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20408 RES_SNGLKUPREOP.
20409
7e7b6f36
AZ
204102013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20411
20412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20413
4d14f449
JM
204142013-04-29 Joseph Myers <joseph@codesourcery.com>
20415
20416 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20417 of individual tests.
20418 (casin_test): Likewise.
20419 (casinh_test): Likewise.
20420
5b4217d7
JM
204212013-04-27 Joseph Myers <joseph@codesourcery.com>
20422
20423 [BZ #15409]
20424 * math/s_catan.c (__catan): Handle arguments with large real or
20425 imaginary part separately without squaring.
20426 * math/s_catanf.c (__catanf): Likewise.
20427 * math/s_catanh.c (__catanh): Likewise.
20428 * math/s_catanhf.c (__catanhf): Likewise.
20429 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20430 and redefine.
20431 (__catanhl): Handle arguments with large real or imaginary part
20432 separately without squaring.
20433 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20434 and redefine.
20435 (__catanl): Handle arguments with large real or imaginary part
20436 separately without squaring.
20437 * math/libm-test.inc (catan_test): Add more tests.
20438 (catanh_test): Likewise.
20439 * sysdeps/i386/fpu/libm-test-ulps: Update.
20440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20441
4220c3ef
AJ
204422013-04-27 Andreas Jaeger <aj@suse.de>
20443
20444 [BZ #15007]
20445 * stdlib/stdlib.h: Update guards for qecvt.
20446 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20447 <stdlib.h>.
20448
4721b2d1
AM
204492013-04-27 Allan McRae <allan@archlinux.org>
20450
20451 * sysdeps/i386/fpu/libm-test-ulps: Update.
20452
f0302940
JM
204532013-04-26 Joseph Myers <joseph@codesourcery.com>
20454
9457fd95
JM
20455 [BZ #15406]
20456 * math/s_catan.c: Include <float.h>.
20457 (__catan): Ensure underflow exception occurs for underflowed
20458 result.
20459 * math/s_catanf.c: Include <float.h>.
20460 (__catanf): Ensure underflow exception occurs for underflowed
20461 result.
20462 * math/s_catanh.c: Include <float.h>.
20463 (__catanh): Ensure underflow exception occurs for underflowed
20464 result.
20465 * math/s_catanhf.c: Include <float.h>.
20466 (__catanhf): Ensure underflow exception occurs for underflowed
20467 result.
20468 * math/s_catanhl.c: Include <float.h>.
20469 (__catanhl): Ensure underflow exception occurs for underflowed
20470 result.
20471 * math/s_catanl.c: Include <float.h>.
20472 (__catanl): Ensure underflow exception occurs for underflowed
20473 result.
20474 * math/libm-test.inc (catan_test): Add more tests.
20475 (catanh_test): Likewise.
20476
f0302940
JM
20477 [BZ #15405]
20478 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20479 underflowed result.
20480 * math/s_ccoshf.c (__ccoshf): Likewise.
20481 * math/s_ccoshl.c (__ccoshl): Likewise.
20482 * math/s_csin.c (__csin): Likewise.
20483 * math/s_csinf.c (__csinf): Likewise.
20484 * math/s_csinh.c (__csinh): Likewise.
20485 * math/s_csinhf.c (__csinhf): Likewise.
20486 * math/s_csinhl.c (__csinhl): Likewise.
20487 * math/s_csinl.c (__csinl): Likewise.
20488 * math/libm-test.inc (ccos_test): Add more tests.
20489 (ccosh_test): Likewise.
20490 (csin_test): Likewise.
20491 (csinh_test): Likewise.
20492
aa630f59
AZ
204932013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20494
20495 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20496 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20497 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20498 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20499 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20500 powerpc/power5+/fpu folders.
20501 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20502
20503
1b835983
MT
205042013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20505
20506 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20507
73709b26
JM
205082013-04-25 Joseph Myers <joseph@codesourcery.com>
20509
20510 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20511 additions to variable.
20512 [$(config-machine) = x86_64] (modules-names): Likewise.
20513 ($(objpfx)tst-audit3): Remove dependency.
20514 ($(objpfx)tst-audit3.out): Likewise.
20515 ($(objpfx)tst-audit4): Likewise.
20516 ($(objpfx)tst-audit4.out): Likewise.
20517 ($(objpfx)tst-audit5): Likewise.
20518 ($(objpfx)tst-audit5.out): Likewise.
20519 ($(objpfx)tst-audit6): Likewise.
20520 ($(objpfx)tst-audit6.out): Likewise.
20521 ($(objpfx)tst-audit7): Likewise.
20522 ($(objpfx)tst-audit7.out): Likewise.
20523 (tst-audit3-ENV): Remove variable.
20524 (tst-audit4-ENV): Likewise.
20525 (tst-audit5-ENV): Likewise.
20526 (tst-audit6-ENV): Likewise.
20527 (tst-audit7-ENV): Likewise.
20528 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20529 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20530 addition to variable.
20531 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20532 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20533 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20534 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20535 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20536 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20537 tst-audit3, tst-audit4 and tst-audit5.
20538 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20539 tst-audit6 and tst-audit7.
20540 [$(subdir) = elf] (modules-names): Add audit modules for those
20541 tests.
20542 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20543 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20544 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20545 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20546 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20547 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20548 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20549 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20550 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20551 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20552 [$(subdir) = elf] (tst-audit3-ENV): New variable.
20553 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20554 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20555 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20556 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20557 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20558 Likewise.
20559 [$(subdir) = elf && $(config-cflags-avx) = yes]
20560 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20561 [$(subdir) = elf && $(config-cflags-avx) = yes]
20562 (CFLAGS-tst-auditmod4a.c): Likewise.
20563 [$(subdir) = elf && $(config-cflags-avx) = yes]
20564 (CFLAGS-tst-auditmod4b.c): Likewise.
20565 [$(subdir) = elf && $(config-cflags-avx) = yes]
20566 (CFLAGS-tst-auditmod6b.c): Likewise.
20567 [$(subdir) = elf && $(config-cflags-avx) = yes]
20568 (CFLAGS-tst-auditmod6c.c): Likewise.
20569 [$(subdir) = elf && $(config-cflags-avx) = yes]
20570 (CFLAGS-tst-auditmod7b.c): Likewise.
20571 * elf/tst-audit3.c: Move to ...
20572 * sysdeps/x86_64/tst-audit3.c: ... here.
20573 * elf/tst-audit4.c: Move to ...
20574 * sysdeps/x86_64/tst-audit4.c: ... here.
20575 * elf/tst-audit5.c: Move to ...
20576 * sysdeps/x86_64/tst-audit5.c: ... here.
20577 * elf/tst-audit6.c: Move to ...
20578 * sysdeps/x86_64/tst-audit6.c: ... here.
20579 * elf/tst-audit7.c: Move to ...
20580 * sysdeps/x86_64/tst-audit7.c: ... here.
20581 * elf/tst-auditmod3a.c: Move to ...
20582 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20583 * elf/tst-auditmod3b.c: Move to ...
20584 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20585 * elf/tst-auditmod4a.c: Move to ...
20586 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20587 * elf/tst-auditmod4b.c: Move to ...
20588 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20589 * elf/tst-auditmod5a.c: Move to ...
20590 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20591 * elf/tst-auditmod5b.c: Move to ...
20592 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20593 * elf/tst-auditmod6a.c: Move to ...
20594 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20595 * elf/tst-auditmod6b.c: Move to ...
20596 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20597 * elf/tst-auditmod6c.c: Move to ...
20598 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20599 * elf/tst-auditmod7a.c: Move to ...
20600 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20601 * elf/tst-auditmod7b.c: Move to ...
20602 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20603
1ef74943
PP
206042013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
20605
20606 [BZ #15366]
20607 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20608 define unconditionally.
20609 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20610 define unconditionally.
20611 (INT8_C, INT16_C, etc.): Likewise.
20612
93fd48c5
MR
206132013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
20614
ae9552cf
MR
20615 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20616 __ehdr_start with hidden visibility.
20617
93fd48c5
MR
20618 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20619
418601aa
CD
206202013-04-24 Carlos O'Donell <carlos@redhat.com>
20621
20622 * math/libm-test.inc (cos_test): Use accurate hex constants.
20623 (sincost_test): Likewise.
20624
2f38fbfe
JM
206252013-04-24 Joseph Myers <joseph@codesourcery.com>
20626
5e221800
JM
20627 * math/libm-test.inc (catan_test): Add more tests.
20628 (catanh_test): Likewise.
20629
77f143fd
JM
20630 * math/s_catanf.c (__catanf): Use suffixed floating-point
20631 constants.
20632 * math/s_catanhf.c (__catanhf): Likewise.
20633 * math/s_catanhl.c (__catanhl): Likewise.
20634 * math/s_catanl.c (__catanl): Likewise.
20635
2f38fbfe
JM
20636 [BZ #15394]
20637 * math/s_catan.c (__catan): Calculate imaginary part of result
20638 with log1p not log unless computing log of number close to 0.
20639 * math/s_catanf.c (__catanf): Likewise.
20640 * math/s_catanl.c (__catanl): Likewise.
20641 * math/s_catanh.c (__catanh): Calculate real part of result with
20642 log1p not log unless computing log of number close to 0.
20643 * math/s_catanhf.c (__catanhf): Likewise.
20644 * math/s_catanhl.c (__catanhl): Likewise.
20645 * math/libm-test.inc (catan_test): Add more tests.
20646 (catanh_test): Likewise.
20647 * sysdeps/i386/fpu/libm-test-ulps: Update.
20648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20649
45d69176
SP
206502013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20651
20652 * benchtests/Makefile: Mention files in which fast and slow
20653 paths of math functions are implemented.
20654
87f51853
RM
206552013-04-23 Roland McGrath <roland@hack.frob.com>
20656
20657 * sysdeps/posix/timespec_get.c: New file.
20658
3c026539
AZ
206592013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20660
20661 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20662 POWER.
20663 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20664 for POWER.
20665 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20666 powerpc/power5/fpu folders.
20667 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20668 * benchtests/Makefile: Add modf testcase.
20669 * benchtests/bench-modf.c: New file: Benchmark test for mo
20670
ff491d14
SP
206712013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20672
20673 [BZ #14888]
20674 * time/Makefile (tests): Add tst-strptime-whitespace.
20675 * time/strptime_l.c (get_number): Use ISSPACE.
20676 (__strptime_internal): Likewise.
20677 * time/tst-strptime-whitespace.c: New test case.
20678
7ed3f4e8
AS
206792013-04-23 Andreas Schwab <schwab@linux-m68k.org>
20680
20681 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20682 member.
20683 (_nss_files_init): Set it here.
20684
5c95f7b6
HC
206852013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
20686
20687 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20688 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20689 unsigned.
20690
d34c9158
JBG
206912013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
20692
20693 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20694
2169712d
SP
206952013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20696
20697 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20698 size just once.
20699
29c5de99
DM
207002013-04-21 David S. Miller <davem@davemloft.net>
20701
20702 * po/ru.po: Update Russion translation from translation project.
20703
ccdad15d
AC
207042013-04-17 Adam Conrad <adconrad@0c3.net>
20705
20706 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20707 and setfsgid.
20708
0f122b8d
CD
207092013-04-17 Carlos O'Donell <carlos@redhat.com>
20710
5c5b07da 20711 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 20712 * configure: Regenerate.
5c5b07da 20713 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
20714 Add example to error message.
20715 * sysdeps/i386/configure: Regenerate.
20716
037714dd
SP
207172013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20718
20719 * benchtests/Makefile (bench): Add cos, tan, slowcos and
20720 slowtan.
20721 * benchtests/cos-inputs: New file.
20722 * benchtests/slowcos-inputs: New file.
20723 * benchtests/slowcos.c: New file.
20724 * benchtests/slowtan-inputs: New file.
20725 * benchtests/slowtan.c: New file.
20726 * benchtests/tan-inputs: New file.
20727
e913141d
RM
207282013-04-16 Roland McGrath <roland@hack.frob.com>
20729
20730 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20731 considered kosher.
20732
a2964074
SP
207332013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20734
4856bcd2
SP
20735 * benchtests/Makefile: Include cppflags-iterator.mk to add
20736 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20737
a2964074
SP
20738 * Makefile.in (bench-clean): New target.
20739 * benchtests/Makefile (bench-clean): Likewise.
20740
9fbf9aca
DH
207412013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
20742
20743 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20744
207d1e2a
TS
207452013-04-15 Thomas Schwinge <thomas@codesourcery.com>
20746
20747 * stdio-common/tstdiomisc.c: Fix coding-style violation.
20748
306dfba9
AS
207492013-04-15 Andreas Schwab <schwab@suse.de>
20750
20751 * nscd/grpcache.c (cache_addgr): Properly check for short write.
20752 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20753 * nscd/pwdcache.c (cache_addpw): Likewise.
20754 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
20755 more than recsize.
20756
206a6699
SP
207572013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20758
20759 * benchtests/Makefile (bench): Write all output to
20760 bench-out.tmp together.
20761
0582f6b3
AS
207622013-04-15 Andreas Schwab <schwab@suse.de>
20763
20764 * nscd/nscd.c (main): Don't fork again after closing files.
20765
acb4325f
SP
207662013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20767
5cb26d0a
SP
20768 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20769
acb4325f
SP
20770 * benchtests/Rules (bench-deps): Collect dependencies into a
20771 single variable. Add Makefile to dependencies.
20772 ($(objpfx)bench-%.c): Depend on bench-deps.
20773
47792506
RM
207742013-04-12 Roland McGrath <roland@hack.frob.com>
20775 Xavier Roche <roche+kml2@exalead.com>
20776
20777 [BZ #15361]
20778 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20779 just that it's a file descriptor.
20780 * manual/llio.texi (Synchronizing AIO Operations): Update description
20781 for EBADF error from aio_fsync.
20782
8fc1bee5
SP
207832013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20784
20785 * Rules (bench): Move target definition...
20786 * benchtests/Makefile: ... here.
20787
aba5e333
CD
207882013-04-11 Carlos O'Donell <carlos@redhat.com>
20789
20790 * math/libm-test.inc (cos_test): Fix PI/2 test.
20791 (sincos_test): Likewise.
20792 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20793 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20794
273cdee8
AS
207952013-04-11 Andreas Schwab <schwab@suse.de>
20796
6ecec3b6
AS
20797 [BZ #13988]
20798 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20799 accept exponent character only when digits were seen.
20800 * stdio-common/Makefile (tests): Add bug26.
20801 * stdio-common/bug26.c: New file.
20802
273cdee8
AS
20803 [BZ #14293]
20804 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20805 non-freeable.
20806
8da491f5
SP
208072013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20808
01dc6df9
SP
20809 * Makeconfig (rtld-prefix): Define built linker prefix.
20810 * Rules (run-bench): Use it.
20811 * math/Makefile (run-regen-ulps): Likewise.
20812
8da491f5
SP
20813 * Rules (bench): Remove eval.
20814
abe7f530
SP
208152013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20816 Roland McGrath <roland@hack.frob.com>
20817 Ondrej Bilka <neleai@seznam.cz>
20818
20819 [BZ #15346]
20820 * time/getdate.c: Include ctype.h and alloca.h.
20821 (__getdate_r): Trim leading and trailing spaces of input.
20822 * time/tst-getdate.c (tests): Add tests with leading and
20823 trailing spaces.
20824
61c23e62
RM
208252013-04-08 Roland McGrath <roland@hack.frob.com>
20826
20827 [BZ #14280]
20828 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20829 when computing value.
20830
7208a313
CD
208312013-04-06 Carlos O'Donell <carlos@redhat.com>
20832
085b2d41
CD
20833 * math/README.libm-test (How can I generate "libm-test-ulps"?):
20834 Use testrun.sh to run libm tests.
20835
7208a313
CD
20836 [BZ #15309]
20837 * elf/dl-open.c (dl_open_worker): memset all of seen array.
20838
872c0acd
MM
208392013-04-06 Marko Myllynen <myllynen@redhat.com>
20840
20841 [BZ #15264]
20842 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20843
26510bdd
CD
208442013-04-06 Carlos O'Donell <carlos@redhat.com>
20845
20846 * Makefile.in (regen-ulps): New target.
20847 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20848 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20849 [ifneq (no,$(PERL)] (regen-ulps): New target.
20850 [ifeq (no,$(PERL)] (regen-ulps): New target.
20851 * math/libm-test.inc (ulps_file_name): Define.
20852 (output_dir): New variable.
20853 (options): Add "output-dir" option.
20854 (parse_opt): Handle 'o' case.
20855 (main): If output_dir is non-NULL use it as a prefix
20856 otherwise use "".
20857 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20858
a01f19c8
CD
208592013-04-06 Carlos O'Donell <carlos@redhat.com>
20860
20861 [BZ #10060, #10062]
20862 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20863 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20864 fail configure if __sync_val_compare_and_swap is not inlined.
20865 * sysdeps/i386/configure: Regenerate.
20866 * configure.in: Build for i686 when configured for i386.
20867 * configure: Regenerate.
20868 * README: Remove i386 reference.
20869
b7a329a5
CD
208702013-04-06 Carlos O'Donell <carlos@redhat.com>
20871
20872 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20873 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20874
bf0f50df
TS
208752013-04-05 Thomas Schwinge <thomas@codesourcery.com>
20876
ee091edf
TS
20877 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20878 (lmsnanval): New variables.
20879 (F): Add conversion tests.
20880 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20881 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20882
a8b792d6
TS
20883 * stdio-common/tstdiomisc.c (F): Properly collect individual
20884 tests' results.
20885
a1cbf437
TS
20886 [BZ #14686, #15336]
20887 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20888 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20889 Instead, use input NaN values or generate a qNaN by arithmetic
20890 operation. Also fix bugs to comply with the standard.
20891 * math/libm-test.inc (remainder_test): Add more tests.
20892
8b43a0c9
TS
20893 [BZ #15335, #15342]
20894 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20895 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20896 input NaN values or generate a qNaN by arithmetic operation.
20897
d91da4ce
TS
20898 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20899 unreachable code.
20900
bf0f50df
TS
20901 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20902 definitions.
20903
05e166c8
JM
209042013-04-03 Joseph Myers <joseph@codesourcery.com>
20905
20906 [BZ #14478]
20907 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20908 underflowed result.
20909 * math/s_cexpf.c (__cexpf): Likewise.
20910 * math/s_cexpl.c (__cexpl): Likewise.
20911 * math/libm-test.inc (cexp_test): Add more tests.
20912
1cef1b19
AS
209132013-04-03 Andreas Schwab <schwab@suse.de>
20914
20915 [BZ #15330]
20916 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20917 order arrays from heap if bigger than alloca cutoff.
20918
74d87055
TS
209192013-04-03 Thomas Schwinge <thomas@codesourcery.com>
20920
20921 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20922 (SNAN_TESTS_double): Refer to GCC PR56831.
20923 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20924 GCC PR56828.
20925
d755bba4
SP
209262013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20927
90d5d5bb
SP
20928 * Rules (bench): Move bench.out after the run is complete.
20929
73e0cd5d
SP
20930 * Rules (bench): Echo currently running benchmark.
20931
64aabd4b
SP
20932 * benchtests/Makefile (bench): Add atan and slowatan.
20933 * benchtests/atan-inputs: New file.
20934 * benchtests/slowatan-inputs: New file.
20935 * benchtests/slowatan.c: New file.
20936
c871eccd
SP
20937 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20938 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20939 its value.
20940
d755bba4
SP
20941 [BZ #15305]
20942 * sysdeps/unix/sysv/linux/kernel-features.h
20943 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20944 __ASSUME_XFS_RESTRICTED_CHOWN.
20945 * sysdeps/unix/sysv/linux/pathconf.c
20946 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20947 Save and restore errno.
20948
52ce4860
JM
209492013-04-02 Joseph Myers <joseph@codesourcery.com>
20950
20951 [BZ #15327]
20952 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20953 arguments using __kernel_casinh.
20954 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20955 arguments using __kernel_casinhf.
20956 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20957 arguments using __kernel_casinhl.
20958 * math/libm-test.inc (cacosh_test): Add more tests.
20959 * sysdeps/i386/fpu/libm-test-ulps: Update.
20960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20961
81f311c2
SP
209622013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20963
e7906a47
SP
20964 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20965 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20966
92e3664b
SP
20967 * bench/Makefile (bench): Add sin and slowsin.
20968 * benchtests/sin-inputs: New file.
20969 * benchtests/slowsin-inputs: New file.
20970 * benchtests/slowsin.c: New file.
20971
81f311c2
SP
20972 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20973 (bench): Add slowexp and slowpow.
20974 (exp-ITER): Increase iterations.
20975 (pow-ITER): Likewise.
20976 * benchtests/exp-inputs: Change input.
20977 * benchtests/pow-inputs: Likewise.
20978 * benchtests/slowexp-inputs: New file.
20979 * benchtests/slowexp.c: New file.
20980 * benchtests/slowpow-inputs: New file.
20981 * benchtests/slowpow.c: New file.
20982
ab0f1aa9
AZ
209832013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20984
20985 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20986 instructions.
20987 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20988 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20989 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20990 * benchtests/Makefile: Add rint benchtest.
20991 * benchtests/rint-inputs: Input for rint benchtest.
20992
57267616
TS
209932013-04-02 Thomas Schwinge <thomas@codesourcery.com>
20994
20995 * Versions.def (libm): Add GLIBC_2.18.
20996 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20997 hidden libm prototypes.
20998 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20999 * math/Makefile (libm-calls): Add s_issignaling.
21000 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21001 __issignalingf, __issignalingl. Adjust all libm.abilist files.
21002 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21003 declaration.
21004 * math/math.h [__USE_GNU] (issignaling): New macro.
21005 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21006 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21007 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21008 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21009 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21010 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21011 * manual/arith.texi (issignaling): New section.
21012 * manual/libm-err-tab.pl (@all_functions): Update comment.
21013 * math/gen-libm-test.pl (parse_args): Apply special handling for
21014 issignaling.
21015 * math/libm-test.inc (print_float, issignaling_test): New
21016 functions.
21017 (check_float_internal): Add issignaling checks.
21018 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21019 default definition.
21020 * sysdeps/powerpc/math-tests.h: New file.
21021 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21022 tests.
21023 * math/test-snan.c (TEST_FUNC): Likewise.
21024
6142896d
DM
210252013-03-30 David S. Miller <davem@davemloft.net>
21026
21027 * po/de.po: Update from translation team.
21028
ccc8cadf
JM
210292013-03-30 Joseph Myers <joseph@codesourcery.com>
21030
21031 [BZ #10357]
21032 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21033 imaginary part less than 1.0 and real part less than 0.5
21034 specially.
21035 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21036 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21037 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21038 (cacos_test): Add more tests.
21039 (casin_test): Likewise.
21040 (casinh_test): Likewise.
21041 * sysdeps/i386/fpu/libm-test-ulps: Update.
21042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21043
0f6a8d4b
SP
210442013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21045
0d1029de
SP
21046 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21047 ONE with its value.
21048
c2d94018
SP
21049 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21050 (__pow_mp): Replace ONE and MONE with their values.
21051 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21052 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21053 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21054 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21055 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21056 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21057
27ec37f1
SP
21058 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21059
a64d7e0e
SP
21060 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21061 (__pow_mp): Replace ZERO and MZERO with their values.
21062 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21063 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21064 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21065 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21066 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21067 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21068 (__sqr): Likewise.
21069
d26dd3eb
SP
21070 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21071
0f6a8d4b
SP
21072 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21073
e57b0c61
RM
210742013-03-28 Roland McGrath <roland@hack.frob.com>
21075
21076 * include/stdlib.h [!SHARED] (__call_tls_dtors):
21077 Declare with __attribute__ ((weak)).
21078 * stdlib/exit.c (__libc_atexit) [!SHARED]:
21079 Call __call_tls_dtors only if it's not NULL.
21080
356b3480
RM
210812013-03-28 Roland McGrath <roland@hack.frob.com>
21082
288f7d79
RM
21083 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21084 didn't do it already, then set _dl_phdr and _dl_phnum based on the
21085 magic __ehdr_start linker symbol if it's defined.
21086 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21087 them up here if it was already done.
21088
dc0a0263
RM
21089 * elf/dl-support.c (_dl_phdr): Make pointer to const.
21090 (_dl_aux_init): Use const in cast when setting it.
21091 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21092 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21093 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21094
3d3436ae
RM
21095 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21096 Declare them here.
21097 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21098 * csu/libc-tls.c: Nor here.
21099 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21100
356b3480
RM
21101 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21102 (__libc_message): Never call vsyslog.
21103
b0f1246a
AM
211042013-03-28 Alan Modra <amodra@gmail.com>
21105
21106 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21107 Define as empty.
21108 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21109 Likewise.
21110
fbbe2b9a
AZ
211112013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21112
21113 [BZ #15214]
21114 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21115 underflow.
21116 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21117
1728ab37
SP
211182013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21119
7a86be6e
SP
21120 [BZ #15304]
21121 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21122 Don't add gid passed as argument.
21123
1728ab37
SP
21124 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21125
3a7182a1
JM
211262013-03-27 Joseph Myers <joseph@codesourcery.com>
21127
21128 [BZ #15307]
21129 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21130 imaginary part between 1.0 and 1.5 and real part less than 0.5
21131 specially.
21132 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21133 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21134 * math/libm-test.inc (cacos_test): Add more tests.
21135 (casin_test): Likewise.
21136 (casinh_test): Likewise.
21137 * sysdeps/i386/fpu/libm-test-ulps: Update.
21138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21139
6f2e90e7
SP
211402013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21141
5739f705
SP
21142 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21143 constants.
21144 (norm): Likewise.
21145 (denorm): Likewise.
21146 (__dbl_mp): Likewise.
21147 (add_magnitudes): Likewise.
21148 (sub_magnitudes): Likewise.
21149 (__add): Likewise.
21150 (__sub): Likewise.
21151 (__mul): Likewise.
21152 (__sqr): Likewise.
21153 (__inv): Likewise.
21154 (__dvd): Likewise.
21155
e375e83d
SP
21156 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21157 commented code.
21158 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21159 (__dubcos): Likewise.
21160 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21161 (__ieee754_acos): Likewise.
21162 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21163 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21164 (__exp1): Likewise.
21165 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21166 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21167 (log1): Likewise.
21168 (my_log2): Likewise.
21169 (checkint): Likewise.
21170 * sysdeps/ieee754/dbl-64/e_remainder.c
21171 (__ieee754_remainder): Likewise.
21172 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21173 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21174 (bsloww): Likewise.
21175 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21176
6f2e90e7
SP
21177 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21178 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21179 MANTISSA_STORE_T to store computations on mantissa. Use
21180 macros for rounding and division.
21181 (denorm): Likewise.
21182 (__dbl_mp): Likewise.
21183 (add_magnitudes): Likewise.
21184 (sub_magnitudes): Likewise.
21185 (__mul): Likewise.
21186 (__sqr): Likewise.
21187 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21188 powers of two in terms of TWOPOW macro.
21189 (mp_no): Make type of mantissa as MANTISSA_T.
21190 [!RADIXI]: Define RADIXI.
21191 [!TWO52]: Define TWO52.
21192 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21193
fce14d4e
AZ
211942013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21195
21196 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21197 llroundl symbol when building for PPC32.
21198
9ad027fb
MW
211992013-03-24 Mark H Weaver <mhw@netris.org>
21200
21201 * manual/arith.texi (Normalization Functions): Fix prototypes for
21202 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21203
e42a38dd
AZ
212042013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21205
21206 [BZ #13889]
21207 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21208 high value to check if expl overflow.
21209 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21210 to check for underflow and overflow.
21211 * math/libm-test.inc: Add exp test.
21212
2e0fb521
DL
212132013-03-21 Dmitry V. Levin <ldv@altlinux.org>
21214
21215 [BZ #11120]
21216 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21217 with NOT_IN_libc.
21218
b5784d95
AZ
212192013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21220
21221 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21222 symbol.
21223
5aa4a1a1
TS
212242013-03-21 Thomas Schwinge <thomas@codesourcery.com>
21225
bdef0be7
TS
21226 * math/gen-libm-test.pl (parse_args, special_functions): Properly
21227 wrap blocks consisting of several statements.
21228
5aa4a1a1
TS
21229 * sysdeps/generic/math-tests.h: New file.
21230 * sysdeps/i386/fpu/math-tests.h: Likewise.
21231 * math/test-snan.c: Include it.
21232 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21233
98c48fe5
JM
212342013-03-21 Joseph Myers <joseph@codesourcery.com>
21235
21236 [BZ #15285]
21237 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21238 (__ieee754_j0l): Do not improve calculations using cos of twice
21239 input for inputs above LDBL_MAX / 2.0L.
21240 (__ieee754_y0l): Likewise.
21241 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21242 (__ieee754_j1l): Do not improve calculations using cos of twice
21243 input for inputs above LDBL_MAX / 2.0L.
21244 (__ieee754_y1l): Likewise.
21245 * math/libm-test.inc (j0_test): Add another test.
21246 (j1_test): Likewise.
21247 (y0_test): Likewise.
21248 (y1_test): Likewise.
21249 * sysdeps/i386/fpu/libm-test-ulps: Update.
21250
3775a8bc
SP
212512013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21252
21253 * Rules ($(objpfx)bench-%.c): Include code from a C source
21254 file.
21255
0a1b2ae6
JM
212562013-03-21 Joseph Myers <joseph@codesourcery.com>
21257
21258 [BZ #15287]
21259 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21260 imaginary part 1.0 and real part less than 0.5 specially.
21261 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21262 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21263 * math/libm-test.inc (cacos_test): Add more tests.
21264 (casin_test): Likewise.
21265 (casinh_test): Likewise.
21266 * sysdeps/i386/fpu/libm-test-ulps: Update.
21267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21268
b33d4ce4
SP
212692013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21270
21271 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21272 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21273
bef0b507
JM
212742013-03-20 Joseph Myers <joseph@codesourcery.com>
21275
21276 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21277 * config.make.in (config-cflags-sse4): Remove variable.
21278 (config-cflags-avx): Likewise.
21279 (config-cflags-sse2avx): Likewise.
21280 (config-cflags-novzeroupper): Likewise.
21281 (config-asflags-i686): Likewise.
21282 (have-mfma4): Likewise.
21283 (have-as-vis3): Likewise.
21284 (MIG): Likewise.
21285 * configure.in (MIG): Do not AC_SUBST.
21286 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21287 (libc_cv_cc_sse4): Do not AC_SUBST.
21288 (libc_cv_cc_avx): Likewise.
21289 (libc_cv_cc_sse2avx): Likewise.
21290 (libc_cv_cc_novzeroupper): Likewise.
21291 (libc_cv_cc_fma4): Likewise.
21292 (libc_cv_as_i686): Likewise.
21293 (libc_cv_sparc_as_vis3): Likewise.
21294 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21295 LIBC_CONFIG_VAR.
21296 (config-asflags-i686): Likewise.
21297 (config-cflags-avx): Likewise.
21298 (config-cflags-sse2avx): Likewise.
21299 (have-mfma4): Likewise.
21300 (config-cflags-novzeroupper): Likewise.
21301 * sysdeps/mach/configure.in (MIG): Likewise.
21302 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21303 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21304 LIBC_CONFIG_VAR.
21305 (config-cflags-avx): Likewise.
21306 (config-cflags-sse2avx): Likewise.
21307 (have-mfma4): Likewise.
21308 (config-cflags-novzeroupper): Likewise.
21309 * configure: Regenerated.
21310 * sysdeps/i386/configure: Likewise.
21311 * sysdeps/mach/configure: Likewise.
21312 * sysdeps/sparc/configure: Likewise.
21313 * sysdeps/x86_64/configure: Likewise.
21314
912cc4b3
RM
213152013-03-20 Roland McGrath <roland@hack.frob.com>
21316
21317 [BZ #14812]
21318 * locale/programs/localedef.c (options): Put N_ translation marker
21319 on argument names, not just descriptions.
21320
04eed2b0
MS
213212013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21322
21323 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21324
a065ceff
OB
213252013-03-20 Ondřej Bílka <neleai@seznam.cz>
21326
9bb2a810 21327 [BZ #14176]
a065ceff
OB
21328 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21329
a600e5ce
RM
213302013-03-19 Roland McGrath <roland@hack.frob.com>
21331
21332 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21333 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21334 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21335 [!BEFORE_ABORT] (before_abort): New function.
21336 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21337 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21338 (writev_for_fatal): New function.
21339 (WRITEV_FOR_FATAL): New macro; call that.
21340 (backtrace_and_maps): New function.
21341 (BEFORE_ABORT): New macro; call that.
21342 (struct str_list): Type removed.
21343 (__libc_message, __libc_fatal): Functions removed.
21344 Include <sysdeps/posix/libc_fatal.c> instead.
21345
6b18bea6
JM
213462013-03-19 Joseph Myers <joseph@codesourcery.com>
21347
21348 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21349 constants.
21350 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21351 double constants.
21352
aaa8cb4b
AS
213532013-03-19 Andreas Schwab <schwab@suse.de>
21354
44673770
AS
21355 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21356 * sysdeps/gnu/configure: Regenerate.
21357
aaa8cb4b
AS
21358 * configure.in: Substitute libc_cv_rtlddir.
21359 * configure: Regenerate.
21360 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21361 * Makeconfig (rtlddir, inst_rtlddir): New variables.
21362 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21363 * elf/Makefile (install-others, CFLAGS-interp.c)
21364 (ldso_install, common-ldd-rewrite): Likewise.
21365 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21366 $(inst_slibdir)/$(rtld-installed-name).
21367 * scripts/rellns-sh: Add -p option.
21368 * Makerules (make-shlib-link): Use rellns-sh to get relative name
21369 for source.
21370
d3cfc668
SP
213712013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21372
21373 * manual/nptl.texi: Renamed to ...
21374 * manual/threads.texi: ... this.
21375 * manual/Makefile (chapters): Update.
21376
0e2b9cdd
RM
213772013-03-18 Roland McGrath <roland@hack.frob.com>
21378
21379 [BZ #14812]
21380 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21381 on argument names, not just descriptions.
0e2b9cdd
RM
21382 * malloc/memusagestat.c (options): Likewise.
21383 * nss/getent.c (options): Likewise.
63270c24
RM
21384
213852013-03-18 Benno Schulenberg <bensberg@justemail.net>
21386
21387 [BZ #14812]
21388 * iconv/iconv_prog.c (options): Put N_ translation marker
21389 on argument names, not just descriptions.
21390 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 21391
b2e1393c
OB
213922013-03-18 Ondrej Bilka <neleai@seznam.cz>
21393
21394 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21395 implementation which is faster on all x86_64 architectures.
21396 Tested on AMD, Intel Nehalem, SNB, IVB.
21397 * sysdeps/x86_64/strnlen.S: Likewise.
21398
21399 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21400 Remove all multiarch strlen and strnlen versions.
21401 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21402 Remove strlen and strnlen related parts.
21403
21404 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21405 Inline strlen part.
21406 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21407
21408 * sysdeps/x86_64/multiarch/strlen.S: Remove.
21409 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21410 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21411 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21412 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21413 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21414
ec4ff04d
CD
214152013-03-17 Carlos O'Donell <carlos@redhat.com>
21416
21417 * manual/memory.texi (Malloc Tunable Parameters):
21418 Sort parameters alphabetically. Add comments for missing entries.
21419
cd18e90a
DM
214202013-03-17 David S. Miller <davem@davemloft.net>
21421
21422 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21423
2a185d32
JM
214242013-03-16 Joseph Myers <joseph@codesourcery.com>
21425
d2f9799e
JM
21426 [BZ #15283]
21427 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21428 for arguments at most half maximum finite value.
21429 * math/libm-test.inc (j0_test): Add more tests.
21430 (j1_test): Likewise.
21431 (y0_test): Likewise.
21432 (y1_test): Likewise.
21433 * sysdeps/i386/fpu/libm-test-ulps: Update.
21434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21435
2a185d32
JM
21436 [BZ #14155]
21437 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21438 1 / x and functions P and Q for arguments above 0x1p256L.
21439 (__ieee754_y0l): Likewise.
21440 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21441 (__ieee754_y1l): Likewise.
21442 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21443 (j1_test): Likewise.
21444 (y0_test): Likewise.
21445 (y1_test): Likewise.
21446
6cbec759
TS
214472013-03-16 Thomas Schwinge <thomas@codesourcery.com>
21448
21449 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21450 variable.
21451
bc16e260
RM
214522013-03-15 Roland McGrath <roland@hack.frob.com>
21453
aefc9b8c
RM
21454 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21455 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21456 zero since it's initialized to EXEC_PAGESIZE.
21457
bc16e260
RM
21458 * sysdeps/unix/sysv/linux/ldsodefs.h
21459 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21460 * sysdeps/generic/ldsodefs.h: ... here.
21461
a57da955
TS
214622013-03-15 Thomas Schwinge <thomas@codesourcery.com>
21463
af00a34d
TS
21464 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21465
495ded2c
TS
21466 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21467 math/test-snan.c.
21468 * math/test-snan.c: Renamed from
21469 sysdeps/powerpc/fpu/test-powerpc-snan.c.
21470 * math/Makefile (tests): Add test-snan.
21471 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21472 test-powerpc-snan.
21473
777b0332
TS
21474 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21475 SUFFIX. Initialize qNaN_var with __builtin_nan family of
21476 functions.
21477 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
21478 __builtin_nan family of functions.
21479 * math/libm-test.inc (initialize): Initialize qnan_value with
21480 __builtin_nan family of functions.
21481 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21482 Remove variables.
21483 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21484 Remove functions.
21485 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
21486 storage class. Initialize qNaN_var and sNaN_var with
21487 __builtin_nan and __builtin_nans families of functions,
21488 respectively.
21489
64d063b8
TS
21490 * math/libm-test.inc (acosh_test): Also test with qNaN input.
21491 (sqrt_test): Remove duplicate test with qNaN input.
21492 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21493 (round_test, signbit_test, significand_test): Note missing +/-Inf
21494 as well as qNaN tests.
21495
67e971f1
TS
21496 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21497 qNaN_var. Fix a few strings, too.
21498 * math/libm-test.inc (nan_value): Rename to qnan_value.
21499 * math/gen-libm-test.pl (%beautify): Adjust to that.
21500 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21501 * math/test-misc.c (main): Likewise.
21502 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21503 to __qnan_bytes, and __qnan_union, respectively.
21504 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21505 Likewise.
21506 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21507 and lqnanval, respectively.
21508 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21509 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21510 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21511 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21512
64487e12
TS
21513 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21514 * math/test-misc.c (main) [__x86_64__]: Enable test for long
21515 doubles.
21516
e015e27b
TS
21517 * math/test-misc.c (main): Fix copy'n'pastos.
21518 * misc/tst-efgcvt.c (special): Likewise.
21519
a57da955
TS
21520 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21521 Remove declarations.
21522
1e380345
SP
215232013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21524
21525 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21526 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21527 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21528 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21529
ef26eece
AZ
215302013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21531
21532 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21533 macro to return vdso values correctly in IFUNC implementations.
21534 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21535 Optimization by using IFUNC.
21536
8cfdb7e0
SP
215372013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21538 Richard Henderson <rth@redhat.com>
21539 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21540
21541 * Makefile.in (bench): New target.
21542 * NEWS: Mention the benchmark framework.
21543 * Rules (bench): Likewise.
21544 (binaries-bench): Generate binaries for functions to
21545 benchmark.
21546 * benchtests/Makefile: New makefile for benchmark tests.
21547 * benchtests/bench-skeleton.c: New skeleton file for benchmark
21548 programs.
21549 * benchtests/exp-inputs: New input file for EXP function.
21550 * benchtests/pow-inputs: New input file for POW function.
21551 * scripts/bench.pl: New script to generate source files for
21552 benchmark programs.
21553
bcda9880
SP
215542013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21555
d22ca8cd
SP
21556 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21557 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21558 computations on mantissa. Use macros for rounding and
21559 division.
21560 (denorm): Likewise.
21561 (__dbl_mp): Likewise.
21562 (add_magnitudes): Likewise.
21563 (sub_magnitudes): Likewise.
21564 (__mul): Likewise.
21565 (__sqr): Likewise.
21566 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21567 powers of two in terms of TWOPOW macro.
21568 (mp_no): Make type of mantissa as MANTISSA_T.
21569 [!RADIXI]: Define RADIXI.
21570 [!TWO52]: Define TWO52.
21571 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21572
bcda9880
SP
21573 * manual/nptl.texi (cindex): Modify threads to pthreads.
21574
06d5adfb
JM
215752013-03-15 Joseph Myers <joseph@codesourcery.com>
21576
21577 * sysdeps/x86_64/preconfigure: Regenerated.
21578
41c7328e
JM
215792013-03-14 Joseph Myers <joseph@codesourcery.com>
21580
21581 [BZ #14155]
21582 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21583 0x1p28 and above.
21584 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21585 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21586 0x1p28 and above.
21587 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21588 * math/libm-test.inc (j0_test): Do not allow one spurious
21589 underflow exception.
21590 (y1_test): Likewise.
21591
e25cfa60
SP
215922013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21593
0409959c
SP
21594 * manual/Makefile (chapters): Add nptl.
21595 * manual/debug.texi (Debugging Support): Add link to Threads
21596 chapter.
21597 * manual/nptl.texi: New file.
21598
e25cfa60
SP
21599 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21600
58a1335e
PB
216012013-03-14 Petr Baudis <pasky@ucw.cz>
21602
21603 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21604 for non-NULL pointer before the memory validity test. Pointed
21605 out by Holger Brunck <holger.brunck@keymile.com>.
21606
9dc7c64f
AS
216072013-03-13 Andreas Schwab <schwab@suse.de>
21608
21609 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21610 instead of .os.
21611
54206aa6
JM
216122013-03-13 Joseph Myers <joseph@codesourcery.com>
21613
21614 * timezone/zic.c: Update from tzcode 2013b.
21615
e98cdb38
CD
216162013-03-12 Carlos O'Donell <carlos@redhat.com>
21617
21618 * manual/install.texi (Configuring and compiling):
21619 Mention i686 and i586.
21620 * INSTALL: Regenerate.
21621
9967e003
RM
216222013-03-12 Roland McGrath <roland@hack.frob.com>
21623
21624 * sysdeps/init_array/elf-init.c: New file.
21625 * csu/elf-init.c
21626 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21627 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21628
21629 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21630 __gmon_start__ as global, but as static with a .preinit_array pointer.
21631 * sysdeps/init_array/gmon-start.c: New file. Use that.
21632 * sysdeps/init_array/crti.S: New file, empty except for comments.
21633 * sysdeps/init_array/crtn.S: Likewise.
21634
e6b5a293 216352013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
21636
21637 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21638 definining bcopy.
80f844c9
OB
21639 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21640 Remove Prefer_SSE_for_memop.
21641 * sysdeps/x86_64/multiarch/init-arch.h: Remove
21642 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21643 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
21644 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21645 memset-x86-64.
80f844c9 21646 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 21647 Remove bzero, memset ifunc support.
80f844c9
OB
21648 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21649 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21650 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21651 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21652
fb6b0fcb
AS
216532013-03-11 Andreas Schwab <schwab@suse.de>
21654
21655 [BZ #15234]
21656 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21657 by SHLIB_COMPAT.
21658 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21659 (GLIBC_2.16): Remove pthread_atfork.
21660
3e6bd4b1
PP
216612013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
21662
21663 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21664 (ptestcases.h): Likewise.
21665
222d7f00
RM
216662013-03-08 Roland McGrath <roland@hack.frob.com>
21667
21668 * Makeconfig ($(common-objpfx)config.status): Depend on
21669 sysdeps/*/preconfigure{,.in} too.
21670
1ba4f030
JM
216712013-03-08 Joseph Myers <joseph@codesourcery.com>
21672
a222d91a
JM
21673 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21674 (__free_hook): Use void * instead of __malloc_ptr_t.
21675 (__malloc_hook): Likewise.
21676 (__realloc_hook): Likewise.
21677 (__memalign_hook): Likewise.
21678 (__after_morecore_hook): Likewise.
21679 * malloc/arena.c (save_malloc_hook): Likewise.
21680 (save_free_hook): Likewise.
21681 * malloc/hooks.c (malloc_hook_ini): Likewise.
21682 (realloc_hook_ini): Likewise.
21683 (memalign_hook_ini): Likewise.
21684 * malloc/malloc.c (malloc_hook_ini): Likewise.
21685 (realloc_hook_ini): Likewise.
21686 (memalign_hook_ini): Likewise.
21687 (__free_hook): Likewise.
21688 (__malloc_hook): Likewise.
21689 (__realloc_hook): Likewise.
21690 (__memalign_hook): Likewise.
21691 (__libc_malloc): Likewise.
21692 (__libc_free): Likewise.
21693 (__libc_realloc): Likewise.
21694 (__libc_memalign): Likewise.
21695 (__libc_valloc): Likewise.
21696 (__libc_pvalloc): Likewise.
21697 (__libc_calloc): Likewise.
21698 (__posix_memalign): Likewise.
21699 * malloc/morecore.c (__sbrk): Likewise.
21700 (__default_morecore): Likewise.
21701
5cc45e10
JM
21702 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21703
dd54b864
JM
21704 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21705 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21706 __malloc_ptrdiff_t.
21707
1ba4f030
JM
21708 * malloc/malloc.h (__malloc_size_t): Remove macro.
21709 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21710 __malloc_size_t.
21711 (old_memalign_hook): Likewise.
21712 (old_realloc_hook): Likewise.
21713 (struct hdr): Likewise.
21714 (flood): Likewise.
21715 (mallochook): Likewise.
21716 (memalignhook): Likewise.
21717 (reallochook): Likewise.
21718 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21719 (tr_old_realloc_hook): Likewise.
21720 (tr_old_memalign_hook): Likewise.
21721 (tr_mallochook): Likewise.
21722 (tr_reallochook): Likewise.
21723 (tr_memalignhook): Likewise.
21724
edf66e57
AZ
217252013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21726
21727 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21728 default_ldbl_pack and using as default implementation.
21729 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21730 implementation.
21731 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21732 redundant definition.
21733 (ldbl_insert_mantissa): Likewise.
21734 (ldbl_canonicalize): Likewise.
21735 (ldbl_nearbyint): Likewise.
21736 (ldbl_pack): Rename to ldbl_pack_ppc.
21737 (ldbl_unpack): Rename to ldbl_unpack_ppc.
21738 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21739 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21740
6d9145d8
SP
217412013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21742
21743 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21744 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21745 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21746 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21747 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21748 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21749 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21750 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21751
4dd4e157
AJ
217522013-03-07 Andreas Jaeger <aj@suse.de>
21753
21754 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21755 bits/mman-linux.h.
21756
adbb8027
SP
217572013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21758
ce544b5b
SP
21759 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21760 Include mpa.h and declare __MPEXP.
21761 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21762 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21763 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21764 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21765 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21766 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21767 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21768
4cc149fd
SP
21769 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21770 (__slowpow): Use long double EXPL and LOGL functions to
21771 compute POW.
21772 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21773 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21774 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21775 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21776 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21777 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21778
e6ebd4a7
SP
21779 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21780 intermediate variable to calculate exponent.
21781 (__sqr): Likewise.
21782 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21783 Likewise.
21784 (__sqr): Likewise.
21785
82a9811d
SP
21786 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21787 [!NO__SQR]: Define __sqr.
21788 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21789 and NO__SQR. Remove all code except __mul and __sqr. Include
21790 sysdeps/ieee754/dbl-64/mpa.c.
21791 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21792
adbb8027
SP
21793 [BZ #12723]
21794 * posix/Makefile (tests): Add tst-pathconf.
21795 * posix/tst-pathconf.c: New test case.
21796 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21797 _PC_PIPE_BUF.
21798 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21799
39120df9
PF
218002013-03-06 Patsy Franklin <pfrankli@redhat.com>
21801
21802 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21803
67525cb8
AJ
218042013-03-06 Andreas Jaeger <aj@suse.de>
21805
664a9ce4
AJ
21806 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21807 definition via __MAP_ANONYMOUS.
21808
8e39047d
AJ
21809 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21810 it's not part of Linux headers.
21811
67525cb8
AJ
21812 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21813 (MAP_HUGE_MASK): Define.
21814
21815 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21816 Define.
21817 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21818 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21819 Define.
21820 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21821 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21822 Define.
21823 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21824 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21825 Define.
21826 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21827
21828 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21829 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21830 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21831 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21832 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21833 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21834
21835 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21836 Handle f2fs.
21837
21838 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21839 Handle f2fs and efivarfs.
21840
21841 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21842 f2fs.
21843
21844 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21845 (EFIVARFS_MAGIC): Add.
21846 (F2FS_LINK_MAX): Add.
21847
e1b42695
PP
218482013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21849
21850 * stdio-common/vfprintf.c: Replace __builtin_expect with
21851 __glibc_unlikely.
21852
2d67d91a
JM
218532013-03-06 Joseph Myers <joseph@codesourcery.com>
21854
21855 [BZ #13550]
21856 * sysdeps/generic/bp-sym.h: Remove file.
21857 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21858 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21859 <bp-sym.h> and <bp-asm.h>.
21860 (__longjmp): Don't use BP_SYM.
21861 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21862 and <bp-asm.h>.
21863 (memcpy): Don't use BP_SYM.
21864 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21865 <bp-sym.h> and <bp-asm.h>.
21866 (memcpy): Don't use BP_SYM.
21867 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21868 <bp-asm.h>.
21869 (memcpy): Don't use BP_SYM.
21870 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21871 <bp-asm.h>.
21872 (memset): Don't use BP_SYM.
21873 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21874 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21875 (__bzero): Don't use BP_SYM.
21876 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21877 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21878 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21879 <bp-sym.h> and <bp-asm.h>.
21880 (memcmp): Don't use BP_SYM. Remove comment about bounded
21881 pointers.
21882 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21883 <bp-sym.h> and <bp-asm.h>.
21884 (memcpy): Don't use BP_SYM.
21885 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21886 <bp-sym.h> and <bp-asm.h>.
21887 (memset): Don't use BP_SYM.
21888 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21889 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21890 (__bzero): Don't use BP_SYM.
21891 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21892 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21893 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21894 <bp-sym.h> and <bp-asm.h>.
21895 (strncmp): Don't use BP_SYM. Remove comment about bounded
21896 pointers.
21897 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21898 <bp-sym.h> and <bp-asm.h>.
21899 (memcpy): Don't use BP_SYM.
21900 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21901 <bp-sym.h> and <bp-asm.h>.
21902 (memset): Don't use BP_SYM.
21903 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21904 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21905 (__bzero): Don't use BP_SYM.
21906 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21907 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21908 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21909 <bp-sym.h> and <bp-asm.h>.
21910 (__memchr): Don't use BP_SYM.
21911 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21912 <bp-sym.h> and <bp-asm.h>.
21913 (memcmp): Don't use BP_SYM. Remove comment about bounded
21914 pointers.
21915 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21916 <bp-sym.h> and <bp-asm.h>.
21917 (memcpy): Don't use BP_SYM.
21918 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21919 <bp-sym.h> and <bp-asm.h>.
21920 (__mempcpy): Don't use BP_SYM.
21921 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21922 <bp-sym.h> and <bp-asm.h>.
21923 (__memrchr): Don't use BP_SYM.
21924 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21925 <bp-sym.h> and <bp-asm.h>.
21926 (memset): Don't use BP_SYM.
21927 (__bzero): Likewise.
21928 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21929 <bp-sym.h> and <bp-asm.h>.
21930 (__rawmemchr): Don't use BP_SYM.
21931 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21932 <bp-sym.h> and <bp-asm.h>.
21933 (__STRCMP): Don't use BP_SYM.
21934 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21935 <bp-sym.h> and <bp-asm.h>.
21936 (strchr): Don't use BP_SYM.
21937 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21938 <bp-sym.h> and <bp-asm.h>.
21939 (__strchrnul): Don't use BP_SYM.
21940 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21941 <bp-sym.h> and <bp-asm.h>.
21942 (strlen): Don't use BP_SYM.
21943 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21944 <bp-sym.h> and <bp-asm.h>.
21945 (strncmp): Don't use BP_SYM. Remove comment about bounded
21946 pointers.
21947 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21948 <bp-sym.h> and <bp-asm.h>.
21949 (__strnlen): Don't use BP_SYM.
21950 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21951 <bp-sym.h> and <bp-asm.h>.
21952 (__GI__setjmp): Don't use BP_SYM.
21953 (_setjmp): Likewise.
21954 (__sigsetjmp): Likewise.
21955 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21956 (L(start_addresses)): Don't use BP_SYM.
21957 (_start): Likewise.
21958 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21959 <bp-asm.h>.
21960 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21961 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21962 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21963 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21964 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21965 <bp-asm.h>.
21966 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21967 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
21968 about bounded pointers.
21969 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21970 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21971 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21972 <bp-asm.h>.
21973 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21974 about bounded pointers. Remove GKM FIXME comments.
21975 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21976 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21977 <bp-asm.h>.
21978 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21979 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
21980 Remove GKM FIXME comments.
21981 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21982 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21983 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21984 <bp-asm.h>.
21985 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21986 about bounded pointers. Remove GKM FIXME comment.
21987 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21988 and <bp-asm.h>.
21989 (strncmp): Don't use BP_SYM. Remove comment about bounded
21990 pointers.
21991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21992 <bp-sym.h> and <bp-asm.h>.
21993 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21995 <bp-sym.h> and <bp-asm.h>.
21996 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21997 comment.
21998
cdcf361f
PP
219992013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22000
22001 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22002 call free(NULL).
22003
3c4a2b15
DM
220042013-03-05 David S. Miller <davem@davemloft.net>
22005
22006 * po/es.po: Update from translation team.
22007
cdcf361f 220082013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
22009
22010 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22011 <bits/mman-linux.h>.
22012 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22013 is fine.
22014 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22015 <bits/mman-linux.h> to end of file.
22016 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22017 is fine.
22018 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22019 <bits/mman-linux.h> to end of file.
22020 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22021 is fine.
22022 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22023 <bits/mman-linux.h> to end of file.
22024
22025 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22026 (MCL_CURRENT, MCL_FUTURE): Define here.
22027
5f67c04f
AK
220282013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22029
8a4473cc 22030 [BZ #15232]
5f67c04f
AK
22031 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22032 attribute_hidden.
22033 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22034
c3e94a95
AK
220352013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22036
22037 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22038 fourth parameter needed for rt_sigprocmask syscall.
22039 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22040 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22041 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22042 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22043 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22044 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22045
cfb6382a
JM
220462013-03-04 Joseph Myers <joseph@codesourcery.com>
22047
22048 [BZ #13550]
22049 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22050 comment about bounded pointers.
22051 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22052 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22053
539d8e01
AJ
220542013-03-04 Andreas Jaeger <aj@suse.de>
22055
22056 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22057 common definitions.
22058
22059 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22060 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22061 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22062 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22063 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
22064 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22065
2e167a70 220662013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
22067
22068 [BZ #15055]
22069 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22070 __ieee754_sqrl instead of __sqrl.
22071
68508633
JM
220722013-03-01 Joseph Myers <joseph@codesourcery.com>
22073
22074 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22075 * sysdeps/powerpc/fpu_control.h: ... here.
22076 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22077 * sysdeps/powerpc/bits/fenvinline.h: ... here.
22078 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22079 * sysdeps/powerpc/bits/mathinline.h: ... here.
22080
7775448e
RM
220812013-03-01 Roland McGrath <roland@hack.frob.com>
22082
22083 * elf/dl-hwcaps.c (_dl_important_hwcaps):
22084 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22085 to just [NEED_DL_SYSINFO_DSO].
22086 * elf/dl-support.c: Likewise.
22087 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22088 * elf/rtld.c (dl_main): Likewise.
22089 * elf/setup-vdso.h (setup_vdso): Likewise.
22090 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22091 * sysdeps/unix/sysv/linux/dl-sysdep.c
22092 (_dl_discover_osversion): Likewise.
22093
4e9b5995
CD
220942013-03-01 Carlos O'Donell <carlos@redhat.com>
22095
22096 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22097 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22098
e23872c8
SP
220992013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
22100
e5c74c63
SP
22101 * NEWS: Mention libm performance improvements and non-x86 PI
22102 futex support.
22103
e23872c8
SP
22104 * csu/libc-start.c (__pthread_initialize_minimal): Change
22105 function arguments.
22106 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22107
b5510883
JM
221082013-02-28 Joseph Myers <joseph@codesourcery.com>
22109
22110 [BZ #13550]
22111 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22112 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22113 <bp-sym.h> and <bp-asm.h>.
22114 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22115 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22116 and <bp-asm.h>.
22117 (memcpy): Don't use BP_SYM.
22118 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22119 <bp-asm.h>.
22120 (__mpn_add_n): Don't use BP_SYM.
22121 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22122 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22123 and <bp-asm.h>.
22124 (__mpn_addmul_1): Don't use BP_SYM.
22125 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22126 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22127 <bp-sym.h>.
22128 (_setjmp): Don't use BP_SYM.
22129 (__novmx_setjmp): Likewise.
22130 (__GI__setjmp): Likewise.
22131 (__vmx_setjmp): Likewise.
22132 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22133 <bp-sym.h>.
22134 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22135 (__bzero): Don't use BP_SYM.
22136 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22137 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22138 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22139 <bp-sym.h> and <bp-asm.h>.
22140 (memcpy): Don't use BP_SYM.
22141 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22142 <bp-sym.h> and <bp-asm.h>.
22143 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22144 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22145 <bp-sym.h> and <bp-asm.h>.
22146 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22147 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22148 <bp-asm.h>.
22149 (__mpn_lshift): Don't use BP_SYM.
22150 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22151 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22152 <bp-asm.h>.
22153 (memset): Don't use BP_SYM.
22154 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22155 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22156 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22157 <bp-asm.h>.
22158 (__mpn_mul_1): Don't use BP_SYM.
22159 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22160 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22161 <bp-sym.h> and <bp-asm.h>.
22162 (memcmp): Don't use BP_SYM.
22163 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22164 <bp-sym.h> and <bp-asm.h>.
22165 (memcpy): Don't use BP_SYM.
22166 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22167 <bp-sym.h> and <bp-asm.h>.
22168 (memset): Don't use BP_SYM.
22169 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22170 <bp-sym.h> and <bp-asm.h>.
22171 (strncmp): Don't use BP_SYM.
22172 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22173 <bp-sym.h> and <bp-asm.h>.
22174 (memcpy): Don't use BP_SYM.
22175 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22176 <bp-sym.h> and <bp-asm.h>.
22177 (memset): Don't use BP_SYM.
22178 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22179 <bp-sym.h> and <bp-asm.h>.
22180 (__memchr): Don't use BP_SYM.
22181 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22182 <bp-sym.h> and <bp-asm.h>.
22183 (memcmp): Don't use BP_SYM.
22184 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22185 <bp-sym.h> and <bp-asm.h>.
22186 (memcpy): Don't use BP_SYM.
22187 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22188 <bp-sym.h> and <bp-asm.h>.
22189 (__mempcpy): Don't use BP_SYM.
22190 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22191 <bp-sym.h> and <bp-asm.h>.
22192 (__memrchr): Don't use BP_SYM.
22193 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22194 <bp-sym.h> and <bp-asm.h>.
22195 (memset): Don't use BP_SYM.
22196 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22197 <bp-sym.h> and <bp-asm.h>.
22198 (__rawmemchr): Don't use BP_SYM.
22199 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22200 <bp-sym.h> and <bp-asm.h>.
22201 (__STRCMP): Don't use BP_SYM.
22202 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22203 <bp-sym.h> and <bp-asm.h>.
22204 (strchr): Don't use BP_SYM.
22205 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22206 <bp-sym.h> and <bp-asm.h>.
22207 (__strchrnul): Don't use BP_SYM.
22208 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22209 <bp-sym.h> and <bp-asm.h>.
22210 (strlen): Don't use BP_SYM.
22211 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22212 <bp-sym.h> and <bp-asm.h>.
22213 (strncmp): Don't use BP_SYM.
22214 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22215 <bp-sym.h> and <bp-asm.h>.
22216 (__strnlen): Don't use BP_SYM.
22217 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22218 <bp-asm.h>.
22219 (__mpn_rshift): Don't use BP_SYM.
22220 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22221 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22222 <bp-sym.h> and <bp-asm.h>.
22223 (__sigsetjmp): Don't use BP_SYM.
22224 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22225 (L(start_addresses)): Don't use BP_SYM.
22226 (_start): Likewise.
22227 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22228 <bp-asm.h>.
22229 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22230 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22231 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22232 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22233 <bp-asm.h>.
22234 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22235 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22236 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22237 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22238 <bp-asm.h>.
22239 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22240 comments.
22241 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22242 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22243 <bp-asm.h>.
22244 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
22245 FIXME comments.
22246 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22247 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22248 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22249 <bp-asm.h>.
22250 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22251 comment.
22252 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22253 and <bp-asm.h>.
22254 (strncmp): Don't use BP_SYM,
22255 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22256 <bp-asm.h>.
22257 (__mpn_sub_n): Don't use BP_SYM.
22258 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22259 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22260 and <bp-asm.h>.
22261 (__mpn_submul_1): Don't use BP_SYM.
22262 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22264 <bp-sym.h> and <bp-asm.h>.
22265 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22267 <bp-sym.h> and <bp-asm.h>.
22268 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22269 comment.
22270
8d19fe64
SP
222712013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22272
22273 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22274 Use ZK to minimize writes to Z.
22275 (sub_magnitudes): Simplify code a bit.
22276 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22277 Use ZK to minimize writes to Z.
22278 (sub_magnitudes): Simplify code a bit.
22279
85bd816a
RM
222802013-02-27 Roland McGrath <roland@hack.frob.com>
22281
22282 * csu/gmon-start.c: Add special exception to license text.
22283
b5977bf2
RH
222842013-02-27 Richard Henderson <rth@redhat.com>
22285
22286 * scripts/config.guess: Update from config.git.
22287 * scripts/config.sub: Likewise.
22288
11d6e2f2
SP
222892013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22290
09c14ed2
SP
22291 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22292
a688864e
SP
22293 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22294
6295157a
SP
22295 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22296
b8de2202
SP
22297 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22298
11d6e2f2
SP
22299 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22300
7e80ddb8
RM
223012013-02-26 Roland McGrath <roland@hack.frob.com>
22302
22303 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22304 [$(build-shared = yes].
7e80ddb8 22305
7da6d9ed
SP
223062013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22307
45f05884
SP
22308 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22309 (__mul): Reduce iterations for calculating mantissa.
22310
2236d359
SP
22311 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22312 MPTWO.
22313 (__mpranred): Likewise.
22314
7da6d9ed
SP
22315 [BZ #15160]
22316 * malloc/memusagestat.c (main): Draw graphs for heap and stack
22317 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22318
b7688c42
PE
223192013-02-26 Paul Eggert <eggert@cs.ucla.edu>
22320
22321 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22322 Define __attribute__.
22323
53a5c423
SP
223242013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22325
22326 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22327 unused.
22328 * posix/regex_internal.h (__attribute): Remove.
22329 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22330 (re_string_context_at): Likewise.
22331 (bitset_not): Use __attribute__ and mark function as possibly
22332 unused.
22333 (bitset_merge): Likewise.
22334 (bitset_mask): Likewise.
22335 (re_string_char_size_at): Likewise.
22336 (re_string_wchar_at): Likewise.
22337 (re_string_elem_size_at): Likewise.
22338
60f5a8b5
SP
223392013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22340
2a983a2e
SP
22341 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22342 code.
22343 (cc32): Likewise.
22344
e69804d1
SP
22345 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22346 (__acr): Likewise.
22347 (__cpy): Likewise.
22348 (norm): Likewise.
22349 (denorm): Likewise.
22350 (__dbl_mp): Likewise.
22351 (add_magnitudes): Likewise.
22352 (sub_magnitudes): Likewise.
22353 (__mul): Likewise.
22354 (__inv): Likewise.
22355
2f22a1e8
SP
22356 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22357 style.
22358
8930ddc7
SP
22359 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22360 style.
22361
dc60cb11
SP
22362 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22363 code.
22364
60f5a8b5
SP
22365 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22366 up changes with default code.
22367 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22368 Likewise.
22369
b4d1fd33
AM
223702013-02-24 Allan McRae <allan@archlinux.org>
22371
faf6f8bc
AM
22372 * manual/socket.texi (The Internet Namespace): Order menu items
22373 to match that in the file.
22374
b4d1fd33
AM
22375 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22376 node listing of the info page menu.
22377
2366713d
JM
223782013-02-21 Joseph Myers <joseph@codesourcery.com>
22379
22380 [BZ #13550]
22381 * sysdeps/i386/bp-asm.h: Remove file.
22382 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22383 (PARMS): Do not use macros from bp-asm.h.
22384 (S1): Likewise.
22385 (S2): Likewise.
22386 (SIZE): Likewise.
22387 (__mpn_add_n): Do not use BP_SYM
22388 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22389 "bp-asm.h".
22390 (PARMS): Do not use macros from bp-asm.h.
22391 (S1): Likewise.
22392 (SIZE): Likewise.
22393 (__mpn_addmul_1): Do not use BP_SYM
22394 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22395 "bp-asm.h".
22396 (PARMS): Do not use macros from bp-asm.h.
22397 (SIGMSK): Likewise.
22398 (_setjmp): Likewise. Do not use BP_SYM.
22399 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22400 "bp-asm.h".
22401 (PARMS): Do not use macros from bp-asm.h.
22402 (SIGMSK): Likewise.
22403 (setjmp): Likewise. Do not use BP_SYM.
22404 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22405 "bp-asm.h".
22406 (PARMS): Do not use macros from bp-asm.h.
22407 (__frexp): Do not use BP_SYM.
22408 (frexp): Likewise.
22409 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22410 "bp-asm.h".
22411 (PARMS): Do not use macros from bp-asm.h.
22412 (__frexpf): Do not use BP_SYM.
22413 (frexpf): Likewise.
22414 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22415 "bp-asm.h".
22416 (PARMS): Do not use macros from bp-asm.h.
22417 (__frexpl): Do not use BP_SYM.
22418 (frexpl): Likewise.
22419 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22420 "bp-asm.h".
22421 (PARMS): Do not use macros from bp-asm.h.
22422 (__remquo): Do not use BP_SYM.
22423 (remquo): Likewise.
22424 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22425 "bp-asm.h".
22426 (PARMS): Do not use macros from bp-asm.h.
22427 (__remquof): Do not use BP_SYM.
22428 (remquof): Likewise.
22429 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22430 "bp-asm.h".
22431 (PARMS): Do not use macros from bp-asm.h.
22432 (__remquol): Do not use BP_SYM.
22433 (remquol): Likewise.
22434 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22435 "bp-asm.h".
22436 (PARMS): Do not use macros from bp-asm.h.
22437 (DEST): Likewise.
22438 (SRC): Likewise.
22439 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
22440 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22441 "bp-asm.h".
22442 (PARMS): Do not use macros from bp-asm.h.
22443 (strlen): Do not use BP_SYM.
22444 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22445 "bp-asm.h".
22446 (PARMS): Do not use macros from bp-asm.h.
22447 (S1): Likewise.
22448 (S2): Likewise.
22449 (SIZE): Likewise.
22450 (__mpn_add_n): Do not use BP_SYM.
22451 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22452 "bp-asm.h".
22453 (PARMS): Do not use macros from bp-asm.h.
22454 (S1): Likewise.
22455 (SIZE): Likewise.
22456 (__mpn_addmul_1): Do not use BP_SYM.
22457 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22458 weak_alias.
22459 (bzero): Likewise.
22460 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22461 "bp-asm.h".
22462 (PARMS): Do not use macros from bp-asm.h.
22463 (S): Likewise.
22464 (SIZE): Likewise.
22465 (__mpn_lshift): Do not use BP_SYM.
22466 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22467 "bp-asm.h".
22468 (PARMS): Do not use macros from bp-asm.h.
22469 (DEST): Likewise.
22470 (SRC): Likewise.
22471 (LEN): Likewise.
22472 (memcpy): Likewise. Do not use BP_SYM.
22473 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22474 libc_hidden_def and weak_alias.
22475 (mempcpy): Do not use BP_SYM in weak_alias.
22476 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22477 "bp-asm.h".
22478 (PARMS): Do not use macros from bp-asm.h.
22479 (DEST): Likewise.
22480 (LEN): Likewise.
22481 [!BZERO_P] (CHR): Likewise.
22482 (memset): Likewise. Do not use BP_SYM.
22483 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22484 "bp-asm.h".
22485 (PARMS): Do not use macros from bp-asm.h.
22486 (S1): Likewise.
22487 (SIZE): Likewise.
22488 (__mpn_mul_1): Do not use BP_SYM.
22489 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22490 "bp-asm.h".
22491 (PARMS): Do not use macros from bp-asm.h.
22492 (S): Likewise.
22493 (SIZE): Likewise.
22494 (__mpn_rshift): Do not use BP_SYM.
22495 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22496 "bp-asm.h".
22497 (PARMS): Do not use macros from bp-asm.h.
22498 (STR): Likewise.
22499 (CHR): Likewise.
22500 (strchr): Likewise. Do not use BP_SYM.
22501 (index): Do not use BP_SYM in weak_alias.
22502 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22503 "bp-asm.h".
22504 (PARMS): Do not use macros from bp-asm.h.
22505 (DEST): Likewise.
22506 (SRC): Likewise.
22507 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
22508 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22509 "bp-asm.h".
22510 (PARMS): Do not use macros from bp-asm.h.
22511 (strlen): Do not use BP_SYM.
22512 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22513 "bp-asm.h".
22514 (PARMS): Do not use macros from bp-asm.h.
22515 (S1): Likewise.
22516 (S2): Likewise.
22517 (SIZE): Likewise.
22518 (__mpn_sub_n): Do not use BP_SYM.
22519 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22520 "bp-asm.h".
22521 (PARMS): Do not use macros from bp-asm.h.
22522 (S1): Likewise.
22523 (SIZE): Likewise.
22524 (__mpn_submul_1): Do not use BP_SYM.
22525 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22526 "bp-asm.h".
22527 (PARMS): Do not use macros from bp-asm.h.
22528 (S1): Likewise.
22529 (S2): Likewise.
22530 (SIZE): Likewise.
22531 (__mpn_add_n): Do not use BP_SYM.
22532 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22533 weak_alias.
22534 (bzero): Likewise.
22535 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22536 "bp-asm.h".
22537 (PARMS): Do not use macros from bp-asm.h.
22538 (BLK2): Likewise.
22539 (LEN): Likewise.
22540 (memcmp): Do not use BP_SYM.
22541 (bcmp): Do not use BP_SYM in weak_alias.
22542 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22543 "bp-asm.h".
22544 (PARMS): Do not use macros from bp-asm.h.
22545 (DEST): Likewise.
22546 (SRC): Likewise.
22547 (LEN): Likewise.
22548 (memcpy): Likewise. Do not use BP_SYM.
22549 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22550 "bp-asm.h".
22551 (PARMS): Do not use macros from bp-asm.h.
22552 (DEST): Likewise.
22553 (SRC): Likewise.
22554 (LEN): Likewise.
22555 (memmove): Likewise. Do not use BP_SYM.
22556 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22557 "bp-asm.h".
22558 (PARMS): Do not use macros from bp-asm.h.
22559 (DEST): Likewise.
22560 (SRC): Likewise.
22561 (LEN): Likewise.
22562 (__mempcpy): Likewise. Do not use BP_SYM.
22563 (mempcpy): Do not use BP_SYM in weak_alias.
22564 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22565 "bp-asm.h".
22566 (PARMS): Do not use macros from bp-asm.h.
22567 (DEST): Likewise.
22568 (LEN): Likewise.
22569 [!BZERO_P] (CHR): Likewise.
22570 (memset): Likewise. Do not use BP_SYM.
22571 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22572 "bp-asm.h".
22573 (PARMS): Do not use macros from bp-asm.h.
22574 (STR2): Likewise.
22575 (strcmp): Do not use BP_SYM.
22576 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22577 "bp-asm.h".
22578 (PARMS): Do not use macros from bp-asm.h.
22579 (STR): Likewise.
22580 (DELIM): Likewise.
22581 [USE_AS_STRTOK_R] (SAVE): Likewise.
22582 (FUNCTION): Likewise. Do not use BP_SYM.
22583 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22584 aliases.
22585 (strtok_r): Likewise.
22586 (__GI___strtok_r): Likewise.
22587 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22588 (PARMS): Do not use macros from bp-asm.h.
22589 (S): Likewise.
22590 (SIZE): Likewise.
22591 (__mpn_lshift): Do not use BP_SYM.
22592 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22593 (PARMS): Do not use macros from bp-asm.h.
22594 (STR): Likewise.
22595 (CHR): Likewise.
22596 (__memchr): Do not use BP_SYM.
22597 (memchr): Do not use BP_SYM in weak_alias.
22598 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22599 (PARMS): Do not use macros from bp-asm.h.
22600 (BLK2): Likewise.
22601 (LEN): Likewise.
22602 (memcmp): Do not use BP_SYM.
22603 (bcmp): Do not use BP_SYM in weak_alias.
22604 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22605 (PARMS): Do not use macros from bp-asm.h.
22606 (S1): Likewise.
22607 (SIZE): Likewise.
22608 (__mpn_mul_1): Do not use BP_SYM.
22609 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22610 "bp-asm.h".
22611 (PARMS): Do not use macros from bp-asm.h.
22612 (STR): Likewise.
22613 (CHR): Likewise.
22614 (__rawmemchr): Do not use BP_SYM.
22615 (rawmemchr): Do not use BP_SYM in weak_alias.
22616 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22617 (PARMS): Do not use macros from bp-asm.h.
22618 (S): Likewise.
22619 (SIZE): Likewise.
22620 (__mpn_rshift): Do not use BP_SYM.
22621 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22622 (PARMS): Do not use macros from bp-asm.h.
22623 (SIGMSK): Likewise.
22624 (__sigsetjmp): Likewise. Do not use BP_SYM.
22625 * sysdeps/i386/start.S: Do not include "bp-sym.h".
22626 (_start): Do not use BP_SYM.
22627 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22628 (PARMS): Do not use macros from bp-asm.h.
22629 (DEST): Likewise.
22630 (SRC): Likewise.
22631 (__stpcpy): Likewise. Do not use BP_SYM.
22632 (stpcpy): Do not use BP_SYM in weak_alias.
22633 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22634 "bp-asm.h".
22635 (PARMS): Do not use macros from bp-asm.h.
22636 (DEST): Likewise.
22637 (SRC): Likewise.
22638 (LEN): Likewise.
22639 (__stpncpy): Likewise. Do not use BP_SYM.
22640 (stpncpy): Do not use BP_SYM in weak_alias.
22641 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22642 (PARMS): Do not use macros from bp-asm.h.
22643 (STR): Likewise.
22644 (CHR): Likewise.
22645 (strchr): Likewise. Do not use BP_SYM.
22646 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22647 "bp-asm.h".
22648 (PARMS): Do not use macros from bp-asm.h.
22649 (STR): Likewise.
22650 (CHR): Likewise.
22651 (__strchrnul): Likewise. Do not use BP_SYM.
22652 (strchrnul): Do not use BP_SYM in weak_alias.
22653 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22654 "bp-asm.h".
22655 (PARMS): Do not use macros from bp-asm.h.
22656 (STOP): Likewise.
22657 (strcspn): Do not use BP_SYM.
22658 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22659 "bp-asm.h".
22660 (PARMS): Do not use macros from bp-asm.h.
22661 (STR): Likewise.
22662 (STOP): Likewise.
22663 (strpbrk): Likewise. Do not use BP_SYM.
22664 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22665 "bp-asm.h".
22666 (PARMS): Do not use macros from bp-asm.h.
22667 (STR): Likewise.
22668 (CHR): Likewise.
22669 (strrchr): Likewise. Do not use BP_SYM.
22670 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22671 (PARMS): Do not use macros from bp-asm.h.
22672 (SKIP): Likewise.
22673 (strspn): Do not use BP_SYM.
22674 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22675 (PARMS): Do not use macros from bp-asm.h.
22676 (STR): Likewise.
22677 (DELIM): Likewise.
22678 (SAVE): Likewise.
22679 (FUNCTION): Likewise. Do not use BP_SYM.
22680 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22681 aliases.
22682 (strtok_r): Likewise.
22683 (__GI___strtok_r): Likewise.
22684 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22685 (PARMS): Do not use macros from bp-asm.h.
22686 (S1): Likewise.
22687 (S2): Likewise.
22688 (SIZE): Likewise.
22689 (__mpn_sub_n): Do not use BP_SYM.
22690 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22691 "bp-asm.h".
22692 (PARMS): Do not use macros from bp-asm.h.
22693 (S1): Likewise.
22694 (SIZE): Likewise.
22695 (__mpn_submul_1): Do not use BP_SYM.
22696 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22697 <bp-sym.h>.
22698 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22699 and <bp-asm.h>.
22700 (PARMS): Do not use macros from bp-asm.h.
22701 (FLAGS): Likewise.
22702 (PTID): Likewise.
22703 (TLS): Likewise.
22704 (CTID): Likewise.
22705 (__clone): Do not use BP_SYM.
22706 (clone): Do not use BP_SYM in weak_alias.
22707 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22708 and <bp-asm.h>.
22709 (PARMS): Do not use macros from bp-asm.h.
22710 (LEN): Likewise.
22711 (__mmap64): Do not use BP_SYM.
22712 (mmap64): Do not use BP_SYM in weak_alias.
22713 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22714 <bp-sym.h> and <bp-asm.h>.
22715 (PARMS): Do not use macros from bp-asm.h.
22716 (__posix_fadvise64_l64): Do not use BP_SYM.
22717 * sysdeps/unix/sysv/linux/i386/semtimedop.S
22718 (PARMS): Do not use macros from bp-asm.h.
22719 (NSOPS): Likewise.
22720 (semtimedop): Do not use BP_SYM.
22721 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22722 and <bp-asm.h>.
22723
582a3cff
AM
227242013-02-21 Allan McRae <allan@archlinux.org>
22725
22726 * manual/message.texi (Charset conversion in gettext):
22727 Move @end statement to beginning of line.
22728
bab8a695
SP
227292013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22730
80945231
SP
22731 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22732 static.
22733 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22734 Likewise.
22735
bab8a695
SP
22736 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22737 (denorm): Likewise.
22738 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22739 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22740
e21d7aa7
AK
227412013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22742
22743 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22744 tail-call to the resolved function if pltexit isn't needed.
22745
4c7a4263
SP
227462013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22747
22748 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22749 or Y being zero as being unlikely.
22750 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22751 Likewise.
22752
41f49342
CD
227532013-02-20 Carlos O'Donell <carlos@redhat.com>
22754
22755 * manual/nss.texi (System Databases and Name Service Switch):
22756 Remove frobnicate @pxref.
22757
50022a93
TS
227582013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22759
22760 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22761 __attribute__ ((unused)) to __attribute__ ((__unused__)).
22762
08cbd996
PM
227632013-02-20 Petr Machata <pmachata@redhat.com>
22764
22765 * elf/elf.h (R_ARM_TARGET1): New macro.
22766 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22767 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22768 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22769 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22770 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22771 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22772 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22773 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22774 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22775 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22776 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22777 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22778 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22779 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22780 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22781 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22782 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22783 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22784 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22785 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22786 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22787 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22788 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22789 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22790 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22791 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22792 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22793 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22794 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22795 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22796 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22797 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22798 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22799 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22800 (R_ARM_THM_GOT_BREL12): Likewise.
22801 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22802 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22803 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22804 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22805 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22806 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22807 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22808 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22809 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22810
c7b275d6
TS
228112013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22812
22813 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22814 __attribute_used__ to __attribute__ ((unused)).
22815
20cd7fb3
SP
228162013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22817
22818 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22819 powerpc mpa.c.
22820 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22821 comment formatting.
22822 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22823
92945b52
JM
228242013-02-19 Joseph Myers <joseph@codesourcery.com>
22825
22826 [BZ #13550]
22827 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22828 Remove macro.
22829 (ENTER): Remove both macro definitions.
22830 (LEAVE): Likewise.
22831 (CHECK_BOUNDS_LOW): Likewise.
22832 (CHECK_BOUNDS_HIGH): Likewise.
22833 (CHECK_BOUNDS_BOTH): Likewise.
22834 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22835 (RETURN_BOUNDED_POINTER): Likewise.
22836 (RETURN_NULL_BOUNDED_POINTER): Likewise.
22837 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22838 (POP_ERRNO_LOCATION_RETURN): Likewise.
22839 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22840 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22841 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22842 macros.
22843 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22844 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22845 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22846 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22847 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22848 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22849 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22850 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22851 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22852 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22853 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22854 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22855 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22856 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22857 removed macros.
22858 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22859 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22860 macros.
22861 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22862 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22863 * sysdeps/i386/i586/memset.S (memset): Likewise.
22864 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22865 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22866 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22867 macros.
22868 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22869 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22870 Change uses of L(2) to L(out).
22871 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22872 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22873 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22874 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22875 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22876 removed macros.
22877 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22878 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22879 macros.
22880 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22881 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22882 (RETURN): Do not use macro LEAVE.
22883 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22884 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22885 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22886 * sysdeps/i386/i686/memset.S (memset): Likewise.
22887 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22888 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22889 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22890 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22891 Likewise.
22892 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22893 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
22894 L(1_2) and L(1_3) into L(1).
22895 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22896 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22897 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22898 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22899 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22900 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22901 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22902 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22903 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22904 macros.
22905 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22906 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22907 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22908 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22909 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22910 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22911 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22912 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22913 * sysdeps/i386/strcspn.S (strcspn): Likewise.
22914 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22915 * sysdeps/i386/strrchr.S (strrchr): Likewise.
22916 * sysdeps/i386/strspn.S (strspn): Likewise.
22917 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22918 conditional code.
22919 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22920 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22921 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22922 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
22923 L(1_3) into L(1_1).
22924 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22925 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22926 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22927 macros.
22928 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22929
2389741a
JJ
229302013-02-19 Jakub Jelinek <jakub@redhat.com>
22931
22932 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22933 macro.
22934
2016b3cd
SP
229352013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22936
e4f22324
SP
22937 * math/atest-exp.c (exp_mpn): Remove ROUND.
22938 * math/atest-exp2.c (exp_mpn): Likewise.
22939 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22940
2016b3cd
SP
22941 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22942 * stdlib/tst-tls-atexit-lib.c: Likewise.
22943 * stdlib/tst-tls-atexit.c: Likewise.
22944
4be9b544
MF
229452013-02-18 Mike Frysinger <vapier@gentoo.org>
22946
22947 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22948 and __attribute_alloc_size__.
22949
2f62b9ee
MF
229502013-02-18 Mike Frysinger <vapier@gentoo.org>
22951
22952 * include/programs/xmalloc.h: Change __attribute_alloc_size to
22953 __attribute_alloc_size__.
22954 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22955 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22956
6ff444c4
MF
229572013-02-18 Mike Frysinger <vapier@gentoo.org>
22958
22959 * include/programs/xmalloc.h: New file.
22960 * catgets/gencat.c: Include it.
22961 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22962 * elf/pldd.c: Likewise.
22963 * iconv/iconv_charmap.c: Likewise.
22964 * iconv/iconvconfig.c: Likewise.
22965 * iconv/strtab.c: Likewise.
22966 * locale/programs/locale.c: Likewise.
22967 * locale/programs/localedef.h: Likewise.
22968 * locale/programs/simple-hash.c: Likewise.
22969 * nscd/nscd.h: Likewise.
22970 * nss/makedb.c: Likewise.
22971 * sysdeps/generic/ldconfig.h: Likewise.
22972
be179c8a
SP
229732013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22974
ba384f6e
SP
22975 * Versions.def: Add GLIBC_2.18.
22976 * include/link.h (struct link_map): New member l_tls_dtor_count.
22977 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22978 (__call_tls_dtors): Likewise.
22979 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22980 __cxa_thread_atexit_impl.
22981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22982 Likewise.
22983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22984 Likewise.
22985 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22986 Likewise.
22987 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22988 Likewise.
22989 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22990 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22991 Likewise.
22992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22993 Likewise.
22994 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22995 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22996 Likewise.
22997 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22998 (tests): Add test case tst-tls-atexit.
22999 (modules-names): Add shared library for tst-tls-atexit.
85891aca 23000 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
23001 (GLIBC_PRIVATE): Add __call_tls_dtors.
23002 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23003 for libstdc++.
23004 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23005 * stdlib/tst-tls-atexit.c: New test case.
23006 * stdlib/tst-tls-atexit-lib.c: New test case.
23007
ffaa74cf 23008 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 23009
be179c8a
SP
23010 * elf/Versions (ld): Add _dl_find_dso_for_object.
23011 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23012 * elf/dl-open.c (_dl_find_dso_for_object): New function.
23013 (dl_open_worker): Use _dl_find_dso_for_object.
23014 * elf/dl-sym.c (do_sym): Likewise.
23015 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23016
f78b5caa
AK
230172013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23018
23019 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23020 Syntactic changes only.
23021 (_dl_runtime_profile): Do a tail-call to the resolved function.
23022
29691210
JM
230232013-02-17 Joseph Myers <joseph@codesourcery.com>
23024
23025 [BZ #13550]
23026 * sysdeps/x86_64/bp-asm.h: Remove file.
23027 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23028 <bp-sym.h> and <bp-asm.h>.
23029 (__clone): Do not use BP_SYM.
23030 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23031 <bp-sym.h> and <bp-asm.h>.
23032 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23033 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23034 "bp-asm.h".
23035 (_setjmp): Do not use BP_SYM.
23036 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23037 "bp-asm.h".
23038 (setjmp): Do not use BP_SYM.
23039 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23040 libc_hidden_def.
23041 (mempcpy): Do not use BP_SYM in weak_alias.
23042 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23043 "bp-asm.h".
23044 (strchr): Do not use BP_SYM.
23045 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23046 "bp-asm.h".
23047 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23048 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23049 (_start): Do not use BP_SYM.
23050 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23051 "bp-asm.h".
23052 (strcat): Do not use BP_SYM.
23053 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23054 "bp-asm.h".
23055 (STRCMP): Do not use BP_SYM.
23056 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23057 "bp-asm.h".
23058 (STRCPY): Do not use BP_SYM.
23059 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23060 "bp-asm.h".
23061 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23062 "bp-asm.h".
23063 (FUNCTION): Do not use BP_SYM.
23064 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23065 weak_alias.
23066 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23067
f238fd19
AJ
230682013-02-17 Andreas Jaeger <aj@suse.de>
23069
23070 * time/Versions: Sort entries.
23071 * string/Versions: Likewise.
23072 * resolv/Versions: Likewise.
23073 * posix/Versions: Likewise.
23074 * iconv/Versions: Likewise.
23075 * elf/Versions: Likewise.
23076 * wcsmbs/Versions: Likewise.
23077
bd07f23c 230782013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 23079
22af19f9
SP
23080 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23081 loop termination condition.
23082
4709fe76
SP
23083 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23084 variable to calculate EZ.
23085 (__sqr): Likewise.
2d0e0f29
SP
23086
23087 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23088 the lower precision input.
23089
daaa7713
JM
230902013-02-15 Joseph Myers <joseph@codesourcery.com>
23091
23092 [BZ #13550]
23093 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23094 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23095 (run-via-rtld-prefix): Do not handle %-bp tests.
23096 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23097 (all-object-suffixes): Remove .ob.
23098 (bppfx): Remove variable.
23099 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23100 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23101 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23102 [$(build-bounded) = yes] (libtype.ob): Likewise.
23103 * Makerules (elide-routines.ob): Remove variable.
23104 (do-tests-clean): Do not handle *-bp.out.
23105 (common-mostlyclean): Do not handle *-bp and *-bp.out.
23106 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23107 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23108 (tests): Do not include $(tests-bp.out).
23109 (xtests): Do not include $(xtests-bp.out).
23110 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23111 [$(build-bounded) = yes] ($(addprefix
23112 $(objpfx),$(binaries-bounded))): Remove rule.
23113 ($(objpfx)%-bp.out): Remove rule.
23114 * config.make.in (build-bounded): Remove variable.
23115 * crypt/Makefile [$(build-bounded) = yes]
23116 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23117 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23118 append to variable.
23119 [$(build-bounded) = yes] (install-lib): Likewise.
23120 [$(build-bounded) = yes] (generated): Likewise.
23121 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23122 Remove rule.
23123 * intl/Makefile [$(build-bounded) = yes]
23124 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23125 * math/Makefile [$(build-bounded) = yes]
23126 ($(tests:%=$(objpfx)%-bp): Likewise.
23127 * misc/Makefile [$(build-bounded) = yes]
23128 ($(objpfx)tst-tsearch-bp): Likewise.
23129 * nptl/Makeconfig (bounded-thread-library): Remove variable.
23130 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23131 Remove dependency.
23132 * string/Makefile (o-objects.ob): Remove variable.
23133 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23134 (CFLAGS-.ob): Remove variable.
23135 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23136 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23137 both definitions of variable.
23138 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23139 (ASFLAGS-.ob): Remove variable.
23140
e97ed6dd
JM
231412013-02-14 Joseph Myers <joseph@codesourcery.com>
23142
2bdd4ca6
JM
23143 [BZ #13550]
23144 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23145 Remove __BOUNDED_POINTERS__ from condition.
23146 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23147 * string/bits/string2.h [!__NO_STRING_INLINES &&
23148 !__BOUNDED_POINTERS__]: Likewise.
23149 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23150 Likewise.
23151 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23152 Remove conditional code.
23153 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23154 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23155 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23156 condition.
23157
e97ed6dd
JM
23158 [BZ #13550]
23159 * csu/libc-start.c: Do not include <bp-sym.h>.
23160 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23161 * elf/dl-open.c: Do not include <bp-sym.h>.
23162 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23163 * math/fegetenv.c: Do not include <bp-sym.h>.
23164 (fegetenv): Do not use BP_SYM in versioned symbols.
23165 * nptl/sysdeps/pthread/bits/libc-lockP.h
23166 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23167 <bp-sym.h>.
23168 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23169 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23170 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23171 (__pthread_mutex_destroy): Likewise.
23172 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23173 (__pthread_mutex_lock): Likewise.
23174 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23175 (__pthread_mutex_trylock): Likewise.
23176 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23177 (__pthread_mutex_unlock): Likewise.
23178 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23179 (__pthread_mutexattr_init): Likewise.
23180 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23181 (__pthread_mutexattr_destroy): Likewise.
23182 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23183 (__pthread_mutexattr_settype): Likewise.
23184 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23185 (__pthread_rwlock_init): Likewise.
23186 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23187 (__pthread_rwlock_destroy): Likewise.
23188 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23189 (__pthread_rwlock_rdlock): Likewise.
23190 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23191 (__pthread_rwlock_tryrdlock): Likewise.
23192 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23193 (__pthread_rwlock_wrlock): Likewise.
23194 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23195 (__pthread_rwlock_trywrlock): Likewise.
23196 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23197 (__pthread_rwlock_unlock): Likewise.
23198 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23199 (__pthread_key_create): Likewise.
23200 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23201 (__pthread_setspecific): Likewise.
23202 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23203 (__pthread_getspecific): Likewise.
23204 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23205 Likewise.
23206 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23207 (_pthread_cleanup_push_defer): Likewise.
23208 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23209 (_pthread_cleanup_pop_restore): Likewise.
23210 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23211 (pthread_setcancelstate): Likewise.
23212 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23213 <bp-sym.h>.
23214 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23215 (memchr): Do not use BP_SYM in weak_alias.
23216 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23217 (fegetenv): Do not use BP_SYM in versioned symbols.
23218 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23219 (fesetenv): Do not use BP_SYM in versioned symbols.
23220 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23221 (feupdateenv): Do not use BP_SYM in versioned symbols.
23222 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23223 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23224 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23225 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23226 (open64): Do not use BP_SYM in weak_alias.
23227 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23228 (fegetenv): Do not use BP_SYM in versioned symbols.
23229 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23230 (fesetenv): Do not use BP_SYM in versioned symbols.
23231 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23232 (feupdateenv): Do not use BP_SYM in versioned symbols.
23233 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23234 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23235 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23236 (feraiseexcept): Do not use BP_SYM in versioned symbols.
23237 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23238 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23239 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23240 <bp-sym.h>.
23241 (__libc_start_main): Do not use BP_SYM.
23242
d6752ccd
SP
232432013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23244
cb57ce60
SP
23245 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23246 redundant return line.
23247 (norm): Likewise.
23248 (denorm): Likewise.
23249 (dbl_mp): Likewise.
23250 (sub_magnitudes): Likewise.
23251 (__add): Likewise.
23252 (__sub): Likewise.
23253 (__mul): Likewise.
23254 (__inv): Likewise.
23255 (__dvd): Likewise.
23256 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23257 (norm): Likewise.
23258 (denorm): Likewise.
23259 (dbl_mp): Likewise.
23260 (sub_magnitudes): Likewise.
23261 (__add): Likewise.
23262 (__sub): Likewise.
23263 (__mul): Likewise.
23264 (__inv): Likewise.
23265 (__dvd): Likewise.
23266
f414520d
SP
23267 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23268 instead of __mul.
23269 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23270 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23271 (cc32): Likewise.
23272
d6752ccd
SP
23273 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23274 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23275 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23276 of __mul for squares.
23277 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23278 function
23279 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23280 Likewise.
23281 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23282 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23283
70d9946a
JM
232842013-02-13 Joseph Myers <joseph@codesourcery.com>
23285
23286 [BZ #13550]
23287 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23288 code.
23289 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23290 prototype or function definition. Rename ubp_* variables and
23291 parameters. Remove argv definitions conditional on
23292 [__BOUNDED_POINTERS__].
23293 * debug/backtrace.c (__backtrace): Do not use __unbounded.
23294 * elf/dl-runtime.c (_dl_fixup): Likewise.
23295 * include/set-hooks.h (RUN_HOOK): Likewise.
23296 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23297 definition.
23298 * string/strcpy.c (strcpy): Do not use __unbounded.
23299 * sysdeps/generic/frame.h (struct layout): Likewise.
23300 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23301 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23302 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23303 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23304 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23305 (__backtrace): Likewise.
23306 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23307 use __ptrvalue.
23308 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23309 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23310 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23311 Likewise.
23312 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23313 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23314 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23315 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23316 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23317 Do not use __unbounded.
23318 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23319 Rename __unboundedrlimits parameter to rlimits in prototype.
23320 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23321 Do not use __unbounded.
23322 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23323 not use __ptrvalue.
23324 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23325 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23326 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23327 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23328 __ptrvalue or __unbounded.
23329 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23330 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23331 use __unbounded.
23332 (__new_msgctl): Do not use __ptrvalue.
23333 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23334 __unbounded.
23335 (__libc_msgrcv): Do not use __ptrvalue.
23336 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23337 startup_info): Do not use __unbounded.
23338 (__libc_start_main): Likewise. Rename ubp_* variables and
23339 parameters. Remove argv definitions conditional on
23340 [__BOUNDED_POINTERS__].
23341 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23342 __ptrvalue.
23343 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23344 use __unbounded.
23345 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23346 or __ptrvalue.
23347 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23348 use __unbounded.
23349 (__new_shmctl): Do not use __ptrvalue.
23350 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23351 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23352 Likewise.
23353 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23354 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23355 (__libc_sigaction): Likewise.
23356 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23357 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23358 Likewise.
23359 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23360
cc7834d6
OB
233612013-02-13 Ondřej Bílka <neleai@seznam.cz>
23362
ffb1ec7b 23363 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
23364
23365 * string/mempcpy.c: Implement by calling memcpy.
23366
bdf02814
SP
233672013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23368
c2af38aa
SP
23369 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23370
4e92d59e
SP
23371 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23372 evaluation.
23373
909279a5
SP
23374 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23375 values in the mantissa.
23376
bdf02814
SP
23377 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23378 minimize writes to Z.
23379 (sub_magnitudes): Simplify code a bit.
23380
cd525923
RM
233812013-02-12 Roland McGrath <roland@hack.frob.com>
23382
23383 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23384 from the message. The linker prefixes all warnings with that already.
23385
7e2f0d2d
AS
233862013-02-12 Andreas Schwab <schwab@suse.de>
23387
a445af0b
AS
23388 [BZ #15078]
23389 * posix/regexec.c (extend_buffers): Add parameter min_len.
23390 (check_matching): Pass minimum needed length.
23391 (clean_state_log_if_needed): Likewise.
23392 (get_subexp): Likewise.
23393 * posix/Makefile (tests): Add bug-regex34.
23394 (bug-regex34-ENV): Define.
23395 * posix/bug-regex34.c: New file.
23396
7e2f0d2d
AS
23397 [BZ #11561]
23398 * posix/regcomp.c (parse_bracket_exp): When looking up collating
23399 elements compare against the byte sequence of it, not its name.
23400 * posix/Makefile (tests): Add bug-regex35.
23401 (bug-regex35-ENV): Define.
23402 * posix/bug-regex35.c: New file.
23403
a175b684
TV
234042013-02-11 Tom de Vries <tom@codesourcery.com>
23405
23406 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
23407 comment.
23408 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23409 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23410 (CHECK_EOL): Add undef.
23411
310998fe 234122013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
23413
23414 * bits/stdlib-bsearch.h: New file.
23415 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 23416 * stdlib/stdlib.h: Likewise.
41eda41d 23417
8ded91fb
RM
234182013-02-11 Roland McGrath <roland@hack.frob.com>
23419
23420 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23421 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23422 declaration.
23423 * manual/search.texi (Array Search Function): Add missing const in
23424 lfind prototype.
23425 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23426 declaration to use rlim_t.
23427 (Basic Scheduling Functions): Remove erroneous const from
23428 sched_getparam prototype. Remove erroneous * from
23429 sched_get_priority_max and sched_get_priority_min prototypes.
23430 (Resource Usage): Fix summary @comment on vtimes to refer to
23431 sys/vtimes.h rather than vtimes.h.
23432 Add missing *s in vtimes prototype.
23433 (Limits on Resources): Fix ulimit prototype to return long int.
23434 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23435 prototypes to use long int rather than double.
23436 (BSD Random): Fix initstate and setstate to use char *, not void *.
23437 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23438 prototype to make second argument 'struct aiocb64 *const[]'.
23439 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23440 (Status of AIO Operations): Remove erroneous const in aio_return and
23441 aio_return64 prototypes.
23442 (Synchronizing I/O): Fix sync prototype to return void.
23443 * manual/startup.texi (Suboptions): Remove an erroneous const in
23444 getsubopt prototype.
23445 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23446 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23447 use size_t rather than int.
23448 (Scanning All Users): Likewise for getpwent_r.
23449 (Setting Groups): Add missing const to setgroups prototype.
23450 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23451 * manual/socket.texi (Host Names): Fix gethostbyaddr and
23452 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23453 'const void *' rather than 'const char *'.
23454 (Host Address Functions): Likewise for inet_ntop.
23455 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23456 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23457 ssize_t for return value.
23458 (Sending Data): Likewise for send, sendto, sendmsg.
23459 (Socket Option Functions): Add a missing const in setsockopt prototype.
23460 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23461 use wchar_t for the argument.
23462 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23463 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23464 take no arguments.
23465 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23466 double/float/long double for second argument.
23467 Fix return types of significand, significandf, significandl.
23468 * manual/filesys.texi (Setting Permissions): Use mode_t for second
23469 argument in fchmod prototype.
23470 (File Owner): Use uid_t and gid_t in fchown prototype.
23471 (File Times): Add const to utimes, futimes, and lutimes prototypes.
23472 (Making Special Files): Use mode_t and dev_t in mknod prototype.
23473 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23474 use 'const struct dirent **' as argument types to CMP function pointer
23475 argument.
23476 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23477 (File Times): Fix summary magic @comment for struct utimbuf and utime
23478 to refer to utime.h, not time.h.
23479 * manual/string.texi (Argz Functions): Add missing const in
23480 argz_extract and argz_next prototypes.
23481 (Finding Tokens in a String): Likewise for basename.
23482 (String/Array Comparison): Fix typo in wcscasecmp prototype.
23483 (Copying and Concatenation): Fix typo in wmemmove prototype.
23484 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23485 (Signal Stack): Remove erroneous const in sigstack prototype.
23486 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23487 prototype.
23488 (Simple Calendar Time): Likewise for stime.
23489 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23490 prototype.
23491 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23492 say sys/sysctl.h instead.
23493 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23494 and vsyslog prototypes.
23495
fe77fe6d
TV
234962013-02-11 Tom de Vries <tom@codesourcery.com>
23497
23498 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23499 Remove.
23500
3a09b620
RM
235012013-02-11 Roland McGrath <roland@hack.frob.com>
23502
23503 * misc/sys/mman.h: Fix typo in mremap comment.
23504
550a0b89
RM
235052013-02-08 Roland McGrath <roland@hack.frob.com>
23506
23507 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23508 the '\0' terminator.
23509
a2da1673
JM
235102013-02-08 Joseph Myers <joseph@codesourcery.com>
23511
23512 [BZ #13550]
23513 * debug/segfault.c: Don't include <bp-checks.h>.
23514 * sysdeps/generic/bp-checks.h: Remove file.
23515 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23516 (__GETDENTS): Don't use CHECK_N.
23517 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23518 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23519 (__getgroups): Don't use CHECK_N.
23520 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23521 (setgroups): Don't use CHECK_N.
23522 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23523 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23524 (__libc_msgrcv): Don't use CHECK_N.
23525 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23526 (__libc_msgsnd): Don't use CHECK_N.
23527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23528 <bp-checks.h>.
23529 (__libc_pread): Don't use CHECK_N.
23530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23531 include <bp-checks.h>.
23532 (__libc_pread64): Don't use CHECK_N.
23533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23534 include <bp-checks.h>.
23535 (__libc_pwrite): Don't use CHECK_N.
23536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23537 include <bp-checks.h>.
23538 (__libc_pwrite64): Don't use CHECK_N.
23539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23540 <bp-checks.h>.
23541 (__libc_pread): Don't use CHECK_N.
23542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23543 include <bp-checks.h>.
23544 (__libc_pread64): Don't use CHECK_N.
23545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23546 include <bp-checks.h>.
23547 (__libc_pwrite): Don't use CHECK_N.
23548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23549 include <bp-checks.h>.
23550 (__libc_pwrite64): Don't use CHECK_N.
23551 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23552 (do_pread): Don't use CHECK_N.
23553 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23554 (do_pread64): Don't use CHECK_N.
23555 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23556 (do_pwrite): Don't use CHECK_N.
23557 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23558 (do_pwrite64): Don't use CHECK_N.
23559 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23560 (__libc_readv): Don't use CHECK_N.
23561 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23562 (semop): Don't use CHECK_N.
23563 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23564 <bp-checks.h>.
23565 (semtimedop): Don't use CHECK_N.
23566 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23567 (__libc_pread): Don't use CHECK_N.
23568 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23569 <bp-checks.h>.
23570 (__libc_pread64): Don't use CHECK_N.
23571 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23572 <bp-checks.h>.
23573 (__libc_pwrite): Don't use CHECK_N.
23574 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23575 <bp-checks.h>.
23576 (__libc_pwrite64): Don't use CHECK_N.
23577 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23578 <bp-checks.h>.
23579 (__libc_msgrcv): Don't use CHECK_N.
23580 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23581 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
23582 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23583 (__libc_writev): Don't use CHECK_N.
23584
b84660a8
RM
235852013-02-08 Roland McGrath <roland@hack.frob.com>
23586
7f3e75f8
RM
23587 * string/strcpy.c: Removed unused variable.
23588
b84660a8
RM
23589 * Makeconfig (+sysdep-includes): Define with := rather than =.
23590 Use an existing include/ subdir of each sysdeps dir before it.
23591
471514d3
CD
235922013-02-08 Carlos O'Donell <carlos@redhat.com>
23593
23594 * nscd/connection.c (register_traced_file): Comment function.
23595 [HAVE_INOTIFY] (union __inev): Define.
23596 [HAVE_INOTIFY] (inotify_check_files): New function.
23597 [HAVE_INOTIFY] (clear_db_cache): Likewise.
23598 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23599 clear_db_cache.
23600 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23601
b2d3c3be
CD
236022013-02-08 Carlos O'Donell <carlos@redhat.com>
23603
23604 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23605 loaded if not already and that a failure is permanent.
23606
b39949d2
CD
236072013-02-08 Carlos O'Donell <carlos@redhat.com>
23608
ddacd1db 23609 [BZ #15006]
b39949d2
CD
23610 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23611 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23612
b2c9eff4
JM
236132013-02-08 Joseph Myers <joseph@codesourcery.com>
23614
f3aae3f3
JM
23615 [BZ #13550]
23616 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23617 (CHECK_1_NULL_OK): Likewise.
23618 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23619 (__fxstat): Do not use CHECK_1.
23620 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23621 <bp-checks.h>.
23622 (___fxstat64): Do not use CHECK_1.
23623 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23624 <bp-checks.h>.
23625 (__fxstatat): Do not use CHECK_1.
23626 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23627 <bp-checks.h>.
23628 (__fxstatat64): Do not use CHECK_1.
23629 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23630 <bp-checks.h>.
23631 (__fxstat): Do not use CHECK_1.
23632 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23633 <bp-checks.h>.
23634 (__fxstatat): Do not use CHECK_1.
23635 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23636 <bp-checks.h>.
23637 (__getresgid): Do not use CHECK_1.
23638 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23639 <bp-checks.h>.
23640 (__getresuid): Do not use CHECK_1.
23641 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23642 <bp-checks.h>.
23643 (__lxstat): Do not use CHECK_1.
23644 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23645 <bp-checks.h>.
23646 (__old_msgctl): Do not use CHECK_1.
23647 (__new_msgctl): Likewise.
23648 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23649 <bp-checks.h>.
23650 (__new_setrlimit): Do not use CHECK_1.
23651 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23652 <bp-checks.h>.
23653 (__old_shmctl): Do not use CHECK_1.
23654 (__new_shmctl): Likewise.
23655 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23656 <bp-checks.h>.
23657 (__xstat): Do not use CHECK_1.
23658 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23659 (__lxstat): Do not use CHECK_1.
23660 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23661 <bp-checks.h>.
23662 (___lxstat64): Do not use CHECK_1.
23663 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23664 (__old_msgctl): Do not use CHECK_1.
23665 (__new_msgctl): Likewise.
23666 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23667 <bp-checks.h>.
23668 (__gettimeofday): Do not use CHECK_1.
23669 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23670 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23671 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23672 <bp-checks.h>.
23673 (__gettimeofday): Do not use CHECK_1.
23674 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23675 (__old_shmctl): Do not use CHECK_1_NULL_OK.
23676 (__new_shmctl): Do not use CHECK_1.
23677 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23678 <bp-checks.h>.
23679 (do_sigtimedwait): Do not use CHECK_1.
23680 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23681 <bp-checks.h>.
23682 (do_sigwaitinfo): Do not use CHECK_1.
23683 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23684 <bp-checks.h>.
23685 (msgctl): Do not use CHECK_1.
23686 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23687 <bp-checks.h>.
23688 (shmctl): Do not use CHECK_1.
23689 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23690 (ustat): Do not use CHECK_1.
23691 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23692 <bp-checks.h>.
23693 (__fxstat): Do not use CHECK_1.
23694 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23695 <bp-checks.h>.
23696 (__fxstatat): Do not use CHECK_1.
23697 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23698 <bp-checks.h>.
23699 (__lxstat): Do not use CHECK_1.
23700 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23701 <bp-checks.h>.
23702 (__xstat): Do not use CHECK_1.
23703 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23704 (__xstat): Do not use CHECK_1.
23705 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23706 (___xstat64): Do not use CHECK_1.
23707
b2c9eff4
JM
23708 [BZ #13550]
23709 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23710 definitions.
23711 (CHECK_BOUNDS_HIGH): Likewise.
23712 * string/strcpy.c: Do not include <bp-checks.h>.
23713 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23714
f1d70dad
RM
237152013-02-07 Roland McGrath <roland@hack.frob.com>
23716
23717 * nscd/nscd-client.h (__nscd_drop_map_ref):
23718 Add __attribute__ ((unused)).
23719 * nis/nss-nisplus.h (niserr2nss): Likewise.
23720
23721 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23722 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23723
23724 * csu/libc-tls.c (init_static_tls, init_slotinfo):
23725 Remove inline keyword.
23726 * include/rounding-mode.h (round_away): Likewise.
23727 * libio/wfileops.c (adjust_wide_data): Likewise.
23728 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23729 (__m128i_strloadu_tolower): Likewise.
23730 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23731 (__m128i_strloadu_tolower): Likewise.
23732 * time/mktime.c (ydhms_diff): Likewise.
23733 * locale/elem-hash.h (elem_hash): Likewise.
23734 * locale/setlocale.c (setdata): Likewise.
23735 * posix/regex_internal.h (re_string_char_size_at): Likewise.
23736 (re_string_wchar_at): Likewise.
23737 (bitset_not, bitset_merge, bitset_mask): Likewise.
23738 [!(__GNUC__ > 3)] (inline): Remove macro.
23739 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23740 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23741 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23742 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23743 * string/memcmp.c (memcmp_bytes): Likewise.
23744 * locale/programs/locarchive.c (compute_hashval): Likewise.
23745 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23746 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23747 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23748 * nss/getent.c (print_rpc, print_protocols): Likewise.
23749 (print_passwd, print_group, print_aliases): Likewise.
23750 * nis/nss-nisplus.h (niserr2nss): Likewise.
23751 * nscd/connections.c (restart_p): Likewise.
23752 Change return type to bool.
23753
eab55bfb
RM
237542013-02-05 Roland McGrath <roland@hack.frob.com>
23755
7bd642f5
RM
23756 * Makeconfig (all-Depend-files): Add existing
23757 $(sorted-subdirs:=/Depend) files.
23758 (all-subdirs): Remove nss.
23759 * sysdeps/unix/inet/Subdirs: Add it here instead.
23760 * hesiod/Depend: New file.
23761
573c29b2
RM
23762 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23763 instead of calling alloca.
23764
b2e25af0
RM
23765 * io/lseek.c (__lseek): Rename to __libc_lseek.
23766 Define __lseek as an alias.
23767
eab55bfb
RM
23768 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23769
9a0d1941
CD
237702013-02-04 Carlos O'Donell <carlos@redhat.com>
23771
23772 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23773 else clause and remove check for non-standard endianness.
23774
b83bbec4
DM
237752013-02-04 David S. Miller <davem@davemloft.net>
23776
23777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23778
6277fdab
JM
237792013-02-04 Joseph Myers <joseph@codesourcery.com>
23780
23781 [BZ #13550]
23782 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23783 (__ubp_memchr): Remove prototype.
23784 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23785 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23786 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23787 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23788 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23789 Remove alias.
23790 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23791 (__ubp_memchr): Likewise.
23792 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23793 (__ubp_memchr): Likewise.
23794 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23795 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23796 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23797 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23798 CHECK_STRING.
23799 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23800 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23801 (__getcwd): Do not use CHECK_STRING.
23802 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23803 <bp-checks.h>.
23804 (__real_chown): Do not use CHECK_STRING.
23805 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23806 <bp-checks.h>.
23807 (fchownat): Do not use CHECK_STRING.
23808 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23809 CHECK_STRING.
23810 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23811 <bp-checks.h>.
23812 (__lchown): Do not use CHECK_STRING.
23813 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23814 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23815 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23816 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23818 include <bp-checks.h>.
23819 (truncate64): Do not use CHECK_STRING.
23820 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23821 <bp-checks.h>.
23822 (__real_chown): Do not use CHECK_STRING.
23823 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23824 <bp-checks.h>.
23825 (__lchown): Do not use CHECK_STRING.
23826 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23827 <bp-checks.h>.
23828 (__chown): Do not use CHECK_STRING.
23829 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23830 <bp-checks.h>.
23831 (truncate64): Do not use CHECK_STRING.
23832 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23833 Likewise.
23834 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23835 (__xmknod): Do not use CHECK_STRING.
23836 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23837 <bp-checks.h>.
23838 (__xmknodat): Do not use CHECK_STRING.
23839 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23840 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23841
903ae060
AS
238422013-02-04 Andreas Schwab <schwab@suse.de>
23843
23844 [BZ #14142]
23845 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23846 * include/netdb.h: Likewise for h_errno.
23847 * elf/tst-stackguard1.c: Include <tls.h>.
23848
542f9466
JK
238492013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
23850
23851 * elf/link.h (struct link_map): Extend the l_addr comment.
23852 * include/link.h (struct link_map): Likewise.
23853
e782a927
JM
238542013-02-01 Joseph Myers <joseph@codesourcery.com>
23855
23856 [BZ #13550]
23857 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23858 (BOUNDED_1): Remove macro.
23859 * debug/backtrace.c: Don't include <bp-checks.h>.
23860 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23861 (__backtrace): Likewise.
23862 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23863 <bp-checks.h>.
23864 (__backtrace): Don't use BOUNDED_1.
23865 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23866 <bp-checks.h>.
23867 (__backtrace): Don't use BOUNDED_1.
23868 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23869 (__backtrace): Don't use BOUNDED_1.
23870 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23871 (shmat): Don't use BOUNDED_N.
23872
8cf28c5e
JM
238732013-01-31 Joseph Myers <joseph@codesourcery.com>
23874
3a7ac8a0
JM
23875 [BZ #13550]
23876 * sysdeps/generic/bp-start.h: Remove file.
23877 * csu/libc-start.c: Don't include <bp-start.h>.
23878 (LIBC_START_MAIN): Set up __environ directly instead of using
23879 INIT_ARGV_and_ENVIRON.
23880 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23881 <bp-start.h>.
23882
f3499f95
JM
23883 [BZ #13550]
23884 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23885 definitions.
23886 (CHECK_FCNTL): Likewise.
23887 (CHECK_N_PAGES): Likewise.
23888
32a45bea
JM
23889 [BZ #13550]
23890 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23891 definitions.
23892 (CHECK_SIGSET_NULL_OK): Likewise.
23893 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23894 <bp-checks.h>.
23895 (sigpending): Don't use CHECK_SIGSET.
23896 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23897 <bp-checks.h>.
23898 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23899 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23900 <bp-checks.h>.
23901 (do_sigsuspend): Don't use CHECK_SIGSET.
23902 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23903 use CHECK_SIGSET.
23904 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23905 (do_sigwait): Don't use CHECK_SIGSET.
23906 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23907 use CHECK_SIGSET.
23908 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23909 include <bp-checks.h>.
23910 (sigpending): Don't use CHECK_SIGSET.
23911 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23912 include <bp-checks.h>.
23913 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23914 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23915 <bp-checks.h>.
23916 (sigpending): Don't use CHECK_SIGSET.
23917 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23918 <bp-checks.h>.
23919 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23920
2e8a5c8c
JM
23921 [BZ #13550]
23922 * sysdeps/generic/bp-semctl.h: Remove file.
23923 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23924 <bp-checks.h> and <bp-semctl.h>.
23925 (__old_semctl): Don't use CHECK_SEMCTL.
23926 (__new_semctl): Likewise.
23927 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23928 and <bp-semctl.h>.
23929 (__old_semctl): Don't use CHECK_SEMCTL.
23930 (__new_semctl): Likewise.
23931 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23932 <bp-checks.h> and <bp-semctl.h>.
23933 (__old_semctl): Don't use CHECK_SEMCTL.
23934 (__new_semctl): Likewise.
23935 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23936 <bp-checks.h> and <bp-semctl.h>.
23937 (semctl): Don't use CHECK_SEMCTL.
23938
c2d54929
JM
23939 [BZ #13550]
23940 * Makerules (elide-bp-thunks): Remove variable.
23941 (elide-routines.oS): Don't use $(elide-bp-thunks).
23942 (elide-routines.os): Likewise.
23943 (elide-routines.o): Likewise.
23944 (elide-routines.op): Likewise.
23945 (elide-routines.og): Likewise.
23946 (objects): Don't use $(bp-thunks).
23947 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23948 include.
23949 (common-generated): Do not add s-proto-bp.d.
23950 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23951 (int): Likewise.
23952 (typ): Likewise.
23953 Do not generate makefile rules for bounded-pointer thunks.
23954 * sysdeps/generic/bp-thunks.h: Remove file.
23955 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23956 * sysdeps/unix/s-proto-bp.S: Likewise.
23957
8cf28c5e
JM
23958 [BZ #15062]
23959 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23960 parts of result separately when argument is not close to line from
23961 -i to i and one part of argument is small.
23962 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23963 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23964 * math/libm-test.inc (cacos_test): Add more tests.
23965 (casin_test): Likewise.
23966 (casinh_test): Likewise.
23967 * sysdeps/i386/fpu/libm-test-ulps: Update.
23968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23969
c4e33b8d
DM
239702013-01-31 David S. Miller <davem@davemloft.net>
23971
23972 * po/de.po: Update from translation team.
23973
3b60b421
MK
239742013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
23975
23976 * time/tzfile.c: Include stdint.h for SIZE_MAX.
23977
bb931195
TS
239782013-01-25 Thomas Schwinge <thomas@codesourcery.com>
23979
b5a5da23
TS
23980 * configure.in (_AC_PROG_CC_C89): New definition.
23981 * configure: Regenerate.
23982
bb931195
TS
23983 * configure.in (AC_PROG_CPP): New definition.
23984 * configure: Regenerate.
23985
8c53a12c
JM
239862013-01-23 Joseph Myers <joseph@codesourcery.com>
23987
23988 * debug/tst-backtrace.h: New file.
23989 * debug/tst-backtrace2.c: Include tst-backtrace.h.
23990 (ret): Remove variable.
23991 (x): Likewise.
23992 (FAIL): Remove macro.
23993 (NO_INLINE): Likewise.
23994 (fn1): Use match function instead of strstr.
23995 * debug/tst-backtrace3.c: Include tst-backtrace.h.
23996 (ret): Remove variable.
23997 (x): Likewise.
23998 (FAIL): Remove macro.
23999 (NO_INLINE): Likewise.
24000 (fn): Use match function instead of strstr.
24001 * debug/tst-backtrace4.c: Include tst-backtrace.h.
24002 (ret): Remove variable.
24003 (x): Likewise.
24004 (FAIL): Remove macro.
24005 (NO_INLINE): Likewise.
24006 (handle_signal): Use match function instead of strstr.
24007 * debug/tst-backtrace5.c: Include tst-backtrace.h.
24008 (ret): Remove variable.
24009 (x): Likewise.
24010 (FAIL): Remove macro.
24011 (NO_INLINE): Likewise.
24012 (handle_signal): Use match function instead of strstr.
24013
4858fa2a
RM
240142013-01-23 Roland McGrath <roland@hack.frob.com>
24015
24016 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24017
bae8e7f5
DM
240182013-01-23 David S. Miller <davem@davemloft.net>
24019
24020 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24021 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24022 argument of CAS if possible.
24023 * sysdeps/sparc/sparc64/bits/atomic.h
24024 (__arch_compare_and_exchange_val_32_acq): Likewise.
24025 (__arch_compare_and_exchange_val_64_acq): Likewise.
24026
9cbbc4ae
PT
240272013-01-23 Pino Toscano <toscano.pino@tiscali.it>
24028
24029 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24030 * sysdeps/posix/ulimit.c: ... this.
92a601b8 24031 Include <limits.h>.
67b3f58c 24032 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 24033
5655a0b5
AC
240342013-01-23 Adam Conrad <adconrad@0c3.net>
24035
24036 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24037 (LDFLAGS-tst-array5): Likewise.
24038
052aff95
JM
240392013-01-23 Joseph Myers <joseph@codesourcery.com>
24040
24041 [BZ #15036]
24042 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24043 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24044 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24045 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24046
7c1e01aa
DM
240472013-01-21 David S. Miller <davem@davemloft.net>
24048
24049 * sysdeps/sparc/backtrace.c: New file.
24050 * sysdeps/sparc/sparc32/backtrace.h: New file.
24051 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24052 * sysdeps/sparc/sparc64/backtrace.h: New file.
24053 * sysdeps/sparc/sparc64/backtrace.c: Delete.
24054 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24055 -funwind-tables.
24056
ab087e0a
AS
240572013-01-21 Andreas Schwab <schwab@suse.de>
24058
24059 [BZ #15020]
24060 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24061 closed its stdout.
24062
ed689c2f
AS
240632013-01-20 Andreas Schwab <schwab@linux-m68k.org>
24064
24065 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24066 "mpa2.h".
24067 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24068
31d470ac
JM
240692013-01-18 Joseph Myers <joseph@codesourcery.com>
24070 Mark Mitchell <mark@codesourcery.com>
24071 Tom de Vries <tom@codesourcery.com>
24072 Paul Pluzhnikov <ppluzhnikov@google.com>
24073
24074 * debug/tst-backtrace2.c: New file.
24075 * debug/tst-backtrace3.c: Likewise.
24076 * debug/tst-backtrace4.c: Likewise.
24077 * debug/tst-backtrace5.c: Likewise.
24078 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24079 (CFLAGS-tst-backtrace3.c): Likewise.
24080 (CFLAGS-tst-backtrace4.c): Likewise.
24081 (CFLAGS-tst-backtrace5.c): Likewise.
24082 (LDFLAGS-tst-backtrace2): Likewise.
24083 (LDFLAGS-tst-backtrace3): Likewise.
24084 (LDFLAGS-tst-backtrace4): Likewise.
24085 (LDFLAGS-tst-backtrace5): Likewise.
24086 (tests): Add new tests tst-backtrace2, tst-backtrace3,
24087 tst-backtrace4 and tst-backtrace5.
24088
90567f30 240892013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
24090 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24091
24092 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24093 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24094 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24095 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24097 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24098 "+r" and remove output regs list as redundant. Add explicit inline
24099 asm to specify register of return val to work around compiler codegen
24100 bug. Remove (int) cast on return value. Add return type parameter to
24101 use in macro so that this macro does not truncate return value for
24102 64-bit values.
24103 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24104 pass to INTERNAL_VSYSCALL_NCS.
24105 (INLINE_VSYSCALL): Add 'long int' as return type to
24106 INTERNAL_VSYSCALL_NCS macro invocation.
24107 (INTERNAL_VSYSCALL): Add 'long int' as return type to
24108 INTERNAL_VSYSCALL_NCS macro invocation.
24109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24110
d3b9ea61
SP
241112013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24112
0b57daeb
SP
24113 [BZ #14496]
24114 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24115 Fix application of SIMD FP exception mask.
24116
caa99d06
SP
24117 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24118 mp_no from a power of two.
24119 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24120 __mpexp_twomm1. Use __pow_mp.
24121
d3b9ea61
SP
24122 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24123 multiplication.
24124
1dbaee3c
DM
241252013-01-17 David S. Miller <davem@davemloft.net>
24126
24127 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24128
728d7b43
JM
241292013-01-17 Joseph Myers <joseph@codesourcery.com>
24130
24131 [BZ #15023]
24132 * include/complex.h: Condition contents on [!_COMPLEX_H].
24133 (__kernel_casinhf): New prototype.
24134 (__kernel_casinh): Likewise.
24135 (__kernel_casinhl): Likewise.
24136 * math/Makefile (libm_calls): Add k_casinh.
24137 * math/k_casinh.c: New file.
24138 * math/k_casinhf.c: Likewise.
24139 * math/k_casinhl.c: Likewise.
24140 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24141 finite nonzero arguments.
24142 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24143 finite nonzero arguments.
24144 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24145 finite nonzero arguments.
24146 * math/s_casinh.c: Do not include <float.h>.
24147 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24148 * math/s_casinhf.c: Do not include <float.h>.
24149 (__casinhf): Move code for finite nonzero arguments to
24150 k_casinhf.c.
24151 * math/s_casinhl.c: Do not include <float.h>.
24152 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24153 redefine.
24154 (__casinhl): Move code for finite nonzero arguments to
24155 k_casinhl.c.
24156 * math/libm-test.inc (cacos_test): Add more tests.
24157 * sysdeps/i386/fpu/libm-test-ulps: Update.
24158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24159
2a26ef3a
PT
241602013-01-17 Pino Toscano <toscano.pino@tiscali.it>
24161
24162 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24163 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24164 [!HAVE_MREMAP]: Remove [defined linux] case.
24165 * malloc/arena.c: Do not include <malloc-sysdep.h>.
24166
a897655d
SP
241672013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24168
24169 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24170
881ebe89 241712013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
24172
24173 * elf/elf.h (R_386_SIZE32): New relocation.
24174 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24175 R_386_SIZE32.
24176 (elf_machine_rela): Likewise.
24177 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24178 R_X86_64_SIZE64 and R_X86_64_SIZE32.
24179
59981e9b
JM
241802013-01-17 Joseph Myers <joseph@codesourcery.com>
24181
24182 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24183 (FP_FAST_FMA): Do not define.
24184 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24185 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24186 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24187 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24188 !_SOFT_FLOAT]: Likewise.
24189 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24190 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24191 value.
24192 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24193 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24194 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24195 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24196 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24197 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24198 file.
24199
cfa8054f
AS
242002013-01-16 Andreas Schwab <schwab@suse.de>
24201
24202 [BZ #14327]
24203 * include/stdlib.h (__mktemp): Add declaration.
24204 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24205 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24206
dd930cc5
SP
242072013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24208
881ebe89
SP
24209 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24210 definitions.
24211 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24212 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24213 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24214 definitions here.
24215 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24216 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24217 definitions.
24218 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24219 and ONE.
24220 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24221 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24222 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24223 definitions.
24224 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24225 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24226 definitions.
24227 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 24228
dd930cc5
SP
24229 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24230
c19a9f89
DM
242312013-01-15 David S. Miller <davem@davemloft.net>
24232
1aa61767
DM
24233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24234 trunc{,f} to libm-sysdep_routes.
24235 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24237 file.
24238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24240 file.
24241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24242 file.
24243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24245 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24246 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24247 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24248 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24249 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24250 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24251
c42d5e98
DM
24252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24253 nearbyint{,f} to libm-sysdep_routes.
24254 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24256 New file.
24257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24258 file.
24259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24260 New file.
24261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24262 file.
24263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24265 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24266 file.
24267 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24268 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24269 file.
24270 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24271 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24272 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24273
c19a9f89
DM
24274 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24275 libc_feholdexcept and libc_fesetenv.
24276
357679d2
MF
242772013-01-15 Mike Frysinger <vapier@gentoo.org>
24278
24279 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24280
65a82e3d
DM
242812013-01-14 David S. Miller <davem@davemloft.net>
24282
8b954ab9
DM
24283 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24284 (SPARC_ASM_VIS2_IFUNC): Likewise.
24285 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24287 use of 'siam' instruction.
24288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24289 Likewise.
24290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24291 Likewise.
24292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24293 Likewise.
24294 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24295 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24296 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24297 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24299 file.
24300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24301 file.
24302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24303 file.
24304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24305 file.
24306 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24307 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24308 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24309 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24311 new VIS2 routines.
24312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24315 Likewise.
24316 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24317 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24318 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24319 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24321 routines to libm-sysdep_routines.
24322 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24323
65a82e3d
DM
24324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24325 fdim/fdimf to libm-sysdep_routines.
24326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24327 file.
24328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24330 file.
24331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24334 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24335 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24336 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24337 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24338
e34ab705
SP
243392013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24340
2a91b573
SP
24341 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24342 to optimize copies.
24343
1066a534
SP
24344 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24345 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24346 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24347
e34ab705
SP
24348 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24349 local variable MPTWO.
24350 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24351 Likewise.
24352
aba5e596
MF
243532013-01-13 Mike Frysinger <vapier@gentoo.org>
24354
24355 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24356 GLOB_NOESCAPE.
24357
e557e9e5
MF
243582013-01-13 Mike Frysinger <vapier@gentoo.org>
24359
24360 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24361
0428cec9
MF
243622013-01-13 Mike Frysinger <vapier@gentoo.org>
24363
24364 * manual/pattern.texi (glob_t): Document gl_flags.
24365 (glob64_t): Likewise.
24366
8794a964
DM
243672013-01-11 David S. Miller <davem@davemloft.net>
24368
66438c3f
RM
24369 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24370 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24371 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
24372 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24373 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24374 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24375 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24376 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24377 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24378 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24379 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24380 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24381 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24382
4ae4244d
DM
24383 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24384 sparc V9 rather than using V8 code.
24385 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24386 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24387
8794a964
DM
24388 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24389 Move to...
24390 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24391 Here.
24392
6270516e
RM
243932013-01-11 Roland McGrath <roland@hack.frob.com>
24394
24395 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24396 not in the main loop.
24397 * configure: Regenerated.
24398
6a57d931
JM
243992013-01-11 Joseph Myers <joseph@codesourcery.com>
24400
24401 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24402 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24403 to just #else.
24404 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
24405 [!__GLIBC_HAVE_LONG_LONG] case.
24406 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24407 condition to just #else.
24408 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24409 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24410 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24411 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24412 unconditional.
24413 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24414 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24415 #elif condition to just #else.
24416 * sysdeps/unix/sysv/linux/sys/sysmacros.h
24417 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24418 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24419 #elif condition to just #else.
24420
0e8529e9
SE
244212013-01-11 Steve Ellcey <sellcey@mips.com>
24422
24423 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24424 (EF_MIPS_ARCH_64): Fix value.
24425 (EF_MIPS_ARCH_32R2): New.
24426 (EF_MIPS_ARCH_64R2): New.
24427
740b3dbe
L
244282013-01-11 H.J. Lu <hongjiu.lu@intel.com>
24429
24430 * Makeconfig (+link-pie-before-libc): New.
24431 (+link-pie-after-libc): Likewise.
24432 (+link-pie-tests): Likewise.
24433 (+link-pie): Rewritten.
24434 (link-before-libc): Remove $(config-LDFLAGS).
24435 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24436 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24437 (config-LDFLAGS): Renamed to ...
24438 (rtld-LDFLAGS): This.
24439 (rtld-tests-LDFLAGS): New macro.
24440 (link-libc-rpath-link): Likewise.
24441 (link-libc-tests-rpath-link): Likewise.
24442 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24443 (link-libc): Prepand $(link-libc-rpath-link).
24444 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24445 (test-program-prefix): New macro.
24446 (test-via-rtld-prefix): Likewise.
24447 (test-program-cmd): Likewise.
24448 (host-test-program-cmd): Likewise.
24449 * Makefile ($(common-objpfx)testrun.sh): Replace
24450 $(run-program-prefix) with $(test-program-prefix).
24451 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24452 $(rtld-LDFLAGS).
24453 ($(common-objpfx)shlib.lds): Likewise.
24454 (build-module-helper): Likewise.
24455 ($(common-objpfx)format.lds): Likewise.
24456 * Rules (binaries-pie-tests): New.
24457 (binaries-pie-notests): Likewise.
24458 (binaries-pie): Rewritten.
24459 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24460 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24461 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24462 (make-test-out): Replace $(host-built-program-cmd) with
24463 $(host-test-program-cmd).
24464 * config.make.in (build-hardcoded-path-in-tests): New variable.
24465 * configure.in (--enable-hardcoded-path-in-tests): New configure
24466 option.
24467 (hardcoded_path_in_tests): New AC_SUBST.
24468 * configure: Regenerated.
24469 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24470 $(built-program-cmd) with $(test-program-cmd).
24471 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24472 (test_program_cmd): This.
24473 * elf/Makefile ($(objpfx)order.out): Run test with
24474 $(test-program-prefix).
24475 ($(objpfx)order2.out): Likewise.
24476 ($(objpfx)tst-initorder.out): Likewise.
24477 ($(objpfx)tst-initorder2.out): Likewise.
24478 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24479 $(test-program-cmd).
24480 ($(objpfx)tst-array1-static.out): Likewise.
24481 ($(objpfx)tst-array2.out): Likewise.
24482 ($(objpfx)tst-array3.out): Likewise.
24483 ($(objpfx)tst-array4.out): Likewise.
24484 ($(objpfx)tst-array5.out): Likewise.
24485 ($(objpfx)tst-array5-static.out): Likewise.
24486 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24487 $(test-program-cmd).
24488 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24489 $(run-program-prefix) with $(test-program-prefix).
24490 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24491 (test_program_prefix): This.
24492 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24493 $(run-program-prefix) with $(test-program-prefix).
24494 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24495 (test_program_prefix): This.
24496 * iconvdata/tst-tables.sh: Likewise.
24497 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24498 $(run-program-prefix) with $(test-program-prefix).
24499 ($(objpfx)tst-translit.out): Likewise.
24500 ($(objpfx)tst-gettext2.out): Likewise.
24501 ($(objpfx)tst-gettext4.out): Likewise.
24502 ($(objpfx)tst-gettext6.out): Likewise.
24503 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24504 (test_program_prefix): This.
24505 * intl/tst-gettext2.sh: Likewise.
24506 * intl/tst-gettext4.sh Likewise.
24507 * intl/tst-gettext6.sh: Likewise.
24508 * intl/tst-translit.sh: Likewise.
24509 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24510 with $(test-program-cmd).
24511 * libio/Makefile ($(objpfx)test-freopen.out): Replace
24512 $(run-program-prefix) with $(test-program-prefix).
24513 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24514 (test_program_prefix): This.
24515 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24516 $(run-program-prefix) with $(test-program-prefix).
24517 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24518 (test_program_prefix): This.
24519 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24520 * posix/Makefile ($(objpfx)globtest.out): Replace
24521 $(run-via-rtld-prefix) and $(test-wrapper) with
24522 $(test-program-prefix) and $(test-via-rtld-prefix).
24523 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24524 $(test-program-prefix).
24525 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24526 $(host-test-program-cmd).
24527 (tst-spawn-ARGS): Likewise.
24528 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24529 $(test-program-prefix).
24530 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24531 (test_via_rtld_prefix): This.
24532 (test_wrapper): Renamed to ...
24533 (test_program_prefix): This.
24534 (run_program_prefix): Replaced by test_program_prefix.
24535 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24536 (test_program_prefix): This.
24537 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24538 with $(host-test-program-cmd).
24539 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24540 $(run-program-prefix) with $(test-program-prefix).
24541 ($(objpfx)tst-printf.out): Likewise.
24542 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24543 $(test-program-cmd).
24544 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24545 (test_program_prefix): This.
24546 * stdio-common/tst-unbputc.sh: Likewise.
24547 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24548 $(run-program-prefix) with $(test-program-prefix).
24549 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24550 (test_program_prefix): This.
24551 * string/Makefile ($(objpfx)tst-svc.out): Replace
24552 $(built-program-cmd) with $(test-program-cmd).
24553
c6fe55cf
AJ
245542013-01-11 Andreas Jaeger <aj@suse.de>
24555
24556 [BZ #15003]
24557 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24558 value. Sync with Linux 3.7.
24559
9e6919c8
DM
245602013-01-10 David S. Miller <davem@davemloft.net>
24561
24562 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24563 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24564 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24565
1c9f1a02
RM
245662013-01-10 Roland McGrath <roland@hack.frob.com>
24567
24568 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24569 never set.
24570 * configure: Regenerated.
24571
b9de2dde
DM
245722013-01-10 David S. Miller <davem@davemloft.net>
24573
24574 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24575 sparc V9 rather than using V8 code.
24576 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24577 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24578
e7f68ef4
RM
245792013-01-10 Roland McGrath <roland@hack.frob.com>
24580
24581 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24582 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24583 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24584 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24585 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24586 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24587 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24588 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24589 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24590 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24591 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24592 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24593 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24594 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24595 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24596 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24597 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24598 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24599 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24600 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24601 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24602 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24603 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24604 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24605 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24606 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24607 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24608
5a47cc9c
DM
246092013-01-10 David S. Miller <davem@davemloft.net>
24610
24611 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24612
4cf8f209
L
246132013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24614
24615 * posix/Makefile (tests-static): New variable.
24616 (tests): Add $(tests-static).
24617 (tst-exec-static-ARGS): New variable.
24618 (tst-spawn-static-ARGS): Likewise.
24619 * posix/tst-exec-static.c: New file.
24620 * posix/tst-spawn-static.c: Likewise.
24621 * posix/tst-exec.c: Support run directly.
24622 * posix/tst-spawn.c: Likewise.
24623
fed0faa1
JM
246242013-01-10 Joseph Myers <joseph@codesourcery.com>
24625
828beb13
JM
24626 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24627 long.
24628 * math/bits/mathcalls.h (llrint): Likewise.
24629 (llround): Likewise.
24630 * stdlib/stdlib.h (struct drand48_data): Likewise.
24631 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24632 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24633 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24634 Likewise.
24635 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24636 Likewise.
24637 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24638 (elf_greg_t): Likewise.
24639 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24640 (__jmp_buf): Likewise.
24641 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24642 definitions.
24643 (llrint): Likewise, for all definitions.
24644 (llrintl): Likewise.
24645
fed0faa1
JM
24646 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24647 Remove [__GNUC__] condition.
24648 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24649 condition to just [__USE_ISOC99].
24650 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24651
1a20cb20
L
246522013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24653
24654 [BZ #14200]
24655 * sysdeps/unix/sysv/linux/x86/bits/environments.h
24656 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24657 defined.
24658 (_POSIX_V6_ILP32_OFF32): Likewise.
24659 (_XBS5_ILP32_OFF32): Likewise.
24660 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24661 (__ILP32_OFFBIG_LDFLAGS): Likewise.
24662
751b85f7
SP
246632013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24664
7490eb81
SP
24665 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24666
751b85f7
SP
24667 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24668 doubles __mpexp_twomm1. Adjust usage.
24669 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24670 Remove.
24671
988197f0
AS
246722013-01-10 Andreas Schwab <schwab@suse.de>
24673
24674 [BZ #14964]
24675 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24676 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24677
e83d7298
DM
246782013-01-09 David S. Miller <davem@davemloft.net>
24679
034ed64b 24680 [BZ #15003]
57f41c40
AS
24681 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24682 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24683 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24684 (TCP_FASTOPEN): Define.
e83d7298
DM
24685 (tcp_repair_opt): New structure.
24686 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24687 enum values.
57f41c40
AS
24688 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24689 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24690 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
24691 (tcp_cookie_transactions): New structure.
24692
d5e0b9bd
AB
246932013-01-09 Anton Blanchard <anton@samba.org>
24694
24695 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24696 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24697 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24698 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24699
0c07e3ea
JM
247002013-01-09 Joseph Myers <joseph@codesourcery.com>
24701
24702 * include/features.h (__USE_ANSI): Remove.
24703
232f7002
RM
247042013-01-09 Roland McGrath <roland@hack.frob.com>
24705
ad98e30c
RM
24706 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24707
232f7002
RM
24708 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24709
950c99ca
SP
247102013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
24711
b5792741
SP
24712 * sysdeps/s390/fpu/libm-test-ulps: Update.
24713
47cf2278
SP
24714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24715
950c99ca
SP
24716 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24717 (__acr): Likewise.
24718 (__cpy): Likewise.
24719 (norm): Likewise.
24720 (denorm): Likewise.
24721 (__mp_dbl): Likewise.
24722 (__dbl_mp): Likewise.
24723 (add_magnitudes): Likewise.
24724 (sub_magnitudes): Likewise.
24725 (__add): Likewise.
24726 (__sub): Likewise.
24727 (__mul): Likewise.
24728 (__inv): Likewise.
24729 (__dvd): Likewise.
24730 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24731 (__acr): Likewise.
24732 (__cpy): Likewise.
24733 (norm): Likewise.
24734 (denorm): Likewise.
24735 (__mp_dbl): Likewise.
24736 (__dbl_mp): Likewise.
24737 (add_magnitudes): Likewise.
24738 (sub_magnitudes): Likewise.
24739 (__add): Likewise.
24740 (__sub): Likewise.
24741 (__mul): Likewise.
24742 (__inv): Likewise.
24743 (__dvd): Likewise.
24744 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24745 (__acr): Likewise.
24746 (__cpy): Likewise.
24747 (norm): Likewise.
24748 (denorm): Likewise.
24749 (__mp_dbl): Likewise.
24750 (__dbl_mp): Likewise.
24751 (add_magnitudes): Likewise.
24752 (sub_magnitudes): Likewise.
24753 (__add): Likewise.
24754 (__sub): Likewise.
24755 (__mul): Likewise.
24756 (__inv): Likewise.
24757 (__dvd): Likewise.
24758
eede9df9
JM
247592013-01-08 Joseph Myers <joseph@codesourcery.com>
24760
24761 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24762 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24763 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24764 2 && __USE_EXTERN_INLINES]: Likewise.
24765
c40ea3d9
AJ
247662013-01-08 Andreas Jaeger <aj@suse.de>
24767
24768 [BZ# 14985]
24769 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24770 Remove.
24771 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24772 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24773
2ccdea26
AB
247742013-01-07 Anton Blanchard <anton@samba.org>
24775
24776 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24777 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24778 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24779 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24780 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24781 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24782 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24783 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24784 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24785 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24786 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24787 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24788 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24789 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24790 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24791 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24792 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24793 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24794 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24795 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24796 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24797 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24798 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24799 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24800 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24801 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24802 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24803 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24804 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24805 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24806 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24807 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24808 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24809 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24810 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24811 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24812 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24813 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24814 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24815 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24816 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24817 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24818 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24819
a9708fed
JM
248202013-01-07 Joseph Myers <joseph@codesourcery.com>
24821
375607b9
JM
24822 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24823 (__MALLOC_PMT): Likewise.
24824 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24825 [__GNUC__], only on [_LIBC].
24826 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24827 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24828 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24829 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24830 forward declaration.
24831 (realloc_hook_ini): Likewise.
24832 (memalign_hook_ini): Likewise.
24833 (__libc_memalign): Do not use __MALLOC_PMT in variable
24834 declaration.
24835 (__libc_valloc): Likewise.
24836 (__libc_pvalloc): Likewise.
24837 (__libc_calloc): Likewise.
24838 (__posix_memalign): Likewise.
24839
a9708fed
JM
24840 [BZ #14996]
24841 * math/s_casinh.c: Include <float.h>.
24842 (__casinh): Do not do computation with squaring and square root
24843 for large arguments.
24844 * math/s_casinhf.c: Include <float.h>.
24845 (__casinhf): Do not do computation with squaring and square root
24846 for large arguments.
24847 * math/s_casinhl.c: Include <float.h>.
24848 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24849 (__casinhl): Do not do computation with squaring and square root
24850 for large arguments.
24851 * math/libm-test.inc (casin_test): Add more tests.
24852 (casinh_test): Likewise.
24853 * sysdeps/i386/fpu/libm-test-ulps: Update.
24854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24855
afec409a
L
248562013-01-04 H.J. Lu <hongjiu.lu@intel.com>
24857
24858 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24859 (__x86_64_raw_data_cache_size): Likewise.
24860 (__x86_64_data_cache_size_half): Likewise.
24861 (__x86_64_raw_data_cache_size_half): Likewise.
24862 (__x86_64_shared_cache_size): Likewise.
24863 (__x86_64_raw_shared_cache_size): Likewise.
24864 (__x86_64_shared_cache_size_half): Likewise.
24865 (__x86_64_raw_shared_cache_size_half): Likewise.
24866 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24867 to ...
24868 (__x86_data_cache_size): This.
24869 (__x86_64_raw_data_cache_size): Renamed to ...
24870 (__x86_raw_data_cache_size): This.
24871 (__x86_64_data_cache_size_half): Renamed to ...
24872 (__x86_data_cache_size_half): This.
24873 (__x86_64_raw_data_cache_size_half): Renamed to ...
24874 (__x86_raw_data_cache_size_half): This.
24875 (__x86_64_shared_cache_size): Renamed to ...
24876 (__x86_shared_cache_size): This.
24877 (__x86_64_raw_shared_cache_size): Renamed to ...
24878 (__x86_raw_shared_cache_size): This.
24879 (__x86_64_shared_cache_size_half): Renamed to ...
24880 (__x86_shared_cache_size_half): This.
24881 (__x86_64_raw_shared_cache_size_half): Renamed to ...
24882 (__x86_raw_shared_cache_size_half): This.
24883 * sysdeps/x86_64/memcpy.S: Updated.
24884 * sysdeps/x86_64/memset.S: Likewise.
24885 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24886 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24887 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24888
0b3986d0
DM
248892013-01-04 David S. Miller <davem@davemloft.net>
24890
24891 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24892
e47686e9
AS
248932013-01-04 Andreas Schwab <schwab@linux-m68k.org>
24894
d643bac1
AS
24895 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24896 1 to avoid redefinition warning.
24897 (__USE_GNU): Don't define.
24898 (init_signaling_nan): Protoize.
24899
e47686e9
AS
24900 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24901
b18decba
SP
249022013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24903
fffb407f
SP
24904 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24905 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24906 (__cpymn): Likewise.
24907 (norm): Remove commented code.
24908 (denorm): Likewise.
24909 (__mp_dbl): Likewise.
24910 (__inv): Likewise.
24911 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24912 (__cpymn): Likewise.
24913 (norm): Remove commented code.
24914 (denorm): Likewise.
24915 (__mp_dbl): Likewise.
24916 (__inv): Likewise.
24917
b18decba
SP
24918 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24919 mp_no value for 1.0 and 2.0.
24920 (norm): Use RADIXI instead of radixi.d.
24921 (denorm): Likewise.
24922 (__mul): Use 0.0 instead of zero.d.
24923 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24924 mp_no value for 1.0 and 2.0.
24925 (norm): Use RADIXI instead of radixi.d.
24926 (denorm): Likewise.
24927 (__mul): Use 0.0 instead of zero.d.
24928
cdc1c96f
JM
249292013-01-04 Joseph Myers <joseph@codesourcery.com>
24930
24931 [BZ #14994]
24932 * math/s_casinh.c (__casinh): Reduce finite argument to first
24933 quadrant then set signs of results at the end.
24934 * math/s_casinhf.c (__casinhf): Likewise.
24935 * math/s_casinhl.c (__casinhl): Likewise.
24936 * math/libm-test.inc (casin_test): Add more tests.
24937 (casinh_test): Likewise.
24938 * sysdeps/i386/fpu/libm-test-ulps: Update.
24939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24940
302913e1
SP
249412013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24942
6420d207
SP
24943 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24944
a9e48ab4
SP
24945 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24946
b7837264
SP
24947 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24948 declarations.
24949 (denorm): Likewise.
24950 (__mp_dbl): Likewise.
24951 (__inv): Likewise.
24952
f8af25d2
SP
24953 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24954 and adjust the header comment.
24955
302913e1
SP
24956 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24957 variable name from declaration.
24958
5d7dd1ca
L
249592013-01-03 H.J. Lu <hongjiu.lu@intel.com>
24960
24961 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24962 Initialize COMMON_CPUID_INDEX_7 element.
24963 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24964 (CPUID_RTM): Likewise.
24965 (HAS_RTM): Likewise.
24966 (COMMON_CPUID_INDEX_7): New enum.
24967
2f5f40f4
AS
249682013-01-03 Andreas Schwab <schwab@linux-m68k.org>
24969
24970 [BZ #14981]
24971 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24972 size is zero, record memory as freed.
24973
4056f4a0
AJ
249742013-01-03 Andreas Jaeger <aj@suse.de>
24975
24976 * po/ia.po: Add new Interlingua translation.
24977
ab15736f 249782012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
24979
24980 * locale/programs/localedef.c: Fix description of '--posix' flag.
24981
568035b7
JM
249822013-01-02 Joseph Myers <joseph@codesourcery.com>
24983
e6898b8d
JM
24984 * NEWS: Update dates in second copyright notice.
24985 * README: Update copyright dates in example.
24986 * manual/libc.texinfo: Update copyright dates.
24987 * scripts/test-installation.pl: Update copyright date in --version
24988 output.
24989
0e2f9562
JM
24990 * hurd/ctty-input.c: Fix copyright notice formatting.
24991 * hurd/ctty-output.c: Likewise.
24992 * hurd/dtable.c: Likewise.
24993 * hurd/hurd-raise.c: Likewise.
24994 * hurd/hurdprio.c: Likewise.
24995 * hurd/msgportdemux.c: Likewise.
24996 * misc/sys/file.h: Likewise.
24997 * misc/sys/ioctl.h: Likewise.
24998 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24999 * sysdeps/mach/hurd/chdir.c: Likewise.
25000 * sysdeps/mach/hurd/fchdir.c: Likewise.
25001 * sysdeps/mach/hurd/rename.c: Likewise.
25002 * sysdeps/mach/hurd/rmdir.c: Likewise.
25003 * sysdeps/mach/hurd/seekdir.c: Likewise.
25004 * sysdeps/mach/hurd/setsid.c: Likewise.
25005 * sysdeps/posix/wait3.c: Likewise.
25006
568035b7
JM
25007 * All files with FSF copyright notices: Update copyright dates
25008 using scripts/update-copyrights.
25009 * intl/plural.c: Regenerated.
25010 * locale/programs/charmap-kw.h: Likewise.
25011 * locale/programs/locfile-kw.h: Likewise.
25012
da08f647
SP
250132013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25014
0f5477af
SP
25015 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25016 four values.
25017
44e0d4c2
SP
25018 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25019 calculation loop and add branch prediction.
25020
4d55b4e5
SP
25021 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25022 check access beyond bounds of m1np.
25023
da08f647
SP
25024 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25025 MPTWO.
25026 (__inv): Remove local variable MPTWO to use the global
25027 constant.
25028 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25029 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25030 variable MPTWO.
25031 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25032 MP3HALFS static const.
25033
8e051029
DM
250342013-01-01 David S. Miller <davem@davemloft.net>
25035
25036 * po/ca.po: Update from translation team.
25037
f4cf5f2d
JM
250382013-01-01 Joseph Myers <joseph@codesourcery.com>
25039
25040 * scripts/update-copyrights: New file.
25041 * Makeconfig: Reformat copyright notice.
25042 * ctype/ctype.h: Likewise.
25043 * debug/swprintf_chk.c: Likewise.
25044 * elf/dl-cache.c: Likewise.
25045 * elf/dl-debug.c: Likewise.
25046 * elf/dl-object.c: Likewise.
25047 * grp/initgroups.c: Likewise.
25048 * hurd/Makefile: Likewise.
25049 * hurd/hurd/signal.h: Likewise.
25050 * hurd/hurdfault.c: Likewise.
25051 * hurd/hurdioctl.c: Likewise.
25052 * hurd/hurdlookup.c: Likewise.
25053 * hurd/intr-msg.c: Likewise.
25054 * iconv/gconv_open.c: Likewise.
25055 * libio/swprintf.c: Likewise.
25056 * locale/lc-ctype.c: Likewise.
25057 * locale/nl_langinfo.c: Likewise.
25058 * mach/Machrules: Likewise.
25059 * mach/Makefile: Likewise.
25060 * malloc/obstack.h: Likewise.
25061 * manual/Makefile: Likewise.
25062 * manual/tsort.awk: Likewise.
25063 * misc/bits/stab.def: Likewise.
25064 * nis/nis_print_group_entry.c: Likewise.
25065 * nis/nis_table.c: Likewise.
25066 * nis/nss_compat/compat-pwd.c: Likewise.
25067 * nis/nss_compat/compat-spwd.c: Likewise.
25068 * po/Makefile: Likewise.
25069 * posix/fnmatch.c: Likewise.
25070 * posix/regex.h: Likewise.
25071 * resolv/Makefile: Likewise.
25072 * resolv/nss_dns/dns-network.c: Likewise.
25073 * resolv/res_hconf.c: Likewise.
25074 * scripts/gen-sorted.awk: Likewise.
25075 * soft-fp/soft-fp.h: Likewise.
25076 * stdio-common/printf.h: Likewise.
25077 * stdlib/monetary.h: Likewise.
25078 * stdlib/random.c: Likewise.
25079 * stdlib/random_r.c: Likewise.
25080 * sysdeps/generic/Makefile: Likewise.
25081 * sysdeps/gnu/Makefile: Likewise.
25082 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25083 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25084 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25085 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25086 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25087 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25088 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25089 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25090 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25091 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25092 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25093 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25094 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25095 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25096 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25097 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25098 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25099 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25100 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25101 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25102 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25103 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25104 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25105 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25106 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25107 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25108 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25109 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25110 * sysdeps/mach/hurd/errnos.awk: Likewise.
25111 * sysdeps/mach/hurd/fork.c: Likewise.
25112 * sysdeps/mach/hurd/getcwd.c: Likewise.
25113 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25114 * sysdeps/mach/hurd/mmap.c: Likewise.
25115 * sysdeps/mach/hurd/utimes.c: Likewise.
25116 * sysdeps/mach/hurd/xmknod.c: Likewise.
25117 * sysdeps/posix/profil.c: Likewise.
25118 * sysdeps/posix/readdir_r.c: Likewise.
25119 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25120 * sysdeps/powerpc/bits/setjmp.h: Likewise.
25121 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25122 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25123 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25124 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25125 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25126 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25127 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25128 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25129 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25130 * sysdeps/pthread/lio_listio.c: Likewise.
25131 * sysdeps/sparc/dl-procinfo.h: Likewise.
25132 * sysdeps/unix/i386/sysdep.S: Likewise.
25133 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25134 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25135 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25136 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25138 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25139 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25140 * sysdeps/unix/sysv/linux/speed.c: Likewise.
25141 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25142 * sysdeps/wordsize-32/divdi3.c: Likewise.
25143 * time/sys/time.h: Likewise.
25144 * wcsmbs/Makefile: Likewise.
25145
0549fbba
DM
251462013-01-01 David S. Miller <davem@davemloft.net>
25147
a141f1a7
DM
25148 * po/fr.po: Update from translation team.
25149
0549fbba
DM
25150 * catgets/gencat.c: Update copyright year.
25151 * csu/version.c: Likewise.
25152 * debug/catchsegv.sh: Likewise.
25153 * debug/pcprofiledump.c: Likewise.
25154 * debug/xtrace.sh: Likewise.
25155 * elf/ldconfig.c: Likewise.
25156 * elf/ldd.bash.in: Likewise.
25157 * elf/pldd.c: Likewise.
25158 * elf/sotruss.ksh: Likewise.
25159 * elf/sprof.c: Likewise.
25160 * iconv/iconv_prog.c: Likewise.
25161 * iconv/iconvconfig.c: Likewise.
25162 * locale/programs/locale.c: Likewise.
25163 * locale/programs/localedef.c: Likewise.
25164 * login/programs/pt_chown.c: Likewise.
25165 * malloc/memusage.sh: Likewise.
25166 * malloc/memusagestat.c: Likewise.
25167 * malloc/mtrace.pl: Likewise.
25168 * nscd/nscd.c: Likewise.
25169 * nss/getent.c: Likewise.
25170 * nss/makedb.c: Likewise.
25171 * posix/getconf.c: Likewise.
25172
18ea052c
SP
251732012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25174
25175 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25176 numbers.
25177
9c89fca6
MF
251782012-12-30 Mike Frysinger <vapier@gentoo.org>
25179
25180 * math/bits/mathcalls.h (modf): Use __nonnull.
25181
085ec079
SP
251822012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25183
25184 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25185 (split): Use macro CN instead of the bare value.
25186 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25187 could be used.
25188 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25189 instead of the bare value.
25190 (power1): Likewise.
25191
6d9f97e1
SP
251922012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25193
d63f73be
SP
25194 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25195 __ATAN_TWOM.
25196 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25197
6d9f97e1
SP
25198 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25199 their values.
25200 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25201 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25202 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25203 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25204
4c4febf5
AJ
252052012-12-28 Andreas Jaeger <aj@suse.de>
25206
af5843ef
AJ
25207 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
25208 values are from Linux 3.7.
25209
4c4febf5
AJ
25210 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25211 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
25212
99136f82
SP
252132012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25214
2f216c3c 25215 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
25216 TRUE case.
25217
99136f82
SP
25218 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25219 (norm): Likewise.
25220 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25221 variables with preprocessor constants.
25222 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25223 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25224 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25225
7fffbdff
BH
252262012-12-27 Bruno Haible <bruno@clisp.org>
25227
25228 [BZ #14317]
25229 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25230 only if needed.
25231
b76eb5f0
SP
252322012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25233
31a7fe5c
SP
25234 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25235 and use variable directly.
25236 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25237
b76eb5f0
SP
25238 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25239 MPONE.
25240 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25241 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25242 variable MPONE.
25243 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25244 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25245 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25246 include directive. Remove local variable MPONE.
25247 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25248 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25249 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25250
2c8bfe7d
DM
252512012-12-25 David S. Miller <davem@davemloft.net>
25252
25253 * version.h (RELEASE): Set to "development".
25254 (VERSION): Set to "2.17.90".
25255 * NEWS: Add 2.18 section.
25256
147d03b0
DM
252572012-12-21 David S. Miller <davem@davemloft.net>
25258
25259 * po/hr.po: Update from translation team.
25260
a8ebb2b9
AK
252612012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25262
25263 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25264
95b4f1b6
SE
252652012-12-19 Steve Ellcey <sellcey@mips.com>
25266
b2d94007 25267 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 25268
cedb2a90
MS
252692012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25270
25271 * manual/contrib.texi (Contributors): Spelling correction.
25272
bbf527d6
DM
252732012-12-15 David S. Miller <davem@davemloft.net>
25274
25275 * po/ru.po: Update from translation team.
25276
bc38c906
DM
252772012-12-13 David S. Miller <davem@davemloft.net>
25278
85429b1a
DM
25279 * NEWS: Mention IFUNC testsuite enhancements.
25280
d283e353
DM
25281 * po/pl.po: Update from translation team.
25282 * po/bg.po: Likewise.
25283
bc38c906
DM
25284 * manual/contrib.texi (Contributors): Update entries for Hongjiu
25285 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
25286
a181b0d7
DM
252872012-12-11 David S. Miller <davem@davemloft.net>
25288
4641d57e
DM
25289 * po/sv.po: Update from translation team.
25290
f7bc6495
DM
25291 * po/vi.po: Update from translation team.
25292
6fc9048f
DM
25293 * po/cs.po: Update from translation team.
25294
a181b0d7
DM
25295 * po/de.po: Update from translation team.
25296 * po/eo.po: Likewise.
25297 * po/nl.po: Likewise.
25298
f70bfe80
SP
252992012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25300
3c8b4190
SP
25301 [BZ #14246]
25302 * manual/argp.texi (Argp Helper Functions): Move node to follow
25303 Argp Parsing State.
25304
f70bfe80
SP
25305 [BZ #14872]
25306 * manual/conf.texi (Limits on File System Capacity): Mention if
25307 terminating null is included in the max size.
25308
188f0adf
AJ
253092012-12-10 Andreas Jaeger <aj@suse.de>
25310
25311 * po/cs.po: Update from translation team.
25312
56e7d3ad
SP
253132012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25314
25315 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25316 void pointer and cast to uintptr_t.
25317 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25318 path.
25319 * sysdeps/s390/s390-64/memcpy.S: Likewise.
25320 * sysdeps/s390/s390-64/memset.S: Likewise.
25321
76f2d2ea 253222012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
25323
25324 [BZ #14833]
25325 * menual/message.texi (Message Translation): Fix typos.
25326 (Helper programs for gettext): Likewise.
25327
67cbf9a2
AS
253282012-12-07 Andreas Schwab <schwab@linux-m68k.org>
25329
25330 [BZ #14898]
25331 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25332 Change to -1.
25333
682d0e9a
DM
253342012-12-07 David S. Miller <davem@davemloft.net>
25335
25336 * po/libc.pot: Update.
25337
573cd484
RH
253382012-12-07 Richard Henderson <rth@redhat.com>
25339
7e9da188 25340 [BZ #10114]
573cd484
RH
25341 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25342 normal/normal case to before the switch.
25343 (_FP_DIV): Likewise.
25344
e933a943
MF
253452012-12-06 Carlos O'Donell <carlos@systemhalted.org>
25346 Mike Frysinger <vapier@gentoo.org>
25347
25348 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25349 check for __NR_fadvise64_64.
25350
82123268
CM
253512012-12-06 Chris Metcalf <cmetcalf@tilera.com>
25352
25353 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25354 0, not just to plain "0" as a statement.
25355 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25356 with cw.
25357
d9814526
JM
253582012-12-06 Joseph Myers <joseph@codesourcery.com>
25359
25360 * NEWS: Use sourceware.org in Bugzilla URL.
25361
7728c574
SP
253622012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25363
f16946dd
SP
25364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25365 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25366
5704bbcb
SP
25367 * stdio-common/tst-put-error.c (do_test): Add newline to the
25368 padded test to ensure flush.
25369
17aa0516
JL
253702012-12-05 Jeff Law <law@redhat.com>
25371
25372 * sunrpc/etc.rpc (fedfs_admin): Add entry.
25373
363313b5
JM
253742012-12-05 Joseph Myers <joseph@codesourcery.com>
25375
effbd42a
JM
25376 * README: Don't refer to ports add-on as distributed separately.
25377 Mention AArch64 in list of systems supported in the ports add-on.
25378
87600365
JM
25379 * LICENSES: Add more non-FSF copyright and license notices.
25380
a0d7066a
JM
25381 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25382 ((unused)).
25383
66ca5a5b
JM
25384 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25385
363313b5
JM
25386 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25387 10000 as width of padded output.
25388
b37984ad
JM
253892012-12-04 Joseph Myers <joseph@codesourcery.com>
25390
9003570a
JM
25391 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25392
b37984ad
JM
25393 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25394 variable LX with __attribute__ ((unused)).
25395 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25396 Likewise.
25397 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25398 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25399 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25400 with __attribute__ ((unused)).
25401
c8df52ec
DM
254022012-12-04 David S. Miller <davem@abraco.davemloft.net>
25403
25404 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25405
b3b099af
JM
254062012-12-04 Joseph Myers <joseph@codesourcery.com>
25407
c33aa6e3
JM
25408 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25409 (CFLAGS-nldbl-acos.c): New variable.
25410 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25411 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25412 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25413 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25414 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25415 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25416 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25417 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25418 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25419 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25420 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25421 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25422 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25423 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25424 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25425 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25426 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25427 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25428 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25429 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25430 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25431 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25432 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25433 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25434 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25435 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25436 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25437 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25438 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25439 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25440 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25441 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25442 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25443 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25444 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25445 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25446 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25447 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25448 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25449 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25450 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25451 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25452 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25453 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25454 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25455 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25456 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25457 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25458 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25459 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25460 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25461 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25462 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25463 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25464 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25465 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25466 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25467 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25468 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25469 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25470 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25471 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25472 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25473 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25474 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25475 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25476 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25477 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25478 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25479 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25480 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25481 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25482 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25483 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25484 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25485 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25486 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25487 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25488 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25489 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25490 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25491 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25492 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25493 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25494 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25495 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25496 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25497 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25498 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25499 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25500 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25501 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25502 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25503 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25504 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25505 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25506 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25507
20f0018d
JM
25508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25509 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25510
b3b099af
JM
25511 [BZ #14914]
25512 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25513 whole low double instead of just low 47 bits when splitting values
25514 into two parts.
25515
029264d1
AM
255162012-12-03 Allan McRae <allan@archlinux.org>
25517
25518 * manual/stdio.texi (Predefined Printf Handlers): Remove
25519 @hsep and @vsep usage.
25520
c9d6789e
MF
255212012-12-03 Mike Frysinger <vapier@gentoo.org>
25522
25523 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25524 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25525
4b7634a5
JL
255262012-12-03 Jeff Law <law@redhat.com>
25527
25528 * time/sys/time.h (settimeofday): Do not mark TV argument
25529 as __nonnull.
25530
eb6cbd24
MF
255312012-12-01 Mike Frysinger <vapier@gentoo.org>
25532
25533 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25534 when currently writing and seek to current position when not.
25535 * libio/Makefile (tests): Remove bug-fclose1.
25536 * libio/bug-fclose1.c: Delete.
25537
f638872a
JM
255382012-12-01 Joseph Myers <joseph@codesourcery.com>
25539
25540 * manual/arith.texi (feenableexcept): Fix typo.
25541 (fedisableexcept): Likewise.
25542
48085d14
RM
255432012-11-30 Roland McGrath <roland@hack.frob.com>
25544
25545 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25546 second, differently-typed declaration, rather than a cast.
25547
1a538b9f
SP
255482012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25549
25550 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25551 * include/rpc/svc.h: ... here.
25552
d07f2ff1 255532012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
25554
25555 [BZ #13013]
25556 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25557 depending n and resplen2 to catch cases where answer
25558 equals answerp2.
25559
c93ec1f0
CD
255602012-11-29 Carlos O'Donell <carlos@systemhalted.org>
25561
25562 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25563 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25564
37db69de
MF
255652012-11-29 Mike Frysinger <vapier@gentoo.org>
25566
25567 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25568
e10c4e4f
RM
255692012-11-29 Roland McGrath <roland@hack.frob.com>
25570
25571 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25572
2af1b328
JL
255732012-11-28 Jeff Law <law@redhat.com>
25574
25575 [BZ #13761]
25576 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25577 dataset_temporary. Track alloca usage into alloca_used.
25578 If dataset is large allocate and release it via malloc/free.
25579
111db5b1
FW
255802012-06-04 Florian Weimer <fweimer@redhat.com>
25581
f06cc227 25582 [BZ #14197]
111db5b1
FW
25583 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25584
dd694abd
DM
255852012-11-28 David S. Miller <davem@davemloft.net>
25586
25587 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25588
9984dd01
JM
255892012-11-28 Joseph Myers <joseph@codesourcery.com>
25590
25591 [BZ #14803]
25592 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25593 of pi/2 rounded to nearest to 64 bits.
25594 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25595 nearest to 64 bits.
25596 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25597 bits.
25598
14bc93a9
JL
255992012-11-28 Jeff Law <law@redhat.com>
25600 Martin Osvald <mosvald@redhat.com>
25601
25602 [BZ #14889]
25603 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25604 * sunrpc/svc.c: Include time.h.
25605 (__svc_accept_failed): New function.
25606 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25607 any reason other than EINTR, call __svc_accept_failed.
25608 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25609 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25610
e3c6aa3a
AS
256112012-11-28 Andreas Schwab <schwab@suse.de>
25612
25613 * scripts/abilist.awk: Also handle indirect functions in .opd
25614 section.
25615
1bead169
JM
256162012-11-28 Joseph Myers <joseph@codesourcery.com>
25617
25618 [BZ #13881]
25619 * sysdeps/x86/fpu/powl_helper.c: New file.
25620 * sysdeps/x86/fpu/Makefile: Likewise.
25621 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25622 (p3): New object.
25623 (__ieee754_powl): Use __powl_helper for finite arguments except
25624 integer exponents below 8.
25625 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25626 (p3): New object.
25627 (__ieee754_powl): Use __powl_helper for finite arguments except
25628 integer exponents below 8.
25629 * math/libm-test.inc (pow_test): Add more tests and enable some
25630 previously disabled tests.
25631 * sysdeps/i386/fpu/libm-test-ulps: Update.
25632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25633
0817d63d
SP
256342012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25635 Carlos O'Donell <carlos_odonell@mentor.com>
25636
25637 * nss/makedb.c (is_prime): Assert that input is odd and greater
25638 than 4. Note that fact in a comment too.
25639 (next_prime): Add 4 to input.
25640
de2fd463
SP
256412012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25642
25643 [BZ #11741]
25644 * libio/Makefile (tests): Add test case tst-fwrite-error.
25645 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25646 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25647 * libio/tst-fwrite-error.c: New test case.
25648
c515fb51
L
256492012-11-26 H.J. Lu <hongjiu.lu@intel.com>
25650
25651 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25652 before casting to void *.
25653 * include/libc-internal.h (__pointer_type): New macro.
25654 (__integer_if_pointer_type_sub): Likewise.
25655 (__integer_if_pointer_type): Likewise.
25656 (cast_to_integer): Likewise.
25657 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25658 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25659 before casting to atomic64_t.
25660 (atomic_exchange_acq): Likewise.
25661 (__arch_exchange_and_add_body): Likewise.
25662 (__arch_add_body): Likewise.
25663 (atomic_add_negative): Likewise.
25664 (atomic_add_zero): Likewise.
25665
4cf77aa9
JM
256662012-11-26 Joseph Myers <joseph@codesourcery.com>
25667
25668 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25669 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25670 (add_fdes): Likewise.
25671 (linear_search_fdes): Likewise.
25672 (binary_search_unencoded_fdes): Likewise.
25673
d260b3b4
AS
256742012-11-26 Andreas Schwab <schwab@linux-m68k.org>
25675
25676 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25677
67060746
AC
256782012-11-24 Adam Conrad <adconrad@0c3.net>
25679
25680 * configure.in: Autodetect C++ header directories.
25681 * configure: Regenerated.
25682
800938a1
MF
256832012-11-23 Mike Frysinger <vapier@gentoo.org>
25684
25685 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25686
4e6e34e6
AS
256872012-11-23 Andreas Schwab <schwab@linux-m68k.org>
25688
25689 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25690
7c7feb47
JM
256912012-11-22 Joseph Myers <joseph@codesourcery.com>
25692
7184dcdf
JM
25693 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25694 LDBL_MANT_DIG == 106]: Disable some tests.
25695 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25696 Likewise.
25697 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25698 Likewise.
25699
0a42601f
JM
25700 [BZ #14871]
25701 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25702 input for small inputs. Return +/- pi/2 for large inputs.
25703 * math/libm-test.inc (atan_test): Add more tests.
25704
79c9b9fe
JM
25705 * sysdeps/generic/unwind-dw2-fde-glibc.c
25706 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25707 __attribute__ ((unused)).
25708
c60d3bf2
JM
25709 [BZ #14645]
25710 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25711 x * y if x and y are nonzero and z is zero.
25712
ef1e0867
JM
25713 [BZ #14811]
25714 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25715 nonzero exponents with absolute value below 0x1p-117 to +/-
25716 0x1p-117.
25717
1468ded3
JM
25718 [BZ #14869]
25719 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25720 up arguments below 2**-450, not just those below 2**-500.
25721 * math/libm-test.inc (hypot_test): Add another test.
25722
8e27e3cc
JM
25723 [BZ #14868]
25724 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25725 Return a+b for ratio over 2**120, not 2**60.
25726 * math/libm-test.inc (hypot_test): Add another test.
25727
c9c0279b
JM
25728 * math/libm-test.inc (clog_test): Use
25729 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25730 (clog10_test): Likewise.
25731
7c7feb47
JM
25732 [BZ #6778]
25733 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25734
fff1530e
AS
257352012-11-22 Andreas Schwab <schwab@suse.de>
25736
25737 * sysdeps/i386/fpu/libm-test-ulps: Update.
25738
94558d30
PT
257392012-11-22 Pino Toscano <toscano.pino@tiscali.it>
25740
25741 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25742 printf output with newline.
25743
7e1be741
L
257442012-11-21 H.J. Lu <hongjiu.lu@intel.com>
25745
6bfea974
L
25746 [BZ #14865]
25747 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25748 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25749 -z nodlopen, -z initfirst and -z execstack support.
25750 * configure: Regenerated.
25751
7e1be741
L
25752 * elf/elf.h (DF_1_NODIRECT): New macro.
25753 (DF_1_IGNMULDEF): Likewise.
25754 (DF_1_NOKSYMS): Likewise.
25755 (DF_1_NOHDR): Likewise.
25756 (DF_1_EDITED): Likewise.
25757 (DF_1_NORELOC): Likewise.
25758 (DF_1_SYMINTPOSE): Likewise.
25759 (DF_1_GLOBAUDIT): Likewise.
25760 (DF_1_SINGLETON): Likewise.
25761 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25762 DT_1_SUPPORTED_MASK bits.
25763 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25764
105ce2ce
CD
257652012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
25766
25767 * sysdeps/unix/make-syscalls.sh: Document prefixes.
25768
123be9de
TS
257692012-11-20 Thomas Schwinge <thomas@codesourcery.com>
25770
d072f3f7
TS
25771 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25772 macro.
25773
123be9de
TS
25774 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25775 (sendmmsg): Move declarations...
25776 * socket/sys/socket.h: ... here.
25777 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25778 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25779 include it from...
25780 * socket/recvmmsg.c: ... this new file.
25781 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25782 (sendmmsg): Rename to __sendmmsg, create weak alias and make
25783 definition of __sendmmsg hidden.
25784 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25785 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25786 Move ENOSYS stub into and include it from...
25787 * socket/sendmmsg.c: ... this new file.
25788 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25789 (sysdep_routines): Move recvmmsg and sendmmsg...
25790 * socket/Makefile (routines): ... here.
25791 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25792 (GLIBC_PRIVATE): Add __sendmmsg.
25793 * include/sys/socket.h (__sendmmsg): Add declarations.
25794 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25795 sendmmsg.
25796
cf9a5d18
JM
257972012-11-20 Joseph Myers <joseph@codesourcery.com>
25798
25799 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25800 variable I1 with __attribute__ ((unused)).
25801 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25802
ecd4caf9
JM
258032012-11-19 Joseph Myers <joseph@codesourcery.com>
25804
be14d48f
JM
25805 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25806 DUMMY variables with __attribute__ ((unused)).
25807
ecd4caf9
JM
25808 * bits/byteswap.h: Include <bits/types.h>.
25809 (__bswap_64): Use __uint64_t instead of unsigned long long int.
25810
986cab95
PT
258112012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25812
25813 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25814 string_t. Do not manually set errno.
25815 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25816 length with __strnlen. Make sure to both set errno and return it on
25817 failure.
25818
6d33cc9d
DM
258192012-11-19 David S. Miller <davem@davemloft.net>
25820
25821 With help from Joseph Myers.
25822 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25823 very large arguments properly.
25824 * math/libm-test.inc (atan_test): New tests.
25825 (atan2_test): New tests.
25826 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25827 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25828
ee663277
JM
258292012-11-19 Joseph Myers <joseph@codesourcery.com>
25830
877f2d8e
JM
25831 [BZ #14856]
25832 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25833 Define to 3.
25834
116fc08a
JM
25835 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25836 [POSIX] (EADDRNOTAVAIL): Likewise.
25837 [POSIX] (EAFNOSUPPORT): Likewise.
25838 [POSIX] (EALREADY): Likewise.
25839 [POSIX] (ECONNABORTED): Likewise.
25840 [POSIX] (ECONNREFUSED): Likewise.
25841 [POSIX] (ECONNRESET): Likewise.
25842 [POSIX] (EDESTADDRREQ): Likewise.
25843 [POSIX] (EDQUOT): Likewise.
25844 [POSIX] (EHOSTUNREACH): Likewise.
25845 [POSIX] (EIDRM): Likewise.
25846 [POSIX] (EISCONN): Likewise.
25847 [POSIX] (ELOOP): Likewise.
25848 [POSIX] (EMULTIHOP): Likewise.
25849 [POSIX] (ENETDOWN): Likewise.
25850 [POSIX] (ENETUNREACH): Likewise.
25851 [POSIX] (ENOBUFS): Likewise.
25852 [POSIX] (ENODATA): Likewise.
25853 [POSIX] (ENOLINK): Likewise.
25854 [POSIX] (ENOMSG): Likewise.
25855 [POSIX] (ENOPROTOOPT): Likewise.
25856 [POSIX] (ENOSR): Likewise.
25857 [POSIX] (ENOSTR): Likewise.
25858 [POSIX] (ENOTCONN): Likewise.
25859 [POSIX] (ENOTSOCK): Likewise.
25860 [POSIX] (EOPNOTSUPP): Likewise.
25861 [POSIX] (EOVERFLOW): Likewise.
25862 [POSIX] (EPROTO): Likewise.
25863 [POSIX] (EPROTONOSUPPORT): Likewise.
25864 [POSIX] (EPROTOTYPE): Likewise.
25865 [POSIX] (ESTALE): Likewise.
25866 [POSIX] (ETIME): Likewise.
25867 [POSIX] (ETXTBSY): Likewise.
25868 [POSIX] (EWOULDBLOCK): Likewise.
25869 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25870 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25871 [POSIX] (SEEK_CUR): Likewise.
25872 [POSIX] (SEEK_END): Likewise.
25873 [POSIX || UNIX98] (mode_t): Do not require.
25874 [POSIX] (off_t): Likewise.
25875 [POSIX] (pid_t): Likewise.
25876 [POSIX] (sys/stat.h): Do not allow header.
25877 [POSIX] (unistd.h): Likewise.
25878 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25879 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25880 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25881 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25882 require.
25883 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25884 sigevent): Specify elements.
25885 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25886 entry.
25887 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25888 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25889
a483863f
JM
25890 * conform/data/cpio.h-data [POSIX]: Disable whole file.
25891 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25892 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25893 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25894 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25895 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25896 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25897 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25898 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25899 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25900 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25901 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25902 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25903 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25904 Likewise.
25905 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25906 Likewise.
25907 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25908 Likewise.
25909 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25910 Likewise.
25911 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25912 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25913 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25914 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25915 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25916 Specify lower bound on value.
25917 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25918 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25919 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25920 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25921 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25922 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25923 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25924 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25925 value.
25926 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25927 as optional.
25928 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25929 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25930 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25931 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25932 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25933 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25934 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25935 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25936 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25937 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25938 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25939 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25940 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25941 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25942 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25943 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25944 entry.
25945 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25946 optional.
25947 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25948 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25949 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25950 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25951 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25952 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25953 Likewise.
25954 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25955 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25956 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25957 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25958 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
25959 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25960 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25961 as optional.
25962 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25963 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25964 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25965 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25966 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25967 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25968 specify as optional.
25969 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25970 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25971 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25972 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25973 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25974 [XPG3] (NL_LANGMAX): Likewise.
25975 [POSIX || XPG3] (NL_MSGMAX): Likewise.
25976 [POSIX || XPG3] (NL_NMAX): Likewise.
25977 [POSIX || XPG3] (NL_SETMAX): Likewise.
25978 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25979 [XPG3] (NZERO): Likewise.
25980 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25981 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25982 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25983 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25984 (REG_ERANGE): Expect.
25985 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25986 optional-constant.
25987 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25988 Use (void) in prototype.
25989 [POSIX] (*_t): Allow.
25990 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25991 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25992 (WRDE_BADVAL): Expect.
25993
5ba924e3
JM
25994 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25995 expect.
25996 [XPG3 || XPG4] (O_RSYNC): Likewise.
25997 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25998 Likewise.
25999 [XPG3 || XPG4] (pthread_sigmask): Likewise.
26000 [XPG3 || XPG4] (sigqueue): Likewise.
26001 [XPG3 || XPG4] (sigtimedwait): Likewise.
26002 [XPG3 || XPG4] (sigwaitinfo): Likewise.
26003 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26004 [XPG3 || XPG4] (vsnprintf): Likewise.
26005 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26006 Likewise.
26007 [XPG3 || XPG4] (blksize_t): Likewise.
26008 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26009 Likewise.
26010 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26011 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26012 [XPG3 || XPG4] (struct itimerspec): Likewise.
26013 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26014 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26015 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26016 [XPG3 || XPG4] (clockid_t): Likewise.
26017 [XPG3 || XPG4] (timer_t): Likewise.
26018 [XPG3 || XPG4] (clock_getres): Likewise.
26019 [XPG3 || XPG4] (clock_gettime): Likewise.
26020 [XPG3 || XPG4] (clock_settime): Likewise.
26021 [XPG3 || XPG4] (nanosleep): Likewise.
26022 [XPG3 || XPG4] (timer_create): Likewise.
26023 [XPG3 || XPG4] (timer_delete): Likewise.
26024 [XPG3 || XPG4] (timer_gettime): Likewise.
26025 [XPG3 || XPG4] (timer_getoverrun): Likewise.
26026 [XPG3 || XPG4] (timer_settime): Likewise.
26027 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26028 [XPG3 || XPG4] (getlogin_r): Likewise.
26029 [XPG3 || XPG4] (pread): Likewise.
26030 [XPG3 || XPG4] (pthread_atfork): Likewise.
26031 [XPG3 || XPG4] (pwrite): Likewise.
26032
ee663277
JM
26033 [BZ #14835]
26034 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26035 <bits/siginfo.h>.
26036
942caa16
PT
260372012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26038
e19af380
PT
26039 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26040 finalizing MALLSTREAM.
26041
942caa16
PT
26042 * sysdeps/mach/hurd/syncfs.c: New file.
26043
cfde9b46
SP
260442012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26045
26046 [BZ #14719]
26047 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26048 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26049 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26050 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26051 (_nss_dns_gethostbyname4_r): Likewise.
26052 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26053 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26054
f6da27e5
PH
260552012-11-19 Peng Haitao <penght@cn.fujitsu.com>
26056
26057 [BZ #13763]
26058 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26059
6665d4a2
SM
260602012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
26061
1f51ee92
SM
26062 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26063 * elf/cache.c (print_entry): Print ",AArch64" for
26064 FLAG_AARCH64_LIB64
26065
6665d4a2
SM
26066 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26067 * elf/cache.c (print_entry): Print ",hard-float" for
26068 FLAG_ARM_LIBHF.
26069
05b227bd
DM
260702012-11-18 David S. Miller <davem@davemloft.net>
26071
26072 With help from Joseph Myers.
26073 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26074 cutoff to 2**-13.
26075 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26076 cutoff to 2**-25.
26077 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26078 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26079 small.
26080 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26081 * math/libm-test.inc (y0_test): New tests.
26082 (y1_test): New tests.
26083 * sysdeps/i386/fpu/libm-test-ulps: Update.
26084 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26085 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26086
786b0b67
AS
260872012-11-18 Andreas Schwab <schwab@linux-m68k.org>
26088
26089 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26090 64-bit targets.
26091 * configure: Regenerated.
26092
8e18b86d
DM
260932012-11-17 David S. Miller <davem@davemloft.net>
26094
26095 [BZ #14811]
26096 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26097 nonzero exponents with absolute value below 0x1p-128 to +/-
26098 0x1p-128.
26099
531f1ae0
JM
261002012-11-17 Joseph Myers <joseph@codesourcery.com>
26101
12df29e2
JM
26102 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26103
150dc1a0
JM
26104 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26105
531f1ae0
JM
26106 * posix/getconf-speclist.c: New file.
26107 * posix/posix-envs.def: Likewise.
26108 * posix/confstr.c (START_ENV_GROUP): New macro.
26109 (END_ENV_GROUP): Likewise.
26110 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26111 (KNOWN_PRESENT_ENV_STRING): Likewise.
26112 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26113 (UNKNOWN_ENVIRONMENT): Likewise.
26114 (confstr): Include posix-envs.def instead of handling
26115 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26116 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26117 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26118 (END_ENV_GROUP): Likewise.
26119 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26120 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26121 (UNKNOWN_ENVIRONMENT): Likewise.
26122 (__sysconf): Include posix-envs.def instead of handling associated
26123 cases directly here.
26124 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26125 preprocessing getconf-speclist.c rather than running getconf or
26126 generating empty file.
26127
a93f9cbc
PT
261282012-11-16 Pino Toscano <toscano.pino@tiscali.it>
26129
26130 * scripts/check-local-headers.sh: Ignore 'mach' headers.
26131
d64d9f87
AL
261322012-11-16 Andrej Lajovic <natrij@gmail.com>
26133
26134 [BZ #14672]
26135 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26136
447885eb
DM
261372012-11-16 David S. Miller <davem@davemloft.net>
26138
26139 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26140 smaller than LDBL_EPSILON/2.0L, just return xm1.
26141
bcbf9830
L
261422012-11-16 H.J. Lu <hongjiu.lu@intel.com>
26143
26144 * elf/tst-array1.c (init): Set constructor priority to 1000.
26145 (fini): Set destructor priority to 1000.
26146 * elf/tst-array2dep.c: Likewise.
26147
2b766585
SP
261482012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26149
26150 [BZ #11741]
26151 * libio/fileops.c (_IO_new_file_write): Correctly return error.
26152 (_IO_new_file_xsputn): Also return EOF if none of the input
26153 data was written when overflow failed.
26154 * libio/iopadn.c (_IO_padn): Likewise.
26155 * libio/iowpadn.c (_IO_wpadn): Likewise.
26156 * stdio-common/tst-put-error.c: Add copyright notice.
26157 (do_test): Add case for printing padded string.
26158 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26159 _IO_padn returned error.
26160 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26161 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26162 return EOF.
26163
b1848fde
SP
261642012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26165
26166 * libio/libioP.h: Add comment note that the references to C++
26167 bits are now obsolete.
26168
2fd89785
MS
261692012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26170
26171 * math/libm-test.inc (check_complex): Use asprintf.
26172
e3ea5409
JM
261732012-11-14 Joseph Myers <joseph@codesourcery.com>
26174
26175 * debug/pcprofiledump.c (print_version): Update copyright year.
26176 * malloc/memusagestat.c (print_version): Likewise.
26177
2e64d265
L
261782012-11-14 H.J. Lu <hongjiu.lu@intel.com>
26179
26180 [BZ #14831]
26181 * elf/Makefile (tests): Add tst-audit8.
26182 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26183 ($(objpfx)tst-audit8.out): New target.
26184 (tst-audit8-ENV): New variable.
26185 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26186 audit if l_reloc_result is NULL.
26187 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26188 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26189 * elf/tst-audit8.c: New file.
26190
c485e4d2
MS
261912012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26192
26193 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26194 * misc/Makefile (CFLAGS-select.c): Define.
26195 * posix/Makefile (CFLAGS-pause.c): Define.
26196
3a0d900a
DM
261972012-11-13 David S. Miller <davem@davemloft.net>
26198
26199 * crypt/Makefile: Move test targets after toplevel Rules
26200 inclusion. Grab any necessary sysdep routines when linking.
26201 * crypt/md5.c (md5_process_block): Remove define, we will always
26202 name it __md5_process_block.
26203 (md5_finish_ctx): Update md5_process_block call.
26204 (md5_stream): Likewise.
26205 (md5_process_bytes): Likewise.
26206 (md5_process_block): Rename to __md5_process_block and move to ...
26207 * crypt/md5-block.c: ... here.
26208 * crypt/sha256.c (sha256_process_block): Move to ...
26209 * crypt/sha256-block.c: ... here.
26210 * crypt/sha512.c (sha512_process_block): Move to ...
26211 * crypt/sha512-block.c: ... here.
26212 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26213 path.
26214 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26215 * sysdeps/sparc/sparc64/multiarch/Makefile
26216 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26217 crypt subdir.
26218 (localedef-aux): Add md5 crypto assembler when in locale subdir.
26219 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26220 multiarch changes.
26221 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26222 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26223 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26224 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26225 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26226 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26227 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26228 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26229 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26230 file.
26231 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26232 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26233 file.
26234 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26235
8ca89318
JM
262362012-11-13 Joseph Myers <joseph@codesourcery.com>
26237
e27d476a
JM
26238 * timezone/tzselect.ksh: Update from tzcode git revision
26239 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26240 * timezone/zdump.c: Likewise.
26241 * timezone/zic.c: Likewise.
26242 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26243 in TZVERSION setting, not $(PKGVERSION).
26244 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
26245 REPORT_BUGS_TO settings.
26246
8ca89318
JM
26247 [BZ #14838]
26248 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26249 macro.
26250
47594329
MS
262512012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26252
26253 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26254 detection to immediately after _FP_ROUND().
26255 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26256 bits are 0.
26257
640ac3f1
DM
262582012-11-11 David S. Miller <davem@davemloft.net>
26259
26260 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26261 inttypes.h
26262 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26263 __close rather than their public counterparts.
26264
3d2577bb
JM
262652012-11-10 Joseph Myers <joseph@codesourcery.com>
26266
26267 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26268 file.
26269 [UNIX98] (sem_timedwait): Do not expect.
26270 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26271 [XPG4 || UNIX98] (sockatmark): Do not expect.
26272 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26273 (clock_getcpuclockid): Do not expect.
26274 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26275 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26276 Do not expect.
26277 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26278 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26279 [UNIX98] (vwscanf): Likewise.
26280 [UNIX98] (vswscanf): Likewise.
26281
fb1ae1ee
JM
262822012-11-09 Joseph Myers <joseph@codesourcery.com>
26283
9ec6f8bd
JM
26284 * timezone/version.h: Remove file.
26285 * timezone/README: Do not refer to version.h.
26286 * timezone/Makefile ($(objpfx)zic.o): New dependency on
26287 $(objpfx)version.h.
26288 ($(objpfx)zdump.o): Likewise.
c3f81911 26289 ($(objpfx)version.h): New target.
9ec6f8bd 26290
0aa8f8a1
JM
26291 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26292 2012i.
26293 * timezone/README: Don't mention modification to tzselect.ksh.
26294 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26295 work on unmodified tzselect.ksh. Substitute version numbers in
26296 tzselect.ksh.
26297
4e87147f
JM
26298 * Makefile (format-me): Remove.
26299 (INSTALL): Adjust indentation. Use commands directly instead of
26300 using $(format-me).
26301
8b748aed
JM
26302 * aclocal.m4 (ACX_PKGVERSION): New macro.
26303 (ACX_BUGURL): Likewise.
26304 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26305 (PKGVERSION): New AC_DEFINE_UNQUOTED.
26306 (REPORT_BUGS_TO): Likewise.
26307 * configure: Regenerated.
26308 * config.h.in (PKGVERSION): New macro.
26309 (REPORT_BUGS_TO): Likewise.
26310 * config.make.in (PKGVERSION): New variable.
26311 (PKGVERSION_TEXI): Likewise.
26312 (REPORT_BUGS_TO): Likewise.
26313 (REPORT_BUGS_TEXI): Likewise.
26314 * Makefile (format-me): Use -I$(common-objpfx)manual.
26315 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26316 ($(common-objpfx)manual/%): New target.
26317 (manual/%): Remove target.
26318 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26319 (print_version): Use PKGVERSION.
26320 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26321 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26322 and REPORT_BUGS_TO.
26323 ($(objpfx)xtrace): Likewise.
26324 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26325 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26326 (print_version): Use PKGVERSION.
26327 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26328 (do_version): Use PKGVERSION.
26329 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26330 REPORT_BUGS_TO.
26331 (common-ldd-rewrite): Likewise.
26332 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26333 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26334 (print_version): Use PKGVERSION.
26335 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26336 * elf/pldd.c (argp_program_bug_address): Remove variable.
26337 (more_help): New function.
26338 (argp): Use more_help.
26339 (print_version): Use PKGVERSION.
26340 * elf/sln.c (main): Use PKGVERSION.
26341 (usage): Use REPORT_BUGS_TO.
26342 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26343 (top level): Use PKGVERSION.
26344 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26345 (print_version): Use PKGVERSION.
26346 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26347 (print_version): Use PKGVERSION.
26348 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26349 (print_version): Use PKGVERSION.
26350 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26351 (print_version): Use PKGVERSION.
26352 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26353 (print_version): Use PKGVERSION.
26354 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26355 (print_version): Use PKGVERSION.
26356 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26357 and BUGURL.
26358 ($(objpfx)memusage): Likewise.
26359 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26360 (do_version): Use PKGVERSION.
26361 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26362 (print_version): Use PKGVERSION.
26363 * malloc/mtrace.pl ($PACKAGE): Remove variable.
26364 ($PKGVERSION): New variable.
26365 ($REPORT_BUGS_TO): Likewise.
26366 (usage): Use $REPORT_BUGS_TO.
26367 (top level): Use $PKGVERSION.
26368 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26369 ($(objpfx)pkgvers.texi): New rule.
26370 ($(objpfx)stamp-pkgvers): Likewise.
26371 * manual/install.texi: Include pkgvers.texi.
26372 (--with-pkgversion): Document new configure option.
26373 (--with-bugurl): Likewise.
26374 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26375 than necessarily for this particular distribution. Use
26376 REPORT_BUGS_TO for where to report bugs.
26377 * INSTALL: Regenerated.
26378 * manual/libc.texinfo: Include pkgvers.texi.
26379 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26380 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26381 (print_version): Use PKGVERSION.
26382 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26383 (print_version): Use PKGVERSION.
26384 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26385 (print_version): Use PKGVERSION.
26386 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26387 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26388 macro.
26389 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26390 (print_version): Use PKGVERSION.
26391 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26392 (print_version): Use PKGVERSION.
26393 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26394 and PKGVERSION.
26395
92e4b6a9
JM
26396 * timezone/checktab.awk: Update from tzcode 2012i.
26397 * timezone/ialloc.c: Likewise.
26398 * timezone/private.h: Likewise.
26399 * timezone/scheck.c: Likewise.
26400 * timezone/tzfile.h: Likewise.
26401 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26402 (TZVERSION): Hardcode tzcode version number.
26403 * timezone/zdump.c: Update from tzcode 2012i.
26404 * timezone/zic.c: Likewise.
26405 * timezone/version.h: New file.
26406 * timezone/README: Describe version.h. Update upstream location.
26407
9bde902c
JM
26408 [BZ #14824]
26409 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26410 (mktemp): Enable declaration.
26411 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26412 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26413 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26414 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26415 Likewise.
26416 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26417 Likewise.
26418 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26419 Likewise.
26420 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26421 Likewise.
26422 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26423 Likewise.
26424 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26425 Likewise.
26426
fb1ae1ee
JM
26427 [BZ #14821]
26428 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26429 offset in buffer as u_int32_t not u_long. Consistently use memcpy
26430 for copies of such integer values.
26431 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26432 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26433
2c1adbcb
AJ
264342012-11-09 Andreas Jaeger <aj@suse.de>
26435
26436 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26437 definitions and declarations that are provided by
26438 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26439
d0f8457e
AK
264402012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26441
3a235abb 26442 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
26443 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26444 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26445 definition.
26446
57241e26
MS
264472012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26448
26449 * elf/elf.h: Update comment before AArch64 relocations.
26450
60e8270d
DM
264512012-11-07 David S. Miller <davem@davemloft.net>
26452
26453 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26454 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26455 (__start_context): Declare.
26456 (__makecontext_ret): Delete.
26457 (__makecontext): Hook up __start_context instead of
26458 __makecontext_ret.
26459 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26460 (sysdep_routines): Add __start_context when in stdlib.
26461
0fbb0fbc
JM
264622012-11-07 Joseph Myers <joseph@codesourcery.com>
26463
26464 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26465 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26466 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
26467 hardcoded "nm".
26468 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
26469 (READELF): New variable. Use it instead of hardcoded "readelf".
26470
eb48db7e
L
264712012-11-07 H.J. Lu <hongjiu.lu@intel.com>
26472
26473 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26474 * sysdeps/x86/Makefile: Here.
26475 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26476 * sysdeps/x86/tst-xmmymm.sh: This.
26477
05bcf62a
JM
264782012-11-07 Joseph Myers <joseph@codesourcery.com>
26479
c4b6cf53
JM
26480 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26481 expectations.
26482 [UNIX98] (pthread_barrier_t): Do not expect.
26483 [UNIX98] (pthread_barrierattr_t): Likewise.
26484 [UNIX98] (pthread_spinlock_t): Likewise.
26485 [UNIX98] (pthread_barrier_destroy): Likewise.
26486 [UNIX98] (pthread_barrier_init): Likewise.
26487 [UNIX98] (pthread_barrier_wait): Likewise.
26488 [UNIX98] (pthread_barrierattr_destroy): Likewise.
26489 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26490 [UNIX98] (pthread_barrierattr_init): Likewise.
26491 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26492 [UNIX98] (pthread_getcpuclockid): Likewise.
26493 [UNIX98] (pthread_mutex_timedlock): Likewise.
26494 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26495 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26496 [UNIX98] (pthread_sigmask): Likewise.
26497 [UNIX98] (pthread_spin_destroy): Likewise.
26498 [UNIX98] (pthread_spin_init): Likewise.
26499 [UNIX98] (pthread_spin_lock): Likewise.
26500 [UNIX98] (pthread_spin_trylock): Likewise.
26501 [UNIX98] (pthread_spin_unlock): Likewise.
26502 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26503 Do not expect.
26504 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26505 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26506 [XPG3 || XPG4] (pthread_cond_t): Likewise.
26507 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26508 [XPG3 || XPG4] (pthread_key_t): Likewise.
26509 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26510 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26511 [XPG3 || XPG4] (pthread_once_t): Likewise.
26512 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26513 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26514 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26515 [XPG3 || XPG4] (pthread_t): Likewise.
26516
cbe6e120
JM
26517 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26518 not expect.
26519 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26520
1b126443
JM
26521 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26522 Change function return type to int.
26523
b961a573
JM
26524 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26525 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26526 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26527 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26528 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26529 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26530 [!POSIX] (posix_madvise): Likewise.
26531 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26532 && !UNIX98].
26533 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26534 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26535 (mode_t): Likewise.
26536 (posix_mem_offset): Likewise.
26537 (posix_typed_mem_get_info): Likewise.
26538 (posix_typed_mem_open): Likewise.
26539
9e188909
JM
26540 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26541 Change condition to [XOPEN2K8].
26542
05bcf62a
JM
26543 * conform/conformtest.pl: Preprocess allow-header data with -x c
26544 instead of from stdin.
26545 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26546 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26547 [C99-based standards] (cerfc): Likewise.
26548 [C99-based standards] (cexp2): Likewise.
26549 [C99-based standards] (cexpm1): Likewise.
26550 [C99-based standards] (clog10): Likewise.
26551 [C99-based standards] (clog1p): Likewise.
26552 [C99-based standards] (clog2): Likewise.
26553 [C99-based standards] (clgamma): Likewise.
26554 [C99-based standards] (ctgamma): Likewise.
26555 [C99-based standards] (cerff): Likewise.
26556 [C99-based standards] (cerfcf): Likewise.
26557 [C99-based standards] (cexp2f): Likewise.
26558 [C99-based standards] (cexpm1f): Likewise.
26559 [C99-based standards] (clog10f): Likewise.
26560 [C99-based standards] (clog1pf): Likewise.
26561 [C99-based standards] (clog2f): Likewise.
26562 [C99-based standards] (clgammaf): Likewise.
26563 [C99-based standards] (ctgammaf): Likewise.
26564 [C99-based standards] (cerfl): Likewise.
26565 [C99-based standards] (cerfcl): Likewise.
26566 [C99-based standards] (cexp2l): Likewise.
26567 [C99-based standards] (cexpm1l): Likewise.
26568 [C99-based standards] (clog10l): Likewise.
26569 [C99-based standards] (clog1pl): Likewise.
26570 [C99-based standards] (clog2l): Likewise.
26571 [C99-based standards] (clgammal): Likewise.
26572 [C99-based standards] (ctgammal): Likewise.
26573 * conform/data/inttypes.h-data [C99-based standards]: Include
26574 stdint.h-data. Remove all expectations for stdint.h contents.
26575 [C99-based standards] (PRI*): Do not allow.
26576 [C99-based standards] (SCN*): Likewise.
26577 [C99-based standards] (*_t): Likewise.
26578 [C99-based-standards] (PRId8): Expect macro.
26579 [C99-based-standards] (PRIi8): Likewise.
26580 [C99-based-standards] (PRIo8): Likewise.
26581 [C99-based-standards] (PRIu8): Likewise.
26582 [C99-based-standards] (PRIx8): Likewise.
26583 [C99-based-standards] (PRIX8): Likewise.
26584 [C99-based-standards] (SCNd8): Likewise.
26585 [C99-based-standards] (SCNi8): Likewise.
26586 [C99-based-standards] (SCNo8): Likewise.
26587 [C99-based-standards] (SCNu8): Likewise.
26588 [C99-based-standards] (SCNx8): Likewise.
26589 [C99-based-standards] (PRIdLEAST8): Likewise.
26590 [C99-based-standards] (PRIiLEAST8): Likewise.
26591 [C99-based-standards] (PRIoLEAST8): Likewise.
26592 [C99-based-standards] (PRIuLEAST8): Likewise.
26593 [C99-based-standards] (PRIxLEAST8): Likewise.
26594 [C99-based-standards] (PRIXLEAST8): Likewise.
26595 [C99-based-standards] (SCNdLEAST8): Likewise.
26596 [C99-based-standards] (SCNiLEAST8): Likewise.
26597 [C99-based-standards] (SCNoLEAST8): Likewise.
26598 [C99-based-standards] (SCNuLEAST8): Likewise.
26599 [C99-based-standards] (SCNxLEAST8): Likewise.
26600 [C99-based-standards] (PRIdFAST8): Likewise.
26601 [C99-based-standards] (PRIiFAST8): Likewise.
26602 [C99-based-standards] (PRIoFAST8): Likewise.
26603 [C99-based-standards] (PRIuFAST8): Likewise.
26604 [C99-based-standards] (PRIxFAST8): Likewise.
26605 [C99-based-standards] (PRIXFAST8): Likewise.
26606 [C99-based-standards] (SCNdFAST8): Likewise.
26607 [C99-based-standards] (SCNiFAST8): Likewise.
26608 [C99-based-standards] (SCNoFAST8): Likewise.
26609 [C99-based-standards] (SCNuFAST8): Likewise.
26610 [C99-based-standards] (SCNxFAST8): Likewise.
26611 [C99-based-standards] (PRId16): Likewise.
26612 [C99-based-standards] (PRIi16): Likewise.
26613 [C99-based-standards] (PRIo16): Likewise.
26614 [C99-based-standards] (PRIu16): Likewise.
26615 [C99-based-standards] (PRIx16): Likewise.
26616 [C99-based-standards] (PRIX16): Likewise.
26617 [C99-based-standards] (SCNd16): Likewise.
26618 [C99-based-standards] (SCNi16): Likewise.
26619 [C99-based-standards] (SCNo16): Likewise.
26620 [C99-based-standards] (SCNu16): Likewise.
26621 [C99-based-standards] (SCNx16): Likewise.
26622 [C99-based-standards] (PRIdLEAST16): Likewise.
26623 [C99-based-standards] (PRIiLEAST16): Likewise.
26624 [C99-based-standards] (PRIoLEAST16): Likewise.
26625 [C99-based-standards] (PRIuLEAST16): Likewise.
26626 [C99-based-standards] (PRIxLEAST16): Likewise.
26627 [C99-based-standards] (PRIXLEAST16): Likewise.
26628 [C99-based-standards] (SCNdLEAST16): Likewise.
26629 [C99-based-standards] (SCNiLEAST16): Likewise.
26630 [C99-based-standards] (SCNoLEAST16): Likewise.
26631 [C99-based-standards] (SCNuLEAST16): Likewise.
26632 [C99-based-standards] (SCNxLEAST16): Likewise.
26633 [C99-based-standards] (PRIdFAST16): Likewise.
26634 [C99-based-standards] (PRIiFAST16): Likewise.
26635 [C99-based-standards] (PRIoFAST16): Likewise.
26636 [C99-based-standards] (PRIuFAST16): Likewise.
26637 [C99-based-standards] (PRIxFAST16): Likewise.
26638 [C99-based-standards] (PRIXFAST16): Likewise.
26639 [C99-based-standards] (SCNdFAST16): Likewise.
26640 [C99-based-standards] (SCNiFAST16): Likewise.
26641 [C99-based-standards] (SCNoFAST16): Likewise.
26642 [C99-based-standards] (SCNuFAST16): Likewise.
26643 [C99-based-standards] (SCNxFAST16): Likewise.
26644 [C99-based-standards] (PRId32): Likewise.
26645 [C99-based-standards] (PRIi32): Likewise.
26646 [C99-based-standards] (PRIo32): Likewise.
26647 [C99-based-standards] (PRIu32): Likewise.
26648 [C99-based-standards] (PRIx32): Likewise.
26649 [C99-based-standards] (PRIX32): Likewise.
26650 [C99-based-standards] (SCNd32): Likewise.
26651 [C99-based-standards] (SCNi32): Likewise.
26652 [C99-based-standards] (SCNo32): Likewise.
26653 [C99-based-standards] (SCNu32): Likewise.
26654 [C99-based-standards] (SCNx32): Likewise.
26655 [C99-based-standards] (PRIdLEAST32): Likewise.
26656 [C99-based-standards] (PRIiLEAST32): Likewise.
26657 [C99-based-standards] (PRIoLEAST32): Likewise.
26658 [C99-based-standards] (PRIuLEAST32): Likewise.
26659 [C99-based-standards] (PRIxLEAST32): Likewise.
26660 [C99-based-standards] (PRIXLEAST32): Likewise.
26661 [C99-based-standards] (SCNdLEAST32): Likewise.
26662 [C99-based-standards] (SCNiLEAST32): Likewise.
26663 [C99-based-standards] (SCNoLEAST32): Likewise.
26664 [C99-based-standards] (SCNuLEAST32): Likewise.
26665 [C99-based-standards] (SCNxLEAST32): Likewise.
26666 [C99-based-standards] (PRIdFAST32): Likewise.
26667 [C99-based-standards] (PRIiFAST32): Likewise.
26668 [C99-based-standards] (PRIoFAST32): Likewise.
26669 [C99-based-standards] (PRIuFAST32): Likewise.
26670 [C99-based-standards] (PRIxFAST32): Likewise.
26671 [C99-based-standards] (PRIXFAST32): Likewise.
26672 [C99-based-standards] (SCNdFAST32): Likewise.
26673 [C99-based-standards] (SCNiFAST32): Likewise.
26674 [C99-based-standards] (SCNoFAST32): Likewise.
26675 [C99-based-standards] (SCNuFAST32): Likewise.
26676 [C99-based-standards] (SCNxFAST32): Likewise.
26677 [C99-based-standards] (PRId64): Likewise.
26678 [C99-based-standards] (PRIi64): Likewise.
26679 [C99-based-standards] (PRIo64): Likewise.
26680 [C99-based-standards] (PRIu64): Likewise.
26681 [C99-based-standards] (PRIx64): Likewise.
26682 [C99-based-standards] (PRIX64): Likewise.
26683 [C99-based-standards] (SCNd64): Likewise.
26684 [C99-based-standards] (SCNi64): Likewise.
26685 [C99-based-standards] (SCNo64): Likewise.
26686 [C99-based-standards] (SCNu64): Likewise.
26687 [C99-based-standards] (SCNx64): Likewise.
26688 [C99-based-standards] (PRIdLEAST64): Likewise.
26689 [C99-based-standards] (PRIiLEAST64): Likewise.
26690 [C99-based-standards] (PRIoLEAST64): Likewise.
26691 [C99-based-standards] (PRIuLEAST64): Likewise.
26692 [C99-based-standards] (PRIxLEAST64): Likewise.
26693 [C99-based-standards] (PRIXLEAST64): Likewise.
26694 [C99-based-standards] (SCNdLEAST64): Likewise.
26695 [C99-based-standards] (SCNiLEAST64): Likewise.
26696 [C99-based-standards] (SCNoLEAST64): Likewise.
26697 [C99-based-standards] (SCNuLEAST64): Likewise.
26698 [C99-based-standards] (SCNxLEAST64): Likewise.
26699 [C99-based-standards] (PRIdFAST64): Likewise.
26700 [C99-based-standards] (PRIiFAST64): Likewise.
26701 [C99-based-standards] (PRIoFAST64): Likewise.
26702 [C99-based-standards] (PRIuFAST64): Likewise.
26703 [C99-based-standards] (PRIxFAST64): Likewise.
26704 [C99-based-standards] (PRIXFAST64): Likewise.
26705 [C99-based-standards] (SCNdFAST64): Likewise.
26706 [C99-based-standards] (SCNiFAST64): Likewise.
26707 [C99-based-standards] (SCNoFAST64): Likewise.
26708 [C99-based-standards] (SCNuFAST64): Likewise.
26709 [C99-based-standards] (SCNxFAST64): Likewise.
26710 [C99-based-standards] (PRIdMAX): Likewise.
26711 [C99-based-standards] (PRIiMAX): Likewise.
26712 [C99-based-standards] (PRIoMAX): Likewise.
26713 [C99-based-standards] (PRIuMAX): Likewise.
26714 [C99-based-standards] (PRIxMAX): Likewise.
26715 [C99-based-standards] (PRIXMAX): Likewise.
26716 [C99-based-standards] (SCNdMAX): Likewise.
26717 [C99-based-standards] (SCNiMAX): Likewise.
26718 [C99-based-standards] (SCNoMAX): Likewise.
26719 [C99-based-standards] (SCNuMAX): Likewise.
26720 [C99-based-standards] (SCNxMAX): Likewise.
26721 [C99-based-standards] (PRIdPTR): Likewise.
26722 [C99-based-standards] (PRIiPTR): Likewise.
26723 [C99-based-standards] (PRIoPTR): Likewise.
26724 [C99-based-standards] (PRIuPTR): Likewise.
26725 [C99-based-standards] (PRIxPTR): Likewise.
26726 [C99-based-standards] (PRIXPTR): Likewise.
26727 [C99-based-standards] (SCNdPTR): Likewise.
26728 [C99-based-standards] (SCNiPTR): Likewise.
26729 [C99-based-standards] (SCNoPTR): Likewise.
26730 [C99-based-standards] (SCNuPTR): Likewise.
26731 [C99-based-standards] (SCNxPTR): Likewise.
26732 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26733 allow.
26734 * conform/data/stdint.h-data: Update comments to clarify
26735 requirements.
26736 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
26737 type.
26738 [C99-based standards] (INT8_MAX): Likewise.
26739 [C99-based standards] (INT16_MIN): Likewise.
26740 [C99-based standards] (INT16_MAX): Likewise.
26741 [C99-based standards] (INT32_MIN): Likewise.
26742 [C99-based standards] (INT32_MAX): Likewise.
26743 [C99-based standards] (INT64_MIN): Likewise.
26744 [C99-based standards] (INT64_MAX): Likewise.
26745 [C99-based standards] (UINT8_MAX): Likewise.
26746 [C99-based standards] (UINT16_MAX): Likewise.
26747 [C99-based standards] (UINT32_MAX): Likewise.
26748 [C99-based standards] (UINT64_MAX): Likewise.
26749 [C99-based standards] (INT_LEAST8_MIN): Likewise.
26750 [C99-based standards] (INT_LEAST8_MAX): Likewise.
26751 [C99-based standards] (INT_LEAST16_MIN): Likewise.
26752 [C99-based standards] (INT_LEAST16_MAX): Likewise.
26753 [C99-based standards] (INT_LEAST32_MIN): Likewise.
26754 [C99-based standards] (INT_LEAST32_MAX): Likewise.
26755 [C99-based standards] (INT_LEAST64_MIN): Likewise.
26756 [C99-based standards] (INT_LEAST64_MAX): Likewise.
26757 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26758 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26759 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26760 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26761 [C99-based standards] (INT_FAST8_MIN): Likewise.
26762 [C99-based standards] (INT_FAST8_MAX): Likewise.
26763 [C99-based standards] (INT_FAST16_MIN): Likewise.
26764 [C99-based standards] (INT_FAST16_MAX): Likewise.
26765 [C99-based standards] (INT_FAST32_MIN): Likewise.
26766 [C99-based standards] (INT_FAST32_MAX): Likewise.
26767 [C99-based standards] (INT_FAST64_MIN): Likewise.
26768 [C99-based standards] (INT_FAST64_MAX): Likewise.
26769 [C99-based standards] (UINT_FAST8_MAX): Likewise.
26770 [C99-based standards] (UINT_FAST16_MAX): Likewise.
26771 [C99-based standards] (UINT_FAST32_MAX): Likewise.
26772 [C99-based standards] (UINT_FAST64_MAX): Likewise.
26773 [C99-based standards] (INTPTR_MIN): Likewise.
26774 [C99-based standards] (INTPTR_MAX): Likewise.
26775 [C99-based standards] (UINTPTR_MAX): Likewise.
26776 [C99-based standards] (INTMAX_MIN): Likewise.
26777 [C99-based standards] (INTMAX_MAX): Likewise.
26778 [C99-based standards] (UINTMAX_MAX): Likewise.
26779 [C99-based standards] (PTRDIFF_MIN): Likewise.
26780 [C99-based standards] (PTRDIFF_MAX): Likewise.
26781 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26782 [C99-based standards] (SIZE_MAX): Likewise.
26783 [C99-based standards] (WCHAR_MAX): Likewise.
26784 [C99-based standards] (WINT_MAX): Likewise.
26785 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
26786 constraint on value.
26787 [C99-based standards] (WCHAR_MIN): Likewise.
26788 [C99-based standards] (WINT_MIN): Likewise.
26789 [C99-based standards] (*_t): Allow.
26790 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26791 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26792 Include math.h-data and complex.h-data. Remove all expectations
26793 of math.h and complex.h contents.
26794 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26795 at end of line.
26796 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26797 (struct tm): Expect tag.
26798 [C99-based-standards] (wcstof): Expect function.
26799 [C99-based-standards] (wcstold): Likewise.
26800 [C99-based-standards] (wcstoll): Likewise.
26801 [C99-based-standards] (wcstoull): Likewise.
26802 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26803 macro-int-constant. Specify type.
26804 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
26805 constraint on value.
26806 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26807 Specify type.
26808 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26809 Specify value.
26810 [ISO C standards]: Do not allow headers.
26811 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26812 wcs[abcdefghijklmnopqrstuvwxyz]*.
26813 [ISO C standards] (*_t): Do not allow.
26814 * conform/data/wctype.h-data [C99-based standards] (iswblank):
26815 Expect function.
26816 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26817 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26818 Specify type.
26819 [ISO C standards]: Do not allow headers.
26820 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26821 is[abcdefghijklmnopqrstuvwxyz]*.
26822 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26823 to[abcdefghijklmnopqrstuvwxyz]*.
26824 [ISO C standards] (*_t): Do not allow.
26825 * conform/data/stdalign.h-data: New file.
26826 * conform/data/stdbool.h-data: Likewise.
26827 * conform/data/stdnoreturn.h-data: Likewise.
26828
7514feb8
RM
268292012-11-07 Roland McGrath <roland@hack.frob.com>
26830
26831 [BZ #14815]
26832 * manual/filesys.texi (Directory Entries): Typo fix.
26833 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26834
19b2ecfc
MS
268352012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26836
26837 * elf/elf.h (EM_AARCH64): New macro.
26838 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26839 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26840 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26841 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26842 (R_AARCH64_TLSDESC): Likewise.
26843 (NT_ARM_TLS): Likewise.
26844 (NT_ARM_HW_BREAK): Likewise.
26845 (NT_ARM_HW_WATCH): Likewise.
26846
60e235ee
JM
268472012-11-07 Joseph Myers <joseph@codesourcery.com>
26848
26849 [BZ #14811]
26850 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26851 (__ieee754_powl): Saturate nonzero exponents with absolute value
26852 below 0x1p-79 to +/- 0x1p-79.
26853 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26854 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26855 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26856 nonzero exponents with absolute value below 0x1p-32 to +/-
26857 0x1p-32.
26858 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26859 (__ieee754_powl): Saturate nonzero exponents with absolute value
26860 below 0x1p-79 to +/- 0x1p-79.
26861 * math/libm-test.inc (pow_test): Add more tests.
26862
0ab234b7
AK
268632012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26864
26865 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26866 _dl_s390_cap_flags with kernel. Increase string length.
26867 (_dl_s390_platforms): Add z196 and zEC12.
26868
45832f74
JM
268692012-11-07 Joseph Myers <joseph@codesourcery.com>
26870
26871 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26872 Change XOPEN21K to XOPEN2K.
26873
19218757
MK
268742012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
26875
26876 * string/memmove.c: Use memcpy when possible.
26877
c5f45721
AJ
268782012-11-06 Andreas Jaeger <aj@suse.de>
26879
26880 * po/eo.po: Update from translation team.
26881
82477c28
JM
268822012-11-06 Joseph Myers <joseph@codesourcery.com>
26883
26884 [BZ #14793]
26885 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26886 exponent and small x and y exponents, scale x or y up. Increase
26887 by 2 the exponent used in scaling up.
26888 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26889 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26890 * math/libm-test.inc (fma_test): Add more tests.
26891 (fma_test_towardzero): Likewise.
26892 (fma_test_downward): Likewise.
26893 (fma_test_upward): Likewise.
26894
99252c8c
JM
268952012-11-05 Joseph Myers <joseph@codesourcery.com>
26896
acfa885f
JM
26897 [BZ #14805]
26898 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26899 fenv_t *.
26900
99252c8c
JM
26901 [BZ #14801]
26902 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26903 namespace for names of struct fields.
26904 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26905 fenv_t fields.
26906 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26907 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26908
d6d98dea
ST
269092012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
26910
26911 [BZ #3665]
26912 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26913
e10bb107
TS
269142012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26915
26916 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26917 PTR_DEMANGLE.
26918
26919 [BZ #5246]
26920 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26921 PTR_DEMANGLE.
26922
a0c2940d
JM
269232012-11-04 Joseph Myers <joseph@codesourcery.com>
26924
26925 [BZ #14797]
26926 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26927 definitely overflow as x * y not x * y + z.
26928 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26929 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26930 * math/libm-test.inc (fma_test): Add more tests.
26931 (fma_test_towardzero): Likewise.
26932 (fma_test_downward): Likewise.
26933 (fma_test_upward): Likewise.
26934
b830319d
TS
269352012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26936
26937 [BZ #157]
26938
26939 * include/stub-tag.h: Remove file.
26940 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26941 '#include' of it.
26942 * manual/maint.texi (Porting): Don't reference it.
26943 * Makerules ($(objpfx)stubs): Likewise.
26944 * dirent/closedir.c: Don't include <stub-tag.h>.
26945 * dirent/dirfd.c: Likewise.
26946 * dirent/fdopendir.c: Likewise.
26947 * dirent/getdents.c: Likewise.
26948 * dirent/getdents64.c: Likewise.
26949 * dirent/opendir.c: Likewise.
26950 * dirent/readdir.c: Likewise.
26951 * dirent/readdir64.c: Likewise.
26952 * dirent/readdir64_r.c: Likewise.
26953 * dirent/readdir_r.c: Likewise.
26954 * dirent/rewinddir.c: Likewise.
26955 * dirent/seekdir.c: Likewise.
26956 * dirent/telldir.c: Likewise.
26957 * gmon/profil.c: Likewise.
26958 * grp/setgroups.c: Likewise.
26959 * inet/if_index.c: Likewise.
26960 * io/access.c: Likewise.
26961 * io/chdir.c: Likewise.
26962 * io/chmod.c: Likewise.
26963 * io/chown.c: Likewise.
26964 * io/close.c: Likewise.
26965 * io/dup.c: Likewise.
26966 * io/dup2.c: Likewise.
26967 * io/dup3.c: Likewise.
26968 * io/euidaccess.c: Likewise.
26969 * io/faccessat.c: Likewise.
26970 * io/fchdir.c: Likewise.
26971 * io/fchmod.c: Likewise.
26972 * io/fchmodat.c: Likewise.
26973 * io/fchown.c: Likewise.
26974 * io/fchownat.c: Likewise.
26975 * io/fcntl.c: Likewise.
26976 * io/flock.c: Likewise.
26977 * io/fstatfs.c: Likewise.
26978 * io/fstatfs64.c: Likewise.
26979 * io/fstatvfs.c: Likewise.
26980 * io/fstatvfs64.c: Likewise.
26981 * io/futimens.c: Likewise.
26982 * io/fxstat.c: Likewise.
26983 * io/fxstat64.c: Likewise.
26984 * io/fxstatat.c: Likewise.
26985 * io/fxstatat64.c: Likewise.
26986 * io/getcwd.c: Likewise.
26987 * io/isatty.c: Likewise.
26988 * io/lchmod.c: Likewise.
26989 * io/lchown.c: Likewise.
26990 * io/link.c: Likewise.
26991 * io/linkat.c: Likewise.
26992 * io/lseek.c: Likewise.
26993 * io/lseek64.c: Likewise.
26994 * io/lxstat64.c: Likewise.
26995 * io/mkdir.c: Likewise.
26996 * io/mkdirat.c: Likewise.
26997 * io/mkfifo.c: Likewise.
26998 * io/mkfifoat.c: Likewise.
26999 * io/open.c: Likewise.
27000 * io/open64.c: Likewise.
27001 * io/openat.c: Likewise.
27002 * io/openat64.c: Likewise.
27003 * io/pipe.c: Likewise.
27004 * io/pipe2.c: Likewise.
27005 * io/poll.c: Likewise.
27006 * io/posix_fadvise.c: Likewise.
27007 * io/posix_fadvise64.c: Likewise.
27008 * io/posix_fallocate.c: Likewise.
27009 * io/posix_fallocate64.c: Likewise.
27010 * io/read.c: Likewise.
27011 * io/readlink.c: Likewise.
27012 * io/readlinkat.c: Likewise.
27013 * io/rmdir.c: Likewise.
27014 * io/sendfile.c: Likewise.
27015 * io/sendfile64.c: Likewise.
27016 * io/statfs.c: Likewise.
27017 * io/statfs64.c: Likewise.
27018 * io/statvfs.c: Likewise.
27019 * io/statvfs64.c: Likewise.
27020 * io/symlink.c: Likewise.
27021 * io/symlinkat.c: Likewise.
27022 * io/ttyname.c: Likewise.
27023 * io/ttyname_r.c: Likewise.
27024 * io/umask.c: Likewise.
27025 * io/unlink.c: Likewise.
27026 * io/unlinkat.c: Likewise.
27027 * io/utime.c: Likewise.
27028 * io/utimensat.c: Likewise.
27029 * io/write.c: Likewise.
27030 * io/xmknod.c: Likewise.
27031 * io/xmknodat.c: Likewise.
27032 * io/xstat.c: Likewise.
27033 * io/xstat64.c: Likewise.
27034 * login/getpt.c: Likewise.
27035 * login/grantpt.c: Likewise.
27036 * login/unlockpt.c: Likewise.
27037 * math/e_acoshl.c: Likewise.
27038 * math/e_acosl.c: Likewise.
27039 * math/e_asinl.c: Likewise.
27040 * math/e_atan2l.c: Likewise.
27041 * math/e_atanhl.c: Likewise.
27042 * math/e_coshl.c: Likewise.
27043 * math/e_expl.c: Likewise.
27044 * math/e_fmodl.c: Likewise.
27045 * math/e_gammal_r.c: Likewise.
27046 * math/e_hypotl.c: Likewise.
27047 * math/e_j0l.c: Likewise.
27048 * math/e_j1l.c: Likewise.
27049 * math/e_jnl.c: Likewise.
27050 * math/e_lgammal_r.c: Likewise.
27051 * math/e_log10l.c: Likewise.
27052 * math/e_log2l.c: Likewise.
27053 * math/e_logl.c: Likewise.
27054 * math/e_powl.c: Likewise.
27055 * math/e_rem_pio2l.c: Likewise.
27056 * math/e_sinhl.c: Likewise.
27057 * math/e_sqrtl.c: Likewise.
27058 * math/fclrexcpt.c: Likewise.
27059 * math/fedisblxcpt.c: Likewise.
27060 * math/feenablxcpt.c: Likewise.
27061 * math/fegetenv.c: Likewise.
27062 * math/fegetexcept.c: Likewise.
27063 * math/fegetround.c: Likewise.
27064 * math/feholdexcpt.c: Likewise.
27065 * math/fesetenv.c: Likewise.
27066 * math/fesetround.c: Likewise.
27067 * math/feupdateenv.c: Likewise.
27068 * math/fgetexcptflg.c: Likewise.
27069 * math/fraiseexcpt.c: Likewise.
27070 * math/fsetexcptflg.c: Likewise.
27071 * math/ftestexcept.c: Likewise.
27072 * math/k_cosl.c: Likewise.
27073 * math/k_rem_pio2l.c: Likewise.
27074 * math/k_sinl.c: Likewise.
27075 * math/k_tanl.c: Likewise.
27076 * math/s_asinhl.c: Likewise.
27077 * math/s_atanl.c: Likewise.
27078 * math/s_cbrtl.c: Likewise.
27079 * math/s_erfl.c: Likewise.
27080 * math/s_expm1l.c: Likewise.
27081 * math/s_log1pl.c: Likewise.
27082 * math/s_tanhl.c: Likewise.
27083 * misc/acct.c: Likewise.
27084 * misc/brk.c: Likewise.
27085 * misc/chflags.c: Likewise.
27086 * misc/chroot.c: Likewise.
27087 * misc/fchflags.c: Likewise.
27088 * misc/fgetxattr.c: Likewise.
27089 * misc/flistxattr.c: Likewise.
27090 * misc/fremovexattr.c: Likewise.
27091 * misc/fsetxattr.c: Likewise.
27092 * misc/fsync.c: Likewise.
27093 * misc/ftruncate.c: Likewise.
27094 * misc/futimes.c: Likewise.
27095 * misc/futimesat.c: Likewise.
27096 * misc/getdomain.c: Likewise.
27097 * misc/getdtsz.c: Likewise.
27098 * misc/gethostid.c: Likewise.
27099 * misc/gethostname.c: Likewise.
27100 * misc/getloadavg.c: Likewise.
27101 * misc/getpagesize.c: Likewise.
27102 * misc/getsysstats.c: Likewise.
27103 * misc/getxattr.c: Likewise.
27104 * misc/gtty.c: Likewise.
27105 * misc/ioctl.c: Likewise.
27106 * misc/lgetxattr.c: Likewise.
27107 * misc/listxattr.c: Likewise.
27108 * misc/llistxattr.c: Likewise.
27109 * misc/lremovexattr.c: Likewise.
27110 * misc/lsetxattr.c: Likewise.
27111 * misc/lutimes.c: Likewise.
27112 * misc/madvise.c: Likewise.
27113 * misc/mincore.c: Likewise.
27114 * misc/mlock.c: Likewise.
27115 * misc/mlockall.c: Likewise.
27116 * misc/mmap.c: Likewise.
27117 * misc/mprotect.c: Likewise.
27118 * misc/msync.c: Likewise.
27119 * misc/munlock.c: Likewise.
27120 * misc/munlockall.c: Likewise.
27121 * misc/munmap.c: Likewise.
27122 * misc/preadv.c: Likewise.
27123 * misc/preadv64.c: Likewise.
27124 * misc/ptrace.c: Likewise.
27125 * misc/pwritev.c: Likewise.
27126 * misc/pwritev64.c: Likewise.
27127 * misc/readv.c: Likewise.
27128 * misc/reboot.c: Likewise.
27129 * misc/remap_file_pages.c: Likewise.
27130 * misc/removexattr.c: Likewise.
27131 * misc/revoke.c: Likewise.
27132 * misc/select.c: Likewise.
27133 * misc/setdomain.c: Likewise.
27134 * misc/setegid.c: Likewise.
27135 * misc/seteuid.c: Likewise.
27136 * misc/sethostid.c: Likewise.
27137 * misc/sethostname.c: Likewise.
27138 * misc/setregid.c: Likewise.
27139 * misc/setreuid.c: Likewise.
27140 * misc/setxattr.c: Likewise.
27141 * misc/sstk.c: Likewise.
27142 * misc/stty.c: Likewise.
27143 * misc/swapoff.c: Likewise.
27144 * misc/swapon.c: Likewise.
27145 * misc/sync.c: Likewise.
27146 * misc/syncfs.c: Likewise.
27147 * misc/syscall.c: Likewise.
27148 * misc/truncate.c: Likewise.
27149 * misc/ualarm.c: Likewise.
27150 * misc/usleep.c: Likewise.
27151 * misc/ustat.c: Likewise.
27152 * misc/utimes.c: Likewise.
27153 * misc/vhangup.c: Likewise.
27154 * misc/writev.c: Likewise.
27155 * posix/_exit.c: Likewise.
27156 * posix/alarm.c: Likewise.
27157 * posix/execve.c: Likewise.
27158 * posix/fexecve.c: Likewise.
27159 * posix/fork.c: Likewise.
27160 * posix/fpathconf.c: Likewise.
27161 * posix/getaddrinfo.c: Likewise.
27162 * posix/getegid.c: Likewise.
27163 * posix/geteuid.c: Likewise.
27164 * posix/getgid.c: Likewise.
27165 * posix/getgroups.c: Likewise.
27166 * posix/getlogin.c: Likewise.
27167 * posix/getlogin_r.c: Likewise.
27168 * posix/getpgid.c: Likewise.
27169 * posix/getpid.c: Likewise.
27170 * posix/getppid.c: Likewise.
27171 * posix/getresgid.c: Likewise.
27172 * posix/getresuid.c: Likewise.
27173 * posix/getsid.c: Likewise.
27174 * posix/getuid.c: Likewise.
27175 * posix/glob64.c: Likewise.
27176 * posix/nanosleep.c: Likewise.
27177 * posix/pathconf.c: Likewise.
27178 * posix/pause.c: Likewise.
27179 * posix/posix_madvise.c: Likewise.
27180 * posix/pread.c: Likewise.
27181 * posix/pread64.c: Likewise.
27182 * posix/pwrite.c: Likewise.
27183 * posix/pwrite64.c: Likewise.
27184 * posix/sched_getaffinity.c: Likewise.
27185 * posix/sched_getp.c: Likewise.
27186 * posix/sched_gets.c: Likewise.
27187 * posix/sched_primax.c: Likewise.
27188 * posix/sched_primin.c: Likewise.
27189 * posix/sched_rr_gi.c: Likewise.
27190 * posix/sched_setaffinity.c: Likewise.
27191 * posix/sched_setp.c: Likewise.
27192 * posix/sched_sets.c: Likewise.
27193 * posix/sched_yield.c: Likewise.
27194 * posix/setgid.c: Likewise.
27195 * posix/setlogin.c: Likewise.
27196 * posix/setpgid.c: Likewise.
27197 * posix/setresgid.c: Likewise.
27198 * posix/setresuid.c: Likewise.
27199 * posix/setsid.c: Likewise.
27200 * posix/setuid.c: Likewise.
27201 * posix/sleep.c: Likewise.
27202 * posix/spawni.c: Likewise.
27203 * posix/sysconf.c: Likewise.
27204 * posix/times.c: Likewise.
27205 * posix/wait.c: Likewise.
27206 * posix/wait3.c: Likewise.
27207 * posix/wait4.c: Likewise.
27208 * posix/waitpid.c: Likewise.
27209 * resolv/gai_sigqueue.c: Likewise.
27210 * resource/getpriority.c: Likewise.
27211 * resource/getrlimit.c: Likewise.
27212 * resource/getrusage.c: Likewise.
27213 * resource/nice.c: Likewise.
27214 * resource/setpriority.c: Likewise.
27215 * resource/setrlimit.c: Likewise.
27216 * resource/ulimit.c: Likewise.
27217 * rt/aio_cancel.c: Likewise.
27218 * rt/aio_fsync.c: Likewise.
27219 * rt/aio_read.c: Likewise.
27220 * rt/aio_sigqueue.c: Likewise.
27221 * rt/aio_suspend.c: Likewise.
27222 * rt/aio_write.c: Likewise.
27223 * rt/clock_getres.c: Likewise.
27224 * rt/clock_gettime.c: Likewise.
27225 * rt/clock_nanosleep.c: Likewise.
27226 * rt/clock_settime.c: Likewise.
27227 * rt/lio_listio.c: Likewise.
27228 * rt/mq_close.c: Likewise.
27229 * rt/mq_getattr.c: Likewise.
27230 * rt/mq_notify.c: Likewise.
27231 * rt/mq_open.c: Likewise.
27232 * rt/mq_receive.c: Likewise.
27233 * rt/mq_send.c: Likewise.
27234 * rt/mq_setattr.c: Likewise.
27235 * rt/mq_timedreceive.c: Likewise.
27236 * rt/mq_timedsend.c: Likewise.
27237 * rt/mq_unlink.c: Likewise.
27238 * rt/shm_open.c: Likewise.
27239 * rt/shm_unlink.c: Likewise.
27240 * rt/timer_create.c: Likewise.
27241 * rt/timer_delete.c: Likewise.
27242 * rt/timer_getoverr.c: Likewise.
27243 * rt/timer_gettime.c: Likewise.
27244 * rt/timer_settime.c: Likewise.
27245 * setjmp/__longjmp.c: Likewise.
27246 * setjmp/setjmp.c: Likewise.
27247 * signal/kill.c: Likewise.
27248 * signal/killpg.c: Likewise.
27249 * signal/raise.c: Likewise.
27250 * signal/sigaction.c: Likewise.
27251 * signal/sigaltstack.c: Likewise.
27252 * signal/sigblock.c: Likewise.
27253 * signal/sigignore.c: Likewise.
27254 * signal/sigintr.c: Likewise.
27255 * signal/signal.c: Likewise.
27256 * signal/sigpause.c: Likewise.
27257 * signal/sigpending.c: Likewise.
27258 * signal/sigqueue.c: Likewise.
27259 * signal/sigreturn.c: Likewise.
27260 * signal/sigset.c: Likewise.
27261 * signal/sigsetmask.c: Likewise.
27262 * signal/sigstack.c: Likewise.
27263 * signal/sigsuspend.c: Likewise.
27264 * signal/sigtimedwait.c: Likewise.
27265 * signal/sigvec.c: Likewise.
27266 * signal/sigwait.c: Likewise.
27267 * signal/sigwaitinfo.c: Likewise.
27268 * signal/sysv_signal.c: Likewise.
27269 * socket/accept.c: Likewise.
27270 * socket/accept4.c: Likewise.
27271 * socket/bind.c: Likewise.
27272 * socket/connect.c: Likewise.
27273 * socket/getpeername.c: Likewise.
27274 * socket/getsockname.c: Likewise.
27275 * socket/getsockopt.c: Likewise.
27276 * socket/isfdtype.c: Likewise.
27277 * socket/listen.c: Likewise.
27278 * socket/recv.c: Likewise.
27279 * socket/recvfrom.c: Likewise.
27280 * socket/recvmsg.c: Likewise.
27281 * socket/send.c: Likewise.
27282 * socket/sendmsg.c: Likewise.
27283 * socket/sendto.c: Likewise.
27284 * socket/setsockopt.c: Likewise.
27285 * socket/shutdown.c: Likewise.
27286 * socket/sockatmark.c: Likewise.
27287 * socket/socket.c: Likewise.
27288 * socket/socketpair.c: Likewise.
27289 * stdio-common/ctermid.c: Likewise.
27290 * stdio-common/cuserid.c: Likewise.
27291 * stdio-common/remove.c: Likewise.
27292 * stdio-common/rename.c: Likewise.
27293 * stdio-common/renameat.c: Likewise.
27294 * stdio-common/tempname.c: Likewise.
27295 * stdlib/getcontext.c: Likewise.
27296 * stdlib/makecontext.c: Likewise.
27297 * stdlib/setcontext.c: Likewise.
27298 * stdlib/swapcontext.c: Likewise.
27299 * stdlib/system.c: Likewise.
27300 * streams/fattach.c: Likewise.
27301 * streams/fdetach.c: Likewise.
27302 * streams/getmsg.c: Likewise.
27303 * streams/getpmsg.c: Likewise.
27304 * streams/putmsg.c: Likewise.
27305 * streams/putpmsg.c: Likewise.
27306 * sysdeps/unix/bsd/getpt.c: Likewise.
27307 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27308 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27309 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27311 Likewise.
27312 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27313 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27314 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27315 * sysvipc/msgctl.c: Likewise.
27316 * sysvipc/msgget.c: Likewise.
27317 * sysvipc/msgrcv.c: Likewise.
27318 * sysvipc/msgsnd.c: Likewise.
27319 * sysvipc/semctl.c: Likewise.
27320 * sysvipc/semget.c: Likewise.
27321 * sysvipc/semop.c: Likewise.
27322 * sysvipc/semtimedop.c: Likewise.
27323 * sysvipc/shmat.c: Likewise.
27324 * sysvipc/shmctl.c: Likewise.
27325 * sysvipc/shmdt.c: Likewise.
27326 * sysvipc/shmget.c: Likewise.
27327 * termios/tcdrain.c: Likewise.
27328 * termios/tcflow.c: Likewise.
27329 * termios/tcflush.c: Likewise.
27330 * termios/tcgetattr.c: Likewise.
27331 * termios/tcgetpgrp.c: Likewise.
27332 * termios/tcsendbrk.c: Likewise.
27333 * termios/tcsetattr.c: Likewise.
27334 * termios/tcsetpgrp.c: Likewise.
27335 * time/adjtime.c: Likewise.
27336 * time/clock.c: Likewise.
27337 * time/getitimer.c: Likewise.
27338 * time/gettimeofday.c: Likewise.
27339 * time/setitimer.c: Likewise.
27340 * time/settimeofday.c: Likewise.
27341 * time/stime.c: Likewise.
27342 * time/time.c: Likewise.
27343
273442012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 27345
a20492cf
PT
27346 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27347 /usr/old/bin.
27348
72e182e3
PT
27349 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27350 instead of spaces.
27351 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27352
fbeafede
JM
273532012-11-03 Joseph Myers <joseph@codesourcery.com>
27354
5b5b04d6
JM
27355 [BZ #14796]
27356 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27357 FE_TONEAREST before applying Dekker multiplication and Knuth
27358 addition. Clear inexact exceptions and check for exact zero
27359 results afterwards.
27360 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27361 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27362 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27363 * math/libm-test.inc (fma_test): Add more tests.
27364 (fma_test_towardzero): Likewise.
27365 (fma_test_downward): Likewise.
27366 (fma_test_upward): Likewise.
27367 * sysdeps/generic/math_private.h (default_libc_fesetround): New
27368 function.
27369 (libc_fesetround): New macro.
27370 (libc_fesetroundf): Likewise.
27371 (libc_fesetroundl): Likewise.
27372 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27373 function.
27374 (libc_fesetround_387): Likewise.
27375 (libc_fesetroundf): New macro.
27376 (libc_fesetround): Likewise.
27377 (libc_fesetroundl): Likewise.
27378 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27379 function.
27380 (libc_fesetroundf): New macro.
27381 (libc_fesetround): Likewise.
27382 (libc_fesetroundl): Likewise.
27383 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27384 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27385 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27386 libm_hidden_ver.
27387 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27388 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27389 libm_hidden_def.
27390 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27391 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27392 libm_hidden_ver.
27393 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27394 libm_hidden_def.
27395
fbeafede
JM
27396 [BZ #3439]
27397 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27398 integer constant usable in #if and use that to give value to enum
27399 constant.
27400 (FE_DIVBYZERO): Likewise.
27401 (FE_UNDERFLOW): Likewise.
27402 (FE_OVERFLOW): Likewise.
27403 (FE_INVALID): Likewise.
27404 (FE_INVALID_SNAN): Likewise.
27405 (FE_INVALID_ISI): Likewise.
27406 (FE_INVALID_IDI): Likewise.
27407 (FE_INVALID_ZDZ): Likewise.
27408 (FE_INVALID_IMZ): Likewise.
27409 (FE_INVALID_COMPARE): Likewise.
27410 (FE_INVALID_SOFTWARE): Likewise.
27411 (FE_INVALID_SQRT): Likewise.
27412 (FE_INVALID_INTEGER_CONVERSION): Likewise.
27413 (FE_TONEAREST): Likewise.
27414 (FE_TOWARDZERO): Likewise.
27415 (FE_UPWARD): Likewise.
27416 (FE_DOWNWARD): Likewise.
27417 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27418 (FE_DIVBYZERO): Likewise.
27419 (FE_OVERFLOW): Likewise.
27420 (FE_UNDERFLOW): Likewise.
27421 (FE_INEXACT): Likewise.
27422 (FE_TONEAREST): Likewise.
27423 (FE_DOWNWARD): Likewise.
27424 (FE_UPWARD): Likewise.
27425 (FE_TOWARDZERO): Likewise.
27426 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27427 (FE_UNDERFLOW): Likewise.
27428 (FE_OVERFLOW): Likewise.
27429 (FE_DIVBYZERO): Likewise.
27430 (FE_INVALID): Likewise.
27431 (FE_TONEAREST): Likewise.
27432 (FE_TOWARDZERO): Likewise.
27433 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27434 (FE_OVERFLOW): Likewise.
27435 (FE_UNDERFLOW): Likewise.
27436 (FE_DIVBYZERO): Likewise.
27437 (FE_INEXACT): Likewise.
27438 (FE_TONEAREST): Likewise.
27439 (FE_TOWARDZERO): Likewise.
27440 (FE_UPWARD): Likewise.
27441 (FE_DOWNWARD): Likewise.
27442 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27443 (FE_DIVBYZERO): Likewise.
27444 (FE_OVERFLOW): Likewise.
27445 (FE_UNDERFLOW): Likewise.
27446 (FE_INEXACT): Likewise.
27447 (FE_TONEAREST): Likewise.
27448 (FE_DOWNWARD): Likewise.
27449 (FE_UPWARD): Likewise.
27450 (FE_TOWARDZERO): Likewise.
27451
105ca950
CM
274522012-11-02 Chris Metcalf <cmetcalf@tilera.com>
27453
27454 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27455
a542b389
AS
274562012-11-03 Andreas Schwab <schwab@linux-m68k.org>
27457
27458 * scripts/cross-test-ssh.sh (command): Use newlines to separate
27459 commands. Quote $PWD.
27460 (blacklist_exports): Don't use remove_newlines. Replace "declare
27461 -x" by "export".
27462 (remove_newlines): Remove.
27463
f62c8abc
L
274642012-11-02 H.J. Lu <hongjiu.lu@intel.com>
27465
27466 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27467 * stdlib/stdlib.h (atof): Moved to ...
27468 * include/bits/stdlib-float.h: Here. New file.
27469 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27470 * stdlib/bits/stdlib-float.h: New file.
27471 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27472 -mno-sse -mno-mmx.
27473 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27474 <xmmintrin.h>.
27475
0155d5b2
JM
274762012-11-02 Joseph Myers <joseph@codesourcery.com>
27477
a68d0680
JM
27478 * conform/conformtest.pl (@headers): Add fenv.h.
27479 * conform/data/fenv.h-data: New file.
27480 * include/fenv.h [_ISOMAC]: Disable all contents of file except
27481 include of <math/fenv.h>.
27482
caf7f573
JM
27483 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27484 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27485 && !UNIX98]. Enables tests for XOPEN2K8.
27486 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27487 POSIX2008]: Likewise.
27488
6c073ad6
JM
27489 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27490 (struct rusage): Do not expect type or its members.
27491
0155d5b2
JM
27492 [BZ #3439]
27493 * math/math.h (FP_NAN): Define macro to integer constant usable in
27494 #if and use that to give value to enum constant.
27495 (FP_INFINITE): Likewise.
27496 (FP_ZERO): Likewise.
27497 (FP_SUBNORMAL): Likewise.
27498 (FP_NORMAL): Likewise.
27499
b5dcacb4
AS
275002012-11-02 Andreas Schwab <schwab@linux-m68k.org>
27501
27502 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27503 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27504 arguments.
27505
f7934be8
RM
275062012-11-02 Roland McGrath <roland@hack.frob.com>
27507
27508 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27509 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27510 autoconf-time if not.
27511 * configure.in: Remove AC_PREREQ.
27512
d7d08bde
TMQMF
275132012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27514
27515 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27516 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27517 of the internal implementation.
27518
dcdae19a
JM
275192012-11-02 Joseph Myers <joseph@codesourcery.com>
27520
27521 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27522 except include of <misc/sys/syslog.h>.
27523
d6cffd3e
AS
275242012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27525
27526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27527 function returns with a NULL context exit with zero.
27528
b3563932
TMQMF
275292012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27530
27531 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27532
b288a93d
L
275332012-11-01 H.J. Lu <hongjiu.lu@intel.com>
27534
27535 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27536 (run_program_cmd): This.
27537 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27538 (tst_langinfo): New variable. Use it.
27539
a2421a68
SAS
275402012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
27541
27542 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27543 floating point opcodes.
27544
6f796e1b
TS
275452012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27546
7402596b
TS
27547 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27548 variable.
27549
d0d4f868
TS
27550 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27551
6f796e1b
TS
27552 * sysdeps/mach/hurd/powerpc: Remove directory.
27553 * sysdeps/mach/powerpc: Likewise.
27554
4da224a2
AS
275552012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27556
27557 * scripts/check-local-headers.sh: Ignore c++ headers.
27558
341dd673
TS
275592012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27560
27561 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27562 __libc_cleanup_region_start argument.
27563
473611b2
JM
275642012-11-01 Joseph Myers <joseph@codesourcery.com>
27565
27566 [BZ #14784]
27567 [BZ #14785]
27568 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27569 x * y using scaling, not as x * y + z.
27570 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27571 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27572 * math/libm-test.inc (fma_test): Add more tests.
27573 (fma_test_towardzero): Likewise.
27574 (fma_test_downward): Likewise.
27575 (fma_test_upward): Likewise.
27576
4078da3d
TS
275772012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27578
27579 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27580
903252aa
JM
275812012-10-31 Joseph Myers <joseph@codesourcery.com>
27582
27583 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27584 New variable.
27585
cbc818d0
TS
275862012-10-31 Thomas Schwinge <thomas@codesourcery.com>
27587
27588 * rt/tst-shm.c (worker): Correct checking for mmap failure.
27589
5a03cb1e
AS
275902012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27591
27592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27593 Fix sort order.
27594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27595 Likewise.
27596
90aff2ff
TMQMF
275972012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27598
27599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27600 Fix the order of the list for glibc 2.17.
27601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27602 Likewise.
27603
1818fcb7
AS
276042012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27605
27606 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27607
ef82f4da
JM
276082012-10-31 Joseph Myers <joseph@codesourcery.com>
27609
16a0e2ec
JM
27610 [BZ #14610]
27611 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27612 for low part of x being zero before using __atanl (y).
27613 * math/libm-test.inc (atan2_test): Add another test.
27614
0eb69512
JM
27615 * manual/install.texi (Configuring and compiling): Document
27616 general use of test-wrapper and test-wrapper-env.
27617 * INSTALL: Regenerated.
27618
ef82f4da
JM
27619 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27620 (__fma): Do not extract and scale down low bits on after-rounding
27621 systems when result rounded to normal precision would have normal
27622 exponent.
27623 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27624 (__fmal): Do not extract and scale down low bits on after-rounding
27625 systems when result rounded to normal precision would have normal
27626 exponent.
27627 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27628 (__fmal): Do not extract and scale down low bits on after-rounding
27629 systems when result rounded to normal precision would have normal
27630 exponent.
27631 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27632 macro.
27633 (fma_test): Add more tests.
27634 (fma_test_towardzero): Likewise.
27635 (fma_test_downward): Likewise.
27636 (fma_test_upward): Likewise.
27637
954ef0d9
L
276382012-10-30 H.J. Lu <hongjiu.lu@intel.com>
27639
27640 * sysdeps/i386/tininess.h: Renamed to ...
27641 * sysdeps/x86/tininess.h: This.
27642 * sysdeps/x86_64/tininess.h: Removed.
27643
df61ffb2
JM
276442012-10-30 Joseph Myers <joseph@codesourcery.com>
27645
27646 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27647 input. Use $(build-program-cmd).
27648 ($(objpfx)tst-array1-static.out): Likewise.
27649 ($(objpfx)tst-array2.out): Likewise.
27650 ($(objpfx)tst-array3.out): Likewise.
27651 ($(objpfx)tst-array4.out): Likewise.
27652 ($(objpfx)tst-array5.out): Likewise.
27653 ($(objpfx)tst-array5-static.out): Likewise.
27654
01767843
CM
276552012-10-30 Chris Metcalf <cmetcalf@tilera.com>
27656
47cc1490
CM
27657 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27658 if defined.
27659
01767843
CM
27660 * nss/nsswitch.h (nss_interface_function): Provide new
27661 macro for use with NSS functions.
27662 * grp/initgroups.c: Use new macro.
27663 * nss/getXXbyYY.c: Likewise.
27664 * nss/getXXbyYY_r.c: Likewise.
27665 * nss/getXXent.c: Likewise.
27666 * nss/getXXent_r.c: Likewise.
27667 * sysdeps/posix/getaddrinfo.c: Likewise.
27668
8321aa97
AJ
276692012-10-30 Andreas Jaeger <aj@suse.de>
27670
27671 * po/ru.po: Update Russion translation from translation project.
27672
2a27fd6d
JM
276732012-10-30 Joseph Myers <joseph@codesourcery.com>
27674
8627a232
JM
27675 [BZ #14152]
27676 [BZ #14783]
27677 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27678 result and shift together with sticky bit instead of replicating
27679 round-to-nearest rounding.
27680 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27681 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27682 * math/libm-test.inc (fma_test): Add more tests. Do not permit
27683 missing underflow exceptions.
27684 (fma_test_towardzero): Add more tests.
27685 (fma_test_downward): Likewise.
27686 (fma_test_upward): Likewise.
27687
2a27fd6d
JM
27688 [BZ #14047]
27689 * sysdeps/generic/tininess.h: New file.
27690 * sysdeps/i386/tininess.h: Likewise.
27691 * sysdeps/sh/tininess.h: Likewise.
27692 * sysdeps/x86_64/tininess.h: Likewise.
27693 * stdlib/tst-strtod-underflow.c: Likewise.
27694 * stdlib/tst-tininess.c: Likewise.
27695 * stdlib/strtod_l.c: Include <tininess.h>.
27696 (round_and_return): Do not set errno for exact underflow cases.
27697 Force an underflow exception when setting errno for underflow.
27698 Determine underflow based on rounding to normal precision if
27699 TININESS_AFTER_ROUNDING.
27700 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27701 ERANGE for exact underflow cases.
27702 * stdlib/Makefile (tests): Add tst-tininess and
27703 tst-strtod-underflow.
27704 ($(objpfx)tst-tininess): Use $(link-libm).
27705 ($(objpfx)tst-strtod-underflow): Likewise.
27706
e7170363
AJ
277072012-10-30 Andreas Jaeger <aj@suse.de>
27708
e5088dc6
AJ
27709 [BZ#14767]
27710 * elf/Makefile (tests): Remove conditional for have-initfini-array
27711 since this is now always required and the variable does not exist
27712 anymore.
27713 (tests-static): Likewise.
27714 (modules-names): Likewise.
27715
e7170363 27716 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
27717
27718 * elf/tst-array1.c (fini_array): Make writeable so that it can be
27719 merged with constructor/destructor.
27720 (init_array): Likewise.
27721 * elf/tst-array2dep.c (fini_array): Likewise.
27722 (init_array): Likewise.
27723
60457d8a
MF
277242012-10-29 Mike Frysinger <vapier@gentoo.org>
27725
27726 * manual/message.texi: Delete @cartouche tags.
27727
8bece752
PT
277282012-10-29 Pino Toscano <toscano.pino@tiscali.it>
27729
94ce799f
PT
27730 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27731 EOPNOTSUPP.
27732 * sysdeps/mach/hurd/fsync.c: Likewise.
27733
8bece752
PT
27734 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27735 [_POSIX_REALTIME_SIGNALS]: Change condition to
27736 [_POSIX_REALTIME_SIGNALS > 0].
27737
86ebe6b1
AJ
277382012-10-27 Andreas Jaeger <aj@suse.de>
27739
27740 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27741 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27742 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27743 [__WORDSIZE != 64]: Likewise.
27744
54399c08
L
277452012-10-26 H.J. Lu <hongjiu.lu@intel.com>
27746
27747 * iconvdata/tst-table.sh: Remove ${SHELL}.
27748 * iconvdata/tst-tables.sh: Likewise.
27749
e2211bed
DM
277502012-10-25 David S. Miller <davem@davemloft.net>
27751
27752 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27753 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27754 of strtoull.
27755
f303f97c
DM
27756 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27757 ifunc-impl-list.c
27758 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27759 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27760 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27761 file.
27762
1e9d84cd
RM
277632012-10-25 Roland McGrath <roland@hack.frob.com>
27764
27765 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27766 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27767 __getdirentries.
27768
df381762
JM
277692012-10-25 Joseph Myers <joseph@codesourcery.com>
27770 Jim Blandy <jimb@codesourcery.com>
27771
27772 * scripts/cross-test-ssh.sh: New file.
27773 * manual/install.texi (Configuring and compiling): Document use of
27774 cross-test-ssh.sh.
27775 * INSTALL: Regenerated.
27776
bff64913
PT
277772012-10-25 Pino Toscano <toscano.pino@tiscali.it>
27778
27779 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27780 EOPNOTSUPP.
27781
25fe8932
JM
277822012-10-25 Joseph Myers <joseph@codesourcery.com>
27783
27784 * Makeconfig (run-program-prefix): Fix comment.
27785
cc1290d0
JM
277862012-10-24 Joseph Myers <joseph@codesourcery.com>
27787 Jim Blandy <jimb@codesourcery.com>
27788
27789 * Makeconfig (test-wrapper): New variable,
27790 (test-wrapper-env): Likewise.
27791 [$(cross-compiling) = yes && $(test-wrapper) != ""]
27792 (run-built-tests): Define to yes.
27793 (run-program-prefix): Use $(test-wrapper).
27794 (built-program-cmd): Likewise.
27795 * Rules (make-test-out): Use $(test-wrapper-env) and
27796 $(host-built-program-cmd).
27797 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27798 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27799 tst-pathopt.sh.
27800 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27801 $(test-wrapper-env) to tst-rtld-load-self.sh.
27802 ($(objpfx)order2.out): Use $(test-wrapper).
27803 ($(objpfx)tst-initorder.out): Likewise.
27804 ($(objpfx)tst-initorder2.out): Likewise.
27805 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27806 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27807 (test_wrapper_env): New variable. Use it to run ld.so.
27808 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27809 Use it to run ld.so.
27810 (test_wrapper_env): Likewise.
27811 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27812 $(test-wrapper) to run-iconv-test.sh.
27813 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27814 (ICONV): Use $test_wrapper.
27815 * posix/Makefile ($(objpfx)globtest.out): Pass
27816 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27817 globtest.sh, not $(run-program-prefix).
27818 * posix/globtest.sh (run_via_rtld_prefix): New variable.
27819 (test_wrapper): Likewise.
27820 (test_wrapper_env): Likewise. Use it to run globtest with HOME
27821 set together with run_via_rtld_prefix.
27822 (run_program_prefix): Define in terms of test_wrapper and
27823 run_via_rtld_prefix.
27824
6e6249d0
RM
278252012-10-24 Roland McGrath <roland@hack.frob.com>
27826
27827 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27828 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27829 Targets removed.
27830
27831 [BZ #14743]
27832 * include/time.h: Remove librt_hidden_proto (clock_gettime).
27833 Declare __clock_getres, __clock_gettime, __clock_settime,
27834 __clock_nanosleep, and __clock_getcpuclockid.
27835 * rt/clock_gettime.c: Define __clock_gettime as an alias.
27836 Remove librt_hidden_def (clock_gettime).
27837 * sysdeps/unix/clock_gettime.c: Likewise.
27838 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27839 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27840 * rt/clock_getres.c: Define __clock_getres as an alias.
27841 * sysdeps/posix/clock_getres.c: Likewise.
27842 * rt/clock_settime.c: Define __clock_settime as an alias.
27843 * sysdeps/unix/clock_settime.c: Likewise.
27844 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27845 * sysdeps/unix/clock_nanosleep.c: Likewise.
27846 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27847 * rt/clock-compat.c: New file.
27848 * rt/Makefile (librt-routines): Add clock-compat and move
27849 $(clock-routines) to ...
27850 (routines): ... here, new variable.
27851 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27852 Don't add get_clockfreq here.
27853 * rt/Versions (libc: GLIBC_2.17): New version set.
27854 Add clock_* symbols here.
27855 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
27856 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27857 (GLIBC_2.17): Add clock_* symbols.
27858 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27859 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27860 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27862 Likewise.
27863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27864 Likewise.
27865 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27866 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27867 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27869 * NEWS: Mention the move.
27870
27871 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27872 Use __open, __read, __close rather than their public counterparts.
27873 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27874 (__get_clockfreq_via_cpuinfo): Likewise.
27875 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27876 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27877
27878 * config.h.in (HAVE_IFUNC): New #undef.
27879 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27880 was successful.
27881 * configure: Regenerated.
27882
0cae3f4b
MF
278832012-10-24 Mike Frysinger <vapier@gentoo.org>
27884
27885 * configure.in: Move READELF check to start of file.
27886 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27887 libc_cv_asm_gnu_indirect_function in the process.
27888 * configure: Regenerated.
27889
8175a253
MF
278902012-10-24 Mike Frysinger <vapier@gentoo.org>
27891
27892 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27893 send the output to /dev/null.
27894 (libc_cv_cc_with_libunwind): Likewise.
27895 (libc_cv_as_noexecstack): Likewise.
27896 * configure: Regenerate.
27897
0708a7d1
JM
278982012-10-24 Joseph Myers <joseph@codesourcery.com>
27899
10b40d85
JM
27900 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27901
0708a7d1
JM
27902 * posix/globtest.sh (TMPDIR): Do not set.
27903 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27904 (testout): Likewise.
27905
9fddec1a
AJ
279062012-10-24 Andreas Jaeger <aj@suse.de>
27907
3a8db22f
AJ
27908 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27909 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27910 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27911 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27912 posix_fadvise64, posix_fallocate64.
27913
9fddec1a
AJ
27914 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27915 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27916 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27917 Likewise.
27918 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27919 Likewise.
27920 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27921
27922 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27923 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27924 <bits/fcntl-linux.h>.
27925 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27926
27927 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27928 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27929 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27930 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27931 [__WORDSIZE != 64]: Likewise.
27932
ebfd1bbd
JM
279332012-10-23 Joseph Myers <joseph@codesourcery.com>
27934
03ac099f
JM
27935 * Makeconfig (run-built-tests): New variable.
27936 * Rules [$(cross-compiling) = yes]: Change condition to
27937 [$(run-built-tests) = no].
27938 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27939 to [$(run-built-tests) = yes].
27940 * elf/Makefile [$(cross-compiling) = no]: Likewise
27941 * grp/Makefile [$(cross-compiling) = no]: Likewise.
27942 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27943 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27944 * intl/Makefile [$(cross-compiling) = no]: Likewise.
27945 * io/Makefile [$(cross-compiling) = no]: Likewise.
27946 * libio/Makefile [$(cross-compiling) = no]: Likewise.
27947 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27948 * misc/Makefile [$(cross-compiling) = no]: Likewise.
27949 * posix/Makefile [$(cross-compiling) = no]: Likewise.
27950 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27951 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27952 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27953 * string/Makefile [$(cross-compiling) = no]: Likewise.
27954
ebfd1bbd
JM
27955 * posix/Makefile ($(objpfx)globtest.out): Pass
27956 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27957 $(rtld-installed-name).
27958 * posix/globtest.sh (elf_objpfx): Remove variable.
27959 (rtld_installed_name): Likewise.
27960 (library_path): Likewise.
27961 (run_program_prefix): New variable. Use for running globtest
27962 binary.
27963
166bca24
JB
279642012-10-23 Jim Blandy <jimb@codesourcery.com>
27965 Joseph Myers <joseph@codesourcery.com>
27966
27967 * Makeconfig (host-built-program-cmd): New variable.
27968 * elf/Makefile (tst-stackguard1-ARGS): Use
27969 $(host-built-program-cmd).
27970 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27971 (tst-spawn-ARGS): Likewise.
27972 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27973
88866099
JM
279742012-10-23 Joseph Myers <joseph@codesourcery.com>
27975 Jim Blandy <jimb@codesourcery.com>
27976
27977 * Makeconfig (run-via-rtld-prefix): New variable.
27978 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27979 (built-program-cmd): Likewise.
27980
b4b4c296
AJ
279812012-10-22 Andreas Jaeger <aj@suse.de>
27982
27983 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27984 __O_RSYNC if it exists, otherwise to O_SYNC.
27985
6fb54a22
JB
279862012-10-22 Jim Blandy <jimb@codesourcery.com>
27987 Joseph Myers <joseph@codesourcery.com>
27988
27989 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27990 /dev/null.
27991 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27992 from /dev/null
27993 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27994 /dev/null.
27995
481b90b9
AJ
279962012-10-22 Andreas Jaeger <aj@suse.de>
27997
2a0e2669
AJ
27998 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27999 Define always.
28000 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28001
76e38f9a
AJ
28002 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28003 bits/fcntl-linux.h.
28004
7cd37b43
AJ
28005 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28006 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28007
481b90b9
AJ
28008 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28009 to __O_LARGEFILE.
28010 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28011 to __O_LARGEFILE.
28012
aba75984
JB
280132012-10-21 Jim Blandy <jimb@codesourcery.com>
28014 Joseph Myers <joseph@codesourcery.com>
28015
28016 * config.make.in (NM): New variable.
28017
88d4247f
AJ
280182012-10-21 Andreas Jaeger <aj@suse.de>
28019
28020 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28021 definitions and declarations that are provided by
28022 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28023
f2eed205
L
280242012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28025
28026 [BZ #14683]
28027 * elf/Makefile (tests-static): Add tst-leaks1-static.
28028 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28029 ($(objpfx)tst-leaks1-static): New rule.
28030 ($(objpfx)tst-leaks1-static-mem): Likewise.
28031 (tst-leaks1-static-ENV): New macro.
28032 * elf/dl-open.c (dl_open_worker): Check the main application
28033 only if SHARED is defined.
28034 * elf/tst-leaks1-static.c: New file.
28035
335e6931
AJ
280362012-10-20 Andreas Jaeger <aj@suse.de>
28037
28038 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28039 generic values for Linux.
28040 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28041 and declarations that are provided by <bits/fcntl-linux.h> and
28042 include <bits/fcntl-linux.h>.
28043 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28044 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28045
ac5c94d3
RM
280462012-10-20 Roland McGrath <roland@hack.frob.com>
28047
28048 * io/fcntl.h: Move include of <bits/types.h> to the top and
28049 include it unconditionally.
28050
de54b33a
L
280512012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28052
228cfb01
L
28053 * wcsmbs/Makefile (tests-ifunc): New variable.
28054 (tests): Add $(tests-ifunc).
28055 * wcsmbs/test-wcschr-ifunc.c: New file.
28056 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28057 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28058 * wcsmbs/test-wcslen-ifunc.c: Likewise.
28059 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28060 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28061
69f07e5f
L
28062 * string/Makefile (tests-ifunc): New variable.
28063 (tests): Add $(tests-ifunc).
28064 * string/test-memccpy.c (TEST_NAME): New macro.
28065 * string/test-memchr.c (TEST_NAME): Likewise.
28066 * string/test-memcmp.c (TEST_NAME): Likewise.
28067 * string/test-memcpy.c (TEST_NAME): Likewise.
28068 * string/test-memmem.c (TEST_NAME): Likewise.
28069 * string/test-memmove.c (TEST_NAME): Likewise.
28070 * string/test-memset.c (TEST_NAME): Likewise.
28071 * string/test-rawmemchr.c (TEST_NAME): Likewise.
28072 * string/test-stpcpy.c (TEST_NAME): Likewise.
28073 * string/test-stpncpy.c (TEST_NAME): Likewise.
28074 * string/test-strcasecmp.c (TEST_NAME): Likewise.
28075 * string/test-strcasestr.c (TEST_NAME): Likewise.
28076 * string/test-strcat.c (TEST_NAME): Likewise.
28077 * string/test-strchr.c (TEST_NAME): Likewise.
28078 * string/test-strcmp.c(TEST_NAME): Likewise.
28079 * string/test-strcpy.c (TEST_NAME): Likewise.
28080 * string/test-strcspn.c (TEST_NAME): Likewise.
28081 * string/test-strlen.c (TEST_NAME): Likewise.
28082 * string/test-strncasecmp.c (TEST_NAME): Likewise.
28083 * string/test-strncmp.c (TEST_NAME): Likewise.
28084 * string/test-strncpy.c (TEST_NAME): Likewise.
28085 * string/test-strnlen.c (TEST_NAME): Likewise.
28086 * string/test-strpbrk.c (TEST_NAME): Likewise.
28087 * string/test-strrchr.c (TEST_NAME): Likewise.
28088 * string/test-strspn.c (TEST_NAME): Likewise.
28089 * string/test-strstr.c (TEST_NAME): Likewise.
28090 * string/test-bcopy-ifunc.c: New file.
28091 * string/test-bzero-ifunc.c: Likewise.
28092 * string/test-memccpy-ifunc.c: Likewise.
28093 * string/test-memchr-ifunc.c: Likewise.
28094 * string/test-memcmp-ifunc.c: Likewise.
28095 * string/test-memcpy-ifunc.c: Likewise.
28096 * string/test-memmem-ifunc.c: Likewise.
28097 * string/test-memmove-ifunc.c: Likewise.
28098 * string/test-mempcpy-ifunc.c: Likewise.
28099 * string/test-memset-ifunc.c: Likewise.
28100 * string/test-rawmemchr-ifunc.c: Likewise.
28101 * string/test-stpcpy-ifunc.c: Likewise.
28102 * string/test-stpncpy-ifunc.c: Likewise.
28103 * string/test-strcasecmp-ifunc.c: Likewise.
28104 * string/test-strcasestr-ifunc.c: Likewise.
28105 * string/test-strcat-ifunc.c: Likewise.
28106 * string/test-strchr-ifunc.c: Likewise.
28107 * string/test-strchrnul-ifunc.c: Likewise.
28108 * string/test-strcmp-ifunc.c: Likewise.
28109 * string/test-strcpy-ifunc.c: Likewise.
28110 * string/test-strcspn-ifunc.c: Likewise.
28111 * string/test-strlen-ifunc.c: Likewise.
28112 * string/test-strncasecmp-ifunc.c: Likewise.
28113 * string/test-strncat-ifunc.c: Likewise.
28114 * string/test-strncmp-ifunc.c: Likewise.
28115 * string/test-strncpy-ifunc.c: Likewise.
28116 * string/test-strnlen-ifunc.c: Likewise.
28117 * string/test-strpbrk-ifunc.c: Likewise.
28118 * string/test-strrchr-ifunc.c: Likewise.
28119 * string/test-strspn-ifunc.c: Likewise.
28120 * string/test-strstr-ifunc.c: Likewise.
28121
de54b33a
L
28122 * debug/Makefile (tests-ifunc): New variable.
28123 (tests): Add $(tests-ifunc).
28124 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28125 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28126 * debug/test-stpcpy_chk-ifunc.c: New file.
28127 * debug/test-strcpy_chk-ifunc.c: Likewise.
28128
88481c16
SP
281292012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28130
28131 [BZ #13601]
28132 * elf/dl-load.c (open_verify): Retry read if the entire ELF
28133 header is not read in.
28134
135948bd
JM
281352012-10-19 Joseph Myers <joseph@codesourcery.com>
28136
89f1c388
JM
28137 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
28138 script to $(SHELL) as $<. Pass $(common-objpfx) to script
28139 directly. Pass built executable to script as
28140 $(built-program-cmd).
28141 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
28142 $testprogram without using LD_LIBRARY_PATH and $ldso.
28143
e40a0d21
JM
28144 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28145 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28146 $(rtld-installed-name).
28147 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28148 (rtld_installed_name): Likewise.
28149 (library_path): Likewise.
28150 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
28151 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28152 $(run-program-prefix) to tst-tables.sh.
28153 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
28154 it to run tst-table-from and tst-table-to.
28155 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28156 Pass it to tst-table.sh.
28157 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28158 $(run-program-prefix) to tst-gettext.sh.
28159 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28160 tst-translit.sh.
28161 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28162 tst-gettext2.sh.
28163 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
28164 to run tst-gettext.
28165 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
28166 to run tst-gettext2.
28167 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
28168 to run tst-translit.
28169 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28170 $(run-program-prefix) to tst-mtrace.sh.
28171 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
28172 to run tst-mtrace.
28173 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28174 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28175 $(rtld-installed-name).
28176 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28177 (rtld_installed_name): Likewise.
28178 (run_program_prefix): New variable. Use it to run wordexp-test.
28179
728e272a
JM
28180 * Makeconfig (ARCH): Remove all definitions.
28181 (machine): Likewise.
28182 [ARCH]: Remove conditional code.
28183 [!objdir]: Give error.
28184 [!objdir] (objpfx): Remove.
28185 [!objdir] (common-objpfx): Likewise.
28186 [!objdir] (common-objdir): Likewise.
28187 * configure.in (config_makefile): Remove. Hardcode Makefile in
28188 AC_CONFIG_FILES call.
28189 * configure: Regenerated.
28190
d528cdcf
JM
28191 [BZ #13888]
28192 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28193 or TMPDIR.
28194 (testout): Likewise.
28195
135948bd
JM
28196 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28197 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28198 $(rtld-installed-name).
28199 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28200 (rtld_installed_name): Likwise.
28201 (runit): Remove function.
28202 (run_getconf): New variable, Use it for running getconf binary.
28203
38c78296
L
282042012-10-18 H.J. Lu <hongjiu.lu@intel.com>
28205
28206 [BZ #14716]
28207 * string/test-memmem.c (check_result): New function.
28208 (do_one_test): Use it.
28209 (check1): New function.
28210 (test_main): Use it.
28211
d077f65f
MT
282122012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
28213
28214 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28215
ced52c71
JM
282162012-10-18 Joseph Myers <joseph@codesourcery.com>
28217
28218 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28219 (_G_LSEEK64): Likewise.
28220 (_G_MMAP64): Likewise.
28221 (_G_FSTAT64): Likewise.
28222 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28223 (_G_LSEEK64): Likewise.
28224 (_G_MMAP64): Likewise.
28225 (_G_FSTAT64): Likewise.
28226 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28227 unconditional. Call __mmap64 directly.
28228 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28229 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
28230 __lseek64 directly.
28231 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28232 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
28233 __mmap64 directly.
28234 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28235 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
28236 __lseek64 directly.
28237 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28238 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
28239 __lseek64 directly.
28240 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28241 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
28242 __lseek64 directly.
28243 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28244 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
28245 __fxstat64 directly.
28246 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28247 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28248 unconditional.
28249 (freopen64) [!_G_OPEN64]: Remove conditional code.
28250 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28251 unconditional.
28252 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28253 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28254 unconditional.
28255 (ftello64) [!_G_LSEEK64]: Remove conditional code.
28256 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28257 unconditional.
28258 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28259 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28260 unconditional.
28261 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28262 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28263 unconditional.
28264 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28265 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28266 unconditional.
28267 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28268 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28269 unconditional.
28270 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28271
b741de23
SP
282722012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28273
28274 [BZ #12140]
28275 * manual/memory.texi (Malloc Tunable Parameters): Add note
28276 about free list pointers overwriting some perturb bytes.
28277 Wording suggested by Roland McGrath.
28278
f9b9d9c9
JM
282792012-10-17 Joseph Myers <joseph@codesourcery.com>
28280
28281 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28282 (lgamma_test): Likewise.
28283 (tgamma_test): Likewise.
28284
172a631a
FW
282852012-10-16 Florian Weimer <fweimer@redhat.com>
28286
28287 [BZ #14700]
28288 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28289 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28290
e9f37252
MK
282912012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
28292
28293 * NEWS: Mention BZ #14716.
28294 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28295 when removing AVAILABLE1_USES_J macro.
28296
d394eb74
L
282972012-10-12 H.J. Lu <hongjiu.lu@intel.com>
28298
28299 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28300 (__bswap_64): __uint64_t for unsigned 64-bit int.
28301
ca38dc17
AS
283022012-10-12 Andreas Schwab <schwab@linux-m68k.org>
28303
28304 * include/string.h (memmem): Declare libc hidden alias.
28305 * string/memmem.c (memmem): Define libc hidden alias.
28306 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28307 __read, __close instead of open, read, close.
28308
9a387d1f
L
283092012-10-11 H.J. Lu <hongjiu.lu@intel.com>
28310
ac49ecaf
L
28311 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28312 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28313 global and hidden.
28314 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28315 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28316 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28317 Likewise.
28318 (__rawmemchr_sse2): Likewise.
28319 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28320 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28321 (__strchr_sse2): Likewise.
28322 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28323 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28324 (__strcasecmp_sse2): Likewise.
28325 (__strncasecmp_sse2): Likewise.
28326 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28327 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28328 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28329 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28330 (__strrchr_sse2): Likewise.
28331 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28332 ifunc-impl-list.c.
28333 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28334 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28335 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28336 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28337 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28338 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28339 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28340 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28341 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28342 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28343 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28344 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28345 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28346 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28347 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28348 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28349 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28350 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28351 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28352 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28353 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28354 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28355 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28356 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28357 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28358 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28359 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28360 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28361 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28362 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28363
b090e8ea
L
28364 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28365 global and hidden.
28366 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28367 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28368 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28369 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28370 Likewise.
28371 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28372 Likewise.
28373 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28374 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28375 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28376 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28377 ifunc-impl-list.c.
28378 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28379 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28380 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28381 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28382 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28383 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28384 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28385 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28386 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28387 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28388 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28389 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28390 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28391 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28392 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28393 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28394 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28395 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28396 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28397 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28398 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28399 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28400 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28401 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28402 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28403 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28404 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28405 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28406 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28407 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28408 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28409 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28410 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28411 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28412 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28413 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28414 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28415 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28416 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28417 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28418 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28419
11dd4af6
L
28420 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28421 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28422 * include/ifunc-impl-list.h: New file.
28423 * misc/ifunc-impl-list.c: Likewise.
28424 * misc/Makefile (routines): Add ifunc-impl-list.
28425 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28426 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
28427 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28428 TEST_NAME]: New variables.
11dd4af6
L
28429 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28430 are defined.
28431 (test_init): Call __libc_ifunc_impl_list to initialize
28432 func_list if TEST_IFUNC and TEST_NAME are defined.
28433
9a387d1f
L
28434 * string/Makefile (strop-tests): Add bcopy and bzero.
28435 * string/test-bcopy.c: New file.
28436 * string/test-bzero.c: Likewise.
28437 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28438 defined.
28439 * string/test-memset.c: Support bzero test if TEST_BZERO is
28440 defined.
28441 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28442 __libc_memmove.
28443 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28444 __libc_memset.
28445 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28446 of memset.
28447
472371b9
JM
284482012-10-10 Joseph Myers <joseph@codesourcery.com>
28449
1e4a9536
JM
28450 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28451 * configure: Regenerated.
28452
d173d12e
JM
28453 * Makeconfig (+link-static-before-libc): Don't include
28454 $(link-static-libc).
28455
472371b9
JM
28456 * libio/libio.h (_IO_pos_t): Remove.
28457
89a3ad0b
AO
284582012-10-10 Alexandre Oliva <aoliva@redhat.com>
28459
28460 * NEWS: Add note about FIPS mode. Wording suggested by Roland
28461 McGrath.
28462
e7451425
AO
284632012-10-10 Alexandre Oliva <aoliva@redhat.com>
28464
28465 * crypt/crypt-entry.c: Include fips-private.h.
28466 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28467 * crypt/md5c-test.c (main): Tolerate disabled MD5.
28468 * sysdeps/unix/sysv/linux/fips-private.h: New file.
28469 * sysdeps/generic/fips-private.h: New file, dummy fallback.
28470
4ba74a35
AO
284712012-10-10 Alexandre Oliva <aoliva@redhat.com>
28472
28473 * crypt/crypt-private.h: Include stdbool.h.
28474 (_ufc_setup_salt_r): Return bool.
28475 * crypt/crypt-entry.c: Include errno.h.
28476 (__crypt_r): Return NULL with EINVAL for bad salt.
28477 * crypt/crypt_util.c (bad_for_salt): New.
28478 (_ufc_setup_salt_r): Check that salt is long enough and within
28479 the specified alphabet.
28480 * crypt/badsalttest.c: New file.
28481 * crypt/Makefile (tests): Add it.
28482 ($(objpfx)badsalttest): New.
28483
f96f1242
MK
284842012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
28485
28486 * NEWS: Add entry for BZ #14602.
28487
0e8e0c1c
JM
284882012-10-09 Joseph Myers <joseph@codesourcery.com>
28489
28490 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28491 type-generic.
28492 * math/libm-test.inc: Update comment listing what functions and
28493 macros are tested.
28494 (isgreater_test): New function.
28495 (isgreaterequal_test): Likewise.
28496 (isless_test): Likewise.
28497 (islessequal_test): Likewise.
28498 (islessgreater_test): Likewise.
28499 (isunordered_test): Likewise.
28500 (main): Call the new functions.
28501
273edc5e
RM
285022012-10-09 Roland McGrath <roland@hack.frob.com>
28503
b8493de0
RM
28504 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28505 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28506 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28507 * sysdeps/i386/configure: Regenerated.
28508 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28509 * sysdeps/mach/configure: Regenerated.
28510 * sysdeps/mach/hurd/configure: Regenerated.
28511 * sysdeps/powerpc/configure: Regenerated.
28512 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28513 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28514 * sysdeps/s390/s390-32/configure: Regenerated.
28515 * sysdeps/s390/s390-64/configure: Regenerated.
28516 * sysdeps/sh/configure: Regenerated.
28517 * sysdeps/sparc/configure: Regenerated.
28518 * sysdeps/unix/sysv/linux/configure: Regenerated.
28519 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28520 * sysdeps/x86_64/configure: Regenerated.
28521
273edc5e
RM
28522 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28523 defined. Don't check if MAP is NULL.
28524
c8450f70
JM
285252012-10-09 Joseph Myers <joseph@codesourcery.com>
28526
28527 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28528 (_G_stat64): Likewise.
28529 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28530 (_G_stat64): Likewise.
28531 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28532 instead of struct _G_stat64.
28533 * libio/fileops.c (mmap_remap_check): Likewise.
28534 (decide_maybe_mmap): Likewise.
28535 (_IO_new_file_seekoff): Likewise.
28536 (_IO_file_stat): Likewise.
28537 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28538 _G_off64_t.
28539 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28540 instead of struct _G_stat64.
28541 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28542
57e605ba
MK
285432012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
28544
28545 [BZ #14602]
28546 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28547 Replace with ...
28548 (CHECK_EOL): New macro.
28549 (two_way_short_needle): Check beginning of haystack for EOL. Use
28550 CHECK_EOL.
28551 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28552 Replace with CHECK_EOL.
28553 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28554 Replace with CHECK_EOL.
28555
ef1bb361
JM
285562012-10-08 Joseph Myers <joseph@codesourcery.com>
28557
28558 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28559 type-generic.
28560 * math/libm-test.inc: Update comment listing what functions and
28561 macros are tested.
28562 (finite_test): New function.
28563 (isinf_test): Likewise.
28564 (isnan_test): Likewise.
28565 (fpclassify_test): Test subnormal input.
28566 (isfinite_test): Likewise.
28567 (isnormal_test): Likewise.
28568 (main): Call the new functions.
28569
55f11534
JN
285702012-10-08 Jonathan Nieder <jrnieder@gmail.com>
28571
28572 [BZ #14660]
28573 * Makerules (%.dynsym): Force C locale when running
28574 $(OBJDUMP) --dynamic-syms.
28575
1ab29350
AS
285762012-10-08 Andreas Schwab <schwab@linux-m68k.org>
28577
28578 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28579 <stdint.h>.
28580
f1ecb7ef
DM
285812012-10-06 David S. Miller <davem@davemloft.net>
28582
28583 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28584 upper 32-bits of the length value in %o2 since we use branch-on-register
28585 tests which consider the entire 64-bit register.
28586
5d41d91a
L
285872012-10-06 H.J. Lu <hongjiu.lu@intel.com>
28588
28589 * string/test-strstr.c (check2): Add a test for page boundary.
28590
3baddb72
DM
285912012-10-05 David S. Miller <davem@davemloft.net>
28592
28593 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28594 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28595 file.
28596 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28597 sysdep_routines.
28598 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28599 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28600 and bzero when HWCAP_SPARC_CRYPTO is present.
28601
9cee5585
L
286022012-10-05 H.J. Lu <hongjiu.lu@intel.com>
28603
d7e0dab9
L
28604 [BZ #14602]
28605 * string/test-strstr.c (check2): New function.
28606 (test_main): Call check2.
28607
03759f47
L
28608 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28609 and bug-strchr1.
28610 * string/bug-strcasestr1.c (do_test): Moved to ...
28611 * string/test-strcasestr.c (check1): Here. New function.
28612 (do_one_test): Break out result checking code into ...
28613 (check_result): This. New function.
28614 (do_one_test): Call check_result.
28615 (test_main): Call check1.
28616 * string/bug-strchr1.c (do_test): Moved to ...
28617 * string/test-strchr.c (check1): Here. New function.
28618 (do_one_test): Break out result checking code into ...
28619 (check_result): This. New function.
28620 (do_one_test): Call check_result.
28621 (test_main): Call check1.
28622 * string/bug-strstr1.c (main): Moved to ...
046f153e 28623 * string/test-strstr.c (check1): Here. New function.
03759f47
L
28624 (do_one_test): Break out result checking code into ...
28625 (check_result): This. New function.
28626 (do_one_test): Call check_result.
28627 (test_main): Call check1.
28628 * string/bug-strcasestr1.c: Removed.
28629 * string/bug-strchr1.c: Likewise.
28630 * string/bug-strstr1.c: Likewise.
28631
53cea63e
L
28632 * elf/Makefile (dl-routines): Add hwcaps.
28633 * elf/dl-support.c (_dl_important_hwcaps): Removed.
28634 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28635 (_dl_important_hwcaps): Moved to ...
28636 * elf/dl-hwcaps.c: Here. New file.
28637 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28638
9cee5585 28639 [BZ #14557]
bb859b06
L
28640 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28641 if IS_IN_rtld isn't defined.
28642
9cee5585
L
28643 * elf/dl-support.c (_dl_sysinfo_map): New.
28644 Include "get-dynamic-info.h" and "setup-vdso.h".
28645 (_dl_non_dynamic_init): Call setup_vdso.
28646 * elf/dynamic-link.h: Don't include <assert.h>.
28647 (elf_get_dynamic_info): Moved to ...
28648 * elf/get-dynamic-info.h: Here. New file.
28649 * elf/dynamic-link.h: Include "get-dynamic-info.h".
28650 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28651 * elf/setup-vdso.h: Here. New file.
28652 * elf/rtld.c: Include "setup-vdso.h".
28653 (dl_main): Call setup_vdso.
28654
23c31b76
JM
286552012-10-05 Joseph Myers <joseph@codesourcery.com>
28656
28234b07
JM
28657 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28658 creal in comment listing functions tested. List finite, isinf,
28659 isnan, isless, islessequal, isgreater, isgreaterequal,
28660 islessgreater, isunordered, lgamma_r and pow10 as functions and
28661 macros not tested. Mention which functions not tested are aliases
28662 for other functions. Fix typo. Note that signs of NaNs are not
28663 tested.
28664
23c31b76
JM
28665 * scripts/config.guess: Update from config.git.
28666 * scripts/config.sub: Likewise.
28667
9043e228
RM
286682012-10-04 Roland McGrath <roland@hack.frob.com>
28669
28670 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28671 * misc/madvise.c (madvise): Renamed to __madvise.
28672 Make madvise a weak alias.
28673 * include/sys/mman.h: Declare __madvise.
28674 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28675 * sysdeps/unix/syscalls.list
28676 (madvise): Make __madvise the strong name, and madvise a weak alias.
28677 * sysdeps/unix/sysv/linux/syscalls.list
28678 (madvise, mmap): Remove redundant entries.
28679 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28680 * malloc/malloc.c (mtrim): Likewise.
28681 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28682
f57f8055
RM
286832012-10-03 Roland McGrath <roland@hack.frob.com>
28684
28685 * sysdeps/mach/hurd/dl-cache.c: File removed.
28686 * config.h.in (USE_LDCONFIG): New #undef.
28687 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28688 * configure: Regenerated.
28689 * elf/Makefile (dl-routines): Add dl-cache only under
28690 [$(use-ldconfig) = yes].
28691 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28692 cache on [USE_LDCONFIG].
28693 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28694 [USE_LDCONFIG].
28695 * elf/rtld.c (dl_main): Likewise.
28696
5bb0c10a
PT
286972012-10-03 Pino Toscano <toscano.pino@tiscali.it>
28698
28699 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28700 _SC_LEVEL4_CACHE_LINESIZE.
28701
010188c6
RM
287022012-10-03 Roland McGrath <roland@hack.frob.com>
28703
28704 * sysdeps/unix/bsd/confstr.h: File removed.
28705
b6c5ec07
AO
287062012-10-02 Alexandre Oliva <aoliva@redhat.com>
28707
28708 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28709 sys/sdt-config.h.
28710
408223d4
RM
287112012-10-02 Roland McGrath <roland@hack.frob.com>
28712
28713 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28714 Make 'mapoff' field ElfW(Off) rather than off_t.
28715
bb9510dc
DL
287162012-10-02 Dmitry V. Levin <ldv@altlinux.org>
28717
fc997c6e
DL
28718 * nscd/Makefile: Remove nscd-cflags and all its users.
28719 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28720 (CFLAGS-nonlib): Add compiler flags for nscd modules.
28721
bb9510dc
DL
28722 [BZ #10631]
28723 * malloc.c (malloc_printerr): Clarify error message.
28724
05699367
L
287252012-10-02 H.J. Lu <hongjiu.lu@intel.com>
28726
28727 [BZ #14648]
28728 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28729 Set bit_FMA_Usable if FMA is supported.
28730 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28731 macro.
28732 (bit_FMA4_Usable): Updated.
28733 (index_FMA_Usable): New macro.
28734 (CPUID_FMA): Likewise
28735 (HAS_FMA): Defined with bit_FMA_Usable.
28736
51367701
RM
287372012-10-01 Roland McGrath <roland@hack.frob.com>
28738
28739 * bits/types.h (__swblk_t): Type removed.
28740 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28741 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28742 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28743 (__SWBLK_T_TYPE): Likewise.
28744 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28745 (__SWBLK_T_TYPE): Likewise.
28746 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28747 (__SWBLK_T_TYPE): Likewise.
28748 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28749 (__SWBLK_T_TYPE): Likewise.
28750
4d57bf63 287512012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 28752 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
28753
28754 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28755 (xdr_mapname): Use YPMAXMAP as maxsize.
28756 (xdr_peername): Use YPMAXPEER as maxsize.
28757 (xdr_keydat): Use YPAXRECORD as maxsize.
28758 (xdr_valdat): Use YPMAXRECORD as maxsize.
28759
93c65d43
RM
287602012-10-01 Roland McGrath <roland@hack.frob.com>
28761
497a03d6
RM
28762 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28763
93c65d43
RM
28764 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28765 * csu/init-first.c: ... here.
28766 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28767 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28768 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28769 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28770 * sysdeps/i386/init-first.c: File removed.
28771 * sysdeps/sh/init-first.c: File removed.
28772
bec749fd
JM
287732012-10-01 Joseph Myers <joseph@codesourcery.com>
28774
28775 [BZ #14645]
28776 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28777 if x * y might underflow to zero and z is zero.
28778 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28779 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28780 * math/libm-test.inc (min_subnorm_value): New variable.
28781 (fma_test): Add more tests.
28782 (fma_test_towardzero): Likewise.
28783 (fma_test_downward): Likewise
28784 (fma_test_upward): Likewise.
28785 (initialize): Set min_subnorm_value.
28786
8ec5b013
JM
287872012-09-29 Joseph Myers <joseph@codesourcery.com>
28788
28789 [BZ #14638]
28790 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28791 0 + 0.
28792 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28793 mode for addition resulting in exact zero.
28794 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28795 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28796 exact 0 + 0.
28797 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28798 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28799 * math/libm-test.inc (fma_test): Add more tests.
28800 (fma_test_towardzero): New function.
28801 (fma_test_downward): Likewise.
28802 (fma_test_upward): Likewise.
28803 (main): Call the new functions.
28804
b1fa802e
DM
288052012-09-28 David S. Miller <davem@davemloft.net>
28806
28807 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28808
d3b9fd9e
RM
288092012-09-28 Roland McGrath <roland@hack.frob.com>
28810
ea4d37b3
RM
28811 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28812 instead of SIGALRM.
28813
ac51c949
RM
28814 * sysdeps/gnu/_G_config.h: Moved to ...
28815 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28816 * sysdeps/mach/hurd/_G_config.h: Moved to ...
28817 * sysdeps/generic/_G_config.h: ... here.
28818
28c195f7
RM
28819 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
28820
848917f9
RM
28821 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28822
6bacf05b
RM
28823 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28824 Conditionalize target on [libnss_test1.so-version].
28825
91363dbb
RM
28826 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28827
cc87f7d8
RM
28828 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28829 (elfobjdir): Move out of conditionals.
28830
b1c608fe
RM
28831 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28832 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28833 (__nss_lookup_function): Conditionalize label remove_from_tree on
28834 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 28835
1d9a6d96
DM
288362012-09-28 David S. Miller <davem@davemloft.net>
28837
28838 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28839 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28840 file.
28841 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28842 sysdep_routines.
28843 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28844 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28845 when HWCAP_SPARC_CRYPTO is present.
28846
72581615
PT
288472012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28848
28849 * io/tst-mknodat.c: Create a FIFO instead of a socket.
28850
715a900c
JL
288512012-09-28 Andreas Schwab <schwab@linux-m68k.org>
28852
28853 [BZ #6530]
28854 * stdio-common/vfprintf.c (process_string_arg): Revert
28855 2000-07-22 change.
28856
288572011-09-28 Jonathan Nieder <jrnieder@gmail.com>
28858
28859 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28860 for testcase.
28861 * stdio-common/tst-sprintf.c: Include <locale.h>
28862 (main): Test sprintf's handling of incomplete multibyte
28863 characters.
28864
9bac1d86
L
288652012-09-28 H.J. Lu <hongjiu.lu@intel.com>
28866
28867 * elf/dl-runtime.c (VERSYMIDX): Removed.
28868 * elf/dl-version.c (VERSYMIDX): Likewise.
28869 * elf/do-rel.h (VERSYMIDX): Likewise.
28870 (VALIDX): Likewise.
28871 * elf/dynamic-link.h (VERSYMIDX): Likewise.
28872 * elf/rtld.c (VALIDX): Likewise.
28873 (ADDRIDX): Likewise.
9bac1d86
L
28874 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28875 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28876 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
28877 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28878 (VALIDX): Likewise.
28879 (ADDRIDX): Likewise.
9bac1d86 28880
b31606c0
PT
288812012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28882
28883 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28884
11541177
JL
288852012-09-28 Dmitry V. Levin <ldv@altlinux.org>
28886
28887 [BZ #11438]
28888 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28889 to global scope.
28890 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28891 addresses are in the same scope as 192.0.2/24.
28892 * posix/gai.conf: Document new scope table defaults.
28893
adb26fae
SP
288942012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28895
28896 [BZ #5298]
28897 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28898 for ftell. Compute offsets from write pointers instead.
28899 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28900
4573c6b0
SP
289012012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28902
28903 [BZ #14543]
28904 * libio/Makefile (tests): New test case tst-fseek.
28905 * libio/tst-fseek.c: New test case to verify that fseek/ftell
28906 combination works in wide mode.
28907 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28908 state when the external buffer state changes.
28909
aa9bbfe6
DM
289102012-09-27 David S. Miller <davem@davemloft.net>
28911
28912 [BZ #14376]
28913 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28914 pass reloc->r_addend in as the 'high' argument to
28915 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28916
784421e7
DM
28917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28918
c39bc8b8
PT
289192012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28920
28921 * rt/tst-aio2.c: Include <pthread.h>.
28922 * rt/tst-aio3.c: Likewise.
28923
1ccc2399
SE
289242012-09-27 Steve Ellcey <sellcey@mips.com>
28925
28926 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28927
31ed4153
L
289282012-09-27 H.J. Lu <hongjiu.lu@intel.com>
28929
25f5f885
L
28930 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28931 contents on [SHARED].
31ed4153 28932
b7bfe116
MP
289332012-09-26 Marek Polacek <polacek@redhat.com>
28934
28935 [BZ #14530]
28936 [BZ #13741]
28937 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28938 for C++ and GCC <4.3 as well as for non GCC compilers.
28939
43c4edba
MT
289402012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28941
28942 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28943
6a1bf82f
RM
289442012-09-25 Roland McGrath <roland@hack.frob.com>
28945
28946 * Makefile.in (all, install): Declare with .PHONY.
28947 Reported by Michael Hope <michael.hope@linaro.org>.
28948
8ad11b9a
TMQMF
289492012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28950
28951 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28952 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28953 system header.
28954 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28955 Likewise.
28956 (sydep_routines): Add the new and the internal functions.
28957 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28958 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28960 (GLIBC_2.17): Add the new function.
28961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28962 (GLIBC_2.17): Likewise.
28963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28964 (GLIBC_2.17): Likewise.
28965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28966 (GLIBC_2.17): Likewise.
28967 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28968
7e2fca8d
AM
289692012-09-25 Alan Modra <amodra@gmail.com>
28970
28971 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28972 Add release barrier before setting once_control to say
28973 initialisation is done. Add hints on lwarx. Use macro in
28974 place of isync.
28975 (clear_once_control): Add release barrier.
28976
b87c4b24
JM
289772012-09-25 Joseph Myers <joseph@codesourcery.com>
28978
d032e0d2
JM
28979 [BZ #13629]
28980 * math/s_clog.c (__clog): Handle more values close to |z| = 1
28981 specially.
28982 * math/s_clog10.c (__clog10): Likewise.
28983 * math/s_clog10f.c (__clog10f): Likewise.
28984 * math/s_clog10l.c (__clog10l): Likewise.
28985 * math/s_clogf.c (__clogf): Likewise.
28986 * math/s_clogl.c (__clogl): Likewise.
28987 * math/Makefile (libm-calls): Add x2y2m1.
28988 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28989 (__x2y2m1): Likewise.
28990 (__x2y2m1l): Likewise.
28991 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28992 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28993 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28994 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28995 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28996 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28997 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28998 * sysdeps/i386/fpu/libm-test-ulps: Update.
28999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29000
b87c4b24
JM
29001 [BZ #14621]
29002 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29003 int as type of variable DEPTH.
29004 (glob): Use size_t instead of int as type of variables NEWCOUNT
29005 and OLD_PATHC.
29006
6d3bf199
LD
290072012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29008
22bf5c17
LD
29009 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29010 Add s_sincosf-sse2.
29011 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29012 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29013 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29014 macros for using routine as __sincosf_ia32.
29015 Use macro for function declaration and weak_alias.
29016 * sysdeps/i386/fpu/libm-test-ulps: Update.
29017
29018 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29019 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29020
29021 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
29022 subnormal argument.
29023 * math/s_cexpf.c (__cexpf): Likewise.
29024 * math/s_csinf.c (__csinf): Likewise.
29025 * math/s_csinhf.c (__csinhf): Likewise.
29026 * math/s_ctanf.c (__ctanf): Likewise.
29027 * math/s_ctanhf.c (__ctanhf): Likewise.
29028 * math/s_ccosh.c (__ccoshf): Likewise.
29029 * math/s_cexp.c (__cexpl): Likewise.
29030 * math/s_csin.c (__csin): Likewise.
29031 * math/s_csinh.c (__csinh): Likewise.
29032 * math/s_ctan.c (__ctan): Likewise.
29033 * math/s_ctanh.c (ctanh): Likewise.
29034 * math/s_ccoshl.c (__ccoshl): Likewise.
29035 * math/s_cexpl.c (__cexpl): Likewise.
29036 * math/s_csinl.c (__csinl): Likewise.
29037 * math/s_csinhl.c (__csinhl): Likewise.
29038 * math/s_ctanl.c (__ctanl): Likewise.
29039 * math/s_ctanhl.c (__ctanhl): Likewise.
29040
203e5603
JM
290412012-09-25 Joseph Myers <joseph@codesourcery.com>
29042
29043 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29044 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29045 (_IO_off_t): Define to __off_t, not _G_off_t.
29046 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29047 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29048 (_IO_wint_t): Define to wint_t, not _G_wint_t.
29049 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29050 type of __dummy and __dummy2 fields.
29051 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29052 (_G_ssize_t): Likewise.
29053 (_G_off_t): Likewise.
29054 (_G_pid_t): Likewise.
29055 (_G_uid_t): Likewise.
29056 (_G_wchar_t): Likewise.
29057 (_G_wint_t): Likewise.
29058 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29059 (_G_ssize_t): Likewise.
29060 (_G_off_t): Likewise.
29061 (_G_pid_t): Likewise.
29062 (_G_uid_t): Likewise.
29063 (_G_wchar_t): Likewise.
29064 (_G_wint_t): Likewise.
29065 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29066 (_G_ssize_t): Likewise.
29067 (_G_off_t): Likewise.
29068 (_G_pid_t): Likewise.
29069 (_G_uid_t): Likewise.
29070 (_G_wchar_t): Likewise.
29071 (_G_wint_t): Likewise.
29072
9fab36eb
SP
290732012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29074
29075 * malloc/arena.c: Include malloc-sysdep.h.
29076 (shrink_heap): Use check_may_shrink_heap to decide if madvise
29077 is sufficient to shrink the heap or an unmap is needed.
29078 * sysdeps/generic/malloc-sysdep.h: New file. Define
29079 new function check_may_shrink_heap.
29080 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
29081 new function check_may_shrink_heap.
29082
2b4f00d1
SP
290832012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29084
29085 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29086 comments.
29087
9a9028b1
DL
290882012-09-24 Dmitry V. Levin <ldv@altlinux.org>
29089
57c69bef
DL
29090 * catgets/test-gencat.sh: Add "set -e".
29091 * elf/tst-pathopt.sh: Likewise.
29092 * grp/tst_fgetgrent.sh: Likewise.
29093 * iconvdata/run-iconv-test.sh: Likewise.
29094 * intl/tst-gettext.sh: Likewise.
29095 * intl/tst-gettext2.sh: Likewise.
29096 * intl/tst-gettext4.sh: Likewise.
29097 * intl/tst-gettext6.sh: Likewise.
29098 * intl/tst-translit.sh: Likewise.
29099 * io/ftwtest-sh: Likewise.
29100 * libio/test-freopen.sh: Likewise.
29101 * malloc/tst-mtrace.sh: Likewise.
29102 * posix/globtest.sh: Likewise.
29103 * posix/tst-getconf.sh: Likewise.
29104 * posix/wordexp-tst.sh: Likewise.
29105 * stdio-common/tst-printf.sh: Likewise.
29106 * stdio-common/tst-unbputc.sh: Likewise.
29107 * stdlib/tst-fmtmsg.sh: Likewise.
29108 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29109 * catgets/Makefile: Do not specify -e option when running
29110 testsuite shell scripts.
29111 * elf/Makefile: Likewise.
29112 * grp/Makefile: Likewise.
29113 * iconvdata/Makefile: Likewise.
29114 * intl/Makefile: Likewise.
29115 * io/Makefile: Likewise.
29116 * libio/Makefile: Likewise.
29117 * malloc/Makefile: Likewise.
29118 * posix/Makefile: Likewise.
29119 * stdio-common/Makefile: Likewise.
29120 * stdlib/Makefile: Likewise.
29121 * sysdeps/x86_64/Makefile: Likewise.
29122
9a9028b1
DL
29123 * io/ftwtest-sh: Add copyright header.
29124 * posix/globtest.sh: Likewise.
29125 * posix/tst-getconf.sh: Likewise.
29126 * posix/wordexp-tst.sh: Likewise.
29127 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29128
ced6f16e
L
291292012-09-24 H.J. Lu <hongjiu.lu@intel.com>
29130
94b32c39
L
29131 [BZ #13679]
29132 * Makeconfig (+link): Defined as $(+link-static) if
29133 $(build-shared) isn't yes.
29134 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29135 isn't yes.
29136 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29137
189e935b
L
29138 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29139
ced6f16e
L
29140 [BZ #14562]
29141 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29142 new chunk size with MALLOC_ALIGN_MASK.
29143
a9f8e53a
JM
291442012-09-24 Joseph Myers <joseph@codesourcery.com>
29145
29146 [BZ #5044]
29147 * stdio-common/printf_fphex.c: Include <stdbool.h> and
29148 <rounding-mode.h>.
29149 (__printf_fphex): Determine rounding using get_rounding_mode and
29150 round_away.
29151 * stdio-common/tst-printf-round.c (struct hex_test): New
29152 structure.
29153 (hex_tests): New variable.
29154 (test_hex_in_one_mode): New function.
29155 (do_test): Also run tests for hex float output.
29156
43153109
JM
291572012-09-21 Joseph Myers <joseph@codesourcery.com>
29158
29159 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29160 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29161 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29162 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29163 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29164 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29165 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29166 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29167
8a26625d
JM
291682012-09-20 Joseph Myers <joseph@codesourcery.com>
29169
29170 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29171 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29172 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29173 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29174
f3fd569c
DL
291752012-09-19 Dmitry V. Levin <ldv@altlinux.org>
29176
29177 [BZ #14579]
29178 * elf/rtld.c (dl_main): Limit the check for self loading to normal
29179 mode only.
29180 * elf/tst-rtld-load-self.sh: New test.
29181 * elf/Makefile: Run it.
29182
63bbedd4
JM
291832012-09-18 Joseph Myers <joseph@codesourcery.com>
29184
29185 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29186 (tst-writev-ENV): Remove.
29187 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29188
626f8b6a
CM
291892012-09-17 Chris Metcalf <cmetcalf@tilera.com>
29190
29191 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29192
b7aaa4d6
JM
291932012-09-17 Joseph Myers <joseph@codesourcery.com>
29194
29195 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29196 unconditional.
29197 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29198 Likewise.
29199 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29200 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29201 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29202 Likewise.
29203
65513990
L
292042012-09-14 H.J. Lu <hongjiu.lu@intel.com>
29205
29206 [BZ #14587]
29207 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29208 * config.make.in (have-cpp-asm-debuginfo): Removed.
29209 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29210 * configure: Regenerated.
29211
784761be
JM
292122012-09-14 Joseph Myers <joseph@codesourcery.com>
29213
29214 [BZ #5044]
29215 * stdio-common/printf_fp.c: Include <stdbool.h> and
29216 <rounding-mode.h>.
29217 (___printf_fp): Determine rounding using get_rounding_mode and
29218 round_away.
29219 * stdio-common/tst-printf-round.c: New file.
29220 * stdio-common/Makefile (tests): Add tst-printf-round.
29221 (link-libm): New variable.
29222 ($(objpfx)tst-printf-round): Depend in $(link-libm).
29223
9503345f
L
292242012-09-13 H.J. Lu <hongjiu.lu@intel.com>
29225
29226 [BZ #14576]
29227 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29228 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29229 Likewise.
29230 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29231 Likewise.
29232
ad35fc00
JM
292332012-09-13 Joseph Myers <joseph@codesourcery.com>
29234
29235 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29236 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29237 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29238 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29239
6c9b0f68
JM
292402012-09-12 Joseph Myers <joseph@codesourcery.com>
29241
29242 [BZ #14518]
29243 * include/rounding-mode.h: New file.
29244 * sysdeps/generic/get-rounding-mode.h: Likewise.
29245 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29246 * stdlib/strtod_l.c: Include <rounding-mode.h>.
29247 (MAX_VALUE): New macro.
29248 (MIN_VALUE): Likewise.
29249 (overflow_value): New function.
29250 (underflow_value): Likewise.
29251 (round_and_return): Use overflow_value and underflow_value to
29252 determine return values in overflow and underflow cases. Use
29253 round_away to determine rounding depending on rounding mode.
29254 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29255 determine return values in overflow and underflow cases.
29256 * stdlib/tst-strtod-round.c: Include <fenv.h>.
29257 (struct test_results): New structure.
29258 (struct test): Use struct test_results to store expected results
29259 for all rounding modes.
29260 (TEST): Include expected results for all rounding modes.
29261 (test_in_one_mode): New function.
29262 (do_test): Use test_in_one_mode to compute and check results.
29263 Check results for all rounding modes.
29264 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29265 $(link-libm).
29266
19fcedd5
AM
292672012-12-09 Allan McRae <allan@archlinux.org>
29268
1e9d84cd 29269 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 29270
8bbfd2f1
JM
292712012-09-11 Joseph Myers <joseph@codesourcery.com>
29272
29273 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29274 (_G_int32_t): Likewise.
29275 (_G_uint16_t): Likewise.
29276 (_G_uint32_t): Likewise.
29277 (_G_HAVE_BOOL): Likewise.
29278 (_G_HAVE_ATEXIT): Likewise.
29279 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29280 (_G_HAVE_IO_FILE_OPEN): Likewise.
29281 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29282 (_G_int32_t): Likewise.
29283 (_G_uint16_t): Likewise.
29284 (_G_uint32_t): Likewise.
29285 (_G_HAVE_BOOL): Likewise.
29286 (_G_HAVE_ATEXIT): Likewise.
29287 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29288 (_G_HAVE_IO_FILE_OPEN): Likewise.
29289 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29290 (_G_int32_t): Likewise.
29291 (_G_uint16_t): Likewise.
29292 (_G_uint32_t): Likewise.
29293 (_G_HAVE_BOOL): Likewise.
29294 (_G_HAVE_ATEXIT): Likewise.
29295 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29296 (_G_HAVE_IO_FILE_OPEN): Likewise.
29297
b1dc5912
L
292982012-09-11 H.J. Lu <hongjiu.lu@intel.com>
29299
29300 * csu/libc-tls.c: Update copyright years.
29301
0e886ef9
JM
293022012-09-10 Joseph Myers <joseph@codesourcery.com>
29303
28361c5e
JM
29304 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29305 [!_G_USING_THUNKS]: Remove conditional code.
29306 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29307 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29308
0e886ef9
JM
29309 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29310 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29311 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29312 (_G_VTABLE_LABEL_PREFIX): Likewise.
29313 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29314 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29315 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29316 (_G_VTABLE_LABEL_PREFIX): Likewise.
29317 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29318 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29319 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29320 (_G_VTABLE_LABEL_PREFIX): Likewise.
29321 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29322
bcba7aa2
L
293232012-09-10 H.J. Lu <hongjiu.lu@intel.com>
29324
29325 * libio/Makefile: Include ../Makeconfig before tests.
29326 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29327 only if $(build-shared) is yes.
29328
06585ee8
L
29329 * iconv/gconv_db.c: Update copyright years.
29330
80ccd52c
LD
293312012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29332
29333 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29334 unwind info if defined PIC. Fix special cases description.
29335 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29336
29337 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29338 DP_HI_MASK entry.
29339 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29340
691bc9c1
L
293412012-09-07 H.J. Lu <hongjiu.lu@intel.com>
29342
3d9b46b3
L
29343 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29344
de2139a9
L
29345 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29346 is NULL.
29347
5ca78dd0
L
29348 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29349 (LDLIBS-tst-chk4): This.
29350 (LDFLAGS-tst-chk5): Renamed to ...
29351 (LDLIBS-tst-chk5): This.
29352 (LDFLAGS-tst-chk6): Renamed to ...
29353 (LDLIBS-tst-chk6): This.
29354 (LDFLAGS-tst-lfschk4): Renamed to ...
29355 (LDLIBS-tst-lfschk4): This.
29356 (LDFLAGS-tst-lfschk5): Renamed to ...
29357 (LDLIBS-tst-lfschk5): This.
29358 (LDFLAGS-tst-lfschk6): Renamed to ...
29359 (LDLIBS-tst-lfschk6): This.
29360
691bc9c1
L
29361 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29362 on $(common-objpfx)soversions.mk.
29363
65cafb1c
JM
293642012-09-07 Joseph Myers <joseph@codesourcery.com>
29365
29366 [BZ #10014]
29367 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29368 example host name.
29369
c78ab094
SP
293702012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29371
29372 * malloc/arena.c (arena_get_retry): New function that gets
29373 another arena for the caller to try its request on.
29374 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29375 current arena cannot fulfill the request.
29376 (__libc_memalign): Likewise.
29377 (__libc_memalign): Likewise.
29378 (__libc_pvalloc): Likewise.
29379 (__libc_calloc): Likewise.
29380
01f49f59
JT
293812012-09-05 John Tobey <john.tobey@gmail.com>
29382
29383 [BZ #13542]
29384 * manual/arith.texi (Operations on Complex): Fix description
29385 of carg branch cut.
29386
4c23fed5
JM
293872012-09-06 Joseph Myers <joseph@codesourcery.com>
29388
1d3c8572
JM
29389 [BZ #10014]
29390 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29391 host name.
29392
4c23fed5
JM
29393 [BZ #10038]
29394 * manual/memory.texi (Memory): Make order of menu items match
29395 order of sections.
29396
04570aaa
L
293972012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29398
29399 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29400 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
29401 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29402
b80af2f4
L
294032012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29404
29405 * csu/libc-tls.c (static_dtv): Renamed to ...
29406 (_dl_static_dtv): This. Make it global.
29407 (_dl_initial_dtv): Removed.
29408 (__libc_setup_tls): Updated.
29409 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29410 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29411 DL_INITIAL_DTV.
29412
2abe9f15
PM
294132012-09-06 Petr Machata <pmachata@redhat.com>
29414
29415 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29416 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29417 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29418 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29419
0948c3af
L
294202012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29421
29422 [BZ #14545]
29423 * csu/libc-tls.c (_dl_initial_dtv): New variable.
29424 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29425 freeing dtv[-1].
29426
a5055ad1
L
294272012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29428
29429 [BZ #14544]
29430 * Makeconfig (link-static-before-libc): Replace $(+prector)
29431 with $(+prectorT).
29432 (link-static-after-libc): Replace $(+postctor) with
29433 $(+postctorT).
29434 (link-bounded): Replace $(+prector)/$(+postctor) with
29435 $(+prectorT)/$(+postctorT).
29436 (+prectorT): New macro.
29437 (+postctorT): Likewise.
29438
ed8c2ecd
JM
294392012-09-06 Joseph Myers <joseph@codesourcery.com>
29440
29441 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29442 (round_str): Handle values above the maximum for IBM long double
29443 as inexact.
29444 * stdlib/tst-strtod-round.c (tests): Regenerated.
29445
14c996c8
AK
294462012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29447
29448 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29449 assembler flag.
29450 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29451 zarch_nohighgprs around the zarch optimized routines.
29452 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29453 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29454 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29455 for zarch.
29456
430d6ce6
DM
294572012-09-05 David S. Miller <davem@davemloft.net>
29458
29459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29460
57f41c40
AS
29461 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29462 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
29463 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29464 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29465 entries.
29466
24d4e01b
AO
294672012-09-05 Alexandre Oliva <aoliva@redhat.com>
29468
29469 * malloc/arena.c: Fold copyright years.
29470 * malloc/mcheck.c, malloc/memusage.c: Likewise.
29471
61d58174
AO
294722012-09-05 Alexandre Oliva <aoliva@redhat.com>
29473
29474 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29475
20196a5e
AO
294762012-09-05 Alexandre Oliva <aoliva@redhat.com>
29477
29478 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
29479
5c447383
AO
294802012-09-05 Alexandre Oliva <aoliva@redhat.com>
29481
29482 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29483 change internal state upon failure.
29484
fad64255
AO
294852012-09-05 Alexandre Oliva <aoliva@redhat.com>
29486
29487 * malloc/mcheck.c (mcheck_check_all): Fix typo.
29488 * malloc/memusage.c (mmap): Likewise.
29489 (mmap64, mremap): Likewise. Adjust name in comment.
29490
1ffb8c90
SP
294912012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29492
29493 * libio/fileops.c: Fix typos in comments.
29494 * libio/oldfileops.c: Likewise.
29495 * libio/wfileops.c: Likewise.
29496
6ef9cc37
SP
294972012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29498
29499 [BZ #1349]
29500 * malloc/Makefile (tests): Add tst-malloc-usable test case.
29501 (tst-malloc-usable-ENV): Set environment for test case.
29502 * malloc/hooks.c (malloc_check_get_size): New function to get
29503 requested size.
29504 * malloc/malloc.c (musable): Use malloc_check_get_size.
29505 * malloc/tst-malloc-usable.c: New test case.
29506
4d038ae3
AS
295072012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29508
29509 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29510
c4e85184
AM
295112012-09-05 Allan McRae <allan@archlinux.org>
29512
b9dafc56 29513 [BZ #13966]
c4e85184
AM
29514 * configure.in (CXX_SYSINCLUDES): Use compiler output to
29515 determine header location.
29516 * configure: Regenerated.
29517
e1343020
AS
295182012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29519
29520 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29521 float format.
29522 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
29523 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29524 format.
e1343020
AS
29525 (test): Regenerate.
29526
0a9f1987
DM
295272012-09-04 David S. Miller <davem@davemloft.net>
29528
29529 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29530 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29531 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29532
29237804
FW
295332012-09-04 Florian Weimer <fweimer@redhat.com>
29534
29535 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29536 failures.
29537
edb3cb88
FW
29538 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29539
60160d83
JM
295402012-09-04 Joseph Myers <joseph@codesourcery.com>
29541
29542 [BZ #9914]
29543 * libio/iogetdelim.c: Include <limits.h>.
29544 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29545 + len + 1 would overflow.
29546
bcd6c8dc
AJ
295472012-09-03 Andreas Jaeger <aj@suse.de>
29548
29549 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29550 * sysdeps/i386/fpu/libm-test-ulps: Update.
29551
4ffffbd2
LD
295522012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29553
29554 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29555 Add s_sinf-sse2, s_conf-sse2.
29556
29557 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29558 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29559 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29560 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29561
29562 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29563 for using routine as __sinf_ia32.
29564 Use macro for function declaration and weak_alias.
29565 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29566 for using routine as __cosf_ia32.
29567 Use macro for function declaration and weak_alias.
29568
29569 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29570 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29571
29572 * sysdeps/x86_64/fpu/s_sinf.S: New file.
29573 * sysdeps/x86_64/fpu/s_cosf.S: New file.
29574 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29575
29576 * math/libm-test.inc (cos_test): Add more test cases.
29577 (sin_test): Likewise.
29578 (sincos_test): Likewise.
29579
511fa286
AK
295802012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29581
29582 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29583 (IFUNC_RESOLVE): Make pointers to the specialized implementations
29584 hidden.
29585 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29586
5f30cfec
L
295872012-09-02 H.J. Lu <hongjiu.lu@intel.com>
29588
29589 [BZ #14538]
29590 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29591 first element of the GOT.
29592 (elf_machine_load_address): Return the difference between
29593 the runtime address of _DYNAMIC and elf_machine_dynamic ().
29594
0786794f
AM
295952012-09-01 Allan McRae <allan@archlinux.org>
29596
5f30cfec
L
29597 [BZ #13412]
29598 * configure.in (AWK): Require gawk version 3.0 or later.
29599 * configure: Regenerated.
0786794f 29600
26889eac
JM
296012012-09-01 Joseph Myers <joseph@codesourcery.com>
29602
29603 * sysdeps/unix/sysv/linux/kernel-features.h
29604 (__ASSUME_POSIX_CPU_TIMERS): Remove.
29605 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29606 [__NR_clock_getres]: Make code unconditional.
29607 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29608 (clock_getcpuclockid): Remove code left unreachable by removal of
29609 conditionals.
29610 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29611 code unconditional.
29612 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29613 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29614 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29615 Make code unconditional.
29616 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29617 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29618 * sysdeps/unix/sysv/linux/clock_settime.c
29619 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29620 conditional code.
29621 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29622 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29623
d22e28b0
L
296242012-08-29 H.J. Lu <hongjiu.lu@intel.com>
29625
29626 [BZ #14476]
29627 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29628 scripts/test-installation.pl.
29629
29630 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29631 and $ld_so_version if it is set.
29632
050af9c4
SP
296332012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29634
29635 [BZ #14516]
29636 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29637 failure if reading from procfs failed.
29638 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29639
ad845c0b
JM
296402012-08-27 Joseph Myers <joseph@codesourcery.com>
29641
29642 * sysdeps/unix/sysv/linux/kernel-features.h
29643 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29644 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29645 Remove conditional code.
29646 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29647 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29648 Remove conditional code.
29649 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29650 * sysdeps/unix/sysv/linux/i386/fxstat.c
29651 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29652 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29653 * sysdeps/unix/sysv/linux/i386/fxstatat.c
29654 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29655 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29656 * sysdeps/unix/sysv/linux/i386/lxstat.c
29657 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29658 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29659 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29660 Remove conditional code.
29661 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29662 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29663 Remove conditional code.
29664 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29665 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29666 <kernel-features.h>.
29667 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29668 Remove.
29669 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29670 Remove conditional code.
29671 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29672 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29673 Remove conditional.
29674
5dbf56af
MF
296752012-08-27 Mike Frysinger <vapier@gentoo.org>
29676
29677 [BZ #5400]
29678 * NEWS: Add fixed bug number.
29679
d6e70f43
JM
296802012-08-27 Joseph Myers <joseph@codesourcery.com>
29681
7efb4737
JM
29682 [BZ #14519]
29683 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29684 underflowing exponent in case of negative sign.
29685 * stdlib/tst-strtod-round-data: Add more tests.
29686 * stdlib/tst-strtod-round.c (tests): Regenerated.
29687
af92131a
JM
29688 [BZ #3479]
29689 * stdlib/strtod_l.c (NDIG): Remove.
29690 (HEXNDIG): Likewise.
29691 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29692 smallest representable value.
29693 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29694 lie within an exact representation of 1/2 ulp of the result.
29695 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29696 unconditionally.
29697 (TENS_P9_IDX): Define unconditionally.
29698 (TENS_P9_SIZE): Likewise.
29699 (TENS_P10_IDX): Likewise.
29700 (TENS_P10_SIZE): Likewise.
29701 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29702 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29703 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29704 entries for 10^2^13 and 10^2^14.
29705 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29706 (TENS_P13_IDX): Define.
29707 (TENS_P13_SIZE): Likewise.
29708 (TENS_P14_IDX): Likewise.
29709 (TENS_P14_SIZE): Likewise.
29710 (_fpioconst_pow10): Change array size to
29711 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
29712 unconditional.
29713 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29714 1024]: Add entries for 10^2^13 and 10^2^14.
29715 [LAST_POW10 > _LAST_POW10]: Remove #error.
29716 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29717 (_fpioconst_pow10): Change array size to
29718 FPIOCONST_POW10_ARRAY_SIZE.
29719 * stdlib/gen-fpioconst.c: New file.
29720 * stdlib/gen-tst-strtod-round.c: Likewise.
29721 * stdlib/tst-strtod-round-data: Likewise.
29722 * stdlib/tst-strtod-round.c: Likewise.
29723 * stdlib/Makefile (tests): Add tst-strtod-round.
29724
d6e70f43
JM
29725 [BZ #14459]
29726 * stdlib/strtod_l.c: Include <stdint.h>.
29727 (NDEBUG): Do not define.
29728 (round_and_return): Change EXPONENT parameter to type intmax_t.
29729 Rearrange calculations to avoid internal overflow possibilities.
29730 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29731 Rearrange calculations to avoid internal overflow possibilities.
29732 Assert that number fits inside MPNSIZE limbs.
29733 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29734 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
29735 calculations and add assertions to avoid internal overflow
29736 possibilities. Add casts to avoid signed/unsigned operations.
29737 * stdlib/tst-strtod-overflow.c: New file.
29738 * stdlib/Makefile (tests): Add tst-strtod-overflow.
29739
1f529f7d
MP
297402012-08-25 Marek Polacek <polacek@redhat.com>
29741
29742 * time/time.h: Fix some typos in comments.
29743
59a629f1
RM
297442012-08-23 Roland McGrath <roland@hack.frob.com>
29745
29746 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29747 * posix/tst-rfc3484-2.c: Likewise.
29748 * posix/tst-rfc3484-3.c: Likewise.
29749
d3bafbc9
SM
297502012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
29751
29752 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29753 (EF_ARM_ABI_FLOAT_HARD): Likewise.
29754
4efcc022
JM
297552012-08-23 Joseph Myers <joseph@codesourcery.com>
29756
29757 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29758 #include of fxstatat64.c.
29759
3cc3ef96
RM
297602012-08-22 Roland McGrath <roland@hack.frob.com>
29761
f04e2132
RM
29762 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29763 * shadow/getspent_r.c: Likewise.
29764 * shadow/getspnam.c: Likewise.
29765 * shadow/getspnam_r.c: Likewise.
29766 * gshadow/getsgent.c: Likewise.
29767 * gshadow/getsgent_r.c: Likewise.
29768 * gshadow/getsgnam.c: Likewise.
29769 * gshadow/getsgnam_r.c: Likewise.
29770 * inet/getnetbyad.c: Likewise.
29771 * inet/getnetbyad_r.c: Likewise.
29772 * inet/getnetbynm.c: Likewise.
29773 * inet/getnetbynm_r.c: Likewise.
29774 * inet/getnetent.c: Likewise.
29775 * inet/getnetent_r.c: Likewise.
29776 * inet/getproto.c: Likewise.
29777 * inet/getproto_r.c: Likewise.
29778 * inet/getprtent.c: Likewise.
29779 * inet/getprtent_r.c: Likewise.
29780 * inet/getprtname.c: Likewise.
29781 * inet/getprtname_r.c: Likewise.
29782 * inet/getrpcbyname.c: Likewise.
29783 * inet/getrpcbyname_r.c: Likewise.
29784 * inet/getrpcbynumber.c: Likewise.
29785 * inet/getrpcbynumber_r.c: Likewise.
29786 * inet/getrpcent.c: Likewise.
29787 * inet/getrpcent_r.c: Likewise.
29788 * inet/getaliasent.c: Likewise.
29789 * inet/getaliasent_r.c: Likewise.
29790 * inet/getaliasname.c: Likewise.
29791 * inet/getaliasname_r.c: Likewise.
29792 * nscd/getgrgid_r.c: Likewise.
29793 * nscd/getgrnam_r.c: Likewise.
29794 * nscd/gethstbyad_r.c: Likewise.
29795 * nscd/gethstbynm3_r.c: Likewise.
29796 * nscd/getpwnam_r.c: Likewise.
29797 * nscd/getpwuid_r.c: Likewise.
29798 * nscd/getsrvbynm_r.c: Likewise.
29799 * nscd/getsrvbypt_r.c: Likewise.
29800 * nscd/gai.c: Likewise.
29801
c53d909c
RM
29802 * configure.in (build_nscd): New substituted variable, set
29803 by --disable-build-nscd and defaults to $use_nscd.
29804 * configure: Regenerated.
29805 * config.make.in (build-nscd): New substituted variable.
29806 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29807 Change conditional to require [$(build-nscd) = yes] as well.
29808 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29809
3cc3ef96
RM
29810 [BZ# 13696]
29811 * configure.in (use_nscd): New substituted variable, set by
29812 --disable-nscd. If enabled, define USE_NSCD.
29813 * configure: Regenerated.
29814 * config.h.in: Add USE_NSCD.
29815 * config.make.in (use-nscd): New substituted variable.
29816 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29817 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29818 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29819 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29820 (CFLAGS-getgrnam_r.c): Likewise.
29821 (CFLAGS-initgroups.c): Likewise.
29822 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29823 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29824 Variables removed.
29825 * inet/getnetgrent_r.c
29826 (nscd_setnetgrent): New function, broken out of ...
29827 (setnetgrent): ... here. Call it.
29828 (innetgr): Conditionalize nscd bits on [USE_NSCD].
29829 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29830 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29831 * nscd/Makefile (routines, aux): Move definitions after include of
29832 Makeconfig. Conditionalize on [$(use-nscd) != no].
29833 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29834 Conditionalize on [USE_NSCD].
29835 (is_nscd, nscd_init_cb): Likewise.
29836 (nss_load_library): Conditionalize init callback on [USE_NSCD].
29837 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29838 * nss/nss_db/db-init.c: Likewise.
29839 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29840 [USE_NSCD].
29841 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29842 (make_request): Use it.
29843 (cache_valid_p): New function.
29844 (__check_pf): Use it.
29845 * NEWS: Add item for --disable-nscd.
29846
07e51550
DL
298472012-08-22 Dmitry V. Levin <ldv@altlinux.org>
29848
29849 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29850 to support sed >= 4.2.1-20-ga9bf076.
29851 * configure: Regenerated.
29852
35a5b08b
RM
298532012-08-22 Roland McGrath <roland@hack.frob.com>
29854
29855 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29856 Conditionalize whole body on [IREL].
29857
8479f23a
JL
298582012-08-22 Jeff Law <law@redhat.com>
29859
29860 [BZ #14505]
29861 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29862 if the family is PF_UNSPEC.
29863
48da0b21
MF
298642012-08-22 Mike Frysinger <vapier@gentoo.org>
29865
29866 * Makerules (lib-version): Rename from V.
29867 (install-lib-nosubdir): Change V to lib-version.
29868
15d0da8c
WS
298692012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
29870
29871 [BZ #14252]
29872 * powerpc32/power6/wcschr.c: New file.
29873 * powerpc32/power6/wcscpy.c: New file.
29874 * powerpc32/power6/wcsrchr.c: New file.
29875 * powerpc64/power6/wcschr.c: New file.
29876 * powerpc64/power6/wcscpy.c: New file.
29877 * powerpc64/power6/wcsrchr.c: New file.
29878
bcca0895
MK
298792012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29880
29881 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29882 (two_way_short_needle): Use it.
5a4aaa33
RM
29883 * string/strstr.c (AVAILABLE1_USES_J): Define.
29884 * string/strcasestr.c: Likewise.
99677e57
MK
29885
29886 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29887 array references.
29888 * string/strcasestr.c (TOLOWER): Make side-effect safe.
29889
400726de
MK
29890 [BZ #11607]
29891 * NEWS: Add an entry.
29892 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29893 define their defaults.
29894 (two_way_short_needle): Detect end-of-string on-the-fly.
29895 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29896 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29897 * string/bug-strcasestr1.c: New test.
29898 * string/Makefile: Run it.
29899
20a71f2c
MK
299002012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29901
29902 [BZ #11607]
29903 * string/str-two-way.h (two_way_short_needle): Optimize matching of
29904 the first character.
29905
21ad0558
RM
299062012-08-21 Roland McGrath <roland@hack.frob.com>
29907
29908 * csu/elf-init.c (__libc_csu_irel): Function removed.
29909 * csu/libc-start.c (apply_irel): New function.
29910 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29911
0e1d9911
JM
299122012-08-21 Joseph Myers <joseph@codesourcery.com>
29913
29914 * sysdeps/unix/sysv/linux/kernel-features.h
29915 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29916 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29917 <kernel-features.h>.
29918 [__NR_fadvise64_64]: Make code unconditional.
29919 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29920 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29921 !__NR_fadvise64_64)]: Likewise.
29922 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29923 !__NR_fadvise64_64))]: Likewise.
29924 [__NR_fadvise64]: Make code unconditional.
29925 [!__NR_fadvise64]: Remove conditional code.
29926 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29927 <kernel-features.h>.
29928 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29929 unconditional.
29930 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29931 conditional code.
29932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29933 not include <kernel-features.h>.
29934 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29935 unconditional.
29936 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29937 conditional code.
29938 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29939 include <kernel-features.h>.
29940 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29941 unconditional.
29942 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29943 conditional code.
29944
14a50c9d
WS
299452012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29946
29947 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29948 slight instruction rearrangements per scrollpipe analysis.
29949 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29950
c0f4faf0
RM
299512012-08-20 Roland McGrath <roland@hack.frob.com>
29952
696da859
RM
29953 * manual/syslog.texi (syslog; vsyslog, closelog):
29954 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29955 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29956
c0f4faf0
RM
29957 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29958 DSOCAPS to match condition on defining it.
29959
348363b2
JM
299602012-08-20 Joseph Myers <joseph@codesourcery.com>
29961
a35cbf28
JM
29962 * sysdeps/unix/sysv/linux/kernel-features.h
29963 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29965 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29966 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29968 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29969 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29971 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29972 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29973
445f7ecd
JM
29974 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29975 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29976
348363b2
JM
29977 * sysdeps/unix/sysv/linux/kernel-features.h
29978 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29979 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29980 unconditional.
29981 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29982 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29983 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29984 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29985 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29986 Make code unconditional.
29987 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29988 (__mmap64) [!__NR_mmap2]: Likewise.
29989 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29990 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29991 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29992 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29993 [__NR_mmap2]: Make code unconditional.
29994 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29995 (__mmap64) [!__NR_mmap2]: Likewise.
29996
bc5bc0e5
AK
299972012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29998
29999 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30000
88d506de
AJ
300012012-08-18 Andreas Jaeger <aj@suse.de>
30002
30003 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30004
493387d2
MF
300052012-08-18 Mike Frysinger <vapier@gentoo.org>
30006
30007 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30008 * include/unistd.h (__have_sock_cloexec): Likewise.
30009 (__have_pipe2): Likewise.
30010 (__have_dup3): Likewise.
30011
a277af22
MF
300122012-08-18 Mike Frysinger <vapier@gentoo.org>
30013
30014 [BZ #9685]
30015 * include/unistd.h (__have_pipe2): Change define into an extern int.
30016 (__have_dup3): Likewise.
30017 * socket/have_sock_cloexec.c: Include fcntl.h.
30018 (__have_pipe2): New variable.
30019 (__have_dup3): Likewise.
30020
fdab8fd3
MF
300212012-08-17 Mike Frysinger <vapier@gentoo.org>
30022
30023 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30024
31035e80
MP
300252012-08-17 Marek Polacek <polacek@redhat.com>
30026
30027 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30028 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30029
3bd9e993
RM
300302012-08-17 Roland McGrath <roland@hack.frob.com>
30031
c91c505f
RM
30032 * configure.in: Add AC_SUBST for sysheaders.
30033 * configure: Regenerated.
30034 * config.make.in (sysheaders): New substituted variable.
30035
7c6f9d53
RM
30036 * sysdeps/unix/mkfifo.c: Moved ...
30037 * sysdeps/posix/mkfifo.c: ... here.
30038 * sysdeps/unix/mkfifoat.c: Moved ...
30039 * sysdeps/posix/mkfifoat.c: ... here.
30040
30041 * sysdeps/unix/utime.c: Moved ...
30042 * sysdeps/posix/utime.c: ... here.
30043
30044 * sysdeps/unix/time.c: Moved ...
30045 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
30046 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30047 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
30048
30049 * sysdeps/unix/nice.c: Moved ...
30050 * sysdeps/posix/nice.c: ... here.
30051
30052 * sysdeps/unix/alarm.c: Moved ...
30053 * sysdeps/posix/alarm.c: ... here.
30054
3bd9e993
RM
30055 * intl/Makefile ($(codeset_mo)): Depend on the input file.
30056
d1f09384
JL
300572012-08-17 Jeff Law <law@redhat.com>
30058
30059 * intl/Makefile (codeset_mo): New variable.
30060 ($(codeset_mo)): New target.
30061 (tst-codeset.out): Depend on that. Remove explicit rule.
30062 (tst-gettext3.out, tst-gettext5.out): Likewise.
30063 (LOCPATH-ENV, tst-codeset-ENV): New variables.
30064 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30065 * intl/tst-codeset.sh: Remove.
30066 * intl/tst-gettext3.sh: Likewise.
30067 * intl/tst-gettext5.sh: Likewise.
30068
2ae1ae5c
RM
300692012-08-17 Roland McGrath <roland@hack.frob.com>
30070
c31fdb83
RM
30071 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
30072 * sysdeps/unix/syscalls.list: ... here.
30073
a0844057
RM
30074 * sysdeps/posix/getaddrinfo.c
30075 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30076 (gaiconf_init, gaiconf_reload): Use them.
30077 [!_STATBUF_ST_NSEC]
30078 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30079 Define using time_t rather than struct timespec.
30080
750c1f2a
RM
30081 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30082 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30083 Macros removed.
30084 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30085 [!NO_THREADS].
30086 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30087 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30088 Likewise.
30089
2ae1ae5c
RM
30090 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30091 __libc_cleanup_push argument.
30092
e66a42f5
RM
30093 * bits/param.h: New file.
30094 * misc/sys/param.h: New file.
30095 * include/sys/param.h: New file.
30096 * misc/Makefile (headers): Add bits/param.h.
30097 * sysdeps/generic/sys/param.h: File removed.
30098 * sysdeps/unix/sysv/linux/bits/param.h: New file.
30099 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30100 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 30101 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 30102
b7c08a66
RM
30103 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30104 last change.
30105
b2e1c562
RM
30106 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30107 [_IO_MTSAFE_IO].
30108 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30109 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30110 New macros.
30111
c75ccd4c
RM
30112 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30113 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30114 rather than -D_IO_MTSAFE_IO conditionally.
30115 * stdio-common/Makefile (CPPFLAGS): Likewise.
30116 * wcsmbs/Makefile (CPPFLAGS): Likewise.
30117 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30118 Use $(libio-mtsafe).
30119 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30120 of -D_IO_MTSAFE_IO.
30121 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30122 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30123 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30124 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30125 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30126 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30127 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30128 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30129 (CFLAGS-fread_u_chk.c): Likewise.
30130 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30131 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30132 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30133 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30134 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30135 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30136 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30137 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30138 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30139
30140 * libio/Makefile: Test [$(libc-reentrant) = yes]
30141 instead of [$(filter %REENTRANT, $(defines)) nonempty].
30142
30143 * Makeconfig
30144 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30145 * sysdeps/pthread/configure: File removed.
30146 * sysdeps/pthread/Makeconfig: New file.
30147 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30148 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30149
d9195db8
GB
301502012-08-16 Gary Benson <gbenson@redhat.com>
30151
30152 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30153 unmapping the first object in a namespace.
30154
86466cd9
RM
301552012-08-16 Roland McGrath <roland@hack.frob.com>
30156
30157 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30158 (__internal_setnetgrent): ... this. Add internal_function to
30159 definition. Add libc_hidden_def.
30160 (setnetgrent): Update caller.
30161 (internal_endnetgrent): Renamed to ...
30162 (__internal_endnetgrent): ... this. Add internal_function to
30163 definition. Add libc_hidden_def.
30164 (endnetgrent): Update caller.
30165 (internal_getnetgrent_r): Renamed to ...
30166 (__internal_getnetgrent_r): ... this. Add internal_function to
30167 definition. Add libc_hidden_def.
30168 (__getnetgrent_r): Update caller.
30169 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
30170
c3c8283c
JM
301712012-08-16 Joseph Myers <joseph@codesourcery.com>
30172
30173 * stdlib/longlong.h: Update from GCC.
30174
db1ee0a8
RM
301752012-08-16 Roland McGrath <roland@hack.frob.com>
30176
30177 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30178 on _QL, which is set by umul_ppmm but never used.
30179 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30180 variables, which are set by GMP macros but never used.
30181 * stdio-common/_itowa.c (_itowa): Likewise.
30182 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30183 * stdlib/mod_1.c (mpn_mod_1): Likewise.
30184
30f69637
CD
301852012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
30186
30187 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30188 struct La_sh_regs is not constant.
30189 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30190 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30191 and struct La_sparc64_regs are not constant.
30192
93a78ac4
JM
301932012-08-16 Joseph Myers <joseph@codesourcery.com>
30194
30195 * sysdeps/unix/sysv/linux/kernel-features.h
30196 (__ASSUME_POSIX_TIMERS): Remove.
30197 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30198 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30199 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30200 Make code unconditional.
30201 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30202 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30203 Make code unconditional.
30204 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30205 * sysdeps/unix/sysv/linux/clock_nanosleep.c
30206 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30207 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30208 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30209 Make code unconditional.
30210 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30211 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30212 (__libc_missing_posix_timers): Remove.
30213
dd924cd7
RM
302142012-08-15 Roland McGrath <roland@hack.frob.com>
30215
4b4f2771
RM
30216 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30217 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30218
601c888b
RM
30219 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30220
176790a7
RM
30221 * elf/dl-sym.c: Include <stdlib.h>.
30222
329bc018
RM
30223 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30224 constants, which avoids warnings in 32-bit builds.
30225
e04e272d
RM
30226 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30227 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30228
952bf94a
RM
30229 * misc/lseek.c: File moved to ...
30230 * io/lseek.c: ... here.
30231
7c99b50a
RM
30232 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30233
dd924cd7
RM
30234 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30235 shifting LEN more than 31 bits at once.
30236
b3f479a8
LD
302372012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30238
30239 [BZ #14195]
8c4ae0d4
RM
30240 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30241 segmentation fault for a case of two empty input strings.
b3f479a8
LD
30242 * string/test-strncasecmp.c (check1): Renamed to...
30243 (bz12205): ...this.
30244 (bz14195): Add new testcase for two empty input strings and N > 0.
30245 (test_main): Call new testcase, adapt for renamed function.
30246
9c55864e
AJ
302472012-08-15 Andreas Jaeger <aj@suse.de>
30248
30249 [BZ #14090]
30250 * crypt/md5test2.c: New test, based on test supplied by Serge
30251 Belyshev <belyshev@depni.sinp.msu.ru>.
30252 * crypt/Makefile (xtests): Add md5test-giant..
30253 * crypt/Makefile ($(objpfx)md5test-giant): Add.
30254
02dcb6c5
PE
302552012-08-15 Paul Eggert <eggert@cs.ucla.edu>
30256
30257 [BZ #14090]
30258 * crypt/md5.c (md5_process_block): Don't assume the buffer
30259 length is less than 2**32.
30260 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30261 length is less than 2**64.
30262
a3f95dcc
RM
302632012-08-15 Roland McGrath <roland@hack.frob.com>
30264
be75d758
RM
30265 * string/str-two-way.h: Include <sys/param.h>.
30266 (MAX): Macro removed.
30267
7312ca90
RM
30268 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30269 Move #define and #undef of memmove to just before and after
30270 including <string.h>.
30271
9a0a5486
RM
30272 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30273 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30274 and after including <string.h>. Move declarations of
30275 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30276 to before #include "string/memmove.c".
30277
67cc348d
RM
30278 * include/dirent.h: Declare __getdirentries.
30279
a3f95dcc
RM
30280 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30281 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30282
ca98e171
MF
302832012-08-14 Mike Frysinger <vapier@gentoo.org>
30284
30285 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30286 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30287 * sysdeps/i386/configure: Regenerated.
30288 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30289 STABS_CURRENT_FILE, and STABS_FUN.
30290 (END): Remove call to STABS_FUN_END.
30291 (STABS_CURRENT_FILE1): Delete.
30292 (STABS_CURRENT_FILE): Likewise.
30293 (STABS_FUN): Likewise.
30294 (STABS_FUN_END): Likewise.
30295 (STABS_FUN2): Likewise.
30296 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30297 * sysdeps/x86_64/configure: Regenerated.
30298
5908bf46
RM
302992012-08-14 Roland McGrath <roland@hack.frob.com>
30300
30301 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 30302 * elf/dl-lookup.c: Likewise.
5908bf46 30303
f2c05b9e
JM
303042012-08-14 Joseph Myers <joseph@codesourcery.com>
30305
30306 * sysdeps/unix/sysv/linux/kernel-features.h
30307 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30308 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30309 unconditionally.
30310 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30311 unconditionally.
30312 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30313 condition on __ASSUME_CLONE_THREAD_FLAGS.
30314
e11f5155
AJ
303152012-08-14 Andreas Jaeger <aj@suse.de>
30316
30317 * sysdeps/i386/fpu/libm-test-ulps: Update.
30318
51a9ba86
MK
303192012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
30320
2fdd4f78
AJ
30321 * include/atomic.h (atomic_exchange_and_add): Split into ...
30322 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30323 New atomic macros.
51a9ba86 30324
ba6cba9e
MT
303252012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
30326
30327 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30328
42443a47
JL
303292012-08-13 Jeff Law <law@redhat.com>
30330
30331 * manual/stdio.texi (snprintf): Clarify handling of the trailing
30332 null byte in the output string.
30333
121dce05
JM
303342012-08-10 Joseph Myers <joseph@codesourcery.com>
30335
30336 * sysdeps/unix/sysv/linux/kernel-features.h
30337 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30338 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30339 (__ASSUME_ARG_MAX_STACK_BASED): Define.
30340 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30341 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30342 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
30343 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30344
bf51f568
JL
303452012-08-09 Jeff Law <law@redhat.com>
30346
30347 [BZ #13939]
30348 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30349 When avoid_arena is set, don't retry in the that arena. Pick the
30350 next one, whatever it might be.
30351 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30352 (arena_lock): Pass in new parameter to arena_get2.
30353 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30354 arena_get2.
30355 (__libc_malloc): Unify retrying after main arena failure with
30356 __libc_memalign version.
30357 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30358
f85fa270
L
303592012-08-09 H.J. Lu <hongjiu.lu@intel.com>
30360
30361 [BZ #14166]
30362 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30363 to __redirect_strstr.
30364 (__strstr_sse42): Use typeof __redirect_strstr.
30365 (__strstr_ia32): Likewise.
30366 (__libc_strstr): New prototype.
30367 (strstr): Renamed to ...
30368 (__libc_strstr): This.
30369 (strstr): New strong alias of __libc_strstr.
30370 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30371 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30372 __redirect_time.
30373 Include <time.h>.
30374 (__libc_time): New prototype.
30375 (time_ifunc): Replace time with __libc_time.
30376 (time): New strong alias and hidden definition of __libc_time.
30377 (__GI_time): Remove strong alias.
30378 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30379 Include <stddef.h>.
30380 (memmove): Redefined to __redirect_memmove.
30381 (__memmove_sse2): Use typeof __redirect_memmove.
30382 (__memmove_ssse3): Likewise.
30383 (__memmove_ssse3_back): Likewise.
30384 (__libc_memmove): New prototype.
30385 (memmove): Renamed to ...
30386 (__libc_memmove): This.
30387 (memmove): New strong alias of __libc_memmove.
30388
33b4a91e
MS
303892012-08-08 Mark Salter <msalter@redhat.com>
30390
30391 * elf/elf.h
30392 (R_MN10300_TLS_GD): Define.
30393 (R_MN10300_TLS_LD): Likewise.
30394 (R_MN10300_TLS_LDO): Likewise.
30395 (R_MN10300_TLS_GOTIE): Likewise.
30396 (R_MN10300_TLS_IE): Likewise.
30397 (R_MN10300_TLS_LE): Likewise.
30398 (R_MN10300_TLS_DTPMOD): Likewise.
30399 (R_MN10300_TLS_DTPOFF): Likewise.
30400 (R_MN10300_TLS_TPOFF): Likewise.
30401 (R_MN10300_SYM_DIFF): Likewise.
30402 (R_MN10300_ALIGN): Likewise.
30403 (R_MN10300_NUM): Update.
30404
b36137f1
JM
304052012-08-08 Joseph Myers <joseph@codesourcery.com>
30406
30407 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30408 Remove.
30409
cdd915fd
RM
304102012-08-08 Roland McGrath <roland@hack.frob.com>
30411
a2433aac
RM
30412 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30413
cdd915fd
RM
30414 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30415 sysdeps/unix -> sysdeps/posix move.
30416 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30417
bf9b740a
AM
304182012-08-07 Allan McRae <allan@archlinux.org>
30419
30420 [BZ #14303]
30421 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30422 (SUNOS_CPP): Likewise.
30423 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30424 not found.
30425 (open_input): Call CPP using execvp.
30426
93df14ee
JM
304272012-08-07 Joseph Myers <joseph@codesourcery.com>
30428
30429 * sysdeps/unix/sysv/linux/kernel-features.h
30430 (__ASSUME_PROT_GROWSUPDOWN): Remove.
30431 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30432 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30433 (__ASSUME_WAITID_SYSCALL): Likewise.
30434 * sysdeps/unix/sysv/linux/dl-execstack.c
30435 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30436 code unconditional.
30437 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30438 conditional code.
30439 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30440 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30441 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30442 code.
30443 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30444 unconditional.
30445 [__ASSUME_WAITID_SYSCALL]: Likewise.
30446 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30447
d34689de
RM
304482012-08-07 Roland McGrath <roland@hack.frob.com>
30449
a281decc
RM
30450 * sysdeps/unix/closedir.c: Renamed to ...
30451 * sysdeps/posix/closedir.c: ... here.
30452 * sysdeps/unix/dirfd.c: Renamed to ...
30453 * sysdeps/posix/dirfd.c: ... here.
30454 * sysdeps/unix/dirstream.h: Renamed to ...
30455 * sysdeps/posix/dirstream.h: ... here.
30456 * sysdeps/unix/fdopendir.c: Renamed to ...
30457 * sysdeps/posix/fdopendir.c: ... here.
30458 * sysdeps/unix/opendir.c: Renamed to ...
30459 * sysdeps/posix/opendir.c: ... here.
30460 * sysdeps/unix/readdir.c: Renamed to ...
30461 * sysdeps/posix/readdir.c: ... here.
30462 * sysdeps/unix/readdir_r.c: Renamed to ...
30463 * sysdeps/posix/readdir_r.c: ... here.
30464 * sysdeps/unix/rewinddir.c: Renamed to ...
30465 * sysdeps/posix/rewinddir.c: ... here.
30466 * sysdeps/unix/seekdir.c: Renamed to ...
30467 * sysdeps/posix/seekdir.c: ... here.
30468 * sysdeps/unix/telldir.c: Renamed to ...
30469 * sysdeps/posix/telldir.c: ... here.
30470 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30471 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30472 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30473 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30474
22895b47
RM
30475 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30476 * bits/fcntl.h: ... here.
30477
707a53b6
RM
30478 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30479 not 0.
30480 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30481 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30482 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30483 (struct flock): Move l_start, l_len to the beginning.
30484 Use __pid_t for l_pid.
30485 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30486 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30487 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30488 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30489 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30490 [__USE_LARGEFILE64] (struct flock64): New type.
30491 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30492
f0bd3e25
RM
30493 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30494 * bits/dirent.h: ... here.
30495
d34689de
RM
30496 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30497 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30498
6dad2c06
JM
304992012-08-07 Joseph Myers <joseph@codesourcery.com>
30500
30501 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30502 Change from 2.6.0 to 2.6.16.
30503 * sysdeps/unix/sysv/linux/configure: Regenerated.
30504 * sysdeps/unix/sysv/linux/kernel-features.h
30505 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30506 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30507 version.
30508 (__ASSUME_UTIMES): Likewise.
30509 (__ASSUME_CLONE_STOPPED): Remove.
30510 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30511 architectures, not kernel version.
30512 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30513 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30514 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30515 (__ASSUME_WAITID_SYSCALL): Likewise.
30516 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30517 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30518 * README: State 2.6.16 as minimum Linux kernel version. Do not
30519 refer to older versions.
30520
03af9520
RM
305212012-08-06 Roland McGrath <roland@hack.frob.com>
30522
8e49df1d
RM
30523 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30524 Define alphasort64 as an alias.
30525 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30526 Define versionsort64 as an alias.
30527 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30528 Define scandir64 as an alias.
30529 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30530 Define scandirat64 as an alias.
30531 * dirent/alphasort64.c (alphasort64):
30532 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30533 * dirent/versionsort64.c: Likewise.
30534 * dirent/scandir64.c: Likewise.
30535 * dirent/scandirat64.c: Likewise.
30536 * sysdeps/wordsize-64/alphasort.c: File removed.
30537 * sysdeps/wordsize-64/alphasort64.c: File removed.
30538 * sysdeps/wordsize-64/scandir.c: File removed.
30539 * sysdeps/wordsize-64/scandir64.c: File removed.
30540 * sysdeps/wordsize-64/scandirat.c: File removed.
30541 * sysdeps/wordsize-64/scandirat64.c: File removed.
30542 * sysdeps/wordsize-64/versionsort.c: File removed.
30543 * sysdeps/wordsize-64/versionsort64.c: File removed.
30544 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30545 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30546 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30547 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30548 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30549 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30550 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30551 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30552
30553 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30554 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30555 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30556 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30557 [defined __arch64__ || defined __sparcv9]
30558 (__INO_T_MATCHES_INO64_T): New macro.
30559 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30560 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30561 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30562 * sysdeps/unix/sysv/linux/bits/dirent.h
30563 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30564 (_DIRENT_MATCHES_DIRENT64): New macro.
30565
03af9520
RM
30566 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30567 Define lockf64 as an alias.
30568 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30569 Define fseeko64 as an alias.
30570 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30571 Define ftello64 as an alias.
30572 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30573 Define _IO_fgetpos64 and fgetpos64 as aliases.
30574 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30575 Define _IO_fsetpos64 and fsetpos64 as aliases.
30576 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30577 Conditionalize body on this.
30578 * libio/fseeko64.c: Likewise.
30579 * libio/ftello64.c: Likewise.
30580 * libio/iofgetpos64.c: Likewise.
30581 * libio/iofsetpos64.c: Likewise.
30582 * sysdeps/wordsize-64/lockf.c: File removed.
30583 * sysdeps/wordsize-64/lockf64.c: File removed.
30584 * sysdeps/wordsize-64/fseeko.c: File removed.
30585 * sysdeps/wordsize-64/fseeko64.c: File removed.
30586 * sysdeps/wordsize-64/ftello.c: File removed.
30587 * sysdeps/wordsize-64/ftello64.c: File removed.
30588 * sysdeps/wordsize-64/iofgetpos.c: File removed.
30589 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30590 * sysdeps/wordsize-64/iofsetpos.c: File removed.
30591 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30592 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30593 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30594 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30595 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30596 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30597 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30598 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30599 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30600 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30601 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30602
30603 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30604 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30605 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30606 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30607 [defined __arch64__ || defined __sparcv9]
30608 (__OFF_T_MATCHES_OFF64_T): New macro.
30609 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30610 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30611 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30612 (__OFF_T_MATCHES_OFF64_T): New macro.
30613
c5757acd
L
306142012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30615
30616 * stdlib/secure-getenv.c (__secure_getenv): Replace
30617 GLIBC_2_16 with GLIBC_2_17.
30618
3a31811e
L
306192012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30620
30621 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30622 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30623
faa2bccb
DM
306242012-08-03 David S. Miller <davem@davemloft.net>
30625
30626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30627
85fe1997
JM
306282012-08-03 Joseph Myers <joseph@codesourcery.com>
30629
30630 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30631 Remove.
30632 (__ASSUME_CORRECT_SI_PID): Likewise.
30633 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30634 (__ASSUME_TMPFS_NAME): Likewise.
30635 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30636 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30637 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30638 (HAVE_AUX_SECURE): Make definition unconditional.
30639 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30640 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30641
4f75b7a0
RM
306422012-08-03 Roland McGrath <roland@hack.frob.com>
30643
30644 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30645 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30646 * sysdeps/mach/hurd/eloop-threshold.h: New file.
30647 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30648 __eloop_threshold instead of SYMLOOP_MAX.
30649
30650 * sysdeps/generic/eloop-threshold.h: New file.
30651 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30652 of MAXSYMLINKS.
30653 * elf/chroot_canon.c (chroot_canon): Likewise.
30654
7aab07e4
JM
306552012-08-03 Joseph Myers <joseph@codesourcery.com>
30656
30657 [BZ #13717]
30658 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30659 Change to 2.6.0 everywhere.
30660 * sysdeps/unix/sysv/linux/configure: Regenerated.
30661 * sysdeps/unix/sysv/linux/kernel-features.h
30662 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30663 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30664 kernel versions.
30665 (__ASSUME_POSIX_TIMERS): Define unconditionally.
30666 (__ASSUME_FUTEX_REQUEUE): Remove.
30667 (__ASSUME_STATFS64): Define unconditionally.
30668 (__ASSUME_AT_SECURE): Likewise.
30669 (__ASSUME_CORRECT_SI_PID): Likewise.
30670 (__ASSUME_TGKILL): Define without depending on kernel version for
30671 i386.
30672 (__ASSUME_UTIMES): Likewise.
30673 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30674 kernel version.
30675 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30676 (__ASSUME_TMPFS_NAME): Likewise.
30677 * README: Update reference to Linux kernel versions.
30678
b67e9372
MP
306792012-08-02 Marek Polacek <polacek@redhat.com>
30680
1f529f7d 30681 [BZ# 14150]
b67e9372
MP
30682 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
30683 libc_cv_asm_type_prefix with %.
30684 * configure: Regenerated.
d2441631
RM
30685 * include/libc-symbols.h: Remove comment about
30686 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
30687 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30688 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30689 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30690 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30691 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30692 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30693 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30694 * elf/tst-unique2mod1.c: Likewise.
30695 * elf/tst-unique1mod2.c: Likewise.
30696 * elf/tst-unique1mod1.c: Likewise.
30697 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30698 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30699 Replace ASM_TYPE_DIRECTIVE with .type.
30700 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30701 * sysdeps/i386/sysdep.h: Likewise.
30702 * sysdeps/x86_64/sysdep.h: Likewise.
30703 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
30704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30705 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 30706 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
30707 * sysdeps/powerpc/powerpc32/sysdep.h:
30708 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
30709 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30710 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30711 * sysdeps/i386/fpu/e_powf.S: Likewise.
30712 * sysdeps/i386/fpu/e_expl.S: Likewise.
30713 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30714 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30715 * sysdeps/i386/fpu/e_pow.S: Likewise.
30716 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30717 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30718 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30719 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30720 * sysdeps/i386/fpu/e_log2.S: Likewise.
30721 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30722 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30723 * sysdeps/i386/fpu/e_powl.S: Likewise.
30724 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30725 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30726 * sysdeps/i386/fpu/e_logl.S: Likewise.
30727 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30728 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30729 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30730 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30731 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30732 * sysdeps/i386/fpu/e_log.S: Likewise.
30733 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30734 * sysdeps/i386/fpu/e_logf.S: Likewise.
30735 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30736 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30737 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30738 * sysdeps/i386/fpu/e_log10.S: Likewise.
30739 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30740 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30741 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30742 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30743 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30744 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30745 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30746 * sysdeps/i386/i686/strtok.S: Likewise.
30747 * sysdeps/i386/i386-mcount.S: Likewise.
30748 * sysdeps/i386/strtok.S: Likewise.
30749 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30750 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30751 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30752 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30753 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30754 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30755 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30756 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30757 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30758 * sysdeps/x86_64/_mcount.S: Likewise.
30759 * sysdeps/x86_64/strtok.S: Likewise.
30760 * sysdeps/sh/_mcount.S: Likewise.
30761
2747bf9a
RM
307622012-08-01 Roland McGrath <roland@hack.frob.com>
30763
30764 * libio/iofopen.c: Include <fcntl.h>.
30765 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30766 (_IO_fopen64, fopen64): Define as aliases.
30767 * libio/iofopen64.c: Include <fcntl.h>.
30768 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30769 Conditionalize body on this.
30770 * sysdeps/wordsize-64/iofopen.c: File removed.
30771 * sysdeps/wordsize-64/iofopen64.c: File removed.
30772
3fb791b8
MP
307732012-08-01 Marek Polacek <polacek@redhat.com>
30774
30775 * libc/Makeconfig: Use elf in place of binfmt-subdir.
30776 Use dlfcn directly instead of a variable.
30777 (binfmt-subdir): Do not define.
30778 (dlfcn): Likewise.
30779
a9f1039f
JM
307802012-08-01 Joseph Myers <joseph@codesourcery.com>
30781
23bddc06
JM
30782 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30783 Remove all definitions.
30784 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30785 <kernel-features.h>.
30786 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30787 (miss_F_GETOWN_EX): Remove all definitions.
30788 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30789 macro definition.
30790 [!__ASSUME_FCNTL64]: Remove conditional code.
30791 [__ASSUME_FCNTL64]: Make code unconditional.
30792 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30793 <kernel-features.h>.
30794 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30795 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30796 (lockf64) [__NR_fcntl64]: Make code unconditional.
30797 (lockf64) [__ASSUME_FCNTL64]: Likewise.
30798
a9f1039f
JM
30799 * sysdeps/unix/sysv/linux/kernel-features.h
30800 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30801 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30802 Make code unconditional.
30803 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30804 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30806 [__NR_vfork]: Make code unconditional.
30807 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30808 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30810 [__NR_vfork]: Make code unconditional.
30811 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30812 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30813
09c0ee5f
RM
308142012-08-01 Roland McGrath <roland@hack.frob.com>
30815
48aec5b9
RM
30816 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30817 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30818
cd97c966
RM
30819 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30820 Define mkstemp64 as an alias.
3f55550c
RM
30821 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30822 Define mkstemps64 as an alias.
cd97c966
RM
30823 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30824 Define mkostemp64 as an alias.
b8625cfc
RM
30825 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30826 Define mkostemps64 as an alias.
cd97c966
RM
30827 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30828 Conditionalize body on this.
30829 * misc/mkostemp64.c: Likewise.
b8625cfc 30830 * misc/mkostemps64.c: Likewise.
3f55550c 30831 * misc/mkstemps64.c: Likewise.
cd97c966
RM
30832 * sysdeps/wordsize-64/mkstemp64.c: File removed.
30833 * sysdeps/wordsize-64/mkostemp64.c: File removed.
30834 * sysdeps/wordsize-64/mkostemp.c: File removed.
30835 * sysdeps/wordsize-64/mkstemp.c: File removed.
30836 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30837 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30838 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30839 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30840
09c0ee5f
RM
30841 [BZ #14138]
30842 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30843 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30844 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30845 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30846
30847 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30848 compat_symbol macros from <shlib-compat.h> rather than the underlying
30849 default_symbol_version and symbol_version macros, so that DEFAULT
30850 lines in shlib-versions are respected.
30851 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30852
7e66ee51
FW
308532012-08-01 Florian Weimer <fweimer@redhat.com>
30854
30855 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30856 Declare with warn_unused_result.
30857 (setgid, setregid, setegid, setresgid): Likewise.
30858 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30859 Likewise.
30860 * WUR-REPORT: Remove set*id functions.
30861
d2a54255
PT
308622012-07-31 Pino Toscano <toscano.pino@tiscali.it>
30863
30864 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30865
7ecdb005
RM
308662012-07-31 Roland McGrath <roland@hack.frob.com>
30867
b4180a5e 30868 [BZ #10191]
789bd351
RM
30869 * include/sys/socket.h (__libc_accept, __libc_accept4):
30870 Add attribute_hidden.
30871 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30872
40ce302d
RM
30873 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30874 use of PTR_MANGLE.
30875 * inet/getnetgrent_r.c (setup): Likewise.
30876
7ecdb005
RM
30877 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30878
e2eabb2c
DM
308792012-07-31 David S. Miller <davem@davemloft.net>
30880
30881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30882
d0419dbf
JM
308832012-07-31 Joseph Myers <joseph@codesourcery.com>
30884
30885 [BZ #13629]
30886 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30887 value between 1.0 and 2.0 and smaller part has absolute value less
30888 than 1.0.
30889 * math/s_clog10.c (__clog10): Likewise.
30890 * math/s_clog10f.c (__clog10f): Likewise.
30891 * math/s_clog10l.c (__clog10l): Likewise.
30892 * math/s_clogf.c (__clogf): Likewise.
30893 * math/s_clogl.c (__clogl): Likewise.
30894 * math/libm-test.inc (clog_test): Add more tests.
30895 (clog10_test): Likewise.
30896 * sysdeps/i386/fpu/libm-test-ulps: Update.
30897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30898
2bc13872
FW
308992012-07-31 Florian Weimer <fweimer@redhat.com>
30900
30901 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30902 Exit with zero in case no suitable GID is found, and write a
30903 message to standard error.
30904
bea9b193
RM
309052012-07-30 Roland McGrath <roland@hack.frob.com>
30906
30907 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30908 rather than to 1.
30909 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30910 (MAXPATHLEN): Removed.
30911 (NOGROUP, NODEV): New macros.
30912 (setbit, clrbit, isset, isclr): New macros.
30913 (howmany, roundup, powerof2): New macros.
30914 (DEV_BSIZE): New macro.
30915
30916 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30917 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30918
30919 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30920 definition on [!__NO_LONG_DOUBLE_MATH].
30921
30922 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30923 PTR_MANGLE and PTR_DEMANGLE.
30924
30925 * socket/accept4.c (accept4): Rename to __libc_accept4.
30926 Define accept4 as a weak alias.
30927
30928 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30929 on [_DIRENT_HAVE_D_TYPE].
30930 * io/ftw.c (ftw_dir): Likewise.
30931
30932 * io/xmknod.c (__xmknod): Don't check PATH for being null.
30933
30934 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30935
30936 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30937 Use the BSD numbers rather than the arbitrary ones we had.
30938 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30939 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30940 (SIGXCPU, SIGXFSZ): New macros.
30941 (_NSIG): Now 32.
30942
30943 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30944 initializer on [_LIBC_REENTRANT].
30945
30946 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30947 definitions inside [_POSIX_MAPPED_FILES].
30948
30949 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30950
30951 * dirent/opendir.c: Include <fcntl.h>.
30952
30953 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30954 (__libc_getspecific): Likewise.
30955 (__libc_key_create): Likewise.
30956
30957 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30958 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30959 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30960 (tmpfile64): Define as alias.
30961 * sysdeps/wordsize-64/tmpfile.c: File removed.
30962 * sysdeps/wordsize-64/tmpfile64.c: File removed.
30963 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30964 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30965
30966 * stdio-common/vfscanf.c: Include <stdbool.h>.
30967 * nss/makedb.c: Likewise.
30968 * stdio-common/_i18n_number.h: Likewise.
30969 * argp/argp-help.c: Likewise.
30970 * posix/wordexp.c: Likewise.
30971 * sysdeps/posix/spawni.c: Likewise.
30972 * nss/nss_files/files-initgroups.c: Likewise.
30973 * stdio-common/reg-modifier.c: Include <stdlib.h>.
30974 * nss/nss_files/files-initgroups.c: Likewise.
30975 * nss/nss_db/db-netgrp.c: Likewise.
30976 * nss/nss_db/db-initgroups.c: Likewise.
30977 * io/fchmodat.c: Include <sys/stat.h>.
30978
30979 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30980 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30981
30982 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30983 [HAVE_MMAP].
30984
30985 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30986 Add multiple inclusion protection.
30987
e5abc686
DM
309882012-07-27 David S. Miller <davem@davemloft.net>
30989
30990 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30991
815e6fa3
GB
309922012-07-27 Gary Benson <gbenson@redhat.com>
30993
30994 [BZ #14298]
30995 * elf/rtld.c: Include <stap-probe.h>.
30996 (dl_main): Added static probes "init_start" and "init_complete".
30997 * elf/dl-load.c: Include <stap-probe.h>.
30998 (lose): Take new parameter "nsid".
30999 Added static probe "map_failed".
31000 (_dl_map_object_from_fd): Pass namespace id to lose.
31001 Added static probe "map_start".
31002 (open_verify): Pass namespace id to lose.
31003 * elf/dl-open.c: Include <stap-probe.h>.
31004 (dl_open_worker) Added static probes "map_complete", "reloc_start"
31005 and "reloc_complete".
31006 * elf/dl-close.c: Include <stap-probe.h>.
31007 (_dl_close_worker): Added static probes "unmap_start" and
31008 "unmap_complete".
31009 * elf/rtld-debugger-interface.txt: New file documenting the above.
31010
9f98c16c
RM
310112012-07-26 Roland McGrath <roland@hack.frob.com>
31012
31013 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31014 rather than a string variable.
31015 * sunrpc/rpc_main.c (h_output): Likewise.
31016 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31017
f3c22df3
PT
310182012-07-26 Pino Toscano <toscano.pino@tiscali.it>
31019
31020 * inet/check_native.c: New file.
31021
3129cfc6
JM
310222012-07-26 Joseph Myers <joseph@codesourcery.com>
31023
da865e95
JM
31024 [BZ #13629]
31025 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31026 if larger part has absolute value 1.0.
31027 * math/s_clog10.c (__clog10): Likewise.
31028 * math/s_clog10f.c (__clog10f): Likewise.
31029 * math/s_clog10l.c (__clog10l): Likewise.
31030 * math/s_clogf.c (__clogf): Likewise.
31031 * math/s_clogl.c (__clogl): Likewise.
31032 * math/libm-test.inc (clog_test): Add more tests.
31033 (clog10_test): Likewise.
31034 * sysdeps/i386/fpu/libm-test-ulps: Update.
31035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31036
3129cfc6
JM
31037 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31038 (pltexit): Likewise.
31039 (La_regs): Likewise.
31040 (La_retval): Likewise.
31041 (int_retval): Likewise.
31042 Update #error for removed macros to refer only to definitions in
31043 tst-audit.h.
31044 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31045 macro.
31046 (pltexit): Likewise.
31047 (La_regs): Likewise.
31048 (La_retval): Likewise.
31049 (int_retval): Likewise.
31050 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31051 macro.
31052 (pltexit): Likewise.
31053 (La_regs): Likewise.
31054 (La_retval): Likewise.
31055 (int_retval): Likewise.
31056 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31057 macro.
31058 (pltexit): Likewise.
31059 (La_regs): Likewise.
31060 (La_retval): Likewise.
31061 (int_retval): Likewise.
31062 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31063 macro.
31064 (pltexit): Likewise.
31065 (La_regs): Likewise.
31066 (La_retval): Likewise.
31067 (int_retval): Likewise.
31068 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31069 macro.
31070 (pltexit): Likewise.
31071 (La_regs): Likewise.
31072 (La_retval): Likewise.
31073 (int_retval): Likewise.
31074 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31075 macro.
31076 (pltexit): Likewise.
31077 (La_regs): Likewise.
31078 (La_retval): Likewise.
31079 (int_retval): Likewise.
31080 * sysdeps/generic/tst-audit.h: Update comment to refer only to
31081 macro definitions in tst-audit.h.
31082 * sysdeps/i386/tst-audit.h: New file.
31083 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31084 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31085 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31086 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31087 * sysdeps/sh/tst-audit.h: Likewise.
31088 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31089 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31090 * sysdeps/x86_64/tst-audit.h: Likewise.
31091
bfc07087
AJ
310922012-07-26 Andreas Jaeger <aj@suse.de>
31093
b1b2aaf8
AJ
31094 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31095 ptrace.
31096
31097 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31098 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31099 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31100 PTRACE_O_MASK.
31101 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31102 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31103 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31104
bfc07087
AJ
31105 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31106 value.
31107
31108 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31109 _sigsys.
31110 (si_call_addr, si_syscall, si_arch): Define new macro.
31111 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31112 _sigsys.
31113 (si_call_addr, si_syscall, si_arch): Define new marcro.
31114 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31115 _sigsys.
31116 (si_call_addr, si_syscall, si_arch): Define new macro.
31117 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31118 _sigsys.
31119 (si_call_addr, si_syscall, si_arch): Define new macro.
31120
89b4b02f
JM
311212012-07-25 Joseph Myers <joseph@codesourcery.com>
31122
31123 [BZ #13717]
31124 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31125 Change to 2.4.21 where previously 2.4.1.
31126 * sysdeps/unix/sysv/linux/configure: Regenerated.
31127 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31128 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31129 Linux kernel version.
31130 (__ASSUME_STD_AUXV): Remove.
31131 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31132 kernel version.
31133 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31134 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31135 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31136 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31137 (__ASSUME_NETLINK_SUPPORT): Likewise.
31138 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31139 (__no_netlink_support): Remove conditional definition.
31140 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31141 Remove.
31142 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31143 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31144 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31145 (if_nameindex_ioctl): Remove.
31146 (if_nameindex_netlink): Do not handle __no_netlink_support.
31147 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31148 code.
31149 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31150 Remove conditional code.
31151 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31152 code.
31153 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31154 unconditional.
31155 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31156 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31157 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31158 Remove.
31159 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31160 [!__ASSUME_STD_AUXV]: Remove conditional code.
31161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31162 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31163 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31165 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31166 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31167 code.
31168 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31170 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31171 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31172 conditional code.
31173 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31175 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31176 code.
31177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31178 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31179 conditional code.
31180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31181 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31182 code unconditional.
31183 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31184 conditional code.
31185 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31186 unconditional.
31187 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31188 conditional code.
31189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31190 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31191 unconditional.
31192 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31193 conditional code.
31194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31195 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31196 code unconditional.
31197 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31198 conditional code.
31199 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31200 unconditional.
31201 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31202 conditional code.
31203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31204 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31205 code unconditional.
31206 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31207 conditional code.
31208 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31209 unconditional.
31210 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31211 conditional code.
31212
842a39cd
AS
312132012-07-25 Andreas Schwab <schwab@linux-m68k.org>
31214
31215 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31216 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31217 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31218 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31219 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31220 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31221 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31222 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31223 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31224 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31225 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31226 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31227 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31228 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31229 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31230 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31231 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31232 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31233 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31234 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31235 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31236 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31237 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31238
84b3fd84
FW
312392012-07-25 Florian Weimer <fweimer@redhat.com>
31240
31241 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
31242 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31243 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31244 Introduce __libc_secure_getenv.
0c7936d5
FW
31245 * stdlib/Versions (2.17): Add secure_getenv
31246 (GLIBC_PRIVATE): Add __libc_secure_getenv.
31247 * stdlib/secure-getenv.c: Rename __secure_getenv to
31248 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
31249 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
31250 * stdlib/tst-secure-getenv.c: New.
31251 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
31252 * manual/startup.texi (Environment Access): Document
31253 secure_getenv.
84b3fd84
FW
31254 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31255 __libc_secure_getenv.
31256 * inet/ruserpass.c (ruserpass): Likewise.
31257 * malloc/mtrace.c (mtrace): Likewise.
31258 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 31259 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
31260 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31261 * sysdeps/posix/tempname.c: Likewise. Evaluate
31262 HAVE_SECURE_GETENV.
31263 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 31264 __secure_getenv to __libc_secure_getenv.
84b3fd84 31265 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
31266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31267 Likewise.
31268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31269 Likewise.
31270 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31272 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31273 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31274 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31275 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31276 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 31277
56e49b71
JM
312782012-07-25 Joseph Myers <joseph@codesourcery.com>
31279
31280 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31281 (struct La_i86_retval): Likewise.
31282 (struct La_x86_64_regs): Likewise.
31283 (struct La_x86_64_retval): Likewise.
31284 (struct La_x32_regs): Likewise.
31285 (struct La_x32_retval): Likewise.
31286 (struct La_ppc32_regs): Likewise.
31287 (struct La_ppc32_retval): Likewise.
31288 (struct La_ppc64_regs): Likewise.
31289 (struct La_ppc64_retval): Likewise.
31290 (struct La_sh_regs): Likewise.
31291 (struct La_sh_retval): Likewise.
31292 (struct La_s390_32_regs): Likewise.
31293 (struct La_s390_32_retval): Likewise.
31294 (struct La_s390_64_regs): Likewise.
31295 (struct La_s390_64_retval): Likewise.
31296 (struct La_sparc32_regs): Likewise.
31297 (struct La_sparc32_retval): Likewise.
31298 (struct La_sparc64_regs): Likewise.
31299 (struct La_sparc64_retval): Likewise.
31300 (struct audit_ifaces): Remove architecture-specific pltenter and
31301 pltexit members.
31302 * sysdeps/i386/ldsodefs.h: New file.
31303 * sysdeps/powerpc/ldsodefs.h: Likewise.
31304 * sysdeps/s390/ldsodefs.h: Likewise.
31305 * sysdeps/sh/ldsodefs.h: Likewise.
31306 * sysdeps/sparc/ldsodefs.h: Likewise.
31307 * sysdeps/x86_64/ldsodefs.h: Likewise.
31308
354691b7
MP
313092012-07-25 Marek Polacek <polacek@redhat.com>
31310
31311 [BZ #6808]
31312 * math/libm-test.inc (yn_test): Add another test.
31313 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31314 to ERANGE when the result is +-Inf.
31315 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31316 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31317 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31318 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31319
bf9e2071
JM
313202012-07-24 Joseph Myers <joseph@codesourcery.com>
31321
31322 * conform/data/time.h-data (NULL): Use macro-constant. Require
31323 equal to 0.
31324 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
31325 clock_t.
31326 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
31327
57633811
TS
313282012-07-23 Thomas Schwinge <thomas@codesourcery.com>
31329
31330 * configure.in <sysdeps resolving>: Correct printing
31331 Implies_before.
31332 * configure: Regenerate.
31333
c23c33b0
TS
313342012-07-22 Thomas Schwinge <thomas@codesourcery.com>
31335
31336 * math/w_ilogb.c: Include <limits.h>.
31337 * math/w_ilogbl.c: Likewise.
31338
b5982523
JM
313392012-07-20 Joseph Myers <joseph@codesourcery.com>
31340
31341 * manual/lang.texi (__va_copy): Document primarily as ISO C99
31342 va_copy. Document allowing for unavailable va_copy only as
31343 pre-C99 compatibility.
31344 * manual/string.texi (Copying and Concatenation): Use va_copy
31345 instead of __va_copy in concat example.
31346
ac4ea442
PT
313472012-07-20 Pino Toscano <toscano.pino@tiscali.it>
31348
31349 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31350 (__sendto): Use create_address_port. Initialize APORT and deallocate
31351 it if not null.
31352
f98eafbd
PT
31353 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31354 with O_NOLINK passed to __file_name_lookup.
31355
898c7aab
PT
31356 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31357 with O_NOLINK passed to __file_name_lookup.
31358
0ced335a
PT
31359 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31360 negative N or less than NGIDS.
31361
b3404dbd
PT
31362 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31363 type to string_t. Set ERANGE as errno and return it if NAME is not big
31364 enough. Use memcpy instead of strncpy.
31365
0f48659e
JM
313662012-07-20 Joseph Myers <joseph@codesourcery.com>
31367
31368 * elf/Makefile (check-data): Remove.
31369 (localplt.data): New vpath directive.
31370 ($(objpfx)check-localplt.out): Use localplt.data from vpath
31371 instead of $(check-data).
31372 * scripts/data/localplt-generic.data: Move to ...
31373 * sysdeps/generic/localplt.data: ... here.
31374 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31375 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31376 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31378 ... here.
31379 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31381 ... here.
31382 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31383 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31384 ... here.
31385 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31387 ... here.
31388 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31389 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31390 ... here.
31391 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31392 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31393 ... here.
31394
d37cbdaa
AZ
313952012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31396
31397 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31398 PPC32 and PPC64 files.
31399 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31400 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31401
46f85fc2
AK
314022012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31403
31404 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31405 __makecontext_ret to ...
31406 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31407 ... here and call exit if uc_link is NULL. New file.
31408 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31409 __makecontext_ret.S.
31410 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31411 __makecontext_ret to ...
31412 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31413 ... here and call exit if uc_link is NULL. New file.
31414 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31415 __makecontext_ret.S.
31416
08f43f9b
AK
314172012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31418
31419 * elf/elf.h (R_390_IRELATIVE): New definition.
31420 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31421 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
31422 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31423 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31424 (elf_machine_lazy_rel): Likewise.
31425 * sysdeps/s390/dl-irel.h: New file.
31426 * sysdeps/s390/s390-64/memcpy.S: New asm code.
31427 * sysdeps/s390/s390-64/memset.S: New asm code.
31428 * sysdeps/s390/s390-64/memcmp.S: New asm code.
31429 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31430 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31431 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31432 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31433 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31434 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31435 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31436 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31437 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31438 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31439 * sysdeps/s390/s390-32/memcpy.S: New asm code.
31440 * sysdeps/s390/s390-32/memset.S: New asm code.
31441 * sysdeps/s390/s390-32/memcmp.S: New asm code.
31442
3b05db33
MP
314432012-07-17 Marek Polacek <polacek@redhat.com>
31444
31445 [BZ #14349]
31446 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31447 * sysdeps/s390/s390-64/configure.in: Likewise.
31448 * sysdeps/sparc/configure.in: Likewise.
31449 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31450 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31451 * sysdeps/i386/configure.in: Likewise.
31452 * sysdeps/x86_64/configure.in: Likewise.
31453 * sysdeps/sh/configure.in: Likewise.
31454 * sysdeps/s390/s390-32/configure: Regenerated.
31455 * sysdeps/s390/s390-64/configure: Likewise.
31456 * sysdeps/x86_64/configure: Likewise.
31457 * sysdeps/sh/configure: Likewise.
31458 * sysdeps/powerpc/powerpc64/configure: Likewise.
31459 * sysdeps/powerpc/powerpc32/configure: Likewise.
31460 * sysdeps/sparc/configure: Likwise.
31461 * sysdeps/i386/configure: Likewise.
31462
a66877c6
MP
31463 * elf/dl-open.c: Comment fixes.
31464
cfc82fd8
JM
314652012-07-17 Joseph Myers <joseph@codesourcery.com>
31466
bd29910a
JM
31467 * Makefile [CXX] (check-data): Remove.
31468 [CXX] (c++-types.data): New vpath directive.
31469 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31470 vpath. Do not allow for C++ type data being missing.
31471 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31472 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31473 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31474 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31475 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31476 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31477 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31479 ... here.
31480 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31482 ... here.
31483 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31485 ... here.
31486 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31487 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31488 ... here.
31489 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31490 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31491 ... here.
31492 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31493 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31494 ... here.
31495 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31496 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31497 ... here.
31498 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31499 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31500
cfc82fd8
JM
31501 * elf/tls-macros.h (TLS_LE): Move architecture-specific
31502 definitions to architecture-specific files.
31503 (TLS_IE): Likewise.
31504 (TLS_LD): Likewise.
31505 (TLS_GD): Likewise.
31506 * sysdeps/i386/tls-macros.h: New file.
31507 * sysdeps/powerpc/tls-macros.h: Likewise.
31508 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31509 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31510 * sysdeps/sh/tls-macros.h: Likewise.
31511 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31512 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31513 * sysdeps/x86_64/tls-macros.h: Likewise.
31514
f7db3170
TS
315152012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31516
07cbfc23
TS
31517 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31518 zero value for regular exit case.
31519
f7db3170
TS
31520 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31521 (__start_context): Preserve zero value for regular exit case.
31522
dc97c227
TS
315232012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31524 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31525
31526 * manual/setjmp.texi (setcontext): Clarify normal process
31527 termination when uc_link is the null pointer.
31528 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31529 exit call.
31530
d0cd7d02
AS
315312012-07-16 Andreas Schwab <schwab@linux-m68k.org>
31532
31533 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31534 preprocessor. Test for each exception mask separately.
31535
dd318934
AJ
315362012-07-16 Andreas Jaeger <aj@suse.de>
31537
31538 * po/ru.po: Update from translation team.
31539
8048311a
JM
315402012-07-15 Joseph Myers <joseph@codesourcery.com>
31541
31542 * conform/data/string.h-data (NULL): Use macro-constant. Require
31543 equal to 0.
31544 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31545 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31546 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31547 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31548 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31549
b637d46e
AJ
315502012-07-13 Andreas Jaeger <aj@suse.de>
31551
31552 * po/fr.po: Update from translation team.
31553
541428fe
MP
315542012-07-12 Marek Polacek <polacek@redhat.com>
31555
31556 [BZ #14173]
31557 * math/libm-test.inc (yn_test): Add test for BZ #14173.
31558 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31559 loop condition.
31560
ec332e94
JM
315612012-07-12 Joseph Myers <joseph@codesourcery.com>
31562
31563 [BZ #13717]
31564 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31565 Change to 2.4.1 where previously 2.4.0.
31566 * sysdeps/unix/sysv/linux/configure: Regenerated.
31567 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31568 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31569 version.
31570 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31571 (__ASSUME_AT_CLKTCK): Remove.
31572 (__ASSUME_AT_PAGESIZE): Likewise.
31573 (__ASSUME_AT_XID): Likewise.
31574 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31575 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31576 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31577 unconditionally.
31578 (HAVE_AUX_PAGESIZE): Likewise.
31579 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31580 [__ASSUME_AT_CLKTCK]: Make code unconditional.
31581 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31582
7b6e99be
JB
315832012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
31584
31585 [BZ #14307]
31586 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31587 the temporary buffer used to invoke __gethostbyname2_r,
31588 __gethostbyaddr_r and gethostbyname4_r to make room for struct
31589 host_data / struct gaih_addrtuple.
31590 * resolv/nss_dns/dns-host.c (global scope): Move definition of
31591 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31592 header file nss/nsswitch.h.
31593 * nss/nsswitch.h (global scope): Add definition of implementation
31594 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31595 resolv/nss_dns/dns-host.c).
31596
608404eb
AJ
315972012-07-11 Andreas Jaeger <aj@suse.de>
31598
31599 * po/fr.po: Update from translation team.
31600
71220aca
AJ
31601 * po/sv.po: Update from translation team
31602 * po/fr.po: Another update from translation team.
31603
28cfe843
AZ
316042012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31605
31606 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31607 for subnormals or multiply small sinh result by itself.
31608 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31610
6b90f981
DM
316112012-07-11 David S. Miller <davem@davemloft.net>
31612
31613 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31614
c6825772
AS
316152012-07-10 Andreas Schwab <schwab@linux-m68k.org>
31616
31617 [BZ #14347]
31618 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31619 (INTERNAL_MARK): Shift it here.
31620
7b8e0d49
MP
316212012-07-10 Marek Polacek <polacek@redhat.com>
31622
31623 [BZ #14151]
31624 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
31625 libc_cv_asm_global_directive with .globl.
31626 * configure: Regenerated.
31627 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31628 with .globl.
31629 * sysdeps/i386/configure: Regenerated.
31630 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31631 with .globl.
31632 * sysdeps/x86_64/configure: Regenerated.
31633 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31634 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31635 * elf/tst-unique2mod2.c: Likewise.
31636 * elf/tst-unique2mod1.c: Likewise.
31637 * elf/tst-unique1mod2.c: Likewise.
31638 * elf/tst-unique1mod1.c: Likewise.
31639 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31640 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31641 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31642 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31643 * sysdeps/mach/sysdep.h: Likewise.
31644 * sysdeps/i386/sysdep.h: Likewise.
31645 * sysdeps/i386/i386-mcount.S: Likewise.
31646 * sysdeps/x86_64/_mcount.S: Likewise.
31647 * sysdeps/x86_64/sysdep.h: Likewise.
31648 * sysdeps/sh/_mcount.S: Likewise.
31649 * sysdeps/sh/sysdep.h: Likewise.
31650 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31651 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31652 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31653 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31654 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31655 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31656 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31657 * locale/localeinfo.h: Likewise.
31658 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31659 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31660
6c55cda3
RM
316612012-07-09 Roland McGrath <roland@hack.frob.com>
31662
31663 [BZ #14336]
31664 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31665 system".
31666 * manual/message.texi (The Uniforum approach): Likewise.
31667 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31668 (glibc iconv Implementation): Likewise.
31669
638a572e
JM
316702012-07-09 Joseph Myers <joseph@codesourcery.com>
31671
31672 [BZ #14337]
31673 * math/s_clog.c (__clog): Avoid scaling a value down where that
31674 could result in underflow.
31675 * math/s_clog10.c (__clog10): Likewise.
31676 * math/s_clog10f.c (__clog10f): Likewise.
31677 * math/s_clog10l.c (__clog10l): Likewise.
31678 * math/s_clogf.c (__clogf): Likewise.
31679 * math/s_clogl.c (__clogl): Likewise.
31680 * math/libm-test.inc (clog_test): Add more tests.
31681 (clog10_test): Likewise.
31682 * sysdeps/i386/fpu/libm-test-ulps: Update.
31683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31684
261f4859
AS
316852012-07-06 Andreas Schwab <schwab@linux-m68k.org>
31686
0abaf3e4
AS
31687 [BZ #14283]
31688 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31689 by 7 not 8 to examine high bit of fractional part.
31690
261f4859
AS
31691 [BZ #14042]
31692 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31693 for call to __mcount_internal.
31694 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31695 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31696 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31697
f17ac40d
JM
316982012-07-06 Joseph Myers <joseph@codesourcery.com>
31699
9ad63c23
JM
31700 [BZ #14154]
31701 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31702 approximation for values within 0x1p-13f of an odd multiple of
31703 pi/4.
31704 * math/libm-test.inc (tan_test): Do not allow spurious underflow
31705 exception. Add more tests.
31706 * sysdeps/i386/fpu/libm-test-ulps: Update.
31707
f17ac40d
JM
31708 [BZ #6778]
31709 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31710 inputs and return -1 for them. Do not check for +Inf in case not
31711 reachable for +Inf.
31712 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31713 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31714 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31715 and return -1 for them. Do not check for +Inf in case not
31716 reachable for +Inf.
31717 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31718 define.
31719 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31720 and return -1 for them. Do not check for +Inf in case not
31721 reachable for +Inf.
31722 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
31723 spurious underflow.
31724 * sysdeps/i386/fpu/libm-test-ulps: Update.
31725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31726
fb21f89b
MF
317272012-07-06 Mike Frysinger <vapier@gentoo.org>
31728
31729 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31730
cdfe2c5e
JM
317312012-07-05 Joseph Myers <joseph@codesourcery.com>
31732
31733 [BZ #14157]
31734 [BZ #14331]
31735 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31736 could result in spurious underflow. Scale down values above
31737 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31738 * math/s_csqrtf.c (__csqrtf): Likewise.
31739 * math/s_csqrtl.c (__csqrtl): Likewise.
31740 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
31741 spurious underflow.
31742 * sysdeps/i386/fpu/libm-test-ulps: Update.
31743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31744
70d35b67
AS
317452012-07-04 Andreas Schwab <schwab@linux-m68k.org>
31746
704bc459
AS
31747 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31748 xopen-msg.sed.
31749 * catgets/xopen-msg.awk: New file.
31750 * catgets/xopen-msg.sed: Removed.
31751
70d35b67
AS
31752 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31753 po2text.sed.
31754 * intl/po2test.awk: New file.
31755 * intl/po2test.sed: Removed.
31756
ca61cf32
JM
317572012-07-04 Joseph Myers <joseph@codesourcery.com>
31758
31759 [BZ #14328]
31760 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31761 or multiply small sinh result by itself.
31762 * math/s_ctanf.c (__ctanf): Likewise.
31763 * math/s_ctanh.c (__ctanh): Likewise.
31764 * math/s_ctanhf.c (__ctanhf): Likewise.
31765 * math/s_ctanhl.c (__ctanhl): Likewise.
31766 * math/s_ctanl.c (__ctanl): Likewise.
31767 * math/libm-test.inc (ctan_test_tonearest): New function.
31768 (ctan_test_towardzero): Likewise.
31769 (ctan_test_downward): Likewise.
31770 (ctan_test_upward): Likewise.
31771 (ctanh_test_tonearest): Likewise.
31772 (ctanh_test_towardzero): Likewise.
31773 (ctanh_test_downward): Likewise.
31774 (ctanh_test_upward): Likewise.
31775 (main): Call these new functions.
31776 * sysdeps/i386/fpu/libm-test-ulps: Update.
31777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31778
ca48a46a
MF
317792012-07-03 Mike Frysinger <vapier@gentoo.org>
31780
31781 * .gitignore: Delete /ports entry.
31782
9d63d37d
AJ
317832012-07-03 Andreas Jaeger <aj@suse.de>
31784
31785 * po/bg.po: Update from translation team.
31786 * po/cs.po: Likewise.
31787 * po/de.po: Likewise.
31788 * po/hr.po: Likewise.
31789 * po/nl.pl: Likewise.
31790 * po/pl.po: Likewise.
31791 * po/vi.po: Likewise.
31792
370ca3d2
JM
317932012-07-03 Joseph Myers <joseph@codesourcery.com>
31794
95f5a9a8
JM
31795 * Makeconfig [!+link] (+link-before-libc): New variable.
31796 [!+link] (+link-after-libc): Likewise.
31797 [!+link] (+link-tests): Likewise.
31798 [!+link] (+link): Define in terms of $(+link-before-libc) and
31799 $(+link-after-libc).
31800 [!+link-static] (+link-static-before-libc): New variable.
31801 [!+link-static] (+link-static-after-libc): Likewise.
31802 [!+link-static] (+link-static-tests): Likewise.
31803 [!+link-static] (+link-static): Define in terms of
31804 $(+link-static-before-libc) and $(+link-static-after-libc).
31805 [build-shared] (link-libc-before-gnulib): New variable.
31806 [build-shared] (link-libc-tests): Likewise.
31807 [build-shared] (link-libc): Define in terms of
31808 $(link-libc-before-gnulib).
31809 [!build-shared] (link-libc-tests): New variable.
31810 (link-libc-static-tests): New variable.
31811 [!gnulib] (gnulib-arch): New variable.
31812 [!gnulib] (gnulib-tests): Likewise.
31813 [!gnulib] (static-gnulib-arch): Likewise.
31814 [!gnulib] (static-gnulib-tests): Likewise.
31815 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
31816 Define with "=" instead of ":=".
31817 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
31818 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
31819 * Rules (binaries-all-notests): New variable.
31820 (binaries-all-tests): Likewise.
31821 (binaries-static-notests): Likewise.
31822 (binaries-static-tests): Likewise.
31823 (binaries-all): Define using $(binaries-all-notests) and
31824 $(binaries-all-tests).
31825 (binaries-static): Define using $(binaries-static-notests) and
31826 $(binaries-static-tests).
31827 (binaries-shared-tests): New variable.
31828 (binaries-shared-notests): Likewise.
31829 (binaries-shared): Remove variable.
31830 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31831 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31832 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31833 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31834 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31835 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31836 * elf/Makefile (sln-modules): New variable.
31837 (extra-objs): Add $(sln-modules:=.o).
31838 (ldconfig-modules): Add static-stubs.
31839 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31840 * elf/static-stubs.c: New file.
31841
7a845b2c
JM
31842 [BZ #14283]
31843 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31844 by 7 not 8 to examine high bit of fractional part. Use volatile
31845 variables when splitting into final array of floats if
31846 __FLT_EVAL_METHOD__ != 0.
31847 * math/libm-test.inc (cos_test): Add another test.
31848 (sin_test): Likewise.
31849 * sysdeps/i386/fpu/libm-test-ulps: Update.
31850
e2283f38
JM
31851 [BZ #14273]
31852 * math/libm-test.inc (cosh_test): Add more tests.
31853
370ca3d2
JM
31854 * version.h (RELEASE): Set to "development".
31855 (VERSION): Set to "2.16.90".
31856
ee9247c3
CD
318572012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
31858
31859 * NEWS: Update copyright. Remove last-updated date.
31860 Mention math library bug fixes and timezone data changes.
31861 * README: Mention GNU/Hurd, x32, and HPPA support status.
31862
4648c381
TS
318632012-06-28 Thomas Schwinge <thomas@codesourcery.com>
31864
31865 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31866
aac78a43
AJ
318672012-06-27 Andreas Jaeger <aj@suse.de>
31868
31869 * manual/contrib.texi (Contributors): Add Samuel Thibault.
31870
ed3dbfad
AJ
318712012-06-25 Andreas Jaeger <aj@suse.de>
31872
31873 * sysdeps/s390/fpu/libm-test-ulps: Update.
31874
4d0ee855
AS
318752012-06-23 Andreas Schwab <schwab@linux-m68k.org>
31876 Thomas Schwinge <thomas@codesourcery.com>
31877
31878 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31879 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31880 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31881 fanotify_mark.
31882
af1bce34
TS
318832012-06-23 Thomas Schwinge <thomas@codesourcery.com>
31884
a9fa33ba
TS
31885 * sysdeps/mach/start.c: Remove file.
31886 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31887 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31888 * sysdeps/sh/init-first.c: Likewise.
31889
58f902b8
TS
31890 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31891 registers for frame unwinding purposes, add CFI directives.
31892 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31893 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31894 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31895 Likewise.
31896
1518f58b
TS
31897 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31898 __fortify_fail returning.
31899 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31900
db9b5059
TS
31901 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31902 sysdeps/sh/____longjmp_chk.S.
31903 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31904 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31905 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31906 (gen-as-const-headers): Append sigaltstack-offsets.sym.
31907
967705fe
TS
31908 * sysdeps/sh/abort-instr.h: New file.
31909 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31910 process in case exit returns.
31911
a9def8c4
TS
31912 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31913 initialize the GOT register before use.
31914
2a649725
TS
31915 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31916 calculation of ARGC > 4.
31917
af1bce34
TS
31918 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31919 meaningful names to some local labels.
31920
d230f50a
KK
319212012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31922 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31923
31924 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31925 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31926 (__arch_compare_and_exchange_val_16_acq): Likewise.
31927 (__arch_compare_and_exchange_val_32_acq): Likewise.
31928 (atomic_exchange_and_add): Fix gUSA sequence.
31929 (atomic_add): Likewise.
31930 (atomic_add_negative): Likewise.
31931 (atomic_add_zero): Likewise.
31932 (atomic_bit_test_set): Likewise.
31933
0479b305
AS
319342012-06-22 Andreas Schwab <schwab@redhat.com>
31935
31936 [BZ #13579]
31937 * include/link.h (struct link_map): Add l_free_initfini.
31938 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31939 l_initfini.
31940 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31941 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31942 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31943 set.
31944
0e3933b9
CD
319452012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
31946
31947 * configure.in: Use AC_LANG_SOURCE.
31948 * configure: Regenerate.
31949
4248b1b1
RM
319502012-06-22 Roland McGrath <roland@hack.frob.com>
31951
31952 * configure.in (libc_cv_localstatedir): New substituted variable.
31953 * configure: Regenerated.
31954 * config.make.in (localstatedir): New variable, substituted from
31955 libc_cv_localstatedir.
31956 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31957 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31958 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31959 * sysdeps/gnu/configure: Regenerated.
31960
006dd861
JL
319612012-06-21 Jeff Law <law@redhat.com>
31962
31963 [BZ #14277]
31964 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31965 free. Simplify list management for _LIBC case.
31966
79662d42
JM
319672012-06-21 Joseph Myers <joseph@codesourcery.com>
31968
b7abb4bf
JM
31969 [BZ #14273]
31970 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31971 Clear sign bit of 64-bit integer value before comparing against
31972 overflow value.
31973
79662d42
JM
31974 * sysdeps/mach/configure: Regenerated.
31975
1f150908
L
319762012-06-21 H.J. Lu <hongjiu.lu@intel.com>
31977
31978 [BZ #14278]
31979 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31980
28363bbf
JL
319812012-06-21 Jeff Law <law@redhat.com>
31982
31983 [BZ #13882]
31984 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
31985 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 31986 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
31987 * elf/dl-open.c (dl_open_worker): Likewise.
31988
09615db4
CD
319892012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
31990
31991 * scripts/list-sources.sh: Scan PORTS for translations.
31992 * po/libc.pot: Regenerated.
31993
2174c6dd
AJ
319942012-06-21 Andreas Jaeger <aj@suse.de>
31995
31996 [BZ #12194]
31997 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31998 warning.
31999 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32000 * bits/byteswap-16.h (__bswap_16): Likewise.
32001 * bits/byteswap.h (__bswap_constant_16): Likewise.
32002
3ee947b1
L
320032012-06-18 H.J. Lu <hongjiu.lu@intel.com>
32004
32005 [BZ #14117]
a2f34833
L
32006 * sysdeps/i386/fpu_control.h: Removed.
32007 * sysdeps/x86_64/fpu_control.h: Moved to ...
32008 * sysdeps/x86/fpu_control.h: Here.
32009
3ee947b1
L
32010 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32011 (_FPU_SETCW): Likewise.
32012
ed1825f8
L
320132012-06-15 H.J. Lu <hongjiu.lu@intel.com>
32014
25f1282a
L
32015 [BZ #14117]
32016 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32017 * sysdeps/x86/fpu/bits/mathinline.h: This.
32018 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32019
ed1825f8
L
32020 [BZ #14050]
32021 [BZ #14117]
32022 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32023 functions if __x86_64__ is defined.
32024
36d54b74
CLT
320252012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
32026
32027 * string/endian.h: Add !__ASSEMBLER__ condition for including
32028 conversion interfaces.
32029
10285c21
JM
320302012-06-15 Joseph Myers <joseph@codesourcery.com>
32031
32032 [BZ #14241]
32033 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32034 of ABS(x) in calculating zero to negative powers other than odd
32035 integers.
32036 * math/libm-test.inc (pow_test): Add more tests.
32037
06c5abbd
AJ
320382012-06-15 Andreas Jaeger <aj@suse.de>
32039
32040 * manual/contrib.texi (Contributors): Update entry of Liubov
32041 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32042 Machado Filho.
32043
a3aeac40
CH
320442012-06-15 Cyril Hrubis <metan@ucw.cz>
32045
32046 * string/string.h: Add __wur to GNU version of strerror_r.
32047
49bdf4c1
L
320482012-06-14 H.J. Lu <hongjiu.lu@intel.com>
32049
32050 [BZ #14229]
32051 * string/Makefile (tests): Add tst-strtok_r.
32052 * string/tst-strtok_r.c: New file.
32053 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32054 RAX_LP/RDX_LP on SAVE_PTR.
32055
834f9b8d
RM
320562012-06-14 Roland McGrath <roland@hack.frob.com>
32057
32058 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32059
75fa1921
JM
320602012-06-14 Joseph Myers <joseph@codesourcery.com>
32061
32062 * libm_test.inc (csqrt_test): Allow more spurious underflow
32063 exceptions.
32064 (j0_test): Likewise.
32065 (j1_test): Likewise.
32066 (y0_test): Likewise.
32067 (y1_test): Likewise.
32068
771766df
CD
320692012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
32070
32071 * po/Makefile (libc.pot): Use UTF-8 charset.
32072
ceb9e56b
PP
320732012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
32074
32075 [BZ #14210]
32076 Suppress sign-conversion warning from FD_SET.
32077 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32078 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32079 not unsigned long int.
32080 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32081
ddb28975
L
320822012-06-12 H.J. Lu <hongjiu.lu@intel.com>
32083
32084 [BZ #14050]
32085 [BZ #14117]
32086 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32087 __extern_always_inline instead of __extern_inline.
32088 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32089 (__signbit): Likewise.
32090 (__signbitl): Support C++ namespace.
32091 (lrintf): New inline function.
32092 (lrint): Likewise.
32093 (llrintf): Likewise.
32094 (llrint): Likewise.
32095 (fmaxf): Likewise.
32096 (fmax): Likewise.
32097 (fminf): Likewise.
32098 (fmin): Likewise.
32099 (rint): Likewise.
32100 (rintf): Likewise.
32101 (ceil): Likewise.
32102 (ceilf): Likewise.
32103 (floor): Likewise.
32104 (floorf): Likewise.
32105 (nearbyint): Likewise.
32106 (nearbyintf): Likewise.
32107
d7b4fb26
TS
321082012-06-12 Thomas Schwinge <thomas@codesourcery.com>
32109
32110 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32111 non-default versions.
32112
eb55f5c2
RM
321132012-06-11 Roland McGrath <roland@hack.frob.com>
32114
32115 [BZ #14218]
32116 * manual/argp.texi (Argp): Reword argp_parse description slightly.
32117
366af02c
TS
321182012-06-09 Thomas Schwinge <thomas@codesourcery.com>
32119
99ff6e5c
TS
32120 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32121 (FE_UPWARD, FE_DOWNWARD): Don't define.
32122 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32123 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32124
366af02c
TS
32125 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32126 reading it.
32127 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32128 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32129
793ea851
KK
321302012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32131
32132 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32133 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32134 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32135 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32136
a728a38f
L
321372012-06-06 H.J. Lu <hongjiu.lu@intel.com>
32138
32139 [BZ #14117]
c08010c7
L
32140 * sysdeps/i386/fpu/bits/fenv.h: Removed.
32141 * sysdeps/i386/fpu/Implies: New file.
32142 * sysdeps/x86_64/fpu/Implies: Likewise.
32143 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32144 * sysdeps/x86/fpu/bits/fenv.h: This.
32145
a728a38f
L
32146 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32147 __SSE_MATH__.
32148
6e230d11
SP
321492012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32150
32151 [BZ #14134]
32152 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32153 character 0xffff that matches the last element of the
32154 conversion table.
32155
1b671feb
AZ
321562012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32157
32158 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32159 fmodl commit.
32160
6043738b
AZ
321612012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32162
32163 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32164 values higher than 25.6283.
32165
34ae0b32
AZ
321662012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32167
32168 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32169 subnormal exponent extraction and add some __builtin_expect.
32170 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32171 Fix for subnormal mantissa calculation.
32172
1214ec8f
MF
321732012-06-04 Mike Frysinger <vapier@gentoo.org>
32174
32175 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32176 cpu2 is -1 and errno is not ENOSYS.
32177
f3d1f93c
L
321782012-06-04 H.J. Lu <hongjiu.lu@intel.com>
32179
32180 [BZ #14117]
0e4a3cd7
L
32181 * sysdeps/i386/i486/bits/string.h: Renamed to ...
32182 * sysdeps/x86/bits/string.h: This.
32183 * sysdeps/x86_64/bits/string.h: Removed.
32184
6704c645
L
32185 * sysdeps/i386/i486/bits/string.h: Define inline functions only
32186 if not compiling for x86-64, but compiling for >= i486.
32187
48495318
L
32188 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32189 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32190
14adcbfc
L
32191 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32192 New macro from Linux kernel 3.4.0.
32193 (FP_XSTATE_MAGIC2): Likewise.
32194 (FP_XSTATE_MAGIC2_SIZE): Likewise.
32195 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32196 (struct _fpx_sw_bytes): New struct.
32197 (struct _xsave_hdr): Likewise.
32198 (struct _ymmh_state): Likewise.
32199 (struct _xstate): Likewise.
32200
68e408ab
L
32201 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32202 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32203 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32204 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32205 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32206 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32207
f3d1f93c
L
32208 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32209 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32210 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32211 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32212 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32213 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32214
d9dc34cd
TMQMF
322152012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32216
32217 [BZ #13743]
32218 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32219 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32220 (sysdep_headers): Include sys/platform/ppc.h.
32221 * sysdeps/powerpc/test-gettimebase.c: Test for
32222 __ppc_get_timebase() to catch future ISA opcode/insn changes.
32223 * manual/Makefile (appendices): Include platform.texi.
32224 * manual/contrib.texi (Contributors): Update @node pointers.
32225 * manual/maint.texi (Maintenance): Likewise.
32226 (Platform): New node.
32227 * manual/platform.texi: New file. Document the new features.
32228
4af3879c
SP
322292012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32230 Jakub Jelinek <jakub@redhat.com>
32231
32232 [BZ #14188]
32233 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32234 where __builtin_expect is unavailable.
32235
2fd6ff13
DM
322362012-06-03 David S. Miller <davem@davemloft.net>
32237
32238 * stdlib/longlong.h: Updated from GCC.
32239
173f7220
AS
322402012-06-02 Andreas Schwab <schwab@linux-m68k.org>
32241
32242 [BZ #14042]
32243 * sysdeps/powerpc/powerpc32/mcount.c: New file.
32244 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32245 __mcount_internal.
32246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32247 (GLIBC_2.16): Likewise.
32248
f34a1c6f
L
322492012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32250
32251 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32252
88a4576f
JM
322532012-06-01 Joseph Myers <joseph@codesourcery.com>
32254
ea32bcdd
JM
32255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32256 (default-abi): New variable.
32257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32258 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32259 variable.
32260 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32261 Likewise.
32262 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32263 Likewise.
32264 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32265 Likewise.
32266
88a4576f
JM
32267 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32268 definition. Document in comment.
32269
402fe938
DM
322702012-06-01 David S. Miller <davem@davemloft.net>
32271
32272 * stdlib/longlong.h: Updated from GCC.
32273
3553723f
L
322742012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32275
32276 [BZ #14117]
3bd872c4
L
32277 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32278 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32279 sys/debugreg.h sys/io.h here.
32280 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32281 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32282 sys/io.h.
32283 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32284 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32285 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32286 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32287 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32288 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32289
3553723f
L
32290 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32291 Define only if __x86_64__ is defined.
32292
4842e4fe
JM
322932012-06-01 Joseph Myers <joseph@codesourcery.com>
32294
c5bfe3d5
JM
32295 [BZ #14048]
32296 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32297 Use int64_t for variable i.
32298 * math/libm-test.inc (fmod_test): Add more tests.
32299
4842e4fe
JM
32300 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32301 z computation is not scheduled after fetestexcept.
32302 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32303 Use math_force_eval instead of asm to ensure calculation scheduled
32304 before exception test.
32305 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32306 Ensure a1 + u.d computation is not scheduled after fetestexcept.
32307
efb73488
AJ
323082012-06-01 Aurelien Jarno <aurelien@aurel32.net>
32309
32310 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32311 computation is not scheduled after fetestexcept.
32312
29bcce7c
L
323132012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32314
32315 [BZ #14117]
32316 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32317 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32318
73a68f94
AZ
323192012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32320
32321 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32322 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32323
67b6df78
L
323242012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32325
edf2933a 32326 [BZ #14117]
ebc64a18
L
32327 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32328 <bits/wordsize.h>.
32329 (__WCHAR_MIN): Support __WORDSIZE == 64.
32330 (__WCHAR_MAX): Likewise.
32331
edf2933a
L
32332 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32333 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32334
57c6cf40
L
32335 [BZ #14183]
32336 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32337 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32338
67b6df78 32339 [BZ #14117]
8eb6281e
L
32340 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32341 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32342
aac639f4
L
32343 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32344 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32345
67b6df78
L
32346 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32347 Defined to 1 if __x86_64__ isn't defined.
32348 (_STAT_VER_LINUX_OLD): New.
32349 (st_atime): Remove duplicate.
32350 (st_mtime): Likewise.
32351 (st_ctime): Likewise.
32352
1c2cfe81
DM
323532012-05-31 David S. Miller <davem@davemloft.net>
32354
32355 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32356 entries.
32357
5be8418c
AS
323582012-06-01 Andreas Schwab <schwab@linux-m68k.org>
32359
e7725326
AS
32360 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32361 gen-libm-test.pl.
32362
5be8418c
AS
32363 [BZ #14132]
32364 * elf/dl-reloc.c: Include <_itoa.h>.
32365 (_dl_reloc_bad_type): Remove use of INTUSE.
32366 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32367 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32368 * stdio-common/psiginfo.c (psiginfo): Likewise.
32369 * stdio-common/psignal.c (psignal): Likewise.
32370 * string/strsignal.c (strsignal): Likewise.
32371 * include/signal.h (_sys_siglist): Declare hidden proto.
32372 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
32373 INTVARDEF with libc_hidden_data_def.
32374 * stdio-common/itoa-udigits.c: Likewise.
32375 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32376 (_itoa_lower_digits_internal): Remove declaration.
32377 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32378 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32379 (_sys_sigabbrev_internal): Remove aliases.
32380 (_sys_siglist): Define hidden alias.
32381
507352f1
MT
323822012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
32383
32384 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32385 bits/sysctl.h.
32386
42bbb1c3
L
323872012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32388
32389 [BZ #14117]
6bd784b6
L
32390 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32391 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32392
8bca20f0
L
32393 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32394 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32395 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32396 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32397 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32398 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32399
f9e890a9
L
32400 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32401 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32402 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32403
471101a1
L
32404 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32405 with __addr.
32406 (insw): Likewise.
32407 (insl): Likewise.
32408 (outsb): Likewise.
32409 (outsw): Likewise.
32410 (outsl): Likewise.
32411
6451c862
L
32412 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32413 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32414 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32415
a254b8c9
L
32416 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32417 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32418 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32419 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32420 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32421 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32422
b8dfdd92
L
32423 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32424 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32425
578cd270
L
32426 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32427 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32428
de662f5f
L
32429 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32430 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32431 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32432
25653439
L
32433 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32434 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32435 to ...
32436 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32437
6bad24a0
L
32438 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32439 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32440 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32441
42bbb1c3
L
32442 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32443 for x86-64.
32444 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32445
2d10d547
JM
324462012-05-31 Joseph Myers <joseph@codesourcery.com>
32447
32448 * math/math.h (M_El): Use two more decimal places.
32449 (M_LOG2El): Likewise.
32450 (M_LOG10El): Likewise.
32451 (M_LN2l): Likewise.
32452 (M_LN10l): Likewise.
32453 (M_PIl): Likewise.
32454 (M_PI_2l): Likewise.
32455 (M_PI_4l): Likewise.
32456 (M_1_PIl): Likewise.
32457 (M_2_PIl): Likewise.
32458 (M_2_SQRTPIl): Likewise.
32459 (M_SQRT2l): Likewise.
32460 (M_SQRT1_2l): Likewise.
32461
f230c29b
DM
324622012-05-31 David S. Miller <davem@davemloft.net>
32463
32464 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32465 values between float registers.
32466 * sysdeps/sparc/sparc64/memset.S: Likewise.
32467 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32468
fed806c3
MF
324692012-05-31 Mike Frysinger <vapier@gentoo.org>
32470
32471 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32472 -D_FORTIFY_SOURCE=1.
32473 (CPPFLAGS-tst-longjmp_chk.c): Define.
32474 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32475 (CPPFLAGS-tst-longjmp_chk2.c): Define.
32476 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32477 CFLAGS-tst-wchar-h.c.
32478
30917259
MP
324792012-05-31 Marek Polacek <polacek@redhat.com>
32480
32481 [BZ #14132]
32482 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32483 __endmntent_internal): Remove declaration.
32484 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32485 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32486 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32487
1c58d5dc
DM
324882012-05-30 David S. Miller <davem@davemloft.net>
32489
32490 * sysdeps/sparc/sparc32/soft-fp/q_util.c
32491 (___Q_simulate_exceptions): Use real FP ops rather than writing
32492 into the %fsr.
32493 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32494 Likewise.
32495
7dc00e0d
L
324962012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32497
32498 [BZ #14117]
0bd53985
L
32499 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32500 * sysdeps/x86/bits/xtitypes.h: This.
32501
3a257e66
L
32502 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32503 * sysdeps/x86/bits/wordsize.h: This.
32504
62f62904
L
32505 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32506 * sysdeps/x86/bits/huge_vall.h: This.
32507
404fe9d9
L
32508 * sysdeps/i386/bits/select.h: Removed.
32509 * sysdeps/x86_64/bits/select.h: Renamed to ...
32510 * sysdeps/x86/bits/select.h: This.
32511
d48d0446
L
32512 * sysdeps/i386/bits/setjmp.h: Removed.
32513 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32514 * sysdeps/x86/bits/setjmp.h: This.
32515
7dc00e0d
L
32516 * sysdeps/i386/bits/mathdef.h: Removed.
32517 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32518 * sysdeps/x86/bits/mathdef.h: This.
32519
03277f8f
AS
325202012-05-30 Andreas Schwab <schwab@linux-m68k.org>
32521
32522 [BZ #14132]
32523 * include/sys/socket.h (__connect_internal)
32524 (__libc_sa_len_internal): Remove declaration.
32525 (__connect, __libc_sa_len): Declare hidden_proto.
32526 (SA_LEN): Remove use of INTUSE.
32527 * socket/connect.c: Add libc_hidden_def.
32528 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32529 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32530 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32531 alias.
32532 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32533 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32534 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32535 of adding _internal alias.
32536
13764867
L
325372012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32538
32539 [BZ #14117]
6bd97696
L
32540 * sysdeps/i386/bits/link.h: Removed.
32541 * sysdeps/i386/bits/linkmap.h: Likewise.
32542 * sysdeps/x86_64/bits/link.h: Renamed to ...
32543 * sysdeps/x86/bits/link.h: This.
32544 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32545 * sysdeps/x86/bits/linkmap.h: This.
32546
f726f0bb
L
32547 * sysdeps/i386/bits/endian.h: Removed.
32548 * sysdeps/x86_64/bits/endian.h: Renamed to ...
32549 * sysdeps/x86/bits/endian.h: This.
32550
13764867
L
32551 * sysdeps/i386/bits/byteswap.h: Removed.
32552 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32553 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32554 * sysdeps/x86/bits/byteswap.h: This.
32555 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32556 * sysdeps/x86/bits/byteswap-16.h: This.
32557 * sysdeps/i386/Implies: Add x86.
32558 * sysdeps/x86_64/Implies: Likewise.
32559
ae251b0b
DM
325602012-05-30 David S. Miller <davem@davemloft.net>
32561
32562 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32563 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32564 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32565 (FP_TRAPPING_EXCEPTIONS): Define.
32566 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32567 (FP_TRAPPING_EXCEPTIONS): Define.
32568 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32569 subnormals only when inexact has been signalled or underflow
32570 exceptions are enabled.
32571 (_FP_PACK_CANONICAL): Likewise.
32572
d5c90867
L
325732012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32574
32575 [BZ #14183]
32576 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32577 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32578
63f1549e
RH
325792012-05-30 Richard Henderson <rth@twiddle.net>
32580
8d8f2279
RH
32581 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32582 with #ifndef NOT_IN_libc.
32583
63f1549e
RH
32584 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
32585 marked to avoid plt entry.
32586
0ab0291b
L
325872012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32588
32589 [BZ #14112]
32590 * Makeconfig (default-abi): New macro.
32591 (abi-includes): Likewise.
32592 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
32593 $(abi-$(default-abi)-lib-soname) for soname if defined.
32594 ($(common-objpfx)gnu/lib-names.stmp): Generate from
32595 abi-variants.
32596 * Makefile (installed-stubs): Likewise.
32597 * include/stubs-biarch.h: Removed.
32598 * scripts/lib-names.awk: Only handle one library at a time.
32599 * scripts/soversions.awk: Remove WORDSIZE support.
32600 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32601 entries.
32602 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32603 Removed.
32604 (syscall-list-default-condition): Likewise.
32605 (syscall-list-default-condition): Likewise.
32606 (syscall-list-includes): Likewise.
32607 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32608 syscall-list-* with abi-*. Handle undefined abi-variants.
32609 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32610 * sysdeps/unix/sysv/linux/i386/Implies: New file.
32611 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32612 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32613 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32614 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32615 Removed.
32616 (syscall-list-32-options): Likewise.
32617 (syscall-list-32-condition): Likewise.
32618 (syscall-list-64-options): Likewise.
32619 (syscall-list-64-condition): Likewise.
32620 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32621 macro.
32622 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32623 Renamed to ...
32624 (abi-*): This.
32625 (abi-64-ld-soname): New macro.
32626 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32627 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32628 Renamed to ...
32629 (abi-*): This.
32630 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32631 * sysdeps/x86_64/x32/shlib-versions: Likewise.
32632
4da0431d
JM
326332012-05-30 Joseph Myers <joseph@codesourcery.com>
32634
3a85279c
JM
32635 * sysdeps/unix/sysv/linux/kernel-features.h
32636 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32637 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32638 include <kernel-features.h>.
32639 [!__NR_ftruncate64]: Remove conditional code.
32640 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32641 [__NR_ftruncate64]: Make code unconditional.
32642 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32643 * sysdeps/unix/sysv/linux/truncate64.c: Do not
32644 include <kernel-features.h>.
32645 [!__NR_ftruncate64]: Remove conditional code.
32646 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32647 [__NR_ftruncate64]: Make code unconditional.
32648 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32650 include <kernel-features.h>.
32651 [!__NR_ftruncate64]: Remove conditional code.
32652 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32653 [__NR_ftruncate64]: Make code unconditional.
32654 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32656 include <kernel-features.h>.
32657 [!__NR_ftruncate64]: Remove conditional code.
32658 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32659 [__NR_ftruncate64]: Make code unconditional.
32660 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32661
4da0431d
JM
32662 * configure.in (libc_cv_fpie): Weaken to a compile test using
32663 LIBC_TRY_CC_OPTION.
32664 * configure: Regenerated.
32665
11ef492c
AK
326662012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32667
32668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32672 Refreshed.
32673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32678 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32679 Refreshed.
32680
d66ef399
DM
326812012-05-27 David S. Miller <davem@davemloft.net>
32682
32683 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32684 (___Q_zero): New.
32685 (__Q_simulate_exceptions): Return void. Change to simulate
32686 exceptions by writing into the %fsr.
32687 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32688 (__Qp_handle_exceptions): Likewise.
32689 (numbers): Delete.
32690 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32691 __Qp_handle_exceptions.
32692 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32693 __Qp_handle_exceptions.
32694 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32695 as unused and give dummy FP_RND_NEAREST initializer.
32696 (FP_INHIBIT_RESULTS): Define.
32697 (___Q_simulate_exceptions): Update declaration.
32698 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32699 formatting.
32700 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32701 as unused and give dummy FP_RND_NEAREST initializer.
32702 (__Qp_handle_exceptions): Update declaration.
32703 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32704 formatting.
32705
04fb54b5
TS
327062012-05-27 Thomas Schwinge <thomas@codesourcery.com>
32707
32708 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32709 the temporary FPU control word.
32710 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32711 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32712 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32713 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32714 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32715 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32716 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32717 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32718 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32719 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32720 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32721
3f99608f
KK
327222012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32723
32724 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32725 fields.
32726
65a4de4e
CLT
327272012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
32728
32729 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32730 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32731 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32732 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32733 Likewise.
32734 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32735 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32736 Likewise.
32737
15749d40
UD
327382012-05-27 Ulrich Drepper <drepper@gmail.com>
32739
32740 * po/h.po: Update from translation team.
32741
25dbcb27
AS
327422012-05-26 Andreas Schwab <schwab@linux-m68k.org>
32743
3d3f8e55
AS
32744 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32745
25dbcb27
AS
32746 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32747 handling of denormals.
32748 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32749 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32750 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32751 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32752 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32753 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32754 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32755 Likewise.
32756
7ad47a80 327572012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
32758
32759 [BZ #14152]
32760 * math/libm-test.inc (fma_test): Don't always expect underflow
32761 exception.
32762
9c6ea9fa
SP
327632012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32764
32765 [BZ #12416]
32766 * elf/tst-execstack.c: Include stackinfo.h.
32767 (do_test): Adjust test case to ensure that pthread_getattr_np
32768 behaviour remains the same after marking stack executable.
32769
a8239222
JM
327702012-05-25 Joseph Myers <joseph@codesourcery.com>
32771
32772 * sysdeps/unix/sysv/linux/kernel-features.h
32773 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32774 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32775 kernel-features.h.
32776 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32777 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32778 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32779 kernel-features.h.
32780 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32781 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32782
918b5606
L
327832012-05-25 H.J. Lu <hongjiu.lu@intel.com>
32784
32785 * configure.in: Define the default includes to being none.
32786 * configure: Regenerated.
32787
3a097cc7
RM
327882012-05-25 Roland McGrath <roland@hack.frob.com>
32789
8422c9a5
RM
32790 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32791 * sysdeps/x86_64/setjmp.S: Likewise.
32792 * sysdeps/i386/bsd-setjmp.S: Likewise.
32793 * sysdeps/i386/bsd-_setjmp.S: Likewise.
32794 * sysdeps/i386/setjmp.S: Likewise.
32795 * sysdeps/i386/__longjmp.S: Likewise.
32796 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32797 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32798
3a097cc7
RM
32799 * include/stap-probe.h: New file.
32800 * configure.in: Handle --enable-systemtap.
32801 * configure: Regenerated.
32802 * config.h.in (USE_STAP_PROBE): New #undef.
32803 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32804 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32805 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32806
21708942
JM
328072012-05-25 Joseph Myers <joseph@codesourcery.com>
32808
32809 [BZ #13717]
32810 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32811 to 2.4.0 where earlier.
32812 * sysdeps/unix/sysv/linux/configure: Regenerated.
32813 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32814 <kernel-features.h>.
32815 [__ASSUME_32BITUIDS]: Make code unconditional.
32816 [!__ASSUME_32BITUIDS]: Remove conditional code.
32817 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32818 <kernel-features.h>.
32819 [__ASSUME_32BITUIDS]: Make code unconditional.
32820 [!__ASSUME_32BITUIDS]: Remove conditional code.
32821 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32822 [__ASSUME_32BITUIDS]: Make code unconditional.
32823 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32824 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32825 <kernel-features.h>.
32826 [__ASSUME_32BITUIDS]: Make code unconditional.
32827 [!__ASSUME_32BITUIDS]: Remove conditional code.
32828 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32829 <kernel-features.h>.
32830 [__ASSUME_32BITUIDS]: Make code unconditional.
32831 [!__ASSUME_32BITUIDS]: Remove conditional code.
32832 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32833 <kernel-features.h>.
32834 [__ASSUME_32BITUIDS]: Make code unconditional.
32835 [!__ASSUME_32BITUIDS]: Remove conditional code.
32836 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32837 <kernel-features.h>.
32838 [__ASSUME_32BITUIDS]: Make code unconditional.
32839 [!__ASSUME_32BITUIDS]: Remove conditional code.
32840 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32841 <kernel-features.h>.
32842 [__ASSUME_32BITUIDS]: Make code unconditional.
32843 [!__ASSUME_32BITUIDS]: Remove conditional code.
32844 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32845 <kernel-features.h>.
32846 [__ASSUME_32BITUIDS]: Make code unconditional.
32847 [!__ASSUME_32BITUIDS]: Remove conditional code.
32848 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32849 <kernel-features.h>.
32850 [__ASSUME_32BITUIDS]: Make code unconditional.
32851 [!__ASSUME_32BITUIDS]: Remove conditional code.
32852 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32853 <kernel-features.h>.
32854 [__ASSUME_32BITUIDS]: Make code unconditional.
32855 [!__ASSUME_32BITUIDS]: Remove conditional code.
32856 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32857 <kernel-features.h>.
32858 [__ASSUME_32BITUIDS]: Make code unconditional.
32859 [!__ASSUME_32BITUIDS]: Remove conditional code.
32860 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32861 <kernel-features.h>.
32862 [__ASSUME_32BITUIDS]: Make code unconditional.
32863 [!__ASSUME_32BITUIDS]: Remove conditional code.
32864 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32865 <kernel-features.h>.
32866 [__NR_setresgid] (__setresgid): Do not declare.
32867 [__ASSUME_32BITUIDS]: Make code unconditional.
32868 [!__ASSUME_32BITUIDS]: Remove conditional code.
32869 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32870 <kernel-features.h>.
32871 [__NR_setresuid] (__setresuid): Do not declare.
32872 [__ASSUME_32BITUIDS]: Make code unconditional.
32873 [!__ASSUME_32BITUIDS]: Remove conditional code.
32874 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32875 <kernel-features.h>.
32876 [__ASSUME_32BITUIDS]: Make code unconditional.
32877 [!__ASSUME_32BITUIDS]: Remove conditional code.
32878 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32879 <kernel-features.h>.
32880 [__ASSUME_32BITUIDS]: Make code unconditional.
32881 [!__ASSUME_32BITUIDS]: Remove conditional code.
32882 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32883 <kernel-features.h>.
32884 [__ASSUME_32BITUIDS]: Make code unconditional.
32885 [!__ASSUME_32BITUIDS]: Remove conditional code.
32886 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32887 <kernel-features.h>.
32888 [__ASSUME_32BITUIDS]: Make code unconditional.
32889 [!__ASSUME_32BITUIDS]: Remove conditional code.
32890 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32891 <kernel-features.h>.
32892 [__ASSUME_32BITUIDS]: Make code unconditional.
32893 [!__ASSUME_32BITUIDS]: Remove conditional code.
32894 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32895 <kernel-features.h>.
32896 [__ASSUME_32BITUIDS]: Make code unconditional.
32897 [!__ASSUME_32BITUIDS]: Remove conditional code.
32898 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32899 <kernel-features.h>.
32900 [__ASSUME_32BITUIDS]: Make code unconditional.
32901 [!__ASSUME_32BITUIDS]: Remove conditional code.
32902 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32903 <kernel-features.h>.
32904 [__ASSUME_32BITUIDS]: Make code unconditional.
32905 [!__ASSUME_32BITUIDS]: Remove conditional code.
32906 * sysdeps/unix/sysv/linux/i386/setuid.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/i386/shmctl.c: Do not include
32911 <kernel-features.h>.
32912 [__ASSUME_32BITUIDS]: Make code unconditional.
32913 [!__ASSUME_32BITUIDS]: Remove conditional code.
32914 * sysdeps/unix/sysv/linux/kernel-features.h
32915 (__ASSUME_SETRESUID_SYSCALL): Remove.
32916 (__ASSUME_SETRESGID_SYSCALL): Likewise.
32917 (__ASSUME_32BITUIDS): Likewise.
32918 (__ASSUME_LDT_WORKS): Likewise.
32919 (__ASSUME_O_DIRECTORY): Likewise.
32920 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32921 architecture but not kernel version.
32922 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32923 (__ASSUME_MMAP2_SYSCALL): Likewise.
32924 (__ASSUME_STAT64_SYSCALL): Likewise.
32925 (__ASSUME_IPC64): Likewise.
32926 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32927 <kernel-features.h>.
32928 [__ASSUME_32BITUIDS]: Make code unconditional.
32929 [!__ASSUME_32BITUIDS]: Remove conditional code.
32930 * sysdeps/unix/sysv/linux/opendir.c: Do not include
32931 <kernel-features.h>.
32932 [__ASSUME_O_DIRECTORY]: Make code unconditional.
32933 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32934 132096]: Remove conditional code.
32935 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32936 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32937 <kernel-features.h>.
32938 [__ASSUME_32BITUIDS]: Make code unconditional.
32939 [!__ASSUME_32BITUIDS]: Remove conditional code.
32940 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32941 <kernel-features.h>.
32942 [__ASSUME_32BITUIDS]: Make code unconditional.
32943 [!__ASSUME_32BITUIDS]: Remove conditional code.
32944 * sysdeps/unix/sysv/linux/setegid.c: Do not include
32945 <kernel-features.h>.
32946 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32947 unconditional.
32948 (__setresgid): Do not declare.
32949 [__ASSUME_32BITUIDS]: Make code unconditional.
32950 [!__ASSUME_32BITUIDS]: Remove conditional code.
32951 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32952 <kernel-features.h>.
32953 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32954 unconditional.
32955 (__setresuid): Do not declare.
32956 [__ASSUME_32BITUIDS]: Make code unconditional.
32957 [!__ASSUME_32BITUIDS]: Remove conditional code.
32958 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32959 <kernel-features.h>.
32960 [__ASSUME_32BITUIDS]: Make code unconditional.
32961 [!__ASSUME_32BITUIDS]: Remove conditional code.
32962 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32963 <kernel-features.h>.
32964 [__ASSUME_32BITUIDS]: Make code unconditional.
32965 [!__ASSUME_32BITUIDS]: Remove conditional code.
32966
a386f1cc
RH
329672012-05-25 Richard Henderson <rth@twiddle.net>
32968
32969 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32970 dl_hwcap to ifunc resolver.
32971 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32972 elf_ifunc_invoke.
32973 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32974 dl_hwcap to ifunc resolver.
32975 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32976
b6550497
JM
329772012-05-24 Joseph Myers <joseph@codesourcery.com>
32978
32979 [BZ #14153]
32980 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32981 for |x| <= 2**-26, not 2**-57.
32982 * math/libm-test.inc (acos_test): Do not allow spurious underflow
32983 exception.
32984
b0bc23a1
JL
329852012-05-24 Jeff Law <law@redhat.com>
32986
32987 * stdio-common/Makefile (tests): Add bug25.
32988 * stdio-common/bug25.c: New test.
32989
347c92e9
L
329902012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32991
32992 [BZ #13576]
32993 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32994 multiple of MALLOC_ALIGNMENT in size.
32995 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32996
6bcc8b3f
JM
329972012-05-24 Joseph Myers <joseph@codesourcery.com>
32998
32999 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33000 Require >= 256.
33001 (FILENAME_MAX): Use macro-int-constant.
33002 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
33003 (_IOFBF): Use macro-int-constant.
33004 (_IOLBF): Likewise.
33005 (_IONBF): Likewise.
33006 (SEEK_CUR): Likewise.
33007 (SEEK_END): Likewise.
33008 (SEEK_SET): Likewise.
33009 (TMP_MAX): Likewise.
33010 (EOF): Use macro-int-constant. Require < 0.
33011 (NULL): Use macro-constant. Require == 0.
33012 (stdin): Require type to be FILE *.
33013 (stdout): Likewise.
33014 (stderr): Likewise.
33015 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33016 macro-int-constant.
33017 (EXIT_SUCCESS): Likewise.
33018 (NULL): Use macro-constant. Require == 0.
33019 (RAND_MAX): Use macro-int-constant.
33020 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33021 [C99-based standards] (strtof): Require function.
33022 [C99-based standards] (strtold): Likewise.
33023 [C99-based standards] (strtoll): Likewise.
33024 [C99-based standards] (strtoull): Likewise.
33025 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33026 [ISO || ISO99 || ISO11] (limits.h): Likewise.
33027 [ISO || ISO99 || ISO11] (math.h): Likewise.
33028 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33029 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33030 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33031
d18ea0c5
AS
330322012-05-24 Andreas Schwab <schwab@linux-m68k.org>
33033
33034 [BZ #14132]
56d25bb8
AS
33035 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33036 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33037 * intl/dgettext.c (DCGETTEXT): Likewise.
33038 * intl/gettext.c (DCGETTEXT): Likewise.
33039 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33040 * posix/regex_internal.h (gettext): Likewise.
33041 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33042 Remove declaration.
33043 * include/argz.h (__argz_count_internal)
33044 (__argz_stringify_internal): Remove declaration.
33045 (__argz_count, __argz_stringify): Declare hidden proto.
33046 * intl/dcgettext.c: Remove use of INTDEF.
33047 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33048 * string/argz-stringify.c: Likewise.
33049 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33050 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33051 Declare hidden proto.
d18ea0c5
AS
33052 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33053 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33054 Declare hidden proto.
33055 * include/stdio.h (__asprintf_internal): Don't declare.
33056 (__asprintf): Don't define as macro. Declare hidden proto.
33057 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33058 (__fsetlocking): Declare hidden proto.
33059 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33060 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33061 hidden proto.
33062 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33063 (_IO_setlinebuf): Remove use of INTUSE.
33064 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33065 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33066 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33067 Remove declaration.
33068 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33069 (_IO_do_flush): Remove use of INTUSE.
33070 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33071 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33072 (_IO_adjust_column, _IO_least_wmarker)
33073 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33074 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33075 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33076 (_IO_default_doallocate, _IO_wdefault_doallocate)
33077 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33078 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33079 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33080 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33081 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33082 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33083 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33084 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33085 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33086 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33087 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33088 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33089 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33090 proto.
33091 (_IO_flush_all_internal, _IO_adjust_column_internal)
33092 (_IO_default_uflow_internal, _IO_default_finish_internal)
33093 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33094 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33095 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33096 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33097 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33098 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33099 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33100 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33101 (_IO_file_close_internal, _IO_file_close_it_internal)
33102 (_IO_file_underflow_internal, _IO_file_overflow_internal)
33103 (_IO_file_init_internal, _IO_file_attach_internal)
33104 (_IO_file_fopen_internal, _IO_file_read_internal)
33105 (_IO_file_sync_internal, _IO_file_seek_internal)
33106 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33107 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33108 (_IO_str_underflow_internal, _IO_str_overflow_internal)
33109 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33110 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33111 (_IO_list_all_internal, _IO_link_in_internal)
33112 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33113 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33114 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33115 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33116 (_IO_do_write_internal, _IO_padn_internal)
33117 (_IO_getline_info_internal, _IO_getline_internal)
33118 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33119 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33120 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33121 (_IO_vfscanf_internal, _IO_vfprintf_internal)
33122 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33123 (_IO_init_internal, _IO_un_link_internal): Don't declare.
33124 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33125 with libc_hidden_ver, remove use of INTUSE.
33126 * libio/genops.c: Likewise.
33127 * libio/freopen.c: Likewise.
33128 * libio/freopen64.c: Likewise.
33129 * libio/iofclose.c: Likewise.
33130 * libio/iofdopen.c: Likewise.
33131 * libio/iofflush.c: Likewise.
33132 * libio/iofflush_u.c: Likewise.
33133 * libio/iofgets.c: Likewise.
33134 * libio/iofgets_u.c: Likewise.
33135 * libio/iofopen.c: Likewise.
33136 * libio/iofopncook.c: Likewise.
33137 * libio/iofread.c: Likewise.
33138 * libio/iofread_u.c: Likewise.
33139 * libio/ioftell.c: Likewise.
33140 * libio/iofwrite.c: Likewise.
33141 * libio/iogetline.c: Likewise.
33142 * libio/iogets.c: Likewise.
33143 * libio/iogetwline.c: Likewise.
33144 * libio/iopadn.c: Likewise.
33145 * libio/iopopen.c: Likewise.
33146 * libio/ioseekoff.c: Likewise.
33147 * libio/ioseekpos.c: Likewise.
33148 * libio/iosetbuffer.c: Likewise.
33149 * libio/iosetvbuf.c: Likewise.
33150 * libio/ioungetc.c: Likewise.
33151 * libio/ioungetwc.c: Likewise.
33152 * libio/iovdprintf.c: Likewise.
33153 * libio/iovsprintf.c: Likewise.
33154 * libio/iovsscanf.c: Likewise.
33155 * libio/memstream.c: Likewise.
33156 * libio/obprintf.c: Likewise.
33157 * libio/oldfileops.c: Likewise.
33158 * libio/oldiofclose.c: Likewise.
33159 * libio/oldiofdopen.c: Likewise.
33160 * libio/oldiofopen.c: Likewise.
33161 * libio/oldiopopen.c: Likewise.
33162 * libio/oldstdfiles.c: Likewise.
33163 * libio/putc.c: Likewise.
33164 * libio/setbuf.c: Likewise.
33165 * libio/setlinebuf.c: Likewise.
33166 * libio/stdfiles.c: Likewise.
33167 * libio/strops.c: Likewise.
33168 * libio/vasprintf.c: Likewise.
33169 * libio/vscanf.c: Likewise.
33170 * libio/vsnprintf.c: Likewise.
33171 * libio/vswprintf.c: Likewise.
33172 * libio/wfiledoalloc.c: Likewise.
33173 * libio/wfileops.c: Likewise.
33174 * libio/wgenops.c: Likewise.
33175 * libio/wmemstream.c: Likewise.
33176 * libio/wstrops.c: Likewise.
33177 * libio/__fpurge.c: Likewise.
33178 * libio/__fsetlocking.c: Likewise.
33179 * assert/assert.c: Likewise.
33180 * debug/fgets_chk.c: Likewise.
33181 * debug/fgets_u_chk.c: Likewise.
33182 * debug/fread_chk.c: Likewise.
33183 * debug/fread_u_chk.c: Likewise.
33184 * debug/gets_chk.c: Likewise.
33185 * debug/obprintf_chk.c: Likewise.
33186 * debug/vasprintf_chk.c: Likewise.
33187 * debug/vdprintf_chk.c: Likewise.
33188 * debug/vsnprintf_chk.c: Likewise.
33189 * debug/vsprintf_chk.c: Likewise.
33190 * malloc/mtrace.c: Likewise.
33191 * misc/error.c: Likewise.
33192 * misc/syslog.c: Likewise.
33193 * stdio-common/asprintf.c: Likewise.
33194 * stdio-common/fxprintf.c: Likewise.
33195 * stdio-common/getw.c: Likewise.
33196 * stdio-common/isoc99_fscanf.c: Likewise.
33197 * stdio-common/isoc99_scanf.c: Likewise.
33198 * stdio-common/isoc99_vfscanf.c: Likewise.
33199 * stdio-common/isoc99_vscanf.c: Likewise.
33200 * stdio-common/isoc99_vsscanf.c: Likewise.
33201 * stdio-common/printf-prs.c: Likewise.
33202 * stdio-common/printf_fp.c: Likewise.
33203 * stdio-common/printf_fphex.c: Likewise.
33204 * stdio-common/printf_size.c: Likewise.
33205 * stdio-common/putw.c: Likewise.
33206 * stdio-common/scanf.c: Likewise.
33207 * stdio-common/sprintf.c: Likewise.
33208 * stdio-common/tmpfile.c: Likewise.
33209 * stdio-common/vfprintf.c: Likewise.
33210 * stdio-common/vfscanf.c: Likewise.
33211 * stdlib/strfmon_l.c: Likewise.
33212 * sunrpc/openchild.c: Likewise.
33213 * sunrpc/xdr_stdio.c: Likewise.
33214 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33215 * sysdeps/mach/hurd/tmpfile.c: Likewise.
33216
d6c33fda
RM
332172012-05-24 Roland McGrath <roland@hack.frob.com>
33218
c1487492
RM
33219 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33220
33221 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33222 in the third column, to generate for the shared library an IFUNC
33223 that uses _dl_vdso_vsym.
33224 * Makerules (COMPILE.c, compile-stdin.c): New variables.
33225 * Makeconfig (object-suffixes-noshared): New variable.
33226
33227 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33228 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33229 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33230 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33231
d6c33fda
RM
33232 [BZ #14132]
33233 * include/sys/time.h (__gettimeofday): Remove macro.
33234 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33235 * time/gettimeofday.c (__gettimeofday): Remove #undef.
33236 Remove INTDEF.
33237 (__gettimeofday): Add libc_hidden_def.
33238 (gettimeofday): Add libc_hidden_weak.
33239 * sysdeps/mach/gettimeofday.c: Likewise.
33240 * sysdeps/posix/gettimeofday.c: Likewise.
33241 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33242 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33243 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33244 (__gettimeofday_internal): Remove strong_alias.
33245 (__gettimeofday): Add libc_hidden_def.
33246 (gettimeofday): Add libc_hidden_weak.
33247 * sysdeps/unix/syscalls.list (gettimeofday):
33248 Remove __gettimeofday_internal alias.
33249
b5a2bbe6
L
332502012-05-24 Daniel Jacobowitz <drow@false.org>
33251 H.J. Lu <hongjiu.lu@intel.com>
33252
33253 [BZ #12495]
33254 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33255 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33256 (largebin_index_32_big): New.
33257 (largebin_index): Use it for 16-byte alignment.
33258 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
33259 correction with front_misalign.
33260
cfba4fda
L
332612012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33262
7f907421
L
33263 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33264 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33265 Likewise.
33266 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33267 Likewise.
33268 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33269 Likewise.
33270 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33271 Likewise.
33272 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33273 Likewise.
33274 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33275 Likewise.
33276 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33277 Likewise.
33278 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33279 Likewise.
33280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33281 Likewise.
33282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33283 Likewise.
33284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33285 Likewise.
33286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33287 Likewise.
33288
cfba4fda
L
33289 * scripts/data/c++-types-x32-linux-gnu.data: New file.
33290 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33291
80bad0cc
JM
332922012-05-24 Joseph Myers <joseph@codesourcery.com>
33293
7a25eb06
JM
33294 [BZ #10846]
33295 [BZ #14036]
33296 * math/libm-test.inc (exp_test): Add test from bug 14036.
33297 (pow_test): Add test from bug 10846.
33298
795405f9
JM
33299 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33300 and other flags.
33301 (special_function): Do not include flags in test name.
33302 (parse_args): Likewise.
33303 * sysdeps/i386/fpu/libm-test-ulps: Update.
33304 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33305 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33306 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33308
80bad0cc
JM
33309 * math/gen-libm-test.pl (%beautify): Add entries for underflow
33310 exceptions.
33311 * math/libm-test.inc ("Philosophy"): Update comment about
33312 exception testing.
33313 (UNDERFLOW_EXCEPTION): New macro.
33314 (UNDERFLOW_EXCEPTION_OK): Likewise.
33315 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33316 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33317 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33318 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33319 (INVALID_EXCEPTION_OK): Update value.
33320 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33321 (OVERFLOW_EXCEPTION_OK): Likewise.
33322 (IGNORE_ZERO_INF_SIGN): Likewise.
33323 (test_exceptions): Handle underflow exceptions.
33324 (acos_test): Update for underflow exception expectations.
33325 (cexp_test): Likewise.
33326 (clog_test): Likewise.
33327 (clog10_test): Likewise.
33328 (csqrt_test): Likewise.
33329 (ctan_test): Likewise.
33330 (ctanh_test): Likewise.
33331 (exp_test): Likewise.
33332 (exp10_test): Likewise.
33333 (exp2_test): Likewise.
33334 (expm1_test): Likewise.
33335 (fma_test): Likewise.
33336 (j0_test): Likewise.
33337 (jn_test): Likewise.
33338 (nexttoward_test): Likewise.
33339 (pow_test): Likewise.
33340 (scalbn_test): Likewise.
33341 (scalbln_test): Likewise.
33342 (tan_test): Likewise.
33343 (y1_test): Likewise.
33344 * sysdeps/i386/fpu/libm-test-ulps: Update.
33345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33346
9e0e3d0b
DM
333472012-05-23 David S. Miller <davem@davemloft.net>
33348
33349 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33350 (__libc_sigaction): Remove unused local variables.
33351
ccd0a08f
L
333522012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33353
33354 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33355
62bdf9a6
PE
333562012-05-23 Paul Eggert <eggert@cs.ucla.edu>
33357
f8591f80
PE
33358 mktime: avoid signed integer overflow
33359 * time/mktime.c (__mktime_internal): Do not mishandle the case
33360 where diff == INT_MIN.
33361
94c7d826
PE
33362 mktime: simplify computation of average
33363 * time/mktime.c (ranged_convert): Use new time_t_avg function
33364 instead of rolling our own (probably-slower) code.
33365
ce73d683
PE
33366 mktime: do not assume signed right shift propagates sign bit
33367 * time/mktime.c (isdst_differ): New static function.
33368 (__mktime_internal): No need to normalize tm_isdst now.
33369 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33370 tm_isdst values.
33371
72a22e59
PE
33372 mktime: merge another wrapv change from gnulib
33373 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33374 from some compilers.
33375
68605433
PE
33376 mktime: remove incorrect attempt at unusual arithmetics
33377 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33378 The code didn't really work on such machines anyway.
33379 (TYPE_MINIMUM): Assume two's complement.
33380 (twos_complement_arithmetic): Verify that long_int and time_t
33381 are two's complement (or unsigned, in the latter case).
33382
03cf7fe3
PE
33383 mktime: check signed shifts on long_int and time_t, too
33384 * time/mktime.c (SHR): Check that shifts work as desired
33385 on the types long_int and time_t too, as SHR is used on
33386 such types.
33387
f04dfbc2
PE
33388 mktime: do not assume 'long' is wide enough
33389 * time/mktime.c (verify): Move decl up.
33390 (long_int): New type.
33391 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33392 to remove assumption in the code that 'long' is wide enough to
33393 store year values. This assumption is not true on x32 and on
33394 some non-glibc platforms.
33395
62bdf9a6
PE
33396 mktime: merge wrapv change from gnulib
33397 * time/mktime.c (WRAPV): New macro.
33398 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33399 (guess_time_tm, __mktime_internal): Do not assume that signed
33400 integer overflow wraps around; modern compilers generate code
33401 where this assumption is no longer valid.
33402
5e292e4f
L
334032012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33404
33405 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33406 Replace "jmp L(pseudo_end)" with "ret".
33407 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33408 Likewise.
33409
8caf8c87
AJ
334102012-05-23 Andreas Jaeger <aj@suse.de>
33411
33412 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33413 * sysdeps/unix/sysv/linux/poll.c: Remove file.
33414
1a09dc56
AJ
334152012-05-23 Andreas Jaeger <aj@suse.de>
33416 Maximilian Attems <max@stro.at>
33417
33418 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33419 New macros.
33420
1c87aba0
L
334212012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33422
33423 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33424 code so that pseudo_end is just ret and the stack pointer is
33425 correct also for static library in error case.
33426
40e45bd5
JM
334272012-05-23 Joseph Myers <joseph@codesourcery.com>
33428
c2670533
JM
33429 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33430 move to syscalls.list.
33431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33435
40e45bd5
JM
33436 * manual/install.texi (Running make install): Do not mention Linux
33437 kernel version for which pt_chown is not needed.
33438 (Linux): Do not mention problems with nscd with 2.0 kernels.
33439 * INSTALL: Regenerated.
33440
be08eda5
AJ
334412012-05-23 Andreas Jaeger <aj@suse.de>
33442
33443 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33444 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33445 macro.
33446 * sysdeps/unix/sysv/linux/s390/bits/mman.h
33447 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33448 * sysdeps/unix/sysv/linux/sh/bits/mman.h
33449 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33450 * sysdeps/unix/sysv/linux/i386/bits/mman.h
33451 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33452 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33453 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33454 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33455 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33456 * sysdeps/unix/sysv/linux/bits/in.h
33457 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33458
a6a056bb
RM
334592012-05-22 Roland McGrath <roland@hack.frob.com>
33460
33461 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33462 (PREPARE_VERSION): Just use assert instead, it will be elided
33463 under [NDEBUG] anyway.
33464
c9009328
L
334652012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33466
33467 * sysdeps/unix/sysv/linux/Makefile: Include
33468 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 33469 (sysdep_routines): Remove sysctl.
c9009328
L
33470 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33471 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33472 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33473 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33474 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33475
73338355
AJ
334762012-05-22 Andreas Jaeger <aj@suse.de>
33477
33478 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33479 that pseudo_end is just ret and the stack pointer is correct also
33480 for static library in error case.
33481
d44638b0
PP
334822012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
33483
33484 [BZ #14122]
33485 * nss/nsswitch.c (defconfig_entries): New variable.
33486 (__nss_database_lookup): Don't leak defconfig entries.
33487 (nss_parse_service_list): Don't leak on error paths.
33488 (free_database_entries): New function.
33489 (free_defconfig): New function.
33490 (free_mem): Move common code to free_database_entries.
33491
31a39bd8
L
334922012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33493
da0331a8
L
33494 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33495 Add arch_prctl.
33496 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33497
31a39bd8
L
33498 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33499 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33500 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33501 New macro.
33502 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33503 (INTERNAL_SYSCALL_TYPES): Likewise.
33504 (LOAD_ARGS_TYPES_[1-6]): Likewise.
33505 (LOAD_REGS_TYPES_[1-6]): Likewise.
33506 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33507 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33508
45470df3
AZ
335092012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33510
33511 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33512 copysignl for GLIBC_2_0.
33513 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33514 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33515 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33516 logbl for GLIBC_2_0.
33517 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33518 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33519
98a61bcb
L
335202012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33521
a4f6e481
L
33522 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33523 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33524
f63d5db6
L
33525 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33526 Use "neg %eax".
33527
98a61bcb
L
33528 * time/mktime.c: Update copyright years.
33529
95770f14
PE
335302012-05-22 Paul Eggert <eggert@cs.ucla.edu>
33531
6226efbd
PE
33532 mktime: merge comment-quoting-style change from gnulib
33533 * time/mktime.c: Quote 'like this' in comments.
33534 The GNU coding standards suggest that we no longer quote `like this',
33535 as "`" and "'" are typically rendered asymmetrically nowadays.
33536 The typical gnulib style is to quote 'like this' when quoting
33537 code, and "like this" when quoting English.
33538
b99e4f78
PE
33539 * time/mktime.c (compile-command): Add "-I.".
33540
643e01e6
PE
33541 mktime: merge mktime-internal.h change from gnulib
33542 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33543
2554247d
PE
33544 mktime: merge time_r change from gnulib
33545 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33546
826dd0ab
PE
33547 mktime: merge DEBUG change from gnulib
33548 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33549 case system <time.h> has a #define.
33550
bd83aabe
PE
33551 mktime: merge <sys/types.h> change from gnulib
33552 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33553 since <time.t> is now guaranteed to define time_t.
33554
95770f14
PE
33555 mktime: merge HAVE_CONFIG_H change from gnulib
33556 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33557
5e1a27a9
L
335582012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33559
0e44a77e
L
33560 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33561 Use "neg %eax".
33562
5e1a27a9
L
33563 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33564 __rlim_t cast.
33565 (struct rusage): Use anonymous union to pad each field to
33566 __syscall_slong_t.
33567
46259bec
DM
335682012-05-21 David S. Miller <davem@davemloft.net>
33569
33570 * Makefules (o-iterator): Remove .s cases.
33571 (compile-command.s): Delete.
33572 (COMPILE.s): Delete.
33573 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33574
59f0c22e
JM
335752012-05-21 Joseph Myers <joseph@codesourcery.com>
33576
33577 * configure.in (libc_cv_predef_stack_protector): Only consider
33578 "foobar" and "__stack_chk_fail" lines in libc_undefs.
33579 * configure: Regenerated.
33580
20c07380
L
335812012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33582
bbb3154b
L
33583 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33584 New macro. Use R*LP on int and pointer.
33585 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
33586 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33587 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
33588 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33589
20c07380
L
33590 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33591 [__WORDSIZE_TIME64_COMPAT32] instead of
33592 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33593 (struct utmp): Likewise.
33594 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33595 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33596 Renamed to ...
33597 (__WORDSIZE_TIME64_COMPAT32): This.
33598 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33599 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33600 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33601 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33602 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33603 (__WORDSIZE_TIME64_COMPAT32): New macro.
33604
d8d1017e
AJ
336052012-05-21 Andreas Jaeger <aj@suse.de>
33606
33607 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33608 only if [SHARED]. Add prototype for __wcschr_ia32.
33609
6c7fb145
RM
336102012-05-21 Roland McGrath <roland@hack.frob.com>
33611
33612 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33613 of %rbp unmolested in the jmp_buf while mangling the low bits.
33614 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33615 unmolested high bits of %rbp while demangling the low bits.
33616 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33617
66274218
AJ
336182012-05-21 Andreas Jaeger <aj@suse.de>
33619
07c58f8f
AJ
33620 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33621 * sunrpc/svc_simple.c: Use it for registerrpc.
33622 * sunrpc/xcrypt.c: Use it for passwd2des.
33623
66274218
AJ
33624 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33625
61f65140
L
336262012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33627
33628 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33629 Don't define if [__SYSCALL_WORDSIZE != 32].
33630 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33631 New macro.
33632
5fefb436
AJ
336332012-05-21 Bruno Haible <bruno@clisp.org>
33634 Andreas Jaeger <aj@suse.de>
33635
33636 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33637 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33638 inptr and inend for must_buffer_ch.
33639 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33640 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33641 * stdio-common/Makefile (tests): Remove bug15.
33642 (bug15-ENV): Remove macro.
33643 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33644 anymore.
33645
d8e272ab
AJ
336462012-05-19 Andreas Jaeger <aj@suse.de>
33647 Roland McGrath <roland@hack.frob.com>
33648
33649 * manual/contrib.texi: Completely rewritten. It contains now an
33650 alphabetical list of contributors and their contributions.
33651
4a56a162
RH
336522012-05-21 Richard Henderson <rth@twiddle.net>
33653
33654 * misc/getauxval.c (__getauxval): Use unsigned long int.
33655 * misc/sys/auxv.h: Include <sys/cdefs.h>.
33656 (getauxval): Use unsigned long int.
33657
d024d23c
L
336582012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33659
33660 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33661
cbc00a03
RM
336622012-05-21 Roland McGrath <roland@hack.frob.com>
33663
33664 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33665 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33666 __alignof__ (long double).
33667
478143fa
AZ
336682012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33669
33670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33671
c7683a6d
RH
336722012-05-20 Richard Henderson <rth@twiddle.net>
33673
33674 * misc/getauxval.c: New file.
33675 * misc/sys/auxv.h: New file.
33676 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33677 (routines): Add getauxval.
33678 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33679 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33680 * elf/dl-sysdep.c (_dl_auxv): Remove.
33681 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33682 * elf/dl-support.c (_dl_auxv): New variable.
33683 (_dl_aux_init): Initialize it.
33684 * manual/startup.texi (Auxiliary Vector): New node.
33685 * sysdeps/generic/bits/hwcap.h: New file.
33686 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33687 * sysdeps/powerpc/sysdep.h: ... here. Include it.
33688 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33689 * sysdeps/sparc/sysdep.h: ... here. Include it.
33690 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33691 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
33692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33693 Update.
c7683a6d
RH
33694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33695 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33697 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33698 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33699 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33700 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33701 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33702
a6f1845d
AZ
337032012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33704
33705 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33706
cbcbe830
DM
337072012-05-19 David S. Miller <davem@davemloft.net>
33708
33709 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33710
e0b16cc2
JM
337112012-05-19 Joseph Myers <joseph@codesourcery.com>
33712
33713 [BZ #14123]
33714 * math/s_ccosh.c: Include <float.h>
33715 (__ccosh): Avoid internal overflow calculating sinh and cosh
33716 values before multiplying by sin and cos values.
33717 * math/s_ccoshf.c: Likewise.
33718 * math/s_ccoshl.c: Likewise.
33719 * math/s_csin.c: Likewise.
33720 * math/s_csinf.c: Likewise.
33721 * math/s_csinl.c: Likewise.
33722 * math/s_csinh.c: Likewise.
33723 * math/s_csinhf.c: Likewise.
33724 * math/s_csinhl.c: Likewise.
33725 * math/libm-test.inc (ccos_test): Add more tests.
33726 (ccosh_test): Likewise.
33727 (csin_test): Likewise.
33728 (csinh_test): Likewise.
33729 * sysdeps/i386/fpu/libm-test-ulps: Update.
33730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33731
6ad13e08
L
337322012-05-19 H.J. Lu <hongjiu.lu@intel.com>
33733
f66f0ce8
L
33734 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33735 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33736
6ad13e08
L
33737 * sysdeps/x86_64/x32/_itoa.h: Add comment.
33738
b1d072a7
JM
337392012-05-19 Joseph Myers <joseph@codesourcery.com>
33740
33741 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33742 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33743 * sysdeps/powerpc/soft-fp/Versions: Likewise.
33744 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33745 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33746 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33747 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33748 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33749 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33750 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33751 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33752 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33753 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33754 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33755 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33756 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33757 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33758 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33759 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33760 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33761 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33762 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33763 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33764 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33765 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33766 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33767 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33768 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33769 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33770 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33771 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33772
9eae47cb
AJ
337732012-05-18 Andreas Jaeger <aj@suse.de>
33774
33775 * csu/.gitignore: Delete.
33776
bb07f69f
L
337772012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33778
33779 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33780 (timex): Use __syscall_slong_t.
33781
e6bdb741
AJ
337822012-05-18 Andreas Jaeger <aj@suse.de>
33783 Carlos O'Donell <carlos_odonell@mentor.com>
33784
33785 * manual/install.texi (Configuring and compiling): Update
33786 description about files modified in the source directory.
d6c33fda 33787 * INSTALL: Regenerated.
e6bdb741 33788
1b74487e
L
337892012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33790
33791 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33792 value. Use "or" to set return value to -1.
33793 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33794 negate return value.
33795
a88b64b9
TMQMF
337962012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33797
57f41c40
AS
33798 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33799 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
33800 failure if the compiler has Graphite support disabled.
33801 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33802 Likewise.
57f41c40
AS
33803 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33804 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
33805 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33806 Likewise.
33807
3707636e
L
338082012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33809
610b8622
L
33810 * sysdeps/x86_64/x32/_itoa.h: New file.
33811
7cd195df
L
33812 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33813 getdents system call only if kernel and user dirents have the
33814 same d_ino and d_off.
33815
94b07d20
L
33816 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33817 LLONG_MAX != LONG_MAX.
33818 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33819 (_fitoa_word): Likewise.
33820
18298070
L
33821 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33822 years.
33823 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33824 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33825 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33826
553c7ea4
L
33827 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33828 include <bits/wordsize.h>. Check __x86_64__ instead of
33829 __WORDSIZE.
33830 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33831 if __x86_64__ is defined. Use anonymous union on fpstate.
33832
3707636e
L
33833 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33834 anonymous union.
33835
b53ef01a
AS
338362012-05-18 Andreas Schwab <schwab@linux-m68k.org>
33837
37fb1dc0
AS
33838 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33839 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33840 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33841 Refer to _rtld_local_ro instead of _rtld_global_ro.
33842 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33843 Likewise.
33844 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33845 Likewise.
33846 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33847 Likewise.
33848 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33849 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33850 of _rtld_global, and rtld_progname instead of _dl_argv[0].
33851
b53ef01a
AS
33852 * sysdeps/powerpc/powerpc32/dl-machine.c
33853 (__elf_machine_runtime_setup) [PROF]: Don't reference
33854 _dl_prof_resolve.
33855
7a185db2
AJ
338562012-05-18 Andreas Jaeger <aj@suse.de>
33857
33858 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33859 function only available for GCCs before 3.4 since GCC 3.4
33860 introduced a builtin.
33861 (lrint): Likewise.
33862 (llrintf): Likewise.
33863 (llrint): Likewise.
33864 (fmaxf): Likewise.
33865 (fmax): Likewise.
33866 (fminf): Likewise.
33867 (fmin): Likewise.
33868 (rint): Likewise.
33869 (rintf): Likewise.
33870 (nearbyint): Likewise.
33871 (nearbyintf): Likewise.
33872 (ceil): Likewise.
33873 (ceilf): Likewise.
33874 (floor): Likewise.
33875 (floorf): Likewise.
33876
3e5aef87
L
338772012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33878
428bd707
L
33879 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33880 on both fields and cast pointer to __syscall_ulong_t.
33881
3e5aef87
L
33882 * bits/types.h (__fsword_t): New type.
33883 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33884 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33885 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33886 (__FSWORD_T_TYPE): Likewise.
33887 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33888 (__FSWORD_T_TYPE): Likewise.
33889 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33890 (__FSWORD_T_TYPE): Likewise.
33891 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33892 (__FSWORD_T_TYPE): Likewise.
33893 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33894 __SWORD_TYPE with __fsword_t.
33895 (statfs64): Likewise.
33896
1ba7c3dc
DM
338972012-05-17 David S. Miller <davem@davemloft.net>
33898
33899 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33900
59910343
AJ
339012012-05-17 Andreas Jaeger <aj@suse.de>
33902
33903 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33904 warning.
33905
2e4c1e9e
L
339062012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33907
33908 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33909
de7f5ce7
AJ
339102012-05-17 Andreas Jaeger <aj@suse.de>
33911
33912 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33913 when it is used.
33914
286abc3d
CM
339152012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33916
33917 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33918
477cc68e
L
339192012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33920
33921 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33922 * sysdeps/x86_64/tst-mallocalign1.c: New file.
33923
1a0994f5
CD
339242012-05-17 Andreas Jaeger <aj@suse.de>
33925 Carlos O'Donell <carlos_odonell@mentor.com>
33926
33927 [BZ #14059]
33928 * sysdeps/x86_64/multiarch/init-arch.h
33929 (bit_YMM_Usable): Rename to...
33930 (bit_AVX_Usable): ... this.
33931 (bit_FMA4_Usable): New macro.
33932 (bit_XMM_state): New macro.
33933 (bit_YMM_state): New macro.
33934 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33935 [__ASSEMBLER__] (index_AVX_Usable): ... this.
33936 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33937 (CPUID_OSXSAVE): New macro.
33938 (CPUID_AVX): New macro.
33939 (CPUID_FMA4): New macro.
33940 (index_YMM_Usable): Rename to...
33941 (index_AVX_Usable): ... this.
33942 (HAS_AVX): Use HAS_ARCH_FEATURE.
33943 (HAS_FMA4): Likewise.
33944 (HAS_YMM_USABLE): Remove.
33945 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33946 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33947 are present.
33948 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33949 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33950 * sysdeps/x86_64/multiarch/Makefile: Likewise.
33951 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33952 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33953
0af797de
CM
339542012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33955
33956 * math/libm-test.c: Support platforms without multiple rounding modes.
33957 * math/bug-nextafter.c: Support platforms without FP exceptions.
33958 * math/bug-nexttoward.c: Likewise.
33959 * math/test-fenv.c: Likewise.
33960 * math/test-misc.c: Likewise.
33961 * stdlib/bug-getcontext.c: Likewise.
33962
e39745ff
AJ
339632012-05-17 Andreas Jaeger <aj@suse.de>
33964
33965 * manual/examples/search.c (critter_cmp): Change signature to
33966 avoid warnings.
33967 * manual/string.texi (Collation Functions): Likewise.
33968
48970aba
L
339692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33970
33971 * bits/types.h: Fold copyright years.
33972 * bits/typesizes.h: Likewise.
33973 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33974 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33975 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33976 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33977 * time/time.h: Likewise.
33978
bedee953
PP
339792012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
33980
33981 [BZ #208]
33982 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33983 in instead of returning them. Return void.
33984 (__libc_mallinfo): Accumulate over all arenas.
33985 (__malloc_stats): Adjust for change in int_mallinfo interface.
33986
61653dfb
RM
339872012-05-16 Roland McGrath <roland@hack.frob.com>
33988
30b99d79
RM
33989 [BZ #10375]
33990 * configure.in (NM): Add AC_CHECK_TOOL for it.
33991 (libc_extra_cflags): New substituted variable.
33992 Check for -fstack-protector being used implicitly.
33993 * configure: Regenerated.
33994 * config.make.in (config-extra-cflags): New variable,
33995 gets @libc_extra_cflags@.
33996 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33997
61653dfb
RM
33998 [BZ #10375]
33999 * configure.in: Check for _FORTIFY_SOURCE being predefined.
34000 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34001 * configure: Regenerated.
34002 * config.make.in (CPPUNDEFS): New substituted variable.
34003 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34004 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34005 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34006
661768bb
L
340072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34008
34009 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34010 (mq_attr): Use __syscall_slong_t.
34011
d4261567
L
340122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34013
34014 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34015 Check __x86_64__ instead of __WORDSIZE.
34016 (_STAT_VER_LINUX): Likewise.
34017 (stat): Check __x86_64__ instead of __WORDSIZE. Use
34018 __syscall_ulong_t and __syscall_slong_t.
34019 (stat64): Likewise.
34020
cf3ff365
L
340212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34022
34023 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34024
76cf3e4d
L
340252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34026
34027 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34028
a637753a
L
340292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34030
34031 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34032 __syscall_ulong_t.
34033
d5e05119
L
34034 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34035 include <bits/wordsize.h>. Check __x86_64__ instead of
34036 __WORDSIZE.
34037 (greg_t): Use "__extension__ long long int" if __x86_64__ is
34038 defined.
34039 (mcontext_t): Replace "unsigned long" with "unsigned long long".
34040
f62ee380
L
34041 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34042 include <bits/wordsize.h>. Check __x86_64__ instead of
34043 __WORDSIZE.
34044 (user_regs_struct): Use "__extension__ unsigned long long"
34045 instead of "unsigned long" if __x86_64__ is defined.
34046 (user): Likewise. Pad after pointer field if __ILP32__ is
34047 defined.
34048
4e124ced
JM
340492012-05-16 Joseph Myers <joseph@codesourcery.com>
34050
6a3951a0
JM
34051 * configure.in (makeinfo): Require version 4.5 or later. Allow
34052 versions 5 to 9.
34053 * configure: Regenerated.
34054 * manual/install.texi (texinfo): Increase version requirement to
34055 4.5 or later.
34056 * INSTALL: Regenerated.
34057
4e124ced
JM
34058 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34059
953ca31a
L
340602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34061
34062 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34063
617aca05
L
34064 * sysdeps/x86_64/x32/ffs.c: New file.
34065
5762f7ae
L
34066 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34067 __syscall_ulong_t.
34068 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34069 defined. Use __syscall_ulong_t.
34070 (shminfo): Use __syscall_ulong_t.
34071 (shm_info): Likewise.
34072
a26b6856
L
34073 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34074 __syscall_ulong_t.
34075
cb2b9ef7
L
34076 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34077 <bits/wordsize.h>.
34078 (msgqnum_t): Use __syscall_ulong_t.
34079 (msglen_t): Likewise.
34080 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
34081 __syscall_ulong_t.
34082
34683bb0
L
34083 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34084 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34085
84a68786
L
34086 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34087
48baa5f1
L
34088 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34089 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34090
180be88b
L
34091 * sysvipc/sys/msg.h (msgbuf): Replace long int with
34092 __syscall_slong_t.
34093
5e90c8ad
L
34094 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34095 include <bits/wordsize.h>. Check __x86_64__ instead of
34096 __WORDSIZE.
34097
23dfb58b
L
34098 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34099 "unsigned long long int" if __x86_64__ is defined.
34100 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34101
ce5d54b0
L
34102 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34103 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34104 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34105
13dc9eac
L
34106 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34107 <stdint.h>.
34108 (GET_PC): Cast to uintptr_t first.
34109 (GET_FRAME): Likewise.
34110 (GET_STACK): Likewise.
34111
a7895d15
L
34112 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34113 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34114 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34115 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34116 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34117 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34118 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34119 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34120 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34121 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34122 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34123 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34124 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34125 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34126 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34127 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34128 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34129 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34130 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34131 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34132 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34133 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34134 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34135 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34136 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34137 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34138 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34139 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34140 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34141
656416c9
AS
341422012-05-16 Andreas Schwab <schwab@linux-m68k.org>
34143
5bd66283
AS
34144 * Makerules (+depfiles): Also collect depfiles from .oS in
34145 $(extra-objs).
34146 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34147 .oS, $(libnldbl-routines)).
34148
656416c9
AS
34149 * Makerules (native-compile-mkdep-flags): Define.
34150 * sunrpc/Makefile (extra-objs): Add $(addprefix
34151 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34152 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34153 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
34154 calling $(make-target-directory).
34155
a46f2169
L
341562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34157
34158 * bits/types.h (__snseconds_t): Removed.
34159 * time/time.h (struct timespec): Replace __snseconds_t with
34160 __syscall_slong_t.
34161 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34162 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34163 Likewise.
34164 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34165 (__SNSECONDS_T_TYPE): Likewise.
34166 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34167 (__SNSECONDS_T_TYPE): Likewise.
34168 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34169 (__SNSECONDS_T_TYPE): Likewise.
34170
6af6528b
L
341712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34172
34173 * sysdeps/mach/hurd/bits/typesizes.h
34174 (__SYSCALL_SLONG_TYPE): New macro.
34175 (__SYSCALL_ULONG_TYPE): Likewise.
34176
de986b56
L
341772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34178
34179 * bits/types.h (__syscall_slong_t): New type.
34180 (__syscall_ulong_t): Likewise.
34181
34182 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34183 (__SYSCALL_ULONG_TYPE): Likewise.
34184 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34185 (__SYSCALL_SLONG_TYPE): Likewise.
34186 (__SYSCALL_ULONG_TYPE): Likewise.
34187 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34188 (__SYSCALL_SLONG_TYPE): Likewise.
34189 (__SYSCALL_ULONG_TYPE): Likewise.
34190 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34191 (__SYSCALL_SLONG_TYPE): Likewise.
34192 (__SYSCALL_ULONG_TYPE): Likewise.
34193
85736dc7
L
341942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34195
34196 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34197 Add sigaltstack-offsets.sym.
34198 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34199 <sigaltstack-offsets.h>.
34200 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
34201 longjmp_msg pointer.
34202 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
34203 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34204 signal stack.
34205 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34206
cc03b296
JM
342072012-05-15 Joseph Myers <joseph@codesourcery.com>
34208
a9538892
JM
34209 * elf/stackguard-macros.h: Remove file.
34210 * sysdeps/generic/stackguard-macros.h: New file.
34211 * sysdeps/i386/stackguard-macros.h: Likewise.
34212 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34213 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34214 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34215 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34216 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34217 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34218 * sysdeps/x86_64/stackguard-macros.h: Likewise.
34219 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34220 <elf/stackguard-macros.h>.
34221
cc03b296
JM
34222 [BZ #14109]
34223 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34224 __aligned__ in attribute.
34225 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34226 (gregset_t): Likewise.
34227
93171016
L
342282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34229
34230 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34231 * sysdeps/x86_64/64/Implies-after: Here. New file.
34232 * sysdeps/x86_64/x32/Implies-after: New file.
34233
d86813a0
L
342342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34235
34236 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34237 and access return value for _dl_profile_fixup. Use R10_LP to
34238 load frame size.
34239
2953ec75
L
342402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34241
34242 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34243
3b550e9e
L
342442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34245
34246 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34247 * sysdeps/x86_64/x32/sysdep.h: New file.
34248
eda41706
L
342492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34250
34251 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34252 * sysdeps/x86_64/setjmp.S: Likewise.
34253
9ea01d93
AZ
342542012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34255
34256 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34257 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34258 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34259 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34260 remove unused global constant.
34261
02a91938
CM
342622012-05-15 Chris Metcalf <cmetcalf@tilera.com>
34263
34264 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34265 include of <not-cancel.h>.
34266
6540185f
RM
342672012-05-15 Roland McGrath <roland@hack.frob.com>
34268
34269 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34270
509072a0
AJ
342712012-05-15 Jeff Law <law@redhat.com>
34272 Andreas Jaeger <aj@suse.de>
34273
34274 [BZ #13594]
34275 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34276 out from...
34277 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34278 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34279 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34280 code changing __hst_map_handle.map.
34281
ba75122d
RM
342822012-05-15 Roland McGrath <roland@hack.frob.com>
34283
34284 * configure.in (sysnames): Look for Implies-before and Implies-after
34285 files.
34286 * configure: Regenerated.
34287
890d8bd8
L
342882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34289
34290 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34291 8-byte data alignment with LP_SIZE alignment.
34292
f6ee6623
L
342932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34294
34295 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34296 into R10_LP.
34297
ea2626f6
L
342982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34299
34300 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34301
085f715e
L
343022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34303
34304 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34305 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34306 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34307 Likewise.
34308 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34309
be8498fc
L
343102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34311
34312 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34313 (stackinfo_sub_sp): Likewise.
34314
70bc83b9
L
343152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34316
34317 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34318 RAX_LP.
34319
9bc0b730
L
343202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34321
34322 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34323 into R*_LP.
34324
6d2850e7
L
343252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34326
34327 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34328 sizes into R*_LP.
34329
3cb84561
L
343302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34331
34332 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34333
54e2ed81
L
343342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34335
34336 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34337 into R11_LP and load __x86_64_shared_cache_size_half into
34338 R8_LP.
34339
8a17f349
L
343402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34341
34342 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34343 R8_LP.
34344
777b1eea
AZ
343452012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34346
34347 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34348 logb for POWER7.
34349 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34350 logbf for POWER7.
34351 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34352 logbl for POWER7.
34353 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34354 powerpc32/power7/fpu/s_logb.c via #include.
34355 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34356 powerpc32/power7/fpu/s_logbf.c via #include.
34357 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34358 powerpc32/power7/fpu/s_logbl.c via #include.
34359
d20d4ac2
JM
343602012-05-15 Joseph Myers <joseph@codesourcery.com>
34361
34362 * README.libm: Remove file.
34363
6cdef1ab
L
343642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34365
34366 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34367 count for x32. Use R*_LP and omit operand-size suffix.
34368
0b254d8f
L
343692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34370
34371 * shlib-versions: Move x86_64-.*-linux.* entries to ...
34372 * sysdeps/x86_64/64/shlib-versions: Here. New file.
34373 * sysdeps/x86_64/x32/shlib-versions: New file.
34374
ceb809dc
RM
343752012-05-14 Roland McGrath <roland@hack.frob.com>
34376
34377 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34378 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34379 Use _dl_fatal_printf instead.
34380
37f1abd4
JM
343812012-05-14 Joseph Myers <joseph@codesourcery.com>
34382
34383 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34384 set if not set by the user. Do not allow for being unset.
34385 * sysdeps/unix/sysv/linux/configure: Regenerated.
34386
11de3a33
L
343872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34388
34389 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34390 the `q' suffix from lea and replace .quad with ASM_ADDR.
34391
e02f153a
L
343922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34393
34394 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34395 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
34396 instead of $17.
34397 (PTR_DEMANGLE): Likewise.
34398
520ae0fd
L
343992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34400
34401 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34402 (LP_OP): Likewise.
34403 (ASM_ADDR): Likewise.
34404 (RAX_LP): Likewise.
34405 (RBP_LP): Likewise.
34406 (RBX_LP): Likewise.
34407 (RCX_LP): Likewise.
34408 (RDI_LP): Likewise.
34409 (RSI_LP): Likewise.
34410 (RSP_LP): Likewise.
34411 (R8_LP): Likewise.
34412 (R9_LP): Likewise.
34413 (R10_LP): Likewise.
34414 (R10_LP): Likewise.
34415 (R11_LP): Likewise.
34416 (R12_LP): Likewise.
34417 (R13_LP): Likewise.
34418 (R14_LP): Likewise.
34419 (R15_LP): Likewise.
34420
b985be81
L
344212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34422
34423 * sysdeps/x86_64/x32/dl-machine.h: New file.
34424
6a4888ff
AJ
344252012-05-14 Andreas Jaeger <aj@suse.de>
34426
34427 * manual/Makefile (subdir): Remove export of subdir.
34428 (all): Remove target.
34429 (.PHONY): Remove all from list.
34430 (mkinstalldirs): Remove.
34431 (.PHONY): Remove installdirs from list.
34432 ($(inst_infodir)/libc.info): Use make-target-directory.
34433 (installdirs): Remove.
34434 (subdir_%): Remove.
34435 (glibc-targets): Remove.
34436 (lib): Remove.
34437 (stubs): Remove.
34438 ($(objpfx)stubs ../po/manual.pot): Remove.
34439 ($(objpfx)stamp%): Remove.
34440 (make-target-directory): Remove.
34441 (subdir_install): Remove.
34442 (routines): Remove.
34443 (aux): Remove.
34444 (sources): Remove.
34445 (objects): Remove.
34446 (headers): Remove.
34447
34448 [BZ #13750]
34449 * manual/.gitignore: Remove, it's not needed anymore.
34450 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34451 all files in it.
34452 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34453 directory.
34454 (texis): Renamed to $(objpfx)texis.
34455 (texis-path): New, contains path to generated files.
34456 (chapters.%): Use texis-path for complete path, add extra argument
34457 libc-texinfo.sh.
34458 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34459 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34460 (summary,texi, stamp-summary): Use complete path of
34461 files. Generate files in build dir.
34462 (dir-add.texi): Build in build dir.
34463 (libm-err.texi,stamp-libm-err): Likewise.
34464 (version.texi, stamp-version): Likewise.
34465 (.%c.texi): Likewise.
34466 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34467 (mostlyclean): Remove target.
34468 (realclean): Remove target.
34469 (generated): Add new variable with contents from mostlyclean and
34470 realclean, remove entries duplicated in common-mostlyclean, add
34471 stamp-libm-err and stamp-version.
34472 (generated-dirs): Add libc directory.
34473 ($(inst_infodir)/libc.info): Install files from build dir.
34474
34475 * manual/install.texi (Configuring and compiling): Adjust since
34476 the info files are not part of the tar ball anymore.
34477
7ac77294
AJ
344782012-05-14 Andreas Jaeger <aj@suse.de>
34479
34480 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34481 variable.
34482
ffb7875d
JM
344832012-05-14 Joseph Myers <joseph@codesourcery.com>
34484
34485 [BZ #13717]
34486 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34487 to 2.2.0 where earlier.
34488 * sysdeps/unix/sysv/linux/configure: Regenerated.
34489 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34490 Remove conditional code.
34491 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34492 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34493 Remove conditional code.
34494 [!__NR_lchown]: Likewise.
34495 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34496 [__NR_lchown]: Likewise.
34497 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34498 comment referencing __ASSUME_LCHOWN_SYSCALL.
34499 * sysdeps/unix/sysv/linux/i386/sigaction.c
34500 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34501 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34502 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34503 Remove conditional code.
34504 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34505 (__protocol_available): Remove #if 0 code.
34506 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34507 conditional code.
34508 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34509 * sysdeps/unix/sysv/linux/kernel-features.h
34510 (__ASSUME_GETCWD_SYSCALL): Don't define.
34511 (__ASSUME_REALTIME_SIGNALS): Likewise.
34512 (__ASSUME_PREAD_SYSCALL): Likewise.
34513 (__ASSUME_PWRITE_SYSCALL): Likewise.
34514 (__ASSUME_POLL_SYSCALL): Likewise.
34515 (__ASSUME_LCHOWN_SYSCALL): Likewise.
34516 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34517 non-SPARC.
34518 (__ASSUME_SIOCGIFNAME): Don't define.
34519 (__ASSUME_MSG_NOSIGNAL): Likewise.
34520 (__ASSUME_SENDFILE): Define unconditionally.
34521 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34522 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34523 conditional code.
34524 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34525 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34526 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34527 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34528 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34529 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34530 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34532 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34533 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34535 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34536 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34538 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34539 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34541 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34542 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34544 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34545 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34547 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34548 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34550 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34551 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34553 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34554 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34555 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34556 Remove conditional code.
34557 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34558 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34559 Remove conditional code.
34560 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34561 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34562 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34563 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34564 Remove conditional code.
34565 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34566 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34567 Remove conditional code.
34568 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34569 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34570 Remove conditional code.
34571 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34572 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34573 Remove conditional code.
34574 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34575 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34576 Remove conditional code.
34577 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34578 * sysdeps/unix/sysv/linux/sh/pwrite64.c
34579 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34580 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34581 * sysdeps/unix/sysv/linux/sigaction.c
34582 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34583 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34584 * sysdeps/unix/sysv/linux/sigpending.c
34585 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34586 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34587 * sysdeps/unix/sysv/linux/sigprocmask.c
34588 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34589 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34590 * sysdeps/unix/sysv/linux/sigsuspend.c
34591 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34592 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34593 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34594 (__libc_missing_rt_sigs): Remove.
34595 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34596 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34597 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34598 Remove conditional code.
34599 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34600 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34601 return 1.
34602 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34603 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34604 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34605 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34606
1bfb7291
AJ
346072012-05-14 Andreas Jaeger <aj@suse.de>
34608
caae5a81
AJ
34609 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34610 it's not used in glibc.
34611 (__coshm1): Likewise.
34612 (__acosh1p): Likewise.
34613 (__sgn): Likewise.
34614
1bfb7291
AJ
34615 * manual/string.texi (Copying and Concatenation): Add missing
34616 variable in concat example.
34617 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34618
c044d724
L
346192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34620
144c5467 34621 [BZ #14103]
c044d724
L
34622 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34623 __builtin_clzl with __builtin_clzll.
34624
2523c62b
L
346252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34626
34627 [BZ #14104]
34628 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34629 libc_freeres_ptr.
34630
d7bb4c42
LD
346312012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34632
34633 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34634 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34635 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34636 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34637
9dc4e1fb
MF
346382012-05-14 Mike Frysinger <vapier@gentoo.org>
34639
34640 * NEWS: Update ia64 info.
34641
c7df0112
AS
346422012-05-12 Andreas Schwab <schwab@linux-m68k.org>
34643
34644 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34645 used as bcopy.
34646
dc70356c
TS
346472012-05-12 Thomas Schwinge <thomas@codesourcery.com>
34648
34649 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34650 * sysdeps/unix/syscalls.list (dup3): Likewise.
34651 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34652 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34653
9fb1a21f
L
346542012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34655
34656 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34657 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34658
4822a2a5
L
346592012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34660
34661 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34662 thread pointer.
34663 (TLS_IE): Use mov/add instead of movq/addq to load thread
34664 pointer.
34665 (TLS_GD_PREFIX): New.
34666 (TLS_GD): Use it.
34667
842b81d6
DM
346682012-05-11 David S. Miller <davem@davemloft.net>
34669
34670 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34671 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34672 (_FPU_SETCW): Likewise.
34673
1cf463cd
L
346742012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34675
34676 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34677 is 32-byte aligned.
34678
60cc4a18
AS
346792012-05-11 Andreas Schwab <schwab@linux-m68k.org>
34680
34681 [BZ #11837]
34682 * iconvdata/gb18030.c: Update tables.
34683 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
34684 characters specially.
34685 (BODY for TO_LOOP): Add encoding of missing ranges.
34686
febb44a4
TS
346872012-05-11 Thomas Schwinge <thomas@codesourcery.com>
34688
34689 [BZ #13673]
34690 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34691 * sysdeps/mach/hurd/dup3.c: Likewise.
34692 * sysdeps/mach/hurd/readlinkat.c: Likewise.
34693 * sysdeps/powerpc/memmove.c:: Likewise.
34694
0a10fb9e
L
346952012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34696
34697 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34698 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34699
df8a552f
L
347002012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34701
34702 * elf/elf.h (R_X86_64_RELATIVE64): New.
34703 (R_X86_64_NUM): Updated.
34704 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34705 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
34706 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34707 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34708 tst-quad1pie tst-quad2pie
34709 (modules-names): Add tst-quadmod1 tst-quadmod2.
34710 ($(objpfx)tst-quad1): New dependency.
34711 ($(objpfx)tst-quad2): Likewise.
34712 ($(objpfx)tst-quad1pie): Likewise.
34713 ($(objpfx)tst-quad2pie): Likewise.
34714 * sysdeps/x86_64/tst-quad1.c: New file.
34715 * sysdeps/x86_64/tst-quad1pie.c: New file.
34716 * sysdeps/x86_64/tst-quad2.c: Likewise.
34717 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34718 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34719 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34720 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34721 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34722
f34d6f84
ST
347232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34724
f42d41d1
ST
34725 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34726 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34727 * streams/stropts.h (t_scalar_t): Define type.
34728
3c3571fc
ST
34729 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34730 (_PATH_PRESERVE): Set to "/var/lib".
34731 (_PATH_RWHODIR): Set to "/var/spool/rwho".
34732
61f06bd3
ST
34733 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34734 instead of int.
34735
918d4d71
ST
34736 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34737 if __dir_mkfile succeeded.
34738
f34d6f84
ST
34739 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34740 checking for _hurd_dtablesize. Unlock it right after having
34741 finished _hurd_dtable allocation.
34742
10589b4a
TS
347432012-05-10 Thomas Schwinge <thomas@schwinge.name>
34744
674cdbc7
TS
34745 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34746 * sysdeps/mach/hurd/configure: Regenerated.
34747 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34748 special-casing to...
34749 * sysdeps/gnu/configure.in: ... this new file.
34750 * sysdeps/unix/sysv/linux/configure: Regenerated.
34751 * sysdeps/gnu/configure: New generated file.
34752
8e41b99f
TS
34753 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34754 for Linux: use nsec instead of usec, as well as:
34755 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34756 members of type struct timespec.
34757 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34758 New macros.
34759 (struct stat64): Likewise.
34760 (_STATBUF_ST_NSEC): New macro.
34761 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34762
10589b4a
TS
34763 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34764 __strtoul_internal rather than strtoul.
34765
63643c85
PT
347662012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34767
34768 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34769 and reject them.
34770
3faebe6a
ST
347712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34772
34773 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34774 which preserves existing values.
34775 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34776
c6474b07
PT
347772012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34778
34779 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34780 TIMEOUT values. Return EINVAL for NFDS values either negative or
34781 greater than FD_SETSIZE.
34782
1043890b
ST
347832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34784
34785 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34786 allocated, call __vm_protect to finish enabling the existing space, and
34787 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34788 allocate the remainder.
34789
37ed8b9b
PT
347902012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34791
34792 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34793 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
34794
db653660
ST
347952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34796
37ed8b9b
PT
34797 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34798 sysdeps/mach/hurd/readlink.c.
b29d4053 34799
db653660
ST
34800 * posix/tst-sysconf.c (posix_options): Only use
34801 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34802 _POSIX_SYNCHRONIZED_IO when they are defined
34803 * sysdeps/mach/hurd/bits/posix_opt.h:
34804 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34805 (_XOPEN_REALTIME): Undefine macro.
34806 (_XOPEN_REALTIME_THREADS): Undefine macro.
34807 (_XOPEN_SHM): Undefine macro.
34808 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34809 macro to -1.
34810 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34811 macro to -1.
34812 (_POSIX_ASYNC_IO): Undefine macro.
34813 (_POSIX_PRIORITIZED_IO): Undefine macro.
34814 (_POSIX_SPIN_LOCKS): Define macro to -1.
34815
ee16e894
ST
34816 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34817 SA_NODEFER, SA_RESETHAND.
34818 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34819 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34820 F_DUPFD_CLOEXEC.
34821
6103ae3b
TS
348222012-05-10 Thomas Schwinge <thomas@schwinge.name>
34823
34824 * elf/Makefile (pldd-modules): Define unconditionally.
34825
80b4e5f3
TS
348262012-05-10 Thomas Schwinge <thomas@schwinge.name>
34827
34828 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34829
edadcbd6
ST
348302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34831
34832 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34833 Return ENOENT when name is empty.
34834 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34835
80694780
TS
348362012-05-10 Thomas Schwinge <thomas@schwinge.name>
34837
1792c087
TS
34838 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34839
80694780
TS
34840 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34841
6b645f0d
ST
348422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34843
80694780
TS
34844 Fix mlock in all cases except non-readable pages.
34845 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34846 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 34847
6b645f0d
ST
34848 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34849 (__mkdir): When path is `/', just fail with EEXIST.
34850 * sysdeps/mach/hurd/mkdirat.c: Likewise.
34851
e468f8a3
TS
348522012-05-10 Thomas Schwinge <thomas@schwinge.name>
34853
34854 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34855 <sys/uio.h> (for writev).
34856 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34857 and <sys/param.h> (for MIN).
34858
a4186cff
PT
348592012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34860
34861 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34862 REQUESTED_TIME. Properly set the remaining time and return EINTR
34863 if interrupted.
34864
510bbf14
TS
348652012-05-10 Thomas Schwinge <thomas@schwinge.name>
34866
34867 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34868 Depend on against $(link-rpcuserlibs).
34869
5d5722e8
ST
348702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34871
a4186cff
PT
34872 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34873 (__libc_stack_end): Do not use attribute_relro.
34874 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34875 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 34876 to libthread-provided value.
a4186cff
PT
34877 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34878 attribute_relro.
5d5722e8 34879
37233df9
TS
348802012-05-10 Thomas Schwinge <thomas@schwinge.name>
34881
be971a2b
TS
34882 [BZ #3748]
34883 * bits/libc-lock.h (__libc_once_get): New macro.
34884 * sysdeps/mach/bits/libc-lock.h: Likewise.
34885 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34886 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34887 instead of using implementation details.
34888
37233df9
TS
34889 * libio/fileops.c: Unconditionally include <kernel-features.h>.
34890 * libio/freopen.c: Likewise.
34891 * libio/freopen64.c: Likewise.
34892 * misc/syslog.c: Likewise.
34893 * nscd/connections.c: Likewise.
34894 * nscd/netgroupcache.c: Likewise.
34895 * sysdeps/posix/getcwd.c: Likewise.
34896
38de94a5
RM
348972012-05-10 Roland McGrath <roland@hack.frob.com>
34898
34899 * math/w_ilogbf.c: Add #include <limits.h>.
34900
67530489
ST
349012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34902
a4186cff 34903 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
34904 path instead of returning without unlocking.
34905
67530489
ST
34906 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34907 immediate-write ioctls.
34908 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34909
5aa3a74a
TS
349102012-05-10 Thomas Schwinge <thomas@schwinge.name>
34911
18bad2ae
TS
34912 * sysdeps/mach/hurd/i386/init-first.c (init): Use
34913 __builtin_frame_address instead of making assumptions about the
34914 location of the return address relative to DATA. Force early load of
34915 the return address.
34916 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34917 __builtin_frame_address.
34918
5aa3a74a
TS
34919 dup3 for GNU Hurd.
34920 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34921 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
34922 implement dup3 and do some further code clean-ups.
34923 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34924 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34925
ecd0de9a
ST
349262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34927
cd9fa985
ST
34928 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34929
a4186cff
PT
34930 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34931 HURD_CRITICAL_END around holding _hurd_dtable_lock.
34932 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34933 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34934 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34935 d->port.lock.
802ca5a5 34936
a4186cff
PT
34937 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34938 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
34939 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 34940
bcf55240
TS
349412012-05-10 Thomas Schwinge <thomas@schwinge.name>
34942
6960eb42
TS
34943 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34944 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34945 definitions.
34946
eb43375f
TS
34947 accept4 for GNU Hurd.
34948 * include/sys/socket.h (__libc_accept4): New prototype.
34949 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
34950 to implement __libc_accept4.
34951 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34952 __libc_accept4.
34953 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34954
bcf55240
TS
34955 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34956 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34957 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34958 signal-defines.sym.
34959
6178c55b
ST
349602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34961
a4186cff 34962 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 34963
6f080c2f
TS
349642012-05-10 Thomas Schwinge <thomas@schwinge.name>
34965
34966 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34967 assertion on O_CLOEXEC flag.
34968 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34969 * hurd/intern-fd.c: Likewise.
34970 * hurd/port2fd.c: Likewise.
34971
bcfe3a54
ST
349722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34973
34974 [BZ #3906]
34975 * bits/in.h (IPV6_PKTINFO): Define new macro.
34976 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34977
89c9aa49
AZ
349782012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34979
34980 [BZ #13954]
34981 [BZ #13955]
34982 [BZ #13956]
34983 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34984 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34985 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34986 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34987 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34988 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34989 * math/libm-test.inc (logb_test) : Additional logb tests.
34990
021db4be
AJ
349912012-05-09 Andreas Schwab <schwab@linux-m68k.org>
34992 Andreas Jaeger <aj@suse.de>
34993
34994 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34995 * configure: Regenerated.
34996 * config.h.in (LINK_OBSOLETE_RPC): New macro.
34997 * config.make.in (link-obsolete-rpc): New substituted variable.
34998 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34999 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35000 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35001 (shared-only-routines): Don't set it under [link-obsolete-rpc],
35002 so that libc.a contains the symbols.
35003 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35004 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35005 * sunrpc/auth_none.c: Likewise.
35006 * sunrpc/auth_unix.c: Likewise.
35007 * sunrpc/authdes_prot.c: Likewise.
35008 * sunrpc/authuxprot.c: Likewise.
35009 * sunrpc/clnt_gen.c: Likewise.
35010 * sunrpc/clnt_perr.c: Likewise.
35011 * sunrpc/clnt_raw.c: Likewise.
35012 * sunrpc/clnt_simp.c: Likewise.
35013 * sunrpc/clnt_tcp.c: Likewise.
35014 * sunrpc/clnt_udp.c: Likewise.
35015 * sunrpc/clnt_unix.c: Likewise.
35016 * sunrpc/des_crypt.c: Likewise.
35017 * sunrpc/des_soft.c: Likewise.
35018 * sunrpc/get_myaddr.c: Likewise.
35019 * sunrpc/key_call.c: Likewise.
35020 * sunrpc/key_prot.c: Likewise.
35021 * sunrpc/netname.c: Likewise.
35022 * sunrpc/pm_getmaps.c: Likewise.
35023 * sunrpc/pm_getport.c: Likewise.
35024 * sunrpc/pmap_clnt.c: Likewise.
35025 * sunrpc/pmap_prot.c: Likewise.
35026 * sunrpc/pmap_prot2.c: Likewise.
35027 * sunrpc/pmap_rmt.c: Likewise.
35028 * sunrpc/publickey.c: Likewise.
35029 * sunrpc/rpc_cmsg.c: Likewise.
35030 * sunrpc/rpc_common.c: Likewise.
35031 * sunrpc/rpc_dtable.c: Likewise.
35032 * sunrpc/rpc_prot.c: Likewise.
35033 * sunrpc/rpc_thread.c: Likewise.
35034 * sunrpc/rtime.c: Likewise.
35035 * sunrpc/svc.c: Likewise.
35036 * sunrpc/svc_auth.c: Likewise.
35037 * sunrpc/svc_raw.c: Likewise.
35038 * sunrpc/svc_run.c: Likewise.
35039 * sunrpc/svc_tcp.c: Likewise.
35040 * sunrpc/svc_udp.c: Likewise.
35041 * sunrpc/svc_unix.c: Likewise.
35042 * sunrpc/svcauth_des.c: Likewise.
35043 * sunrpc/xcrypt.c: Likewise.
35044 * sunrpc/xdr.c: Likewise.
35045 * sunrpc/xdr_array.c: Likewise.
35046 * sunrpc/xdr_float.c: Likewise.
35047 * sunrpc/xdr_intXX_t.c: Likewise.
35048 * sunrpc/xdr_mem.c: Likewise.
35049 * sunrpc/xdr_rec.c: Likewise.
35050 * sunrpc/xdr_ref.c: Likewise.
35051 * sunrpc/xdr_sizeof.c: Likewise.
35052 * sunrpc/xdr_stdio.c: Likewise.
35053
b5c086a2
RM
350542012-05-10 Roland McGrath <roland@hack.frob.com>
35055
35056 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35057 change. Update copyright years.
35058
6d74dd09
JM
350592012-05-10 Joseph Myers <joseph@codesourcery.com>
35060
35061 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35062
28e72501
MK
350632012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
35064 Joseph Myers <joseph@codesourcery.com>
35065 Paul Pluzhnikov <ppluzhnikov@google.com>
35066
35067 [BZ #14012]
35068 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35069 requiring rpcgen.
35070 [cross-compiling] (extra-libs): Likewise.
35071 [cross-compiling] (extra-libs-others): Likewise.
35072 [cross-compiling] (librpcsvc-routines): Likewise.
35073 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35074 [cross-compiling] (omit-deps): Likewise.
35075 (sunrpc-CPPFLAGS): New variable.
35076 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35077 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35078 (cross-rpcgen-objs): New variable.
35079 (extra-objs): Append $(cross-rpcgen-objs).
35080 ($(cross-rpcgen-objs)): New rule.
35081 ($(objpfx)cross-rpcgen): Likewise.
35082 (rpcgen-cmd): Define to use $(built-program-file). Expand
35083 comment.
35084 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35085 ($(objpfx)x%.stmp): Likewise.
35086 * sunrpc/proto.h [IS_IN_build] (_): Define.
35087 [IS_IN_build] (_libc_intl_domainname): Likewise.
35088
c8c59454
L
350892012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35090
35091 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35092 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35093 and R_X86_64_TPOFF64.
35094
6f27cd16
JM
350952012-05-10 Joseph Myers <joseph@codesourcery.com>
35096
35097 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35098 sysdeps/unix/sysv/syscalls.list.
35099 (stime): Likewise.
35100 (utime): Likewise.
35101 * sysdeps/unix/sysv/syscalls.list: Remove file.
35102
02467e1c
PE
351032012-05-10 Paul Eggert <eggert@cs.ucla.edu>
35104
35105 [BZ #3440]
35106 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35107 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35108 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35109 (__LC_IDENTIFICATION): Make these macros useful in #if
35110 expressions, as required by C99.
35111
da392631
AS
351122012-05-10 Andreas Schwab <schwab@linux-m68k.org>
35113
35114 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35115 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
35116 after this.
35117
8115f29b
L
351182012-05-09 H.J. Lu <hongjiu.lu@intel.com>
35119
35120 * stdlib/longlong.h: Updated from GCC.
35121
bdd74070
AJ
351222012-05-09 Andreas Jaeger <aj@suse.de>
35123
edfe0dbe
AJ
35124 * nscd/nscd.c (run_modes): Make named enum, reorder so that
35125 default is first entry.
35126 (run_mode): Set type.
35127 (main): Remove informal message about syslog.
35128 (options): Fix typo.
35129
bcfe3a54
ST
35130 [BZ #14053]
35131 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 35132 to asm.
bcfe3a54
ST
35133 (lrint): Likewise.
35134 (llrintf): Likewise.
35135 (llrint): Likewise.
35136 (rint): Likewise.
35137 (rintf): Likewise.
35138 (nearbyint): Likewise.
35139 (nearbyintf): Likewise.
bdd74070 35140
91d8d69e
AJ
351412012-05-09 Andreas Jaeger <aj@suse.de>
35142 Pedro Alves <palves@redhat.com>
35143
35144 * nscd/nscd.c (run_mode): Use enum.
35145 (main): Cleanup coding style issue.
35146
bb90b80b
AJ
351472012-05-09 Alexandre Oliva <aoliva@redhat.com>
35148 Andreas Jaeger <aj@suse.de>
35149
bcfe3a54
ST
35150 * nscd/nscd.c (go_background): Replaced with...
35151 (run_mode): ... this.
bb90b80b 35152 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
35153 (options): Add -F --foreground.
35154 (main): Implement it.
35155 (parse_opt): Parse it.
bb90b80b 35156
1a4b75a1
AJ
351572012-05-09 Andreas Jaeger <aj@suse.de>
35158
35159 [BZ #14083]
35160 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35161 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35162 -Wconversion warning.
35163 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35164 Likewise.
35165
b1cc2472
JM
351662012-05-09 Joseph Myers <joseph@codesourcery.com>
35167
35168 * conform/data/locale.h-data (NULL): Use macro-constant. Require
35169 == 0.
35170 (LC_ALL): Use macro-int-constant.
35171 (LC_COLLATE): Likewise.
35172 (LC_CTYPE): Likewise.
35173 (LC_MESSAGES): Likewise.
35174 (LC_MONETARY): Likewise.
35175 (LC_NUMERIC): Likewise.
35176 (LC_TIME): Likewise.
35177 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35178 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35179 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35180 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35181 Specify type.
35182 [C99-based standards] (float_t): Expect type.
35183 [C99-based standards] (double_t): Expect type.
35184 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
35185 type.
35186 [C99-based standards] (HUGE_VALL): Likewise.
35187 [C99-based standards] (INFINITY): Likewise.
35188 [C99-based standards] (NAN): Likewise.
35189 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35190 [C99-based standards] (FP_NAN): Likewise.
35191 [C99-based standards] (FP_NORMAL): Likewise.
35192 [C99-based standards] (FP_SUBNORMAL): Likewise.
35193 [C99-based standards] (FP_ZERO): Likewise.
35194 [C99-based standards] (FP_FAST_FMA): Use
35195 optional-macro-int-constant. Specify type. Require == 1.
35196 [C99-based standards] (FP_FAST_FMAF): Likewise.
35197 [C99-based standards] (FP_FAST_FMAL): Likewise.
35198 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35199 [C99-based standards] (FP_ILOGBNAN): Likewise.
35200 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35201 Specify type.
35202 [C99-based standards] (MATH_ERREXCEPT): Likewise.
35203 [C99-based standards] (math_errhandling): Specify type.
35204 [ISO99 || ISO11] (signgam): Do not allow.
35205 [non-C99-based standards] (copysignf): Do not allow.
35206 [non-C99-based standards] (exp2f): Likewise.
35207 [non-C99-based standards] (log2f): Likewise.
35208 [non-C99-based standards] (modff): Allow.
35209 [non-C99-based standards] (erff): Do not allow.
35210 [non-C99-based standards] (erfcf): Likewise.
35211 [non-C99-based standards] (gammaf): Likewise.
35212 [non-C99-based standards] (hypotf): Likewise.
35213 [non-C99-based standards] (j0f): Likewise.
35214 [non-C99-based standards] (j1f): Likewise.
35215 [non-C99-based standards] (jnf): Likewise.
35216 [non-C99-based standards] (lgammaf): Likewise.
35217 [non-C99-based standards] (tgammaf): Likewise.
35218 [non-C99-based standards] (y0f): Likewise.
35219 [non-C99-based standards] (y1f): Likewise.
35220 [non-C99-based standards] (ynf): Likewise.
35221 [non-C99-based standards] (isnanf): Likewise.
35222 [non-C99-based standards] (acoshf): Likewise.
35223 [non-C99-based standards] (asinhf): Likewise.
35224 [non-C99-based standards] (atanhf): Likewise.
35225 [non-C99-based standards] (cbrtf): Likewise.
35226 [non-C99-based standards] (expm1f): Likewise.
35227 [non-C99-based standards] (ilogbf): Likewise.
35228 [non-C99-based standards] (log1pf): Likewise.
35229 [non-C99-based standards] (logbf): Likewise.
35230 [non-C99-based standards] (nextafterf): Likewise.
35231 [non-C99-based standards] (remainderf): Likewise.
35232 [non-C99-based standards] (rintf): Likewise.
35233 [non-C99-based standards] (scalbf): Likewise.
35234 [non-C99-based standards] (copysignl): Likewise.
35235 [non-C99-based standards] (exp2l): Likewise.
35236 [non-C99-based standards] (log2l): Likewise.
35237 [non-C99-based standards] (modfl): Allow.
35238 [non-C99-based standards] (erfl): Do not allow.
35239 [non-C99-based standards] (erfcl): Likewise.
35240 [non-C99-based standards] (gammal): Likewise.
35241 [non-C99-based standards] (hypotl): Likewise.
35242 [non-C99-based standards] (j0l): Likewise.
35243 [non-C99-based standards] (j1l): Likewise.
35244 [non-C99-based standards] (jnl): Likewise.
35245 [non-C99-based standards] (lgammal): Likewise.
35246 [non-C99-based standards] (tgammal): Likewise.
35247 [non-C99-based standards] (y0l): Likewise.
35248 [non-C99-based standards] (y1l): Likewise.
35249 [non-C99-based standards] (ynl): Likewise.
35250 [non-C99-based standards] (isnanl): Likewise.
35251 [non-C99-based standards] (acoshl): Likewise.
35252 [non-C99-based standards] (asinhl): Likewise.
35253 [non-C99-based standards] (atanhl): Likewise.
35254 [non-C99-based standards] (cbrtl): Likewise.
35255 [non-C99-based standards] (expm1l): Likewise.
35256 [non-C99-based standards] (ilogbl): Likewise.
35257 [non-C99-based standards] (log1pl): Likewise.
35258 [non-C99-based standards] (logbl): Likewise.
35259 [non-C99-based standards] (nextafterl): Likewise.
35260 [non-C99-based standards] (remainderl): Likewise.
35261 [non-C99-based standards] (rintl): Likewise.
35262 [non-C99-based standards] (scalbl): Likewise.
35263 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35264 [non-C99-based standards] (FP_*): Do not allow.
35265 [C99-based standards] (FP_*): Change to
35266 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35267 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35268 allow.
35269 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35270 (SIG_ERR): Likewise.
35271 [X/Open-based standards] (SIG_HOLD): Likewise.
35272 (SIG_IGN): Likewise.
35273 (SIGABRT): Use macro-int-constant. Specify type. Require
35274 positive value.
35275 (SIGFPE): Likewise.
35276 (SIGILL): Likewise.
35277 (SIGINT): Likewise.
35278 (SIGSEGV): Likewise.
35279 (SIGTER): Likewise.
35280 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35281 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35282 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35283 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35284 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35285 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35286 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35287 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35288 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35289 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35290 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35291 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35292 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35293 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35294 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35295 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35296 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35297 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35298 [X/Open-based standards] (SIGTRAP): Likewise.
35299 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35300 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35301 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35302 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35303 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35304 allow.
35305
b9f1922d
IW
353062012-05-08 Ian Wienand <ianw@vmware.com>
35307
35308 [BZ #14080]
35309 * time/tzset.c (__tzset_parse_tz): Update default rules for
35310 daylight time changes in the Energy Policy Act of 2005.
35311
1db86e88
AJ
353122012-05-09 Andreas Jaeger <aj@suse.de>
35313
35314 [BZ #13983]
35315 * elf/ldconfig.c (parse_conf): Change string to make clear that
35316 ldconfig only issued a warning if ld.so.conf does not exist.
35317
dee4a4e3
DM
353182012-05-08 David S. Miller <davem@davemloft.net>
35319
ee0db190
DM
35320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35321 movxtod instead of popping the value on the stack.
35322
dee4a4e3
DM
35323 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35324
6a43ec98
CD
353252012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
35326
35327 * config.h.in: Add HAVE_ARM_PCS_VFP.
35328
05c2c961
RMG
353292012-05-08 Roland Mc Grath <roland@hack.frob.com>
35330
bcfe3a54
ST
35331 [BZ #13979]
35332 * include/features.h: Warn if user requests __FORTIFY_SOURCE
35333 checking but the checks are disabled for any reason.
05c2c961 35334
4b30f61a
L
353352012-05-08 H.J. Lu <hongjiu.lu@intel.com>
35336
35337 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35338 and ELF64_R_TYPE with ELFW(R_TYPE).
35339
eee2bc67
JM
353402012-05-08 Joseph Myers <joseph@codesourcery.com>
35341
7ea5391a
JM
35342 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35343 (ulimit): Likewise.
35344
eee2bc67
JM
35345 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35346 (settimeofday): Likewise.
35347
abb66a67
MF
353482012-05-08 Mike Frysinger <vapier@gentoo.org>
35349
35350 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
35351 a struct th_u2 inside the union, and move tu_block/tu_code into
35352 a new th_u3 union of tu_block/tu_code inside of that. Move
35353 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
35354 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
35355 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35356 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35357 (th_stuff): Change to th_u1.tu_stuff.
35358 (th_data): Define.
35359 (th_msg): Change to th_u1.th_u2.tu_data.
35360
7f18b530
DM
353612012-05-07 David S. Miller <davem@davemloft.net>
35362
05760585
DM
35363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35364
7f18b530
DM
35365 [BZ #14074]
35366 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35367 (SETUP_PIC_REG): Use it.
35368 (SETUP_PIC_REG_LEAF): Use it.
35369
495fd99f
JM
353702012-05-07 Joseph Myers <joseph@codesourcery.com>
35371
35372 [BZ #13885]
35373 [BZ #13923]
35374 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35375 USE_AS_EXPM1L.
35376 (EXPL_FINITE): Likewise.
35377 (FLDLOG): Likewise.
35378 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35379 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35380 e_expl.S.
35381 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35382 USE_AS_EXPM1L.
35383 (EXPL_FINITE): Likewise.
35384 (FLDLOG): Likewise.
35385 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35386 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35387 e_expl.S.
35388 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
35389 test of -max_value argument for long double.
35390 * sysdeps/i386/fpu/libm-test-ulps: Update.
35391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35392
6693d694
DM
353932012-05-06 David S. Miller <davem@davemloft.net>
35394
35395 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35396 quad soft-float symbols whose references which are compiler
35397 generated.
35398 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35399
6c23e11c
JM
354002012-05-06 Joseph Myers <joseph@codesourcery.com>
35401
d8b82cad
JM
35402 [BZ #13884]
35403 [BZ #13914]
35404 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35405 USE_AS_EXP10L.
35406 (EXPL_FINITE): Likewise.
35407 (FLDLOG): Likewise.
35408 (c0): Likewise.
35409 (c1): Likewise.
35410 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35411 Adjust comments for base varying.
35412 (__expl_finite): Change alias to EXPL_FINITE.
35413 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35414 e_expl.S.
35415 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35416 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35417 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35418 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35419 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35420 USE_AS_EXP10L.
35421 (EXPL_FINITE): Likewise.
35422 (FLDLOG): Likewise.
35423 (c0): Likewise.
35424 (c1): Likewise.
35425 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35426 Adjust comments for base varying.
35427 (__expl_finite): Change alias to EXPL_FINITE.
35428 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
35429 tests for bugs.
35430 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35431
6c23e11c
JM
35432 [BZ #14064]
35433 * math/libm-test.inc (check_float_internal): Correct ulp
35434 calculation for subnormal expected results.
35435
29ba805c
AJ
354362012-05-06 Andreas Jaeger <aj@suse.de>
35437
35438 * Makeconfig (+math-flags): New, set to -frounding-math.
35439 (+cflags): Add +math-flags so that all of glibc gets compiled with
35440 it.
35441
35442 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35443
7b17aeda
JM
354442012-05-05 Joseph Myers <joseph@codesourcery.com>
35445
5779f134
JM
35446 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35447 Disable one test.
35448
41498f4d
JM
35449 [BZ #13787]
35450 [BZ #13922]
35451 [BZ #14036]
35452 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35453 (__ieee754_expl): Allow for and saturate large arguments.
35454 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35455 (u_threshold): Likewise.
35456 (__exp): Call __ieee754_exp before checking for overflow and
35457 underflow.
35458 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35459 (u_threshold): Likewise.
35460 (__expf): Call __ieee754_expf before checking for overflow and
35461 underflow.
35462 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35463 (u_threshold): Likewise.
35464 (__expl): Call __ieee754_expl before checking for overflow and
35465 underflow.
35466 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35467 (__ieee754_expl): Allow for and saturate large arguments.
35468 * math/libm-test.inc (exp_test): Add another test. Do not allow
35469 missing overflow exception on overflow.
35470 (expm1_test): Do not allow missing overflow exception on overflow.
35471
6698b8bf
JM
35472 * sysdeps/i386/fpu/e_expl.c: Move to ...
35473 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
35474 rather than using inline asm.
35475 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35476 * sysdeps/x86_64/fpu/e_expl.S: Copy from
35477 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35478
7b17aeda
JM
35479 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35480 (nice): Likewise.
35481 (poll): Likewise.
35482 (signal): Likewise.
35483 (time): Likewise.
35484 (times): Likewise.
35485
f7c85819
JM
354862012-05-04 Joseph Myers <joseph@codesourcery.com>
35487
35488 * sysdeps/unix/syscalls.list (adjtime): Add entry from
35489 sysdeps/unix/common/syscalls.list.
35490 (fchmod): Likewise.
35491 (fchown): Likewise.
35492 (ftruncate): Likewise.
35493 (getrusage): Likewise.
35494 (gettimeofday): Likewise.
35495 (setpgid): Likewise.
35496 (setregid): Likewise.
35497 (setreuid): Likewise.
35498 (sigaction): Likewise.
35499 (truncate): Likewise.
35500 (vhangup): Likewise.
35501 * sysdeps/unix/common/syscalls.list: Remove file.
35502 * sysdeps/unix/bsd/Implies: Don't include unix/common.
35503 * sysdeps/unix/sysv/linux/Implies: Likewise.
35504
336270d0
L
355052012-05-04 H.J. Lu <hongjiu.lu@intel.com>
35506
35507 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35508 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35509 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35510 Moved to ...
35511 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35512 Here.
35513 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35514 to ...
35515 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35516 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35517 to ...
35518 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35519 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35520 to ...
35521 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35522 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35523 to ...
35524 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35525 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35526 to ...
35527 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35528 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35529 to ...
35530 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35531 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35532 to ...
35533 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35534 Here.
35535 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35536 to ...
35537 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35538 Here.
35539 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35540 to ...
35541 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35542 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35543 Moved to ...
35544 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35545 Here.
35546 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35547 to ...
35548 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35549
d128e450
JM
355502012-05-04 Joseph Myers <joseph@codesourcery.com>
35551
fa8ee516
JM
35552 * sysdeps/unix/common/bits/dirent.h: Remove file.
35553 * sysdeps/unix/common/bits/fcntl.h: Likewise.
35554
d128e450
JM
35555 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35556 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35557 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35558 * sysdeps/unix/bsd/isatty.c: Likewise.
35559 * sysdeps/unix/bsd/tcdrain.c: Likewise.
35560 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35561 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35562
ff8faaf0 355632012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 35564
62881be4 35565 [BZ #13563]
31dc8730
AZ
35566 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35567 long double comparison inaccuracies.
35568 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35570
6fef930c
AS
355712012-05-04 Andreas Schwab <schwab@linux-m68k.org>
35572
35573 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35574 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35575
8f203e6c
JM
355762012-05-04 Joseph Myers <joseph@codesourcery.com>
35577
35578 [BZ #14049]
35579 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35580 nonzero digits before rounding a hex value.
35581 * stdlib/tst-strtod.c (tests): Add another test.
35582
5197d9c2
AK
355832012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35584
35585 * sysdeps/s390/fpu/libm-test-ulps: Update.
35586
f0c1dedf
AJ
355872012-05-03 Andreas Jaeger <aj@suse.de>
35588
35589 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35590 does not get optimized out.
35591 (malloc_opt_barrier): New.
35592
a65ef2ae 355932012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 35594 Roland McGrath <roland@hack.frob.com>
a65ef2ae 35595
2b942cb7 35596 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 35597 intermediate file deletion.
2b942cb7 35598 (generated): Add .symlist files.
a65ef2ae 35599
54b71e02
JM
356002012-05-03 Joseph Myers <joseph@codesourcery.com>
35601
35602 [BZ #13775]
35603 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35604 Redirect under this condition.
35605 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35606 [__USE_GNU] (__dprintf_chk): Not under this condition.
35607 [__USE_GNU] (__vdprintf_chk): Likewise.
35608 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35609 under this condition.
35610 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35611 [__USE_XOPEN2K8] (dprintf): Define under this condition.
35612 [__USE_XOPEN2K8] (vdprintf): Likewise.
35613 [__USE_GNU] (__dprintf_chk): Not under this condition.
35614 [__USE_GNU] (__vdprintf_chk): Likewise.
35615 [__USE_GNU] (dprintf): Likewise.
35616 [__USE_GNU] (vdprintf): Likewise.
35617
d3dfcc41
RM
356182012-05-03 Roland McGrath <roland@hack.frob.com>
35619
35620 * elf/Makefile (common-generated): Set this instead of generated for
35621 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
35622 $(all-built-dso)-derived lists.
35623
7ac30cc5
AJ
356242012-05-03 Andreas Jaeger <aj@suse.de>
35625
0c51e550
AJ
35626 * sysdeps/i386/fpu/libm-test-ulps: Update.
35627
7ac30cc5
AJ
35628 * FAQ: Removed.
35629 * FAQ.in: Likewise.
35630 * scripts/gen-FAQ.pl: Likewise.
35631 * manual/install.texi (Installation): Point to online location of
35632 FAQ.
35633 * Makefile (files-for-dist): Remove FAQ.
35634 (FAQ): Remove.
35635
d4c2917f
AM
356362012-05-02 Allan McRae <allan@archlinux.org>
35637
35638 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35639 (LDFLAGS-reldepmod5.so): Likewise.
35640 (LDFLAGS-reldep6mod1.so): Likewise.
35641 (LDFLAGS-reldep6mod4.so): Likewise.
35642 (LDFLAGS-reldep8mod3.so): Likewise.
35643 (LDFLAGS-unload4mod1.so): Likewise.
35644 (LDFLAGS-unload4mod2.so): Likewise.
35645 (LDFLAGS-tst-initorder): Likewise.
35646 (LDFLAGS-tst-initordera2.so): Likewise.
35647 (LDFLAGS-tst-initordera3.so): Likewise.
35648 (LDFLAGS-tst-initordera4.so): Likewise.
35649 (LDFLAGS-tst-initorderb2.so): Likewise.
35650 (LDFLAGS-noload): Likewise.
35651 (LDFLAGS-next): Likewise.
35652 (LDFLAGS-order2mod1.so): Likewise.
35653 (LDFLAGS-order2mod2.so): Likewise.
35654 (LDFLAGS-tst-initorder2): Likewise.
35655 (LDFLAGS-tst-initorder2a.so): Likewise.
35656 (LDFLAGS-tst-initorder2b.so): Likewise.
35657 (LDFLAGS-tst-initorder2c.so): Likewise.
35658 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35659
d77f993f
DM
356602012-05-02 David S. Miller <davem@davemloft.net>
35661
35662 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35663
171a70b4
PP
356642012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
35665
35666 [BZ #14055]
35667 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35668
0be196ad
AJ
356692012-05-02 Andreas Jaeger <aj@suse.de>
35670
35671 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35672 since we manipulate rounding mode.
35673 (CPPFLAGS-test-idouble.c): Likewise.
35674 (CPPFLAGS-test-ifloat.c): Likewise.
35675 (CFLAGS-test-ldouble.c): Likewise.
35676 (CFLAGS-test-double.c): Likewise.
35677 (CFLAGS-test-float.c): Likewise.
35678 (CFLAGS-test-misc.c): Likewise.
35679 (CFLAGS-test-test-fenv.c): Likewise.
35680
4f9d04aa
AZ
356812012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35682
2b942cb7
RM
35683 [BZ #2550]
35684 [BZ #2570]
35685 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35686 comparisons to determine direction to adjust input.
4f9d04aa 35687
82a79e7d
RM
356882012-05-01 Roland McGrath <roland@hack.frob.com>
35689
f5a01ca9
RM
35690 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35691 output to the target.
35692
90fe4186
RM
35693 * scripts/localplt.awk: New file.
35694 * elf/Makefile ($(objpfx)check-localplt): Target removed.
35695 (check-localplt-CFLAGS): Variable removed.
35696 ($(all-built-dso:=.jmprel)): New static pattern rule.
35697 (generated): Add those targets.
35698 (localplt-built-dso): New variable.
35699 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35700
35701 * elf/check-localplt.c: File removed.
35702
82397ed6
RM
35703 * scripts/check-execstack.awk: New file.
35704 * elf/Makefile ($(objpfx)check-execstack): Target removed.
35705 (check-execstack-CFLAGS): Variable removed.
35706 ($(objpfx)check-execstack.h): Target removed.
35707 ($(objpfx)execstack-default): New target.
35708 (generated): Add that instead of check-execstack.h.
35709 ($(all-built-dso:=.phdr)): New static pattern rule.
35710 (generated): Add those targets.
35711 * elf/check-execstack.c: File removed.
35712
82a79e7d
RM
35713 * scripts/check-textrel.awk: New file.
35714 * elf/Makefile ($(objpfx)check-textrel): Target removed.
35715 (check-textrel-CFLAGS): Variable removed.
35716 (all-built-dso): Use := to define.o
35717 ($(all-built-dso:=.dyn)): New static pattern rule.
35718 (generated): Add those targets.
35719 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35720 * config.make.in (READELF): New substituted variable.
35721 * elf/check-textrel.c: File removed.
35722
62fde54f 357232012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 35724
615605c9
JM
35725 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35726 allow.
35727 * conform/data/ctype.h-data [C99-based standards] (isblank):
35728 Expect function.
35729 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35730 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35731 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35732 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35733 Specify type. Require positive value.
35734 (EILSEQ): Likewise.
35735 (ERANGE): Likewise.
35736 [ISO || POSIX] (EILSEQ): Do not expect.
35737 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35738 Specify type. Require positive value.
35739 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35740 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35741 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35742 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35743 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35744 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35745 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35746 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35747 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35748 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35749 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35750 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35751 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35752 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35753 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35754 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35755 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35756 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35757 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35758 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35759 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35760 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35761 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35762 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35763 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35764 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35765 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35766 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35767 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35768 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35769 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35770 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35771 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35772 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35773 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35774 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35775 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35776 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35777 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35778 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35779 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35780 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35781 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35782 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35783 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35784 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35785 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35786 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35787 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35788 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35789 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35790 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35791 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35792 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35793 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35794 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35795 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35796 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35797 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35798 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35799 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35800 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35801 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35802 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35803 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35804 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35805 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35806 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35807 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35808 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35809 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35810 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35811 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35812 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35813 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35814 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35815 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35816 Require >= 2.
35817 (FLT_ROUNDS): Expect as macro, not constant.
35818 (FLT_MANT_DIG): Use macro-int-constant.
35819 (DBL_MANT_DIG): Likewise.
35820 (LDBL_MANT_DIG): Likewise.
35821 (FLT_DIG): Likewise.
35822 (DBL_DIG): Likewise.
35823 (LDBL_DIG): Likewise.
35824 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
35825 (DBL_MIN_EXP): Likewise.
35826 (LDBL_MIN_EXP): Likewise.
35827 (FLT_MAX_EXP): Use macro-int-constant.
35828 (DBL_MAX_EXP): Likewise.
35829 (LDBL_MAX_EXP): Likewise.
35830 (FLT_MAX_10_EXP): Likewise.
35831 (DBL_MAX_10_EXP): Likewise.
35832 (LDBL_MAX_10_EXP): Likewise.
35833 (FLT_MAX): Use macro-constant.
35834 (DBL_MAX): Likewise.
35835 (LDBL_MAX): Likewise.
35836 (FLT_EPSILON): Use macro-constant. Give upper bound.
35837 (DBL_EPSILON): Likewise.
35838 (LDBL_EPSILON): Likewise.
35839 (FLT_MIN): Likewise.
35840 (DBL_MIN): Likewise.
35841 (LDBL_MIN): Likewise.
35842 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35843 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35844 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35845 [ISO11] (FLT_HAS_SUBNORM): Likewise.
35846 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35847 [ISO11] (DBL_DECIMAL_DIG): Likewise.
35848 [ISO11] (FLT_DECIMAL_DIG): Likewise.
35849 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35850 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35851 [ISO11] (FLT_TRUE_MIN): Likewise.
35852 [ISO11] (LDBL_TRUE_MIN): Likewise.
35853 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35854 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35855 (SCHAR_MIN): Use macro-int-constant. Specify type.
35856 (SCHAR_MAX): Likewise.
35857 (UCHAR_MAX): Likewise.
35858 (CHAR_MIN): Likewise.
35859 (CHAR_MAX): Likewise.
35860 (MB_LEN_MAX): Use macro-int-constant.
35861 (SHRT_MIN): Use macro-int-constant. Specify type.
35862 (SHRT_MAX): Likewise.
35863 (USHRT_MAX): Likewise.
35864 (INT_MAX): Likewise.
35865 (INT_MIN): Use macro-int-constant. Specify type. Make upper
35866 bound negative.
35867 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
35868 bound with "U".
35869 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35870 bound with "L".
35871 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
35872 bound negative. Suffix upper bound with "L".
35873 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35874 bound with "UL".
35875 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35876 Specify type.
35877 [C99-based standards] (LLONG_MAX): Likewise.
35878 [C99-based standards] (ULLONG_MAX): Likewise.
35879 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
35880 == 0.
35881 [ISO11] (max_align_t): Require type.
35882 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35883
c9140a62
JM
35884 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35885 from $CFLAGS, without defining away __attribute__ calls.
35886 (checknamespace): Use $CFLAGS_namespace.
35887
9af0bf29
JM
35888 * conform/conformtest.pl (@keywords): Only include C99 keywords
35889 for standards based on C99 or C11.
35890
343222a2
JM
35891 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35892 Disable tests.
35893 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35894 UNIX98]: Likewise.
35895
661f8cf0
JM
35896 * conform/conformtest.pl: Handle "macro-int-constant" and test for
35897 usability of symbols in #if.
35898
ee74b9cb
JM
35899 * conform/conformtest.pl: If macro or constant types start
35900 "promoted:", expect the symbol to be of the following type
35901 promoted by the integer promotions.
62fde54f 35902
aafc49b3
JM
35903 * conform/conformtest.pl: Parse all "constant" and "macro" lines
35904 in one place. Also handle "macro-constant".
35905
fefdf574
JM
35906 * conform/conformtest.pl: Only accept expected macro values with
35907 "==". Parse all "macro" lines in one place.
35908 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35909
f2d922fe
JM
35910 * conform/conformtest.pl: Handle braced types on "constant" lines
35911 instead of handling "typed-constant".
35912 * conform/data/signal.h-data: Use "constant" instead of
35913 "typed-constant".
35914
d22956c9
JM
35915 * conform/conformtest.pl: Handle "optional-" at start of lines in
35916 one place rather than duplicating several cases. Handle each
35917 format of "macro" line with initial "optional-".
35918
028e2e38
JM
35919 * conform/conformtest.pl: Only accept expected constant or
35920 optional-constant values with "==". Parse all "constant" lines in
35921 one place. Parse all "optional-constant" lines in one place.
35922 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35923 * conform/data/fmtmsg.h-data: Likewise.
35924 * conform/data/netinet/in.h-data: Likewise.
35925 * conform/data/tar.h-data: Likewise.
35926 * conform/data/limits.h-data: Use "==" form on "constant" and
35927 "optional-constant" lines.
35928
1b8f2850
JM
35929 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35930 Use -std=c99 for XOPEN2K.
35931 (@knownproblems): Remove.
35932 (newtoken): Don't check %isknown.
35933
a05a144b
JM
35934 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35935 Do not expect macro.
35936 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35937 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35938 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35939 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35940 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35941 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35942 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35943 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35944 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35945 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35946 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35947 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35948 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35949 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35950 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35951 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35952 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35953 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35954 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35955 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35956 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35957 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35958 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35959 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35960 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35961 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35962 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35963 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35964 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35965 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35966 [XPG3] (acosh): Likewise.
35967 [XPG3] (asinh): Likewise.
35968 [XPG3] (atanh): Likewise.
35969 [XPG3] (cbrt): Likewise.
35970 [XPG3] (expm1): Likewise.
35971 [XPG3] (ilogb): Likewise.
35972 [XPG3] (log1p): Likewise.
35973 [XPG3] (logb): Likewise.
35974 [XPG3] (nextafter): Likewise.
35975 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35976 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35977 [XPG3] (remainder): Likewise.
35978 [XPG3] (rint): Likewise.
35979 [XPG3 || XPG4 || UNIX98] (round): Likewise.
35980 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35981 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35982 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35983 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35984 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35985 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35986 [UNIX98 || XOPEN2K] (scalb): Expect.
35987 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35988 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35989 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35990 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35991 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35992 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35993 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35994 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35995 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35996 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35997 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35998 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35999 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36000 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36001 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36002 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36003 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36004 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36005 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36006 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36007 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36008 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36009 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36010 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36011 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36012 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36013 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36014 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36015 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36016 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36017 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36018 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36019 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36020 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36021 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36022 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36023 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36024 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36025 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36026 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36027 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36028 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36029 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36030 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36031 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36032 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36033 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36034 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36035 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36036 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36037 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36038 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36039 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36040 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36041 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36042 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36043 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36044 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36045 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36046 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36047 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36048 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36049 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36050 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36051 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36052 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36053 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36054 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36055 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36056 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36057 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36058 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36059 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36060 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36061 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36062 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36063 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36064 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36065 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36066 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36067 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36068 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36069 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36070 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36071 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36072 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36073 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36074 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36075 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36076 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36077 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36078 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36079 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36080 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36081 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36082 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36083 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36084 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36085 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36086 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36087 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36088 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36089 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36090 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36091 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36092 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36093 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36094 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36095 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36096 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36097 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36098 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36099 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36100 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36101 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36102 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36103 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36104 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36105 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36106 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36107 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36108 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36109 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36110 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36111 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36112 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36113 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36114 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36115 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36116 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36117 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36118 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36119 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36120 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36121 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36122 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36123 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36124
73c5ebe3
JM
36125 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36126 _XOPEN_SOURCE_EXTENDED for XPG4.
36127
39c33b6c
JM
36128 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36129
62fde54f
JM
36130 * Makeconfig (localtime): Remove variable.
36131 (inst_localtime-file): Likewise.
36132
0741d64c
AS
361332012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36134
36135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36136 Update.
36137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36138 Update.
36139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36140 Update.
36141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36142 Update.
36143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36144 Update.
36145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36146 Update.
36147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36148 Update.
36149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36150 Update.
36151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36152 Update.
36153
7cb029ee
JM
361542012-05-01 Joseph Myers <joseph@codesourcery.com>
36155
36156 [BZ #2550]
36157 [BZ #2570]
36158 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36159 comparisons to determine direction to adjust input.
36160 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36161 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36162 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36163 Likewise.
36164 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36165 Likewise.
36166 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36167 Likewise.
36168 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36169 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36170 Likewise.
36171 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36172 Likewise.
36173 * math/libm-test.inc (nexttoward_test): Add more tests.
36174
412bd966
AS
361752012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36176
36177 [BZ #14040]
36178 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36179 in version GLIBC_2.1, not GLIBC_2.0.
36180 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36181 Likewise.
36182
9568c0c2
JM
361832012-04-30 Joseph Myers <joseph@codesourcery.com>
36184
adfbc8ac
JM
36185 [BZ #13942]
36186 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36187 (1 - x) * (1 + x).
36188 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36189 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36190 * math/libm-test.inc (acos_test): Add more tests.
36191 (asin_test): Likewise.
36192 * sysdeps/i386/fpu/libm-test-ulps: Update.
36193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36194
5ba3cc69
JM
36195 [BZ #14034]
36196 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36197 of square root.
36198 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36199 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36200 * math/libm-test.inc (acos_test_tonearest): New function.
36201 (acos_test_towardzero): Likewise.
36202 (acos_test_downward): Likewise.
36203 (acos_test_upward): Likewise.
36204 (asin_test_tonearest): Likewise.
36205 (asin_test_towardzero): Likewise.
36206 (asin_test_downward): Likewise.
36207 (asin_test_upward): Likewise.
36208 (main): Call the new functions.
36209 * sysdeps/i386/fpu/libm-test-ulps: Update.
36210 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36211
9568c0c2
JM
36212 [BZ #13884]
36213 [BZ #13924]
36214 * math/e_exp10.c: Include <float.h>.
36215 (__ieee754_exp10): Handle underflow here rather than multiplying
36216 large negative argument by M_LN10.
36217 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36218 of __ieee754_expf.
36219 * math/e_exp10l.c: Include <float.h>.
36220 (__ieee754_exp10l): Handle underflow here rather than multiplying
36221 large negative argument by M_LN10l.
36222 * math/libm-test.inc (exp10_test): Add another test. Do not allow
36223 spurious overflow exception on underflow.
36224
5ac3ea17
MP
362252012-04-29 Marek Polacek <polacek@redhat.com>
36226
36227 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36228 (__fortify_function): New macro.
36229 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36230 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36231 __extern_always_inline.
36232 * libio/bits/stdio2.h: Likewise.
36233 * libio/bits/stdio.h: Likewise.
36234 * string/string.h: Likewise.
36235 * string/bits/string3.h: Likewise.
36236 * include/stdio.h: Likewise.
36237 * stdlib/bits/stdlib.h: Likewise.
36238 * stdlib/stdlib.h: Likewise.
36239 * rt/bits/mqueue2.h: Likewise.
36240 * rt/mqueue.h: Likewise.
36241 * posix/bits/unistd.h: Likewise.
36242 * posix/unistd.h: Likewise.
36243 * io/bits/poll2.h: Likewise.
36244 * io/bits/fcntl2.h: Likewise.
36245 * io/fcntl.h: Likewise.
36246 * io/sys/poll.h: Likewise.
36247 * misc/bits/syslog.h: Likewise.
36248 * misc/bits/syslog-ldbl.h: Likewise.
36249 * misc/sys/syslog.h: Likewise.
36250 * socket/bits/socket2.h: Likewise.
36251 * socket/sys/socket.h: Likewise.
36252 * debug/tst-chk1.c: Likewise.
36253 * wcsmbs/bits/wchar2.h: Likewise.
36254 * wcsmbs/bits/wchar-ldbl.h: Likewise.
36255 * wcsmbs/wchar.h: Likewise.
36256
ecf0ebfb
AJ
362572012-04-29 Andreas Jaeger <aj@suse.de>
36258
36259 * Makerules (tests): Remove enable-check-abi protection.
36260 (check-abi-warn): Remove.
36261 (check-abi-%): Remove check-abi-warn usage.
36262
36263 * configure.in: Remove check-abi configure option.
36264 * configure: Regenerated.
36265 * config.make.in (enable-check-abi): Remove.
36266
6d5c57fa
AS
362672012-04-28 Andreas Schwab <schwab@linux-m68k.org>
36268
24c5d07e 36269 [BZ #14033]
ded5180a
AS
36270 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36271 double functions to double *_finite functions.
36272
7e0d315d
AS
36273 [BZ #13941]
36274 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36275 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36276 LDBL_MIN_EXP.
36277 * stdio-common/Makefile (tests): Add tst-sprintf3.
36278 * stdio-common/tst-sprintf3.c: New file.
36279
6d5c57fa
AS
36280 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36281 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36282
0749ff8b
JM
362832012-04-28 Joseph Myers <joseph@codesourcery.com>
36284
36285 * conform/conformtest.pl: Remove duplicate typed-constant
36286 handling.
36287
8dbd5d7b
DM
362882012-04-28 David S. Miller <davem@davemloft.net>
36289
36290 * Makerules (%.abilist): Add vpath on sysdep_dirs.
36291 (check-abi-%): Remove AWK script prerequisite and explicit
36292 abilist directory.
36293 (check-abi): Rewrite to just diff the symlist with the abilist.
36294 (config-tls, config-abi-config): Delete, no longer used.
36295 (update-abi-%): Remove AWK script and explicit abilist directory.
36296 (update-abi): Rewrite to simply compare and conditionally copy the
36297 symlist and the sysdep abilist file. Remove update-abi-config
36298 checks.
36299 * abilist/ld.abilist: Remove.
36300 * abilist/libBrokenLocale.abilist: Remove.
36301 * abilist/libanl.abilist: Remove.
36302 * abilist/libcrypt.abilist: Remove.
36303 * abilist/libdl.abilist: Remove.
36304 * abilist/librt.abilist: Remove.
36305 * abilist/libthread_db.abilist: Remove.
36306 * abilist/libutil.abilist: Remove.
36307 * scripts/extract-abilist.awk: Remove.
36308 * scripts/merge-abilist.awk: Remove.
36309 * sysdeps/generic/libcidn.abilist: New file.
36310 * sysdeps/generic/libnss_compat.abilist: New file.
36311 * sysdeps/generic/libnss_db.abilist: New file.
36312 * sysdeps/generic/libnss_dns.abilist: New file.
36313 * sysdeps/generic/libnss_files.abilist: New file.
36314 * sysdeps/generic/libnss_hesiod.abilist: New file.
36315 * sysdeps/generic/libnss_nis.abilist: New file.
36316 * sysdeps/generic/libnss_nisplus.abilist: New file.
36317 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36318 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36319 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36320 file.
36321 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36322 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36323 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36324 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36325 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36326 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36327 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36328 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36329 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36330 file.
36331 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36332 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36333 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36334 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36335 file.
36336 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36337 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36338 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36339 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36340 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36341 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36342 file.
36343 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36344 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36345 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36346 file.
36347 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36348 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36349 New file.
36350 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36351 New file.
36352 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36353 New file.
36354 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36355 New file.
36356 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36357 New file.
36358 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36359 New file.
36360 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36361 New file.
36362 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36363 New file.
36364 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36365 New file.
36366 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36367 New file.
36368 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36369 New file.
36370 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36371 New file.
36372 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36373 New file.
36374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36375 file.
36376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36377 New file.
36378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36379 New file.
36380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36381 file.
36382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36383 New file.
36384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36385 New file.
36386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36387 file.
36388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36389 New file.
36390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36391 New file.
36392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36393 New file.
36394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36395 New file.
36396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36397 New file.
36398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36399 New file.
36400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36401 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36402 file.
36403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36404 New file.
36405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36406 file.
36407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36408 file.
36409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36410 file.
36411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36412 file.
36413 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36414 file.
36415 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36416 New file.
36417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36418 file.
36419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36420 file.
36421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36422 New file.
36423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36424 file.
36425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36427 file.
36428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36429 New file.
36430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36431 file.
36432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36433 file.
36434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36435 file.
36436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36437 file.
36438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36439 file.
36440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36441 New file.
36442 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36443 file.
36444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36445 file.
36446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36447 New file.
36448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36449 file.
36450 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36451 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36452 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36453 file.
36454 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36455 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36456 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36457 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36458 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36459 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36460 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36461 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36462 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36463 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36464 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36465 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36466 file.
36467 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36468 New file.
36469 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36470 file.
36471 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36472 file.
36473 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36474 file.
36475 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36476 file.
36477 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36478 file.
36479 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36480 New file.
36481 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36482 New file.
36483 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36484 file.
36485 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36486 New file.
36487 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36488 file.
36489 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36490 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36491 file.
36492 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36493 New file.
36494 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36495 file.
36496 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36497 file.
36498 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36499 file.
36500 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36501 file.
36502 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36503 file.
36504 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36505 New file.
36506 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36507 New file.
36508 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36509 file.
36510 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36511 New file.
36512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36513 file.
36514
41d73a1b
JM
365152012-04-28 Joseph Myers <joseph@codesourcery.com>
36516
36517 * conform/conformtest.pl: Fix typo in handling typed-constant from
36518 allow-header.
36519
28aeeda4
JM
365202012-04-27 Joseph Myers <joseph@codesourcery.com>
36521
adae8f5e
JM
36522 * README: Cut down references to pre-2.6 Linux kernels and
36523 Linuxthreads. Update lists of configurations in libc and ports
36524 and sort alphabetically. Say "or newer" with Linux kernel version
36525 requirements.
36526
28aeeda4
JM
36527 * config.h.in [IS_IN_build]: Allow compiling without optimization.
36528
a462cb63
RA
365292012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36530
36531 [BZ #887]
36532 * math/libm-test.inc (logb_test_downward): New test to expose
36533 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36534 rounding mode.
36535
6ad3493e
JM
365362012-04-27 Joseph Myers <joseph@codesourcery.com>
36537
36538 [BZ #14027]
36539 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36540 to be done.
36541 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36542 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36543
2ce4f015
JM
365442012-04-26 Joseph Myers <joseph@codesourcery.com>
36545
5aeb141a
JM
36546 * sysdeps/unix/i386/brk.S: Remove file.
36547 * sysdeps/unix/i386/dl-brk.S: Likewise.
36548 * sysdeps/unix/i386/pipe.S: Likewise.
36549 * sysdeps/unix/i386/sigreturn.S: Likewise.
36550 * sysdeps/unix/i386/syscall.S: Likewise.
36551 * sysdeps/unix/i386/vfork.S: Likewise.
36552 * sysdeps/unix/i386/wait.S: Likewise.
36553
7143acae
JM
36554 * sysdeps/unix/common/tcsendbrk.c: Move to ...
36555 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36556
2ce4f015
JM
36557 * configure.in (arm*-none*): Do not allow without
36558 --enable-hacker-mode.
36559 (netbsd*): Remove case setting base_os.
36560 (386bsd*): Likewise.
36561 (freebsd*): Likewise.
36562 (bsdi*): Likewise.
36563 (osf*): Likewise.
36564 (sunos*): Likewise.
36565 (ultrix*): Likewise.
36566 (newsos*): Likewise.
36567 (dynix*): Likewise.
36568 (*bsd*): Likewise.
36569 (sysv*): Likewise.
36570 (isc*): Likewise.
36571 (esix*): Likewise.
36572 (sco*): Likewise.
36573 (minix*): Likewise.
36574 (irix4*): Likewise.
36575 (irix6*): Likewise.
36576 (solaris[2-9]*): Likewise.
36577 (none): Likewise.
36578 * configure: Regenerated.
36579
0ac229c8
AZ
365802012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36581
36582 [BZ #11521]
36583 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36584 overflow or cancellation in calculating denominator.
36585 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36586 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36587 down expression to avoid unexpected rounding in newer GCCs.
36588 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36589
33f244f4
DM
365902012-04-26 David S. Miller <davem@davemloft.net>
36591
36592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36593 long-double compat symbols.
36594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36607
cfa1f3e8
DM
366082012-04-25 David S. Miller <davem@davemloft.net>
36609
36610 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36611 HWCAP_* values only after the memory barriers have been defined.
36612 (atomic_full_barrier): Define.
36613 (atomic_read_barrier): Define.
36614 (atomic_write_barrier): Define.
36615
6e236b92
SP
366162012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36617
36618 * shlib-versions: Add libgcc_s version information.
36619 * sysdeps/generic/libgcc_s.h: Remove.
36620 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36621 libgcc_s.h.
36622 * sysdeps/gnu/unwind-resume.c: Likewise.
36623 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36624
aab39a09
DM
366252012-04-25 David S. Miller <davem@davemloft.net>
36626
36627 * sysdeps/unix/sparc/brk.S: Delete.
36628 * sysdeps/unix/sparc/dl-brk.S: Delete.
36629 * sysdeps/unix/sparc/pipe.S: Delete.
36630 * sysdeps/unix/sparc/sysdep.S: Delete.
36631 * sysdeps/unix/sparc/sysdep.h: Delete.
36632 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
36633 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36634 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36635 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36636 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
36637 (JUMPTARGET): Remove.
36638 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36639 sysdeps/unix/sparc/sysdep.h
36640 (ENTRY, END): Remove.
36641 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36642
a3cc4f48
JM
366432012-04-25 Joseph Myers <joseph@codesourcery.com>
36644
2ed8cda2
JM
36645 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36646 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36647 -DIS_IN_build.
36648
35d76d59
JM
36649 * timezone/README: Update upstream location and email address for
36650 tzcode and tzdata.
36651 * timezone/zdump.c: Update from tzcode 2012b.
36652 * timezone/zic.c: Likewise.
36653
a3cc4f48
JM
36654 * configure.in (libc_cv_as_needed): Remove test.
36655 * configure: Regenerated.
36656 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36657 conditional definition.
36658 [$(have-as-needed) != yes] (no-as-needed): Likewise.
36659 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36660 * config.make.in (have-as-needed): Remove variable.
36661
ceab42c3
SP
366622012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36663 Paul Pluzhnikov <ppluzhnikov@google.com>
36664
36665 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36666 strings correctly.
36667
3ce2865f
CLT
366682012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
36669
36670 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36671 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36672 * sysdeps/sh/strlen.S: Likewise.
36673
f37e0d68
JM
366742012-04-24 Joseph Myers <joseph@codesourcery.com>
36675
ae186e9a
JM
36676 * sysdeps/unix/fork.S: Remove file.
36677 * sysdeps/unix/i386/fork.S: Likewise.
36678 * sysdeps/unix/sparc/fork.S: Likewise.
36679
b96914af
JM
36680 * sysdeps/unix/system.c: Remove file.
36681 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36682
f37e0d68
JM
36683 * sysdeps/unix/getegid.S: Remove file.
36684 * sysdeps/unix/geteuid.S: Likewise.
36685
87ef29ca
RM
366862012-04-24 Roland McGrath <roland@hack.frob.com>
36687
83bcd236
RM
36688 * scripts/check-localplt.awk: New file.
36689 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36690 of diff.
36691 * scripts/data/localplt-generic.data: Add a comment.
36692
87ef29ca
RM
36693 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36694 NODE when __dir_mkfile failed.
36695 * sysdeps/mach/hurd/symlinkat.c: Likewise.
36696 Reported by Ludovic Courtès <ludo@gnu.org>.
36697
e5a6e567
AJ
366982012-04-24 Andreas Jaeger <aj@suse.de>
36699
36700 * Makerules (common-clean): Also remove gen-as-const-headers
36701 files.
36702
c1820385
JM
367032012-04-24 Joseph Myers <joseph@codesourcery.com>
36704
36705 * Makerules (native-compile): Do not change working directory for
36706 build. Use $(OUTPUT_OPTION) in command.
36707 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36708
94e02fc4
AZ
367092012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36710
36711 [BZ #13886]
36712 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36713 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36714 * math/libm-test.inc (floor_test): Add more tests.
36715 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36716
3a533ca3
JM
367172012-04-24 Joseph Myers <joseph@codesourcery.com>
36718
940ab4b3
JM
36719 * sysdeps/unix/getdents.c: Remove file.
36720 * sysdeps/unix/sysv/getdents.c: Likewise.
36721 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36722
90e037bd
JM
36723 * sysdeps/unix/syscalls.list (madvise): Add syscall from
36724 sysdeps/unix/mman/syscalls.list.
36725 (mmap): Likewise.
36726 (mprotect): Likewise.
36727 (msync): Likewise.
36728 (munmap): Likewise.
36729 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36730 * sysdeps/unix/mman/syscalls.list: Remove.
36731 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36732
3a533ca3
JM
36733 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36734 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36735 * configure: Regenerated.
36736 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36737 $(libgcc_s_suffix).
36738 * config.make.in (libgcc_s_suffix): Remove variable.
36739
1ad743de
JM
367402012-04-23 Joseph Myers <joseph@codesourcery.com>
36741
4ad451e2
JM
36742 * sysdeps/unix/sysv/gethostname.c: Move to ...
36743 * sysdeps/posix/gethostname.c: ... here.
36744
5e37ce39
JM
36745 * sysdeps/unix/execve.S: Remove file.
36746
1ad743de
JM
36747 * sysdeps/unix/_exit.S: Remove file.
36748
4e681b5b
AJ
367492012-04-23 Andreas Jaeger <aj@suse.de>
36750
36751 [BZ #13739]
36752 * manual/Makefile: Remove make dist support, there's no
36753 need for a stand-alone documentation tar ball.
36754 (TEXI2DVI): Define always, it's not in Makeconfig.
36755 (dist): Removed.
36756 (tar-it): Removed.
36757 (edition): Removed.
36758 (glibc-doc-$(edition).tar): Removed
36759 (%.Z): Removed.
36760 (%.gz): Removed.
36761 (%.uu): Removed.
36762 (ETAGS): Remove, it's in Makeconfig.
36763 (move-if-change): Remove, it's in Makeconfig.
36764
38686a03 367652012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
36766
36767 [BZ #13970]
36768 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36769 (strtod, strtof, strtold, strtol, strtoul, strtoq)
36770 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36771 (strtod_l, strtof_l, strtold_l): Remove __wur.
36772 It is not necessarily an error to ignore strtol's return value.
36773 One can reliably look at the stored endptr to decide whether
36774 the number had valid syntax.
36775
7c0616fa
AJ
367762012-04-21 Andreas Jaeger <aj@suse.de>
36777
803cb6b7 36778 [BZ #13739]
7c0616fa
AJ
36779 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36780
b0fe253f
JM
367812012-04-21 Joseph Myers <joseph@codesourcery.com>
36782
36783 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36784 * sysdeps/unix/sysv/Versions: Remove file.
36785
8280f22d
MT
367862012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
36787
36788 [BZ #13927]
36789 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36790
75ce411f 367912012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
36792
36793 [BZ #7064]
36794 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36795 version from __vm86.
36796
097d59fa
JM
367972012-04-20 Joseph Myers <joseph@codesourcery.com>
36798
a90f3bcb
JM
36799 * sysdeps/unix/common/lxstat.c: Remove file.
36800 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36801
edc7ea78
JM
36802 * sysdeps/unix/sysv/Makefile: Remove file.
36803
cb78c221
JM
36804 * sysdeps/unix/sysv/direct.h: Remove file.
36805
efa6a45f
JM
36806 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36807 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36808 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36809 * sysdeps/unix/sysv/bits/signum.h: Likewise.
36810 * sysdeps/unix/sysv/bits/stat.h: Likewise.
36811 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36812 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36813
9c9f2d0c
JM
36814 * sysdeps/unix/sysv/setrlimit.c: Remove file.
36815
4541c83b
JM
36816 * sysdeps/unix/xmknod.c: Remove file.
36817 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36818
f5d153a0
JM
36819 * sysdeps/unix/sysv/settimeofday.c: Remove file.
36820
aa746595
JM
36821 * sysdeps/unix/sysv/i386/time.S: Remove file.
36822
cce5905e
JM
36823 * sysdeps/unix/fxstat.c: Remove file.
36824 * sysdeps/unix/xstat.c: Likewise.
36825 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36826
37fa3841
JM
36827 * sysdeps/unix/sysv/sigaction.c: Remove file.
36828
ff1962a3
JM
36829 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36830 (sysdep_headers): Remove variable.
36831 [termio.h not in sysdep_headers] (generated): Likewise.
36832 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36833 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36834 * sysdeps/unix/sysv/tcdrain.c: Likewise.
36835 * sysdeps/unix/sysv/tcflow.c: Likewise.
36836 * sysdeps/unix/sysv/tcflush.c: Likewise.
36837 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36838 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36839 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36840 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36841 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36842
e7740d31
JM
36843 * sysdeps/unix/siglist.c: Remove file.
36844
ee06f18b
JM
36845 * sysdeps/unix/getppid.S: Remove file.
36846
097d59fa
JM
36847 * sysdeps/unix/mkdir.c: Remove file.
36848 * sysdeps/unix/rmdir.c: Likewise.
36849
ff3d51ec
AS
368502012-04-19 Andreas Schwab <schwab@linux-m68k.org>
36851
36852 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36853 ERR_MAX value.
36854 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36855 errlist-compat value.
36856
50f81fd7
DM
368572012-04-18 David S. Miller <davem@davemloft.net>
36858
36859 * sysdeps/generic/memcopy.h (reg_char): Delete.
36860 * debug/strcat_chk.c: Use char, not reg_char.
36861 * debug/strcpy_chk.c: Likewise.
36862 * debug/strncat_chk.c: Likewise.
36863 * debug/strncpy_chk.c: Likewise.
36864 * string/memchr.c: Likewise.
36865 * string/memrchr.c: Likewise.
36866 * string/rawmemchr.c: Likewise.
36867 * string/strcat.c: Likewise.
36868 * string/strchr.c: Likewise.
36869 * string/strchrnul.c: Likewise.
36870 * string/strcmp.c: Likewise.
36871 * string/strcpy.c: Likewise.
36872 * string/strncat.c: Likewise.
36873 * string/strncmp.c: Likewise.
36874 * string/strncpy.c: Likewise.
36875
8ff41c46
WS
368762012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36877
36878 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36879 __builtin_memcopy is called when src and dest ranges are known to not
36880 overlap.
36881
6b652f46
WS
368822012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36883
36884 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36885 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36886 fwd_align_merge macro call.
36887 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36888 bwd_align_merge macro call.
36889 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36890
b282631e
WS
368912012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36892
36893 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36894 bwd_align_merge macros.
36895 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36896 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36897 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36898
95aa737c
DM
368992012-04-18 David S. Miller <davem@davemloft.net>
36900
36901 * sysdeps/sparc/sparc64/memcopy.h: Delete.
36902
7a99a614
AJ
369032012-04-18 Andreas Jaeger <aj@suse.de>
36904
36905 [BZ# 6794]
36906 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36907 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36908 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36909
36910 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36911 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36912 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36913
36914 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36915 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36916 Adjust for changed ldbl-128 files.
36917
36918 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36919 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36920 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36921
e5270c23
DM
369222012-04-17 David S. Miller <davem@davemloft.net>
36923
36924 * sysdeps/sparc/sparc32/memcopy.h: Delete.
36925
fb5e92c9
AS
369262012-04-17 Andreas Schwab <schwab@linux-m68k.org>
36927
36928 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36929 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36930 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36931 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36932 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36933 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36934
76da7265
AZ
369352012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36936
36937 [BZ #6794]
36938 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36939 * math/libm-test.inc: Add ilogb errno and exception tests.
36940 * math/w_ilogb.c: New file: ilogb wrapper.
36941 * math/w_ilogbf.c: New file: ilogbf wrapper.
36942 * math/w_ilogbl.c: New file: ilogbl wrapper.
36943 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36944 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36945 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36946 exception being thrown with 0.0 as argument.
36947 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36948 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36949 exception being thrown with 0.0 as argument.
36950 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36951 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36952 exception being thrown with 0.0 as argument.
36953 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36954 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36955 exception being thrown with 0.0 as argument.
36956 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36957 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 36958 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
36959 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36960 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36961 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36962 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36963 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36964 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36965
0396e69d
PB
369662012-04-17 Petr Baudis <pasky@ucw.cz>
36967
36968 * include/sys/uio.h: Change __vector to __iovec to avoid clash
36969 with altivec.
36970
750b5926
MP
369712012-04-16 Marek Polacek <polacek@redhat.com>
36972
36973 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36974
751728a1
MP
369752012-04-16 Marek Polacek <polacek@redhat.com>
36976
36977 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36978 operands of fdivp instruction.
36979
34a27407
L
369802012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36981
36982 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36983 * elf/tst-auditmod3b.c: Likewise.
36984 * elf/tst-auditmod4b.c: Likewise.
36985 * elf/tst-auditmod5b.c: Likewise.
36986 * elf/tst-auditmod6b.c: Likewise.
36987 * elf/tst-auditmod6c.c: Likewise.
36988 * elf/tst-auditmod7b.c: Likewise.
36989 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36990 * sysdeps/x86_64/preconfigure.in: Likewise.
36991 * sysdeps/x86_64/preconfigure: Regenerated.
36992
7e73e17d
L
369932012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36994
36995 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36996 __ILP32__.
36997
c7a6ab72
AB
369982012-04-13 Antoine Balestrat <merkil33@gmail.com>
36999
37000 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37001 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37002
a9e8e0e0
CL
370032012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
37004
37005 [BZ #13973]
37006 * locale/iso-639.def: Fix gl language name. Spotted by
37007 Yaron Shahrabani.
37008
ec98af7d
RM
370092012-04-12 Roland McGrath <roland@hack.frob.com>
37010
37011 [BZ #2074]
37012 * libio/libio.h (__io_write_fn): Update comment.
37013
247c3ede
PB
370142012-04-12 Petr Baudis <pasky@ucw.cz>
37015
37016 [BZ #2074]
37017 * stdio.texi (Hook Functions): The user provided writer function
37018 is not allowed to return -1.
37019
55939d6d
DM
370202012-04-11 David S. Miller <davem@davemloft.net>
37021
37022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37023
90020f5a
MF
370242012-04-11 Mike Frysinger <vapier@gentoo.org>
37025
37026 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37027 Add a leading slash to rtkaio.
37028
288f9098
JM
370292012-04-11 Jim Meyering <meyering@redhat.com>
37030
90020f5a
MF
37031 [BZ #11959]
37032 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37033 It is not necessarily an error to ignore fwrite's return
37034 value. One can reliably use ferror to test for errors after
37035 the fact.
288f9098 37036
4be2b570
L
370372012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37038
37039 * bits/types.h (__snseconds_t): New type.
37040 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37041
37042 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37043 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37044 (__SNSECONDS_T_TYPE): Likewise.
37045 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37046 (__SNSECONDS_T_TYPE): Likewise.
37047 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37048 (__SNSECONDS_T_TYPE): Likewise.
37049
288f9098 370502012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
37051
37052 [BZ #2636]
37053 * manual/time.texi (Processor Time): Return type of times is
37054 elapsed real time since an arbitrary point in the past.
37055 (CPU Time): Move CLK_TCK from here...
37056 (Processor Time): ...to here. Correct description.
37057 * manual/conf.texi (Constants for Sysconf): Correct description of
37058 _SC_CLK_TCK.
37059
d7dd4413
DM
370602012-04-10 David S. Miller <davem@davemloft.net>
37061
37062 [BZ #13967]
37063 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37064 where the is a gap between DT_REL(A) and DT_JMPREL.
37065
b46068fc
L
370662012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37067
37068 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37069 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37070 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37071
73d65cc3
SP
370722012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37073
37074 * elf/dl-support.c (_dl_inhibit_cache): New variable.
37075 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37076 (dl_main): Handle --inhibit-cache.
37077 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37078 _dl_inhibit_cache.
37079 * elf/dl-load.c (_dl_map_object): Use it.
37080 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37081
bcc8d661
JM
370822012-04-09 Joseph Myers <joseph@codesourcery.com>
37083
8f9a2fae
JM
37084 [BZ #13872]
37085 * sysdeps/i386/fpu/e_powl.S (p78): New object.
37086 (__ieee754_powl): Saturate large exponents rather than testing for
37087 overflow of y*log2(x).
37088 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37089 * math/libm-test.inc (pow_test): Do not permit spurious overflow
37090 exceptions.
37091
bcc8d661
JM
37092 [BZ #11521]
37093 * math/s_ctan.c: Include <float.h>.
37094 (__ctan): Avoid internal overflow or cancellation in calculating
37095 denominator.
37096 * math/s_ctanf.c: Likewise.
37097 * math/s_ctanl.c: Likewise.
37098 * math/s_ctanh.c: Likewise.
37099 * math/s_ctanhf.c: Likewise.
37100 * math/s_ctanhl.c: Likewise.
37101 * math/libm-test.inc (ctan_test): Add more tests.
37102 (ctanh_test): Likewise.
37103 * sysdeps/i386/fpu/libm-test-ulps: Update.
37104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37105
823fbbb4
AJ
371062012-04-09 Andreas Jaeger <aj@suse.de>
37107
03879793
AJ
37108 [BZ #6894]
37109 * manual/filesys.texi (Directory Entries): Mention that d_namlen
37110 is an optional BSD extension.
37111
823fbbb4
AJ
37112 [BZ #10254]
37113 * manual/stdio.texi (Opening Streams): Document additional fopen
37114 parameters.
37115
8de131cb
RM
371162012-04-09 Roland McGrath <roland@hack.frob.com>
37117
37118 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37119 %eax without telling the compiler.
37120
c0ed9d7d
CD
371212012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
37122
37123 [BZ # 13963]
37124 * manual/install.texi: Use sourceware.org.
37125
c483f6b4
JM
371262012-04-09 Joseph Myers <joseph@codesourcery.com>
37127
d7dd9453
JM
37128 [BZ #13873]
37129 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37130 (__ieee754_pow): Generate overflow and underflow using huge*huge
37131 and tiny*tiny rather than just returning constant infinity or zero
37132 for large exponents.
37133 * math/libm-test.inc (pow_test): Require overflow exceptions for
37134 applicable cases of large exponents.
37135
c483f6b4
JM
37136 [BZ #706]
37137 * sysdeps/i386/fpu/e_pow.S (p10): New object.
37138 (__ieee754_pow): Use iterative multiplication algorithm only for
37139 integer exponents with absolute value below 1024. Check for odd
37140 integer exponents when using algorithm for real exponents.
37141 * math/libm-test.inc (pow_test): Add more tests.
37142 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37143
d2de7579
JM
371442012-04-08 Joseph Myers <joseph@codesourcery.com>
37145
37146 [BZ #13705]
37147 * math/libm-test.inc (exp_test): Do not allow overflow exception
37148 on underflow test.
37149
f77f1232
AJ
371502012-04-08 Aurelien Jarno <aurelien@aurel32.net>
37151
37152 [BZ #13705]
37153 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37154 instead of __kernel_standard_f.
37155
3884932b
MF
371562012-04-08 Mike Frysinger <vapier@gentoo.org>
37157
37158 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37159 * sysdeps/x86_64/memset_chk.S: Likewise.
37160
54472e9c
AJ
371612012-04-08 Andreas Jaeger <aj@suse.de>
37162
6ab0fbfc
AJ
37163 [BZ #10153]
37164 * manual/startup.texi (Environment Access): Describe return value
37165 for putenv and setenv.
37166
61efba8c
AJ
37167 [BZ #6895]
37168 * manual/filesys.texi (Directory Entries): Add description for
37169 DT_LNK.
37170
95c3f29a
AJ
37171 [BZ #6890]
37172 * manual/filesys.texi (Directory Entries): Clarify that it's file
37173 system not operating system in the description of DT_UNKNOWN.
37174
54472e9c
AJ
37175 [BZ #6578]
37176 * manual/syslog.texi (closelog): Fix reference, it's openlog.
37177
624254b1
SC
371782012-04-08 Stephen Compall <s11@member.fsf.org>
37179
37180 [BZ #6649]
37181 * manual/llio.texi (Opening and Closing Files): Add cross
37182 reference to explain mode argument.
37183
1e4920e0
MF
371842012-04-07 Mike Frysinger <vapier@gentoo.org>
37185
37186 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37187 * sysdeps/x86_64/memset_chk.S: Likewise.
37188
5ed848f3
DM
371892012-04-07 David S. Miller <davem@davemloft.net>
37190
37191 * elf/elf.h (R_SPARC_WDISP10): Define.
37192 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37193 R_SPARC_SIZE32.
37194 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37195 R_SPARC_SIZE64 and R_SPARC_H34.
37196
96154cd8
CD
371972012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
37198
37199 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37200 conditions and remove no longer applicable assertion.
37201
9904dc47
L
372022012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37203
37204 * bits/byteswap.h: Include <features.h>.
37205 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37206 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37207
f8887d0a
L
372082012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37209
37210 * bits/byteswap.h (__bswap_16): Removed.
37211 Include <bits/byteswap-16.h> to get __bswap_16.
37212 * sysdeps/i386/bits/byteswap.h: Likewise.
37213 * sysdeps/s390/bits/byteswap.h: Likewise.
37214 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37215 * bits/byteswap-16.h: New file.
37216 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37217 * sysdeps/s390/bits/byteswap-16.h: Likewise.
37218 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37219 * string/Makefile (headers): Add bits/byteswap-16.h.
37220
62470f60
PP
372212012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37222
37223 [BZ #13895]
37224 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37225 extra indirection.
37226 * nss/Makefile (tests-static, tests): Add tst-nss-static.
37227 * nss/tst-nss-static.c: New.
37228
4dad7bab
RM
372292012-04-06 Robert Millan <rmh@gnu.org>
37230
37231 [BZ #6486]
37232 * manual/llio.texi (File Position Primitive): lseek
37233 refers to WHENCE when it really means OFFSET.
37234
e9142a17
AJ
372352012-04-06 Andreas Jaeger <aj@suse.de>
37236
2c040eff
AJ
37237 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37238 strncmp declarations.
37239
e9142a17
AJ
37240 * abilist/libc.abilist: Add __poll and __ppoll.
37241
ff9f1c5f
DM
372422012-04-05 David S. Miller <davem@davemloft.net>
37243
dcd2ae90
DM
37244 * scripts/check-local-headers.sh: Accept a host triplet in the
37245 path matched by the exclude regexp.
37246
993eb054
DM
37247 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37248 definition.
37249 * sysdeps/powerpc/powerpc32/dl-machine.h
37250 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37251 * sysdeps/s390/s390-32/dl-machine.h
37252 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37253 * sysdeps/sparc/sparc32/dl-machine.h
37254 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37255 * sysdeps/sparc/sparc64/dl-machine.h
37256 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37257
ff9f1c5f
DM
37258 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37259 lazy binding.
48e2e132 37260 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
37261 undefined symbol errors.
37262
48e2e132 37263 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
37264 DT_NEEDED entries.
37265
e80d6f94
MM
372662012-04-05 Michael Matz <matz@suse.de>
37267
37268 [BZ #13592]
37269 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37270
349fa79f
AJ
372712012-04-05 Andreas Jaeger <aj@suse.de>
37272
37273 [BZ #13908]
37274 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37275 comment.
37276
f402708f
KK
372772012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37278
37279 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37280 which ROUND is no valid rounding mode.
37281
2ecccfc9
KK
372822012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37283
37284 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37285 read again.
37286 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37287
8a53f50f
KK
372882012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37289
37290 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37291 an exception using FPU order intentionally.
37292
372932012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37294
37295 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37296 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37297 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37298 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37299
d653abb7
SJ
373002012-04-05 Simon Josefsson <simon@josefsson.org>
37301
37302 [BZ #12340]
37303 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37304 EINVAL when BUFLEN is too smal.
37305
c3b1bf7d
TS
373062012-04-05 Thomas Schwinge <thomas@codesourcery.com>
37307
37308 [BZ #13553]
37309 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37310 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37311
b1aa60f3
AJ
373122012-04-03 Andreas Jaeger <aj@suse.de>
37313
c3b1bf7d 37314 [BZ #13938]
67f60a26
AJ
37315 * manual/setjmp.texi (System V contexts): Fix sentence.
37316
b1aa60f3
AJ
37317 [BZ #13926]
37318 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37319 New macro for this case.
37320 [!__GNUC__] (__bswap_64): New inline function for this case.
37321 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37322 * bits/byteswap.h: Likewise.
37323 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37324 ull, guard with __GLIBC_HAVE_LONG_LONG.
37325
37326 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37327 __GLIBC_HAVE_LONG_LONG.
37328
37329 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37330 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37331
39c59c35
TMQMF
373322012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37333
37334 [BZ #13691]
37335 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37336 inptr and inend, rather than using last_ch.
37337
135ffda8
DM
373382012-04-02 David S. Miller <davem@davemloft.net>
37339
37340 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37341 * stdio-common/printf-parse.h (read_int): Change return type to
37342 'int', return -1 on INT_MAX overflow.
37343 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37344 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
37345 overflows INT_MAX. Check for overflow of in-format-string precision
37346 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
37347 SIZE_MAX not INT_MAX for integer overflow test.
37348 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37349 skip the construct in the format string but do not record anything.
37350 * stdio-common/bug22.c: Adjust to test both width/prevision
37351 INT_MAX overflow as well as total length INT_MAX overflow. Check
37352 explicitly for proper errno values.
37353
228c019e
TS
373542012-04-02 Thomas Schwinge <thomas@codesourcery.com>
37355
302cadd3
TS
37356 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37357 CHAR_MAX.
37358 * string/test-strcmp.c [! WIDE]: Likewise.
37359 * time/tst-mktime2.c: Likewise for INT_MAX.
37360 * string/test-string.h: #include <sys/param.h> for MIN.
37361
228c019e
TS
37362 * csu/init-first.c (__libc_init_first): Call __ctype_init.
37363 * sysdeps/i386/init-first.c (init): Likewise.
37364 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37365 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37366 * sysdeps/sh/init-first.c (init): Likewise.
37367
cfa633f5
UD
373682012-04-01 Ulrich Drepper <drepper@gmail.com>
37369
37370 * po/ru.po: Update from translation team.
d1635ef8 37371 * po/vi.po: Likewise.
cfa633f5 37372
6cd0a5ea
SP
373732012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37374
37375 * resolv/nss_dns/dns-host.c: Merge copyright years.
37376
4b43400f
LD
373772012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37378
37379 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37380 Optimize memcpy with prefetch if
37381 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
37382 src, dst pointers have unequal 16 byte alignments.
37383
48c41d04
SP
373842012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37385
37386 [BZ #13928]
37387 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37388 from a CNAME entry and return the minimum ttl for the query.
37389 (gaih_getanswer_slice): Likewise.
37390
b8dc394d
JL
373912012-03-30 Jeff Law <law@redhat.com>
37392
37393 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37394 due to long keys.
37395 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37396 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37397
2f5a5ed0
JL
37398 * resolv/nss_dns/dns-host.c: Update copyright year.
37399
1d39e359
UD
374002012-03-30 Ulrich Drepper <drepper@gmail.com>
37401
c030f70c 37402 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 37403 requests to save a system call. Fix check that all bytes are sent.
c030f70c 37404
1d39e359
UD
37405 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37406 comments for sendmmsg.
37407
374082012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
37409
37410 [BZ #13691]
37411 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37412 with only 1 character between 0x0041 and 0x01b0.
37413 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37414 * wcsmbs/tst-mbsnrtowcs.c: New file.
37415
20fde227
DM
374162012-03-29 David S. Miller <davem@davemloft.net>
37417
37418 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37419 small copies by hand.
37420
984a4237
JL
374212012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37422
37423 [BZ #13761]
57f41c40
AS
37424 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37425 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37426 group memberships.
984a4237 37427
18c9d62b
DM
374282012-03-28 David S. Miller <davem@davemloft.net>
37429
88d85d4f
DM
37430 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37431 that branches into memcpy.
37432 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37433 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37434 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37435 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37436 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37437 bits.
37438 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37439 implementation too.
37440 * sysdeps/sparc/mempcpy.S: New file.
37441
e5aa83e1
DM
37442 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37443 the IFUNC routine in the libc case.
37444 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37445
88570753
DM
37446 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37447 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37448 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37449 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37450 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37451 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37452 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37453 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37454
249d7567
DM
37455 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37456 loop to 256 bytes instead of 64 bytes and fix test signedness.
37457
18c9d62b
DM
37458 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37459 * sysdeps/sparc/sparc32/Makefile: rather than here...
37460 * sysdeps/sparc/sparc64/Makefile: and here.
37461
05f3d1f6
UD
374622012-03-28 Ulrich Drepper <drepper@gmail.com>
37463
37464 * malloc/mallocbug.c: Avoid warnings about unused variables.
37465
86ae07a8
JL
374662012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37467
37468 [BZ #13760]
37469 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37470 in the right place. Discard and retry query if response is
37471 larger than input buffer size.
37472
41bf21a1
JM
374732012-03-28 Joseph Myers <joseph@codesourcery.com>
37474
d6270972
JM
37475 [BZ #369]
37476 [BZ #2678]
37477 [BZ #3866]
37478 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37479 x for large integer exponent.
37480 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37481 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
37482 sign of result as needed afterwards.
37483 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37484 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37485 result for underflowing pow the same as for overflow.
37486 (__kernel_standard_l): Handle powl overflow and underflow here
37487 rather than calling __kernel_standard.
37488 * math/libm-test.inc (pow_test): Add more tests.
37489
414fca03 37490 [BZ #3868]
41bf21a1
JM
37491 [BZ #13879]
37492 [BZ #13910]
37493 [BZ #13911]
37494 [BZ #13912]
37495 [BZ #13913]
37496 [BZ #13915]
37497 [BZ #13916]
37498 [BZ #13917]
37499 [BZ #13918]
37500 [BZ #13919]
37501 [BZ #13920]
37502 [BZ #13921]
37503 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37504 * sysdeps/ieee754/k_standard.c: Include <float.h>.
37505 (__kernel_standard_l): New function.
37506 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37507 __kernel_standard.
37508 * math/w_acosl.c (__acosl): Likewise.
37509 * math/w_asinl.c (__asinl): Likewise.
37510 * math/w_atan2l.c (__atan2l): Likewise.
37511 * math/w_atanhl.c (__atanhl): Likewise.
37512 * math/w_coshl.c (__coshl): Likewise.
37513 * math/w_exp10l.c (__exp10l): Likewise.
37514 * math/w_exp2l.c (__exp2l): Likewise.
37515 * math/w_fmodl.c (__fmodl): Likewise.
37516 * math/w_hypotl.c (__hypotl): Likewise.
37517 * math/w_j0l.c (__j0l, __y0l): Likewise.
37518 * math/w_j1l.c (__j1l, __y1l): Likewise.
37519 * math/w_jnl.c (__jnl, __ynl): Likewise.
37520 * math/w_lgammal.c (__lgammal): Likewise.
37521 * math/w_log10l.c (__log10l): Likewise.
37522 * math/w_log2l.c (__log2l): Likewise.
37523 * math/w_logl.c (__logl): Likewise.
37524 * math/w_powl.c (__powl): Likewise.
37525 * math/w_remainderl.c (__remainderl): Likewise.
37526 * math/w_scalbl.c (sysv_scalbl): Likewise.
37527 * math/w_sinhl.c (__sinhl): Likewise.
37528 * math/w_sqrtl.c (__sqrtl): Likewise.
37529 * math/w_tgammal.c (__tgammal): Likewise.
37530 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37531 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37532 * math/libm-test.inc (acos_test): Add more tests.
37533 (acosh_test): Likewise.
37534 (asin_test): Likewise.
37535 (atanh_test): Likewise.
37536 (exp_test): Likewise.
37537 (exp10_test): Likewise.
37538 (exp2_test): Likewise.
37539 (expm1_test): Likewise.
37540 (lgamma_test): Likewise.
37541 (log_test): Likewise.
37542 (log10_test): Likewise.
37543 (log1p_test): Likewise.
37544 (log2_test): Likewise.
37545 (pow_test): Do not allow some spurious overflow exceptions.
37546 (sqrt_test): Add more tests.
37547 (tgamma_test): Likewise.
37548 (y0_test): Likewise.
37549 (y1_test): Likewise.
37550 (yn_test): Likewise.
37551
dd62fda6
AB
375522012-03-27 Anton Blanchard <anton@samba.org>
37553
37554 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37555 MAP_HUGETLB.
37556 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37557 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37558 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37559
1e3cdfda
AJ
375602012-03-27 David S. Miller <davem@davemloft.net>
37561
b855ab85
DM
37562 * conform/Makefile: Run run-conformtest.sh using $(BASH).
37563
1e3cdfda
AJ
37564 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37565 have-as-vis3 check.
37566
375672012-03-27 Andreas Jaeger <aj@suse.de>
37568
37569 * sysdeps/x86_64/elf/configure.in: Moved to ...
37570 * sysdeps/x86_64/configure.in: ... here.
37571 * sysdeps/x86_64/elf/start.S: Moved to ...
37572 * sysdeps/x86_64/start.S: ... here.
37573 * sysdeps/x86_64/elf/configure: Delete.
37574
37575 * sysdeps/x86_64/configure.in: Merge contents from
37576 sysdeps/i386/configure.in (without i686 check).
37577
37578 * sysdeps/i386/elf/Versions: Merge into ...
37579 * sysdeps/i386/Versions: ... this.
37580 * sysdeps/i386/elf/Versions: Delete file.
37581 * sysdeps/i386/elf/start.S: Moved to ...
37582 * sysdeps/i386/start.S: ...here.
37583 * sysdeps/i386/elf/configure.in: Merge into...
37584 * sysdeps/i386/configure.in: ...here.
37585 * sysdeps/i386/elf/configure.in: Delete file.
37586 * sysdeps/i386/elf/configure: Delete file.
37587
37588 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37589 * debug/backtracesyms.c: ... here.
37590 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37591 * debug/backtracesymsfd.c: ... here.
37592 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37593 * sysdeps/generic/ifunc-sel.h: ... here.
37594
37595 * sysdeps/unix/i386/start.c: Delete file.
37596 * sysdeps/unix/sparc/start.c: Delete file.
37597 * sysdeps/unix/start.c: Delete file.
37598
37599 * sysdeps/sh/elf/configure.in: Moved to ...
37600 * sysdeps/sh/configure.in: ... here.
37601 * sysdeps/sh/elf/start.S: Moved to ...
37602 * sysdeps/sh/start.S: ... here.
37603 * sysdeps/sh/elf/configure: Delete file.
37604
37605 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37606 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37607 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37608 * sysdeps/powerpc/powerpc64/entry.h: ... here.
37609 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37610 * sysdeps/powerpc/powerpc64/start.S: here.
37611 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37612 * sysdeps/powerpc/powerpc64/Makefile: ... this.
37613 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37614 * sysdeps/powerpc/powerpc64/configure.in: ... this.
37615 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37616
37617 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37618 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37619 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37620 * sysdeps/powerpc/powerpc32/start.S: ... here.
37621 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37622 * sysdeps/powerpc/powerpc32/configure.in: ... this.
37623 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37624
37625 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37626 * sysdeps/powerpc/ifunc-sel.h: ... here.
37627 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37628 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37629
37630 * sysdeps/sparc/elf/configure.in: Moved to ...
37631 * sysdeps/sparc/configure.in: ... here.
37632 * sysdeps/sparc/elf/configure: Delete file.
37633 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37634 * sysdeps/sparc/sparc32/start.S: ... here.
37635 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37636 * sysdeps/sparc/sparc64/start.S: ... here.
37637 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37638 * sysdeps/sparc/sparc32/Makefile: ... this.
37639 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37640 * sysdeps/sparc/sparc64/Makefile: ... this.
37641
37642 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37643 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37644 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37645 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37646 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37647 * sysdeps/s390/s390-32/setjmp.S: ... here.
37648 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37649 * sysdeps/s390/s390-32/configure.in: ... here.
37650 * sysdeps/s390/s390-32/elf/configure: Delete file.
37651 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37652 * sysdeps/s390/s390-32/start.S: ... here.
37653
37654 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37655 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37656 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37657 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37658 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37659 * sysdeps/s390/s390-64/setjmp.S: ... here.
37660 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37661 * sysdeps/s390/s390-64/configure.in: ... here
37662 * sysdeps/s390/s390-64/elf/configure: Delete file.
37663 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37664 * sysdeps/s390/s390-64/start.S: ... here.
37665 * sysdeps/s390/s390-64/elf/configure: Delete.
37666
37667 * configure.in: Remove support for elf directories in sysdeps.
37668
37669 * configure: Regenerated.
37670 * sysdeps/i386/configure: Regenerated.
37671 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37672 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37673 * sysdeps/s390/s390-32/configure: Regenerated.
37674 * sysdeps/s390/s390-64/configure: Regenerated.
37675 * sysdeps/sh/configure: Regenerated.
37676 * sysdeps/sparc/configure: Regenerated.
37677 * sysdeps/x86_64/configure: Regenerated.
37678
a3f61311
AS
376792012-03-26 Andreas Schwab <schwab@linux-m68k.org>
37680
c876e002
AS
37681 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37682
a3f61311
AS
37683 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37684 denormal result into account.
37685
ac4c54f0
RM
376862012-03-25 Roland McGrath <roland@hack.frob.com>
37687
37688 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37689 Reported by Allan McRae <allan@archlinux.org>.
37690
6a9b9c02
JL
376912012-03-23 Jeff Law <law@redhat.com>
37692
37693 * nss/getnssent.c (__nss_getent): Fix typo.
37694
4c42a0c1
DM
376952012-03-23 David S. Miller <davem@davemloft.net>
37696
37697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37698
1532c7ac
L
376992012-03-23 H.J. Lu <hongjiu.lu@intel.com>
37700
37701 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37702 to pad to uint64_t for each field.
37703 (dl_tls_index): Replace unsigned long with uint64_t.
37704
3ff42526
PP
377052012-03-23 Daniel Jacobowitz <dmj@google.com>
37706 Paul Pluzhnikov <ppluzhnikov@google.com>
37707
37708 [BZ #6528]
37709 * grp/Makefile (otherlibs): Don't set it.
37710 * inet/Makefile (otherlibs): Likewise.
37711 * login/Makefile (otherlibs): Likewise.
37712 * nscd/Makefile (otherlibs): Likewise.
37713 * posix/Makefile (otherlibs): Likewise.
37714 * pwd/Makefile (otherlibs): Likewise.
37715 * rt/Makefile (otherlibs): Likewise.
37716 * sunrpc/Makefile (otherlibs): Likewise.
37717 * nss/Makefile (otherlibs): Likewise.
37718 Add libnss_files to routines and static-only-routines.
37719 ($(objpfx)getent): Remove rule.
37720 * resolv/Makefile: Add libnss_dns and libresolv to routines and
37721 static-only-routines.
37722
7c69cd14
JM
377232012-03-22 Joseph Myers <joseph@codesourcery.com>
37724
37725 [BZ #13892]
37726 * math/s_cexp.c: Include <float.h>.
37727 (__cexp): Handle exp result overflowing not necessarily
37728 overflowing both real and imaginary parts of result.
37729 * math/s_cexpf.c: Likewise.
37730 * math/s_cexpl.c: Likewise.
37731 * math/libm-test.inc (cexp_test): Add more tests.
37732 * sysdeps/i386/fpu/libm-test-ulps: Update.
37733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37734
81b035fe
L
377352012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37736
37737 * include/link.h (ELFW): New macro.
37738 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37739 Replace ELF64_R_TYPE with ELFW(R_TYPE).
37740
1da7940c
L
377412012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37742
37743 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37744 with uint64_t.
37745
b749dbb9
L
377462012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37747
37748 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37749 declaration.
37750 (struct La_x32_retval): Likewise.
37751
2ff87f3f
L
377522012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37753
37754 * sysdeps/x86_64/preconfigure.in: New file.
37755 * sysdeps/x86_64/preconfigure: New generated file.
37756
c0df8e69
JM
377572012-03-22 Joseph Myers <joseph@codesourcery.com>
37758
48e44791
JM
37759 [BZ #13824]
37760 * math/e_exp2l.c: Include <float.h>.
37761 (__ieee754_exp2l): Handle overflow and underflow cases
37762 separately. Only pass fractional part of argument to
37763 __ieee754_expl.
37764 * math/libm-test.inc (exp2_test): Add more tests.
37765
c0df8e69
JM
37766 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37767 negating x to take absolute value.
37768 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37769 Likewise.
37770 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37771 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37772 Likewise.
37773 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37774 computing low part if x was negated.
37775 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37776
c8e43ba7
L
377772012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37778
37779 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37780 la_x32_gnu_pltexit.
37781 (pltexit): Cast int_retval to ptrdiff_t.
37782 * elf/tst-auditmod3b.c: Likewise.
37783 * elf/tst-auditmod4b.c: Likewise.
37784 * elf/tst-auditmod5b.c: Likewise.
37785 * elf/tst-auditmod6b.c: Likewise.
37786 * elf/tst-auditmod6c.c: Likewise.
37787 * elf/tst-auditmod7b.c: Likewise.
37788
37789 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37790 and x32_gnu_pltexit.
37791
37792 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37793 __ELF_NATIVE_CLASS.
37794 (La_x32_regs): New macro.
37795 (La_x32_retval): Likewise.
37796 (la_x32_gnu_pltenter): New function prototype.
37797 (la_x32_gnu_pltexit): Likewise.
37798
7998fa78
AS
377992012-03-21 Andreas Schwab <schwab@linux-m68k.org>
37800
dcb33988
AS
37801 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37802 exponent.
37803
233fc563
AS
37804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37805
7998fa78
AS
37806 * configure.in (libc_cv_cc_nofma): Check for option to disable
37807 generation of FMA instructions.
37808 * configure: Regenerate.
37809 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37810 * sysdeps/ieee754/dbl-64/Makefile: New file.
37811 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37812 Remove brandred-fma4.
37813 (CFLAGS-brandred-fma4.c): Remove.
37814 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37815 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37816 define.
37817 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37818 define.
37819
8e95c99a
L
378202012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37821
37822 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37823 LLONG_MAX != LONG_MAX.
37824 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37825 (_fitoa_word): Likewise.
37826 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37827 LLONG_MAX != LONG_MAX.
37828 * stdio-common/_itowa.h: Include <_itoa.h>.
37829 (_itowa_word): Use _ITOA_WORD_TYPE on value.
37830 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
37831 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
37832 only if not defined.
37833 (_ITOA_WORD_TYPE): Likewise.
37834 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37835 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37836
6f4db457
DM
378372012-03-21 David S. Miller <davem@davemloft.net>
37838
37839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37840
7785fe5a
L
378412012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37842
37843 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37844 of x86_64 when setting libc_cv_slibdir, libdir and
37845 libc_cv_localedir.
37846 * sysdeps/unix/sysv/linux/configure: Regenerated.
37847
4535cd55
JM
378482012-03-21 Joseph Myers <joseph@codesourcery.com>
37849
37850 * manual/lang.texi (Old Varargs): Remove section.
37851 (How Variadic): Update menu.
37852 (va_start): Do not mention varargs.h.
37853
17228132
TS
378542012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37855 Joseph Myers <joseph@codesourcery.com>
37856
37857 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37858 link test.
37859 * configure: Regenerated.
37860
8149f976
TS
378612012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37862
05f3d1f6
UD
37863 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37864 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37865 conformtest.pl
8149f976 37866
1a4ac776
JM
378672012-03-21 Joseph Myers <joseph@codesourcery.com>
37868
be22ce65
JM
37869 * NOTES: Remove.
37870 * Makefile (files-for-dist): Remove NOTES.
37871 (NOTES): Remove rule.
37872 * README: Don't refer to NOTES.
37873 * manual/creature.texi: Don't include macros.texi.
37874 * manual/intro.texi (creature.texi): Remove comment referring to
37875 NOTES.
37876
40b601fb
JM
37877 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37878 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37879 * configure: Regenerated.
37880 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37881 LIBC_TRY_CC_OPTION.
37882 (libc_cv_as_i686): Likewise.
37883 (libc_cv_cc_avx): Likewise.
37884 (libc_cv_cc_sse2avx): Likewise.
37885 (libc_cv_cc_fma4): Likewise.
37886 (libc_cv_cc_novzeroupper): Likewise.
37887 * sysdeps/i386/configure: Regenerated.
37888
1a4ac776
JM
37889 [BZ #13883]
37890 * sysdeps/i386/fpu/s_cexp.S: Remove.
37891 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37892 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37893 * math/libm-test.inc (cexp_test): Add more tests.
37894 * sysdeps/i386/fpu/libm-test-ulps: Update.
37895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37896
a458e7fe
AM
378972012-03-21 Allan McRae <allan@archlinux.org>
37898
37899 * timezone/Makefile: Do not install iso3166.tab and zone.tab
37900
0cb7efc5
JM
379012012-03-21 Joseph Myers <joseph@codesourcery.com>
37902
37903 [BZ #13871]
37904 * math/w_exp2.c: Do not include <float.h>.
37905 (o_threshold, u_threshold): Remove.
37906 (__exp2): Calculate result before checking finiteness and calling
37907 __kernel_standard.
37908 * math/w_exp2f.c: Likewise.
37909 * math/w_exp2l.c: Likewise.
37910 * math/libm-test.inc (exp2_test): Require overflow exception for
37911 1e6 input.
2460d3aa
JM
37912
37913 [BZ #3866]
37914 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37915 range of signed 64-bit integers before using fistpll. Remove
37916 checks for whether integers fit in mantissa bits.
37917 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37918 the range of signed 32-bit integers before using fistpl. Remove
37919 checks for whether integers fit in mantissa bits.
37920 * sysdeps/i386/fpu/e_powl.S (p64): New object.
37921 (__ieee754_powl): Test for y outside the range of signed 64-bit
37922 integers before using fistpll. Reduce 64-bit values to 63-bit
37923 ones as needed.
37924 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37925 divide-by-zero is raised for zero to large negative powers.
37926 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37927 (__ieee754_powl): Test for y outside the range of signed 64-bit
37928 integers before using fistpll. Reduce 64-bit values to 63-bit
37929 ones as needed.
37930 * math/libm-test.inc (pow_test): Add more tests.
37931
eb96ffb0
L
379322012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37933
37934 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37935 <stdio-common/_itoa.h>.
37936 * debug/segfault.c: Likewise.
37937 * elf/dl-cache.c: Likewise.
37938 * elf/dl-minimal.c: Likewise.
37939 * elf/dl-misc.c: Likewise.
37940 * elf/dl-sysdep.c: Likewise.
37941 * elf/dl-version.c: Likewise.
37942 * elf/rtld.c: Likewise.
37943 * hurd/hurdsock.c: Likewise.
37944 * hurd/lookup-retry.c: Likewise.
37945 * malloc/malloc.c: Likewise.
37946 * malloc/mtrace.c: Likewise.
37947 * nscd/nscd_getgr_r.c: Likewise.
37948 * nscd/nscd_getpw_r.c: Likewise.
37949 * nscd/nscd_getserv_r.c: Likewise.
37950 * posix/getopt_init.c: Likewise.
37951 * posix/wordexp.c: Likewise.
37952 * stdio-common/_itoa.c: Likewise.
37953 * stdio-common/printf_fphex.c: Likewise.
37954 * stdio-common/vfprintf.c: Likewise.
37955 * string/_strerror.c: Likewise.
37956 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37957 * sysdeps/i386/i686/hp-timing.h: Likewise.
37958 * sysdeps/mach/_strerror.c: Likewise.
37959 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37960 * sysdeps/mach/hurd/sethostid.c: Likewise.
37961 * sysdeps/mach/hurd/xmknodat.c: Likewise.
37962 * sysdeps/mach/xpg-strerror.c: Likewise.
37963 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37964 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37965 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37966 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37967 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37968 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37969 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37970 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37971 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37972 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37973 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37974 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37975 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37976 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37977 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37978 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37979 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37980 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37981 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37982 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37983 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37984
37985 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37986
37987 * stdio-common/_itoa.h: Moved to ...
37988 * sysdeps/generic/_itoa.h: Here.
37989
37990 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37991
37992 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37993 instead of "_itoa.h" and "_itowa.h".
37994 * stdio-common/vfprintf.: Likewise.
37995
d1af992d
L
379962012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37997
37998 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37999 <bits/wordsize.h>.
38000 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38001 (__signbit): Likwise.
38002 (llrintf): Likwise.
38003 (llrint): Likwise.
38004
114883e0
L
380052012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38006
38007 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38008 __WORDSIZE != 64.
38009
c135cc1b
JM
380102012-03-20 Joseph Myers <joseph@codesourcery.com>
38011
38012 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38013 OVERFLOW_EXCEPTION_OK.
38014 * math/libm-test.inc ("Philosophy"): Update comment about
38015 exception testing.
38016 (OVERFLOW_EXCEPTION): Define.
38017 (OVERFLOW_EXCEPTION_OK): Likewise.
38018 (INVALID_EXCEPTION_OK): Renumber.
38019 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38020 (IGNORE_ZERO_INF_SIGN): Likewise.
38021 (test_exceptions): Handle FE_OVERFLOW.
38022 (exp10_test): Expect overflow exceptions.
38023 (exp2_test): Likewise.
38024 (expm1_test): Likewise.
38025 (nextafter_test): Likewise.
38026 (pow_test): Likewise.
38027 (scalbn_test): Likewise.
38028 (scalbln_test): Likewise.
38029
95443d88
L
380302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38031
38032 * sysdeps/x86_64/bits/atomic.h
38033 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38034 64bit integer.
38035 (atomic_exchange_acq): Likewise.
38036 (__arch_exchange_and_add_body): Likewise.
38037 (__arch_add_body): Likewise.
38038 (atomic_add_negative): Likewise.
38039 (atomic_add_zero): Likewise.
38040
490df6c4
L
380412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38042
c2722551 38043 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
38044 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38045
5e52b189
L
380462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38047
38048 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38049 Check __x86_64__ instead of __WORDSIZE.
38050
a9879d4c
L
380512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38052
38053 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38054
5df98260
DM
380552012-03-19 David S. Miller <davem@davemloft.net>
38056
e1497744
DM
38057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38058
5df98260
DM
38059 * sysdeps/sparc/fpu/fenv_private.h: New file.
38060 * sysdeps/sparc/fpu/math_private.h: Use it.
38061 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38062 Remove.
57f41c40 38063 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
38064 (libc_feholdexcept_setroundl): Remove.
38065 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38066 Remove.
38067 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38068 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38069
b4c35121
L
380702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38071
38072 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38073 int64_t instead of long int.
38074 (INSERT_WORDS64): Likwise.
38075
56965fd7
L
380762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38077
38078 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38079 _Unwind_GetCFA return to _Unwind_Ptr first.
38080
83d1aec8
JM
380812012-03-19 Joseph Myers <joseph@codesourcery.com>
38082
1897ad44
JM
38083 [BZ #13629]
38084 * math/s_clog.c: Include <float.h>.
38085 (__clog): Scale large or subnormal inputs.
38086 * math/s_clogf.c: Likewise.
38087 * math/s_clogl.c: Likewise.
38088 * math/s_clog10.c: Include <float.h>.
38089 (M_LOG10_2): Define.
38090 (__clog10): Scale large or subnormal inputs.
38091 * math/s_clog10f.c: Likewise.
38092 * math/s_clog10l.c: Likewise.
38093 * math/libm-test.inc (clog_test): Add more tests.
38094 (clog10_test): Likewise.
38095 * sysdeps/i386/fpu/libm-test-ulps: Update.
38096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38097
7726d6a9
JM
38098 [BZ #11451]
38099 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38100 x and y.
38101 * math/libm-test.inc (atan2_test): Add another test.
38102
83d1aec8
JM
38103 * Makerules (common-objdir-compile): Remove.
38104 * sysdeps/unix/Makefile (config-generated): Do not add
38105 $(unix-generated) to variable.
38106 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38107 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38108 Remove rule.
38109 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38110 Likewise.
38111 [generic bits/local_lim.h] (before-compile): Do not append to
38112 variable.
38113 [generic bits/local_lim.h] (common-generated): Likewise.
38114 [generic sys/param.h] (before-compile): Do not append to variable.
38115 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38116 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38117 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38118 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38119 include.
38120 [generic sys/param.h] (sys/param.h-includes): Remove variable.
38121 [generic sys/param.h] (sys/param.h-includes): Remove rule.
38122 [generic sys/param.h] ($(addprefix
38123 $(common-objpfx),$(sys/param.h-includes))): Likewise.
38124 [generic sys/param.h] (common-generated): Do not append to
38125 variable.
38126 [generic sys/param.h] (sysdep_headers): Likewise.
38127 [generic bits/errno.h] (before-compile): Do not append to
38128 variable.
38129 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38130 rule.
38131 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38132 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38133 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38134 [generic bits/errno.h] (common-generated): Do not append to
38135 variable.
38136 [generic bits/ioctls.h] (before-compile): Do not append to
38137 variable.
38138 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38139 rule.
38140 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38141 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38142 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38143 rule.
38144 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38145 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38146 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38147 [generic bits/ioctls.h] (common-generated): Do not append to
38148 variable.
38149 [generic sys/syscall.h] (syscall.h): Remove variable.
38150 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38151 rule.
38152 [generic sys/syscall.h] (before-compile): Do not append to
38153 variable.
38154 [generic sys/syscall.h] (common-generated): Likewise.
38155 * sysdeps/unix/errnos-tmpl.c: Remove file.
38156 * sysdeps/unix/errnos.awk: Likewise.
38157 * sysdeps/unix/ioctls-tmpl.c: Likewise.
38158 * sysdeps/unix/ioctls.awk: Likewise.
38159 * sysdeps/unix/mk-local_lim.c: Likewise.
38160 * sysdeps/unix/snarf-ioctls: Likewise.
38161
4851a949
RH
381622012-03-19 Richard Henderson <rth@twiddle.net>
38163
bd37f2ee
RH
38164 * sysdeps/i386/fpu/fenv_private.h: New file.
38165 * sysdeps/i386/fpu/math_private.h: Use it.
38166 (math_opt_barrier, math_force_eval): Remove.
38167 (libc_feholdexcept_setround_53bit): Remove.
38168 (libc_feupdateenv_53bit): Remove.
38169 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38170 (math_opt_barrier, math_force_eval): Remove.
38171 (libc_feholdexcept): Remove.
38172 (libc_feholdexcept_setround): Remove.
38173 (libc_fetestexcept, libc_fesetenv): Remove.
38174 (libc_feupdateenv_test): Remove.
38175 (libc_feupdateenv, libc_feholdsetround): Remove.
38176 (libc_feresetround): Remove.
38177
d0adc922
RH
38178 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38179 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38180
0fe0f1f8
RH
38181 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38182 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38183 (libc_feupdateenv_testl): New.
38184 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38185 (libc_feupdateenv_testf): New.
38186 (libc_feupdateenv): Use libc_feupdateenv_test.
38187 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38188 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38189
eb92c487
RH
38190 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38191 (libc_feholdsetroundf, libc_feholdsetroundl): New.
38192 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38193 (libc_feresetround_noex): New.
38194 (libc_feresetround_noexf): New.
38195 (libc_feresetround_noexl): New.
38196 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38197 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38198 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38199 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38200 SET_RESTORE_ROUND.
38201 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38202 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38203 (__cos): Likewise.
38204 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38205 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38206 SET_RESTORE_ROUND_NOEX.
38207 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38208 SET_RESTORE_ROUND_NOEXF.
38209 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38210 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38211 (libc_feholdsetroundf): New.
38212 (libc_feresetround, libc_feresetroundf): New.
38213
7d2e8012
RH
38214 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38215 (libc_feholdexcept_setround_53bit): Convert from macro to function.
38216 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
38217
b4dabbb4
RH
38218 * sysdeps/generic/math_private.h: Include <fenv.h>.
38219 (default_libc_feholdexcept): New.
38220 (default_libc_feholdexcept_setround): New.
38221 (default_libc_fesetenv, default_libc_feupdateenv): New.
38222 (libc_feholdexcept): Only define if undefined.
38223 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38224 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38225 (libc_feholdexcept_setroundl): Likewise.
38226 (libc_feholdexcept_setround_53bit): Likewise.
38227 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38228 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38229 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38230 (libc_feupdateenv_53bit): Likewise.
38231 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38232 (libc_feholdexcept): Convert from macro to inline function.
38233 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38234 (libc_fesetenv, libc_feupdateenv): Likewise.
38235
4851a949
RH
38236 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38237 not previously defined.
38238 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38239 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38240 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38241 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38242 * sysdeps/ieee754/flt-32/math_private.h: New file.
38243 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38244 math_private.h below SET_FLOAT_WORD.
38245 (__isnan, __isinf_ns, __finite): Remove.
38246 (__isnanf, __isinf_nsf, __finitef): Remove.
38247
e79d442e
AS
382482012-03-18 Andreas Schwab <schwab@linux-m68k.org>
38249
38250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38251
90b80344
DM
382522012-03-17 David S. Miller <davem@davemloft.net>
38253
38254 [BZ #6471]
38255 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38256 for 2.16.
38257
edc21804
DM
382582012-03-16 David S. Miller <davem@davemloft.net>
38259
77e927af
DM
38260 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38261 warnings.
38262
374976dd
DM
38263 [BZ #6471]
38264 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38265 properly.
38266 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38267 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38268 sysdep_routines when subdir is sysvipc.
38269 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38270 __getshmlba helper.
38271
edc21804
DM
38272 * sysdeps/sparc/fpu/libm-test/ulps: Update.
38273
473c3ef3
L
382742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38275
38276 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38277 [__LP64__].
38278
eb0f39b6
L
382792012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38280
38281 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38282 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38283 (__lround): Renamed to ...
38284 (__llround): This. Replace long int with long long int.
38285 Define lround functions as aliases of llround functions.
38286 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38287
6b6cd74b
L
382882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38289
38290 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38291 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
38292 adresses to uintptr_t. Replace "long int" and "unsigned long
38293 int" with "greg_t" on va_arg.
38294
f1a77b01
L
382952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38296
38297 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38298 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38299
38300 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38301 Move e_machine check before EI_CLASS check. Handle x32
38302 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38303 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38304 SKIP_EM_IA_64 and include
38305 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38306
38307 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38308 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38309 (add_system_dir): New macro.
38310
38311 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38312 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38313
11b90b9f
JM
383142012-03-16 Joseph Myers <joseph@codesourcery.com>
38315
c36e1d23
JM
38316 [BZ #2551]
38317 [BZ #2552]
38318 [BZ #2553]
38319 [BZ #2554]
38320 [BZ #2562]
38321 [BZ #2563]
38322 [BZ #2565]
38323 [BZ #2566]
38324 [BZ #2576]
38325 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38326 (y0): Likewise.
38327 * math/w_j0f.c (j0f): Likewise.
38328 (y0f): Likewise.
38329 * math/w_j0l.c (__j0l): Likewise.
38330 (__y0l): Likewise.
38331 * math/w_j1.c (j1): Likewise.
38332 (y1): Likewise.
38333 * math/w_j1f.c (j1f): Likewise.
38334 (y1f): Likewise.
38335 * math/w_j1l.c (__j1l): Likewise.
38336 (__y1l): Likewise.
38337 * math/w_jn.c (jn): Likewise.
38338 (yn): Likewise.
38339 * math/w_jnf.c (jnf): Likewise.
38340 (ynf): Likewise.
38341 * math/w_jnl.c (__jnl): Likewise.
38342 (__ynl): Likewise.
38343 * math/libm-test.inc (j0_test): Add more tests.
38344 (j1_test): Likewise.
38345 (jn_test): Likewise. Add trailing semicolon to existing test.
38346 (y0_test): Likewise.
38347 (y1_test): Likewise.
38348 * sysdeps/i386/fpu/libm-test-ulps: Update.
38349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38350
11b90b9f
JM
38351 [BZ #13851]
38352 [BZ #13854]
38353 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38354 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38355 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38356 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38357 (__tanl): Set errno for infinite argument.
38358 * sysdeps/i386/fpu/mptan.c: Remove.
38359 * sysdeps/i386/fpu/s_tan.S: Likewise.
38360 * sysdeps/i386/fpu/s_tanl.S: Likewise.
38361 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38362 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38363 * math/libm-test.inc (tan_test): Add more tests and enable more
38364 tests for double and long double.
38365 * sysdeps/i386/fpu/libm-test-ulps: Update.
38366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38367
6a1bd2a1
JK
383682012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
38369
38370 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38371 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38372
10a803e0
RM
383732012-03-16 Roland McGrath <roland@hack.frob.com>
38374
38375 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38376 * configure.in: Use it for both main tree and add-ons.
38377 * configure: Regenerated.
38378
f196c7f7
L
383792012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38380
38381 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38382
8848d99d
JM
383832012-03-16 Joseph Myers <joseph@codesourcery.com>
38384
96cbe7f4
JM
38385 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38386 in comment.
38387
8848d99d
JM
38388 [BZ #13851]
38389 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38390 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38391 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38392 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38393 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38394 infinite argument.
38395 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38396 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38397 != 0 for prec == 2.
38398 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38399 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38400 * sysdeps/i386/fpu/s_cosl.S: Likewise.
38401 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38402 * sysdeps/i386/fpu/s_sinl.S: Likewise.
38403 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38404 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38405 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38406 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38407 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38408 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38409 * math/libm-test.inc (cos_test): Add more tests and enable more
38410 tests for long double.
38411 (sin_test): Likewise.
38412 (sincos_test): Likewise.
38413 * sysdeps/i386/fpu/libm-test-ulps: Update.
38414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38415
dd7f4703
DM
384162012-03-16 David S. Miller <davem@davemloft.net>
38417
38418 * sysdeps/sparc/fpu/math_private.h: New file.
38419
006f1daa
DM
384202012-03-15 David S. Miller <davem@davemloft.net>
38421
c0c83bc8
DM
38422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38423 file.
e6a62e18 38424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
38425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38426 file.
e6a62e18
DM
38427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38428 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38429 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38430 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38431 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38432 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38433 sysdep routines.
38434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38435
88cb87d9
DM
38436 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38437 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38438
006f1daa 38439 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
38440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38441 sparc-ifunc.h
006f1daa 38442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
38443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38444 Likewise.
38445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38446 Likewise.
006f1daa
DM
38447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
38450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38451 Likewise.
006f1daa
DM
38452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
38456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38457 Likewise.
38458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38459 Likewise.
006f1daa
DM
38460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38464 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38465 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38466 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38467 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38468 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38469 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38470 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38471 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38472 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38473 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38474 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38475 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38476 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38477 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38478 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38479 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38480 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38481 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38482 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38483 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38484
11e0098e
AS
384852012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38486
38487 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38488 scaling.
38489 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38490
e85b09d0
AJ
384912012-03-15 Andreas Jaeger <aj@suse.de>
38492
38493 [BZ #13852]
38494 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38495 ieee754/flt-32 implementation for sin, cos and sincos.
38496 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38497 * sysdeps/i386/fpu/s_cosf.S: Likewise.
38498 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38499 * sysdeps/i386/fpu/s_sinf.S: Likewise.
38500 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38501 ieee754/flt-32 implementation for tan.
38502
38503 * math/libm-test.inc (cos_test): Enable some large input tests for
38504 float as well
38505 (sin_test): Likewise.
38506 (sincos_test): Likewise.
38507 (tan_test): Add tests for large input.
38508
38509 * sysdeps/i386/fpu/libm-test-ulps: Update.
38510
81c64153
AJ
385112012-03-15 Andreas Jaeger <aj@suse.de>
38512
38513 [BZ #13658]
38514 * math/libm-test.inc (cos_test): Add more test cases.
38515 (sin_test): Likewise.
38516 (sincos_test): Likewise.
38517
7bbfa5c6
AJ
385182012-03-15 Andreas Jaeger <aj@suse.de>
38519
38520 [BZ #13837]
38521 * math/libm-test.inc (cos_test): Add a test case for large input
38522 value.
38523 (sin_test): Likewise.
38524 (sincos_test): Likewise.
38525
57f41c40
AS
385262012-03-15 Andreas Jaeger <aj@suse.de>
38527 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
38528
38529 [BZ #13658]
0671f479 38530 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
38531 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38532 * sysdeps/i386/fpu/branred.c: Likewise.
38533 * sysdeps/i386/fpu/dosincos.c: Likewise.
38534 * sysdeps/i386/fpu/mpa.c: Likewise.
38535 * sysdeps/i386/fpu/s_cos.S: Likewise.
38536 * sysdeps/i386/fpu/s_sin.S: Likewise.
38537 * sysdeps/i386/fpu/s_sincos.S: Likewise.
38538 * sysdeps/i386/fpu/sincos32.c: Likewise.
38539
38540 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38541 Define.
38542 (libc_feupdateenv_53bit): Define.
38543 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38544 Define.
38545 (libc_feupdateenv_53bit): Define.
38546
38547 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38548 53 bit (without extend i386 double precision).
38549
38550 * math/libm-test.inc (sincos_test): Add tests for large input.
38551 (sin): Likewise.
38552 (cos): Likewise.
38553
38554 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38555
9cad04ea
AS
385562012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38557
38558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38559
f7062b9a
DM
385602012-03-15 David S. Miller <davem@davemloft.net>
38561
38562 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38563 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38564 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38565 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38570 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38571 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38572 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38573 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38574 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38575 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38576 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
38577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38578 file.
f7062b9a 38579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
38580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38581 file.
f7062b9a 38582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
38583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38584 file.
f7062b9a 38585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
38586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38587 file.
f7062b9a
DM
38588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38589 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38590 fmin/fmax sysdep routines.
38591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38592
7bd951ff
DM
385932012-03-14 David S. Miller <davem@davemloft.net>
38594
559398ab
DM
38595 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38596 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38597 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38598 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38599 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38600 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38601 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38602 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38603 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38604 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38605 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38606 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38607 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38608 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38609 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38610 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38611 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38612 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38613 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38614 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38615 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38616 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38617 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38618 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38619 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38620 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38621 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38622 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
38623 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38624 routines.
38625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38626 file.
559398ab 38627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
38628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38629 file.
559398ab 38630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
38631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38632 file.
559398ab 38633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
38634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38635 file.
559398ab 38636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
38637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38638 file.
559398ab 38639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
38640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38641 file.
38642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38643 file.
38644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38645 file.
38646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38647 file.
38648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38649 New file.
38650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38651 file.
38652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38653 file.
559398ab 38654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
38655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38656 file.
559398ab 38657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
38658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38659 file.
559398ab 38660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
38661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38662 file.
559398ab 38663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
38664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38665 VIS3 routines.
559398ab
DM
38666
38667 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38668 New file.
38669
5a1c1e32
DM
38670 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38671
eae47a36
DM
38672 * sysdeps/sparc/configure.in: New file.
38673 * sysdeps/sparc/configure: Generate.
38674 * configure.in (libc_cv_sparc_as_vis3): Substitute.
38675 * configure: Regenerate.
38676 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38677 * config.make.in (have-as-vis3): New.
38678 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38679 available use -Av9d instead of -Av9a.
38680 * sysdeps/sparc/sparc64/Makefile: Likewise.
38681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
38682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38683 New file.
38684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38685 file.
38686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38687 New file.
38688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38689 file.
eae47a36
DM
38690 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38691 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38692 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38693 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38694 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38695
c0c83bc8
DM
38696 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38697 fzeros/fnegs to load 0x80000000 into a float register instead of
38698 using the stack.
7bd951ff
DM
38699 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38700
bd951ccb
JM
387012012-03-14 Joseph Myers <joseph@codesourcery.com>
38702
38703 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38704 bits/syscall.h.
38705 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38706 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38707 ($(inst_includedir)/bits/syscall.h): Remove rule.
38708 ($(objpfx)bits/syscall.d): Include instead of
38709 $(objpfx)syscall-list.d.
38710 (generated): Change syscall-list.h and syscall-list.d to
38711 bits/syscall.h and bits/syscall.d.
38712
bb4e6db2
RM
387132012-03-14 Roland McGrath <roland@hack.frob.com>
38714
38715 [BZ #13846]
38716 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38717
aa4a2ae1
JM
387182012-03-14 Joseph Myers <joseph@codesourcery.com>
38719
e456826d
JM
38720 [BZ #13841]
38721 * math/s_csqrt.c: Include <float.h>.
38722 (__csqrt): Scale large or subnormal inputs.
38723 * math/s_csqrtf.c: Likewise.
38724 * math/s_csqrtl.c: Likewise.
38725 * math/libm-test.inc (csqrt_test): Add more tests.
38726 * sysdeps/i386/fpu/libm-test-ulps: Update.
38727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38728
aa4a2ae1
JM
38729 [BZ #13840]
38730 * math/libm-test.inc (hypot_test): Add more tests.
38731
7c10fd35
DM
387322012-03-13 David S. Miller <davem@davemloft.net>
38733
38734 [BZ #13840]
38735 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38736 double-precision for the calculation instead of scaling.
38737
f453b98b
JM
387382012-03-13 Joseph Myers <joseph@codesourcery.com>
38739
38740 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38741 manipulate bits before adding and subtracting TWO52[sx].
38742 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38743 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38744 Likewise.
38745 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38746
09a3453f
DM
387472012-03-13 David S. Miller <davem@davemloft.net>
38748
8e59da90
DM
38749 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38750 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38751 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38752 rtld-global-offsets.h
38753 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38754
2a8ab7f2
DM
38755 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38756 large parameters.
38757
10f62770
DM
38758 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38759
5f0bdb18
DM
38760 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38761 'err' in the ifdef scope in which it is actually used.
38762
09a3453f
DM
38763 * nss/nss_db/db-init.c: Include string.h
38764
b4b2eb5e
DM
387652012-03-12 David S. Miller <davem@davemloft.net>
38766
98bb2f1c
DM
38767 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38768 masking out of the most significant byte of random value used.
38769 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38770 Fix coding style in previous change.
38771
b4b2eb5e
DM
38772 * sysdeps/unix/sysv/linux/kernel-features.h
38773 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38774 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38775 expression.
38776 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38777 later.
38778
6e226b09
DM
387792012-03-11 David S. Miller <davem@davemloft.net>
38780
a1bcbd40
DM
38781 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38782 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38783 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38784 for 'resultvar' otherwise things get truncated on 64-bit.
38785
cb9d6174
DM
38786 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38787 Fix masking out of the most significant byte of random value used.
38788
6e226b09
DM
38789 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38790
058c132d
AS
387912012-03-10 Andreas Schwab <schwab@linux-m68k.org>
38792
38793 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38794
2d2cd515
DM
387952012-03-09 David S. Miller <davem@davemloft.net>
38796
38797 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38798 variables with appropriate CPP guards.
57f41c40
AS
38799 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38800 from the frame pointer, not the stack pointer. Correct layout
38801 comments. Fix test on resulting framesize and the management of
38802 the outregs buffer for pltexit. Preserve floating point return
38803 values across _dl_call_pltexit call.
2d2cd515
DM
38804 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38805 framesize and the management of the outregs buffer for pltexit.
38806 Preserve floating point return values across _dl_call_pltexit
38807 call.
57f41c40
AS
38808 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38809 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38810 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
38811 (print_exit): Fix format string for return register value.
38812
9a07f9d0
JM
388132012-03-10 Joseph Myers <joseph@codesourcery.com>
38814
38815 * sunrpc/Makefile (others): Add rpcgen.
38816 ($(objpfx)rpcgen): Remove special build rule and dependency on
38817 libc.
38818 * sunrpc/rpcgen.c: New file.
38819
547b5e30
PE
388202012-03-09 Paul Eggert <eggert@cs.ucla.edu>
38821
c524201a
PE
38822 [BZ #13673]
38823 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38824 * stdio-common/bug-vfprintf-nargs.c: Likewise.
38825 * sysdeps/i386/crti.S: Likewise.
38826 * sysdeps/i386/crtn.S: Likewise.
38827 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38828 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38829 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38830 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38831 * sysdeps/sh/crti.S: Likewise.
38832 * sysdeps/sh/crtn.S: Likewise.
38833 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38834
7b6235f2
PE
38835 [BZ #13673]
38836 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38837 with URL.
38838 * locale/programs/locfile-kw.gperf: Likewise.
38839 * locale/programs/charmap-kw.h: Regenerated.
38840 * locale/programs/locfile-kw.h: Likewise.
38841
547b5e30
PE
38842 [BZ #13673]
38843 * intl/plural.y: Replace FSF snail mail address with URL.
38844 * intl/plural.c: Regenerated.
38845
5f0a5dae
RH
388462012-03-09 Richard Henderson <rth@twiddle.net>
38847
38848 * include/math_private.h: Remove file.
38849 * math/math_private.h: Move file ...
38850 * sysdeps/generic/math_private.h: ... here.
38851
b8c03620
RH
38852 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38853 * sysdeps/powerpc/fpu/math_private.h: Likewise.
38854 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38855
4e234f5d 38856 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
38857 and <math_private.h>.
38858 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38859 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38860 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38861 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38862 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38863 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38864 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38865 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38866 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38867 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38868 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38869 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38870 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38871 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38872 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38873 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38874 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38875 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38876 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38877 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38878 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38879 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38880 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38881 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38882 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38883 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38884 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38885 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38886 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38887 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38888 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38889 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38890 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38891 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38892 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38893 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38894 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38895 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38896 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38897 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38898 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38899 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38900 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38901 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38902 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38903 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38904 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38905 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38906 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38907 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38908 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38909 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38910 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38911 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38912 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38913 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38914 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38915 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38916 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38917 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38918 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38919 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38920 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38921 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38922 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38923 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38924 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38925 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38926 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38927 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38928 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38929 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38930 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38931 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38932 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38933 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38934 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38935 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38936 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38937 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38938 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38939 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38940 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38941 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38942 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38943 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38944 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38945 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38946 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38947 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38948 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38949 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38950 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38951 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38952 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38953 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38954 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38955 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38956 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38957 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38958 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38959 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38960 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38961 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38962 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38963 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38964 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38965 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38966 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38967 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38968 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38969 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38970 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38971 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38972 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38973 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38974 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38975 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38976 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38977 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38978 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38979 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38980 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38981 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38982 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38983 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38984 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38985 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38986 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38987 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38988 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38989 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38990 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38991 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38992 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38993 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38994 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38995 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38996 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38997 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38998 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38999 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39000 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39001 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39002 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39003 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39004 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39005 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39006 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39007 * sysdeps/ieee754/k_standard.c: Likewise.
39008 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39009 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39010 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39011 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39012 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39013 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39014 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39015 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39016 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39017 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39018 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39019 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39020 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39021 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39022 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39023 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39024 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39025 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39026 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39027 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39028 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39029 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39030 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39031 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39032 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39033 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39034 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39035 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39036 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39037 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39038 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39039 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39040 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39041 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39042 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39043 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39044 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39045 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39046 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39047 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39048 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39049 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39050 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39051 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39052 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39053 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39054 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39055 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39056 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39057 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39058 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39059 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39060 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39061 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39062 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39063 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39064 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39065 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39066 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39067 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39068 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39069 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39070 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39071 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39072 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39073 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39074 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39075 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39076 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39077 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39078 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39079 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39080 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39081 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39082 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39083 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39084 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39085 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39086 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39087 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39088 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39089 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39090 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39091 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39092 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39093 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39094 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39095 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39096 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39097 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39098 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39099 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39100 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39101 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39102 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39103 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39104 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39105 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39106 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39107 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39108 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39109 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39110 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39111 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39112 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39113 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39114 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39115 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39116 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39117 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39118 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39119 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39120 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39121 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39122 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39123 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39124 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39125 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39126 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39127 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39128 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39129 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39130 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39131 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39132 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39133 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39134 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39135 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39136 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39137 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39138 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39139 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39140 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39141 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39142 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39143 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39144 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39145 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39146 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39147 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39148 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39149 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39150 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39151 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39152 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39153 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39154 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39155 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39156 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39157 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39158 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39159 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39160 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39161 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39162 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39163 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39164 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39165 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39166 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39167 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39168 * sysdeps/ieee754/s_lib_version.c: Likewise.
39169 * sysdeps/ieee754/s_matherr.c: Likewise.
39170 * sysdeps/ieee754/s_signgam.c: Likewise.
39171 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39172 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39173 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39174 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39175 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39176 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39177 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39178 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39179 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39180 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39181 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39182 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39183 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39184 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39185 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39186 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39187 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39188 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39189 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39190 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39191 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 39192
1991fa03
JM
391932012-03-09 Joseph Myers <joseph@codesourcery.com>
39194
39195 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39196 * sunrpc/rpc_main.c: Likewise.
39197 * sunrpc/rpc_svcout.c: Likewise.
39198
60d6f5a6
DM
391992012-03-09 David S. Miller <davem@davemloft.net>
39200
39201 * include/math_private.h: New file.
39202
4962050e
JM
392032012-03-09 Joseph Myers <joseph@codesourcery.com>
39204
02a6f887
JM
39205 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39206 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39207 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39208 from <bits/socket_type.h>.
39209 (enum __socket_type): Don't define here.
39210 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39211 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39212 bits/socket_type.h.
39213
c6e013c1
JM
39214 [BZ #13566]
39215 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39216 checking __USE_GNU.
39217
4962050e
JM
39218 * Makerules ($(inst_includedir)/%.h): New rule.
39219 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39220 (install-others): Remove variable setting.
39221 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39222
38842f45
RH
392232012-03-08 Richard Henderson <rth@twiddle.net>
39224
67bb6da6
RH
39225 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39226 from macro to inline function; merge with the
39227 !__LIBC_INTERNAL_MATH_INLINES version.
39228 (__ieee754_sqrtf): Likewise.
39229
15194b4b
RH
39230 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39231 to inline function.
39232 (__rintf, __floor, __floorf): Likewise.
39233
64e21ede
RH
39234 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39235 macro to inline function.
39236 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39237
38842f45
RH
39238 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39239 not <math/math_private.h>.
39240
c64bf5fe
DM
392412012-03-08 David S. Miller <davem@davemloft.net>
39242
39243 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39244 copyright year.
39245 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39246
82d86f28
TS
392472012-03-08 Thomas Schwinge <thomas@codesourcery.com>
39248
39249 * resolv/gai_misc.c (handle_requests): Fix struct timespec
39250 normalization.
39251 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39252 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39253
aea5d727
UD
392542012-03-08 Ulrich Drepper <drepper@gmail.com>
39255
39256 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
39257 be defined individually, they must be defined as a block. Define
39258 S for printing a string instead of hidint the different by using a
39259 macro for adding the 'l'.
39260 * stdio-common/tst-fphex-wide.c: Adjust.
39261
70bca0a3
MP
392622012-03-07 Marek Polacek <polacek@redhat.com>
39263
39264 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39265
65b81130
MP
392662012-03-08 Marek Polacek <polacek@redhat.com>
39267
39268 [BZ #13806]
39269 * stdio-common/Makefile (tests): Add tst-fphex-wide.
39270 * stdio-common/tst-fphex.c: Define a few macros to make the
39271 test reusable. Use them.
39272 * stdio-common/tst-fphex-wide.c: New file.
39273
07037eeb
JM
392742012-03-08 Joseph Myers <joseph@codesourcery.com>
39275
a7a93d50
JM
39276 [BZ #6911]
39277 * manual/macros.texi (gnusystems): New macro.
39278 (nongnusystems): Likewise.
39279 (gnulinuxhurdsystems): Likewise.
39280 (gnuhurdsystems): Likewise..
39281 (gnulinuxsystems): Likewise.
39282 * manual/charset.texi: Use new macros or @theglibc{} to refer to
39283 variants of the GNU system, not "GNU system".
39284 * manual/conf.texi: Likewise.
39285 * manual/errno.texi: Likewise. Update example of errno macro
39286 expansion.
39287 * manual/filesys.texi: Likewise.
39288 (getumask): Document as specific to GNU/Hurd.
39289 * manual/install.texi: Likewise. Reword some references to
39290 GNU/Linux.
39291 * manual/intro.texi: Likewise.
39292 * manual/io.texi: Likewise.
39293 (File Name Portability): Detail which constraints are inapplicable
39294 to all GNU systems and which are only inapplicable to GNU/Hurd.
39295 * manual/job.texi: Likewise.
39296 * manual/llio.texi: Likewise.
39297 (O_NOCTTY): Document as present on GNU/Linux.
39298 * manual/maint.texi: Likewise.
39299 * manual/memory.texi: Likewise.
39300 * manual/pattern.texi: Likewise.
39301 * manual/pipe.texi: Likewise.
39302 * manual/process.texi: Likewise.
39303 * manual/resource.texi: Likewise.
39304 (RUSAGE_CHILDREN): Remove statement about specifying a particular
39305 child on GNU/Hurd.
39306 * manual/setjmp.texi: Likewise.
39307 * manual/signal.texi: Likewise.
39308 * manual/startup.texi: Likewise.
39309 * manual/stdio.texi: Likewise.
39310 * manual/terminal.texi: Likewise.
39311 (ONLCR): Document as POSIX.
39312 (OXTABS): Document availability on GNU/Linux as XTABS.
39313 (ONOEOT): Document availability separately from other bits.
39314 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39315 * manual/time.texi: Likewise.
39316 * manual/users.texi: Likewise.
39317 * INSTALL: Regenerated.
39318 * sysdeps/gnu/errlist.c: Regenerated.
39319
07037eeb
JM
39320 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39321 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39322 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
39323 puts.
39324 * configure: Regenerated.
39325
d1d3431a
JM
393262012-03-07 Joseph Myers <joseph@codesourcery.com>
39327
af6a1e37
JM
39328 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39329 default includes instead of AC_HEADER_CHECK.
39330 * sysdeps/i386/configure: Regenerated.
39331
d1d3431a
JM
39332 [BZ #10716]
39333 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39334 * math/s_cacoshf.c (__cacoshf): Likewise.
39335 * math/s_cacoshl.c (__cacoshl): Likewise.
39336 * math/s_casinh.c (__casinh): Set signs of result from argument.
39337 * math/s_casinhf.c (__casinhf): Likewise.
39338 * math/s_casinhl.c (__casinhl): Likewise.
39339 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39340 (casinh_test): Add more tests.
39341 * sysdeps/i386/fpu/libm-test-ulps: Update.
39342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39343
482ff4da
UD
393442012-03-07 Ulrich Drepper <drepper@gmail.com>
39345
872fda05
UD
39346 * po/zh_TW.po: Update from translation team.
39347
a4300c7a
UD
39348 * login/Makefile (distribute): Remove variable.
39349 * catgets/Makefile: Likewise.
39350 * mach/Makefile: Likewise.
39351 * malloc/Makefile: Likewise.
39352 * misc/Makefile: Likewise.
39353 * iconv/Makefile: Likewise.
39354 * nscd/Makefile: Likewise.
39355 * hurd/Makefile: Likewise.
39356 * manual/Makefile: Likewise.
39357 * locale/Makefile: Likewise.
39358 * intl/Makefile: Likewise.
39359 * conform/Makefile: Likewise.
39360 * nss/Makefile: Likewise.
39361 * time/Makefile: Likewise.
39362 * soft-fp/Makefile: Likewise.
39363 * dirent/Makefile: Likewise.
39364 * gmon/Makefile: Likewise.
39365 * po/Makefile: Likewise.
39366 * rt/Makefile: Likewise.
39367 * socket/Makefile: Likewise.
39368 * math/Makefile: Likewise.
39369 * signal/Makefile: Likewise.
39370 * debug/Makefile: Likewise.
39371 * elf/Makefile: Likewise.
39372 * timezone/Makefile: Likewise.
39373 * stdlib/Makefile: Likewise.
39374 * iconvdata/Makefile: Likewise.
39375 * sunrpc/Makefile: Likewise.
39376 * io/Makefile: Likewise.
39377 * argp/Makefile: Likewise.
39378 * inet/Makefile: Likewise.
39379 * hesiod/Makefile: Likewise.
39380 * grp/Makefile: Likewise.
39381 * csu/Makefile: Likewise.
39382 * wctype/Makefile: Likewise.
39383 * crypt/Makefile: Likewise.
39384 * libio/Makefile: Likewise.
39385 * string/Makefile: Likewise.
39386 * nis/Makefile: Likewise.
39387 * resolv/Makefile: Likewise.
39388 * stdio-common/Makefile: Likewise.
39389 * wcsmbs/Makefile: Likewise.
39390 * dlfcn/Makefile: Likewise.
39391 * posix/Makefile: Likewise.
39392
3b7c4e74 39393 [BZ #6959]
482ff4da
UD
39394 * timezone/Makefile: Don't install timezone files, just the programs
39395 and scripts.
39396
f72ed77d
UD
393972012-03-06 Ulrich Drepper <drepper@gmail.com>
39398
a000466f
UD
39399 * nss/databases.def: Add missing gshadow entry.
39400
f72ed77d
UD
39401 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
39402
a53b7a4e
MP
394032012-03-06 Marek Polacek <polacek@redhat.com>
39404
39405 [BZ #13726]
39406 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39407 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39408 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39409 * stdio-common/tst-long-dbl-fphex.c: New file.
39410
e9258400
DM
394112012-03-06 David S. Miller <davem@davemloft.net>
39412
39413 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39414 (set_obp_int): New function.
39415 (get_obp_int): New function.
39416 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
39417 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39418 Avoid unused variable warnings on 'val' and use builtin_expect.
39419 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39420 __builtin_expect.
e9258400
DM
39421 (INLINE_CLONE_SYSCALL): Likewise.
39422
3bd2c723
DM
394232012-03-05 David S. Miller <davem@davemloft.net>
39424
39425 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39426
bbb78d03
AS
394272012-03-05 Andreas Schwab <schwab@linux-m68k.org>
39428
884c5db4
AS
39429 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39430
bbb78d03
AS
39431 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39432 only for |x| >= 40.
39433 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39434
1c9f702a 394352012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
39436
39437 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39438 Replace gettimeofday with __vdso_gettimeofday.
39439
7be16f82
RM
39440 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39441 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39442 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
39443
39444 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39445 time with __vdso_time.
39446
ed58a00f
JM
394472012-03-05 Joseph Myers <joseph@codesourcery.com>
39448
39449 * manual/lang.texi (size_t): Note types to which size_t may be
39450 equivalent with the GNU C Library, but do not describe when
39451 differences between them are significant.
39452
30ee4ced
AJ
394532012-03-05 Andreas Jaeger <aj@suse.de>
39454
39455 * sysdeps/i386/fpu/libm-test-ulps: Update.
39456
b7cd39e8
JM
394572012-03-05 Joseph Myers <joseph@codesourcery.com>
39458
39459 [BZ #3976]
39460 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39461 (__ieee754_pow): Save and restore rounding mode and use
39462 round-to-nearest for main computations.
39463 * math/libm-test.inc (pow_test_tonearest): New function.
39464 (pow_test_towardzero): Likewise.
39465 (pow_test_downward): Likewise.
39466 (pow_test_upward): Likewise.
39467 (main): Call the new functions.
39468 * sysdeps/i386/fpu/libm-test-ulps: Update.
39469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
39470
39471 [BZ #3976]
39472 * math/libm-test.inc (cosh_test_tonearest): New function.
39473 (cosh_test_towardzero): Likewise.
39474 (cosh_test_downward): Likewise.
39475 (cosh_test_upward): Likewise.
39476 (sinh_test_tonearest): Likewise.
39477 (sinh_test_towardzero): Likewise.
39478 (sinh_test_downward): Likewise.
39479 (sinh_test_upward): Likewise.
39480 (main): Call the new functions.
39481 * sysdeps/i386/fpu/libm-test-ulps: Update.
39482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39483
6c6a98c9
TV
394842012-03-05 Tom de Vries <tom@codesourcery.com>
39485
39486 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39487 default stack guard is set in last bytes.
39488 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39489
21bb2d2e 394902012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 39491
21bb2d2e 39492 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 39493
21bb2d2e
AJ
39494 [BZ #13656]
39495 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39496 possibly allocate from heap instead of stack.
39497 * stdio-common/bug-vfprintf-nargs.c: New file.
39498 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 39499
c6922934
AS
395002012-03-03 Andreas Schwab <schwab@linux-m68k.org>
39501
39502 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39503
bc957d53
MP
395042012-03-03 Marek Polacek <polacek@redhat.com>
39505
39506 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39507 * math/math_private.h: Likewise.
39508 * stdlib/tst-strtod.c: Likewise.
39509 * sysdeps/i386/i486/bits/atomic.h: Likewise.
39510 * sysdeps/x86_64/bits/atomic.h: Likewise.
39511
6358490d
DM
395122012-03-02 David S. Miller <davem@davemloft.net>
39513
39514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39518 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39519 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39520 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39521 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39522
01ae168d
RM
395232012-03-02 Roland McGrath <roland@hack.frob.com>
39524
d9a17c07
RM
39525 [BZ #13792]
39526 * manual/examples/README: New file, says the example source files
39527 can be used under GPL>=2.
39528 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39529 line containing just "*/".
39530 * manual/examples/add.c: Add copyright header (GPL>=2).
39531 * manual/examples/argp-ex1.c: Likewise.
39532 * manual/examples/argp-ex2.c: Likewise.
39533 * manual/examples/argp-ex3.c: Likewise.
39534 * manual/examples/argp-ex4.c: Likewise.
39535 * manual/examples/atexit.c: Likewise.
39536 * manual/examples/db.c: Likewise.
39537 * manual/examples/dir.c: Likewise.
39538 * manual/examples/dir2.c: Likewise.
39539 * manual/examples/execinfo.c: Likewise.
39540 * manual/examples/filecli.c: Likewise.
39541 * manual/examples/filesrv.c: Likewise.
39542 * manual/examples/fmtmsgexpl.c: Likewise.
39543 * manual/examples/genpass.c: Likewise.
39544 * manual/examples/inetcli.c: Likewise.
39545 * manual/examples/inetsrv.c: Likewise.
39546 * manual/examples/isockad.c: Likewise.
39547 * manual/examples/longopt.c: Likewise.
39548 * manual/examples/memopen.c: Likewise.
39549 * manual/examples/memstrm.c: Likewise.
39550 * manual/examples/mkfsock.c: Likewise.
39551 * manual/examples/mkisock.c: Likewise.
39552 * manual/examples/mygetpass.c: Likewise.
39553 * manual/examples/pipe.c: Likewise.
39554 * manual/examples/popen.c: Likewise.
39555 * manual/examples/rprintf.c: Likewise.
39556 * manual/examples/search.c: Likewise.
39557 * manual/examples/select.c: Likewise.
39558 * manual/examples/setjmp.c: Likewise.
39559 * manual/examples/sigh1.c: Likewise.
39560 * manual/examples/sigusr.c: Likewise.
39561 * manual/examples/stpcpy.c: Likewise.
39562 * manual/examples/strdupa.c: Likewise.
39563 * manual/examples/strftim.c: Likewise.
39564 * manual/examples/strncat.c: Likewise.
39565 * manual/examples/subopt.c: Likewise.
39566 * manual/examples/swapcontext.c: Likewise.
39567 * manual/examples/termios.c: Likewise.
39568 * manual/examples/testopt.c: Likewise.
39569 * manual/examples/testpass.c: Likewise.
39570 * manual/examples/timeval_subtract.c: Likewise.
39571
01ae168d
RM
39572 [BZ #13792]
39573 * manual/time.texi (Elapsed Time): Move timeval_subtract example
39574 function to ...
39575 * manual/timeval_subtract.c.texi: ... here, new file.
39576
49efa33d
DM
395772012-03-02 David S. Miller <davem@davemloft.net>
39578
39579 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39580
28afd92d
JM
395812012-03-02 Joseph Myers <joseph@codesourcery.com>
39582
804360ed
JM
39583 [BZ #3976]
39584 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39585 (__sin): Save and restore rounding mode and use round-to-nearest
39586 for all computations.
39587 (__cos): Save and restore rounding mode and use round-to-nearest
39588 for all computations.
39589 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39590 <fenv.h>.
39591 (tan): Save and restore rounding mode and use round-to-nearest for
39592 all computations.
39593 * math/libm-test.inc (cos_test_tonearest): New function.
39594 (cos_test_towardzero): Likewise.
39595 (cos_test_downward): Likewise.
39596 (cos_test_upward): Likewise.
39597 (sin_test_tonearest): Likewise.
39598 (sin_test_towardzero): Likewise.
39599 (sin_test_downward): Likewise.
39600 (sin_test_upward): Likewise.
39601 (tan_test_tonearest): Likewise.
39602 (tan_test_towardzero): Likewise.
39603 (tan_test_downward): Likewise.
39604 (tan_test_upward): Likewise.
39605 (main): Call the new functions.
39606 * sysdeps/i386/fpu/libm-test-ulps: Update.
39607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39608
a6d06d7b
JM
39609 [BZ #10135]
39610 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39611 small n, then large n, before computing and testing k+n.
39612 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39613 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39614 Likewise.
39615 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39616 Likewise.
39617 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39618 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39619 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39620 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39621 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39622 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39623 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39624 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39625 * math/libm-test.inc (scalbn_test): Add more tests.
39626 (scalbln_test): Likewise.
39627
07e12bb3
JM
39628 * manual/filesys.texi (mode_t): Describe constraints on size and
39629 signedness, not exact equivalence to a particular type.
39630 (ino_t): Likewise.
39631 (ino64_t): Likewise.
39632 (dev_t): Likewise.
39633 (nlink_t): Likewise.
39634 (blkcnt_t): Likewise.
39635 (blkcnt64_t): Likewise.
39636 * manual/llio.texi (off_t): Likewise.
39637
28afd92d
JM
39638 [BZ #3976]
39639 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39640 (__ieee754_exp): Save and restore rounding mode and use
39641 round-to-nearest for all computations.
39642 * math/libm-test.inc (exp_test_tonearest): New function.
39643 (exp_test_towardzero): Likewise.
39644 (exp_test_downward): Likewise.
39645 (exp_test_upward): Likewise.
39646 (main): Call the new functions.
39647 * sysdeps/i386/fpu/libm-test-ulps: Update.
39648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39649
b1eeb65d
CD
396502012-03-01 Chris Demetriou <cgd@google.com>
39651
39652 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39653 have predictable order.
39654
53362a4b
DM
396552012-03-01 David S. Miller <davem@davemloft.net>
39656
3c969083
DM
39657 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39658
759707de
DM
39659 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39660 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39661 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39662 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39663
dfdb8ff2
DM
39664 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39665 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39666 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39668 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39669 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39670 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39671 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39672 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39673
ead89f96
DM
39674 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39675
7f66bd07
DM
39676 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39677 * sysdeps/sparc/fpu/libm-test-ulps: to here.
39678 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39679
53362a4b
DM
39680 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39681 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39682 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39683 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39684 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39685 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39686 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39687 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39688 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39689 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39690 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39691 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39692 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39693 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39694 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39695 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39696 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39697 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39698 * sysdeps/sparc/elf/configure: Regenerated.
39699
7b1902cb
JM
397002012-03-01 Joseph Myers <joseph@codesourcery.com>
39701
bec039bc
JM
39702 * configure.in (AS, LD): Require binutils 2.20 or later.
39703 * configure: Regenerated.
39704 * manual/install.texi (Tools for Compilation): Give binutils 2.20
39705 as required minimum version.
39706 * INSTALL: Regenerated.
39707
7b1902cb
JM
39708 [BZ #2541]
39709 [BZ #4108]
39710 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39711 before squaring exponent.
39712 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39713 bottom long double and 27 bits of top long double before squaring
39714 exponent.
39715 * math/libm-test.inc (erfc_test): Add more tests.
39716 * sysdeps/i386/fpu/libm-test-ulps: Update.
39717 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39719
f775c276
KT
397202012-03-01 Kai Tietz <ktietz@redhat.com>
39721
39722 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39723 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39724 containing bit-fields.
39725 * soft-fp/extended.h (_FP_UNION_E): Likewise.
39726 * soft-fp/single.h (_FP_UNION_S): Likewise.
39727 * soft-fp/double.h (_FP_UNION_D): Likewise.
39728
5b8a4d4a
JM
397292012-02-29 Joseph Myers <joseph@codesourcery.com>
39730
0bab47b6
JM
39731 [BZ #13786]
39732 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39733 not include ../strcmp.S.
39734 [USE_AS_STRNCASECMP_L]: Likewise.
39735 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39736 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39737 * sysdeps/i386/i686/multiarch/strncase_l-c.c
39738 (__strncasecmp_l_ia32): Define as alias to
39739 __strncasecmp_l_nonascii.
39740
0fcad3e2
JM
39741 [BZ #5794]
39742 * math/libm-test.inc (expm1_test): Add test for bug 5794.
39743 * sysdeps/i386/fpu/libm-test-ulps: Update.
39744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39745
5b8a4d4a
JM
39746 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39748
8fdceb2e
JL
397492012-02-29 Jeff Law <law@redhat.com>
39750
39751 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39752 out of bounds read.
39753
1f393a11
MP
397542012-02-29 Marek Polacek <polacek@redhat.com>
39755
39756 [BZ #13706]
39757 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39758 * elf/Makefile: Add rules to run tst-unused-dep.out.
39759
8847f037
DM
397602012-02-28 David S. Miller <davem@davemloft.net>
39761
39762 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39763 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39764 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39765 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39766 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39767 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39768
169d7f11
JM
397692012-02-29 Joseph Myers <joseph@codesourcery.com>
39770
39771 * math/libm-test.inc (llround_test): Move one test from
39772 lround_test. Use TEST_f_L in moved test.
39773 (lround_test): Move misplaced test to llround_test. Add testcase
39774 from bug 2561.
39775
39adf059
UD
397762012-02-28 Ulrich Drepper <drepper@gmail.com>
39777
39778 * sysdeps/x86_64/fpu/e_expf.S: New file.
39779 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39780
71b5d1c5
SB
397812012-02-28 Stanislav Brabec <sbrabec@suse.cz>
39782
39783 [BZ #13637]
39784 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39785 of remain_len that may cause incomplete multi-byte character and
39786 false match.
39787 * posix/bug-regex33.c: New file.
39788 * posix/Makefile (tests): Add bug-regex33.
39789
1f77f049
JM
397902012-02-28 Joseph Myers <joseph@codesourcery.com>
39791
39792 * manual/macros.texi: New file.
39793 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39794 * manual/libc.texinfo: Include macros.texi.
39795 * manual/creatute.texi: Likewise.
39796 * manual/install.texi: Likewise.
39797 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39798 @glibcadj{} in references to the GNU C Library.
39799 * manual/charset.texi: Likewise.
39800 * manual/conf.texi: Likewise.
39801 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
39802 when not using those macros.
39803 * manual/creature.texi: Likewise.
39804 * manual/crypt.texi: Likewise.
39805 * manual/errno.texi: Likewise.
39806 * manual/filesys.texi: Likewise.
39807 * manual/header.texi: Likewise.
39808 * manual/install.texi: Likewise.
39809 * manual/intro.texi: Likewise.
39810 * manual/io.texi: Likewise.
39811 * manual/job.texi: Likewise.
39812 * manual/lang.texi: Likewise.
39813 * manual/libc.texiinfo: Likewise.
39814 * manual/llio.texi: Likewise.
39815 * manual/locale.texi: Likewise.
39816 * manual/maint.texi: Likewise.
39817 * manual/math.texi: Likewise.
39818 * manual/memory.texi: Likewise.
39819 * manual/message.texi: Likewise.
39820 * manual/nss.texi: Likewise.
39821 * manual/pattern.texi: Likewise.
39822 * manual/process.texi: Likewise.
39823 * manual/resource.texi: Likewise.
39824 * manual/search.texi: Likewise.
39825 * manual/setjmp.texi: Likewise.
39826 * manual/signal.texi: Likewise.
39827 * manual/socket.texi: Likewise.
39828 * manual/startup.texi: Likewise.
39829 * manual/stdio.texi: Likewise.
39830 * manual/string.texi: Likewise.
39831 * manual/sysinfo.texi: Likewise.
39832 * manual/syslog.texi: Likewise.
39833 * manual/terminal.texi: Likewise.
39834 * manual/time.texi: Likewise.
39835 * manual/users.texi: Likewise.
39836 * INSTALL: Regenerated.
39837 * NOTES: Regenerated.
d40c5d54 39838 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 39839
450bf206
AS
398402012-02-28 Andreas Schwab <schwab@linux-m68k.org>
39841
39842 * include/dirent.h: Include <dirstream.h> before
39843 <dirent/dirent.h>.
39844
741a235b
DM
398452012-02-28 David S. Miller <davem@davemloft.net>
39846
39847 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39848 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39849 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39850 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39851
d6b5aa58
DM
398522012-02-27 David S. Miller <davem@davemloft.net>
39853
1aff59a3
DM
39854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39856 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39857 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39858
d6b5aa58
DM
39859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39860 frame pointer instead of stack pointer relative arg slot.
39861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39862 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39863 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39864
433f48bf
CD
398652012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
39866
39867 [BZ #3992]
39868 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39869
d674b76d
DM
398702012-02-27 David S. Miller <davem@davemloft.net>
39871
39872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39876 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39877 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39878 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39879 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39880
0e7727f7
JM
398812012-02-27 Joseph Myers <joseph@codesourcery.com>
39882
39883 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39884 later. Allow versions 5-9.
43be4ca2 39885 * configure: Regenerated.
0e7727f7
JM
39886 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39887 required minimum version and 4.6 as recommended version. Do not
39888 mention bugs in GCC 2.7 and 2.8.
43be4ca2 39889 * INSTALL: Regenerated.
0e7727f7 39890
a78bc654
DM
398912012-02-27 David S. Miller <davem@davemloft.net>
39892
428d5830
DM
39893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39897 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39898 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39899 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39900 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39901
a78bc654
DM
39902 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39903 manipulate bits before adding and subtracting TWO112[sx].
39904 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39905
4579f81c
RM
399062012-02-27 Roland McGrath <roland@hack.frob.com>
39907
36c8acb4
RM
39908 [BZ #13775]
39909 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39910 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39911 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39912 being in POSIX, because they are in 1003.1-2008.
39913
84ad622b
RM
39914 * rt/tst-aio.c: Include <fcntl.h>.
39915 * rt/tst-aio7.c: Likewise.
39916 * rt/tst-aio64.c: Likewise.
39917
4579f81c
RM
39918 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39919
abd923db
JM
399202012-02-27 Joseph Myers <joseph@codesourcery.com>
39921
39922 * manual/install.texi (--with-headers): Describe headers as
39923 interface headers, not private headers.
39924 (Specific advice for GNU/Linux systems): Describe use of headers
39925 from "make headers_install", not private headers from older
39926 kernels.
43be4ca2 39927 * INSTALL: Regenerated.
abd923db
JM
39928 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39929 Change to 2.6.19.
39930 * sysdeps/unix/sysv/linux/configure: Regenerated.
39931
6664049b
JM
39932 * manual/llio.texi (fclean): Remove documentation.
39933
bb8b6697
JM
39934 * manual/Makefile (libc-texi-generated): New variable. Include
39935 version.texi.
39936 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39937 $(libc-texi-generated), not duplicated list of files.
39938 (version.texi, stamp-version): New rules.
39939 (realclean): Remove $(libc-texi-generated), not individual files
39940 from that list. Do not remove dir-add.texinfo.
39941 * manual/libc.texinfo: Comment out uses of edition numbers and
39942 references to printed manual. Remove last-updated dates.
39943 (EDITION): Comment out.
39944 (ISBN): Likewise.
39945 (VERSION, UPDATED): Remove.
39946 (version.texi): Include.
39947
12e5c3b9
AS
399482012-02-27 Andreas Schwab <schwab@linux-m68k.org>
39949
39950 * sysdeps/posix/spawni.c: Include <signal.h>.
39951 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39952 * sysdeps/pthread/aio_fsync.c: Likewise.
39953
4efeffc1 399542012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 39955
ba63ba08
UD
39956 * conform/Makefile (tests): Run only when not cross-compiling and
39957 when fast-check is not defined.
39958
d94a4670
UD
39959 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39960 * conform/data/limits.h-data: Fixes for POSIX2008.
39961 * conform/run-conformtest.sh: Run all tests.
39962 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39963 headers.
39964 * include/bits/dlfcn.h: Likewise.
39965 * include/langinfo.h: Likewise.
39966 * include/monetary.h: Likewise.
39967 * include/sys/poll.h: Likewise.
39968
39969 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39970 for __USE_GNU.
39971 * posix/spawn.h: Define __need_sigset_t.
39972 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39973 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39974 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
39975 to get sigevent_t only.
39976 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39977 only for __USE_GNU.
39978 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39979 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39980 process_vm_writev only for __USE_GNU.
39981 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
39982
39983 * conform/Makefile: For now ignore errors from run-conformtest.
39984 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
39985 POSIX to avoid namespace pollution. Don't prepend headers.
39986 * conform/data/aio.h-data: Fixes for POSIX testing.
39987 * conform/data/fcntl.h-data: Likewise.
39988 * conform/data/glob.h-data: Likewise.
39989 * conform/data/grp.h-data: Likewise.
39990 * conform/data/pthread.h-data: Likewise.
39991 * conform/data/pwd.h-data: Likewise.
39992 * conform/data/signal.h-data: Likewise.
39993 * conform/data/spawn.h-data: Likewise.
39994 * conform/data/stdio.h-data: Likewise.
39995 * conform/data/stdlib.h-data: Likewise.
39996 * conform/data/stropts.h-data: Likewise.
39997 * conform/data/sys/mman.h-data: Likewise.
39998 * conform/data/sys/stat.h-data: Likewise.
39999 * conform/data/sys/types.h-data: Likewise.
40000 * conform/data/sys/wait.h-data: Likewise.
40001 * conform/data/time.h-data: Likewise.
40002 * conform/data/unistd.h-data: Likewise.
40003 * conform/data/utime.h-data: Likewise.
40004
40005 * io/sys/stat.h: fchmod was always in POSIX.
40006 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40007 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40008 * rt/aio.h: Define __need_timespec before including <time.h>.
40009 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40010 struct. Add forward declaration of pthread_attr_t and use it in
40011 sigevent.
40012 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40013 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40014 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40015 always remove CLK_TCK definition.
40016
c20105c3
AS
400172012-02-26 Andreas Schwab <schwab@linux-m68k.org>
40018
40019 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40020
7a270350
UD
400212012-02-25 Ulrich Drepper <drepper@gmail.com>
40022
31341567
UD
40023 * conform/run-conformtest.sh: New file.
40024 * conform/Makefile: Run run-conformtest for tests.
40025 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
40026 support.
40027
40028 * conform/data/uchar.h-data: New file.
40029 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40030 * conform/data/arpa/inet.h-data: Likewise.
40031 * conform/data/assert.h-data: Likewise.
40032 * conform/data/complex.h-data: Likewise.
40033 * conform/data/cpio.h-data: Likewise.
40034 * conform/data/ctype.h-data: Likewise.
40035 * conform/data/dirent.h-data: Likewise.
40036 * conform/data/dlfcn.h-data: Likewise.
40037 * conform/data/errno.h-data: Likewise.
40038 * conform/data/fcntl.h-data: Likewise.
40039 * conform/data/float.h-data: Likewise.
40040 * conform/data/fmtmsg.h-data: Likewise.
40041 * conform/data/fnmatch.h-data: Likewise.
40042 * conform/data/ftw.h-data: Likewise.
40043 * conform/data/glob.h-data: Likewise.
40044 * conform/data/grp.h-data: Likewise.
40045 * conform/data/iconv.h-data: Likewise.
40046 * conform/data/inttypes.h-data: Likewise.
40047 * conform/data/langinfo.h-data: Likewise.
40048 * conform/data/libgen.h-data: Likewise.
40049 * conform/data/limits.h-data: Likewise.
40050 * conform/data/locale.h-data: Likewise.
40051 * conform/data/math.h-data: Likewise.
40052 * conform/data/monetary.h-data: Likewise.
40053 * conform/data/mqueue.h-data: Likewise.
40054 * conform/data/ndbm.h-data: Likewise.
40055 * conform/data/net/if.h-data: Likewise.
40056 * conform/data/netdb.h-data: Likewise.
40057 * conform/data/netinet/in.h-data: Likewise.
40058 * conform/data/nl_types.h-data: Likewise.
40059 * conform/data/poll.h-data: Likewise.
40060 * conform/data/pthread.h-data: Likewise.
40061 * conform/data/pwd.h-data: Likewise.
40062 * conform/data/regex.h-data: Likewise.
40063 * conform/data/sched.h-data: Likewise.
40064 * conform/data/search.h-data: Likewise.
40065 * conform/data/semaphore.h-data: Likewise.
40066 * conform/data/setjmp.h-data: Likewise.
40067 * conform/data/signal.h-data: Likewise.
40068 * conform/data/spawn.h-data: Likewise.
40069 * conform/data/stdarg.h-data: Likewise.
40070 * conform/data/stdio.h-data: Likewise.
40071 * conform/data/stdlib.h-data: Likewise.
40072 * conform/data/string.h-data: Likewise.
40073 * conform/data/strings.h-data: Likewise.
40074 * conform/data/stropts.h-data: Likewise.
40075 * conform/data/sys/ipc.h-data: Likewise.
40076 * conform/data/sys/mman.h-data: Likewise.
40077 * conform/data/sys/msg.h-data: Likewise.
40078 * conform/data/sys/resource.h-data: Likewise.
40079 * conform/data/sys/select.h-data: Likewise.
40080 * conform/data/sys/sem.h-data: Likewise.
40081 * conform/data/sys/shm.h-data: Likewise.
40082 * conform/data/sys/socket.h-data: Likewise.
40083 * conform/data/sys/stat.h-data: Likewise.
40084 * conform/data/sys/statvfs.h-data: Likewise.
40085 * conform/data/sys/time.h-data: Likewise.
40086 * conform/data/sys/timeb.h-data: Likewise.
40087 * conform/data/sys/times.h-data: Likewise.
40088 * conform/data/sys/types.h-data: Likewise.
40089 * conform/data/sys/uio.h-data: Likewise.
40090 * conform/data/sys/un.h-data: Likewise.
40091 * conform/data/sys/utsname.h-data: Likewise.
40092 * conform/data/sys/wait.h-data: Likewise.
40093 * conform/data/syslog.h-data: Likewise.
40094 * conform/data/tar.h-data: Likewise.
40095 * conform/data/termios.h-data: Likewise.
40096 * conform/data/utime.h-data: Likewise.
40097 * conform/data/utmpx.h-data: Likewise.
40098 * conform/data/varargs.h-data: Likewise.
40099 * conform/data/wchar.h-data: Likewise.
40100 * conform/data/wctype.h-data: Likewise.
40101 * conform/data/wordexp.h-data: Likewise.
40102
40103 * include/stropts.h: New file.
40104 * include/uchar.h: New file.
40105 * include/aio.h: Changes to allow conformtest.pl to use the headers.
40106 * include/assert.h: Likewise.
40107 * include/ctype.h: Likewise.
40108 * include/dirent.h: Likewise.
40109 * include/dlfcn.h: Likewise.
40110 * include/fcntl.h: Likewise.
40111 * include/fnmatch.h: Likewise.
40112 * include/glob.h: Likewise.
40113 * include/grp.h: Likewise.
40114 * include/libio.h: Likewise.
40115 * include/locale.h: Likewise.
40116 * include/math.h: Likewise.
40117 * include/net/if.h: Likewise.
40118 * include/netdb.h: Likewise.
40119 * include/netinet/in.h: Likewise.
40120 * include/pthread.h: Likewise.
40121 * include/pwd.h: Likewise.
40122 * include/regex.h: Likewise.
40123 * include/sched.h: Likewise.
40124 * include/search.h: Likewise.
40125 * include/setjmp.h: Likewise.
40126 * include/signal.h: Likewise.
40127 * include/stdio.h: Likewise.
40128 * include/stdlib.h: Likewise.
40129 * include/string.h: Likewise.
40130 * include/sys/cdefs.h: Likewise.
40131 * include/sys/mman.h: Likewise.
40132 * include/sys/msg.h: Likewise.
40133 * include/sys/resource.h: Likewise.
40134 * include/sys/select.h: Likewise.
40135 * include/sys/socket.h: Likewise.
40136 * include/sys/stat.h: Likewise.
40137 * include/sys/statvfs.h: Likewise.
40138 * include/sys/time.h: Likewise.
40139 * include/sys/times.h: Likewise.
40140 * include/sys/uio.h: Likewise.
40141 * include/sys/utsname.h: Likewise.
40142 * include/sys/wait.h: Likewise.
40143 * include/termios.h: Likewise.
40144 * include/time.h: Likewise.
40145 * include/ulimit.h: Likewise.
40146 * include/unistd.h: Likewise.
40147 * include/utime.h: Likewise.
40148 * include/wchar.h: Likewise.
40149 * include/wctype.h: Likewise.
40150 * include/wordexp.h: Likewise.
40151
40152 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40153
7a270350
UD
40154 * time/time.h: TIME_UTC must be a macro.
40155 Make timespec_get available for ISO C11 only as well.
40156
7724defc
UD
401572012-02-24 Ulrich Drepper <drepper@gmail.com>
40158
40159 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40160 Reported by Peng Haitao <penght@cn.fujitsu.com>.
40161
6b1d1d46
JM
401622012-02-24 Joseph Myers <joseph@codesourcery.com>
40163
40164 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 40165
0f8bbd69
JM
401662012-02-24 Joseph Myers <joseph@codesourcery.com>
40167
40168 * manual/texinfo.tex: Update to version 2012-01-19.16.
40169
66ab80bc
JM
401702012-02-24 Joseph Myers <joseph@codesourcery.com>
40171
40172 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40173
74981cc5
RM
401742012-02-24 Roland McGrath <roland@hack.frob.com>
40175
ee968201
RM
40176 [BZ #13738]
40177 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40178 * manual/fdl-1.3.texi: New file.
40179 * manual/fdl-1.1.texi: File removed.
40180
74981cc5
RM
40181 [BZ #13738]
40182 * manual/libc.texinfo (FDL_VERSION): New @set.
40183 Use it for mention of FDL in cover text.
40184 (Documentation License): Use it in @include file name.
40185
7bb764bc
JM
401862012-02-22 Joseph Myers <joseph@codesourcery.com>
40187 Roland McGrath <roland@hack.frob.com>
40188
40189 [BZ #5461]
57f41c40
AS
40190 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40191 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
40192 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40193 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
40194 name.
40195 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40196
6cbeae47
JM
401972012-02-22 Joseph Myers <joseph@codesourcery.com>
40198
40199 [BZ #2547]
40200 [BZ #11365]
40201 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40202 manipulate bits before adding and subtracting TWO23[sx].
40203 * math/libm-test.inc (nearbyint_test): Add more tests.
40204
fe45ce09
JM
402052012-02-22 Joseph Myers <joseph@codesourcery.com>
40206
40207 [BZ #2548]
40208 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40209 bits before adding and subtracting TWO23[sx].
40210 * math/libm-test.inc (rint_test): Add more tests.
40211 (rint_test_tonearest): Likewise.
40212 (rint_test_towardzero): Likewise.
40213 (rint_test_downward): Likewise.
40214 (rint_test_upward: Likewise.
40215
ff3b3d82
JM
402162012-02-22 Joseph Myers <joseph@codesourcery.com>
40217
40218 [BZ #10110]
40219 * include/stdc-predef.h: New file. Extracted from features.h.
40220 * include/features.h: Include stdc-predef.h.
40221 * Makefile (headers): Add stdc-predef.h.
40222 * CONFORMANCE (Compiler limitations): Update.
40223
ef0aab35
JM
402242012-02-22 Joseph Myers <joseph@codesourcery.com>
40225
40226 * manual/libc.texinfo (VERSION, UPDATED): Revert.
40227
58639409
DM
402282012-02-21 David S. Miller <davem@davemloft.net>
40229
40230 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40231 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40232
c0e70b25
DM
402332012-02-20 David S. Miller <davem@davemloft.net>
40234
40235 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40236 using a normal save/restore sequence, rather than allocating a
40237 dummy stack frame just to store a frame pointer and restore.
40238 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40239
fb06851d
JM
402402012-02-21 Joseph Myers <joseph@codesourcery.com>
40241
40242 * manual/install.texi: Fix stray word in line-wrapped comment.
40243
7a8b71c3
DM
402442012-02-20 David S. Miller <davem@davemloft.net>
40245
d510c123
DM
40246 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40247 both binutils and gcc support GOTDATA.
40248
0722d7c2
DM
40249 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40250 "rd %pc" in the PIC register setup sequences.
40251
3d2b3019
DM
40252 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40253 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40254 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40255 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40256 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40257 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40258 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40259 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40260 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40261 (SYSCALL_ERROR_HANDLER): Likewise.
40262 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40263 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40264 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40265 (SYSCALL_ERROR_HANDLER): Likewise.
40266
c80098a9
DM
40267 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40268 (HAVE_GCC_GOTDATA): New.
40269 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40270 relocation support in both binutils and gcc.
40271 * sysdeps/sparc/elf/configure: Regenerate.
40272
3a2545a0
DM
40273 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40274 * sysdeps/sparc/sparc32/elf/configure: Delete.
40275 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40276 * sysdeps/sparc/sparc64/elf/configure: Delete.
40277 * sysdeps/sparc/elf/configure.in: New file.
40278 * sysdeps/sparc/elf/configure: Generate.
40279
7a8b71c3
DM
40280 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40281 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40282 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40283 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40284 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40285
f1e86fca
JM
402862012-02-21 Joseph Myers <joseph@codesourcery.com>
40287
40288 * manual/install.texi: Do not mention specific glibc version
40289 numbers.
40290 * manual/libc.texinfo (VERSION, UPDATED): Update.
40291 (@copying): Use @copyright{} and range of years.
40292
0e7dfaef
JM
402932012-02-21 Joseph Myers <joseph@codesourcery.com>
40294
40295 [BZ #13695]
40296 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40297 [crti.S not in sysdirs] (generated): Do not append.
40298 [crti.S not in sysdirs] (omit-deps): Likewise.
40299 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40300 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40301 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40302 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40303 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40304 Likewise.
40305 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40306 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40307 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40308 * csu/defs.awk: Remove file.
40309 * sysdeps/generic/initfini.c: Likewise.
40310 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40311 variable.
40312 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40313 Likewise.
40314
599af3ca
JM
403152012-02-20 Joseph Myers <joseph@codesourcery.com>
40316
40317 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40318 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40319 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40320 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40321 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40322 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40323 <bits/epoll.h>.
40324 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40325 (__EPOLL_PACKED): Define to empty if not defined by
40326 <bits/epoll.h>.
40327 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40328 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40329 bits/epoll.h.
40330
0e499750
JM
403312012-02-20 Joseph Myers <joseph@codesourcery.com>
40332
40333 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40334 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40335 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40336 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40337 <bits/timerfd.h>.
40338 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40339 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40340 bits/timerfd.h.
40341
5ad91f6e
JM
403422012-02-20 Joseph Myers <joseph@codesourcery.com>
40343
40344 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40345 in C locale.
40346 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40347 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40348 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40350
06b99b02
AJ
403512012-02-20 Aurelien Jarno <aurelien@aurel32.net>
40352
40353 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40354 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40355
7638c0fd
AS
403562012-02-19 Andreas Schwab <schwab@linux-m68k.org>
40357
40358 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40359 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40360 defined.
40361 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40362 Likewise.
40363 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40364 entry for 2.16.
40365
92221550
AJ
403662012-02-19 Aurelien Jarno <aurelien@aurel32.net>
40367
40368 * math/w_acos.c: Use non-signaling floating-point comparisons.
40369 * math/w_acosf.c: Likewise.
40370 * math/w_acosh.c: Likewise.
40371 * math/w_acoshf.c: Likewise.
40372 * math/w_acoshl.c: Likewise.
40373 * math/w_acosl.c: Likewise.
40374 * math/w_asin.c: Likewise.
40375 * math/w_asinf.c: Likewise.
40376 * math/w_asinl.c: Likewise.
40377 * math/w_atanh.c: Likewise.
40378 * math/w_atanhf.c: Likewise.
40379 * math/w_atanhl.c: Likewise.
40380 * math/w_exp2.c: Likewise.
40381 * math/w_exp2f.c: Likewise.
40382 * math/w_exp2l.c: Likewise.
40383 * math/w_j0.c: Likewise.
40384 * math/w_j0f.c: Likewise.
40385 * math/w_j0l.c: Likewise.
40386 * math/w_j1.c: Likewise.
40387 * math/w_j1f.c: Likewise.
40388 * math/w_j1l.c: Likewise.
40389 * math/w_jn.c: Likewise.
40390 * math/w_jnf.c: Likewise.
40391 * math/w_log.c: Likewise.
40392 * math/w_log10.c: Likewise.
40393 * math/w_log10f.c: Likewise.
40394 * math/w_log10l.c: Likewise.
40395 * math/w_log2.c: Likewise.
40396 * math/w_log2f.c: Likewise.
40397 * math/w_log2l.c: Likewise.
40398 * math/w_logf.c: Likewise.
40399 * math/w_logl.c: Likewise.
40400 * math/w_sqrt.c: Likewise.
40401 * math/w_sqrtf.c: Likewise.
40402 * math/w_sqrtl.c: Likewise.
40403 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40404 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40405 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40406 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40407 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40408
ebaf36eb
JM
404092012-02-19 Joseph Myers <joseph@codesourcery.com>
40410
40411 [BZ #9739]
40412 * manual/string.texi (strnlen): Use correct parameter name in
40413 equivalent expression.
40414
71c254a6
JM
404152012-02-19 Joseph Myers <joseph@codesourcery.com>
40416
40417 [BZ #11174]
40418 * manual/users.texi (seteuid): Consistently use neweuid for
40419 argument name.
40420
16d2c631
JM
404212012-02-19 Joseph Myers <joseph@codesourcery.com>
40422
40423 [BZ #13704]
40424 * manual/nss.texi (Services in the NSS configuration): Correct
40425 list of services in example configuration file.
40426
cd837b09
NB
404272012-02-19 Nick Bowler <nbowler@draconx.ca>
40428
40429 [BZ #11322]
40430 * manual/arith.texi: Remove statements about negative zero
40431 behaving identically to zero.
40432
02c4bbad
JM
404332012-02-18 Joseph Myers <joseph@codesourcery.com>
40434
40435 [BZ #5993]
40436 * manual/install.texi: Do not document upgrading from libc5.
40437
366842e7
JM
404382012-02-18 Joseph Myers <joseph@codesourcery.com>
40439
40440 [BZ #4596]
40441 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40442
dd54084d
DM
404432012-02-18 David S. Miller <davem@davemloft.net>
40444
40445 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40446 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40447 %o7 across the call.
40448 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40449 instead.
40450 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40451 SETUP_PIC_REG_LEAF.
40452 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40453 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40454 * sysdeps/sparc/crtn.S: Likewise.
40455
2bcc53a3
UD
404562012-02-17 Ulrich Drepper <drepper@gmail.com>
40457
40458 * aout/Makefile: Remove.
40459
09c093b5
RK
404602012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
40461
40462 [BZ #13058]
40463 * manual/examples/argp-ex1.c (main): Format definition in GNU
40464 style.
40465 * manual/examples/argp-ex2.c (main): Likewise.
40466 * manual/examples/argp-ex3.c (main): Likewise.
40467 * manual/examples/argp-ex4.c (main): Likewise.
40468 * manual/examples/longopt.c (main): Use new-style prototype
40469 definition.
40470 * manual/examples/strncat.c (main): Specify return type and use
40471 (void) for arguments.
40472 * manual/examples/subopt.c (main): Use char **argv argument.
40473
2ee633a2
JM
404742012-02-17 Joseph Myers <joseph@codesourcery.com>
40475
40476 [BZ #5077]
40477 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40478 rounding modes.
40479
0520adde
FB
404802012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
40481
40482 [BZ #6907]
40483 * manual/string.texi (strchr): Change when strchrnul is
40484 recommended.
40485
3f4081cd
DGM
404862012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
40487
40488 [BZ #174]
40489 * manual/locale.texi (setlocale): Document LOCPATH.
40490
d1b10e78
JM
404912012-02-17 Joseph Myers <joseph@codesourcery.com>
40492
40493 [BZ #10210]
40494 * manual/process.texi (execle): Move @dots{} before last argument.
40495
79c6869c
PB
404962012-02-17 Paul Bolle <pebolle@tiscali.nl>
40497
40498 [BZ #12047]
40499 * manual/charset.texi (Generic Charset Conversion): Fix typo
40500 (LC_TYPE -> LC_CTYPE).
40501
cc6e48bc
NB
405022012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
40503
40504 [BZ #5805]
40505 * manual/arith.texi (scalbn): Use @var{} on parameter names.
40506 (scalbnf): Likewise.
40507 (scalbnl): Likewise.
40508 (scalbln): Likewise.
40509 (scalblnf): Likewise.
40510 (scalblnl): Likewise.
40511 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40512 (vwarnx): Likewise.
40513 (verr): Likewise.
40514 (verrx): Likewise.
40515 * manual/filesys.texi (telldir): Use braces around return type.
40516 * manual/llio.texi (mmap): Add space after comma.
40517 (mmap64): Likewise.
40518 * manual/math.texi (jn): Use @var{} on parameter names.
40519 (jnf): Likewise.
40520 (jnl): Likewise.
40521 (yn): Likewise.
40522 (ynf): Likewise.
40523 (ynl): Likewise.
40524 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40525 line.
40526 * manual/resource.texi (ulimit): Use @dots{} instead of literal
40527 "...".
40528 (sched_get_priority_min): Remove semicolon on @deftypefun line.
40529 (sched_get_priority_max): Likewise.
40530 * manual/signal.texi (sigvec): Add space after comma.
40531 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40532 names.
40533 (if_indextoname): Likewise.
40534 (if_freenameindex): Likewise.
40535 (sendto): Use ',' instead of '.' in prototype.
40536 * manual/startup.texi (syscall): Use @dots{} instead of literal
40537 "...".
40538 * manual/stdio.texi (__fpending): Separate initial words of
40539 paragraph from @deftypefun line.
40540 * manual/syslog.texi (syslog): Use @dots{} instead of literal
40541 "...".
40542 (vsyslog): Use @var{} on parameter names.
40543 * manual/terminal.texi (stty): Use @var{} on parameter names.
40544 * manual/users.texi (getutmp): Use @var{} on parameter names.
40545 (getutmpx): Likewise.
40546
5b23062f
JM
405472012-02-17 Joseph Myers <joseph@codesourcery.com>
40548
40549 [BZ #6884]
40550 * manual/stdio.texi (fopen): Fix typos in description of
40551 ",ccs=STRING".
40552
8dee4833
AJ
405532012-02-17 Aurelien Jarno <aurelien@aurel32.net>
40554
40555 [BZ #4026]
40556 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40557 get clock_id definition.
40558
9078ce93
TS
405592012-02-17 Thomas Schwinge <thomas@schwinge.name>
40560
40561 [BZ #4822]
40562 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40563 (madvise): Cast every argument to void on its own.
40564
3835c55f
JM
405652012-02-17 Joseph Myers <joseph@codesourcery.com>
40566
40567 [BZ #9902]
40568 * manual/startup.texi (Exit Status): Fix typo.
40569
35c47e37
JM
405702012-02-17 Joseph Myers <joseph@codesourcery.com>
40571
40572 [BZ #10140]
40573 * manual/examples/argp-ex1.c: Include <stdlib.h>.
40574 * manual/examples/argp-ex2.c: Likewise.
40575 * manual/examples/argp-ex3.c: Likewise.
40576
e3b69ca7
RH
405772012-02-16 Richard Henderson <rth@redhat.com>
40578
40579 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40580 * sysdeps/s390/s390-32/initfini.c: Remove.
40581 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40582 * sysdeps/s390/s390-64/initfini.c: Remove.
40583
df83af67
KK
405842012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40585
40586 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40587 compiler output for sysdeps/generic/initfini.c.
40588 * sysdeps/sh/elf/initfini.c: Remove file.
40589
f63f3380
DM
405902012-02-16 David S. Miller <davem@davemloft.net>
40591
fb59b3a4
DM
40592 [BZ #11494]
40593 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40594
f63f3380
DM
40595 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40596 * sysdeps/sparc/crti.S: New file.
40597 * sysdeps/sparc/crtn.S: New file.
40598 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40599 * sysdeps/sparc/sparc64/Makefile: Likewise.
40600
df6a4a4a
MF
406012012-02-15 Mike Frysinger <vapier@gentoo.org>
40602
6dd8f3dc 40603 [BZ #3335]
df6a4a4a
MF
40604 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40605
1cac7236
RM
406062012-02-15 Roland McGrath <roland@hack.frob.com>
40607
d2c736f8
RM
40608 [BZ #4822]
40609 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40610
1cac7236
RM
40611 * mach/devstream.c (cookie_io_functions_t): Macro removed.
40612 (write, read, close): Likewise.
40613 Patch by Aurelien Jarno <aurelien@aurel32.net>.
40614
8e475601
JM
406152012-02-15 Joseph Myers <joseph@codesourcery.com>
40616
40617 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40618 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40619 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40620 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40621 <bits/signalfd.h>.
40622 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40623 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40624 bits/signalfd.h.
40625
ed656b40
MP
406262012-02-14 Marek Polacek <polacek@redhat.com>
40627
40628 * sysdeps/x86_64/crti.S: New file.
40629 * sysdeps/x86_64/crtn.S: New file.
40630 * sysdeps/x86_64/elf/initfini.c: Remove file.
40631
2a979d3a
JM
406322012-02-13 Joseph Myers <joseph@codesourcery.com>
40633
40634 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40635 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40636 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40637 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40638 <bits/inotify.h>.
40639 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40640 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40641 bits/inotify.h.
40642
2a418ac3
JM
406432012-02-13 Joseph Myers <joseph@codesourcery.com>
40644
40645 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40646 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40647 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40648 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40649 <bits/eventfd.h>.
40650 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40651 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40652 bits/eventfd.h.
40653
fb779be7
TS
406542012-02-10 Thomas Schwinge <thomas@codesourcery.com>
40655
e19e83c5
RM
40656 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40657 __feraiseexcept instead of feraiseexcept.
7c35ffed 40658
fb779be7
TS
40659 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40660 nanosleep invocations.
40661 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40662 strings, and add error checking for a nanosleep invocations.
40663
59ba27a6
PE
406642012-02-09 Paul Eggert <eggert@cs.ucla.edu>
40665
40666 Replace FSF snail mail address with URLs, as per GNU coding standards.
40667 Most of the snail mail addresses were wrong anyway, and omitting
40668 them makes the source code easier to maintain. Almost all of the
40669 changes are to license notices and to locale LC_IDENTIFICATION
40670 addresses, except for this one:
40671 * manual/libc.texinfo: In "Published by", give the FSF's URL,
40672 not its snail mail address.
40673
57b957eb
RH
406742012-02-09 Richard Henderson <rth@twiddle.net>
40675
af850b1c
RH
40676 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40677 of kernel-features.h.
40678
57b957eb
RH
40679 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40680
6b73181a
MP
406812012-02-08 Marek Polacek <polacek@redhat.com>
40682
40683 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40684 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40685 * sysdeps/gnu/_G_config.h: Likewise.
40686 * sysdeps/generic/_G_config.h: Likewise.
40687
26ecc33a
AS
406882012-02-08 Andreas Schwab <schwab@linux-m68k.org>
40689
6c6dbc63
AS
40690 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40691 tests.
40692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40693
e216c012
AS
40694 * sysdeps/powerpc/powerpc32/crti.S: New file.
40695 * sysdeps/powerpc/powerpc32/crtn.S: New file.
40696 * sysdeps/powerpc/powerpc64/crti.S: New file.
40697 * sysdeps/powerpc/powerpc64/crtn.S: New file.
40698
26ecc33a
AS
40699 * Makeconfig (have-initfini): Don't set.
40700 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40701 * configure.in (nopic_initfini): Don't substitute.
40702 * config.h.in (HAVE_INITFINI): Don't #undef.
40703 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40704 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40705
3add8e13
JM
407062012-02-08 Joseph Myers <joseph@codesourcery.com>
40707
40708 Support crti.S and crtn.S provided directly by architectures.
40709 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40710 [crti.S in sysdirs] (omit-deps): Likewise.
40711 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40712 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40713 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40714 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40715 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40716 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40717 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40718 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40719 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40720 compiler output for sysdeps/generic/initfini.c.
40721 * sysdeps/i386/elf/Makefile: Remove file.
40722 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40723
a22f12b4
MP
407242012-02-07 Marek Polacek <polacek@redhat.com>
40725
40726 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40727 * sysdeps/gnu/_G_config.h: Likewise.
40728 * sysdeps/mach/hurd/_G_config.h: Likewise.
40729
148cf100
MP
407302012-02-07 Marek Polacek <polacek@redhat.com>
40731
40732 * math/Makefile (tests): Add tst-CMPLX2.
40733 * math/tst-CMPLX2.c: New file.
40734
cfdc0dd7
AS
407352012-02-07 Andreas Schwab <schwab@linux-m68k.org>
40736
84ba42c4
AS
40737 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40738
cfdc0dd7
AS
40739 * math/libm-test.inc (jn_test): Add missing L suffix.
40740
622c86f4
MP
407412012-02-06 Marek Polacek <polacek@redhat.com>
40742
40743 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40744 * sysdeps/i386/fpu/e_powf.S: Likewise.
40745 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40746 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40747 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40748 * sysdeps/i386/fpu/e_pow.S: Likewise.
40749 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40750 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40751 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40752 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40753 * sysdeps/i386/fpu/e_log2.S: Likewise.
40754 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40755 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40756 * sysdeps/i386/fpu/e_powl.S: Likewise.
40757 * sysdeps/i386/fpu/s_log1p.S: Likewise.
40758 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40759 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40760 * sysdeps/i386/fpu/e_logl.S: Likewise.
40761 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40762 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40763 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40764 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40765 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40766 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40767 * sysdeps/i386/fpu/e_log.S: Likewise.
40768 * sysdeps/i386/fpu/s_cexp.S: Likewise.
40769 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40770 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40771 * sysdeps/i386/fpu/e_logf.S: Likewise.
40772 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40773 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40774 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40775 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40776 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40777 * sysdeps/i386/fpu/e_log10.S: Likewise.
40778 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40779 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40780 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40781 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40782 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40783 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40784 * sysdeps/i386/asm-syntax.h: Likewise.
40785 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40786 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40787 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40788 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40789 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40790 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40791 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40792 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40793 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40794 * sysdeps/powerpc/sysdep.h: Likewise.
40795 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40796 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40797
d4a54ac6
JM
407982012-02-06 Joseph Myers <joseph@codesourcery.com>
40799
40800 [BZ #411]
40801 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40802
314054ea
JM
408032012-02-06 Joseph Myers <joseph@codesourcery.com>
40804
40805 * sysdeps/i386/sysdep.h: Include <features.h>.
40806 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40807 version.
40808
d8e0ca50
JM
408092012-02-05 Joseph Myers <joseph@codesourcery.com>
40810
40811 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40812 Define.
40813 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40814 LOAD_PIC_REG_STR.
40815
b1da7dd9
JM
408162012-02-03 Joseph Myers <joseph@codesourcery.com>
40817
40818 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40819 (SETUP_PIC_REG): Use GET_PC_THUNK.
40820 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40821 macro.
40822
9a1d9254
JM
408232012-02-03 Joseph Myers <joseph@codesourcery.com>
40824
40825 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40826 for non-PIC compilation.
40827 (SETUP_PIC_REG): Add .p2align directive.
40828 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40829 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40830 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40831 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40832 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40833 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40834 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40835 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40836 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40837 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40838 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40839 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40840 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40841 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40842 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40843 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40844 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40845 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40846 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40847 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40848 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40849 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40850 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40851 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40852 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40853 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40854 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40855 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40856 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40857 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40858 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40859 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40860 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40861 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40862 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40863 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40864 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40865 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40866 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40867 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40868 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40869
65dc3b75
JM
408702012-02-03 Joseph Myers <joseph@codesourcery.com>
40871
40872 * math/tst-CMPLX.c: Include <stdio.h>.
40873
d55bf177
JM
408742012-01-31 Joseph Myers <joseph@codesourcery.com>
40875
40876 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40877 float.
40878 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40879 * sysdeps/sparc/bits/mathdef.h: Likewise.
40880
69db4f8f
MP
408812012-01-31 Marek Polacek <polacek@redhat.com>
40882
40883 * libio/libio.h: Don't define _PARAMS.
40884 * locale/programs/config.h: Don't define PARAMS.
40885 * stdlib/strtol_l.c: Likewise.
40886 (__strtol_l): Remove PARAMS from the prototype.
40887
41b81892
UD
408882012-01-31 Ulrich Drepper <drepper@gmail.com>
40889
3b49edc0
UD
40890 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
40891 names. Just use the correct names. Remove unnecessary wrapper
40892 functions.
40893 * malloc/arena.c: Likewise.
40894 * malloc/hooks.c: Likewise.
40895
41b81892
UD
40896 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40897 ARENA_TEST says not to. Simplify test for creation of a new arena.
40898 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40899
27a25b6e
UD
409002012-01-30 Ulrich Drepper <drepper@gmail.com>
40901
40902 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40903 into tail calls.
40904 (update_get_addr): New function.
40905 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40906 GET_ADDR_MODULE parameter.
40907
c8a89e7d
JM
409082012-01-30 Joseph Myers <joseph@codesourcery.com>
40909
40910 * crypt/cert.c: Remove __STDC__ conditionals.
40911 * crypt/crypt-entry.c: Likewise.
40912 * crypt/crypt_util.c: Likewise.
40913 * libio/filedoalloc.c: Likewise.
40914 * libio/fileops.c: Likewise.
40915 * libio/genops.c: Likewise.
40916 * libio/iofclose.c: Likewise.
40917 * libio/iofdopen.c: Likewise.
40918 * libio/iofopen.c: Likewise.
40919 * libio/iofopen64.c: Likewise.
40920 * libio/iogetdelim.c: Likewise.
40921 * libio/iopopen.c: Likewise.
40922 * libio/obprintf.c: Likewise.
40923 * libio/oldfileops.c: Likewise.
40924 * libio/oldiofclose.c: Likewise.
40925 * libio/oldiofdopen.c: Likewise.
40926 * libio/oldiofopen.c: Likewise.
40927 * libio/oldiopopen.c: Likewise.
40928 * libio/wfiledoalloc.c: Likewise.
40929 * libio/wgenops.c: Likewise.
40930 * locale/programs/xmalloc.c: Likewise.
40931 * misc/syslog.c: Likewise.
40932 * stdio-common/xbug.c: Likewise.
40933 * string/memchr.c: Likewise.
40934 * string/memcmp.c: Likewise.
40935 * string/memrchr.c: Likewise.
40936 * string/rawmemchr.c: Likewise.
40937 * sysdeps/posix/getcwd.c: Likewise.
40938 * time/strftime_l.c: Likewise.
40939
3b100462
JM
409402012-01-30 Joseph Myers <joseph@codesourcery.com>
40941
40942 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
40943 * config.make.in (config-cflags-sse2avx): Define.
40944 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40945 Fix typo.
40946
607998af
CM
409472012-01-29 Chris Metcalf <cmetcalf@tilera.com>
40948
40949 * scripts/config.guess: Update from upstream config git repository.
40950 * scripts/config.sub: Likewise.
40951
3601428f
CM
409522012-01-28 Chris Metcalf <cmetcalf@tilera.com>
40953
3ac8b282
CM
40954 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40955 (EM_NUM): Update.
40956 (R_TILEPRO_*, R_TILEGX_*): New macros.
40957
e034841e
CM
40958 * scripts/firstversions.awk: Fix bug in version range handling.
40959
540d7568
CM
40960 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40961
3601428f
CM
40962 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40963
463de862
CM
40964 * include/sys/epoll.h: New file.
40965 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40966 libc_hidden_def.
40967
73139a76
UD
409682012-01-28 Ulrich Drepper <drepper@gmail.com>
40969
96bc5b45
UD
40970 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40971 Avoid unnecessary __WORDSIZE == 64 test.
40972 (fmaxf): Use VEX format if possible.
40973 (fmax): Likewise.
40974 (fminf): Likewise.
40975 (fmin): Likewise.
40976
56f6f6a2
UD
40977 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40978 * math/math_private.h: Remove libc_fegetround* and
40979 libc_fesetround*.
40980 * sysdeps/i386/configure.in: Check for -msse2avx.
40981 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40982 also if SSE2AVX is defined.
40983 Remove libc_fegetround* and libc_fesetround*.
40984 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40985 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
40986 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40987 of HAS_YMM_USABLE.
40988 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40989 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40990 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40991 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40992 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40993
73139a76
UD
40994 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40995
d73f93a4
AZ
409962012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40997
40998 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40999 size is not set.
41000 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41001
6ee65ed6
UD
410022012-01-27 Ulrich Drepper <drepper@gmail.com>
41003
41004 [BZ #13618]
41005 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41006 relocation.
41007 * Makeconfig (libm): Define.
41008 * elf/Makefile: Add rules to build and run tst-relsort1.
41009 * elf/tst-relsort1.c: New file.
41010 * elf/tst-relsort1mod1.c: New file.
41011 * elf/tst-relsort1mod2.c: New file.
41012
8db21882
JM
410132012-01-27 Joseph Myers <joseph@codesourcery.com>
41014
41015 * math/s_ldexp.c: Remove __STDC__ conditionals.
41016 * math/s_ldexpf.c: Likewise.
41017 * math/s_ldexpl.c: Likewise.
41018 * math/s_nextafter.c: Likewise.
41019 * math/s_nexttowardf.c: Likewise.
41020 * math/s_significand.c: Likewise.
41021 * math/s_significandf.c: Likewise.
41022 * math/s_significandl.c: Likewise.
41023 * math/w_jnl.c: Likewise.
41024 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41025 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41026 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41027 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41028 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41029 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41030 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41031 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41032 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41033 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41034 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41035 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41036 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41037 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41038 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41039 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41040 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41041 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41042 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41043 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41044 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41045 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41046 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41047 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41048 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41049 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41050 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41051 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41052 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41053 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41054 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41055 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41056 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41057 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41058 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41059 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41060 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41061 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41062 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41063 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41064 * sysdeps/ieee754/k_standard.c: Likewise.
41065 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41066 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41067 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41068 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41069 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41070 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41071 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41072 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41073 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41074 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41075 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41076 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41077 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41078 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41079 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41080 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41081 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41082 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41083 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41084 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41085 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41086 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41087 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41088 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41089 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41090 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41091 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41092 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41093 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41094 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41095 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41096 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41097 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41098 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41099 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41100 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41101 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41102 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41103 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41104 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41105 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41106 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41107 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41108 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41109 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41110 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41111 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41112 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41113 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41114 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41115 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41116 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41117 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41118 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41119 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41120 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41121 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41122 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41123 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41124 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41125 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41126 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41127 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41128 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41129 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41130 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41131 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41132 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41133 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41134 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41135 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41136 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41137 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41138 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41139 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41140 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41141 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41142 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41143 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41144 * sysdeps/ieee754/s_matherr.c: Likewise.
41145 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41146 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41147 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41148 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41149
965a54a4
JM
411502012-01-26 Joseph Myers <joseph@codesourcery.com>
41151
41152 * crypt/md5.h: Remove __STDC__ conditionals.
41153 * libio/libioP.h: Likewise.
41154 * locale/programs/config.h: Likewise.
41155 * sysdeps/generic/sysdep.h: Likewise.
41156 * sysdeps/i386/asm-syntax.h: Likewise.
41157 * sysdeps/s390/asm-syntax.h: Likewise.
41158 * sysdeps/unix/sysdep.h: Likewise.
41159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41161
7071ad79
JM
411622012-01-26 Joseph Myers <joseph@codesourcery.com>
41163
41164 * libio/libio.h: Remove __STDC__ conditionals.
41165 * malloc/obstack.h: Likewise.
41166 * math/complex.h: Likewise.
41167 * math/math.h: Likewise.
41168 * sysdeps/generic/_G_config.h: Likewise.
41169 * sysdeps/gnu/_G_config.h: Likewise.
41170 * sysdeps/mach/hurd/_G_config.h: Likewise.
41171 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41172 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41173 * sysdeps/sparc/bits/mathdef.h: Likewise.
41174
afc5ed09
UD
411752012-01-26 Ulrich Drepper <drepper@gmail.com>
41176
41177 [BZ #13583]
41178 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 41179 Clean up HAS_* macros.
afc5ed09 41180 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
41181 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41182 possible.
41183 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41184 HAS_AVX.
41185 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41186 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41187 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41188 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41189 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 41190
bdb6de1d
JM
411912012-01-25 Joseph Myers <joseph@codesourcery.com>
41192
41193 * elf/tst-unique3.cc (gets): Remove declaration.
41194 * elf/tst-unique3lib.cc (gets): Likewise.
41195 * elf/tst-unique3lib2.cc (gets): Likewise.
41196 * elf/tst-unique4.cc (gets): Likewise.
41197
b15549e6
UD
411982012-01-24 Ulrich Drepper <drepper@gmail.com>
41199
41200 * include/stdio.h: Add C++ protection. Add gets declarations and
41201 definitions.
41202 * debug/tst-chk1.c: Don't declare gets here.
41203 * stdio-common/tst-gets.c: Likewise.
41204
a037381f
JM
412052012-01-24 Joseph Myers <joseph@codesourcery.com>
41206
41207 * posix/glob: Remove directory.
41208
f1d4aa75
JM
412092012-01-24 Joseph Myers <joseph@codesourcery.com>
41210
41211 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41212
81c0c964
PT
412132012-01-22 Pino Toscano <toscano.pino@tiscali.it>
41214
41215 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41216 of the non-standard EPFNOSUPPORT.
41217
0ea698ae
ST
412182011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
41219
41220 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41221 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41222 ANYWHERE set to 1 only on KERN_NO_SPACE error.
41223
d220b117
UD
412242012-01-21 Ulrich Drepper <drepper@gmail.com>
41225
41226 * wcsmbs/uchar.h: Test __STDC_VERSION__.
41227
3e1aa84e
UD
412282012-01-20 Ulrich Drepper <drepper@gmail.com>
41229
41230 * nscd/aicache.c (addhstaiX): Do not cache negative results of
41231 transient errors.
41232 * nscd/grpcache.c (cache_addgr): Likewise.
41233 * nscd/hstcache.c (cache_addhst): Likewise.
41234 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41235 * nscd/pwdcache.c (cache_addpw): Likewise.
41236 * nscd/servicescache.c (cache_addserv): Likewise.
41237
400aa020
UD
412382012-01-16 Ulrich Drepper <drepper@gmail.com>
41239
d77e7869
UD
41240 * malloc/malloc.c: Various cleanups.
41241 * malloc/hooks.c: Likewise.
41242
400aa020
UD
41243 * stdlib/Makefile (tests): Add bug-fmtmsg1.
41244 * stdlib/bug-fmtmsg1.c: New file.
41245
41246 * stdlib/fmtmsg.c (init): Add missing unlock.
41247 Patch by Peng Haitao <penght@cn.fujitsu.com>.
41248
e0a309cf
MP
412492012-01-12 Marek Polacek <polacek@redhat.com>
41250
41251 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41252 and _GNU_SOURCE.
41253
929d11c7
WS
412542012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41255
41256 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41257 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41258 macro to ensure uniqueness of label name.
41259 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41260 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41261
41d0e869
UD
412622012-01-11 Ulrich Drepper <drepper@gmail.com>
41263
0cc5ed3b
UD
41264 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41265
41d0e869
UD
41266 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41267 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41268 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41269 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41270
a47a831a
UD
412712012-01-10 Ulrich Drepper <drepper@gmail.com>
41272
daa891c0
UD
41273 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41274
41275 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41276 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41277 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41278
e58ef0f2
UD
41279 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41280
a47a831a 41281 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
41282 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41283 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 41284 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
41285
41286 * math/bits/math-finite.h: Add ldexp support.
41287
a0bfc9c7
MP
412882012-01-10 Marek Polacek <polacek@redhat.com>
41289
41290 * locale/programs/localedef.h (show_archive_content): Add noreturn
41291 attribute.
41292
d6e97a1d
UD
412932012-01-09 Ulrich Drepper <drepper@gmail.com>
41294
41295 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41296
d5835c26
UD
412972012-01-08 Ulrich Drepper <drepper@gmail.com>
41298
e5f484c6
UD
41299 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41300
d5835c26
UD
41301 * io/Makefile (headers): Add bits/poll2.h.
41302
d1f741e9
WS
413032011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
41304
41305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41306 typo #include statement.
41307
ec09c1c4
UD
413082012-01-08 Ulrich Drepper <drepper@gmail.com>
41309
41310 * include/sys/cdefs.h: Define __attribute_alloc_size.
41311 * catgets/gencat.c: Add alloc_size attribute and apply consistently
41312 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41313 * elf/pldd.c: Likewise.
41314 * iconv/iconv_charmap.c: Likewise.
41315 * iconv/iconvconfig.c: Likewise.
41316 * iconv/strtab.c: Likewise.
41317 * locale/programs/locale.c: Likewise.
41318 * locale/programs/localedef.h: Likewise.
41319 * locale/programs/simple-hash.c: Likewise.
41320 * nscd/nscd.h: Likewise.
41321 * nss/makedb.c: Likewise.
41322 * sysdeps/generic/ldconfig.h: Likewise.
41323 * locale/programs/localedef.c: Remove xmalloc prototype.
41324 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41325
20b38e03
PP
413262012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41327
41328 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41329 appropriate.
41330
a0da5fe1
UD
413312012-01-08 Ulrich Drepper <drepper@gmail.com>
41332
1d5a644a 41333 * math/Makefile (tests): Add tst-CMPLX.
669704fd 41334 * math/tst-CMPLX.c: New file.
1d5a644a 41335
8784a6db
UD
41336 * math/complex.h (CMPLXL): Fix typo.
41337
d9a216c0
UD
41338 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41339 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41340 GLIBC_2.16.
41341 * debug/tst-chk1.c: Add poll and ppoll tests.
41342 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41343 * include/sys/poll.h: Add hidden proto for ppoll.
41344 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41345 * sysdeps/mach/hurd/ppoll.c: Likewise.
41346 * io/ppoll.c: Likewise.
41347 * debug/poll_chk.c: New file.
41348 * debug/ppoll_chk.c: New file.
41349 * include/bits/poll2.h: New file.
41350 * io/bits/poll2.h: New file.
41351
ac097f5c
UD
41352 [BZ #1350]
41353 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41354
2119dcfa
UD
41355 * configure.in: static is always set to yes. Remove.
41356 * config.make.in: Don't set build-static.
41357 * Makeconfig: Remove use of build-static.
41358 * dlfcn/Makefile: Likewise.
41359 * elf/Makefile: Likewise.
41360 * math/Makefile: Likewise.
41361 * misc/Makefile: Likewise.
41362 * nptl/Makefile: Likewise.
41363 * sysdeps/mach/hurd/Makefile: Likewise.
41364
121766a9
UD
41365 * configure.in: PWD_P is not used anymore.
41366 * config.make.in: Remove PWD_P entry.
41367
51a1d39c 41368 * configure.in: Remove last remnants of RANLIB.
8720d066 41369 No need to check for signed size_t anymore.
215f4bdc
UD
41370 Don't set libc_commonpagesize and libc_relro_required here for Alpha
41371 and IA-64.
3857022a 41372 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
41373 * aclocal.m4: Likewise.
41374
d3ed7225
UD
41375 * wcsmbs/mbrtoc16.c: Implement using towc function.
41376 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41377 * wcsmbs/wcsmbsload.c: Likewise.
41378 * iconv/gconv_simple.c: Likewise.
41379 * iconv/gconv_int.h: Likewise.
41380 * iconv/gconv_builtin.h: Likewise.
41381 * iconv/iconv_prog.c: Remove CHAR16 handling.
41382
41383 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41384
41385 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41386
a0da5fe1
UD
41387 * configure.in: Remove --with-elf and --enable-bounded options.
41388 Dont set base_machine for ia64. More non-ELF conditions removed.
41389 Remove testing and setting of leading underscore information.
41390 * config.make.in (build-bounded): Set to no.
41391 * config.h.in: Remove NO_UNDERSCORES entry.
41392 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
41393 them.
41394 * csu/start.c: Remove !NO_UNDERSCORE code.
41395 * locale/localeinfo.h: Likewise.
41396 * sysdeps/generic/machine-gmon.h: Likewise.
41397 * sysdeps/generic/sysdep.h: Likewise.
41398 * sysdeps/i386/sysdep.h: Likewise.
41399 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41400 * sysdeps/mach/sysdep.h: Likewise.
41401 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41402 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41403 * sysdeps/sh/sysdep.h: Likewise.
41404 * sysdeps/sparc/sparc32/alloca.S: Likewise.
41405 * sysdeps/unix/i386/sysdep.S: Likewise.
41406 * sysdeps/unix/sparc/start.c: Likewise.
41407 * sysdeps/unix/sparc/sysdep.S: Likewise.
41408 * sysdeps/unix/sparc/sysdep.h: Likewise.
41409 * sysdeps/unix/start.c: Likewise.
41410 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41411 * sysdeps/x86_64/sysdep.h: Likewise.
41412
df78418a
UD
414132012-01-07 Ulrich Drepper <drepper@gmail.com>
41414
a784e502
UD
41415 [BZ #13553]
41416 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41417 for non-gcc.
41418 * argp/argp-fmtstream.h: Use const instead __const.
41419 * argp/argp.h: Likewise.
41420 * assert/assert.h: Likewise.
41421 * bits/fenv.h: Likewise.
41422 * bits/sched.h: Likewise.
41423 * bits/sigset.h: Likewise.
41424 * bits/sigthread.h: Likewise.
41425 * catgets/nl_types.h: Likewise.
41426 * conform/data/pthread.h-data: Likewise.
41427 * crypt/crypt-private.h: Likewise.
41428 * crypt/crypt.h: Likewise.
41429 * crypt/crypt_util.c: Likewise.
41430 * ctype/ctype.h: Likewise.
41431 * debug/execinfo.h: Likewise.
41432 * debug/mbsnrtowcs_chk.c: Likewise.
41433 * debug/mbsrtowcs_chk.c: Likewise.
41434 * debug/wcsnrtombs_chk.c: Likewise.
41435 * debug/wcsrtombs_chk.c: Likewise.
41436 * debug/wcstombs_chk.c: Likewise.
41437 * dirent/dirent.h: Likewise.
41438 * dlfcn/dlfcn.h: Likewise.
41439 * elf/neededtest4.c: Likewise.
41440 * grp/grp.h: Likewise.
41441 * gshadow/gshadow.h: Likewise.
41442 * iconv/gconv.h: Likewise.
41443 * iconv/gconv_int.h: Likewise.
41444 * iconv/gconv_simple.c: Likewise.
41445 * iconv/iconv.h: Likewise.
41446 * iconv/loop.c: Likewise.
41447 * iconv/skeleton.c: Likewise.
41448 * include/aio.h: Likewise.
41449 * include/aliases.h: Likewise.
41450 * include/argz.h: Likewise.
41451 * include/arpa/inet.h: Likewise.
41452 * include/assert.h: Likewise.
41453 * include/dirent.h: Likewise.
41454 * include/dlfcn.h: Likewise.
41455 * include/execinfo.h: Likewise.
41456 * include/fcntl.h: Likewise.
41457 * include/fenv.h: Likewise.
41458 * include/glob.h: Likewise.
41459 * include/grp.h: Likewise.
41460 * include/libintl.h: Likewise.
41461 * include/mntent.h: Likewise.
41462 * include/netdb.h: Likewise.
41463 * include/pwd.h: Likewise.
41464 * include/rpc/netdb.h: Likewise.
41465 * include/sched.h: Likewise.
41466 * include/search.h: Likewise.
41467 * include/shadow.h: Likewise.
41468 * include/signal.h: Likewise.
41469 * include/stdio.h: Likewise.
41470 * include/stdlib.h: Likewise.
41471 * include/string.h: Likewise.
41472 * include/sys/socket.h: Likewise.
41473 * include/sys/stat.h: Likewise.
41474 * include/sys/statfs.h: Likewise.
41475 * include/sys/statvfs.h: Likewise.
41476 * include/sys/syslog.h: Likewise.
41477 * include/sys/time.h: Likewise.
41478 * include/sys/uio.h: Likewise.
41479 * include/time.h: Likewise.
41480 * include/unistd.h: Likewise.
41481 * include/utmp.h: Likewise.
41482 * include/wchar.h: Likewise.
41483 * include/wctype.h: Likewise.
41484 * inet/aliases.h: Likewise.
41485 * inet/arpa/inet.h: Likewise.
41486 * inet/netinet/ether.h: Likewise.
41487 * inet/netinet/in.h: Likewise.
41488 * intl/libintl.h: Likewise.
41489 * io/bits/fcntl2.h: Likewise.
41490 * io/fcntl.h: Likewise.
41491 * io/ftw.h: Likewise.
41492 * io/sys/poll.h: Likewise.
41493 * io/sys/stat.h: Likewise.
41494 * io/sys/statfs.h: Likewise.
41495 * io/sys/statvfs.h: Likewise.
41496 * io/utime.h: Likewise.
41497 * libio/bits/stdio.h: Likewise.
41498 * libio/bits/stdio2.h: Likewise.
41499 * libio/libio.h: Likewise.
41500 * libio/libioP.h: Likewise.
41501 * libio/stdio.h: Likewise.
41502 * locale/lc-ctype.c: Likewise.
41503 * locale/locale.h: Likewise.
41504 * login/utmp.h: Likewise.
41505 * malloc/arena.c: Likewise.
41506 * malloc/malloc.c: Likewise.
41507 * malloc/malloc.h: Likewise.
41508 * malloc/mcheck.c: Likewise.
41509 * malloc/mtrace.c: Likewise.
41510 * math/bits/mathcalls.h: Likewise.
41511 * math/fenv.h: Likewise.
41512 * math/math_private.h: Likewise.
41513 * misc/bits/error.h: Likewise.
41514 * misc/bits/syslog.h: Likewise.
41515 * misc/err.h: Likewise.
41516 * misc/error.h: Likewise.
41517 * misc/fstab.h: Likewise.
41518 * misc/mntent.h: Likewise.
41519 * misc/regexp.h: Likewise.
41520 * misc/search.h: Likewise.
41521 * misc/sgtty.h: Likewise.
41522 * misc/sys/mman.h: Likewise.
41523 * misc/sys/syslog.h: Likewise.
41524 * misc/sys/uio.h: Likewise.
41525 * misc/sys/xattr.h: Likewise.
41526 * misc/ttyent.h: Likewise.
41527 * nis/rpcsvc/ypclnt.h: Likewise.
41528 * nss/nss.h: Likewise.
41529 * posix/bits/unistd.h: Likewise.
41530 * posix/fnmatch.h: Likewise.
41531 * posix/glob.h: Likewise.
41532 * posix/sched.h: Likewise.
41533 * posix/spawn.h: Likewise.
41534 * posix/sys/wait.h: Likewise.
41535 * posix/unistd.h: Likewise.
41536 * posix/wordexp.h: Likewise.
41537 * pwd/pwd.h: Likewise.
41538 * resolv/netdb.h: Likewise.
41539 * resource/sys/resource.h: Likewise.
41540 * rt/aio.h: Likewise.
41541 * rt/bits/mqueue2.h: Likewise.
41542 * rt/mqueue.h: Likewise.
41543 * shadow/shadow.h: Likewise.
41544 * signal/signal.h: Likewise.
41545 * socket/send.c: Likewise.
41546 * socket/sendto.c: Likewise.
41547 * socket/sys/socket.h: Likewise.
41548 * stdio-common/printf.h: Likewise.
41549 * stdlib/bits/stdlib.h: Likewise.
41550 * stdlib/fmtmsg.h: Likewise.
41551 * stdlib/monetary.h: Likewise.
41552 * stdlib/stdlib.h: Likewise.
41553 * stdlib/ucontext.h: Likewise.
41554 * streams/stropts.h: Likewise.
41555 * string/argz.h: Likewise.
41556 * string/bits/string2.h: Likewise.
41557 * string/string.h: Likewise.
41558 * string/strings.h: Likewise.
41559 * sunrpc/rpc/auth.h: Likewise.
41560 * sunrpc/rpc/auth_des.h: Likewise.
41561 * sunrpc/rpc/clnt.h: Likewise.
41562 * sunrpc/rpc/netdb.h: Likewise.
41563 * sunrpc/rpc/pmap_clnt.h: Likewise.
41564 * sunrpc/rpc/xdr.h: Likewise.
41565 * sysdeps/generic/inttypes.h: Likewise.
41566 * sysdeps/generic/net/if.h: Likewise.
41567 * sysdeps/generic/sys/swap.h: Likewise.
41568 * sysdeps/gnu/net/if.h: Likewise.
41569 * sysdeps/gnu/utmpx.h: Likewise.
41570 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41571 * sysdeps/i386/i486/bits/string.h: Likewise.
41572 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41573 * sysdeps/s390/bits/string.h: Likewise.
41574 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41575 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41576 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41577 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41578 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41579 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41580 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41581 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41582 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41583 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41584 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41585 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41586 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41587 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41588 * sysdeps/unix/sysv/linux/readv.c: Likewise.
41589 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41590 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41591 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41592 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41593 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41594 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41595 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41596 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41597 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41598 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41599 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41600 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41601 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41602 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41603 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41604 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41605 * sysvipc/sys/ipc.h: Likewise.
41606 * sysvipc/sys/msg.h: Likewise.
41607 * sysvipc/sys/sem.h: Likewise.
41608 * sysvipc/sys/shm.h: Likewise.
41609 * termios/termios.h: Likewise.
41610 * time/sys/time.h: Likewise.
41611 * time/time.h: Likewise.
41612 * wcsmbs/bits/wchar2.h: Likewise.
41613 * wcsmbs/uchar.h: Likewise.
41614 * wcsmbs/wchar.h: Likewise.
41615 * wctype/wctype.h: Likewise.
41616
0269750c
UD
41617 [BZ #13551]
41618 * Makeconfig: Remove all but ELF support including AIX support.
41619 * Makerules: Likewise.
41620 * config.h.in: Likewise.
41621 * config.make.in: Likewise.
41622 * configure: Likewise.
41623 * configure.in: Likewise.
41624 * csu/Makefile: Likewise.
41625 * csu/version.c: Likewise.
41626 * debug/Makefile: Likewise.
41627 * dlfcn/Makefile: Likewise.
41628 * elf/Makefile: Likewise.
41629 * extra-lib.mk: Likewise.
41630 * iconv/Makefile: Likewise.
41631 * include/libc-symbols.h: Likewise.
41632 * include/shlib-compat.h: Likewise.
41633 * resolv/Makefile: Likewise.
41634 * resolv/res_libc.c: Likewise.
41635 * rt/Makefile: Likewise.
41636 * sysdeps/i386/asm-syntax.h: Likewise.
41637 * sysdeps/i386/sysdep.h: Likewise.
41638 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41639 * sysdeps/mach/sysdep.h: Likewise.
41640 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41641 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41642 * sysdeps/s390/asm-syntax.h: Likewise.
41643 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41644 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41645 * sysdeps/sh/sysdep.h: Likewise.
41646 * sysdeps/unix/sparc/sysdep.h: Likewise.
41647 * sysdeps/wordsize-32/divdi3.c: Likewise.
41648 * sysdeps/x86_64/sysdep.h: Likewise.
41649
00bbd29b
UD
41650 * argp/Versions: Remove _argp_unlock_xxx.
41651
41652 [BZ #13559]
41653 * abilist/ld.abilist: Update. Adjust for removal of tls option.
41654 * abilist/libBrokenLocale.abilist: Likewise.
41655 * abilist/libanl.abilist: Likewise.
41656 * abilist/libc.abilist: Likewise.
41657 * abilist/libcrypt.abilist: Likewise.
41658 * abilist/libdl.abilist: Likewise.
41659 * abilist/libm.abilist: Likewise.
41660 * abilist/libnsl.abilist: Likewise.
41661 * abilist/libpthread.abilist: Likewise.
41662 * abilist/libresolv.abilist: Likewise.
41663 * abilist/librt.abilist: Likewise.
41664 * abilist/libthread_db.abilist: Likewise.
41665 * abilist/libutil.abilist: Likewise.
41666 * abilist/libnss_db.abilist: New file.
41667
41668 * scripts/abilist.awk: Add support for indirect functions.
41669
a2693a0e
UD
41670 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41671
3f05895f
UD
41672 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41673
ecb6fb48
UD
41674 * shlib-versions: Remove entries for ports architectures.
41675
664f8cb9
UD
41676 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
41677 files in ports.
41678 * elf/stackguard-macros.h: Remove support for IA-64.
41679 * elf/tst-auditmod1.c: Likewise.
41680 * sysdeps/generic/ldsodefs.h: Likewise.
41681
7ae81d88
UD
41682 * sysdeps/unix/sysv/linux/configure.in: Ports should define
41683 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41684 configure files.
41685
bdeba135
UD
41686 [BZ #13552]
41687 * configure.in: Remove --enable-omitfp support.
41688 * FAQ.in: Adjust.
41689 * config.make.in: Likewise.
41690 * Makeconfig: Likewise.
41691 * manual/install.texi: Likewise.
41692
d75a0a62
UD
41693 In case anyone cares, the IA-64 architecture could move to ports.
41694 * sysdeps/ia64/*: Removed.
41695 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 41696 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 41697
dcc9756b
UD
41698 [BZ #13555]
41699 * configure.in: Remove entries for unsupported architectures.
41700
d3761ebc 41701 [BZ #13533]
9954432e
UD
41702 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41703 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
41704 routines.
41705 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41706 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41707 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
41708 fall back to using wcrtomb.
41709 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41710 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
41711 renaming.
41712 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41713 * wcsmbs/tst-c16c32-1.c: New file.
41714
41715 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41716 local variable.
41717
c3a87236
UD
41718 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41719
28926a1b
UD
41720 * elf/tst-unique3.cc: Add explicit declaration of gets.
41721 * elf/tst-unique3lib.cc: Likewise.
41722 * elf/tst-unique3lib2.cc: Likewise.
41723 * elf/tst-unique4.cc: Likewise.
41724
df78418a
UD
41725 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41726
8ecd6b2a
JM
417272012-01-06 Joseph Myers <joseph@codesourcery.com>
41728
41729 [BZ #13566]
41730 * assert/assert.h (static_assert): Don't define for C++.
41731 * libio/stdio.h (gets): Do declare for C++ <= C++11.
41732 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41733
9f115170
UD
417342012-01-03 Ulrich Drepper <drepper@gmail.com>
41735
5e0d0300
UD
41736 * iconv/loop.c (single loop): Fix assertion in storing of
41737 remaining bytes.
41738
9f115170
UD
41739 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41740
81fb02b0
UD
417412012-01-01 Ulrich Drepper <drepper@gmail.com>
41742
41743 * posix/getconf.c: Update copyright year.
41744 * nss/getent.c: Likewise.
a316c1f6 41745 * nss/makedb.c: Likewise.
81fb02b0
UD
41746 * iconv/iconvconfig.c: Likewise.
41747 * iconv/iconv_prog.c: Likewise.
41748 * elf/ldconfig.c: Likewise.
a316c1f6
UD
41749 * elf/pldd.c: Likewise.
41750 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
41751 * catgets/gencat.c: Likewise.
41752 * csu/version.c: Likewise.
41753 * elf/ldd.bash.in: Likewise.
41754 * elf/sprof.c (print_version): Likewise.
41755 * locale/programs/locale.c: Likewise.
41756 * locale/programs/localedef.c: Likewise.
a316c1f6 41757 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
41758 * nscd/nscd.c (print_version): Likewise.
41759 * debug/xtrace.sh: Likewise.
41760 * malloc/memusage.sh: Likewise.
41761 * malloc/mtrace.pl: Likewise.
41762 * debug/catchsegv.sh: Likewise.
41763
2ba92745
JJ
417642011-12-30 Jakub Jelinek <jakub@redhat.com>
41765
41766 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41767 pure attribute.
41768
dadebdae
UD
417692011-12-24 Ulrich Drepper <drepper@gmail.com>
41770
d3761ebc 41771 [BZ #13533]
db6af3eb
UD
41772 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41773 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41774 transformations.
41775 * iconv/gconv_int.h: Likewise.
41776 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41777 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41778 from libc for GLIBC_2.16.
41779 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41780 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41781 * wcsmbs/uchar.h: Really define mbstate_t.
41782 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41783 * wcsmbs/c16rtomb.c: New file.
41784 * wcsmbs/mbrtoc16.c: New file.
41785 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41786 for C/POSIX locale.
41787 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41788 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41789
dadebdae
UD
41790 * wcsmbs/wchar.h: Add missing __restrict.
41791
67371b56
UD
417922011-12-23 Ulrich Drepper <drepper@gmail.com>
41793
74033a25
UD
41794 [BZ #13532]
41795 * time/Makefile (routines): Add timespec_get.
41796 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41797 * time/time.h: Define TIME_UTC and declare timespec_get. Define
41798 timespec for ISO C11.
41799 * time/timespec_get.c: New file.
41800 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41801 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41802
380d7e87
UD
41803 [BZ #13531]
41804 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41805 * stdlib/stdlib.h: Declare aligned_alloc.
41806 * Versions.def: Add GLIBC_2.16 for libc.
41807 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41808
4e9e7a35
UD
41809 [BZ 13527]
41810 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41811 ISO C11.
41812
380d7e87 41813 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
41814 code.
41815
03a71829
UD
41816 [BZ #13528]
41817 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41818
839e283e
UD
41819 [BZ #13529]
41820 * assert/assert.h (static_assert): Define.
41821
ce5294e2 41822 * version.h: Update for 2.16 development version.
90fa7312 41823
8d44e150 41824 [BZ #13526]
d7809905
UD
41825 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41826 _ISOC11_SOURCE.
41827
c0da14cd
UD
41828 * version.h (RELEASE): Bump for 2.15 release.
41829 * include/features.h (__GLIBC_MINOR__): Bump to 15.
41830
530a3249
MP
41831 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41832 Patch by Marek Polacek <mpolacek@redhat.com>.
41833
67371b56
UD
41834 * bits/byteswap.h: Protect long long constants with __extension__.
41835 * sysdeps/i386/bits/byteswap.h: Likewise.
41836 * sysdeps/ia64/bits/byteswap.h: Likewise.
41837 * sysdeps/s390/bits/byteswap.h: Likewise.
41838 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41839
15db4de1
LD
418402011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41841
41842 [BZ #13540]
bbe315ea
LD
41843 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41844 destination buffer.
15db4de1
LD
41845 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41846
2b2596b1
MP
418472011-12-23 Marek Polacek <polacek@redhat.com>
41848
41849 * elf/dl-addr.c (determine_info): Add inline keyword.
41850 * elf/tst-auditmod4b.c (check_avx): Likewise.
41851 * elf/tst-auditmod6b.c (check_avx): Likewise.
41852 * elf/tst-auditmod6c.c (check_avx): Likewise.
41853 * elf/tst-auditmod7b.c (check_avx): Likewise.
41854
70c6c246
UD
418552011-12-23 Ulrich Drepper <drepper@gmail.com>
41856
41857 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41858 !__SSE_MATH__.
41859
c044cf14
LD
418602011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41861
15db4de1 41862 [BZ #13540]
c044cf14
LD
41863 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41864 processing for last bytes.
41865
6b13d9d9
BH
418662011-08-06 Bruno Haible <bruno@clisp.org>
41867
d455f537
BH
41868 [BZ #13061]
41869 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41870 U+0385, not to U+1FEE.
41871
6b13d9d9
BH
41872 [BZ #13062]
41873 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41874 entry for U+00A5 U+0301.
41875
db910efd
UD
418762011-12-22 Ulrich Drepper <drepper@gmail.com>
41877
27deeafc
UD
41878 [BZ #13166]
41879 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41880 buffer for the output is too small.
41881
aed9d171
UD
41882 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41883 optimization.
41884
db910efd
UD
41885 [BZ #13185]
41886 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41887 SSE flags if possible.
41888
2bd779ae
LD
418892011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41890
e7f9dac3 41891 [BZ #13540]
2bd779ae
LD
41892 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41893 processing for last bytes.
41894
154bfc16
JM
418952011-12-22 Joseph Myers <joseph@codesourcery.com>
41896
41897 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41898 (syscall-list-default-options, syscall-list-default-condition)
41899 (syscall-list-includes): Define.
41900 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41901 list of ABIs and options and #if conditions for each ABI. Do not
41902 handle common syscalls between ABIs specially.
41903 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41904 Remove.
41905 (syscall-list-variants, syscall-list-32bit-options)
41906 (syscall-list-32bit-condition, syscall-list-64bit-options)
41907 (syscall-list-64bit-condition): Define.
41908 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41909 (syscall-list-variants, syscall-list-32bit-options)
41910 (syscall-list-32bit-condition, syscall-list-64bit-options)
41911 (syscall-list-64bit-condition): Define.
41912 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41913 Remove.
41914 (syscall-list-variants, syscall-list-32bit-options)
41915 (syscall-list-32bit-condition, syscall-list-64bit-options)
41916 (syscall-list-64bit-condition): Define.
41917 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41918 Remove.
41919 (syscall-list-variants, syscall-list-32bit-options)
41920 (syscall-list-32bit-condition, syscall-list-64bit-options)
41921 (syscall-list-64bit-condition): Define.
41922
21eaf3a5
UD
419232011-12-22 Ulrich Drepper <drepper@gmail.com>
41924
16c6f992
UD
41925 * locale/iso-639.def: Add brx entry.
41926
41043168
UD
41927 [BZ #13328]
41928 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41929 Proposed by Mariusz_Cukr <marcukr@op.pl>.
41930
21eaf3a5
UD
41931 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41932 __feraiseexcept_renamed.
41933
e3a851a2
UD
419342011-12-21 Ulrich Drepper <drepper@gmail.com>
41935
4920765e
UD
41936 [BZ #13538]
41937 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41938 EPOLLET with unsigned values.
41939 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41940 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41941
e3a851a2
UD
41942 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41943 to large cancellation.
41944 * math/s_cacoshf.c: Likewise.
41945 * math/s_cacoshl.c: Likewise.
41946
b27e24b8
RK
419472011-11-18 Richard B. Kreckel <kreckel@ginac.de>
41948
41949 [BZ #13305]
aebefeee 41950 [BZ #12786]
b27e24b8
RK
41951 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41952 * math/s_cacoshf.c: Likewise.
41953 * math/s_cacoshl.c: Likewise.
41954
ee190f67
UD
419552011-12-21 Ulrich Drepper <drepper@gmail.com>
41956
41957 [BZ #13439]
41958 * iconv/gconv.h: Define __GCONV_SWAP.
41959 * iconvdata/unicode.c: The swap bit must be stored in __flags.
41960 * iconvdata/utf-16.c: Likewise.
41961 * iconvdata/utf-32.c: Likewise.
41962
707f25df
AS
419632011-12-21 Andreas Schwab <schwab@linux-m68k.org>
41964
41965 [BZ #13524]
41966 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41967 numerator after shifting it by one limb.
41968
d2daaa1e
RÁE
419692011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
41970
41971 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41972 under [__USE_EXTERN_INLINES].
41973
a4647e72
UD
419742011-12-17 Ulrich Drepper <drepper@gmail.com>
41975
41976 [BZ #13446]
41977 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41978
f0b264f1
AZ
419792011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41980
41981 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41982 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41983 optimized code.
41984 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41985 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41986 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41987 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41988 for strncasecmp/strncasecmp_l compilation.
41989 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41990 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41991
8ef4f244
MP
419922011-12-08 Marek Polacek <mpolacek@redhat.com>
41993
41994 [BZ #13484]
41995 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41996 of __asm__.
41997
97ac2654
UD
419982011-12-17 Ulrich Drepper <drepper@gmail.com>
41999
42000 [BZ #13506]
42001 * time/tzfile.c (__tzfile_read): Check values from file header.
42002
91d2a845
WS
420032011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42004
42005 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42006 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42007 * powerpc/powerpc32/dl-start.S: Likewise.
42008 * powerpc/powerpc32/elf/start.S: Likewise.
42009 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42010 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42011 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42012 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42013 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42014 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42015 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42016 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42017 * powerpc/powerpc32/fpu/s_round.S: Likewise.
42018 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42019 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42020 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42021 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42022 * powerpc/powerpc32/memset.S: Likewise.
42023 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42024 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42025 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42026 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42027 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42028 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42029 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42030 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42031 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42032 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42033 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42034 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42035 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42036
a1267ba1
AZ
420372011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42038
42039 * math/libm-test.inc: Added more nearbyint tests.
42040 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42041 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42042 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42043 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42044
ad8ac1bd
RL
420452011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
42046
42047 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42048 FD_CLOEXEC.
42049
1d3e4b61
UD
420502011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42051
42052 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42053 Add wcscpy-ssse3 wcscpy-c.
42054 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42055 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42056 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42057 * sysdeps/x86_64/wcschr.S: New file.
42058 * sysdeps/x86_64/wcsrchr.S: New file.
42059 * string/test-strcmp.c: Remove checking of wcscmp function for
42060 wrong alignments.
42061 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42062 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42063 wcsrchr-sse2 wcsrchr-c.
42064 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42065 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42066 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42067 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42068 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42069 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42070 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42071 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42072 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42073 * wcsmbc/wcschr.c (WCSCHR): New macro.
42074
5b330a2d
UD
420752011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42076
42077 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42078 * wcsmbs/test-wcsrchr.c: New file.
42079 * string/test-strrchr.c: Add wcsrchr support.
42080 (WIDE): New macro.
42081 * wcsmbs/test-wcscpy.c: New file.
42082 * string/test-strcpy.c: Add wcscpy support.
42083 (WIDE): New macro.
26428b7c 42084
f039c043
UD
420852011-12-10 Ulrich Drepper <drepper@gmail.com>
42086
42087 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42088 the inner loop.
42089
850fb039
AS
420902011-12-06 Andreas Schwab <schwab@linux-m68k.org>
42091
42092 [BZ #13472]
42093 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42094
4efbd5cb
UD
420952011-12-04 Ulrich Drepper <drepper@gmail.com>
42096
52ff5dd0 42097 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 42098 Minor optimizations.
52ff5dd0 42099
4efbd5cb
UD
42100 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42101 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42102 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42103
8a426e12
UD
421042011-12-03 Ulrich Drepper <drepper@gmail.com>
42105
aff2453d
UD
42106 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42107 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42108 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42109 for gcc to avoid warnings.
42110 * inet/Makefile (tests): Add tst-checks.
42111 * inet/tst-checks.c: New file.
42112
42113 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42114 warning.
42115
42116 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42117 __wmemcmp_sse2.
42118
42119 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42120 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42121
8a426e12
UD
42122 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42123
9bea3473
UD
421242011-12-02 Ulrich Drepper <drepper@gmail.com>
42125
3a965496
UD
42126 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42127 problem.
42128
9bea3473
UD
42129 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42130
f101631b
UD
421312011-11-29 Joseph Myers <joseph@codesourcery.com>
42132
42133 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42134 conditional on GCC version.
42135 (__arch_compare_and_exchange_val_8_acq)
42136 (__arch_compare_and_exchange_val_16_acq)
42137 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42138 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42139 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42140
a98275aa
UD
421412011-12-02 Joseph Myers <joseph@codesourcery.com>
42142
42143 * sysdeps/sh/backtrace.c: New file.
42144
d4cc29a2
AS
421452011-12-02 Andreas Schwab <schwab@redhat.com>
42146
42147 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
42148 parenthesis.
42149
6257af2d
AS
421502011-12-01 Andreas Schwab <schwab@redhat.com>
42151
42152 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42153 falling back to utime.
42154
b5f44c1a
AS
421552011-11-30 Andreas Schwab <schwab@redhat.com>
42156
42157 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42158 expectations for float.
42159
f3a6cc0a
AS
421602011-11-29 Andreas Schwab <schwab@redhat.com>
42161
42162 * locale/weight.h (findidx): Add parameter len.
42163 * locale/weightwc.h (findidx): Likewise.
42164 * posix/fnmatch_loop.c (FCT): Adjust caller.
42165 * posix/regcomp.c (build_equiv_class): Likewise.
42166 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42167 * posix/regexec.c (check_node_accept_bytes): Likewise.
42168 * string/strcoll_l.c (STRCOLL): Likewise.
42169 * string/strxfrm_l.c (STRXFRM): Likewise.
42170
9d65ea3a
UD
421712011-11-17 Ulrich Drepper <drepper@gmail.com>
42172
42173 * Makefile.in: Remove CVSOPT handling.
42174 * configure.in: Remove use of AC_REVISION.
42175 * iconvdata/Makefile (distribute): No need to filter out CVS.
42176 * scripts/list-sources.sh: Remove CVS, subversion and monotone
42177 handling.
42178
5583a086
AS
421792011-11-16 Andreas Schwab <schwab@redhat.com>
42180
42181 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42182 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42183 [USE_AS_STRNCASECMP_L]: Likewise.
42184 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42185 NO_TLS_DIRECT_SEG_REFS.
42186 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42187 Fix argument offsets for non-PIC.
42188 [USE_AS_STRNCASECMP_L]: Likewise.
42189 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42190 NO_TLS_DIRECT_SEG_REFS.
42191
d62a8200
UD
421922011-11-15 Ulrich Drepper <drepper@gmail.com>
42193
9d65ea3a 42194 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
42195 O_CLOEXEC.
42196 * locale/loadlocale.c (_nl_load_locale): Likewise.
42197
09f93bd3
AS
421982011-11-15 Andreas Schwab <schwab@redhat.com>
42199
446514f9
AS
42200 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42201 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42202 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42203 (SYSCALL_GETTIME): Set errno on error.
42204
09f93bd3
AS
42205 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42206 count references to noai6ai_cached.
42207
312be3f9
UD
422082011-11-15 Ulrich Drepper <drepper@gmail.com>
42209
42210 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42211
42212 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42213 FD_CLOEXEC for /proc/self/maps.
42214
42215 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42216 FD_CLOEXEC for /proc/meminfo.
42217
42218 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42219 gai.conf.
42220
42221 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
42222 FD_CLOEXEC for given file.
42223
42224 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42225
42226 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42227 FD_CLOEXEC for /etc/hosts.
42228 (_gethtent): Likewise.
42229
42230 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42231
42232 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42233 cancellation and set FD_CLOEXEC for /etc/netgroup.
42234
42235 * nss/nss_files/files-key.c (search): Don't allow cancellation when
42236 reading /etc/publickey.
42237
42238 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42239 allow cancellation when reading /etc/group.
42240
42241 * nss/nss_files/files-alias.c (internal_setent): Don't allow
42242 cancellation.
42243 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
42244
42245 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42246 when using data file.
42247
42248 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42249
42250 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42251 (write_nis_obj): Use "c" and "e" in fopen.
42252
42253 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42254
42255 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42256
42257 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42258
42259 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42260
42261 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42262 locale.alias.
42263
42264 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42265
42266 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42267
42268 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42269
42270 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42271 file parsing and set FD_CLOEXEC.
42272
82af0fa8
UD
422732011-11-14 Ulrich Drepper <drepper@gmail.com>
42274
42275 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42276
a5fb313c
AS
422772011-11-14 Andreas Schwab <schwab@redhat.com>
42278
42279 * malloc/arena.c (arena_get2): Don't call reused_arena when
42280 _int_new_arena failed.
42281
6abf3465
UD
422822011-11-14 Ulrich Drepper <drepper@gmail.com>
42283
42284 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42285 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42286 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42287 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42288 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42289 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42290 to compile strcasecmp and strncasecmp.
42291 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42292 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42293
42294 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42295
76e3966e
UD
422962011-11-13 Ulrich Drepper <drepper@gmail.com>
42297
42298 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42299 locale-defines.sym to gen-as-const-headers.
42300 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42301 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42302 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42303 to compile strcasecmp and strncasecmp.
42304 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42305 strcasecmp_l and strncasecmp_l.
42306 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42307 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42308 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42309 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42310 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42311 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42312 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42313 * sysdeps/i386/i686/multiarch/strncase.S: New file.
42314 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42315 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42316 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42317
ab26144e
UD
423182011-11-12 Ulrich Drepper <drepper@gmail.com>
42319
7edb22ef
UD
42320 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42321 result of SYSDEP_GETTIME_CPU to retval.
42322 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42323 parameter list to macro. Remove trailing semicolon. Adjust users.
42324
9694fc44
UD
42325 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42326 variable.
42327
8ad89ef8
UD
42328 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42329 mantissa words.
42330 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42331
0c822ef9
UD
42332 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42333 from unused variable.
42334
874e0564
UD
42335 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42336 DWARF definitions.
42337 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42338 for assembling.
42339
3a2edc79
UD
42340 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42341 over namespaces.
42342
f3c2577f
UD
42343 * sunrpc/rpc_prot.c (rejected): Fix case value.
42344
294ce126
UD
42345 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42346 unsigned long long int to avoid warnings in shift.
42347
5e2b63c6
UD
42348 * posix/regex_internal.c (re_string_reconstruct): Actually use result
42349 of use of trans.
42350 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42351 variable tmp.
42352
e7f4b08e
UD
42353 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42354 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42355 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42356
ab26144e
UD
42357 * nis/nis_table.c (nis_list): Use variable of correct type for
42358 result of __follow_path call.
42359
8a6d5255
AZ
423602011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42361
42362 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42363 of math functions ceil, trunc, floor, round, and sqrt, when
42364 avaliable on the platform.
42365 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42366 name clash.
42367 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42368 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42369 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42370
aaddc98c
MP
423712011-10-30 Marek Polacek <mpolacek@redhat.com>
42372
42373 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42374 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42375
95b7042b
RM
423762011-11-11 Roland McGrath <roland@hack.frob.com>
42377
42378 * include/unistd.h: Fix __readlink return type.
42379 Reported by Chris Metcalf <cmetcalf@tilera.com>.
42380
57769839
UD
423812011-11-11 Ulrich Drepper <drepper@gmail.com>
42382
42383 * stdlib/ucontext.h: Undo last change for makecontext.
42384
edc5984d
AS
423852011-11-11 Andreas Schwab <schwab@redhat.com>
42386
98591e58
AS
42387 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42388
edc5984d
AS
42389 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42390 * setjmp/setjmp.h: Mark functions as non-leaf.
42391 * setjmp/bits/setjmp2.h: Likewise.
42392 * stdlib/ucontext.h: Likewise.
42393
77cdc054
AS
423942011-11-10 Andreas Schwab <schwab@redhat.com>
42395
42396 * malloc/arena.c (_int_new_arena): Don't increment narenas.
42397 (reused_arena): Don't check arena limit.
42398 (arena_get2): Atomically check arena limit.
42399
fe72eebd
UD
424002011-11-08 Ulrich Drepper <drepper@gmail.com>
42401
5f078c32
UD
42402 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42403 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42404
fe72eebd
UD
42405 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42406 instructions.
42407
ae1bc2fa
AS
424082011-11-07 Andreas Schwab <schwab@redhat.com>
42409
7583a88d
AS
42410 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42411 handler when locking.
42412
ae1bc2fa
AS
42413 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42414 Fix size of allocated buffer.
42415
10fb0bfa
AS
424162011-11-04 Andreas Schwab <schwab@redhat.com>
42417
998832a4
AS
42418 [BZ #10103]
42419 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42420 declarations for long double functions.
42421 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42422
10fb0bfa
AS
42423 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42424
3d7ba52b
AS
424252011-11-03 Andreas Schwab <schwab@redhat.com>
42426
a9ae54a1
AS
42427 * nscd/nscd.c (main): Don't start AVC thread until credentials are
42428 installed.
42429
3d7ba52b
AS
42430 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42431 is disabled.
42432
bc8db248
ST
424332011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
42434
42435 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42436
45b96dd6
AS
424372011-11-01 Andreas Schwab <schwab@linux-m68k.org>
42438
647776f6
AS
42439 * include/alloca.h (stackinfo_alloca_round): Define.
42440 (extend_alloca): Use it.
42441 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42442 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42443 here.
42444
d91a8b93
AS
42445 * scripts/check-local-headers.sh: Ignore libaudit.h.
42446
45b96dd6
AS
42447 * nscd/Makefile (extra-objs): Make recursively expanded.
42448
432d41ce
UD
424492011-11-01 Ulrich Drepper <drepper@gmail.com>
42450
34372fc6
UD
42451 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42452 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42453
fadb59f8
UD
42454 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42455 * posix/tst-rfc3484-2.c: Likewise.
42456 * posix/tst-rfc3484-3.c: Likewise.
42457
78239589
UD
42458 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42459 process_vm_writev.
42460 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42461 process_vm_writev.
42462 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42463 process_vm_writev from libc using GLIBC_2.15 version.
42464
432d41ce
UD
42465 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42466
02f9c6cf
PP
424672011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
42468
42469 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42470 stack usage.
42471
3a2c0242
UD
424722011-10-31 Ulrich Drepper <drepper@gmail.com>
42473
f4ec4833
UD
42474 [BZ #13367]
42475 * nss/getent.c (initgroups_keys): Show error message in case no group
42476 names are given.
42477
3a2c0242
UD
42478 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42479 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42480 __bump_nl_timestamp.
42481 * nscd/connections (nscd_init): When host database is served open
42482 netlink socket and request notification about configuration changes.
42483 (main_loop_poll): Track netlink file descriptor and bump timestamp
42484 in case data becomes available.
42485 (main_loop_epoll): Likewise.
42486 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42487 (database_pers_head): Add extra_data fileds.
42488 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42489 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42490 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42491 Adjust caller.
42492 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42493 in6ai data, call __free_in6ai.
42494 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42495 Add -DHAVE_NETLINK.
42496 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
42497 interface information. Reuse previous data if netlink timestamp
42498 is not changed.
42499 (__bump_nl_timestamp): New function.
42500 (__free_in6ai): New function.
42501
636064eb
UD
425022011-10-30 Ulrich Drepper <drepper@gmail.com>
42503
42504 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42505 close_not_cancel_no_status here.
42506 (__check_pf): Reorganize code a bit to not call close twice if OOM.
42507
9beb2334
UD
425082011-10-29 Ulrich Drepper <drepper@gmail.com>
42509
6ef76f3b
UD
42510 [BZ #13276]
42511 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42512 return value.
42513
0ffc4f3e 42514 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
42515 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42516 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42517
cb95113e
UD
425182011-07-03 Andreas Jaeger <aj@suse.de>
42519
42520 [BZ #10709]
42521 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42522 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42523 * math/libm-test.inc (sin_test): Add test case.
42524
a1b560ff
UD
425252011-10-29 Ulrich Drepper <drepper@gmail.com>
42526
c9aaface
UD
42527 [BZ #13337]
42528 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42529 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42530
d272e7f1
UD
42531 * elf/chroot_canon.c (chroot_canon): Cleanups.
42532
1bc33071
UD
42533 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42534
1760874d
TJ
42535 [BZ #13335]
42536 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42537 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42538
51d91b18
UD
42539 * string/test-strchr.c: Make usable for strchrnul testing.
42540 * string/test-strchrnul.c: New file.
42541 * string/Makefile (strop-tests): Add strchrnul.
42542
a1b560ff 42543 * po/it.po: Update from translation team.
b611fb81 42544 * po/es.po: Likewise.
a1b560ff 42545
a5b81e1f
UD
425462011-10-28 Ulrich Drepper <drepper@gmail.com>
42547
fd52bc6d
UD
42548 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42549 the three constants needed as parameters. Drop the others.
42550 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42551 __m128i_strloadu_tolower.
52e4b9eb
UD
42552 Create and initialize variable zero and use it in all the places
42553 where _mm_setzero_si128 was used.
fd52bc6d 42554
a5b81e1f
UD
42555 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42556 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42557 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42558 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42559 anymore.
42560 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42561 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42562 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42563 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42564 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42565 __mpranred, __mptan.
42566 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42567 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42568 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42569 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42570 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42571 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42572 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42573 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42574 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42575
b4343346
AS
425762011-10-28 Andreas Schwab <schwab@redhat.com>
42577
0c92d8a8
AS
42578 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42579 redefine if SHARED.
42580 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42581
b4343346
AS
42582 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42583 wide char related routines to wcsmbs subdir.
42584
3871f58f
AS
425852011-10-27 Andreas Schwab <schwab@redhat.com>
42586
42587 [BZ #13344]
42588 * misc/sys/cdefs.h (__THROWNL): Define.
42589 * posix/unistd.h: Use __THREADNL instead of __THREAD
42590 for memory synchronization functions.
42591
94d44d9f
RM
425922011-10-26 Roland McGrath <roland@hack.frob.com>
42593
21b64b15 42594 [BZ #13349]
94d44d9f
RM
42595 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42596 doesn't exist.
42597 * manual/stdio.texi (Obstack Streams): Node removed.
42598
f6ce9294
AS
425992011-10-26 Andreas Schwab <schwab@redhat.com>
42600
80479147
AS
42601 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42602 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42603 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42604
f6ce9294
AS
42605 * math/math_private.h (math_force_eval): Allow non-addressable
42606 arguments.
42607 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42608
618280a1
UD
426092011-10-25 Ulrich Drepper <drepper@gmail.com>
42610
e0016b11
UD
42611 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42612 file is not needed.
42613
42614 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42615 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42616 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42617 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42618 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42619 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42620 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42621 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42622 Add AVX variants.
42623 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42624 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42625 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42626 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42627 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42628 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42629 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42630 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42631 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42632 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42633 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42634 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42635 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42636 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42637 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42638 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42639 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42640 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42641 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42642
42643 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42644 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
42645
618280a1
UD
42646 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42647 place. Use VEX encoding when compiling for AVX.
42648
37822576
AS
426492011-10-25 Andreas Schwab <schwab@redhat.com>
42650
1f1e1947
AS
42651 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42652 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42653
37822576
AS
42654 * string/test-strchr.c (do_test): Don't generate NUL bytes.
42655
31ea014d
UD
426562011-10-25 Ulrich Drepper <drepper@gmail.com>
42657
d7826aa1 42658 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 42659 useless if() expression.
d7826aa1
UD
42660 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42661 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42662 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42663 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42664 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42665 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42666 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42667 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42668 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42669 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42670 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42671 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42672 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42673 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42674 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42675 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42676 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42677 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42678 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42679
31ea014d
UD
42680 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42681
16437fec
AS
426822011-10-25 Andreas Schwab <schwab@redhat.com>
42683
42684 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42685 condition.
42686 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42687
31d3cc00
UD
426882011-10-25 Ulrich Drepper <drepper@gmail.com>
42689
42690 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42691 .text section. Avoid duplicate constants.
42692 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42693 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42694 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42695 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42696 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42697 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42698 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42699 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42700 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42701 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42702 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42703 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42704 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42705 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42706 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42707 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42708 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42709 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42710 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42711 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42712 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42713 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42714 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42715 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42716 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42717 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42718 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42719 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42720 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42721 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42722 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42723 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42724 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42725 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42726 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42727 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42728 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42729 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42730 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42731 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42732 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42733 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42734 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42735 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42736 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42737
58985aa9
UD
427382011-10-24 Ulrich Drepper <drepper@gmail.com>
42739
202c9deb
UD
42740 * sysdeps/x86_64/dla.h: Move to ...
42741 * sysdeps/x86_64/fpu/dla.h: ...here.
42742 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42743 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 42744
af968f62
UD
42745 * config.make.in: Add have-mfma4 entry.
42746 * configure.in: Substitute libc_cv_cc_fma4.
42747 * math/Makefile (dbl-only-routines): Add sincostab.
42748 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42749 Use __sincostab not sincos.
42750 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42751 name is a macro.
42752 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42753 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42754 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42755 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
42756 using __copysign.
42757 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
42758 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
42759 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42760 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42761 and __inv.
42762 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42763 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42764 __copysign.
42765 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
42766 define aliases when function name is a macro.
42767 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42768 sysdeps/ieee754/dbl-64/sincos.tbl.
42769 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42770 fma4-enabled routines.
42771 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42772 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42773 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42774 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42775 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42776 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42777 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42778 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42779 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42780 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42781 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42782 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42783 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42784 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42785 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42786 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42787 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42788 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42789 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42790 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42791 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42792 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42793 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42794 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42795 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42796 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42797 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42798 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42799 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42800 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42801
58985aa9
UD
42802 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42803 rename.
42804 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42805 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42806 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42807 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42808 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42809 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42810 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42811 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42812
a201fbcf
AS
428132011-10-24 Andreas Schwab <schwab@redhat.com>
42814
42815 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42816
fc2ee42a
LD
428172011-10-23 Ulrich Drepper <drepper@gmail.com>
42818
bb3129bd
UD
42819 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42820
0275fff8
UD
42821 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42822 prediction.
42823 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42824
2fa2ae85
UD
42825 * string/strnlen.c: Don't define STRNLEN, reverse logic.
42826 Remove unused variable magic_bits.
42827 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42828
fc2ee42a
LD
42829 * string/strnlen.c: Define and use STRNLEN macro.
42830 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42831 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42832 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42833 * wcsmbs/wcslen.c: Define and use WCSLEN.
42834 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42835 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42836 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42837 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42838 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42839 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42840 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42841
ce7dd29f
LD
428422011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42843
42844 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42845 strnlen-sse2-no-bsf.
42846 Rename strlen-no-bsf to strlen-sse2-no-bsf.
42847 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42848 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42849 Add strnlen support.
42850 (USE_AS_STRNLEN): New macro.
42851 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42852 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42853 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42854 * sysdeps/x86_64/wcslen.S: New file.
42855
979c70a3
MZ
428562011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
42857
42858 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42859 XMM-moves are used for copying on small sizes.
42860
2d09f82f
LD
428612011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42862
42863 * wcsmbs/Makefile (strop-tests): Add wcschr.
42864 * wcsmbs/test-wcschr.c: New file.
42865 * string/test-strchr.c: Update.
42866 Add wcschr support.
42867 (WIDE): New macro.
42868
619fccca
LD
428692011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42870
2d09f82f 42871 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
42872 * wcsmbs/test-wcslen.c: New file.
42873 * string/test-strlen.c: Update.
42874 Add wcslen support.
42875 (WIDE): New macro.
42876
09f699ea
UD
428772011-10-23 Ulrich Drepper <drepper@gmail.com>
42878
42879 * po/it.po: Update from translation team.
42880
95584d3b
LD
428812011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42882
42883 * sysdeps/x86_64/wcscmp.S: Update.
42884 Fix wrong comparison semantics.
42885 wcscmp shall use signed comparison not unsigned.
42886 Don't use substraction to avoid overflow bug.
42887 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42888 * wcsmbc/wcscmp.c: Likewise.
42889 * string/test-strcmp.c: Likewise.
42890 Add new tests to check cases with negative values.
42891
c8b3296b
UD
428922011-10-23 Ulrich Drepper <drepper@gmail.com>
42893
42894 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42895 * sysdeps/x86_64/dla.h: ...here. New file.
42896 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42897 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42898 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42899 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42900 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42901 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42902 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42903 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42904 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42905
246ad57a
AS
429062011-10-23 Andreas Schwab <schwab@linux-m68k.org>
42907
42908 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42909 __ynl_finite aliases.
42910
a1a87169
UD
429112011-10-22 Ulrich Drepper <drepper@gmail.com>
42912
0d355eb7
UD
42913 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42914
a1a87169
UD
42915 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42916 define DLA_FMA.
42917 [DLA_FMA] (EMULV): Use DLA_FMA.
42918 [DLA_FMA] (MUL12): Use EMULV.
42919 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42920 that are not needed.
42921 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42922 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42923 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42924 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42925 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42926 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42927 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42928
ee2aafe0
AS
429292011-10-22 Andreas Schwab <schwab@linux-m68k.org>
42930
42931 * math/s_nan.c: Undef __nan.
42932 * math/s_nanf.c: Undef __nanf.
42933 * math/s_nanl.c: Undef __nanl.
42934 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42935 "math_private.h".
42936
bc62c2fb
UD
429372011-10-22 Ulrich Drepper <drepper@gmail.com>
42938
77425c63
UD
42939 * math/s_catan.c: Add branch predictions.
42940 * math/s_catanf.c: Likewise.
42941 * math/s_catanh.c: Likewise.
42942 * math/s_catanhf.c: Likewise.
42943 * math/s_catanhl.c: Likewise.
42944 * math/s_catanl.c: Likewise.
42945 * math/s_cexp.c: Likewise.
42946 * math/s_cexpf.c: Likewise.
42947 * math/s_cexpl.c: Likewise.
42948 * math/s_clog.c: Likewise.
42949 * math/s_clog10.c: Likewise.
42950 * math/s_clog10f.c: Likewise.
42951 * math/s_clog10l.c: Likewise.
42952 * math/s_clogf.c: Likewise.
42953 * math/s_clogl.c: Likewise.
42954 * math/s_csqrt.c: Likewise.
42955 * math/s_csqrtf.c: Likewise.
42956 * math/s_csqrtl.c: Likewise.
42957 * math/s_ctanf.c: Likewise.
42958 * math/s_ctanh.c: Likewise.
42959 * math/s_ctanhf.c: Likewise.
42960 * math/s_ctanhl.c: Likewise.
42961 * math/s_ctanl.c: Likewise.
42962
bc62c2fb
UD
42963 * math/math_private.h: Define __nan, __nanf, __nanl.
42964 * math/s_cacosh.c: Include <math_private.h>.
42965 * math/s_cacoshl.c: Likewise.
42966 * math/s_casinh.c: Likewise.
42967 * math/s_casinhf.c: Likewise.
42968 * math/s_casinhl.c: Likewise.
42969 * math/s_ccos.c: Rely entire on ccosh.
42970 * math/s_ccosf.c: Rely entire on ccoshf.
42971 * math/s_ccosl.c: Rely entirely on ccoshl.
42972 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
42973 Remove tests for FE_INVALID.
42974 * math/s_ccoshf.c: Likewise.
42975 * math/s_ccoshl.c: Likewise.
42976 * math/s_csin.c: Likewise.
42977 * math/s_csinf.c: Likewise.
42978 * math/s_csinh.c Likewise.
42979 * math/s_csinhf.c: Likewise.
42980 * math/s_csinhl.c: Likewise.
42981 * math/s_csinl.c: Likewise.
42982 * math/s_ctan.c: Likewise.
42983 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42984 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42985 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42986
8ec250a4
UD
429872011-10-21 Ulrich Drepper <drepper@gmail.com>
42988
c196fed8
UD
42989 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42990 compilation problems.
42991
8ec250a4
UD
42992 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42993 __builtin_expect.
42994
8d4f46c6
UD
429952011-10-20 Ulrich Drepper <drepper@gmail.com>
42996
ed72b654
UD
42997 * sysdeps/i386/configure.in: Test for -mfma4 option.
42998 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42999 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43000 COMMON_CPUID_INDEX_80000001.
43001 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43002 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43003 use it if FMA3 is not supported.
43004 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43005
8d4f46c6
UD
43006 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43007 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43008
d45c60c2
AS
430092011-10-20 Andreas Schwab <schwab@redhat.com>
43010
43011 [BZ #12892]
43012 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43013 it would create a cycle with a link time dependency.
43014
d9a4d2ab
UD
430152011-10-19 Ulrich Drepper <drepper@gmail.com>
43016
855d1560
UD
43017 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43018 instruction.
43019 * string/Makefile (strop-tests): Add rawmemchr.
43020 * string/test-rawmemchr.c: New file.
43021
d9a4d2ab
UD
43022 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43023 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
43024 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
43025 when compiling str{,n}casecmp and when AVX is available. Hook up
43026 new optimized code in initializers.
43027
8f3b1ffe
AS
430282011-10-19 Andreas Schwab <schwab@redhat.com>
43029
43030 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43031 __feraiseexcept instead of feraiseexcept.
43032
d38f1dba
UD
430332011-10-18 Ulrich Drepper <drepper@gmail.com>
43034
d9a8d0ab
UD
43035 * math/math_private.h: Define defaults for libc_fetestexcept and
43036 libc_feupdateenv.
43037 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43038 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43039 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43040 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43041 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43042 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43043 libc_fetestexcept and libc_feupdateenv.
43044
4855e3dd
UD
43045 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43046 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43047 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43048 * sysdeps/x86_64/fpu/math_private.h: Define special version of
43049 libc_feholdexcept_setround.
43050
581d30e3
UD
43051 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43052 Add s_nearbyint-c and s_nearbyintf-c.
43053 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43054 nearbyintf inlines.
43055 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43056 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43057 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43058 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43059
d38f1dba
UD
43060 * math/math_private.h: Define defaults for libc_fegetround,
43061 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43062 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43063 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43064 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43065 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43066 standard functions.
43067 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43068 Remove comments and hacks for old compiler versions.
43069 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43070 libc_fegetround, libc_fesetround, libc_feholdexcept, and
43071 libc_feholdexceptl.
43072
caa6c9d8
AS
430732011-10-18 Andreas Schwab <schwab@redhat.com>
43074
43075 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
43076 (__feraiseexcept_renamed): Add __NTH.
43077 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
43078 namespace violations.
43079
97c066e6
UD
430802011-10-17 Ulrich Drepper <drepper@gmail.com>
43081
99ce7b04
UD
43082 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43083
1004d182
UD
43084 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43085
228a984d
UD
43086 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43087 recently added interfaces.
43088 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43089
c8553a6a
UD
43090 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43091 about macro parameter expansion.
43092
ed22dcf6
UD
43093 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43094 __NO_MATH_INLINES is defined. Cleanups.
43095
43096 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43097 and __floorf is target has SSE4.1.
43098 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43099 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43100 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43101 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43102
b171c137
UD
43103 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43104 name.
43105 (floorf): Likewise.
43106
97c066e6
UD
43107 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43108
629f62ef
AS
431092011-10-17 Andreas Schwab <schwab@redhat.com>
43110
49a43d80
AS
43111 * misc/sys/cdefs.h: Fix last change.
43112
629f62ef
AS
43113 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43114 database lookup.
43115
e453f6cd
UD
431162011-10-16 Ulrich Drepper <drepper@gmail.com>
43117
aa78043a
UD
43118 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43119
ad0f5cad
UD
43120 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43121 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43122 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43123 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43124 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43125 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43126 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43127 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43128 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43129 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43130 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43131 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43132 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43133 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43134 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43135 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43136 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43137 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43138 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43139 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43140 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43141 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43142
43143 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43144 ceil, ceilf, floor, floorf.
43145
43146 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43147 Perform IRELATIVE relocations last.
43148
e453f6cd
UD
43149 * elf/do-rel.h: Add another parameter nrelative, replacing the
43150 local variable with the same name. Change name of the function
43151 to end in Rel or Rela (uppercase).
43152 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43153 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
43154 elf_dynamic_do_##reloc function.
43155
fd5bdc09
UD
431562011-10-15 Ulrich Drepper <drepper@gmail.com>
43157
79b195b5
UD
43158 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43159 is sufficient, at least on modern CPUs.
43160
d4a28569
UD
43161 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43162
b61099b5
UD
43163 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43164 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43165
bcf01e6d
UD
43166 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43167 __expl_finite.
43168 * math/bits/math-finite.h: Add entries for exp.
43169 * math/e_expl.c: Add __*_finite alias.
43170 * sysdeps/i386/fpu/e_exp.S: Likewise.
43171 * sysdeps/i386/fpu/e_expf.S: Likewise.
43172 * sysdeps/i386/fpu/e_expl.c: Likewise.
43173 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43174 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43175 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43176 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43177 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43178 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43179 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43180
ba1a0d59
UD
43181 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43182 is sufficient, at least on modern CPUs.
43183
fd5bdc09
UD
43184 * ctype/ctype-info.c (__ctype_init): Define.
43185 * include/ctype.h (__ctype_init): Declare.
43186 (__ctype_b_loc): The variable is always initialized.
43187 (__ctype_toupper_loc): Likewise.
43188 (__ctype_tolower_loc): Likewise.
43189 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43190 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43191
7872cfb0
AS
431922011-10-15 Andreas Schwab <schwab@linux-m68k.org>
43193
b468825a
AS
43194 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43195
7872cfb0
AS
43196 * configure.in: Also look in $cxxmachine/include for C++ system
43197 headers.
43198
be13f7bf
LD
431992011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43200
43201 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43202 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43203 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43204 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
43205 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43206 (USE_AS_WMEMCMP): New macro.
43207 Fixing indents.
43208 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43209 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43210 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43211 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43212 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43213 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43214 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43215 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43216 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43217 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43218 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43219 (USE_AS_WMEMCMP): New macro.
43220 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43221 * sysdeps/string/test-memcmp.c: Update.
43222 Fix simple_wmemcmp.
43223 Add new tests.
43224 * wcsmbs/wmemcmp.c: Update.
43225 (WMEMCMP): New macro.
43226 Fix overflow bug.
43227
556a2007
AJ
432282011-10-12 Andreas Jaeger <aj@suse.de>
43229
43230 [BZ #13268]
43231 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43232
538faaa7
UD
432332011-10-15 Ulrich Drepper <drepper@gmail.com>
43234
ab6737ff
UD
43235 * libio/iofwide.c (do_length): Avoid warning.
43236
538faaa7
UD
43237 * ctype/ctype.h (__isctype_f): Add missing __THROW.
43238
396a21b1
UD
432392011-10-14 Ulrich Drepper <drepper@gmail.com>
43240
cdf2901f
UD
43241 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43242
38ad40ce
UD
43243 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43244 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43245 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43246 * sysdeps/i386/i686/fpu/e_log.S: New file.
43247 * sysdeps/i386/i686/fpu/e_logf.S: New file.
43248 * sysdeps/i386/i686/fpu/e_logl.S: New file.
43249
396a21b1
UD
43250 * ctype/ctype.h: Add support for inlined isXXX functions when
43251 compiling C++ code.
43252
6b1f68c9
AS
432532011-10-14 Andreas Schwab <schwab@redhat.com>
43254
349290c0
AS
43255 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43256
6b1f68c9
AS
43257 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43258
f2282d42
RM
432592011-10-13 Roland McGrath <roland@hack.frob.com>
43260
43261 [BZ #13291]
43262 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43263
5298ffa8
AS
432642011-10-13 Andreas Schwab <schwab@redhat.com>
43265
714fad23
AS
43266 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43267 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43268 feraiseexcept.
43269
81dcc7fb
AS
43270 * sysdeps/x86_64/memrchr.S: Check for zero size.
43271
5298ffa8
AS
43272 * string/stratcliff.c: Add memrchr tests.
43273
951fbcec
LD
432742011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43275
43276 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43277 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43278 rawmemchr-sse2 rawmemchr-sse2-bsf.
43279 * sysdeps/i386/i686/multiarch/memchr.S: New file.
43280 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43281 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43282 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43283 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43284 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43285 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43286 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43287 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43288 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43289 * string/memrchr.c (MEMRCHR): New macro.
43290
0ac5ae23
UD
432912011-10-12 Ulrich Drepper <drepper@gmail.com>
43292
43293 Add integration with gcc's -ffinite-math-only and optimize wrapper
43294 functions in libm.
43295 * Versions.def: Define GLIBC_2.15 version for libm.
43296 * math/Makefile (headers): Add bits/math-finite.h.
43297 * math/bits/math-finite.h: New file.
43298 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43299 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43300 * math/e_acoshl.c: Add __*_finite alias.
43301 * math/e_acosl.c: Likewise.
43302 * math/e_asinl.c: Likewise.
43303 * math/e_atan2l.c: Likewise.
43304 * math/e_atanhl.c: Likewise.
43305 * math/e_coshl.c: Likewise.
43306 * math/e_exp10.c: Likewise.
43307 * math/e_exp10f.c: Likewise.
43308 * math/e_exp10l.c: Likewise.
43309 * math/e_exp2l.c: Likewise.
43310 * math/e_fmodl.c: Likewise.
43311 * math/e_gammal_r.c: Likewise.
43312 * math/e_hypotl.c: Likewise.
43313 * math/e_j0l.c: Likewise.
43314 * math/e_j1l.c: Likewise.
43315 * math/e_jnl.c: Likewise.
43316 * math/e_lgammal_r.c: Likewise.
43317 * math/e_log10l.c: Likewise.
43318 * math/e_log2l.c: Likewise.
43319 * math/e_logl.c: Likewise.
43320 * math/e_powl.c: Likewise.
43321 * math/e_sinhl.c: Likewise.
43322 * math/e_sqrtl.c: Likewise.
43323 * math/e_scalb.c: Completely rewritten and optimized.
43324 * math/e_scalbf.c: Likewise.
43325 * math/e_scalbl.c: Likewise.
43326 * math/w_acos.c: Likewise.
43327 * math/w_acosf.c: Likewise.
43328 * math/w_acosl.c: Likewise.
43329 * math/w_acosh.c: Likewise.
43330 * math/w_acoshf.c: Likewise.
43331 * math/w_acoshl.c: Likewise.
43332 * math/w_asin.c: Likewise.
43333 * math/w_asinf.c: Likewise.
43334 * math/w_asinl.c: Likewise.
43335 * math/w_atan2.c: Likewise.
43336 * math/w_atan2f.c: Likewise.
43337 * math/w_atan2l.c: Likewise.
43338 * math/w_atanh.c: Likewise.
43339 * math/w_atanhf.c: Likewise.
43340 * math/w_atanhl.c: Likewise.
43341 * math/w_exp10.c: Likewise.
43342 * math/w_exp10f.c: Likewise.
43343 * math/w_exp10l.c: Likewise.
43344 * math/w_fmod.c: Likewise.
43345 * math/w_fmodf.c: Likewise.
43346 * math/w_fmodl.c: Likewise.
43347 * math/w_j0.c: Likewise.
43348 * math/w_j0f.c: Likewise.
43349 * math/w_j0l.c: Likewise.
43350 * math/w_j1.c: Likewise.
43351 * math/w_j1f.c: Likewise.
43352 * math/w_j1l.c: Likewise.
43353 * math/w_jn.c: Likewise.
43354 * math/w_jnf.c: Likewise.
43355 * math/w_log.c: Likewise.
43356 * math/w_logf.c: Likewise.
43357 * math/w_logl.c: Likewise.
43358 * math/w_log10.c: Likewise.
43359 * math/w_log10f.c: Likewise.
43360 * math/w_log10l.c: Likewise.
43361 * math/w_log2.c: Likewise.
43362 * math/w_log2f.c: Likewise.
43363 * math/w_log2l.c: Likewise.
43364 * math/w_pow.c: Likewise.
43365 * math/w_powf.c: Likewise.
43366 * math/w_powl.c: Likewise.
43367 * math/w_remainder.c: Likewise.
43368 * math/w_remainderf.c: Likewise.
43369 * math/w_remainderl.c: Likewise.
43370 * math/w_scalb.c: Likewise.
43371 * math/w_scalbf.c: Likewise.
43372 * math/w_scalbl.c: Likewise.
43373 * math/w_sqrt.c: Likewise.
43374 * math/w_sqrtf.c: Likewise.
43375 * math/w_sqrtl.c: Likewise.
43376 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43377 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
43378 used.
43379 * math/math_private.h: Declare __kernel_standard_f.
43380 * math/w_cosh.c: Remove cruft and optimize a bit.
43381 * math/w_coshf.c: Likewise.
43382 * math/w_coshl.c: Likewise.
43383 * math/w_exp2.c: Likewise.
43384 * math/w_exp2f.c: Likewise.
43385 * math/w_exp2l.c: Likewise.
43386 * math/w_hypot.c: Likewise.
43387 * math/w_hypotf.c: Likewise.
43388 * math/w_hypotl.c: Likewise.
43389 * math/w_lgamma.c: Likewise.
43390 * math/w_lgamma_r.c: Likewise.
43391 * math/w_lgammaf.c: Likewise.
43392 * math/w_lgammaf_r.c: Likewise.
43393 * math/w_lgammal.c: Likewise.
43394 * math/w_lgammal_r.c: Likewise.
43395 * math/w_sinh.c: Likewise.
43396 * math/w_sinhf.c: Likewise.
43397 * math/w_sinhl.c: Likewise.
43398 * math/w_tgamma.c: Likewise.
43399 * math/w_tgammaf.c: Likewise.
43400 * math/w_tgammal.c: Likewise.
43401 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43402 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43403 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43404 Minor optimizations. Pretty printing. Remove cruft.
43405 * sysdeps/i386/fpu/e_acosf.S: Likewise.
43406 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43407 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43408 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43409 * sysdeps/i386/fpu/e_acosl.c: Likewise.
43410 * sysdeps/i386/fpu/e_asin.S: Likewise.
43411 * sysdeps/i386/fpu/e_asinf.S: Likewise.
43412 * sysdeps/i386/fpu/e_atan2.S: Likewise.
43413 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43414 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43415 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43416 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43417 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43418 * sysdeps/i386/fpu/e_exp10.S: Likewise.
43419 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43420 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43421 * sysdeps/i386/fpu/e_exp2.S: Likewise.
43422 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43423 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43424 * sysdeps/i386/fpu/e_fmod.S: Likewise.
43425 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43426 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43427 * sysdeps/i386/fpu/e_hypot.S: Likewise.
43428 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43429 * sysdeps/i386/fpu/e_log.S: Likewise.
43430 * sysdeps/i386/fpu/e_log10.S: Likewise.
43431 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43432 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43433 * sysdeps/i386/fpu/e_log2.S: Likewise.
43434 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43435 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43436 * sysdeps/i386/fpu/e_logf.S: Likewise.
43437 * sysdeps/i386/fpu/e_logl.S: Likewise.
43438 * sysdeps/i386/fpu/e_pow.S: Likewise.
43439 * sysdeps/i386/fpu/e_powf.S: Likewise.
43440 * sysdeps/i386/fpu/e_powl.S: Likewise.
43441 * sysdeps/i386/fpu/e_remainder.S: Likewise.
43442 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43443 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43444 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43445 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43446 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43447 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43448 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43449 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43450 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43451 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43452 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43453 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43454 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43455 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43456 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43457 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43458 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43459 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43460 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43461 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43462 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43463 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43464 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43465 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43466 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43467 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43468 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43469 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43470 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43471 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43472 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43473 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43474 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43475 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43476 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43477 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43478 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43479 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43480 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43481 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43482 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43483 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43484 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43485 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43486 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43487 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43488 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43489 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43490 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43491 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43492 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43493 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43494 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43495 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43496 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43497 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43498 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43499 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43500 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43501 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43502 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43503 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43504 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43505 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43506 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43507 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43508 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43509 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43510 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43511 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43512 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43513 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43514 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43515 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43516 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43517 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43518 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43519 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43520 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43521 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43522 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43523 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43524 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43525 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43526 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43527 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43528 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43529 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43530 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43531 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43532 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43533 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43534 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43535 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43536 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43537 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43538 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43539 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43540 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43541 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43542 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43543 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43544 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43545 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43546 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43547 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43548 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43549 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43550 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43551 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43552 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43553 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43554 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43555 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43556 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43557 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43558 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43559 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43560 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
43561 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43562 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43563 (__isnanf): Likewise.
43564 (__isinf_ns): Likewise.
43565 (__isinf_nsf): Likewise.
43566 (__finite): Likewise.
43567 (__finitef): Likewise.
43568 (__ieee754_sqrt): Define as macro.
43569 (__ieee754_sqrtf): Define as macro.
43570 (__ieee754_sqrtl): Define as macro.
43571 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43572 inlined copy.
43573 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43574 __FINITE_MATH_ONLY__ consistent.
43575 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43576
12cc2fcd
AS
435772011-10-10 Andreas Schwab <schwab@linux-m68k.org>
43578
a843a204
AS
43579 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43580 of rawmemchr.
43581
12cc2fcd
AS
43582 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43583
c853acd5
UD
435842011-10-09 Ulrich Drepper <drepper@gmail.com>
43585
43586 * po/ja.po: Update from translation team.
43587
c658d255
RM
435882011-10-08 Roland McGrath <roland@hack.frob.com>
43589
110946e4
RM
43590 * locale/programs/locarchive.c (prepare_address_space): New function.
43591 (create_archive, enlarge_archive, open_archive): Use it.
43592
50604220
RM
43593 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43594 inside [SHARED], where it is used.
43595
c658d255
RM
43596 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43597
43598 * nss/getent.c (netgroup_keys): Remove unused variable.
43599 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43600
6a621eb7
UD
436012011-10-08 Ulrich Drepper <drepper@gmail.com>
43602
7edb55ce
UD
43603 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43604 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43605 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43606 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43607 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43608 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43609 * math/Makefile (libm-calls): Add s_isinf_ns.
43610 * math/divtc3.c: Use __isinf_nsl instead of isinf.
43611 * math/multc3.c: Likewise.
43612 * math/s_casin.c: Likewise.
43613 * math/s_casinf.c: Likewise.
43614 * math/s_casinl.c: Likewise.
43615 * math/s_ccos.c: Likewise.
43616 * math/s_ccosf.c: Likewise.
43617 * math/s_ccosl.c: Likewise.
43618 * math/s_ctan.c: Likewise.
43619 * math/s_ctanf.c: Likewise.
43620 * math/s_ctanh.c: Likewise.
43621 * math/s_ctanhf.c: Likewise.
43622 * math/s_ctanhl.c: Likewise.
43623 * math/s_ctanl.c: Likewise.
43624 * math/w_fmod.c: Likewise.
43625 * math/w_fmodf.c: Likewise.
43626 * math/w_fmodl.c: Likewise.
43627 * math/w_remainder.c: Likewise.
43628 * math/w_remainderf.c: Likewise.
43629 * math/w_remainderl.c: Likewise.
43630 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43631 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43632 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43633 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43634 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43635 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43636 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43637 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43638
187da0ae
UD
43639 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43640 of the number.
43641 * stdio-common/printf_fphex.c: Likewise.
43642 * stdio-common/printf_size.c: Likewise.
43643
9277c064
UD
43644 * math/e_exp10.c: Include math_private.h using <...> not "...".
43645 * math/e_exp10f.c: Likewise.
43646 * math/e_exp10l.c: Likewise.
43647 * math/e_exp2l.c: Likewise.
43648 * math/e_j0l.c: Likewise.
43649 * math/e_j1l.c: Likewise.
43650 * math/e_jnl.c: Likewise.
43651 * math/e_lgammal_r.c: Likewise.
43652 * math/e_rem_pio2l.c: Likewise.
43653 * math/e_scalb.c: Likewise.
43654 * math/e_scalbf.c: Likewise.
43655 * math/e_scalbl.c: Likewise.
43656 * math/k_cosl.c: Likewise.
43657 * math/k_sinl.c: Likewise.
43658 * math/k_tanl.c: Likewise.
43659 * math/s_cacoshf.c: Likewise.
43660 * math/s_catan.c: Likewise.
43661 * math/s_catanf.c: Likewise.
43662 * math/s_catanh.c: Likewise.
43663 * math/s_catanhf.c: Likewise.
43664 * math/s_catanhl.c: Likewise.
43665 * math/s_catanl.c: Likewise.
43666 * math/s_ccosh.c: Likewise.
43667 * math/s_ccoshf.c: Likewise.
43668 * math/s_ccoshl.c: Likewise.
43669 * math/s_cexp.c: Likewise.
43670 * math/s_cexpf.c: Likewise.
43671 * math/s_cexpl.c: Likewise.
43672 * math/s_clog.c: Likewise.
43673 * math/s_clog10.c: Likewise.
43674 * math/s_clog10f.c: Likewise.
43675 * math/s_clog10l.c: Likewise.
43676 * math/s_clogf.c: Likewise.
43677 * math/s_clogl.c: Likewise.
43678 * math/s_csin.c: Likewise.
43679 * math/s_csinf.c: Likewise.
43680 * math/s_csinh.c: Likewise.
43681 * math/s_csinhf.c: Likewise.
43682 * math/s_csinhl.c: Likewise.
43683 * math/s_csinl.c: Likewise.
43684 * math/s_csqrt.c: Likewise.
43685 * math/s_csqrtf.c: Likewise.
43686 * math/s_csqrtl.c: Likewise.
43687 * math/s_ctan.c: Likewise.
43688 * math/s_ctanf.c: Likewise.
43689 * math/s_ctanh.c: Likewise.
43690 * math/s_ctanhf.c: Likewise.
43691 * math/s_ctanhl.c: Likewise.
43692 * math/s_ctanl.c: Likewise.
43693 * math/s_ldexp.c: Likewise.
43694 * math/s_ldexpf.c: Likewise.
43695 * math/s_ldexpl.c: Likewise.
43696 * math/s_significand.c: Likewise.
43697 * math/s_significandf.c: Likewise.
43698 * math/s_significandl.c: Likewise.
43699 * math/w_acos.c: Likewise.
43700 * math/w_acosf.c: Likewise.
43701 * math/w_acosh.c: Likewise.
43702 * math/w_acoshf.c: Likewise.
43703 * math/w_acoshl.c: Likewise.
43704 * math/w_acosl.c: Likewise.
43705 * math/w_asin.c: Likewise.
43706 * math/w_asinf.c: Likewise.
43707 * math/w_asinl.c: Likewise.
43708 * math/w_atan2.c: Likewise.
43709 * math/w_atan2f.c: Likewise.
43710 * math/w_atan2l.c: Likewise.
43711 * math/w_atanh.c: Likewise.
43712 * math/w_atanhf.c: Likewise.
43713 * math/w_atanhl.c: Likewise.
43714 * math/w_cosh.c: Likewise.
43715 * math/w_coshf.c: Likewise.
43716 * math/w_coshl.c: Likewise.
43717 * math/w_dremf.c: Likewise.
43718 * math/w_exp10.c: Likewise.
43719 * math/w_exp10f.c: Likewise.
43720 * math/w_exp10l.c: Likewise.
43721 * math/w_exp2.c: Likewise.
43722 * math/w_exp2f.c: Likewise.
43723 * math/w_fmod.c: Likewise.
43724 * math/w_fmodf.c: Likewise.
43725 * math/w_fmodl.c: Likewise.
43726 * math/w_hypot.c: Likewise.
43727 * math/w_hypotf.c: Likewise.
43728 * math/w_hypotl.c: Likewise.
43729 * math/w_j0.c: Likewise.
43730 * math/w_j0f.c: Likewise.
43731 * math/w_j0l.c: Likewise.
43732 * math/w_j1.c: Likewise.
43733 * math/w_j1f.c: Likewise.
43734 * math/w_j1l.c: Likewise.
43735 * math/w_jn.c: Likewise.
43736 * math/w_jnf.c: Likewise.
43737 * math/w_jnl.c: Likewise.
43738 * math/w_lgamma.c: Likewise.
43739 * math/w_lgamma_r.c: Likewise.
43740 * math/w_lgammaf.c: Likewise.
43741 * math/w_lgammaf_r.c: Likewise.
43742 * math/w_lgammal.c: Likewise.
43743 * math/w_lgammal_r.c: Likewise.
43744 * math/w_log.c: Likewise.
43745 * math/w_log10.c: Likewise.
43746 * math/w_log10f.c: Likewise.
43747 * math/w_log10l.c: Likewise.
43748 * math/w_log2.c: Likewise.
43749 * math/w_log2f.c: Likewise.
43750 * math/w_log2l.c: Likewise.
43751 * math/w_logf.c: Likewise.
43752 * math/w_logl.c: Likewise.
43753 * math/w_pow.c: Likewise.
43754 * math/w_powf.c: Likewise.
43755 * math/w_powl.c: Likewise.
43756 * math/w_remainder.c: Likewise.
43757 * math/w_remainderf.c: Likewise.
43758 * math/w_remainderl.c: Likewise.
43759 * math/w_scalb.c: Likewise.
43760 * math/w_scalbf.c: Likewise.
43761 * math/w_scalbl.c: Likewise.
43762 * math/w_sinh.c: Likewise.
43763 * math/w_sinhf.c: Likewise.
43764 * math/w_sinhl.c: Likewise.
43765 * math/w_sqrt.c: Likewise.
43766 * math/w_sqrtf.c: Likewise.
43767 * math/w_sqrtl.c: Likewise.
43768 * math/w_tgamma.c: Likewise.
43769 * math/w_tgammaf.c: Likewise.
43770 * math/w_tgammal.c: Likewise.
43771
6a621eb7
UD
43772 * po/ja.po: Update from translation team.
43773
bf582445
AJ
437742011-09-29 Andreas Jaeger <aj@suse.de>
43775
f9efbf3a
AJ
43776 [BZ #13179]
43777 * sunrpc/netname.c (netname2host): Fix logic.
43778
bf582445
AJ
43779 [BZ #6779]
43780 [BZ #6783]
43781 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43782 correctly.
43783 * math/w_remainder.c (__remainder): Likewise.
43784 * math/w_remainderf.c (__remainderf): Likewise.
43785 * math/libm-test.inc (remainder_test): Add test cases.
43786
48693bea
AK
437872011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43788
43789 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
43790 sdiv_qrnnd.
43791
42622229
LD
437922011-10-07 Ulrich Drepper <drepper@gmail.com>
43793
43794 * string/test-memcmp.c: Avoid unncessary #defines.
43795 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43796
093ecf92
LD
437972011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43798
43799 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43800 Use new sse2 version for core i3 - i7 as it's faster
43801 than sse42 version.
43802 (bit_Prefer_PMINUB_for_stringop): New.
43803 * sysdeps/x86_64/rawmemchr.S: Update.
43804 Replace with faster SSE2 version.
43805 * sysdeps/x86_64/memrchr.S: New file.
43806 * sysdeps/x86_64/memchr.S: Update.
43807 Replace with faster SSE2 version.
43808
fde56e5c
MP
438092011-09-12 Marek Polacek <mpolacek@redhat.com>
43810
43811 * elf/dl-load.c (lose): Add cast to avoid warning.
43812
21fd49a9
UD
438132011-10-07 Ulrich Drepper <drepper@gmail.com>
43814
5a06e643
UD
43815 * po/ca.po: Update from translation team.
43816
684ae515
UD
43817 * inet/getnetgrent_r.c: Hook up nscd.
43818 * nscd/Makefile (routines): Add nscd_netgroup.
43819 (nscd-modules): Add netgroupcache.
43820 (CFLAGS-netgroupcache.c): Define.
43821 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43822 (cache_search): Add const to second parameter.
43823 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43824 INNETGR.
43825 (dbs): Add netgrdb entry.
43826 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43827 (verify_persistent_db): Handle netgrdb.
43828 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43829 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43830 GETFDNETGR.
43831 (netgroup_response_header): Define.
43832 (innetgroup_response_header): Define.
43833 (datahead): Add netgroup_response_header and innetgroup_response_header
43834 elements.
43835 * nscd/nscd.conf: Add entries for netgroup cache.
43836 * nscd/nscd.h (dbtype): Add netgrdb.
43837 (_PATH_NSCD_NETGROUP_DB): Define.
43838 (netgroup_iov_disabled): Declare.
43839 (xmalloc, xcalloc, xrealloc): Move declarations here.
43840 (cache_search): Adjust prototype.
43841 Add netgroup-related prototypes.
43842 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43843 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43844 (__nscd_innetgr): Declare.
43845 * nscd/selinux.c (perms): Use access_vector_t as element type and
43846 add netgroup-related initializers.
43847 * nscd/netgroupcache.c: New file.
43848 * nscd/nscd_netgroup.c: New file.
43849 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43850 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43851 For four parameters use innetgr.
43852 * nss/nss_files/files-init.c: Add definition and callback for netgr.
43853 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43854 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43855 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43856
21fd49a9
UD
43857 * nscd/connections.c (register_traced_file): Don't register file
43858 for disabled databases.
43859
054c0457
UD
438602011-10-06 Ulrich Drepper <drepper@gmail.com>
43861
32b63198
UD
43862 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43863
054c0457
UD
43864 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43865 from tree and freeing node.
43866
64031225
JO
438672011-09-25 Jiri Olsa <jolsa@redhat.com>
43868
43869 * nss/nsswitch.c (__nss_database_lookup): Handle
43870 nss_parse_service_list out of memory case.
43871
0490345c
JO
438722011-09-15 Jiri Olsa <jolsa@redhat.com>
43873
43874 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43875 out of memory case.
43876
3a62d00d
AS
438772011-10-04 Andreas Schwab <schwab@redhat.com>
43878
43879 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43880 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43881 pass it down.
43882 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43883 elf_machine_rela, elf_machine_lazy_rel.
43884 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43885 (ELF_DYNAMIC_DO_REL): Likewise.
43886 (ELF_DYNAMIC_DO_RELA): Likewise.
43887 (ELF_DYNAMIC_RELOCATE): Likewise.
43888 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43889 to ELF_DYNAMIC_DO_REL.
43890 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43891 (dl_main): In trace mode always set __RTLD_NOIFUNC.
43892 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43893 elf_machine_rela.
43894 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43895 skip_ifunc, don't call ifunc function if non-zero.
43896 (elf_machine_rela): Likewise.
43897 (elf_machine_lazy_rel): Likewise.
43898 (elf_machine_lazy_rela): Likewise.
43899 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43900 (elf_machine_lazy_rel): Likewise.
43901 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43902 Likewise.
43903 (elf_machine_lazy_rel): Likewise.
43904 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43905 Likewise.
43906 (elf_machine_lazy_rel): Likewise.
43907 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43908 (elf_machine_lazy_rel): Likewise.
43909 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43910 (elf_machine_lazy_rel): Likewise.
43911 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43912 (elf_machine_lazy_rel): Likewise.
43913 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43914 (elf_machine_lazy_rel): Likewise.
43915 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43916 (elf_machine_lazy_rel): Likewise.
43917 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43918 (elf_machine_lazy_rel): Likewise.
43919
68577918
UD
439202011-09-28 Ulrich Drepper <drepper@gmail.com>
43921
43922 * nss/nss_files/files-init.c (_nss_files_init): Use static
43923 initialization for all the *_traced_file variables.
43924
68822d74
AS
439252011-09-28 Andreas Schwab <schwab@redhat.com>
43926
43927 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43928
2056100b
RM
439292011-09-27 Roland McGrath <roland@hack.frob.com>
43930
43931 [BZ #13226]
43932 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43933
32c76b63
AS
439342011-09-27 Andreas Schwab <schwab@redhat.com>
43935
43936 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43937 Reread the line before reparsing it.
43938
bf972c9d
AS
439392011-09-26 Andreas Schwab <schwab@redhat.com>
43940
43941 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43942
e057a1b5
JM
439432011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
43944 Maxim Kuvyrkov <maxim@codesourcery.com>
43945 Joseph Myers <joseph@codesourcery.com>
43946
43947 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43948 if needed for __stack_chk_guard.
43949
bc7e1c36
RM
439502011-09-19 Roland McGrath <roland@hack.frob.com>
43951
ecb1482f
RM
43952 * sysdeps/posix/spawni.c (script_execute): Always define it.
43953 It will be optimized away if unused.
43954 (maybe_script_execute): New function.
43955 (__spawni): Call it.
43956
bc7e1c36
RM
43957 * Makerules: Don't include tls.make.
43958 (config-tls): Always set to thread.
43959 * tls.make.c: File removed.
43960
1c3b002b
MF
439612011-09-19 Mike Frysinger <vapier@gentoo.org>
43962
43963 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43964 * config.make.in (CPPFLAGS-config): New substituted variable.
43965
2840865d
UD
439662011-09-15 Ulrich Drepper <drepper@gmail.com>
43967
88738eb6
UD
43968 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43969
cbf645a6 43970 [BZ #13192]
2840865d
UD
43971 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43972 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43973
b402e91a
RM
439742011-09-15 Roland McGrath <roland@hack.frob.com>
43975
43976 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43977 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43978 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43979 (CALL_FAIL): Likewise.
43980 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43981 (CALL_FAIL): Macro removed.
43982 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43983
4c1a1f71
UD
439842011-09-15 Ulrich Drepper <drepper@gmail.com>
43985
43986 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43987 for __FINITE_MATH_ONLY__ == 1.
43988
edc121be
AS
439892011-09-15 Andreas Schwab <schwab@redhat.com>
43990
43991 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43992 __ieee754_sqrt instead of sqrt.
43993 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43994 __ieee754_sqrtf instead of sqrtf.
43995 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43996 __floorf instead of floorf.
43997 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43998 __floorf, __truncf instead of floorf, truncf.
43999
cd205654
UD
440002011-09-14 Ulrich Drepper <drepper@gmail.com>
44001
ee4d0315
UD
44002 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44003
cd205654
UD
44004 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44005 __extern_always_inline.
44006 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44007 32-bit.
44008
48b67d71
AS
440092011-09-14 Andreas Schwab <schwab@redhat.com>
44010
44011 * elf/rtld.c (dl_main): Also relocate in dependency order when
44012 doing symbol dependency testing.
44013
1ae12c75
AS
440142011-09-13 Andreas Schwab <schwab@linux-m68k.org>
44015
44016 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44017 Always define `refsym'.
44018
995a80df
AS
440192011-09-13 Andreas Schwab <schwab@redhat.com>
44020
e529793b
AS
44021 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44022 (__FD_ELT): Renamed from __FDELT.
44023 * misc/bits/select2.h (__FD_ELT): Likewise.
44024 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44025 __FD_MASK instead of __FDELT, __FDMASK.
44026 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44027 Likewise.
44028 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44029 Likewise.
44030
52d4fef8
AS
44031 * elf/Makefile (gen-ldd): Fix pattern.
44032
995a80df
AS
44033 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44034 (init_tls): Likewise.
44035
8682f8b0
UD
440362011-09-12 Ulrich Drepper <drepper@gmail.com>
44037
44038 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44039
de82006d
AS
440402011-09-12 Andreas Schwab <schwab@redhat.com>
44041
a7c8e6a1
AS
44042 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44043 `struct cmsghdr *' instead of `void *'.
44044 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44045 Likewise.
44046
0f31fe77
AS
440472011-09-11 Andreas Schwab <schwab@linux-m68k.org>
44048
44049 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44050 if non-absolute.
44051 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44052 ldd_rewrite_script.
0f31fe77 44053
32b4c839
UD
440542011-09-11 Ulrich Drepper <drepper@gmail.com>
44055
83cd1420
UD
44056 * configure.in: Remove --with-tls option.
44057 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44058 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44059 out in case it is missing.
44060 * sysdeps/ia64/elf/configure.in: Likewise.
44061 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44062 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44063 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44064 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44065 * sysdeps/sh/elf/configure.in: Likewise.
44066 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44067 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44068 * sysdeps/x86_64/elf/configure.in: Likewise.
44069 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44070 * sysdeps/mach/hurd/tls.h: Likewise.
44071
633f745d
UD
44072 [BZ #13067]
44073 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44074
f318beb8
UD
44075 [BZ #13090]
44076 * configure.in: Fix use of AC_INIT.
44077
32b4c839
UD
44078 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44079
3ce1f295
UD
440802011-09-10 Ulrich Drepper <drepper@gmail.com>
44081
bb016596
UD
44082 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44083 __set_errno.
8e58439c
UD
44084 * malloc/hooks.c: Likewise.
44085
aebae053 44086 [BZ #11929]
02d46fc4
UD
44087 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
44088 variables statically.
44089 (narenas): Initialize.
44090 (list_lock): Initialize.
bb016596
UD
44091 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
44092 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
44093 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44094 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
44095 Add initializers to main_arena and mp_.
44096 (malloc_state): Remove pagesize member. Change all users to use
44097 GLRO(dl_pagesize).
44098
44099 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44100 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
44101 is always initialized.
44102
22a89187
UD
44103 * malloc/malloc.c: Removed unused configurations and dead code.
44104 * malloc/arena.c: Likewise.
44105 * malloc/hooks.c: Likewise.
02d46fc4 44106 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 44107
d063d164
UD
44108 * include/tls.h: Removed. USE___THREAD must always be defined.
44109 * bits/libc-tsd.h: Don't handle !USE___THREAD.
44110 * elf/dl-libc.c: Likewise.
44111 * elf/dl-tsd.c: Likewise.
44112 * include/errno.h: Likewise.
44113 * include/netdb.h: Likewise.
44114 * include/resolv.h: Likewise.
44115 * inet/herrno-loc.c: Likewise.
44116 * inet/herrno.c: Likewise.
44117 * malloc/arena.c: Likewise.
44118 * malloc/hooks.c: Likewise.
44119 * malloc/malloc.c: Likewise.
44120 * resolv/res-state.c: Likewise.
44121 * resolv/res_libc.c: Likewise.
44122 * sysdeps/i386/dl-machine.h: Likewise.
44123 * sysdeps/ia64/dl-machine.h: Likewise.
44124 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44125 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44126 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44127 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44128 * sysdeps/sh/dl-machine.h: Likewise.
44129 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44130 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44131 * sysdeps/unix/i386/sysdep.S: Likewise.
44132 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44133 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44134 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44135 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44136 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44137 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44138 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44139 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44140 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44141 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44142 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44143 * sysdeps/x86_64/dl-machine.h: Likewise.
44144 * tls.make.c: Likewise.
44145
3ce1f295
UD
44146 * configure.in: Remove --with-__thread option. Make tests for
44147 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44148 tls_model attribute fail if no support is available. Remove
44149 USE_IN_LIBIO.
44150 * Makeconfig: Adjust for dropped configure option. All features are
44151 now mandatory.
44152 * Makerules: Likewise.
44153 * Versions.def: Likewise.
44154 * argp/argp-fmtstream.c: Likewise.
44155 * argp/argp-fmtstream.h: Likewise.
44156 * argp/argp-help.c: Likewise.
44157 * assert/assert.c: Likewise.
44158 * config.h.in: Likewise.
44159 * config.make.in: Likewise.
44160 * configure: Likewise.
44161 * configure.in: Likewise.
44162 * csu/Versions: Likewise.
44163 * csu/init.c: Likewise.
44164 * elf/tst-audit2.c: Likewise.
44165 * elf/tst-tls10.c: Likewise.
44166 * elf/tst-tls10.h: Likewise.
44167 * elf/tst-tls11.c: Likewise.
44168 * elf/tst-tls12.c: Likewise.
44169 * elf/tst-tls14.c: Likewise.
44170 * elf/tst-tlsmod11.c: Likewise.
44171 * elf/tst-tlsmod12.c: Likewise.
44172 * elf/tst-tlsmod13.c: Likewise.
44173 * elf/tst-tlsmod13a.c: Likewise.
44174 * elf/tst-tlsmod14a.c: Likewise.
44175 * elf/tst-tlsmod15b.c: Likewise.
44176 * elf/tst-tlsmod16a.c: Likewise.
44177 * elf/tst-tlsmod16b.c: Likewise.
44178 * elf/tst-tlsmod7.c: Likewise.
44179 * elf/tst-tlsmod8.c: Likewise.
44180 * elf/tst-tlsmod9.c: Likewise.
44181 * gmon/gmon.c: Likewise.
44182 * grp/fgetgrent_r.c: Likewise.
44183 * grp/putgrent.c: Likewise.
44184 * hurd/fopenport.c: Likewise.
44185 * include/libc-symbols.h: Likewise.
44186 * include/tls.h: Likewise.
44187 * intl/gettextP.h: Likewise.
44188 * intl/loadinfo.h: Likewise.
44189 * locale/global-locale.c: Likewise.
44190 * locale/localeinfo.h: Likewise.
44191 * mach/devstream.c: Likewise.
44192 * malloc/arena.c: Likewise.
44193 * malloc/set-freeres.c: Likewise.
44194 * misc/err.c: Likewise.
44195 * misc/getttyent.c: Likewise.
44196 * misc/mntent_r.c: Likewise.
44197 * posix/getopt.c: Likewise.
44198 * posix/wordexp.c: Likewise.
44199 * pwd/fgetpwent_r.c: Likewise.
44200 * resolv/Versions: Likewise.
44201 * resolv/res_hconf.c: Likewise.
44202 * shadow/fgetspent_r.c: Likewise.
44203 * shadow/putspent.c: Likewise.
44204 * stdio-common/printf_fphex.c: Likewise.
44205 * stdio-common/tmpfile.c: Likewise.
44206 * stdlib/abort.c: Likewise.
44207 * stdlib/fmtmsg.c: Likewise.
44208 * sunrpc/auth_unix.c: Likewise.
44209 * sunrpc/clnt_perr.c: Likewise.
44210 * sunrpc/clnt_tcp.c: Likewise.
44211 * sunrpc/clnt_udp.c: Likewise.
44212 * sunrpc/clnt_unix.c: Likewise.
44213 * sunrpc/openchild.c: Likewise.
44214 * sunrpc/svc_simple.c: Likewise.
44215 * sunrpc/svc_tcp.c: Likewise.
44216 * sunrpc/svc_udp.c: Likewise.
44217 * sunrpc/svc_unix.c: Likewise.
44218 * sunrpc/xdr.c: Likewise.
44219 * sunrpc/xdr_array.c: Likewise.
44220 * sunrpc/xdr_rec.c: Likewise.
44221 * sunrpc/xdr_ref.c: Likewise.
44222 * sunrpc/xdr_stdio.c: Likewise.
44223
1248c1c4
PB
442242011-09-09 Ulrich Drepper <drepper@gmail.com>
44225
44226 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44227
442282011-07-03 Andreas Jaeger <aj@suse.de>
44229
44230 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44231 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44232 regenerate with gen-libm-tests.pl.
44233
442342010-05-12 Petr Baudis <pasky@suse.cz>
44235
44236 [BZ #11589]
44237 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44238 around j0() zero points by switching to j1().
44239 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44240 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44241 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44242 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44243
f22e1074
UD
442442011-09-09 Ulrich Drepper <drepper@gmail.com>
44245
f19009c1
UD
44246 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44247 instead of 0.
44248 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 44249 instead of 0.
f19009c1
UD
44250 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44251 Patch in part by Pavel Roskin <proski@gnu.org>.
44252
3f8cc204
UD
44253 [BZ #13138]
44254 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44255 realloc.
44256 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
44257 Free memory block if necessary.
44258
f22e1074
UD
44259 [BZ #12847]
44260 * libio/genops.c (INTDEF): For string streams the _lock pointer can
44261 be NULL. Don't lock in this case.
44262
0a2349f9
RM
442632011-09-09 Roland McGrath <roland@hack.frob.com>
44264
44265 * elf/elf.h (ELFOSABI_GNU): New macro.
44266 (ELFOSABI_LINUX): Define to that.
44267
f3cdd467
DZ
442682011-07-29 Denis Zaitceff <zaitceff@gmail.com>
44269
44270 * string/strncat.c (strncat): Undef the symbol in case it has been
44271 defined in bits/string.h.
44272
74718d13
UD
442732011-09-09 Ulrich Drepper <drepper@gmail.com>
44274
633e9e0f
UD
44275 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44276
0a2349f9 44277 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
44278 link map.
44279
f9924780
AJ
442802011-08-17 Andreas Jaeger <aj@suse.de>
44281
44282 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44283
7f5517aa
PP
442842011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
44285 Ian Lance Taylor <iant@google.com>
44286
44287 * math/libm-test.inc (lround_test): New testcase.
44288 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44289
762011fe
UD
442902011-09-08 Ulrich Drepper <drepper@gmail.com>
44291
92963737
UD
44292 * Makefile: Remove support for automatic cvs check-ins.
44293 * Makerules: Likewise.
44294 * config.make.in: Likewise.
44295 * configure.in: Likewise.
44296 * intl/Makefile: Likewise.
44297 * locale/Makefile: Likewise.
44298 * po/Makefile: Likewise.
44299 * posix/Makefile: Likewise.
44300 * sysdeps/gnu/Makefile: Likewise.
44301 * sysdeps/mach/hurd/Makefile: Likewise.
44302 * sysdeps/sparc/sparc32/Makefile: Likewise.
44303
b0727fd8
JS
44304 [BZ #13118]
44305 * posix/Makefile (bug-regex32-ENV): Define.
44306 Patch by John Stanley <jpsinthemix@verizon.net>.
44307
a0f33f99
UD
44308 * misc/Makefile (headers): Add bits/select2.h.
44309 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44310 * misc/bits/select2.h: New file.
44311 * include/bits/select2.h: New file.
44312 * debug/Makefile (routines): Add fdelt_chk.
44313 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44314 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44315 FD_ISSET.
44316 * debug/fdelt_chk.c: New file.
44317
762011fe
UD
44318 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
44319 * wcsmbs/test-wmemcmp.c: Likewise.
44320 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 44321 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
44322
443232011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44324
44325 * string/Makefile (strop-tests): Add memcmp.
44326 * string/test-wmemcmp.c: New file.
44327 * string/test-memcmp.c: Add wmemcmp support.
44328
7f513ec8
RM
443292011-09-08 Roland McGrath <roland@hack.frob.com>
44330
0442afb4
RM
44331 [BZ #13153]
44332 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44333 2011-07-19 change.
44334
7f513ec8
RM
44335 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44336 garbage value in a __mach_port_mod_refs call in the cases of the
44337 task-self and thread-self ports.
44338
a12b2239
ST
443392011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44340
44341 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44342
610f9ab4
AS
443432011-09-08 Andreas Schwab <schwab@redhat.com>
44344
7f513ec8 44345 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 44346
48882a1a
LD
443472011-09-07 Ulrich Drepper <drepper@gmail.com>
44348
b49865be
UD
44349 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44350
fdc86bc9
UD
44351 * elf/dl-libc.c (dlerror_run): Pass back error code from
44352 dl_catch_error.
44353
c966526a
UD
44354 [BZ #13123]
44355 * elf/dl-load.c (lose): Free l_origin if it is valid.
44356
48882a1a
LD
44357 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44358 names.
44359 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44360 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44361 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44362 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44363 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44364 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44365
77a2a8b4
AZ
443662011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44367
44368 * sysdeps/powerpc/fpu/e_hypot.c: New file.
44369 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44370 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44371 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44372 * sysdeps/powerpc/fpu/k_cosf.c: New file.
44373 * sysdeps/powerpc/fpu/k_sinf.c: New file.
44374 * sysdeps/powerpc/fpu/s_cosf.c: New file.
44375 * sysdeps/powerpc/fpu/s_sinf.c: New file.
44376 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44377 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44378
24f579d8
AM
443792011-08-15 Alan Modra <amodra@gmail.com>
44380
44381 [BZ #13092]
44382 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44383 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44384 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
44385 ppc_mcount to static-only-routines.
44386 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44387 __mcount_internal.
44388 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44389 __mcount_internal with usual JUMPTARGET. Remove useless nop.
44390
3d4837df
UD
443912011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
44392
44393 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44394 for finite and infinity parameters.
44395
22700377
WS
443962011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44397
44398 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44399 and add nop instructions for throughput optimization.
44400 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44401
5025581e
WS
444022011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
44403
44404 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44405 aligned copy for power7 with vector-scalar instructions.
44406 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44407
08a300c9
L
444082011-07-24 H.J. Lu <hongjiu.lu@intel.com>
44409
44410 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44411 AVX check.
44412
59178ef9
AS
444132011-09-07 Andreas Schwab <schwab@redhat.com>
44414
44415 [BZ #13144]
44416 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44417 last change.
44418
e38ba7ab
UD
444192011-09-07 Ulrich Drepper <drepper@gmail.com>
44420
44421 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44422 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44423 syscall wrapper around clock_gettime in __vdso_clock_gettime.
44424 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44425 clock_gettime.
44426
d53a73ac
UD
444272011-09-06 Ulrich Drepper <drepper@gmail.com>
44428
fc8bffcc
UD
44429 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44430 Forgot to demangle the pointer.
44431
ceaa0c5d
UD
44432 * sysdeps/i386/sysdep.h: Define atom_text_section.
44433 * sysdeps/x86_64/sysdep.h: Likewise.
44434 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44435 section with atom_text_section.
44436 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44437 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44438 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44439 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44440 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44441
a77d3c17
UD
44442 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44443 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44444 already be defined. Change to take two parameters and don't assign
44445 result to variable. Adjust all users.
44446 Define INTERNAL_GETTIME if not already defined.
44447 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44448 call.
44449 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44450 HAVE_CLOCK_GETTIME_VSYSCALL.
44451 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44452
d53a73ac
UD
44453 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44454 gettimeofday vsyscall, just use time.
44455
a8f84144
AS
444562011-09-06 Andreas Schwab <schwab@redhat.com>
44457
44458 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44459 <errno.h>.
44460
ef606249
UD
444612011-09-06 Ulrich Drepper <drepper@gmail.com>
44462
44463 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44464 syscall on x86-64.
44465 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44466 syscall.
44467 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44468 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44469 syscall if possible.
44470
6585cb60
UD
444712011-09-05 Ulrich Drepper <drepper@gmail.com>
44472
44473 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44474 e_ident. Don't pass to find_mapsXX.
44475 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44476
a5f524e4
LD
444772011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44478
44479 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44480 strchr-sse2-no-bsf strrchr-sse2-no-bsf
44481 * sysdeps/x86_64/multiarch/strchr.S: Update.
44482 Check bit_slow_BSF bit.
44483 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44484 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44485 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44486
554881ef
UD
444872011-09-05 Ulrich Drepper <drepper@gmail.com>
44488
d96de963
UD
44489 [BZ #13134]
44490 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44491 before glibc 2.15.
44492 (tryshell): Define.
44493 (__spawni): Change last parameter to be flag. Test
44494 SPAWN_XFLAGS_USE_PATH flag to use path or not.
44495 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44496 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44497 * posix/spawni.c: Likewise.
44498 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44499 * posix/spawnp.c: Likewise. Change normal version to use
44500 SPAWN_XFLAGS_USE_PATH.
44501 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44502 SPAWN_XFLAGS_TRY_SHELL.
44503
d48e5868
UD
44504 [BZ #13150]
44505 * posix/glob.h: Remove gcc 1.x support.
44506
554881ef
UD
44507 [BZ #13068]
44508 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44509
693fb948
LD
445102011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44511
44512 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44513 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44514 strrchr-sse2-bsf
44515 * sysdeps/i386/i686/multiarch/strchr.S: New file.
44516 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44517 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44518 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44519 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44520 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44521
1b48c537
UD
445222011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44523
49d42c37
UD
44524 * sysdeps/x86_64/wcscmp.S: New file.
44525
1b48c537
UD
44526 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44527 wcscmp-c wcscmp-sse2
44528 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44529 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44530 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44531 * wcsmbs/wcscmp.c: Allow renaming.
44532
15c95c5d
DM
445332011-09-05 David S. Miller <davem@davemloft.net>
44534
44535 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44536 stack slot, rather than the struct return pointer slot.
44537 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44538 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44540 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44541
2f0ad8f3
UD
445422011-09-05 Ulrich Drepper <drepper@gmail.com>
44543
d88ae418
UD
44544 * po/ja.po: Update from translation team.
44545
2f0ad8f3
UD
44546 [BZ #13144]
44547 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44548 kernel in 64-bit binaries.
44549
5f4318d1
DM
445502011-09-01 David S. Miller <davem@davemloft.net>
44551
44552 * elf/elf.h (HWCAP_SPARC_*): Move to..
44553 * sysdeps/sparc/sysdep.h: this new file and add new values.
44554 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44555 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44556 _DL_HWCAP_COUNT to 24.
44557 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44558 entries.
44559 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44560 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44561 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44562 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44563 instead of magic constants.
44564 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44565
3ba57516
DM
445662011-08-31 David S. Miller <davem@davemloft.net>
44567
44568 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44569 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44570 Reimplement to do errno handling inline.
44571 (SYSCALL_ERROR_HANDLER): New macro.
44572 (__SYSCALL_STRING): Do not do errno handling in asm.
44573 (__CLONE_SYSCALL_STRING): Delete.
44574 (__INTERNAL_SYSCALL_STRING): Delete.
44575 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44576 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44577 (PSEUDO): Reimplement to do errno handling inline.
44578 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44579 (SYSCALL_ERROR_HANDLER): New macro.
44580 (__SYSCALL_STRING): Do not do errno handling in asm.
44581 (__CLONE_SYSCALL_STRING): Delete.
44582 (__INTERNAL_SYSCALL_STRING): Delete.
44583 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44584 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44585 i386.
44586 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44587 (inline_syscall*): Add 'err' argument.
44588 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44589 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44590 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44591 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44592
44593 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44594 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44595
2bc17433
AS
445962011-08-30 Andreas Schwab <schwab@redhat.com>
44597
44598 * elf/rtld.c (dl_main): Relocate objects in dependency order.
44599
fbeb5f4d
JO
446002011-08-29 Jiri Olsa <jolsa@redhat.com>
44601
44602 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44603 directive.
44604
ad69cc26
DM
446052011-08-24 David S. Miller <davem@davemloft.net>
44606
44607 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44608
39dd69df
AS
446092011-08-24 Andreas Schwab <schwab@redhat.com>
44610
44611 * elf/Makefile: Add rules to build and run unload8 test.
44612 * elf/unload8.c: New file.
44613 * elf/unload8mod1.c: New file.
44614 * elf/unload8mod1x.c: New file.
44615 * elf/unload8mod2.c: New file.
44616 * elf/unload8mod3.c: New file.
44617
44618 * elf/dl-close.c (_dl_close_worker): Reset private search list if
44619 it wasn't used.
44620
2c0b250a
DM
446212011-08-23 David S. Miller <davem@davemloft.net>
44622
44623 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44624 subtract stack bias.
44625 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44626 %sp not %fp in calculations.
44627 (_JMPBUF_UNWINDS_ADJ): Likewise.
44628
22044b48
DM
44629 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44630 (aio_suspend): Call it to force an exception region around the
44631 AIO_MISC_WAIT() invocation.
44632
2cae4995
AS
446332011-08-23 Andreas Schwab <schwab@redhat.com>
44634
44635 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44636 backslash.
44637
873a772e
AJ
446382011-07-04 Aurelien Jarno <aurelien@aurel32.net>
44639
44640 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44641 protection macro.
44642 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44643 and <dl-machine.h>.
44644 (Elf64_FuncDesc): Remove.
44645
25ad0df1
DM
446462011-08-22 David S. Miller <davem@davemloft.net>
44647
44648 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44649 sigaltstack check, add missing cfi directives.
44650 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44651 missing cfi directives, and sigaltstack handling.
44652
e888bcbe
AS
446532011-08-16 Andreas Schwab <schwab@redhat.com>
44654
44655 [BZ #11724]
44656 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44657 object is seen twice.
44658 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44659
44660 * elf/Makefile (distribute): Add tst-initorder2.c.
44661 (tests): Add tst-initorder2.
44662 (modules-names): Add tst-initorder2a tst-initorder2b
44663 tst-initorder2c tst-initorder2d. Add rules to build them.
44664 ($(objpfx)tst-initorder2.out): New rule.
44665 * elf/tst-initorder2.c: New file.
44666 * elf/tst-initorder2.exp: New file.
44667
87162f46
AS
446682011-08-22 Andreas Schwab <schwab@redhat.com>
44669
70538b7f
AS
44670 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44671
f55ffe58
AS
44672 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44673 dependencies back to end of function.
44674
87162f46
AS
44675 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44676 $(elfobjdir)/ld.so.
44677
91b392a4
UD
446782011-08-21 Ulrich Drepper <drepper@gmail.com>
44679
44680 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44681 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44682 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44683 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44684 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44685 of __vdso_gettimeofday.
44686 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44687 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
44688 attribute_hidden.
44689 (_libc_vdso_platform_setup): Remove initialization of
44690 __vdso_gettimeofday and __vdso_time.
44691
5c43483f
UD
446922011-08-20 Ulrich Drepper <drepper@gmail.com>
44693
775a77e7
UD
44694 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44695 and fgetc_unlocked.
44696 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44697 getc_unlocked.
89f447ed 44698
49c74ba9
UD
44699 * elf/dl-open.c (add_to_global): Report additions to the global scope
44700 for LD_DEBUG=scopes.
44701 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 44702 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 44703
5c43483f
UD
44704 [BZ #13114]
44705 * stdio-common/Makefile (tests): Add bug24.
44706 * stdio-common/bug24.c: New file.
44707
a101b025
AJ
447082011-08-19 Andreas Jaeger <aj@suse.de>
44709
44710 [BZ #13114]
44711 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44712 non-existant file when using close-on-exec mode.
44713
c88f1766
UD
447142011-08-20 Ulrich Drepper <drepper@gmail.com>
44715
0276a718
UD
44716 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44717 the very first instruction.
44718
c88f1766
UD
44719 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44720 the CFI state in the end.
44721 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44722 inclusion of dl-trampoline.h.
44723 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44724
51ccffa0
AS
447252011-08-19 Andreas Schwab <schwab@redhat.com>
44726
94d7165f
AS
44727 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44728 expectations for long double.
44729
51ccffa0
AS
44730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44731 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44732
fd708658 447332011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
44734
44735 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44736 artificual limit depends upon the system page size.
44737
44f0a71e
UD
447382011-08-17 Ulrich Drepper <drepper@gmail.com>
44739
44740 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44741 * resolv/Makefile: Define CFLAGS-libresolv.
44742
8de79a24
AS
447432011-08-17 Andreas Schwab <schwab@redhat.com>
44744
44745 * nss/makedb.c (compute_tables): Make variables used in nested
44746 function static.
44747
27724598
UD
447482011-08-17 Ulrich Drepper <drepper@gmail.com>
44749
c5305d88
UD
44750 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44751 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44752 if buffer was too small.
44753
27724598
UD
44754 * elf/pldd.c (main): Attach to all threads in the process.
44755 Rewrite /proc handling to use *at functions.
44756
076fe015
UD
447572011-08-16 Ulrich Drepper <drepper@gmail.com>
44758
174baab3
UD
44759 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44760 specifies first scope to show.
44761 (dl_open_worker): Update callers. Move printing scope of new
44762 object to before the relocation.
44f0a71e 44763 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
44764 * sysdeps/generic/ldsodefs.h: Update declaration.
44765
076fe015
UD
44766 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44767 string for the scope number.
44768
a60df2c3
UD
447692011-08-14 Ulrich Drepper <drepper@gmail.com>
44770
44771 * nscd/servicescache.c (cache_addserv): Make sure written is always
44772 initialized.
44773
5e4287d1
RM
447742011-08-14 Roland McGrath <roland@hack.frob.com>
44775
85ae0589
RM
44776 * sysdeps/i386/i486/bits/atomic.h
44777 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44778 statement expression, so as to suppress "set but not used" warning.
44779 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44780
69f63097
RM
44781 * string/strncat.c (STRNCAT): Use prototype definition.
44782
675456ef
RM
44783 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44784 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44785 -Iprograms here.
44786 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44787 (localedef-modules): Add localedef.
44788 (locale-modules): Add locale.
44789
5e4287d1
RM
44790 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44791 * elf/rtld.c (dl_main): Invert order of assignment in last change,
44792 to avoid a warning.
44793
9c96ff23
DM
447942011-08-14 David S. Miller <davem@davemloft.net>
44795
44796 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44797 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44798
f9ddf089
UD
447992011-08-13 Ulrich Drepper <drepper@gmail.com>
44800
44f0a71e 44801 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
44802 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44803 * elf/rtld.c (dl_main): Set l_name of vDSO.
44804 Call _dl_show_scope when DL_DEBUG_SCOPES.
44805 (process_dl_debug): Recognize scopes flag and also set it for all.
44806 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44807 Declare _dl_show_scope.
44808
1dc27704
UD
44809 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44810 (do_dlopen): Pass caller_dlopen to dl_open.
44811 (__libc_dlopen_mode): Initialize caller_dlopen.
44812
f9ddf089
UD
44813 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44814 of libc. Make tolower call locale-independent. Optimize a bit by
44815 using isdigit instead of isalnum.
44816 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44817
9ac533d3
UD
448182011-08-12 Ulrich Drepper <drepper@gmail.com>
44819
44820 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44821 was a dependency or dynamically loaded.
44822
89edf2e9
UD
448232011-08-11 Ulrich Drepper <drepper@gmail.com>
44824
8e999d29
UD
44825 * intl/l10nflist.c: Allow architecture-specific pop function.
44826 * sysdeps/x86_64/l10nflist.c: New file.
44827
89edf2e9
UD
44828 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44829 classification.
44830
14d96785
AS
448312011-08-10 Andreas Schwab <schwab@redhat.com>
44832
44833 * include/dirent.h: Add libc_hidden_proto for scandirat and
44834 scandirat64. Don't declare __scandirat64.
44835 * dirent/scandirat.c: Add libc_hidden_def.
44836 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44837 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44838
6761ac04
DM
448392011-08-10 David S. Miller <davem@davemloft.net>
44840
44841 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44842 enum.
44843 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44844 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44845 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44846
c55fbd1e
UD
448472011-08-09 Ulrich Drepper <drepper@gmail.com>
44848
44849 * Versions.def [libc]: Add GLIBC_2.15.
44850 * dirent/Makefile (routines): Add scandirat and scandirat64.
44851 * dirent/Versions [libc]: Export scandirat and scandirat64 for
44852 GLIBC_2.15.
44853 * dirent/dirent.h: Declare scandirat and scandirat64.
44854 * dirent/scandirat.c: New file.
44855 * dirent/scandirat64.c: New file.
44856 * sysdeps/wordsize-64/scandirat.c: New file.
44857 * sysdeps/wordsize-64/scandirat64.c: New file.
44858 * dirent/opendir.c: Define opendirat.
44859 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
44860 using scandirat.
44861 * dirent/scandir64.c: Adjust for scandir.c change.
44862 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
44863 __scandirat64, and __scandir_cancel_handler.
44864 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
44865 additional parameter and use openat instead of open (outside of ld.so).
44866 Add new __opendir as wrapper around __opendirat.
44867 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44868 here without requiring old scandirat implementation.
44869
879165f2
UD
448702011-08-08 Ulrich Drepper <drepper@gmail.com>
44871
44872 * dirent/scandir.c (cancel_handler): Renamed to
44873 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
44874 defined. Adjust users.
44875 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44876 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44877
cb7e923b
UD
448782011-08-04 Ulrich Drepper <drepper@gmail.com>
44879
16292edd
UD
44880 * string/test-string.h (IMPL): Use __STRING to expand name and then
44881 stringify it.
44882
cb7e923b
UD
44883 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
44884 of cleanups.
44885
cff82933
LD
448862011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44887
44888 * string/Makefile: Update.
44889 (strop-tests): Append strncat.
44890 * string/test-wcscmp.c: New file.
44891 New comprehensive test for wcscmp.
44892 * string/test-strcmp.c: Update.
44893 (WIDE): New define.
44894
9be9bfcc
AS
448952011-07-22 Andreas Schwab <schwab@redhat.com>
44896
44897 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44898 line.
44899
2e96f1c7
AS
449002011-07-26 Andreas Schwab <schwab@redhat.com>
44901
44902 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44903 encoding to ACE if AI_IDN.
44904
85188888
JJ
449052011-08-01 Jakub Jelinek <jakub@redhat.com>
44906
44907 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44908 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44909
5fa16e9b
LD
449102011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44911
44912 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44913 Fix overflow bug in strncat.
44914 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44915
44916 * string/test-strncat.c: Update.
44917 Add new tests for checking overflow bugs.
44918
449192011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44920
44921 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44922 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44923 * sysdeps/i386/i686/multiarch/strcat.S: New file.
44924 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44925 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44926 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44927 * sysdeps/i386/i686/multiarch/strncat.S: New file.
44928 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44929 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44930
44931 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44932 (USE_AS_STRCAT): Define.
44933 Add strcat and strncat support.
44934 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44935
8c1a459f
AS
449362011-07-25 Andreas Schwab <schwab@redhat.com>
44937
44938 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44939 __n bigger than INT_MAX+1.
44940 (__strncmp_g): Likewise.
44941
bba33c28
UD
449422011-07-23 Ulrich Drepper <drepper@gmail.com>
44943
798be72d
UD
44944 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44945 * libio/stido.h: Likewise.
44946
8accd4dc
UD
44947 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44948 (AF_NFC): Define.
44949 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44950 (AF_NFC): Define.
44951
cbff0d96
UD
44952 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44953 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44954 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44955 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44956 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44957
9191c04a
UD
44958 [BZ #13021]
44959 * scripts/test-installation.pl: Don't expect libnss_test1 to be
44960 installed.
44961
bba33c28
UD
44962 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44963 typo.
44964 (_dl_x86_64_save_sse): Likewise.
44965
90f139dd
UD
449662011-07-22 Ulrich Drepper <drepper@gmail.com>
44967
1aae088a
UD
44968 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44969 OSXSAVE.
44970 (_dl_x86_64_save_sse): Likewise.
44971
8e2045f5
UD
44972 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44973
90f139dd
UD
44974 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44975
1d002f25
AS
449762011-07-21 Andreas Schwab <schwab@redhat.com>
44977
44978 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44979 change.
44980 (_dl_x86_64_save_sse): Use correct AVX check.
44981
21137f89
UD
449822011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44983
44984 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44985 bug in strncpy/strncat.
44986 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44987
a65c0b7a
UD
449882011-07-21 Ulrich Drepper <drepper@gmail.com>
44989
44990 * string/tester.c (test_strcat): Add tests for different alignments
44991 of source and destination.
44992 (test_strncat): Likewise.
44993
6986b98a
UD
449942011-07-20 Ulrich Drepper <drepper@gmail.com>
44995
90bb2039
UD
44996 [BZ #12852]
44997 * posix/glob.c (glob): Check passed in values before using them in
44998 expressions to avoid some overflows.
44999 (glob_in_dir): Likewise.
45000
5644ef54
UD
45001 [BZ #13007]
45002 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45003 check for AVX enablement so that we don't crash with old kernels and
45004 new hardware.
45005 * elf/tst-audit4.c: Add same checks here.
45006 * elf/tst-audit6.c: Likewise.
45007
45008 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 45009
bfc9dc9b
AS
450102011-07-09 Andreas Schwab <schwab@linux-m68k.org>
45011
45012 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45013
702e64bb
UD
450142011-07-20 Ulrich Drepper <drepper@gmail.com>
45015
45016 * po/cs.po: Update from translation team.
45017 * po/bg.po: Likewise.
45018
295e904f
MP
450192011-07-12 Marek Polacek <mpolacek@redhat.com>
45020
45021 * misc/sys/cdefs.h: Add support for const attribute.
45022 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45023 to gnu_dev_{major,minor,makedev} functions.
45024
3ff94596
MP
450252011-07-20 Marek Polacek <mpolacek@redhat.com>
45026
45027 * intl/dcigettext.c (get_output_charset): Add missing bracket.
45028
28b59fca
AS
450292011-07-20 Andreas Schwab <schwab@redhat.com>
45030
45031 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45032 strlen results.
45033
19df733e
AK
450342011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45035
45036 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45037 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45038 register in order to avoid conflicts with the soft frame pointer
45039 being held in r11 when necessary.
45040 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45041 (INTERNAL_VSYSCALL_NCS): Likewise.
45042
c8835729
MP
450432011-07-14 Marek Polacek <mpolacek@redhat.com>
45044
45045 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45046 * elf/dl-fini.c (_dl_fini): Adjust caller.
45047 * elf/dl-close.c (_dl_close_worker): Likewise.
45048 * sysdeps/generic/ldsodefs.h: Adjust declaration.
45049
b902330c
MP
450502011-07-15 Marek Polacek <mpolacek@redhat.com>
45051
8991e135
MP
45052 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45053 "aux_cache->nlibs < 0".
45054
b902330c
MP
45055 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45056 in the reload-count case.
45057
99710781
LD
450582011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45059
45060 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45061 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45062 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45063 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45064 * sysdeps/x86_64/multiarch/strcat.S: New file.
45065 * sysdeps/x86_64/multiarch/strncat.S: New file.
45066 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45067 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45068 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45069 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45070 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45071 (USE_AS_STRCAT): Define.
45072 Add strcat and strncat support.
45073 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45074 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45075 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45076 * string/strncat.c: Update.
45077 (USE_AS_STRNCAT): Define.
45078 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45079 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45080 and i7.
45081 * sysdeps/x86_64/multiarch/init-arch.h
45082 (bit_Prefer_PMINUB_for_stringop): New.
45083 (index_Prefer_PMINUB_for_stringop): Likewise.
45084 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45085 bit_Prefer_PMINUB_for_stringop.
45086
7dc6bd90
UD
450872011-07-19 Ulrich Drepper <drepper@gmail.com>
45088
45089 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45090 buffer64.
45091 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45092 of casting of buffer.
45093 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45094 buffer32 and buffer64.
45095 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45096 writes instead of casting of buffer.
45097 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45098 buffer32.
45099 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45100 casting of buffer.
45101
e0e72284
AS
451022011-07-19 Andreas Schwab <schwab@redhat.com>
45103
45104 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45105
feb1eb0b
UD
451062011-07-19 Ulrich Drepper <drepper@gmail.com>
45107
45108 * nscd/nscd.c (termination_handler): Don't do anything for a database
45109 if it has not yet been initialized.
45110
298711ff
UD
451112011-07-18 Ulrich Drepper <drepper@gmail.com>
45112
45113 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45114
451152011-07-15 Marek Polacek <mpolacek@redhat.com>
45116
45117 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45118
f9d68389
UD
451192011-07-18 Ulrich Drepper <drepper@gmail.com>
45120
45121 * po/nl.po: Update from translation team.
45122 * po/sv.po: Likewise.
45123
db290cf5
RM
451242011-07-16 Roland McGrath <roland@hack.frob.com>
45125
45126 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45127 now disallowed by GCC.
5c550700 45128
fd5e21c7
RM
45129 * configure.in (use-default-link): Default to yes if a test -shared
45130 link meets our qualifications.
45131 * configure: Regenerated.
45132
5c550700
RM
45133 * config.make.in (output-format): New variable.
45134 * configure.in: Check for ld --print-output-format support.
45135 * configure: Regenerated.
45136 * Makerules ($(common-objpfx)format.lds)
45137 [$(output-format) != unknown]: Just use $(output-format),
45138 instead of the linker-script munging.
45139
9fa2c032
RM
451402011-07-14 Roland McGrath <roland@hack.frob.com>
45141
a6928d51
RM
45142 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45143 of $(common-objpfx)shlib.lds.
45144 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45145
661607b3
RM
45146 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45147 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45148
9fa2c032
RM
45149 * configure.in (-z relro check): Adjust test code to add a large
45150 writable data section after it.
45151 * configure: Regenerated.
45152
defe9061
RM
451532011-07-11 Roland McGrath <roland@hack.frob.com>
45154
45155 * configure.in (-z relro check): Fix test code to make the variable
45156 truly const.
45157 * configure: Regenerated.
45158
319b9ad4
UD
451592011-07-11 Ulrich Drepper <drepper@gmail.com>
45160
45161 * nscd/nscd.h (struct traced_file): Define.
45162 (struct database_dyn): Remove inotify_descr, reset_res, and filename
45163 elements. Add traced_files.
45164 (inotify_fd): Declare.
45165 (register_traced_file): Declare.
45166 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45167 (inotify_fd): Export.
45168 (resolv_conf_descr): Remove.
45169 (nscd_init): Move inotify descriptor creation to main.
45170 Don't register files for notification here.
45171 (register_traced_file): New function.
45172 (invalidate_cache): Don't use reset_res to determine whether to call
45173 res_init, go through the list of registered files.
45174 (main_loop_poll): The inotify descriptors are now stored in the
45175 structures for the traced files.
45176 (main_loop_epoll): Likewise
45177 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
45178 to __nss_disable_nscd.
45179 * nscd/cache.c (prune_cache): There is no single inotify descriptor
45180 for a database anymore. Check the records for all the registered
45181 files instead.
45182 * nss/Makefile (libnss_files-routines): Add files-init.
45183 (libnss_db-routines): Add db-init.
45184 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45185 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45186 * nss/nss_db/db-init.c: New file.
45187 * nss/nss_files/files-init.c: New file.
45188 * nss/nsswitch.c (nss_load_library): New function. Broken out of
45189 __nss_lookup_function.
45190 (__nss_lookup_function): Call nss_load_library.
45191 (nss_load_all_libraries): New function.
45192 (__nss_disable_nscd): Take parameter with callback function for files
45193 to register. Set is_nscd. Load all the DSOs for the NSS modules
45194 used for the cached services.
45195 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45196 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45197 options for features to all the files in nscd.
45198
45199 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45200
23bee3e8
RM
452012011-07-10 Roland McGrath <roland@hack.frob.com>
45202
45203 * csu/elf-init.c (__libc_csu_init): Comment typo.
45204
46a5b7f0
UD
452052011-07-09 Ulrich Drepper <drepper@gmail.com>
45206
45207 * po/pl.po: Update from translation team.
45208 * po/ja.po: Likewise.
45209 * po/ru.po: Likewise.
45210 * po/ko.po: Likewise.
45211 * po/fr.po: Likewise.
45212
d30cf5bb
RM
452132011-07-09 Roland McGrath <roland@hack.frob.com>
45214
113ddea4
RM
45215 * configure.in (.ctors/.dtors header and trailer check):
45216 Use an empirical test on a built program.
45217 * configure: Regenerated.
45218
574920b4
RM
45219 * configure.in (-z relro check): Use an empirical test on a built DSO.
45220 Detect, but do not require, on ia64.
45221 * configure: Regenerated.
45222
d30cf5bb
RM
45223 * configure.in (READELF): Find it with AC_CHECK_TOOL.
45224 Update tests that use readelf to use $READELF instead.
45225 * configure: Regenerated.
45226
8538fdb3
UD
452272011-07-08 Ulrich Drepper <drepper@gmail.com>
45228
45229 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45230 if the result is not used.
45231
04d08991
AJ
452322011-07-05 Andreas Jaeger <aj@suse.de>
45233
45234 [BZ#9696]
45235 * stdlib/tst-strtod.c: Add testcase.
45236
de283087
AD
452372011-07-07 Ulrich Drepper <drepper@gmail.com>
45238
4e5f31c8 45239 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 45240 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
45241 The latter has a higher limit. Take additional parameter to pass to
45242 the new function.
45243 (__pathconf): Pass file to __statfs_link_max.
45244 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45245 __statfs_link_max.
45246 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45247 __statfs_link_max.
45248
de283087
AD
45249 [BZ #12868]
45250 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45251 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45252 Handle Lustre.
45253 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45254 (__statfs_filesize_max): Likewise.
45255 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45256
c75fa153
AJ
452572011-07-05 Andreas Jaeger <aj@suse.de>
45258
45259 * resolv/res_comp.c (dn_skipname): Remove unused variable.
45260
1a544854
UD
452612011-07-06 Marek Polacek <mpolacek@redhat.com>
45262
45263 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45264 `status' variable.
45265 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45266 Likewise.
45267
6f0eec67
UD
452682011-07-04 H.J. Lu <hongjiu.lu@intel.com>
45269
45270 * Makefile (strop-tests): Add strncat.
45271 * string/test-strncat.c: New file.
45272
aae30307
UD
452732011-06-30 Marek Polacek <mpolacek@redhat.com>
45274
45275 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45276
c0cfb5eb
UD
452772011-06-21 Andreas Jaeger <aj@suse.de>
45278
45279 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45280 Copy rule from iconvdata/Makefile.
45281
01636b21
UD
452822011-07-06 Ulrich Drepper <drepper@gmail.com>
45283
45284 [BZ #12922]
45285 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45286 but no long options are defined, just return 'W'.
45287
9895c8bc
UD
452882011-06-22 Marek Polacek <mpolacek@redhat.com>
45289
45290 [BZ #9696]
45291 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45292
5d4cf042
UD
452932011-07-06 Ulrich Drepper <drepper@gmail.com>
45294
45295 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45296 netgroups to read.
960e5535 45297 (innetgr): Likewise.
5d4cf042 45298
751eb97e
RM
452992011-07-05 Roland McGrath <roland@hack.frob.com>
45300
45301 * config.make.in (install_root): Default to $(DESTDIR).
45302
f15f1e45
UD
453032011-07-05 Ulrich Drepper <drepper@gmail.com>
45304
45305 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45306
4e34ac6a
RM
453072011-07-02 Roland McGrath <roland@hack.frob.com>
45308
5e9b6af4
RM
45309 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45310
84f9ea0f
RM
45311 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45312 containing directory rather than embedding absolute directory names.
45313
ea5ee9f7
RM
45314 * scripts/check-local-headers.sh: Rewritten using awk.
45315 Match by word, not by line. Print error messages for matches.
45316 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45317
1b74661a
RM
45318 * Makerules [shlib-lds-flags empty]:
45319 ($(common-objpfx)libc_pic.opts): New target.
45320 ($(common-objpfx)libc_pic.os.clean): New target.
45321 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45322
45323 * config.make.in (OBJCOPY): New variable.
45324 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45325 * configure: Regenerated.
45326
f781ef40
RM
45327 * config.make.in (use-default-link): New variable.
45328 * configure.in (use_default_link): Grok --with-default-link to set it.
45329 * configure: Regenerated.
45330 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45331 (shlib-lds, shlib-lds-flags): Define to empty.
45332
2d4fa81e
RM
45333 * Makerules (shlib-lds): New variable.
45334 (shlib-lds-flags): New variable.
45335 (build-shlib, build-moduile, build-module-asneeded): Use it.
45336 ($(common-objpfx)libc.so): Use $(shlib-lds).
45337 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45338 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45339
31fffa6b
RM
45340 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45341 DT_FLAGS/DT_FLAGS_1 with zero flags.
45342
4e34ac6a
RM
45343 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45344 linker script munging.
45345
fcfc776b
UD
453462011-07-02 Ulrich Drepper <drepper@gmail.com>
45347
45348 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45349 as 128-bit value.
45350 * crypt/sha512.c (sha512_process_block): Perform total addition using
45351 128-bit if possible.
45352 (__sha512_finish_ctx): Likewise.
45353 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45354 as 64-bit value.
45355 * crypt/sha256.c (SWAP64): Define.
45356 (sha256_process_block): Perform total addition using 64-bit if
45357 possible.
45358 (__sha256_finish_ctx): Likewise.
45359
99231d9a
UD
453602011-07-01 Ulrich Drepper <drepper@gmail.com>
45361
45362 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
45363 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45364 * nscd/hstcache.c (cache_addhst): Likewise.
45365 * nscd/grpcache.c (cache_addgr): Likewise.
45366 * nscd/aicache.c (addhstaiX): Likewise
45367 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45368
445b4a53
TK
453692011-07-01 Thorsten Kukuk <kukuk@suse.de>
45370
45371 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45372 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45373 * nscd/hstcache.c (cache_addhst): Likewise.
45374 * nscd/grpcache.c (cache_addgr): Likewise.
45375 * nscd/aicache.c (addhstaiX): Likewise
45376
6d4d8e8e
AS
453772011-07-01 Andreas Schwab <schwab@redhat.com>
45378
45379 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45380 domain only when needed.
45381
89f654c5
AS
453822011-06-30 Andreas Schwab <schwab@redhat.com>
45383
45384 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45385 is always restored.
45386
cf3b23ff
UD
453872011-06-29 Ulrich Drepper <drepper@gmail.com>
45388
45389 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45390 are re-adding the entry.
45391 * nscd/servicescache.c (cache_addserv): Likewise.
45392
751626f9
AJ
453932011-06-30 Aurelien Jarno <aurelien@aurel32.net>
45394
45395 * sysdeps/generic/dl-irel.h: fix protection against multiple
45396 inclusions.
45397 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45398
9113ea1f
UD
453992011-06-28 Ulrich Drepper <drepper@gmail.com>
45400
5c0b8d90
UD
45401 [BZ #12935]
45402 * malloc/memusage.sh: Fix quoting in message.
45403 * debug/xtrace.sh: Likewise.
45404
9113ea1f
UD
45405 * configure.in: Remove support for --experimental-malloc option, make
45406 it the default.
45407 * config.make.in: Likewise.
45408 * malloc/Makefile: Likewise.
45409
a4172181
AS
454102011-06-27 Andreas Schwab <schwab@redhat.com>
45411
45412 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45413 two-byte characters.
45414
78a7eee7
RM
454152011-06-27 Roland McGrath <roland@hack.frob.com>
45416
62bede13
RM
45417 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45418 AC_CACHE_CHECK invocation.
45419 * configure: Regenerated.
45420
78a7eee7
RM
45421 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45422
5ce33a62
UD
454232011-06-27 Ulrich Drepper <drepper@gmail.com>
45424
034807a9
UD
45425 [BZ #12350]
45426 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
45427 bit from old_res_options.
45428
4902da17
UD
45429 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45430
5ce33a62
UD
45431 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45432 value type for setfct.
45433
c2344f56
L
454342011-06-23 H.J. Lu <hongjiu.lu@intel.com>
45435
45436 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45437 __gettimeofday instead of gettimeofday.
45438
68468076
UD
454392011-06-26 Ulrich Drepper <drepper@gmail.com>
45440
45441 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45442
acb0d739
L
454432011-06-24 H.J. Lu <hongjiu.lu@intel.com>
45444
45445 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45446
45447 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45448 info.
45449
8912479f
L
454502011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45451
45452 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45453 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45454 strcpy-sse2-unaligned strncpy-sse2-unaligned
45455 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45456 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45457 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45458 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45459 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45460 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45461 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45462 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45463 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45464 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45465 (STRCPY): Support SSE2 and SSSE3 versions.
45466
d5495a11
UD
454672011-06-24 Ulrich Drepper <drepper@gmail.com>
45468
45469 [BZ #12874]
45470 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45471 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45472 kernels which artificially limit size of requests.
45473
0b1cbaae
L
454742011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45475
45476 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45477 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45478 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45479 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45480 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45481 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45482 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45483 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45484 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45485 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45486 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45487 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45488 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45489 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45490 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45491 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45492 Enable unaligned load optimization for Intel Core i3, i5 and i7
45493 processors.
45494 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45495 Define.
45496 (index_Fast_Unaligned_Load): Define.
45497 (HAS_FAST_UNALIGNED_LOAD): Define.
45498
07f494a0
MP
454992011-06-23 Marek Polacek <mpolacek@redhat.com>
45500
45501 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45502
fa3fc0fe
UD
455032011-06-22 Ulrich Drepper <drepper@gmail.com>
45504
45505 [BZ #12907]
45506 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45507 until it is clear that the information is realy needed.
45508 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45509
e12df166
AS
455102011-06-22 Andreas Schwab <schwab@redhat.com>
45511
45512 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45513
852eb34d
UD
455142011-06-22 Ulrich Drepper <drepper@gmail.com>
45515
84e2a551
UD
45516 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45517 /sys/devices/system/cpu/online if it is usable.
45518
852eb34d
UD
45519 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45520 reading the information from the /proc filesystem to once a second.
45521
6e502e19
UD
455222011-06-21 Andreas Jaeger <aj@suse.de>
45523
45524 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45525 NULL after inclusion of kernel headers.
45526
75d39ff2
UD
455272011-06-21 Ulrich Drepper <drepper@gmail.com>
45528
51f9aa6a
UD
45529 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45530 calls to internal_setent.
45531
c0244a9d
UD
45532 [BZ #12885]
45533 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45534 addresses using gethostbyname4_r ignore IPv4 addresses.
45535
c5e3c2ae
UD
45536 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45537 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
45538
75d39ff2
UD
45539 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45540
42675c6f
DM
455412011-06-20 David S. Miller <davem@davemloft.net>
45542
45543 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45544 inclusions.
45545 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45546
45547 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45548 (elf_irel): Use it.
45549 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45550 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45551 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45552 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45553 * sysdeps/x86_64/dl-irel.h: Likewise.
45554
45555 * elf/dl-runtime.c: Use elf_ifunc_invoke.
45556 * elf/dl-sym.c: Likewise.
45557
57912a71
UD
455582011-06-15 Ulrich Drepper <drepper@gmail.com>
45559
45560 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
45561 need to dereference resplen2.
45562
ee22793d
AS
455632011-06-14 Andreas Schwab <schwab@redhat.com>
45564
45565 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45566
a9e836b0
UD
455672011-06-15 Ulrich Drepper <drepper@gmail.com>
45568
77fb9117
UD
45569 * Makeconfig: Define vardbdir and inst_vardbdir.
45570 * nss/Makefile: Add rules to install db-Makefile.
45571
40c1b22c
UD
45572 * nss/nss_db/db-XXX.c: Cleanup.
45573
9f2da732
UD
45574 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45575 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45576 GLIBC_PRIVATE.
45577 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45578 * nss/makedb.c: Implement -g option to specify that value strings
45579 are generated and should not be added to table iterated over for
45580 get*ent calls.
45581 * nss/nss_db/db-initgroups.c: New file.
45582
82e9a1f7
UD
45583 * nss/getent.c: Add support for initgroups lookups through getgrouplist
45584 interface.
45585
c41af17e
UD
45586 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45587 (internal_getgrouplist): Adjust to name change.
45588 Update use_initgroups_entry if this is not the first call.
45589 * nss/databases.def: Add initgroups entry.
45590
a9e836b0
UD
45591 * nss/makedb.c (compute_tables): Check result of multiple hash table
45592 sizes to minimize maximum chain length.
45593
2666d441
UD
455942011-06-14 Ulrich Drepper <drepper@gmail.com>
45595
45596 * Versions.def: Add entry for libnss_db.
45597 * shlib-versions: Likewise.
45598 * nss/Makefile: Add rules to build libnss_db.
45599 * nss/Versions: Add libnss_db information. Organize libnss_files
45600 entries better.
45601 * nss/db-Makefile: Add gshadow support. Change rules for the new
45602 makedb progra. Some minor improvements to generate smaller files.
45603 * nss/nss_db/nss_db.h: Move NSS database header data structures to
45604 here from...
45605 * nss/makedb.c: ...here.
45606 Improve database format to be smaller and require less memory at
45607 runtime.
45608 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
45609 db anymore.
45610 * nss/nss_db/db-netgrp.c: Likewise.
45611 * nss/nss_db/db-open.c: Likewise.
45612 * nss/nss_files/flies-XXX.x: Adjust comments.
45613 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45614 * nss/nss_files/files-grp.c: Likewise.
45615 * nss/nss_files/files-hosts.c: Likewise.
45616 * nss/nss_files/files-network.c: Likewise.
45617 * nss/nss_files/files-proto.c: Likewise.
45618 * nss/nss_files/files-pwd.c: Likewise.
45619 * nss/nss_files/files-rpc.c: Likewise.
45620 * nss/nss_files/files-service.c: Likewise.
45621 * nss/nss_files/files-sgrp.c: Likewise.
45622 * nss/nss_files/files-spwd.c: Likewise.
45623 * nss/nss_db/db-alias.c: Removed.
45624 * nss/nss_db/dummy-db.h: Removed.
45625
9ee76b5a
UD
456262011-06-02 Ulrich Drepper <drepper@gmail.com>
45627
45628 * nss/makedb.c: Rewritten to not use database library.
45629 * nss/Makefile: Update to build new makedb program.
45630
c71ca1f8
AJ
456312011-06-14 Andreas Jaeger <aj@suse.de>
45632
45633 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45634 memset declaration.
45635
3154bfb8
UD
456362011-06-10 Andreas Schwab <schwab@redhat.com>
45637
45638 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45639 tmpbuf.
45640
b350afab
RM
456412011-06-10 Roland McGrath <roland@hack.frob.com>
45642
decd4e50
RM
45643 * Makerules (shlib.lds): Fail if the linker script comes out empty.
45644 * elf/Makefile ($(objpfx)ld.so): Likewise.
45645
5615eaf2
RM
45646 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45647 Don't list ld.so twice in dependencies.
45648
45649 * posix/bug-regex31.c: Include <stdlib.h>.
45650
45651 * nscd/hstcache.c (cache_addhst): Remove unused variable.
45652
45653 * nis/nss_compat/compat-spwd.c
45654 (getspent_next_nss_netgr): Remove unused variable.
45655 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45656
45657 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45658 nonmembers" output to use the right array.
45659
45660 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45661
45662 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45663
45664 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45665 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45666 * catgets/gencat.c (read_input_file): Likewise.
45667 * locale/programs/locarchive.c (enlarge_archive): Likewise.
45668
45669 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45670 variable definition inside #if's controlling its use.
45671
45672 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45673
45674 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45675
45676 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45677
45678 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45679 unreachable code.
45680
45681 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45682
b68e08db
RM
45683 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45684 * configure: Regenerated.
45685
b350afab
RM
45686 * Makerules: Revert last change.
45687 * elf/Makefile: Likewise.
45688
28368601
RM
456892011-06-09 Roland McGrath <roland@hack.frob.com>
45690
45691 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45692 * elf/Makefile ($(objpfx)librtld.os): Likewise.
45693 (reloc-link): Likewise.
45694
11988f8f
UD
456952011-06-09 Ulrich Drepper <drepper@gmail.com>
45696
45697 * elf/Makefile: Add rules to build pldd.
45698 * elf/pldd.c: New file.
45699 * elf/pldd-xx.c: New file.
45700
e80fab37
UD
457012011-06-07 Ulrich Drepper <drepper@gmail.com>
45702
45703 * version.h: Update for 2.15 development version.
45704
9b849836
DM
457052011-06-07 David S. Miller <davem@davemloft.net>
45706
45707 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45708 ifuncs.
45709 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45710 elf_machine_lazy_rel): Likewise.
45711 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45712 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45713 elf_machine_lazy_rel): Likewise.
45714 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45715 dl_hwcap via passed in argument.
45716 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45717 Likewise.
45718
5a31b283
AK
457192011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45720
45721 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
45722
069e52f8
RM
457232011-06-06 Roland McGrath <roland@hack.frob.com>
45724
45725 [BZ #12849]
45726 * manual/fdl-1.1.texi: New file, verbatim from:
45727 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45728 * manual/lgpl-2.1.texi: New file, verbatim from:
45729 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45730 * manual/Makefile (licenses): New variable, list those new file names.
45731 (texis): Use it.
45732 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45733
45734 * manual/fdl.texi: File removed.
45735 * manual/lesser.texi: File removed.
45736 * manual/libc.texinfo (Copying, Documentation License):
45737 Use new @include file names, put @appendix directive before @include.
45738
f16846a5
JJ
457392011-06-04 Jakub Jelinek <jakub@redhat.com>
45740
45741 [BZ #12841]
45742 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45743 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45744 (mq_open): Add __NTH.
45745
3d29045b
L
457462011-06-02 H.J. Lu <hongjiu.lu@intel.com>
45747
45748 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45749 Assume Intel Core i3/i5/i7 processor if AVX is available.
45750
8c297311
UD
457512011-05-31 Ulrich Drepper <drepper@gmail.com>
45752
45753 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45754 typo.
45755
c8fc0c91
UD
457562011-05-31 Andreas Schwab <schwab@redhat.com>
45757
45758 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45759 memory. Use alloca_account. Fix memory leak when retrying.
45760
5b27a807
UD
457612011-05-31 Ulrich Drepper <drepper@gmail.com>
45762
356f8bc6
UD
45763 * version.h (RELEASE): Bump for 2.14 release.
45764 * include/features.h (__GLIBC_MINOR__): Bump to 14.
45765
5b27a807
UD
45766 * config.make.in (RANLIB): Remove entry.
45767
01f16ab0
UD
457682011-05-30 Ulrich Drepper <drepper@gmail.com>
45769
41fce8bd
UD
45770 * po/Makefile (po-sed-cmd): Add ksh to extensions.
45771 (libc.pot): Work around missing support for .ksh extension in xgettext.
45772
4769ae77
UD
45773 [BZ #12684]
45774 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45775 if both request failed.
45776 (send_dg): In case of server errors clear resplen or *resplen2.
45777
6b1e7d19
UD
45778 [BZ #12454]
45779 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45780 when there are multiple maps.
45781 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45782 (_dl_fini): Remove test here.
45783
01f16ab0
UD
45784 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45785
b1ebd700
UD
457862011-05-29 Ulrich Drepper <drepper@gmail.com>
45787
7ae22829
UD
45788 [BZ #12350]
45789 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45790 bit from old_res_options.
45791 (gaih_inet): Likewise.
45792
553149f6 45793 [BZ #11099]
18a84741 45794 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
45795 as signed.
45796
652ffab1
UD
45797 * resolv/res_init.c (res_setoptions): Make the code more compact.
45798
16985fd0
UD
45799 [BZ #11558]
45800 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45801 set RES_USEVC.
45802
0464f746
UD
45803 [BZ #11634]
45804 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45805
7d17596c
UD
45806 * malloc/malloc.h: Mark malloc hook variables as deprecated.
45807
cf6bbbd7
UD
45808 [BZ #11781]
45809 * malloc/malloc.h: Declare malloc hook variables as volatile.
45810
13f1ab36
UD
45811 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45812 in last patch.
45813
b1ebd700
UD
45814 [BZ #11799]
45815 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 45816 raise in the comment.
80e2212d
UD
45817 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45818 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45819 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 45820
ce67228d
UD
458212011-05-28 Ulrich Drepper <drepper@gmail.com>
45822
8887a920
UD
45823 [BZ #12811]
45824 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45825 grow the buffers more if it already has to be sufficient.
45826 (build_wcs_upper_buffer): Likewise.
45827 * posix/regexec.c (check_matching): Likewise.
45828 (clean_state_log_if_needed): Likewise.
45829 (extend_buffers): Don't enlarge buffers beyond size of the input
45830 buffer.
45831 Patches mostly by Emil Wojak <emil@wojak.eu>.
45832 * posix/bug-regex32.c: New file.
45833 * posix/Makefile (tests): Add bug-regex32.
45834
4f031072
UD
45835 * locale/findlocale.c (_nl_find_locale): Return right away if
45836 _nl_explode_name failed.
45837 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45838
d0478f0c
UD
45839 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45840
de81b246
UD
45841 * debug/xtrace.sh: Unify messages.
45842 * malloc/memusage.sh: Likewise.
45843
c738465a
UD
45844 [BZ #12813]
45845 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45846 time symbol from vDSO. Substitute with vsyscall if not available.
45847 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45848 __vdso_time.
45849
f1f929d7
UD
45850 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45851 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45852 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45853 Add sendmmsg and internal_sendmmsg.
45854 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45855 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45856 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45857
ce67228d
UD
45858 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45859 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45860 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45861
e57420c6
UD
458622011-05-27 Ulrich Drepper <drepper@gmail.com>
45863
a8509ca5
UD
45864 [BZ #12813]
45865 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45866 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
45867 available.
45868 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45869 __vdso_getcpu.
45870
e57420c6
UD
45871 [BZ #12814]
45872 * iconvdata/Makefile (tests): Add bug-iconv9.
45873 * iconvdata/bug-iconv9.c: New file.
45874
4d07db15
AS
458752011-05-27 Andreas Schwab <schwab@redhat.com>
45876
45877 [BZ #12814]
45878 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45879
ea486f69
JJ
458802011-05-25 Jakub Jelinek <jakub@redhat.com>
45881
45882 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45883 (struct user_regs_struct): Change intcs field back to cs.
45884
6f038433
UD
458852011-05-25 Ulrich Drepper <drepper@gmail.com>
45886
45887 * po/ja.po: Update from translation team.
45888
67f86a25
UD
458892011-05-23 Ulrich Drepper <drepper@gmail.com>
45890
45891 [BZ #12795]
45892 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45893 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45894
def7fbd6
AS
458952011-05-20 Andreas Schwab <schwab@redhat.com>
45896
45897 * stdlib/longlong.h: Update from GCC.
45898
f50ef8f1
AS
458992011-05-23 Andreas Schwab <schwab@redhat.com>
45900
45901 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45902 parameter name.
45903 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45904 Add parameter name.
45905 (__sysconf): Pass it down.
45906
de7ce8f1
UD
459072011-05-22 Ulrich Drepper <drepper@gmail.com>
45908
f2962a71
UD
45909 [BZ #12671]
45910 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45911 some situations.
45912 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45913 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45914 add in in __libc_use_alloca calls. Adjust callers.
45915 (glob): Use malloc in some situations.
45916
de7ce8f1
UD
45917 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45918 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45919 pltexit.
45920
aec84f53
UD
459212011-05-21 Ulrich Drepper <drepper@gmail.com>
45922
05bb4a68
UD
45923 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45924 and CLOCK_BOOTTIME_ALARM.
45925
7ea72f99
UD
45926 [BZ #12782]
45927 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45928 is returned.
45929
7e4afad5
UD
45930 * string/_strerror.c (__strerror_r): Print negative errors as signed
45931 numbers.
45932
8e211fec
UD
45933 [BZ #12777]
45934 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45935 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45936 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45937
f7d82dc9
UD
45938 * configure.in: Fix typo in redirection and correct removal of test
45939 files in two cases.
45940
cc9e536d
UD
45941 [BZ #12788]
45942 * locale/setlocale.c (new_composite_name): Fix test to check for
45943 identical name of all categories.
45944
aec84f53
UD
45945 [BZ #12792]
45946 * libio/filedoalloc.c (local_isatty): New function.
45947 (_IO_file_doallocate): Use local_isatty.
45948 * stdio-common/perror.c (perror): In case a new stream is used
45949 forward the stream error.
45950 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45951 error flag.
45952
78e64fdc
RT
459532011-05-20 Ulrich Drepper <drepper@gmail.com>
45954
34a9094f
UD
45955 [BZ #11869]
45956 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45957 alloca.
45958 * include/alloca.h (extend_alloca_account): Define.
45959
78e64fdc
RT
45960 [BZ #11857]
45961 * posix/regex.h: Fix comments with documentation of user-accessible
45962 fields after compilation and describe correct free'ing of pattern
45963 after re_compile_pattern.
45964 Patch by Reuben Thomas <rrt@sc3d.org>.
45965
457bddfc
RA
459662011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
45967
45968 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45969 and -mno-altivec to prevent the compiler from using Altivec and/or
45970 VSX instructions when the corresponding registers are not available.
45971
a4527b51
AS
459722011-05-19 Andreas Schwab <schwab@redhat.com>
45973
45974 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45975
ed690b2f
UD
459762011-05-19 Ulrich Drepper <drepper@gmail.com>
45977
45978 * libio/freopen.c (freopen): Use __dup2, not dup2.
45979 * libio/freopen64.c (freopen64): Likewise.
45980
8db73634
L
459812011-05-17 H.J. Lu <hongjiu.lu@intel.com>
45982
45983 [BZ #12775]
45984 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45985 * math/Makefile (tests): Add test-powl.
45986 (CFLAGS-test-powl.c): Define.
45987 * math/test-powl.c: New file.
45988
0a197a9d
L
459892011-05-16 H.J. Lu <hongjiu.lu@intel.com>
45990
45991 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45992
ee30c380
UD
459932011-05-17 Ulrich Drepper <drepper@gmail.com>
45994
45995 [BZ #11837]
45996 * iconvdata/gb18030.c: Update to GB18020-2005.
45997
6ce75379
UD
459982011-05-16 Ulrich Drepper <drepper@gmail.com>
45999
a4b89fd8
AR
46000 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46001 RE_SYNTAX_POSIX_AWK): Update to match recent development.
46002 Patch by Aharon Robbins <arnold@skeeve.com>.
46003
ea389b12
UD
46004 [BZ #11892]
46005 * stdlib/putenv.c (putenv): Don't always create copy of the variable
46006 on the stack.
46007
68a3f91f
UD
46008 [BZ #11895]
46009 * misc/pselect.c (__pselect): Handle timeout value errors hidden
46010 through underflows.
46011
15cc7dd1
UD
46012 [BZ #12766]
46013 * misc/error.c (error_at_line): Ensure file_name and old_file_name
46014 point to strings before performing equality test for error_one_per_line
46015 mode.
46016
f3799213
UD
46017 [BZ #11697]
46018 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46019
d79a9c94
UD
46020 [BZ #11820]
46021 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46022 (struct user_fpregs_struct): Avoid __uint*_t types.
46023
56e5eb46
UD
46024 [BZ #6420]
46025 * malloc/mtrace.c (tr_where): Add additional parameter to point to
46026 symbol info. Use it instead of calling _dl_addr locally.
46027 (lock_and_info): New function.
46028 (tr_freehook): Call lock_and_info and pass symbol info as additional
46029 parameter to tr_where.
46030 (tr_mallochook): Likewise.
46031 (tr_reallochook): Likewise.
46032 (tr_memalignhook): Likewise.
46033
6ce75379
UD
46034 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
46035 used and couldn't be at all thread-safe.
46036
f8a3b5bf
UD
460372011-05-15 Ulrich Drepper <drepper@gmail.com>
46038
94b7cc37
UD
46039 * libio/freopen.c (freopen): Don't close old file descriptor
46040 before the new one is opened. Instead dup the new file descriptor
46041 to the old one after the new stream is created.
46042 * libio/freopen64.c (freopen64): Likewise.
46043 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46044 * libio/fileops.c (_IO_new_file_close_it): Handle new
46045 _IO_FLAGS2_NOCLOSE flag.
46046 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46047 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46048 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46049 _IO_FLAGS2_NOCLOSE flag.
46050 * include/unistd.h: Add hidden_proto for dup3.
46051 Define __have_dup3.
46052 * io/dup3.c: Define hidden symbol.
46053 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46054
bd25564e
UD
46055 [BZ #7101]
46056 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46057 when an incomplete long option is used.
46058 * posix/tst-getopt_long1.c: New file.
46059 * posix/Makefile (tests): Add tst-getopt_long1.
46060
c84cfef4
UD
46061 [BZ #10138]
46062 * scripts/config.guess: Update from autoconf-2.68.
46063 * scripts/config.sub: Likewise.
46064
3b85df27
UD
46065 [BZ #10157]
46066 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46067 tests into ...
46068 (has_cpuclock): ...this. New function.
46069 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46070 macro here based on has_cpuclock code.
46071
15a856b1
UD
46072 [BZ #10149]
46073 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46074 First byte (not low byte) is now always NUL.
46075 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46076
05f399e6
UD
46077 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46078 Use non-cancelable interfaces.
46079
10a52685 46080 [BZ #9809]
94ecc67d
UD
46081 * locale/iso-639.def: Add entry for Sorani.
46082
f8a3b5bf
UD
46083 [BZ #11901]
46084 * include/stdlib.h: Move include protection to the right place.
46085 Define abort_msg_s. Declare __abort_msg with it.
46086 * stdlib/abort.c (__abort_msg): Adjust type.
46087 * assert/assert.c (__assert_fail_base): New function. Majority
46088 of code from __assert_fail. Allocate memory for __abort_msg with
46089 mmap.
46090 (__assert_fail): Now call __assert_fail_base.
46091 * assert/assert-perr.c: Remove bulk of implementation. Use
46092 __assert_fail_base.
46093 * include/assert.hL Declare __assert_fail_base.
46094 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46095 mmap.
46096 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46097
1af4e298
UD
460982011-05-14 Ulrich Drepper <drepper@gmail.com>
46099
f8a3b5bf 46100 [BZ #11952]
d26dfc60
MG
46101 [BZ #12453]
46102 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46103 until all modules are registered in the DTV.
46104 * elf/Makefile: Add rules to build and run tst-tls19.
46105 * elf/tst-tls19.c: New file.
46106 * elf/tst-tls19mod1.c: New file.
46107 * elf/tst-tls19mod2.c: New file.
46108 * elf/tst-tls19mod3.c: New file.
46109 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46110
2fc54d6f
UD
46111 [BZ #12083]
46112 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46113 correctly.
46114
98d76b46
UD
46115 [BZ #12601]
46116 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46117 two-byte sequence errors.
46118 * iconvdata/Makefile (tests): Add bug-iconv8.
46119 * iconvdata/bug-iconv8.c: New file.
46120
da3c19ef
UD
46121 [BZ #12626]
46122 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46123 buf2 definition.
46124
ca408c15
UD
46125 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46126
d6f67f7d
UD
46127 [BZ #12432]
46128 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46129 (dummy_getcfa): New function.
46130 (init): Get _Unwind_GetCFA address, use dummy if not found.
46131 (backtrace_helper): In recursion check, also check whether CFA changes.
46132 (__backtrace): Completely initialize arg.
46133
1af4e298 46134 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
46135 storing incomplete byte sequence in state object. Avoid testing for
46136 guaranteed too small input if we know there is enough data available.
1af4e298 46137
da62f81b
AS
461382011-05-11 Andreas Schwab <schwab@redhat.com>
46139
46140 * Makeconfig (+link-pie): Indent.
46141 * Rules (binaries-pie): Define if $(have-fpie) and
46142 $(build-shared).
46143 (binaries-shared): Also filter out $(binaries-pie).
46144 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46145 * nscd/Makefile (others-pie): Add nscd.
46146 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46147 ($(objpfx)nscd): Remove command override.
46148 * login/Makefile (others-pie): Add pt_chown.
46149 ($(objpfx)pt_chown): Remove command override.
46150 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46151 remove command overrides.
46152
fcabc0f8
UD
461532011-05-13 Ulrich Drepper <drepper@gmail.com>
46154
20030ae6
UD
46155 * libio/tst_putwc.c: Fix error messages.
46156
fcabc0f8
UD
46157 [BZ #12724]
46158 * libio/fileops.c (_IO_new_file_close_it): Always flush when
46159 currently writing and seek to current position when not.
46160 * libio/Makefile (tests): Add bug-fclose1.
46161 * libio/bug-fclose1.c: New file.
46162
320a5dc0
PB
461632011-05-12 Ulrich Drepper <drepper@gmail.com>
46164
46165 [BZ #12511]
46166 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46167 don't set DF_1_NODELETE here.
46168 (do_lookup_x): When entering new entry test for copy relocation
46169 and if necessary set DF_1_NODELETE flag.
46170 * elf/tst-unique4.cc: New file.
46171 * elf/tst-unique4.h: New file.
46172 * elf/tst-unique4lib.cc: New file.
46173 * elf/Makefile: Add rules to build and run tst-unique4.
46174 Patch by Piotr Bury <pbury@goahead.com>.
46175
22836f52
UD
461762011-05-11 Ulrich Drepper <drepper@gmail.com>
46177
f574184a
UD
46178 [BZ #12052]
46179 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46180
e1fb097f
UD
46181 [BZ #12625]
46182 * misc/mntent_r.c (addmntent): Flush the stream after the output
46183
22836f52
UD
46184 [BZ #12393]
46185 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46186 (is_trusted_path_normalize): Skip initial colon. Append slash
46187 to empty buffer. Duplicate is_trusted_path code but allow
46188 constructed patch to be prefix.
46189 (is_dst): Allow $ORIGIN followed by /.
46190 (_dl_dst_substitute): Correct clearing of check_for_trusted.
46191 Correct testing of result of is_trusted_path_normalize
46192 (decompose_rpath): Fix warning.
46193
7b3b0b2a
UD
461942011-05-10 Ulrich Drepper <drepper@gmail.com>
46195
46196 [BZ #11257]
46197 * grp/initgroups.c (internal_getgrouplist): When we found the service
46198 list through the initgroups entry in nsswitch.conf do not always
46199 continue on a successful lookup. Don't always use the
eac80ce2 46200 __nss_group_database value if it is set.
7b3b0b2a
UD
46201 * nss/nsswitch.conf (initgroups): Change action for successful db
46202 lookup to continue for compatibility.
46203
2a81eaa5
UD
462042011-05-09 Ulrich Drepper <drepper@gmail.com>
46205
be97a69e
UD
46206 [BZ #11532]
46207 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46208 and CP774 modules.
46209 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46210 and CP774 modules.
46211 * iconvdata/tst-tables.sh: Likewise.
46212 * iconvdata/cp770.c: New file.
46213 * iconvdata/cp771.c: New file.
46214 * iconvdata/cp772.c: New file.
46215 * iconvdata/cp773.c: New file.
46216 * iconvdata/cp774.c: New file.
46217 * iconvdata/testdata/CP770: New file.
46218 * iconvdata/testdata/CP770..UTF8: New file.
46219 * iconvdata/testdata/CP771: New file.
46220 * iconvdata/testdata/CP771..UTF8: New file.
46221 * iconvdata/testdata/CP772: New file.
46222 * iconvdata/testdata/CP772..UTF8: New file.
46223 * iconvdata/testdata/CP773: New file.
46224 * iconvdata/testdata/CP773..UTF8: New file.
46225 * iconvdata/testdata/CP774: New file.
46226 * iconvdata/testdata/CP774..UTF8: New file.
46227
46228 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46229 END CHARMAP line.
46230 * iconvdata/gen-8bit-gap.sh: Likewise.
46231 * iconvdata/gen-8bit.sh: Likewise.
46232
c1e9e399
UD
46233 * locale/iso-639.def: Add ary entry.
46234
24c55fb3 46235 [BZ #11258]
96b4b1b0
UD
46236 * locale/C-translit.h.in: Add U20A1 transliteration.
46237
bdc2f971
KB
46238 [BZ #12178]
46239 * locale/iso-639.def: Add wae entry.
46240 Patch by Kevin Bortis <bortis@translate-wae.ch>.
46241
2952b117
UD
46242 [BZ #12545]
46243 * locale/programs/localedef.c (construct_output_path): Use ssize_t
46244 for n.
46245
2a81eaa5
UD
46246 [BZ #12711]
46247 * locale/C-translit.h.in: Add entry for U20B9.
46248 Patch by pravin.d.s@gmail.com.
46249
28377d1b
UD
462502011-05-08 Ulrich Drepper <drepper@gmail.com>
46251
7fb90fb8
UD
46252 [BZ #12713]
46253 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46254 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
46255 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
46256 in rtld. Use *stat64.
7fb90fb8 46257 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 46258 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 46259 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
46260 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46261 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46262 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46263 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46264 __fstatat64 macros.
7fb90fb8
UD
46265 * include/dirent.h: Add libc_hidden_proto for rewinddir.
46266 * dirent/rewinddir.c: Add libc_hidden_def.
46267 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 46268 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 46269
28377d1b
UD
46270 * include/dirent.h (__alloc_dir): Add flags parameter.
46271 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46272 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46273 __alloc_dir.
46274 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
46275 from fdopendir if O_CLOEXEC is already set.
46276
66bdbaa4
AM
462772011-03-15 Alan Modra <amodra@gmail.com>
46278
46279 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46280 l_tls_firstbyte_offset non-zero. Save padding offset in
46281 l_tls_firstbyte_offset for later use.
46282 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46283 freeing static tls block.
46284
95721191
JN
462852011-03-05 Jonathan Nieder <jrnieder@gmail.com>
46286
46287 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46288 where #ifdef was intended. The intent is to prevent ARG_MAX from
46289 being defined by the kernel headers.
46290
f87dfb1f
UD
462912011-05-07 Ulrich Drepper <drepper@gmail.com>
46292
46293 [BZ #12734]
46294 * resolv/resolv.h: Define RES_NOTLDQUERY.
46295 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46296 no-tld-query and set RES_NOTLDQUERY.
46297 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46298 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46299 modern BIND to search name as TLD unless forbidden.
46300
47c3cd7a
UD
463012011-05-07 Petr Baudis <pasky@suse.cz>
46302 Ulrich Drepper <drepper@gmail.com>
46303
46304 [BZ #12393]
46305 * elf/dl-load.c (fillin_rpath): Move trusted path check...
46306 (is_trusted_path): ...to here.
c1e9ea35 46307 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 46308 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 46309 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 46310
8a35c912
PP
463112011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46312
46313 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46314 __BEGIN/__END_DECLS.
46315
acd41f47
UD
463162011-05-06 Ulrich Drepper <drepper@gmail.com>
46317
46318 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46319 NSS_STATUS_NOTFOUND if no record was found.
46320
597df647
AS
463212011-05-05 Andreas Schwab <schwab@redhat.com>
46322
46323 * sunrpc/Makefile (headers): Add rpc/netdb.h.
46324 (headers-not-in-tirpc): Remove rpc/netdb.h
46325 * resolv/netdb.h: Revert last change.
46326
b9af1301
PP
463272011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46328
46329 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46330 circular dependency between libgcc.a and libc.a.
46331
4e34d5f5
AS
463322011-05-05 Andreas Schwab <schwab@redhat.com>
46333
46334 * resolv/netdb.h: Don't include <rpc/netdb.h>.
46335 * nis/Makefile: Don't install rpcsvc/*.
46336 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46337 instead of <rpc/types.h>.
46338 (MAXHOSTNAMELEN): Define.
46339
00ee369c
AS
463402011-05-03 Andreas Schwab <schwab@redhat.com>
46341
46342 * elf/ldconfig.c (add_dir): Don't crash on empty path.
46343
0b592a30
MB
463442011-04-28 Maciej Babinski <mbabinski@google.com>
46345
46346 [BZ #12714]
46347 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46348 gethostbyname4_r when IPv6 results are possible.
46349
6e04cbbe
UD
463502011-05-02 Ulrich Drepper <drepper@gmail.com>
46351
46352 [BZ #12723]
46353 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46354 _PC_PIPE_BUF handling.
46355
e4ecafe0
BH
463562011-04-30 Bruno Haible <bruno@clisp.org>
46357
46358 [BZ #12717]
46359 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46360 * resolv/netdb.h (getnameinfo): Change type of flags parameter
46361 to 'int'.
46362 * inet/getnameinfo.c (getnameinfo): Likewise.
46363
125ee683
UD
463642011-04-29 Ulrich Drepper <drepper@gmail.com>
46365
46366 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46367 to groups setting in database lookup.
46368 * nss/nsswitch.conf: Add initgroups entry.
46369
b722481a
EB
463702011-04-22 Ulrich Drepper <drepper@gmail.com>
46371
46372 [BZ #12685]
46373 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46374 mode string.
46375 Patch by Eric Blake <eblake@redhat.com>.
46376
4df46dbd
L
463772011-04-20 H.J. Lu <hongjiu.lu@intel.com>
46378
46379 * sunrpc/Makefile (need-export-routines): Add svc_run.
46380 (routines): Remove svc_run.
46381 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46382 * sunrpc/clnt_perr.c (clnt_perrno): Export.
46383 * sunrpc/svc_run.c (svc_run): Likewise.
46384 * sunrpc/svc_udp.c (svcudp_create): Likewise.
46385
e84142d2
UD
463862011-04-21 Ulrich Drepper <drepper@gmail.com>
46387
46388 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46389 problem in reallocation in last patch.
46390
877175d8
UD
463912011-04-20 Ulrich Drepper <drepper@gmail.com>
46392
46393 * sunrpc/Makefile: Move inclusion of Rules.
46394
ab8eed78
UD
463952011-04-19 Ulrich Drepper <drepper@gmail.com>
46396
46397 * nss/nss_files/files-initgroups.c: New file.
46398 * nss/Makefile (libnss_files-routines): Add files-initgroups.
46399 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46400 _nss_files_initgroups_dyn.
46401
e3d8f584
RS
464022011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
46403
46404 * elf/elf.h (R_ARM_IRELATIVE): Define.
46405
af190f45
UD
464062011-04-19 Ulrich Drepper <drepper@gmail.com>
46407
46408 * po/ru.po: Update from translation team.
46409
53cf59ef
UD
464102011-04-17 Ulrich Drepper <drepper@gmail.com>
46411
46412 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46413 dependencies.
46414
4c559bcd
MF
464152011-02-06 Mike Frysinger <vapier@gentoo.org>
46416
46417 [BZ #12653]
46418 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46419 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46420 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46421 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46422 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46423
4420675c
AS
464242011-03-28 Andreas Schwab <schwab@linux-m68k.org>
46425
46426 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46427 differing bytes.
46428 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46429 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46430 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46431
75ea32ab
UD
464322011-04-17 Ulrich Drepper <drepper@gmail.com>
46433
46434 [BZ #12420]
46435 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46436 storing it.
46437 * stdlib/bug-getcontext.c: New file.
46438 * stdlib/Makefile: Add rules to build and run bug-getcontext.
46439
27390476
AK
464402011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46441
46442 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46443 instructions into .machine "z9-109".
46444 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46445 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46446
10442705
AK
464472011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46448
46449 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46450 between environment variables and auxiliary vector.
46451
7b57bfe5
UD
464522011-04-16 Ulrich Drepper <drepper@gmail.com>
46453
46454 * Makefile: Add rules to build linkobj/libc.so.
46455 * include/libc-symbols.h: Define libc_hidden_nolink.
46456 * include/rpc/auth.h: Mark functions which are to be hidden.
46457 * include/rpc/auth_des.h: Likewise.
46458 * include/rpc/auth_unix.h: Likewise.
46459 * include/rpc/clnt.h: Likewise.
46460 * include/rpc/des_crypt.h: Likewise.
46461 * include/rpc/key_prot.h: Likewise.
46462 * include/rpc/pmap_clnt.h: Likewise.
46463 * include/rpc/pmap_prot.h: Likewise.
46464 * include/rpc/pmap_rmt.h: Likewise.
46465 * include/rpc/rpc_msg.h: Likewise.
46466 * include/rpc/svc.h: Likewise.
46467 * include/rpc/svc_auth.h: Likewise.
46468 * include/rpc/xdr.h: Likewise.
46469 * nis/Makefile: Link all DSOs against linkobj/libc.so.
46470 * nss/Makefile: Likewise.
46471 * sunrpc/Makefile: Don't install headers. Build library with normal
46472 entry points. Don't build rpcinfo. Link RPC tests appropriately.
46473 * sunrpc/auth_des.c: Hide exported symbols by default, export some
46474 for the compat linking library. Remove use of INTDEF/INTUSE.
46475 * sunrpc/auth_none.c: Likewise.
46476 * sunrpc/auth_unix.c: Likewise.
46477 * sunrpc/authdes_prot.c: Likewise.
46478 * sunrpc/authuxprot.c: Likewise.
46479 * sunrpc/clnt_gen.c: Likewise.
46480 * sunrpc/clnt_perr.c: Likewise.
46481 * sunrpc/clnt_raw.c: Likewise.
46482 * sunrpc/clnt_simp.c: Likewise.
46483 * sunrpc/clnt_tcp.c: Likewise.
46484 * sunrpc/clnt_udp.c: Likewise.
46485 * sunrpc/clnt_unix.c: Likewise.
46486 * sunrpc/des_crypt.c: Likewise.
46487 * sunrpc/des_soft.c: Likewise.
46488 * sunrpc/get_myaddr.c: Likewise.
46489 * sunrpc/key_call.c: Likewise.
46490 * sunrpc/key_prot.c: Likewise.
46491 * sunrpc/netname.c: Likewise.
46492 * sunrpc/pm_getmaps.c: Likewise.
46493 * sunrpc/pm_getport.c: Likewise.
46494 * sunrpc/pmap_clnt.c: Likewise.
46495 * sunrpc/pmap_prot.c: Likewise.
46496 * sunrpc/pmap_prot2.c: Likewise.
46497 * sunrpc/pmap_rmt.c: Likewise.
46498 * sunrpc/publickey.c: Likewise.
46499 * sunrpc/rpc_cmsg.c: Likewise.
46500 * sunrpc/rpc_common.c: Likewise.
46501 * sunrpc/rpc_dtable.c: Likewise.
46502 * sunrpc/rpc_prot.c: Likewise.
46503 * sunrpc/rpc_thread.c: Likewise.
46504 * sunrpc/rtime.c: Likewise.
46505 * sunrpc/svc.c: Likewise.
46506 * sunrpc/svc_auth.c: Likewise.
46507 * sunrpc/svc_authux.c: Likewise.
46508 * sunrpc/svc_raw.c: Likewise.
46509 * sunrpc/svc_run.c: Likewise.
46510 * sunrpc/svc_simple.c: Likewise.
46511 * sunrpc/svc_tcp.c: Likewise.
46512 * sunrpc/svc_udp.c: Likewise.
46513 * sunrpc/svc_unix.c: Likewise.
46514 * sunrpc/svcauth_des.c: Likewise.
46515 * sunrpc/xcrypt.c: Likewise.
46516 * sunrpc/xdr.c: Likewise.
46517 * sunrpc/xdr_array.c: Likewise.
46518 * sunrpc/xdr_float.c: Likewise.
46519 * sunrpc/xdr_intXX_t.c: Likewise.
46520 * sunrpc/xdr_mem.c: Likewise.
46521 * sunrpc/xdr_rec.c: Likewise.
46522 * sunrpc/xdr_ref.c: Likewise.
46523 * sunrpc/xdr_sizeof.c: Likewise.
46524 * sunrpc/xdr_stdio.c: Likewise.
46525
e6c61494
UD
465262011-04-10 Ulrich Drepper <drepper@gmail.com>
46527
46528 [BZ #12650]
46529 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46530 * sysdeps/ia64/dl-tls.h: Likewise.
46531 * sysdeps/powerpc/dl-tls.h: Likewise.
46532 * sysdeps/s390/dl-tls.h: Likewise.
46533 * sysdeps/sh/dl-tls.h: Likewise.
46534 * sysdeps/sparc/dl-tls.h: Likewise.
46535 * sysdeps/x86_64/dl-tls.h: Likewise.
46536 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46537
34fe483e
AS
465382011-03-14 Andreas Schwab <schwab@redhat.com>
46539
46540 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46541 rpath element also skip the following colon.
46542 (expand_dynamic_string_token): Add is_path parameter and pass
46543 down to DL_DST_REQUIRED and _dl_dst_substitute.
46544 (decompose_rpath): Call expand_dynamic_string_token with
46545 non-zero is_path. Ignore empty rpaths.
46546 (_dl_map_object_from_fd): Call expand_dynamic_string_token
46547 with zero is_path.
46548
f12a32e6
AS
465492011-04-08 Andreas Schwab <schwab@linux-m68k.org>
46550
46551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46552 Make cancelable.
46553
38a7d692
UD
465542011-04-09 Ulrich Drepper <drepper@gmail.com>
46555
46556 [BZ #12655]
46557 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46558 Patch by Filipe David Manana <fdmanana@apache.org>.
46559
e451d22b
AS
465602011-04-07 Andreas Schwab <schwab@redhat.com>
46561
46562 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46563 Maintain aligned stack.
46564 (CHECK_RSP): Remove unused macro.
46565
dedc7c7b
UD
465662011-04-03 Ulrich Drepper <drepper@gmail.com>
46567
46568 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46569 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46570
94521213
UD
465712011-04-02 Ulrich Drepper <drepper@gmail.com>
46572
46573 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46574
8cb700c0 46575 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 46576
0354e355
L
465772011-03-26 H.J. Lu <hongjiu.lu@intel.com>
46578
46579 [BZ #12518]
46580 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46581 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46582 * sysdeps/x86_64/memmove.c: New file.
46583 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46584 (memcpy): Renamed to ...
46585 (__new_memcpy): This.
46586 (memcpy): Provide GLIBC_2_14 memcpy.
46587 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46588 (memcpy): Provide GLIBC_2_2_5 memcpy.
46589
8593482f
UD
465902011-04-01 Ulrich Drepper <drepper@gmail.com>
46591
46592 [BZ #12631]
46593 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46594
81a5726b
AS
465952011-03-30 Andreas Schwab <schwab@redhat.com>
46596
46597 * misc/syncfs.c: New file.
46598 * misc/Makefile (routines): Add syncfs.
46599 * posix/unistd.h: Declare syncfs.
46600 * sysdeps/unix/syscalls.list: Add syncfs.
46601
00e5419f
AS
466022011-04-01 Andreas Schwab <schwab@redhat.com>
46603
46604 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46605 open_by_handle_at.
46606 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46607 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46608 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46609 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46610 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46611 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46612 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46613
748876bf
UD
466142011-04-01 Ulrich Drepper <drepper@gmail.com>
46615
658e451d
UD
46616 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46617 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46618 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46619 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46620 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46621 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46622 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46623
748876bf
UD
46624 * io/Makefile: Compile fallocate.c, fallocate64.c, and
46625 sync_file_range.c with -fexceptions.
46626 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46627 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46628 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46629 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46630 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46631 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46632 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
46633 sync_file_range as cancellation point
46634 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
46635 now a wrapper around __call_sync_file_range with cancellation handling.
46636 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46637 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
46638 function name to __call_sync_file_range.
46639 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46640 Add call_sync_file_range.
748876bf 46641
6e63d5e1
AS
466422011-04-01 Andreas Schwab <schwab@redhat.com>
46643
46644 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 46645 bits/timex.h.
6e63d5e1 46646
46998f74
UD
466472011-04-01 Ulrich Drepper <drepper@gmail.com>
46648
4c1423ed
UD
46649 * iconv/iconv.h: Fix typo in comment.
46650 * io/fcntl.h: Likewise.
46651 * libio/stdio.h: Likewise.
46652 * posix/spawn.h: Likewise.
46653 * posix/unistd.h: Likewise.
46654 * stdlib/stdlib.h: Likewise.
46655 * time/time.h: Likewise.
46656 * wcsmbs/wchar.h: Likewise.
46657
158648c0
UD
46658 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46659 open_by_handle): Add.
46660 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46661 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
46662 Augment a few comments.
46663 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46664 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46665 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46666 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46667 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46668 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46669 open_by_handle.
46670
46998f74
UD
46671 * io/fcntl.h (AT_EMPTY_PATH): Define.
46672
83fe108b
UD
466732011-03-30 Ulrich Drepper <drepper@gmail.com>
46674
46675 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46676 * sysdeps/unix/sysv/linux/bits/time.h: New file.
46677 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46678 to...
46679 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
46680 * Versions.def: Add GLIBC_2.14.
46681 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46682 Export.
83fe108b 46683
bb242059
UD
466842011-03-22 Ulrich Drepper <drepper@gmail.com>
46685
46686 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46687 round counter.
46688 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46689
c97a1282
L
466902011-03-20 H.J. Lu <hongjiu.lu@intel.com>
46691
46692 [BZ #12597]
46693 * string/test-strncmp.c (do_page_test): New function.
46694 (check2): Likewise.
46695 (test_main): Call check2.
46696 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46697
2a115601
UD
466982011-03-20 Ulrich Drepper <drepper@gmail.com>
46699
46700 [BZ #12587]
46701 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46702 Handle cache information in CPU leaf 4.
46703 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46704
8126d904
UD
467052011-03-18 Ulrich Drepper <drepper@gmail.com>
46706
042c49c6 46707 [BZ #12583]
8126d904
UD
46708 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46709 character representation.
46710 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46711
ccfe366e
RA
467122011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
46713
46714 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46715 END(__isnan) to END(__isnanf) to match function entry point/label
46716 EALIGN(__isnanf,...).
46717
c6e13027
JJ
467182011-03-10 Jakub Jelinek <jakub@redhat.com>
46719
46720 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46721
33f85a3f
UD
467222011-03-10 Ulrich Drepper <drepper@gmail.com>
46723
028478fa
UD
46724 [BZ #12510]
46725 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46726 copy from the symbol referenced in the relocation to initialize the
46727 used variable.
46728 Patch by Piotr Bury <pbury@goahead.com>.
46729 * elf/Makefile: Add rules to build and tst-unique3.
46730 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46731 * elf/tst-unique3.cc: New file.
46732 * elf/tst-unique3.h: New file.
46733 * elf/tst-unique3lib.cc: New file.
46734 * elf/tst-unique3lib2.cc: New file.
46735
33f85a3f
UD
46736 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46737
03592fc7
MF
467382011-03-10 Mike Frysinger <vapier@gentoo.org>
46739
46740 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46741 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
46742 to _start.
03592fc7 46743
6a5ee102
UD
467442011-03-06 Ulrich Drepper <drepper@gmail.com>
46745
46746 * elf/dl-load.c (_dl_map_object): If we are looking for the first
46747 to-be-loaded object along a path to loader is ld.so.
46748
7e4ba49c
HJ
467492011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46750 Ulrich Drepper <drepper@gmail.com>
46751
46752 * sysdeps/x86_64/memset.S: After aligning destination, code
46753 branches to different locations depending on the value of
46754 misalignment, when multiarch is enabled. Fix this.
46755
467562011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46757
46758 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46759 Set _x86_64_preferred_memory_instruction for AMD processsors.
46760 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46761 Set bit_Prefer_SSE_for_memop for AMD processors.
46762
13a804de
UD
467632011-03-04 Ulrich Drepper <drepper@gmail.com>
46764
46765 * libio/fmemopen.c (fmemopen): Optimize a bit.
46766
9d25c392
AS
467672011-03-03 Andreas Schwab <schwab@redhat.com>
46768
46769 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46770
a5543c6a
RM
467712011-03-03 Roland McGrath <roland@redhat.com>
46772
46773 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46774
012d35f7
DM
467752011-02-28 Aurelien Jarno <aurelien@aurel32.net>
46776
7e4ba49c 46777 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
46778 __bzero_ultra1 instead of __memset_ultra1.
46779
4bff6e01
AS
467802011-02-23 Andreas Schwab <schwab@redhat.com>
46781 Ulrich Drepper <drepper@gmail.com>
46782
46783 [BZ #12509]
46784 * include/link.h (struct link_map): Add l_orig_initfini.
46785 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46786 returning unsuccessfully.
46787 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46788 close of a file loaded at startup, restore the original l_initfini
46789 list.
46790 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46791 list, store the pointer.
46792 * elf/Makefile ($(objpfx)noload-mem): New rule.
46793 (noload-ENV): Define.
46794 (tests): Add $(objpfx)noload-mem.
46795 * elf/noload.c: Include <memcheck.h>.
46796 (main): Call mtrace. Close all opened handles.
46797
f2092faf
AS
467982011-02-17 Andreas Schwab <schwab@redhat.com>
46799
46800 [BZ #12454]
46801 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46802 dependencies are missing.
46803
6c8a2e88
ST
468042011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
46805
f2092faf 46806 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
46807 Hurd needs munmap.
46808 * sysdeps/mach/hurd/ifreq.h: New file.
46809
84a42118
PB
468102011-01-27 Petr Baudis <pasky@suse.cz>
46811 Ulrich Drepper <drepper@gmail.com>
46812
071f805e 46813 [BZ 12445]#
84a42118
PB
46814 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46815 to extend_alloca().
46816 * stdio-common/bug23.c: New file.
46817 * stdio-common/Makefile (tests): Add bug23.
46818
e23fe25b
AS
468192010-09-28 Andreas Schwab <schwab@redhat.com>
46820 Ulrich Drepper <drepper@gmail.com>
46821
46822 [BZ #12489]
46823 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46824 before performing relro protection. At old place add assertion
46825 to make sure nothing changed.
46826
d3f02e10
NS
468272011-02-17 Nathan Sidwell <nathan@codesourcery.com>
46828 Glauber de Oliveira Costa <glommer@gmail.com>
46829
46830 * elf/elf.h: Add new ARM TLS relocs.
46831
d55fd7a5
RA
468322011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
46833
46834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46835 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46836 cast from r3.
46837 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
46838 'tests' variable.
46839 * sysdeps/wordsize-64/tst-writev.c: New file.
46840
2206397e
RA
468412011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
46842
46843 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46844 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46845 insns in _dl_start to prevent a TOC reference before relocs are
46846 resolved.
46847
e9433893
UD
468482011-02-15 Ulrich Drepper <drepper@gmail.com>
46849
46850 [BZ #12469]
46851 * Makeconfig: Remove RANLIB definition.
46852 * Makerules: Don't use RANLIB.
46853 * aclocal.m4: Remove ranlib test.
46854 * configure.in: No need to check for ranlib.
46855 * elf/rtld-Rules: Don't use RANLIB.
46856
f75286c6
ST
468572011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
46858
8e31c82d
ST
46859 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46860 protection macro.
46861 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46862 inclusion protection macro.
46863
f75286c6
ST
46864 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46865 SIGRTMIN and SIGRTMAX and print information in that case only when
46866 SIGRTMIN is defined.
46867
c1d0e639
JJ
468682011-02-11 Jakub Jelinek <jakub@redhat.com>
46869
46870 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46871 arginfo fn returning -1.
46872
46873 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46874 and thousands string is zero terminated.
46875
edf9294e
AS
468762011-02-03 Andreas Schwab <schwab@redhat.com>
46877
46878 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46879 sysdeps/unix/sysv/linux/bits/socket.h.
46880
2b7e92df
ST
468812011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
46882
edf9294e
AS
46883 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46884 (__CPU_COUNT): Remove old macros.
46885 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46886 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46887 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
46888 (__sched_cpualloc, __sched_cpufree): Add declarations.
46889
a4c7ea7b
UD
468902011-02-05 Ulrich Drepper <drepper@gmail.com>
46891
46892 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46893 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46894 * nscd/aicache.c (addhstaiX): Return timeout of added value.
46895 (readdhstai): Return value of addhstaiX call.
46896 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46897 (addgrbyX): Return value returned by cache_addgr.
46898 (readdgrbyname): Return value returned by addgrbyX.
46899 (readdgrbygid): Likewise.
46900 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46901 (addpwbyX): Return value returned by cache_addpw.
46902 (readdpwbyname): Return value returned by addhstbyX.
46903 (readdpwbyuid): Likewise.
46904 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46905 (addservbyX): Return value returned by cache_addserv.
46906 (readdservbyname): Return value returned by addservbyX:
46907 (readdservbyport): Likewise.
46908 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46909 (addhstbyX): Return value returned by cache_addhst.
46910 (readdhstbyname): Return value returned by addhstbyX.
46911 (readdhstbyaddr): Likewise.
46912 (readdhstbynamev6): Likewise.
46913 (readdhstbyaddrv6): Likewise.
46914 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46915 (readdinitgroups): Return value returned by addinitgroupsX.
46916 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46917 (prune_cache): Keep track of timeout value of re-added entries.
46918 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46919 * nscd/nscd.h: Adjust prototypes of readd* functions.
46920
a0bf67cc
RM
469212011-02-04 Roland McGrath <roland@redhat.com>
46922
46923 * nis/nis_server.c (nis_servstate): Use the right name for 0.
46924 (nis_stats): Likewise.
46925 * nis/nis_modify.c (nis_modify): Likewise.
46926 * nis/nis_remove.c (nis_remove): Likewise.
46927 * nis/nis_add.c (nis_add): Likewise.
46928
46929 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46930
46931 * posix/fnmatch_loop.c: Add some consts.
46932
46933 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46934
435b95eb
L
469352011-02-02 H.J. Lu <hongjiu.lu@intel.com>
46936
46937 [BZ #12460]
46938 * config.make.in (config-cflags-novzeroupper): Define.
46939 * configure.in: Substitute libc_cv_cc_novzeroupper.
46940 * elf/Makefile (AVX-CFLAGS): Define.
46941 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46942 (CFLAGS-tst-auditmod4a.c): Likewise.
46943 (CFLAGS-tst-auditmod4b.c): Likewise.
46944 (CFLAGS-tst-auditmod6b.c): Likewise.
46945 (CFLAGS-tst-auditmod6c.c): Likewise.
46946 (CFLAGS-tst-auditmod7b.c): Likewise.
46947 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46948
8517b15e
UD
469492011-02-02 Ulrich Drepper <drepper@gmail.com>
46950
46951 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46952 function to the callback.
46953 Patch partly by Jiri Olsa <jolsa@redhat.com>.
46954
10a656fe
AS
469552011-02-02 Andreas Schwab <schwab@redhat.com>
46956
46957 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46958 of errno.
46959
968dad0a
UD
469602011-01-19 Ulrich Drepper <drepper@gmail.com>
46961
9f94d2ea 46962 [BZ #11724]
968dad0a
UD
46963 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46964 of constructors.
46965 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46966 of destructors.
46967 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46968
46969 [BZ #11724]
46970 * elf/Makefile: Add rules to build and run new test.
46971 * elf/tst-initorder.c: New file.
46972 * elf/tst-initorder.exp: New file.
46973 * elf/tst-initordera1.c: New file.
46974 * elf/tst-initordera2.c: New file.
46975 * elf/tst-initordera3.c: New file.
46976 * elf/tst-initordera4.c: New file.
46977 * elf/tst-initorderb1.c: New file.
46978 * elf/tst-initorderb2.c: New file.
46979 * elf/tst-order-a1.c: New file.
46980 * elf/tst-order-a2.c: New file.
46981 * elf/tst-order-a3.c: New file.
46982 * elf/tst-order-a4.c: New file.
46983 * elf/tst-order-b1.c: New file.
46984 * elf/tst-order-b2.c: New file.
46985 * elf/tst-order-main.c: New file.
46986 New test case by George Gensure <werkt0@gmail.com>.
46987
86e92359
UD
469882010-10-01 Andreas Schwab <schwab@redhat.com>
46989
46990 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46991 decoding ACE if AI_CANONIDN.
46992
5d5732b0
UD
469932011-01-18 Ulrich Drepper <drepper@gmail.com>
46994
46995 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46996
a77e8cbc
UD
469972011-01-17 Ulrich Drepper <drepper@gmail.com>
46998
6392473f
UD
46999 * version.h (RELEASE): Bump for 2.13 release.
47000 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47001
620a0529
UD
47002 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47003
18ba70a5
UD
47004 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47005 MADV_NOHUGEPAGE.
32465c3e
UD
47006 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47007 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47008 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47009 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47010 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47011 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47012
c0dafcf1
UD
47013 * posix/getconf.c: Update copyright year.
47014 * catgets/gencat.c: Likewise.
47015 * csu/version.c: Likewise.
47016 * debug/catchsegv.sh: Likewise.
47017 * debug/xtrace.sh: Likewise.
47018 * elf/ldconfig.c: Likewise.
47019 * elf/ldd.bash.in: Likewise.
47020 * elf/sprof.c (print_version): Likewise.
47021 * iconv/iconv_prog.c: Likewise.
47022 * iconv/iconvconfig.c: Likewise.
47023 * locale/programs/locale.c: Likewise.
47024 * locale/programs/localedef.c: Likewise.
47025 * malloc/memusage.sh: Likewise.
47026 * malloc/mtrace.pl: Likewise.
47027 * nscd/nscd.c (print_version): Likewise.
47028 * nss/getent.c: Likewise.
47029
a77e8cbc
UD
47030 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47031 PF_CAIF, and PF_ALG.
47032 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47033
77e8bddf
AS
470342011-01-16 Andreas Schwab <schwab@linux-m68k.org>
47035
1f20b93a
AS
47036 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47037 (modules-names): Use them.
47038 (ifunc-test-modules, ifunc-pie-tests): Define.
47039 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47040 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47041 (test-extras): Likewise.
47042 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47043 $(compile-command.c).
47044 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47045 (all-built-dso): Define.
47046 (check-textrel.out, check-execstack.out): Depend on it.
47047
77e8bddf
AS
47048 * configure.in: Don't override --enable-multi-arch.
47049
bc425b33
UD
470502011-01-15 Ulrich Drepper <drepper@gmail.com>
47051
47052 [BZ #6812]
47053 * nscd/hstcache.c (tryagain): Define.
47054 (cache_addhst): Return tryagain not notfound for temporary errors.
47055 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47056 failed.
47057
794c3ad3
UD
470582011-01-14 Ulrich Drepper <drepper@gmail.com>
47059
70181fdd
UD
47060 [BZ #10563]
47061 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47062 to make the syscall.
47063 * sysdeps/unix/sysv/linux/setgroups.c: New file.
47064
794c3ad3
UD
47065 [BZ #12378]
47066 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47067 and fall back to matching as normal character if the string ends before
47068 the matching ']' is found. This is what POSIX requires.
47069 * posix/testfnm.c: Adjust test result.
47070 * posix/globtest.sh: Adjust test result. Add new test.
47071 * posix/tst-fnmatch.input: Likewise.
47072 * posix/tst-fnmatch2.c: Add new test.
47073
68dc9497
AS
470742010-12-28 Andreas Schwab <schwab@linux-m68k.org>
47075
47076 * elf/Makefile (check-execstack): Revert last change. Depend on
47077 check-execstack.h.
47078 (check-execstack.h): New target.
47079 (generated): Add check-execstack.h.
47080 * elf/check-execstack.c: Include "check-execstack.h".
47081 (main): Revert last change.
47082 (handle_file): Return zero if GNU_STACK is absent and
47083 DEFAULT_STACK_PERMS doesn't include PF_X.
47084
451f001b
UD
470852011-01-13 Ulrich Drepper <drepper@gmail.com>
47086
cfa28e56
UD
47087 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47088 in child fails because the descriptor is already closed.
8cf8ce17
UD
47089 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47090 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47091 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 47092
1086d70d
UD
47093 [BZ #12397]
47094 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47095 syscall.
47096
451f001b
UD
47097 [BZ #10484]
47098 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47099 temporary buffer used to handle multi lookups locally.
a85b5cb4 47100 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 47101
08769175
UD
471022011-01-12 Ulrich Drepper <drepper@gmail.com>
47103
47104 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47105 loader is ld.so.
47106
5e49c52e
UD
471072011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
47108
47109 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47110 alignment for SSE2.
47111
60522a5f
UD
471122011-01-12 Ulrich Drepper <drepper@gmail.com>
47113
47114 [BZ #12394]
47115 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47116 characters. When rounding increased number of integer digits recompute
47117 number of groups.
47118 * stdio-common/tst-grouping.c: New file.
47119 * stdio-common/Makefile: Add rules to build and run tst-grouping.
47120
f257bbd7
UD
471212011-01-09 Ulrich Drepper <drepper@gmail.com>
47122
47123 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47124 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
47125
47126 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47127 void.
47128 * bits/select.h: Likewise.
47129
fa9c15cb
UD
471302011-01-08 Ulrich Drepper <drepper@gmail.com>
47131
47132 * po/ja.po: Update from translation team.
47133
16c2895f
DM
471342011-01-04 David S. Miller <davem@sunset.davemloft.net>
47135
47136 [BZ #11155]
47137 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47138 implementation just like for lxstat, fxstatat, et al.
47139
2543fef2
JM
471402010-12-27 Jim Meyering <meyering@redhat.com>
47141
47142 [BZ #12348]
47143 * posix/regexec.c (build_trtable): Return failure indication upon
47144 calloc failure. Otherwise, re_search_internal could infloop on OOM.
47145
98727dbe
UD
471462010-12-25 Ulrich Drepper <drepper@gmail.com>
47147
5bd6dc5c
UD
47148 [BZ #12201]
47149 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47150 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47151 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47152 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47153
97983464
UD
47154 [BZ #12207]
47155 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47156
98727dbe
UD
47157 [BZ #12204]
47158 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47159 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47160
4a531bb0
L
471612010-12-15 H.J. Lu <hongjiu.lu@intel.com>
47162
47163 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47164 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47165 script has SORT_BY_INIT_PRIORITY.
47166 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47167 NO_CTORS_DTORS_SECTIONS is defined.
47168 * elf/soinit.c: Likewise.
47169 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47170 NO_CTORS_DTORS_SECTIONS is defined.
47171 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47172 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47173 * sysdeps/sh/init-first.c: Likewise.
47174 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47175
07eb4b71
UD
471762010-12-24 Ulrich Drepper <drepper@gmail.com>
47177
47178 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47179 always use the slow path.
47180
30950a5f
RA
471812010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
47182
47183 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47184 similar rule which adds the sysdep directories to the header search in
47185 order to pick up the correct platform stackinfo.h.
47186 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47187 perform test if it is, otherwise return successfully without testing.
47188 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47189 DEFAULT_STACK_PERMS define in stackinfo.h.
47190 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47191 defined in stackinfo.h.
47192 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47193 DEFAULT_STACK_PERMS defined in stackinfo.h.
47194 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47195 * sysdeps/ia64/stackinfo.h: Likewise.
47196 * sysdeps/s390/stackinfo.h: Likewise.
47197 * sysdeps/sh/stackinfo.h: Likewise.
47198 * sysdeps/sparc/stackinfo.h: Likewise.
47199 * sysdeps/x86_64/stackinfo.h: Likewise.
47200 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47201 PF_X for powerpc64. Retain PF_X for powerpc32.
47202
db753e2c
UD
472032010-12-19 Ulrich Drepper <drepper@gmail.com>
47204
14b697f7
UD
47205 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47206 accurately.
db753e2c
UD
47207 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47208 GETDENTS_64BIT_ALIGNED.
47209
28300719
UD
472102010-12-14 Ulrich Drepper <dreper@gmail.com>
47211
14b697f7 47212 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 47213
4f197237
AS
472142010-12-10 Andreas Schwab <schwab@redhat.com>
47215
dbb0472f
AS
47216 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47217 _GNU_SOURCE.
47218
4f197237
AS
47219 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47220 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47221 Remove __restrict.
47222 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47223 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47224
fb88ac72
UD
472252010-12-09 Ulrich Drepper <drepper@gmail.com>
47226
47227 [BZ #11655]
47228 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47229 are initialized.
47230
42acbb92
JJ
472312010-12-09 Jakub Jelinek <jakub@redhat.com>
47232
47233 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47234
c038d98d
UD
472352010-12-03 Ulrich Drepper <drepper@gmail.com>
47236
47237 * po/it.po: Update from translation team.
47238
3a4a2499
L
472392010-12-01 H.J. Lu <hongjiu.lu@intel.com>
47240
47241 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47242 unused codes.
47243
1e24cf6e
UD
472442010-11-30 Ulrich Drepper <drepper@gmail.com>
47245
47246 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47247
a7690819
AS
472482010-11-24 Andreas Schwab <schwab@redhat.com>
47249
47250 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47251 specially.
47252 (gaih_getanswer_slice): Likewise.
47253
3bf8d1b1
JJ
472542010-10-20 Jakub Jelinek <jakub@redhat.com>
47255
47256 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47257
6db52fbb
PB
472582010-05-31 Petr Baudis <pasky@suse.cz>
47259
47260 [BZ #11149]
47261 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47262 silently even in the chroot mode.
47263
eaca7569
UD
472642010-11-22 Ulrich Drepper <drepper@gmail.com>
47265
47266 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47267 last patch a bit. Pretty printing
47268
3056dcdb
UD
472692010-05-31 Petr Baudis <pasky@suse.cz>
47270
47271 [BZ #10085]
47272 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47273 initialization of skip_initgroups_dyn.
47274
cf7c9078
UD
472752010-11-19 Ulrich Drepper <drepper@gmail.com>
47276
47277 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47278 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47279
a1fb5e3e
UD
472802010-11-16 Ulrich Drepper <drepper@gmail.com>
47281
47282 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47283
3540d66b
AS
472842010-11-11 Andreas Schwab <schwab@redhat.com>
47285
47286 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47287 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47288 (tst-fnmatch-ENV): Set MALLOC_TRACE.
47289 ($(objpfx)tst-fnmatch-mem): New rule.
47290 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47291 * posix/tst-fnmatch.c (main): Call mtrace.
47292
13b69574
L
472932010-11-11 H.J. Lu <hongjiu.lu@intel.com>
47294
47295 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47296 Support Intel processor model 6 and model 0x2c.
47297
da93d214
LM
472982010-11-10 Luis Machado <luisgpm@br.ibm.com>
47299
47300 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47301 signed comparison.
47302
8ca52c6e
L
473032010-11-09 H.J. Lu <hongjiu.lu@intel.com>
47304
47305 [BZ #12205]
47306 * string/test-strncasecmp.c (check_result): New function.
47307 (do_one_test): Use it.
47308 (check1): New function.
47309 (test_main): Use it.
47310 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47311 Support strcasecmp and strncasecmp.
47312
69da074d
UD
473132010-11-08 Ulrich Drepper <drepper@gmail.com>
47314
47315 [BZ #12194]
47316 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47317 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47318
ff02d528
L
473192010-11-07 H.J. Lu <hongjiu.lu@intel.com>
47320
47321 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47322 IFUNC support.
47323 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47324 memset-x86-64.
47325 * sysdeps/x86_64/multiarch/bzero.S: New file.
47326 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47327 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47328 * sysdeps/x86_64/multiarch/memset.S: New file.
47329 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47330 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47331 Set bit_Prefer_SSE_for_memop for Intel processors.
47332 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47333 Define.
47334 (index_Prefer_SSE_for_memop): Define.
47335 (HAS_PREFER_SSE_FOR_MEMOP): Define.
47336
344d0b54
LM
473372010-11-04 Luis Machado <luisgpm@br.ibm.com>
47338
47339 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47340 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47341
c0dde15b
UD
473422010-11-03 H.J. Lu <hongjiu.lu@intel.com>
47343
47344 [BZ #12191]
47345 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47346 (__x86_64_raw_data_cache_size_half): Likewise.
47347 (__x86_64_raw_shared_cache_size): Likewise.
47348 (__x86_64_raw_shared_cache_size_half): Likewise.
47349
47350 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47351 (__x86_64_raw_data_cache_size_half): Likewise.
47352 (__x86_64_raw_shared_cache_size): Likewise.
47353 (__x86_64_raw_shared_cache_size_half): Likewise.
47354 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47355 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47356 and __x86_64_raw_shared_cache_size_half. Round
47357 __x86_64_data_cache_size_half, __x86_64_data_cache_size
47358 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47359 to multiple of 256 bytes.
47360
0e516e0e
MS
473612010-11-03 Ulrich Drepper <drepper@gmail.com>
47362
47363 [BZ #12167]
47364 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47365 of inacessible symlinks. Verify result of symlink before returning it.
47366 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47367 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47368
0e012e87
ER
473692010-10-28 Erich Ritz <erichritz@gmail.com>
47370
47371 * math/math.h (isinf): Fix typo in comment.
47372
de0ff7bc
UD
473732010-11-01 Ulrich Drepper <drepper@gmail.com>
47374
47375 * po/da.po: Update from translation team.
47376
fa41c84d
UD
473772010-10-26 Ulrich Drepper <drepper@gmail.com>
47378
47379 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47380 is added to the list.
47381
f0967738
AK
473822010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47383 Ulrich Drepper <drepper@gmail.com>
47384
47385 * elf/dl-object.c (_dl_new_object): Don't append the new object to
47386 the global list here. Move code to...
47387 (_dl_add_to_namespace_list): ...here. New function.
47388 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47389 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47390 * elf/dl-load.c (lose): Don't remove the element from the list.
47391 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47392 (_dl_map_object): Likewise.
47393
473942010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
47395
47396 [BZ #12159]
47397 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47398 into all bytes of SSE register.
47399 Patch by Richard Li <richardpku@gmail.com>.
47400
f0967738 474012010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
47402
47403 [BZ #12140]
47404 * malloc/malloc.c (_int_free): Fill correct number of bytes when
47405 perturbing.
47406
d0b9e94f
MB
474072010-10-20 Michael B. Brutman <brutman@us.ibm.com>
47408
47409 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47410 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47411 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47412 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47414 submachine.
47415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47416
8e9f92e9
AS
474172010-10-22 Andreas Schwab <schwab@redhat.com>
47418
47419 * include/dlfcn.h (__RTLD_SECURE): Define.
47420 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
47421 mode & __RTLD_SECURE instead.
47422 (open_path): Rename preloaded parameter to secure.
47423 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47424 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47425 * elf/dl-deps.c (openaux): Likewise.
47426 * elf/rtld.c (struct map_args): Remove is_preloaded.
47427 (map_doit): Don't use it.
47428 (dl_main): Likewise.
47429 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47430 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47431
bc96fbda
AS
474322010-09-09 Andreas Schwab <schwab@redhat.com>
47433
47434 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47435 (sysd-rules-targets): Remove duplicates.
47436 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47437 rtld-%.$o dependency.
47438
22cd1c9b
AS
474392010-10-18 Andreas Schwab <schwab@redhat.com>
47440
47441 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47442 _dl_map_object do it.
47443
18edac48
UD
474442010-10-19 Ulrich Drepper <drepper@gmail.com>
47445
47446 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47447 fast fma builtins, define the macros in the C99 standard.
47448 (FP_FAST_FMAF): Likewise.
47449 (FP_FAST_FMAL): Likewise.
47450 * sysdeps/x86_64/bits/mathdef.h: Likewise.
47451
47452 * bits/mathdef.h: Update copyright year.
47453 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47454
d2050124
MM
474552010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
47456
47457 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47458 builtins, define the macros in the C99 standard.
47459 (FP_FAST_FMAF): Likewise.
47460 (FP_FAST_FMAL): Likewise.
47461 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47462 multiply/add.
47463 (FP_FAST_FMAF): Likewise.
47464
475facd1
JJ
474652010-10-15 Jakub Jelinek <jakub@redhat.com>
47466
47467 [BZ #3268]
47468 * math/libm-test.inc (fma_test): Some new testcases.
47469 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47470 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47471 y and infinite z. Do multiplication by C already in long double.
47472 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47473 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47474 y and infinite z. Do bitwise or of inexact bit into u.d.
47475 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47476 * sysdeps/i386/fpu/s_fmaf.S: Removed.
47477 * sysdeps/i386/fpu/s_fma.S: Removed.
47478 * sysdeps/i386/fpu/s_fmal.S: Removed.
47479
7c08a05c
JJ
474802010-10-16 Jakub Jelinek <jakub@redhat.com>
47481
47482 [BZ #3268]
47483 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47484 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47485 computation is not scheduled after fetestexcept. Fix value
47486 of minimum denormal long double.
47487
f3f7372d
JJ
474882010-10-14 Jakub Jelinek <jakub@redhat.com>
47489
47490 [BZ #3268]
47491 * math/libm-test.inc (fma_test): Add some more tests.
47492 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47493 correctly.
47494
14d43591
AS
474952010-10-15 Andreas Schwab <schwab@redhat.com>
47496
47497 * scripts/data/localplt-s390-linux-gnu.data: New file.
47498 * scripts/data/localplt-s390x-linux-gnu.data: New file.
47499
5e908464
JJ
475002010-10-13 Jakub Jelinek <jakub@redhat.com>
47501
47502 [BZ #3268]
47503 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47504 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47505 instead of dbl-64.
47506 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47507 inlines.
47508 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47509 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47510 if one of x and y is very large and the other is subnormal.
47511 * sysdeps/s390/fpu/s_fmaf.c: New file.
47512 * sysdeps/s390/fpu/s_fma.c: New file.
47513 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47514 * sysdeps/powerpc/fpu/s_fma.S: New file.
47515 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47516 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47517 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47518
475192010-10-12 Jakub Jelinek <jakub@redhat.com>
47520
47521 [BZ #3268]
47522 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47523 fma tests.
47524 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47525 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47526 * sysdeps/i386/i686/multiarch/s_fma.c: Include
47527 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47528 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47529 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47530 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47531
b833d51f
UD
475322010-10-12 Ulrich Drepper <drepper@redhat.com>
47533
47534 [BZ #12078]
47535 * posix/regcomp.c (parse_branch): One more memory leak plugged.
47536 * posix/bug-regex31.input: Add test case.
47537
1751705d
UD
475382010-10-11 Ulrich Drepper <drepper@gmail.com>
47539
e9b9cbf5
UD
47540 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47541 * posix/bug-regex31.input: New file.
47542
47543 [BZ #12078]
47544 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47545 (parse_sub_exp): Fix last change, use postorder.
47546
ef06edbe
UD
47547 * posix/bug-regex31.c: New file.
47548 * posix/Makefile: Add rules to build and run bug-regex31.
47549
a129c80d
UD
47550 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47551
47552 [BZ #12078]
47553 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47554
b76b818e
UD
47555 [BZ #12108]
47556 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47557 to have entries in sys_siglist.
47558
1751705d
UD
47559 [BZ #12093]
47560 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47561 be NULL.
47562
9ff8d36f
JJ
475632010-10-07 Jakub Jelinek <jakub@redhat.com>
47564
47565 [BZ #3268]
47566 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47567 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47568 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47569 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47570 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47571 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47572 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47573 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47574 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47575 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47576 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47577 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47578 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47579 * math/ftestexcept.c (fetestexcept): Likewise.
47580 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47581 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47582 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47583 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47584 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47585 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47586 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47587
af325969
UD
475882010-10-11 Ulrich Drepper <drepper@gmail.com>
47589
c579b202 47590 [BZ #12107]
af325969
UD
47591 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47592 newline.
47593
67a67b95
UD
475942010-10-06 Ulrich Drepper <drepper@gmail.com>
47595
47596 * string/bug-strstr1.c: New file.
47597 * string/Makefile: Add rules to build and run bug-strstr1.
47598
5fb308bc
EB
475992010-10-05 Eric Blake <eblake@redhat.com>
47600
47601 [BZ #12092]
47602 * string/str-two-way.h (two_way_long_needle): Always clear memory
47603 when skipping input due to the shift table.
47604
45db99c7
UD
476052010-10-03 Ulrich Drepper <drepper@gmail.com>
47606
3b111893
UD
47607 [BZ #12005]
47608 * malloc/mcheck.c: Handle large requests.
47609
45db99c7
UD
47610 [BZ #12077]
47611 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47612 for strncmp and strncasecmp.
47613 * string/stratcliff.c: Add tests for strcmp and strncmp.
47614 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47615
cf7a1eb8
NI
476162010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47617
47618 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47619 __set_fpscr.
47620
6484ba5e
AJ
476212010-09-30 Andreas Jaeger <aj@suse.de>
47622
47623 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47624 (CGROUP_SUPER_MAGIC): Define.
47625 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47626 Handle btrfs and cgroup file systems.
47627 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47628 Likewise.
47629
91c42559
LM
476302010-09-27 Luis Machado <luisgpm@br.ibm.com>
47631
47632 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47633 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47634
87a97932
AK
476352010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47636
47637 [BZ #12067]
47638 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47639 trying to locate the ELF header.
47640
c21cc9bc
AS
476412010-09-27 Andreas Schwab <schwab@redhat.com>
47642
47643 [BZ #11611]
47644 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47645 Mask out sign-bit copies when constructing f_fsid.
47646
315970f6
PB
476472010-09-24 Petr Baudis <pasky@suse.cz>
47648
47649 * debug/stack_chk_fail_local.c: Add missing licence exception.
47650 * debug/warning-nop.c: Likewise.
47651
1ac7a2c7
JM
476522010-09-15 Joseph Myers <joseph@codesourcery.com>
47653
47654 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47655 implementing getdents64 using getdents syscall, set d_type if
47656 __ASSUME_GETDENTS32_D_TYPE.
47657
56801c50
AS
476582010-09-16 Andreas Schwab <schwab@redhat.com>
47659
47660 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47661 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47662
dda51327
UD
476632010-09-21 Ulrich Drepper <drepper@redhat.com>
47664
47665 [BZ #12037]
47666 * posix/unistd.h: Undo change of feature selection for ftruncate from
47667 2010-01-11.
47668
8ffcee4a
UD
476692010-09-20 Ulrich Drepper <drepper@redhat.com>
47670
a545ecd9 47671 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
47672 detection.
47673
e24f0a8b
AS
476742010-09-20 Andreas Schwab <schwab@redhat.com>
47675
47676 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47677 fanotify_mark.
47678 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47679
7291c56f
AS
476802010-09-14 Andreas Schwab <schwab@redhat.com>
47681
47682 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47683 variables after CHECK_SP call.
47684 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47685
bc5fb037
AS
476862010-09-13 Andreas Schwab <schwab@redhat.com>
47687 Ulrich Drepper <drepper@redhat.com>
47688
47689 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47690 re-relocationg ld.so.
47691 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47692 _dl_init_paths call.
47693 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
47694 here anymore.
47695
e66e7419
UD
476962010-09-14 Ulrich Drepper <drepper@redhat.com>
47697
47698 * resolv/res_init.c (__res_vinit): Count the default server we added.
47699
c044aa75
CLT
477002010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
47701 Ulrich Drepper <drepper@redhat.com>
47702
47703 [BZ #11968]
47704 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47705 (____longjmp_chk): Use %ebx for saving value across system call.
47706 Add unwind info.
47707
32cf4069
AS
477082010-09-06 Andreas Schwab <schwab@redhat.com>
47709
47710 * manual/Makefile: Don't mix pattern rules with normal rules.
47711
817328ee
AS
477122010-09-05 Andreas Schwab <schwab@linux-m68k.org>
47713
47714 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47715 operation.
47716 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47717 * libio/iofopncook.c (_IO_cookie_init): Likewise.
47718 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47719 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47720 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47721 Likewise.
47722
29fddf61
UD
477232010-09-04 Ulrich Drepper <drepper@redhat.com>
47724
47725 [BZ #11979]
47726 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47727 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47728
0959ffc9
UD
477292010-09-02 Ulrich Drepper <drepper@redhat.com>
47730
47731 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47732 * sysdeps/x86_64/addmul_1.S: Likewise.
47733 * sysdeps/x86_64/lshift.S: Likewise.
47734 * sysdeps/x86_64/mul_1.S: Likewise.
47735 * sysdeps/x86_64/rshift.S: Likewise.
47736 * sysdeps/x86_64/sub_n.S: Likewise.
47737 * sysdeps/x86_64/submul_1.S: Likewise.
47738
ece29840
ST
477392010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
47740
0959ffc9
UD
47741 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47742 Define __sched_param instead of SCHED_* and sched_param when
ece29840 47743 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 47744 * bits/sched.h [__need_schedparam]
ece29840 47745 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
47746 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47747 (__defined_schedparam): Define to 1.
ece29840
ST
47748 (__sched_param): New structure, identical to sched_param.
47749 (__need_schedparam): Undefine.
47750
e53a31fe
MF
477512010-08-31 Mike Frysinger <vapier@gentoo.org>
47752
fdc0c10d
MF
47753 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47754 (epoll_create1): Declare.
47755
e53a31fe
MF
47756 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47757
a726d796
AS
477582010-08-31 Andreas Schwab <schwab@redhat.com>
47759
47760 [BZ #7066]
47761 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47762 shifting retval into place.
47763
2f3e3dc7
UD
477642010-09-01 Ulrich Drepper <drepper@redhat.com>
47765
f2933da9
UD
47766 * nis/rpcsvc/nis.h: Update copyright notice.
47767 * nis/rpcsvc/nis.x: Likewise.
47768 * nis/rpcsvc/nis_callback.h: Likewise.
47769 * nis/rpcsvc/nis_callback.x: Likewise.
47770 * nis/rpcsvc/nis_object.x: Likewise.
47771 * nis/rpcsvc/nis_tags.h: Likewise.
47772 * nis/rpcsvc/yp.h: Likewise.
47773 * nis/rpcsvc/yp.x: Likewise.
47774 * nis/rpcsvc/ypupd.h: Likewise.
47775 * nis/yp_xdr.c: Likewise.
47776 * nis/ypupdate_xdr.c: Likewise.
47777
2f3e3dc7
UD
47778 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
47779 mainly the body of pmap_getport. Add parameters to specify timeouts.
47780 (pmap_getport): Use __libc_rpc_getport.
47781 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47782 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47783 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47784
f3dcc2f9
AS
477852010-08-31 Andreas Schwab <schwab@linux-m68k.org>
47786
47787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47788 fanotify_mark.
47789
6d34eb5b
RM
477902010-08-27 Roland McGrath <roland@redhat.com>
47791
47792 * sysdeps/i386/i686/multiarch/Makefile
47793 (CFLAGS-varshift.c): New variable.
47794
9ea3de11
UD
477952010-08-27 Ulrich Drepper <drepper@redhat.com>
47796
c96d23fc
UD
47797 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47798 * sysdeps/i386/i686/multiarch/varshift.c: New file.
47799
9ea3de11
UD
47800 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47801
47802 * sysdeps/x86_64/strlen.S: Minimal code improvement.
47803
623aac7f
L
478042010-08-26 H.J. Lu <hongjiu.lu@intel.com>
47805
47806 * sysdeps/x86_64/strlen.S: Unroll the loop.
47807 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47808 strlen-sse2 strlen-sse2-bsf.
47809 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47810 __strlen_no_bsf if bit_Slow_BSF is set.
47811 (__strlen_sse42): Removed.
47812 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47813 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47814
8b2b7715
RM
478152010-08-25 Roland McGrath <roland@redhat.com>
47816
47817 * sysdeps/x86_64/multiarch/varshift.S: File removed.
47818 * sysdeps/x86_64/multiarch/varshift.c: New file.
47819 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47820 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47821 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47822 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47823
e73015f2
L
478242010-08-25 H.J. Lu <hongjiu.lu@intel.com>
47825
47826 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47827 strlen-sse2 strlen-sse2-bsf.
47828 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47829 __strlen_sse2_bsf if bit_Slow_BSF is unset.
47830 (__strlen_sse2): Removed.
47831 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47832 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47833 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47834 bit_Slow_BSF for Atom.
47835 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47836 (index_Slow_BSF): Define.
47837 (HAS_SLOW_BSF): Define.
47838
df24a73e
UD
478392010-08-25 Ulrich Drepper <drepper@redhat.com>
47840
47841 [BZ #10851]
47842 * resolv/res_init.c (__res_vinit): When no server address at all
47843 is given default to loopback.
47844
f2ac4868
RM
478452010-08-24 Roland McGrath <roland@redhat.com>
47846
09055553
RM
47847 * configure.in: Remove config-name.h generation.
47848 * configure: Regenerated.
47849 * config-name.in: File removed.
47850 * scripts/config-uname.sh: New file.
47851 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47852 ($(objdir)config-name.h): New target.
47853
f2ac4868
RM
47854 * sunrpc/rpc_parse.h: Avoid nested comment.
47855
73f27d5e
RH
478562010-08-24 Richard Henderson <rth@redhat.com>
47857 Ulrich Drepper <drepper@redhat.com>
47858 H.J. Lu <hongjiu.lu@intel.com>
47859
47860 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47861 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47862 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47863 Replace _mm_srli_si128 with __m128i_shift_right. Replace
47864 _mm_alignr_epi8 with _mm_loadu_si128.
47865 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47866 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47867 (__m128i_shift_right): Removed.
47868 * sysdeps/i386/i686/multiarch/varshift.h: New file.
47869 * sysdeps/i386/i686/multiarch/varshift.S: New file.
47870 * sysdeps/x86_64/multiarch/varshift.h: New file.
47871 * sysdeps/x86_64/multiarch/varshift.S: New file.
47872
84b9230c
MF
478732010-08-21 Mike Frysinger <vapier@gentoo.org>
47874
47875 * configure.in: Move assembler checks to before sysdep dir checking.
47876
9bbd0ddc
PB
478772010-08-20 Petr Baudis <pasky@suse.cz>
47878
47879 * LICENSES: Sync the sunrpc license.
47880
9da4bb31
UD
478812010-08-19 Ulrich Drepper <drepper@redhat.com>
47882
a7ab6ec8
UD
47883 * sunrpc/auth_des.c: Update copyright notice once again.
47884 * sunrpc/auth_none.c: Likewise.
47885 * sunrpc/auth_unix.c: Likewise.
47886 * sunrpc/authdes_prot.c: Likewise.
47887 * sunrpc/authuxprot.c: Likewise.
47888 * sunrpc/bindrsvprt.c: Likewise.
47889 * sunrpc/clnt_gen.c: Likewise.
47890 * sunrpc/clnt_perr.c: Likewise.
47891 * sunrpc/clnt_raw.c: Likewise.
47892 * sunrpc/clnt_simp.c: Likewise.
47893 * sunrpc/clnt_tcp.c: Likewise.
47894 * sunrpc/clnt_udp.c: Likewise.
47895 * sunrpc/clnt_unix.c: Likewise.
47896 * sunrpc/des_crypt.c: Likewise.
47897 * sunrpc/des_soft.c: Likewise.
47898 * sunrpc/get_myaddr.c: Likewise.
47899 * sunrpc/getrpcport.c: Likewise.
47900 * sunrpc/key_call.c: Likewise.
47901 * sunrpc/key_prot.c: Likewise.
47902 * sunrpc/openchild.c: Likewise.
47903 * sunrpc/pm_getmaps.c: Likewise.
47904 * sunrpc/pm_getport.c: Likewise.
47905 * sunrpc/pmap_clnt.c: Likewise.
47906 * sunrpc/pmap_prot.c: Likewise.
47907 * sunrpc/pmap_prot2.c: Likewise.
47908 * sunrpc/pmap_rmt.c: Likewise.
47909 * sunrpc/rpc/auth.h: Likewise.
47910 * sunrpc/rpc/auth_unix.h: Likewise.
47911 * sunrpc/rpc/clnt.h: Likewise.
47912 * sunrpc/rpc/des_crypt.h: Likewise.
47913 * sunrpc/rpc/key_prot.h: Likewise.
47914 * sunrpc/rpc/netdb.h: Likewise.
47915 * sunrpc/rpc/pmap_clnt.h: Likewise.
47916 * sunrpc/rpc/pmap_prot.h: Likewise.
47917 * sunrpc/rpc/pmap_rmt.h: Likewise.
47918 * sunrpc/rpc/rpc.h: Likewise.
47919 * sunrpc/rpc/rpc_des.h: Likewise.
47920 * sunrpc/rpc/rpc_msg.h: Likewise.
47921 * sunrpc/rpc/svc.h: Likewise.
47922 * sunrpc/rpc/svc_auth.h: Likewise.
47923 * sunrpc/rpc/types.h: Likewise.
47924 * sunrpc/rpc/xdr.h: Likewise.
47925 * sunrpc/rpc_clntout.c: Likewise.
47926 * sunrpc/rpc_cmsg.c: Likewise.
47927 * sunrpc/rpc_common.c: Likewise.
47928 * sunrpc/rpc_cout.c: Likewise.
47929 * sunrpc/rpc_dtable.c: Likewise.
47930 * sunrpc/rpc_hout.c: Likewise.
47931 * sunrpc/rpc_main.c: Likewise.
47932 * sunrpc/rpc_parse.c: Likewise.
47933 * sunrpc/rpc_parse.h: Likewise.
47934 * sunrpc/rpc_prot.c: Likewise.
47935 * sunrpc/rpc_sample.c: Likewise.
47936 * sunrpc/rpc_scan.c: Likewise.
47937 * sunrpc/rpc_scan.h: Likewise.
47938 * sunrpc/rpc_svcout.c: Likewise.
47939 * sunrpc/rpc_tblout.c: Likewise.
47940 * sunrpc/rpc_util.c: Likewise.
47941 * sunrpc/rpc_util.h: Likewise.
47942 * sunrpc/rpcinfo.c: Likewise.
47943 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47944 * sunrpc/rpcsvc/key_prot.x: Likewise.
47945 * sunrpc/rpcsvc/klm_prot.x: Likewise.
47946 * sunrpc/rpcsvc/mount.x: Likewise.
47947 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47948 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47949 * sunrpc/rpcsvc/rex.x: Likewise.
47950 * sunrpc/rpcsvc/rstat.x: Likewise.
47951 * sunrpc/rpcsvc/rusers.x: Likewise.
47952 * sunrpc/rpcsvc/sm_inter.x: Likewise.
47953 * sunrpc/rpcsvc/spray.x: Likewise.
47954 * sunrpc/rpcsvc/yppasswd.x: Likewise.
47955 * sunrpc/rtime.c: Likewise.
47956 * sunrpc/svc.c: Likewise.
47957 * sunrpc/svc_auth.c: Likewise.
47958 * sunrpc/svc_authux.c: Likewise.
47959 * sunrpc/svc_raw.c: Likewise.
47960 * sunrpc/svc_run.c: Likewise.
47961 * sunrpc/svc_simple.c: Likewise.
47962 * sunrpc/svc_tcp.c: Likewise.
47963 * sunrpc/svc_udp.c: Likewise.
47964 * sunrpc/svc_unix.c: Likewise.
47965 * sunrpc/svcauth_des.c: Likewise.
47966 * sunrpc/xcrypt.c: Likewise.
47967 * sunrpc/xdr.c: Likewise.
47968 * sunrpc/xdr_array.c: Likewise.
47969 * sunrpc/xdr_float.c: Likewise.
47970 * sunrpc/xdr_mem.c: Likewise.
47971 * sunrpc/xdr_rec.c: Likewise.
47972 * sunrpc/xdr_ref.c: Likewise.
47973 * sunrpc/xdr_sizeof.c: Likewise.
47974 * sunrpc/xdr_stdio.c: Likewise.
47975
9da4bb31
UD
47976 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47977 handling.
47978
bdaa77bc
AS
479792010-08-19 Andreas Schwab <schwab@redhat.com>
47980
47981 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47982
fe2f79db
LM
479832010-08-19 Luis Machado <luisgpm@br.ibm.com>
47984
47985 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47986 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47987 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47988 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47989 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47990 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47991 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47992 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47993 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47994 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47995 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47996 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47997 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47998 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47999
b9b42ee0
AB
480002010-07-26 Anton Blanchard <anton@samba.org>
48001
48002 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48003 * malloc/arena.c (heap_trim): Likewise.
48004
1c06ba31
UD
480052010-08-16 Ulrich Drepper <drepper@redhat.com>
48006
48007 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48008 here. Not...
48009 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48010 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48011
f8392f40
L
480122010-08-12 H.J. Lu <hongjiu.lu@intel.com>
48013
48014 * sysdeps/i386/elf/Makefile: New file.
48015
3162f12e
AS
480162010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48017
48018 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48019 from fanotify_init.
48020 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48021 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48022
28c90b2c
UD
480232010-08-15 Ulrich Drepper <drepper@redhat.com>
48024
48025 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48026 of strncasecmp_l.
1feccb6c 48027 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 48028
ca6bb004
UD
480292010-08-14 Ulrich Drepper <drepper@redhat.com>
48030
e9f82e0d
UD
48031 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48032 strncase_l-nonascii.
48033 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48034 Add strncase_l-ssse3.
48035 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48036 * sysdeps/x86_64/strcmp.S: Likewise.
48037 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48038 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48039 * sysdeps/x86_64/strncase.S: New file.
48040 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48041 * sysdeps/x86_64/strncase_l.S: New file.
48042 * string/Makefile (strop-tests): Add strncasecmp.
48043 * string/test-strncasecmp.c: New file.
48044
48045 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48046 warning.
48047
ca6bb004
UD
48048 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48049 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48050
052fa7b3
AS
480512010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48052
48053 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48054
962dba78
UD
480552010-08-12 Ulrich Drepper <drepper@redhat.com>
48056
48057 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48058 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48059 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48060
bebff237
AM
480612010-05-01 Alan Modra <amodra@gmail.com>
48062
48063 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48064 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48065 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48066 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48067 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48068 tidying. Don't tail-call __sigjmp_save for static lib.
48069 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48070 save location.
48071 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48072 (CALL_MCOUNT): Add eh info, and nop after bl.
48073 (TAIL_CALL_SYSCALL_ERROR): New macro.
48074 (PSEUDO_RET): Use it.
48075 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48076 Correct save location of integer regs and cr.
48077 (_dl_profile_resolve): Correct cr save location. Delete nops
48078 after bl when SHARED. Reduce cfi size a little by better
48079 placement of cfi directives.
48080 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48081 make a stack frame. Instead use parm save area as a temp.
48082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48083 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
48084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48085 Don't make a stack frame for parent, use parm save area.
48086 Increase child stack frame to 112 bytes. Don't save unused reg,
48087 and adjust reg usage. Set up cfi on error recovery and
48088 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48090 (__makecontext): Add dummy nop after jump to exit.
48091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48092 Use correct parm save area and cr save, reduce stack frame.
48093 Correct cfi for possible PSEUDO_RET frame setup.
48094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48095 Branch to local label emitted by PSEUDO_RET rather than
48096 __syscall_error.
48097
02637374
AS
480982010-08-12 Andreas Schwab <schwab@redhat.com>
48099
48100 [BZ #11904]
48101 * locale/programs/locale.c (print_assignment): New function.
48102 (show_locale_vars): Use it.
48103
c3e2f19b
UD
481042010-08-11 Ulrich Drepper <drepper@redhat.com>
48105
3cdaa6ad
UD
48106 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48107 field.
48108 (struct statfs64): Likewise.
48109 (_STATFS_F_FLAGS): Define.
48110 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48111 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48112 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48113 (ST_VALID): Define locally.
48114 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48115 __statvfs_getflags, use the provided value.
48116 * sysdeps/unix/sysv/linux/kernel-features.h: Define
48117 __ASSUME_STATFS_F_FLAGS.
48118
754f7da3
UD
48119 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48120
10b3bedc
UD
48121 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48122 Add sys/fanotify.h.
48123 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48124 fanotify_mask for GLIBC_2.13.
48125 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48126 fanotify_init and fanotify_mark.
48127 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48128 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48129
c08fb0d7
UD
48130 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48131 Add prlimit.
48132 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48133 prlimit64 for GLIBC_2.13.
48134 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48135 prlimit64.
48136 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48137 syscall.
48138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48139 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48140 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48141 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48142 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
48143 add prlimit alias.
48144 * sysdeps/unix/sysv/linux/prlimit.c: New file.
48145
15bac72b
UD
48146 [BZ #11903]
48147 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48148 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48149
c3e2f19b
UD
48150 * nss/Makefile: Add rules to build and run tst-nss-test1.
48151 * shlib-versions: Add entry for libnss_test1.
48152 * nss/nss_test1.c: New file.
48153 * nss/tst-nss-test1.c: New file.
48154
48155 * nss/nsswitch.c (__nss_database_custom): Define new variable.
48156 (__nss_configure_lookup): Set appropriate entry in
48157 __nss_configure_lookup to true.
48158 * nss/nsswitch.h: Define enum with indeces of databases in
48159 databases and __nss_database_custom arrays. Declare
48160 __nss_database_custom.
48161 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48162 to avoid using nscd when custom rules are installed.
48163 * nss/getXXbyYY_r.c: Likewise.
48164 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48165
48166 * nss/nss_files/files-parse.c: Whitespace fixes.
48167
f15ce4d8
UD
481682010-08-09 Ulrich Drepper <drepper@redhat.com>
48169
48170 [BZ #11883]
48171 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48172 * posix/fnmatch_loop.c: Likewise.
48173
d22e4cc9
AK
481742010-07-17 Andi Kleen <ak@linux.intel.com>
48175
48176 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48177 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48178 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48179 * Versions.def [GLIBC_2.13]: Add.
48180
805bc17d
UD
481812010-08-06 Ulrich Drepper <drepper@redhat.com>
48182
48183 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48184 Also fail if tpwd after pwuid call is NULL.
48185
5a42321d
ST
481862010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
48187
48188 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48189 when converting to ms.
48190
fd3ebeda
ST
481912010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48192
48193 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48194 EOPNOTSUPP errors with ENOTTY.
48195 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48196 EOPNOTSUPP errors with ENOTTY.
48197
73507d3a
UD
481982010-07-31 Ulrich Drepper <drepper@redhat.com>
48199
48200 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48201 Add strcasecmp_l-ssse3.
48202 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48203 strcasecmp.
48204 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48205 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48206 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48207
fe36dd02
UD
482082010-07-30 Ulrich Drepper <drepper@redhat.com>
48209
66f6765a
UD
48210 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48211
42e08a54
UD
48212 * string/Makefile (strop-tests): Add strcasecmp.
48213 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48214 strcasecmp_l-nonascii.
48215 (gen-as-const-headers): Add locale-defines.sym.
48216 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48217 * sysdeps/x86_64/strcasecmp.S: New file.
48218 * sysdeps/x86_64/strcasecmp_l.S: New file.
48219 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48220 * sysdeps/x86_64/locale-defines.sym: New file.
48221 * string/test-strcasecmp.c: New file.
48222
fe36dd02
UD
48223 * string/test-strcasestr.c: Test both ends of the range of characters.
48224 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48225
48cbc0d6
RM
482262010-07-29 Roland McGrath <roland@redhat.com>
48227
76e6d6bc 48228 [BZ #11856]
48cbc0d6
RM
48229 * manual/locale.texi (Yes-or-No Questions): Fix example code.
48230
880113d9
UD
482312010-07-27 Ulrich Drepper <drepper@redhat.com>
48232
48233 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48234 for ld.so.
48235
deb9cabb
AS
482362010-07-27 Andreas Schwab <schwab@redhat.com>
48237
48238 * manual/memory.texi (Malloc Tunable Parameters): Document
48239 M_PERTURB.
48240
1c7570ff
RM
482412010-07-26 Roland McGrath <roland@redhat.com>
48242
48243 [BZ #11840]
48244 * configure.in (-fgnu89-inline check): Set and substitute
48245 gnu89_inline, not libc_cv_gnu89_inline.
48246 * configure: Regenerated.
48247 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48248
24fb0f88
UD
482492010-07-26 Ulrich Drepper <drepper@redhat.com>
48250
48251 * string/test-strnlen.c: New file.
48252 * string/Makefile (strop-tests): Add strnlen.
48253 * string/tester.c (test_strnlen): Add a few more test cases.
48254 * string/tst-strlen.c: Better error reporting.
48255
48256 * sysdeps/x86_64/strnlen.S: New file.
48257
8e96b93a
UD
482582010-07-24 Ulrich Drepper <drepper@redhat.com>
48259
48260 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48261 lower-latency instructions.
48262
dbc676d4
UD
482632010-07-23 Ulrich Drepper <drepper@redhat.com>
48264
48265 * string/test-strcasestr.c: New file.
48266 * string/test-strstr.c: New file.
48267 * string/Makefile (strop-tests): Add strstr and strcasestr.
48268 * string/str-two-way.h: Don't undefine MAX.
48269 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48270
f6a31e0e
AS
482712010-07-21 Andreas Schwab <schwab@redhat.com>
48272
48273 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48274 strcasestr-nonascii.
48275 (CFLAGS-strcasestr-nonascii.c): Define.
48276 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48277 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48278 Remove unused attribute.
48279
5dbc3b6c
RM
482802010-07-20 Roland McGrath <roland@redhat.com>
48281
48282 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48283 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
48284 ld.so.cache was broken. With it, there is no way to disable dsocaps
48285 like LD_HWCAP_MASK can disable hwcaps.
48286
23d101d8
EPM
482872010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48288
48289 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48290
cc9f2e47
UD
482912010-07-16 Ulrich Drepper <drepper@redhat.com>
48292
48293 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48294 call in strcasestr.
48295 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48296 __strcasestr_sse42_nonascii.
48297 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48298 strcasestr-nonascii.c.
48299 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48300
77c1b069
LM
483012010-06-15 Luis Machado <luisgpm@br.ibm.com>
48302
48303 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48304 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48305 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48306 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48307
440566c3
UD
483082010-07-09 Ulrich Drepper <drepper@redhat.com>
48309
48310 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48311 fcntl.
48312
5be9d05d
AS
483132010-07-06 Andreas Schwab <schwab@redhat.com>
48314
c30b7ee2 48315 [BZ #11577]
5be9d05d
AS
48316 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48317 dl_signal_cerror.
48318
8a492a67
UD
483192010-07-06 Ulrich Drepper <drepper@redhat.com>
48320
48321 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48322 _PC_PIPE_BUF using F_GETPIPE_SZ.
48323
713df3d5
RM
483242010-07-05 Roland McGrath <roland@redhat.com>
48325
48326 * manual/arith.texi (Rounding Functions): Fix rint description
48327 implicit in round description.
48328
702e8f14
UD
483292010-07-02 Ulrich Drepper <drepper@redhat.com>
48330
48331 * elf/Makefile: Fix linking for a few tests to make recent linker
48332 happy.
48333
52ed8be9
AS
483342010-06-30 Andreas Schwab <schwab@redhat.com>
48335
48336 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48337 $(common-objpfx)libc_nonshared.a.
48338
f47c9a11
LM
483392010-06-21 Luis Machado <luisgpm@br.ibm.com>
48340
48341 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48342 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48343 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48344 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48345 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48346 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48347 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48348 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48363 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48364 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48365 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48366 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48367 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48368 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48369 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48370 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48371 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48372 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48373 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48374 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48389
6fb8cbcb
L
483902010-06-25 H.J. Lu <hongjiu.lu@intel.com>
48391
48392 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48393 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
48394 * string/memmove.c (memmove): Renamed to ...
48395 (MEMMOVE): ...this. Default to memmove.
48396 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48397 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48398 (END_CHK): Define.
48399 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48400 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48401 mempcpy-ssse3-back memmove-ssse3-back.
48402 * sysdeps/x86_64/multiarch/bcopy.S: New file .
48403 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48404 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48405 * sysdeps/x86_64/multiarch/memcpy.S: New file.
48406 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48407 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48408 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48409 * sysdeps/x86_64/multiarch/memmove.c: New file.
48410 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48411 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48412 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48413 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48414 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48415 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48416 Define.
48417 (index_Fast_Copy_Backward): Define.
48418 (HAS_ARCH_FEATURE): Define.
48419 (HAS_FAST_REP_STRING): Define.
48420 (HAS_FAST_COPY_BACKWARD): Define.
48421
4e733bac 484222010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
48423
48424 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48425 Restore proper fallback handling.
48426
63c4ed22
UD
484272010-06-19 Ulrich Drepper <drepper@redhat.com>
48428
ac2b484c
UD
48429 [BZ #11701]
48430 * posix/group_member.c (__group_member): Correct checking loop.
48431
63c4ed22
UD
48432 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48433 OOM in getpwuid_r correctly. Return error number when the caller
48434 should return, otherwise -1.
48435 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48436 call returning > 0 value.
48437 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48438
765ade4b
AS
484392010-06-07 Andreas Schwab <schwab@redhat.com>
48440
48441 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48442 libc_nonshared.a from targets in modules-names.
48443
80da2e09
KS
484442010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
48445
48446 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48447 requires it.
48448
158db122
LM
484492010-06-10 Luis Machado <luisgpm@br.ibm.com>
48450
48451 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48452 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48453 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48454 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48455
caa78cf8
AS
484562010-06-02 Andreas Schwab <schwab@redhat.com>
48457
48458 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48459
b2ef2c01
UD
484602010-06-14 Ulrich Drepper <drepper@redhat.com>
48461
48462 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48463 and F_GETPIPE_SZ.
48464 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48465 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48466 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48467 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48468 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48469 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48470
fbd643b6
RM
484712010-06-14 Roland McGrath <roland@redhat.com>
48472
48473 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48474
f32f2869
JJ
484752010-06-07 Jakub Jelinek <jakub@redhat.com>
48476
48477 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48478 __REDIRECT followed by __THROW.
48479 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48480 * posix/getopt.h (getopt): Likewise.
48481
2a50c078
EPM
484822010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48483
48484 * hurd/lookup-at.c (__file_name_lookup_at): Accept
48485 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
48486 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48487 in AT_FLAGS.
48488 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48489 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48490
eb5ad2eb
LM
484912010-05-28 Luis Machado <luisgpm@br.ibm.com>
48492
48493 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48494
3c88fe1e
L
484952010-05-26 H.J. Lu <hongjiu.lu@intel.com>
48496
48497 [BZ #11640]
48498 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48499 Properly check family and model.
48500
d2f73151
TY
485012010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
48502
48503 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48504
ebd2e13d
LM
485052010-05-24 Luis Machado <luisgpm@br.ibm.com>
48506
48507 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48508
b32b8b45
UD
485092010-05-21 Ulrich Drepper <drepper@redhat.com>
48510
48511 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48512 symbol reference.
48513
9acbe24d
AS
485142010-05-19 Andreas Schwab <schwab@redhat.com>
48515
48516 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48517 symbol reference.
48518
f0ccf6ea
AS
485192010-05-21 Andreas Schwab <schwab@redhat.com>
48520
3d04ff3a
AS
48521 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48522 and internal_recvmmsg.
48523 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48524 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48525 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48526 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48527
f0ccf6ea
AS
48528 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48529 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48530 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48531
5b08ac57
AS
485322010-05-20 Andreas Schwab <schwab@redhat.com>
48533
48534 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48535
4828935d
LM
485362010-05-17 Luis Machado <luisgpm@br.ibm.com>
48537
48538 POWER7 optimizations.
48539 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48540 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48541
373d545e
UD
485422010-05-19 Ulrich Drepper <drepper@redhat.com>
48543
48544 * version.h: Update for 2.13 development version.
48545
21a2b1ae
AS
485462010-05-12 Andrew Stubbs <ams@codesourcery.com>
48547
48548 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48549 exceptions. Return 0.
48550
3f7dcb2b
RM
485512010-05-07 Roland McGrath <roland@redhat.com>
48552
48553 * elf/ldconfig.c (main): Add a const.
48554
5f24d53a 485552010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 48556
a160f8d8
UD
48557 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48558 (args_options): Add no-idn option.
48559 (ahosts_keys_int): Add idn_flags to ai_flags.
48560 (parse_option): Handle 'i' option to clear idn_flags.
48561
5f24d53a
UD
48562 * malloc/malloc.c (_int_free): Possible race in the most recently
48563 added check. Only act on the data if no current modification
48564 happened.
265bb1ce
UD
48565
48566See ChangeLog.17 for earlier changes.