]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Simplify strcoll implementation
[thirdparty/glibc.git] / ChangeLog
CommitLineData
1326ba1a
SP
12013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 * string/strcoll_l.c (coll_seq): New structure.
4 (get_next_seq_cached): New function.
5 (get_next_seq): New function.
6 (do_compare): New function.
7 (STRCOLL): Use GNU style definition. Simplify implementation
8 by using get_next_seq, get_next_seq_cached and do_compare.
9
91ce4085
FW
102013-08-16 Florian Weimer <fweimer@redhat.com>
11
12 [BZ #14699]
13 CVE-2013-4237
14 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15 member.
16 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17 member.
18 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
19 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
20 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
21 conditional.
22 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
23 GETDENTS_64BIT_ALIGNED.
24 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25 * manual/filesys.texi (Reading/Closing Directory): Document
26 ENAMETOOLONG return value of readdir_r. Recommend readdir more
27 strongly.
28 * manual/conf.texi (Limits for Files): Add portability note to
29 NAME_MAX, PATH_MAX.
30 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
31
ca0a6bc4
AS
322013-08-13 Andreas Schwab <schwab@suse.de>
33
34 [BZ #15749]
35 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
36 of fabs.
37 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
38 LDBL_MAX_EXP >= 16384]: Add tests for it.
39
6c1fd795
DM
402013-08-12 David S. Miller <davem@davemloft.net>
41
42 * version.h (RELEASE): Set to "development".
43 (VERSION): Set to "2.18.90".
44 * NEWS: Add 2.19 section.
45
31ad488d
DM
462013-08-03 David S. Miller <davem@davemloft.net>
47
48 * po/ko.po: Update Korean translation from translation project.
49
db24e684
DM
502013-08-01 David S. Miller <davem@davemloft.net>
51
52 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
53 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
54 Bilka.
55
f723285b
DM
562013-07-30 David S. Miller <davem@davemloft.net>
57
58 * po/fr.po: Update French translation from translation project.
59
3cbc52db
DM
602013-07-28 David S. Miller <davem@davemloft.net>
61
30bbc0cc
DM
62 * po/cs.po: Update Czech translation from translation project.
63
3cbc52db
DM
64 * po/sv.po: Update Swedish translation from translation project.
65
d492e6d0
DM
662013-07-27 David S. Miller <davem@davemloft.net>
67
f1a7f492
DM
68 * po/eo.po: Update Esperanto translation from translation project.
69
90e62a4a
DM
70 * po/vi.po: Update Vietnamese translation from translation project.
71
d492e6d0
DM
72 * po/de.po: Update German translation from translation project.
73
d4baa62d
DM
742013-07-26 David S. Miller <davem@davemloft.net>
75
641aa7b4
DM
76 * po/bg.po: Update Bulgarian translation from translation project.
77
d4baa62d
DM
78 * po/nl.po: Update Dutch translation from translation project.
79 * po/pl.po: Update Polish translation from translation project.
80 * po/ru.po: Update Russian translation from translation project.
81
61a9dcb9
DM
822013-07-24 David S. Miller <davem@davemloft.net>
83
84 * po/libc.pot: Update.
85
7b1f8b58
AZ
862013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
87
88 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
89 variable page size.
90 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
91 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
92 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
93
a8fc7a03
AK
942013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
95
96 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
97
e4608715
CD
982013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
99 Andreas Schwab <schwab@suse.de>
100 Roland McGrath <roland@hack.frob.com>
101 Joseph Myers <joseph@codesourcery.com>
102 Carlos O'Donell <carlos@redhat.com>
103
104 [BZ #15755]
105 * config.h.in: Define HAVE_PT_CHOWN.
106 * config.make.in (build-pt-chown): New variable.
107 * configure.in (--enable-pt_chown): New configure option.
108 * configure: Regenerate.
109 * login/Makefile: Include Makeconfig. Build pt_chown only if
110 build-pt-chown is enabled.
111 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
112 pt_chown to fix pty ownership.
113 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
114 CLOSE_ALL_FDS.
115 * manual/install.texi (Configuring and compiling): Mention
116 --enable-pt_chown. Add @findex for grantpt.
117 * INSTALL: Regenerate.
118
da2d62df
DM
1192013-07-20 David S. Miller <davem@davemloft.net>
120
121 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
122 difference between 32-bit and 64-bit.
123
d7e06450
CD
1242013-07-15 Carlos O'Donell <carlos@redhat.com>
125
126 [BZ #15711]
127 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
128 Avoid system header dependency with -ffreestanding.
129 ($(objpfx)bits/syscall%d): Likewise.
130
f959cfd7
DM
1312013-07-13 David S. Miller <davem@davemloft.net>
132
133 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
134 underflows from atanl/atan2l due to bug 15319.
135 (casinh_test_data): Likewise.
136
c61f8513
DM
1372013-07-07 David S. Miller <davem@davemloft.net>
138
139 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
140
72c90ed0
JA
1412013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
142
143 * sysdeps/i386/fpu/libm-test-ulps: Update.
144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
145
52dfbe13
SP
1462013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
147
148 * configure.in (--enable-lock-elision): Fix message text.
149 * INSTALL: Regenerate.
150 * configure: Regenerate.
151
3f169543
AZ
1522013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
153
154 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
155
521c6785
AJ
1562013-07-03 Andreas Jaeger <aj@suse.de>
157
158 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
159 define.
160 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
161 (ptrace_peeksiginfo_args): Add.
162 (__ptrace_peeksiginfo_flags): Add.
163 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
164 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
165 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
166
d2cc15cb
AM
1672013-07-03 Allan McRae <allan@archlinux.org>
168
169 * sysdeps/i386/fpu/libm-test-ulps: Update.
170
3aaeeca7
DM
1712013-07-02 David S. Miller <davem@davemloft.net>
172
173 * sysdeps/sparc/fpu/libm-test-ulps: Update.
174
5314ed1a
MT
1752013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
176
177 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
178
67338156
JM
1792013-07-02 Joseph Myers <joseph@codesourcery.com>
180
181 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
183
1717da59
AK
1842013-07-02 Andi Kleen <ak@linux.intel.com>
185
186 * config.h.in (ENABLE_LOCK_ELISION): Add.
187 * configure.in (--enable-lock-elision): Add option.
188 * manual/install.texi: Document --enable lock elision.
189 * configure: Regenerate
190 * INSTALL: Regenerate.
191
1c81621c
L
1922013-07-02 H.J. Lu <hongjiu.lu@intel.com>
193
194 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
195 SSE4.2 strcasecmp for libc.a.
196 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
197
77f01ab5
JM
1982013-07-02 Joseph Myers <joseph@codesourcery.com>
199
200 [BZ #13304]
201 * soft-fp/op-common.h (_FP_FMA): New macro.
202 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
203 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
204 (_FP_MUL_MEAT_1_imm): ... here.
205 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
206 (_FP_MUL_MEAT_1_wide): ... here.
207 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
208 (_FP_MUL_MEAT_1_hard): ... here.
209 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
210 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
211 (_FP_MUL_MEAT_2_wide): ... here.
212 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
213 (_FP_MUL_MEAT_2_wide_3mul): ... here.
214 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
215 (_FP_MUL_MEAT_2_gmp): ... here.
216 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
217 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
218 (_FP_MUL_MEAT_4_wide): ... here.
219 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
220 (_FP_MUL_MEAT_4_gmp): ... here.
221 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
222 (_FP_WFRACBITS_DW_S): Likewise.
223 (_FP_WFRACXBITS_DW_S): Likewise.
224 (_FP_HIGHBIT_DW_S): Likewise.
225 (FP_FMA_S): Likewise.
226 (_FP_FRAC_HIGH_DW_S): Likewise.
227 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
228 (_FP_WFRACBITS_DW_D): Likewise.
229 (_FP_WFRACXBITS_DW_D): Likewise.
230 (_FP_HIGHBIT_DW_D): Likewise.
231 (FP_FMA_D): Likewise.
232 (_FP_FRAC_HIGH_DW_D): Likewise.
233 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
234 (_FP_WFRACBITS_DW_E): Likewise.
235 (_FP_WFRACXBITS_DW_E): Likewise.
236 (_FP_HIGHBIT_DW_E): Likewise.
237 (FP_FMA_E): Likewise.
238 (_FP_FRAC_HIGH_DW_E): Likewise.
239 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
240 (_FP_WFRACBITS_DW_Q): Likewise.
241 (_FP_WFRACXBITS_DW_Q): Likewise.
242 (_FP_HIGHBIT_DW_Q): Likewise.
243 (FP_FMA_Q): Likewise.
244 (_FP_FRAC_HIGH_DW_Q): Likewise.
245 * soft-fp/fmasf4.c: New file.
246 * soft-fp/fmadf4.c: Likewise.
247 * soft-fp/fmatf4.c: Likewise.
248
6308fd9a
LD
2492013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
250
251 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
252 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
253 Silvermont.
254 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
255 macro.
256 (index_Slow_SSE4_2): Likewise.
257 (index_Prefer_PMINUB_for_stringop): Likewise.
258 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
259 bit_Slow_SSE4_2 is set.
260 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
261 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
262
89cd9569
RA
2632013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
264
265 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
266 rtld_global._dl_hwcap2.
267 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
268 POWER8.
269 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
270 POWER8 feature descriptions defined in _dl_hwcap2.
271 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
272 string handling for POWER8 feature bits.
273 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
274 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
275 _dl_powerpc_cap_flags.
276 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
277 * sysdeps/powerpc/rtld-global-offsets.sym
278 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
279 _dl_hwcap2 in the rtld_global_ro structure.
280
1ae8bfe0
RA
2812013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
282
283 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
284 hardware capabilities in support of AT_HWCAP2.
285 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
286 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
287 GLRO(dl_hwcap2).
288 (_dl_show_auxv): Add support for calling _dl_procinfo to display
289 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
290 explicitly the unknown a_type display mechanism is used.
291 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
292 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
293 struct member.
294 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
295 to macro prototype for AT_HWCAP2 support.
296 * sysdeps/i386/dl-procinfo.h: Likewise.
297 * sysdeps/s390/dl-procinfo.h: Likewise.
298 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
299 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
300 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
301 return -1 for unknown a_type display fallback.
302 * sysdeps/sparc/dl-procinfo.h: Likewise.
303 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
304 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
305
8fbec010
JM
3062013-06-28 Joseph Myers <joseph@codesourcery.com>
307
308 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
309 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
310
0432680e
PY
3112013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
312
313 [BZ #12492]
314 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
315 mprotect making __stack_prot writable.
316
ce61a2ad
NF
3172013-06-28 Nathan Froyd <froydnj@codesourcery.com>
318 Joseph Myers <joseph@codesourcery.com>
319
320 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
321 as being properly aligned.
322
f91f1c0f
MR
3232013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
324
3d0f5d0c
MR
325 * dlfcn/modstatic5.c: New file.
326 * dlfcn/tststatic5.c: New file.
327 * dlfcn/Makefile (tests): Add tststatic5.
328 (tests-static): Likewise.
329 (modules-names): Add modstatic5.
330 (tststatic5-ENV): New variable.
331 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
332
f91f1c0f
MR
333 [BZ #15022]
334 * elf/dl-support.c (_dl_main_map): New variable.
335 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
336 (_dl_nns, _dl_load_adds): Set to 1.
337 (_dl_initial_searchlist): Refer to _dl_main_map.
338 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
339 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
340 call to _dl_get_origin.
341 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
342 around call_map.
343 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
344 * dlfcn/modstatic3.c: New file.
345 * dlfcn/tststatic3.c: New file.
346 * dlfcn/tststatic4.c: New file.
347 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
348 (tests-static): Likewise.
349 (modules-names): Add modstatic3.
350 (tststatic3-ENV, tststatic4-ENV): New variables.
351 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
352 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
353
cbe7d24b
JM
3542013-06-26 Joseph Myers <joseph@codesourcery.com>
355
356 * configure.in (CC): Require GCC version 4.4 or later.
357 * configure: Regenerated.
358 * manual/install.texi (Tools for Compilation): Update GCC version
359 requirement.
360 * INSTALL: Regenerated.
361
11b8a0e1
LD
3622013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
363
364 [BZ #15674]
bb5bb87c
L
365 * string/test-memcmp.c (check2): New.
366 (main): Call check2.
367
11b8a0e1
LD
368 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
369
b0037103
MR
3702013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
371
372 [BZ #15022]
373 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
374 over to...
375 (dl_open_worker) [!SHARED]: ... here.
376
c18c701d
RA
3772013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
378
379 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
380
1d17fa5f
RH
3812013-06-25 Richard Henderson <rth@redhat.com>
382
383 * locale/programs/locarchive.c: Include <libc-internal.h>
384
8fcb833a
JM
3852013-06-25 Joseph Myers <joseph@codesourcery.com>
386
387 * manual/texinfo.tex: Update to version 2013-06-21.17, with
388 trailing whitespace removed.
389
17db6e8d
MF
3902013-06-24 Mike Frysinger <vapier@gentoo.org>
391
392 [BZ #10283]
17db6e8d
MF
393 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
394 * locale/programs/locarchive.c: Include libc-mmap.h.
395 (prepare_address_space): Take two new outputs (the mmap base and len).
396 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
397 values.
398 (create_archive): Declare new mmap base and len values for
399 prepare_address_space, and store the result in ah.
400 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
401 (enlarge_archive): If ah->mmap_base is not NULL, use that and
402 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
403 Declare new mmap base and len values for
404 prepare_address_space, and store the result in new_ah.
405 (open_archive): Declare new mmap base and len values for
406 prepare_address_space, and store the result in ah.
407 (close_archive): If ah->mmap_base is not NULL, use that and
408 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
409 * sysdeps/generic/libc-mmap.h: New file.
410
d605071e
MF
4112013-06-24 Mike Frysinger <vapier@gentoo.org>
412
413 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
414 (ALIGN_UP): Likewise.
415 (PTR_ALIGN_DOWN): Likewise.
416 (PTR_ALIGN_UP): Likewise.
417
2f063a6e
RA
4182013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
419
420 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
421 entry mapped to PPC_PLATFORM_POWER8.
422 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
423 POWER8.
424 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
425 (_dl_string_platform): Add case for exporting platform position for
426 POWER8.
427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
428 search path to sysdeps/powerpc/powerpc32/power8 directory.
429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
430 search path to sysdeps/powerpc/powerpc64/power8 directory.
431 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
432 power7 directories.
433 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
434 power7 directories.
435
a31ee4b3
SP
4362013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
437
a74ca98f
SP
438 * INSTALL: Regenerate.
439
a31ee4b3
SP
440 * nscd/connections.c (nscd_init): Fix comment.
441
695c378f
JM
4422013-06-22 Joseph Myers <joseph@codesourcery.com>
443
d8412221
JM
444 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
445
695c378f
JM
446 [BZ #15667]
447 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
448 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
449
d1d54715
MR
4502013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
451
452 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
453 DL_DST_REQ_STATIC.
454 (DL_DST_REQ_STATIC): Remove macro.
455
8fdda7af
JM
4562013-06-21 Joseph Myers <joseph@codesourcery.com>
457
458 [BZ #7006]
459 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
460 with a shift of 0 bits.
461
f3bc5e5a
MR
4622013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
463
464 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
465 $(tststatic-ENV).
466
be09e8c9
KK
4672013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
468
469 [BZ #15655]
470 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
471
85c2e611
AZ
4722013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
473
474 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
475 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
476 accepts -fno-tree-loop-distribute-patterns.
477 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
478 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
479 recursive call.
480 * string/memset.c (memset): Likewise.
481 * string/test-memmove.c (simple_memmove): Disable loop transformation
482 to library calls.
483 * string/test-memset.c (simple_memset): Likewise.
484 * benchtests/bench-memmove.c (simple_memmove): Likewise.
485 * benchtests/bench-memset.c (simple_memset): Likewise.
486 * configure: Regenerated.
487
c91e0825
JM
4882013-06-20 Joseph Myers <joseph@codesourcery.com>
489
b8c792af
JM
490 * math/test-misc.c (main): Ignore fesetround failure when failures
491 of subsequent rounding tests would be ignored.
492
c91e0825
JM
493 [BZ #15654]
494 * math/fedisblxcpt.c (fedisableexcept): Return 0.
495 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
496 * math/fegetenv.c (__fegetenv): Return 0.
497 * math/fegetexcept.c (fegetexcept): Return 0.
498 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
499 FE_TONEAREST.
500 * math/feholdexcpt.c (feholdexcept): Return 0.
501 * math/fesetenv.c (__fesetenv): Return 0.
502 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
503 argument FE_TONEAREST.
504 * math/feupdateenv.c (__feupdateenv): Return 0.
505 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
506
bfcacbde
RM
5072013-06-18 Roland McGrath <roland@hack.frob.com>
508
509 * elf/rtld-Rules (rtld-compile-command.S): New variable.
510 (rtld-compile-command.s, rtld-compile-command.c): New variables.
511 ($(objpfx)rtld-%.os rules): Use them.
512
e55a9b25
AZ
5132013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
514
515 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
516 fields.
517
346d65b3
RM
5182013-06-17 Roland McGrath <roland@hack.frob.com>
519
12086fb4
RM
520 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
521 length of target pattern, then descending length of dependency pattern.
522 * configure.in (AWK): Require gawk 3.1.2 or newer.
523 * manual/install.texi (Tools for Compilation): Say that we do.
524 * configure: Regenerated.
525
346d65b3
RM
526 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
527 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
528 * scripts/sysd-rules.awk: ... this new script.
529 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
530 than a glob-style pattern.
531
1a846317
JM
5322013-06-17 Joseph Myers <joseph@codesourcery.com>
533
534 * math/test-misc.c (main): Do not treat incorrectly rounded
535 conversions as failure unless ROUNDING_TESTS passes.
536
8fc75e6f
JM
5372013-06-15 Joseph Myers <joseph@codesourcery.com>
538
3711a167
JM
539 [BZ #15631]
540 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
541 restore exception state around main square root computation, then
542 check for inexactness explicitly.
543
8fc75e6f
JM
544 * math/libm-test.inc (fma_test_data): Add another test.
545
61dd6208
SP
5462013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
547
adf23d2c
SP
548 * manual/threads.texi (Non-POSIX Extensions): New document
549 node. Document pthread_getattr_default_np and
550 pthread_setattr_default_np.
551
61dd6208
SP
552 * Versions.def (libpthread): Add GLIBC_2.18.
553 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
555 Likewise.
556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
557 Likewise.
558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
559 Likewise.
560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
561 Likewise.
562 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
563 Likewise.
564 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
565 Likewise.
566 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
567 Likewise.
568 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
569 Likewise.
570 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
571 Likewise.
572
d086fc7b
LD
5732013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
574
575 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
576 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
577
747ef469
SP
5782013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
579 H.J. Lu <hjl.tools@gmail.com>
580
581 [BZ #15627]
582 * sysdeps/x86_64/rtld-memset.c: Remove file.
583 * sysdeps/x86_64/rtld-memset.S: New file.
584
1b2feed2
JM
5852013-06-14 Joseph Myers <joseph@codesourcery.com>
586
587 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
588 (test_in_one_mode): Take arguments for whether the rounding mode
589 is supported for each floating-point type.
590 (do_test): Pass new arguments to test_in_one_mode using
591 ROUNDING_TESTS.
592
a58ad3f8
RM
5932013-06-13 Roland McGrath <roland@hack.frob.com>
594
595 * posix/tst-waitid.c (do_test): Distinguish different instances of
596 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
597 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
598 before entering the kernel for waitpid.
599
c204ab28
SP
6002013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
601
602 * NEWS: Fix note on clock function precision. Text by Roland
603 McGrath.
604
f4a29fba
RM
6052013-06-13 Roland McGrath <roland@hack.frob.com>
606
607 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
608 it into place only when and if the sanity check passes.
609
1f24b9ad
JM
6102013-06-13 Joseph Myers <joseph@codesourcery.com>
611
612 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
613 output for whether conversion result is exact. Take argument
614 indicating whether type is IBM long double.
615 (round_for_all): Change need_exact field to ibm_ld.
616 * stdlib/tst-strtod-round.c (struct exactness): New type.
617 (struct test): Change bool ld_ok field to struct exactness exact.
618 (TEST): Update all definitions for change to field.
619 (tests): Regenerate array contents.
620 (test_in_one_mode): Take pointer to new field instead of old ld_ok
621 field value. Check for IBM long double here.
622 (do_test): Update calls to test_in_one_mode.
623
58206c68
SP
6242013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
625
626 [BZ #12515]
627 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
628 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
629
2d6f4c5b 6302013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
631
632 [BZ #15605]
633 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
634 generated by the compiler on loop optimizations.
635 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
636 general definitions.
637
94f2c076
JM
6382013-06-12 Joseph Myers <joseph@codesourcery.com>
639
640 * math/bug-nextafter.c: Include <math-tests.h>.
641 (main): Only test for exceptions if EXCEPTION_TESTS is true for
642 the relevant type.
643 * math/bug-nexttoward.c: Include <math-tests.h>.
644 (main): Only test for exceptions if EXCEPTION_TESTS is true for
645 the relevant type.
646 * math/test-misc.c: Include <math-tests.h>.
647 (main): Only test for exceptions if EXCEPTION_TESTS is true for
648 the relevant type.
649
e0e50a0a
AJ
6502013-06-12 Andreas Jaeger <aj@suse.de>
651
652 * po/ia.po: Update Interlingua translation from translation
653 project.
654
25061094
SP
6552013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
656
657 * include/fenv.h: Include stdbool.h.
658 (struct rm_ctx): New structure.
659 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
660 Define macro.
661 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
662 (SET_RESTORE_ROUNDF): Likewise.
663 (SET_RESTORE_ROUNDL): Likewise.
664 (SET_RESTORE_ROUND_NOEX): Likewise.
665 (SET_RESTORE_ROUND_NOEXF): Likewise.
666 (SET_RESTORE_ROUND_NOEXL): Likewise.
667 (SET_RESTORE_ROUND_53BIT): Likewise.
668 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
669 (libc_feresetround_noexf_ctx): Likewise.
670 (libc_feresetround_noexl_ctx): Likewise.
671 (libc_feholdsetround_53bit_ctx): Likewise.
672 (libc_feresetround_53bit_ctx): Likewise.
673 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
674 (libc_feholdexcept_setround_sse_ctx): New function.
675 (libc_fesetenv_sse_ctx): Likewise.
676 (libc_feupdateenv_sse_ctx): Likewise.
677 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
678 (libc_feholdexcept_setround_387_ctx): Likewise.
679 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
680 (libc_feholdsetround_387_prec_ctx): Likewise.
681 (libc_feholdsetround_387_ctx): Likewise.
682 (libc_feholdsetround_387_53bit_ctx): Likewise.
683 (libc_feholdsetround_sse_ctx): Likewise.
684 (libc_feresetround_sse_ctx): Likewise.
685 (libc_feresetround_387_ctx): Likewise.
686 (libc_feupdateenv_387_ctx): Likewise.
687 (libc_feholdexcept_setroundf_ctx): Define macro.
688 (libc_fesetenvf_ctx): Likewise.
689 (libc_feupdateenvf_ctx): Likewise.
690 (libc_feholdsetroundf_ctx): Likewise.
691 (libc_feresetroundf_ctx): Likewise.
692 (libc_feholdexcept_setround_ctx): Likewise.
693 (libc_fesetenv_ctx): Likewise.
694 (libc_feupdateenv_ctx): Likewise.
695 (libc_feholdsetround_ctx): Likewise.
696 (libc_feresetround_ctx): Likewise.
697 (libc_feholdexcept_setroundl_ctx): Likewise.
698 (libc_feupdateenvl_ctx): Likewise.
699 (libc_feholdsetroundl_ctx): Likewise.
700 (libc_feresetroundl_ctx): Likewise.
701 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
702 (libc_feresetround_53bit_ctx): Likewise.
703
59b30555
SP
7042013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
705
706 * locale/iso-639.def: Convert to UTF-8.
707
f1d73d30
JM
7082013-06-11 Joseph Myers <joseph@codesourcery.com>
709
710 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
711 (EXCEPTION_TESTS_double): Likewise.
712 (EXCEPTION_TESTS_long_double): Likewise.
713 (EXCEPTION_TESTS): Likewise.
714 * math/libm-test.inc (test_exceptions): Only test exceptions if
715 EXCEPTION_TESTS (FLOAT).
716
94aca5e7
SP
7172013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
718
719 * benchtests/Makefile (string-bench): Add strcpy_chk and
720 stpcpy_chk.
721 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
722 * benchtests/bench-stpcpy_chk.c: New file.
723 * benchtests/bench-strcpy_chk-ifunc.c: New file.
724 * benchtests/bench-strcpy_chk.c: New file.
725 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
726 code.
727 (do_test): Likewise.
728
fac0c5f2
RA
7292013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
730
731 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
732 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
733 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
734 with tabs where appropriate.
735 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
736 dl-procinfo.h.
737 [PPC_PLATFORM_PPC440]: Likewise.
738 [PPC_PLATFORM_PPC464]: Likewise.
739 [PPC_PLATFORM_PPC476]: Likewise.
740 (_dl_string_platform): Add support for detecting ppc405, ppc440,
741 ppc464, and ppc476 platform strings merging from ports/
742 dl-procinfo.h.
743
f22bc486
AS
7442013-06-11 Andreas Schwab <schwab@suse.de>
745
746 [BZ #14991]
747 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
748 (from_ucs4_idx): Regenerate.
749 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
750 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
751 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
752 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
753 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
754 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
755 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
756 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
757 from FROM_LOOP and TO_LOOP specific macros.
758 (BODY): Handle combining characters.
759 * iconvdata/BIG5HKSCS.irreversible: Update.
760 * iconvdata/BIG5HKSCS.precomposed: New file.
761 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
762 characters.
763 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
764
c1f75dc3
SP
7652013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
766
4eacded2
SP
767 * include/sys/time.h: Fix indentation and add copyright header.
768
fec799f8
SP
769 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
770 (do_test): Likewise.
771 * string/test-memchr.c (do_one_test): Likewise.
772 (do_test): Likewise.
773 * string/test-memcmp.c (do_one_test): Likewise.
774 (do_test): Likewise.
775 * string/test-memcpy.c (do_one_test): Likewise.
776 (do_test): Likewise.
777 * string/test-memmem.c (do_one_test): Likewise.
778 (do_test): Likewise.
779 (do_random_tests): Likewise.
780 * string/test-memmove.c (do_one_test): Likewise.
781 (do_test): Likewise.
782 * string/test-memset.c (do_one_test): Likewise.
783 (do_test): Likewise.
784 * string/test-rawmemchr.c (do_one_test): Likewise.
785 (do_test): Likewise.
786 * string/test-strcasecmp.c (do_one_test): Likewise.
787 (do_test): Likewise.
788 * string/test-strcasestr.c (do_one_test): Likewise.
789 (do_test): Likewise.
790 * string/test-strcat.c (do_one_test): Likewise.
791 (do_test): Likewise.
792 * string/test-strchr.c (do_one_test): Likewise.
793 (do_test): Likewise.
794 * string/test-strcmp.c (do_one_test): Likewise.
795 (do_test): Likewise.
796 * string/test-strcpy.c (do_one_test): Likewise.
797 (do_test): Likewise.
798 * string/test-string.h: Likewise.
799 (test_init): Likewise.
800 * string/test-strlen.c (do_one_test): Likewise.
801 (do_test): Likewise.
802 * string/test-strncasecmp.c (do_one_test): Likewise.
803 (do_test): Likewise.
804 * string/test-strncat.c (do_one_test): Likewise.
805 (do_test): Likewise.
806 * string/test-strncmp.c (do_one_test): Likewise.
807 (do_test_limit): Likewise.
808 (do_test): Likewise.
809 * string/test-strncpy.c (do_one_test): Likewise.
810 (do_test): Likewise.
811 * string/test-strnlen.c (do_one_test): Likewise.
812 (do_test): Likewise.
813 * string/test-strpbrk.c (do_one_test): Likewise.
814 (do_test): Likewise.
815 * string/test-strrchr.c (do_one_test): Likewise.
816 (do_test): Likewise.
817 * string/test-strspn.c (do_one_test): Likewise.
818 (do_test): Likewise.
819 * string/test-strstr.c (do_one_test): Likewise.
820 (do_test): Likewise.
821
97020474
SP
822 * benchtests/Makefile (string-bench): Add string benchmarks.
823 * benchtests/bench-bcopy-ifunc.c: New file.
824 * benchtests/bench-bcopy.c: New file.
825 * benchtests/bench-bzero-ifunc.c: New file.
826 * benchtests/bench-bzero.c: New file.
827 * benchtests/bench-memccpy-ifunc.c: New file.
828 * benchtests/bench-memccpy.c: New file.
829 * benchtests/bench-memchr-ifunc.c: New file.
830 * benchtests/bench-memchr.c: New file.
831 * benchtests/bench-memcmp-ifunc.c: New file.
832 * benchtests/bench-memcmp.c: New file.
833 * benchtests/bench-memmem-ifunc.c: New file.
834 * benchtests/bench-memmem.c: New file.
835 * benchtests/bench-memmove-ifunc.c: New file.
836 * benchtests/bench-memmove.c: New file.
837 * benchtests/bench-mempcpy-ifunc.c: New file.
838 * benchtests/bench-mempcpy.c: New file.
839 * benchtests/bench-memset-ifunc.c: New file.
840 * benchtests/bench-memset.c: New file.
841 * benchtests/bench-rawmemchr-ifunc.c: New file.
842 * benchtests/bench-rawmemchr.c: New file.
843 * benchtests/bench-stpcpy-ifunc.c: New file.
844 * benchtests/bench-stpcpy.c: New file.
845 * benchtests/bench-stpncpy-ifunc.c: New file.
846 * benchtests/bench-stpncpy.c: New file.
847 * benchtests/bench-strcasecmp-ifunc.c: New file.
848 * benchtests/bench-strcasecmp.c: New file.
849 * benchtests/bench-strcasestr-ifunc.c: New file.
850 * benchtests/bench-strcasestr.c: New file.
851 * benchtests/bench-strcat-ifunc.c: New file.
852 * benchtests/bench-strcat.c: New file.
853 * benchtests/bench-strchr-ifunc.c: New file.
854 * benchtests/bench-strchr.c: New file.
855 * benchtests/bench-strchrnul-ifunc.c: New file.
856 * benchtests/bench-strchrnul.c: New file.
857 * benchtests/bench-strcmp-ifunc.c: New file.
858 * benchtests/bench-strcmp.c: New file.
859 * benchtests/bench-strcpy-ifunc.c: New file.
860 * benchtests/bench-strcpy.c: New file.
861 * benchtests/bench-strcspn-ifunc.c: New file.
862 * benchtests/bench-strcspn.c: New file.
863 * benchtests/bench-strlen-ifunc.c: New file.
864 * benchtests/bench-strlen.c: New file.
865 * benchtests/bench-strncasecmp-ifunc.c: New file.
866 * benchtests/bench-strncasecmp.c: New file.
867 * benchtests/bench-strncat-ifunc.c: New file.
868 * benchtests/bench-strncat.c: New file.
869 * benchtests/bench-strncmp-ifunc.c: New file.
870 * benchtests/bench-strncmp.c: New file.
871 * benchtests/bench-strncpy-ifunc.c: New file.
872 * benchtests/bench-strncpy.c: New file.
873 * benchtests/bench-strnlen-ifunc.c: New file.
874 * benchtests/bench-strnlen.c: New file.
875 * benchtests/bench-strpbrk-ifunc.c: New file.
876 * benchtests/bench-strpbrk.c: New file.
877 * benchtests/bench-strrchr-ifunc.c: New file.
878 * benchtests/bench-strrchr.c: New file.
879 * benchtests/bench-strspn-ifunc.c: New file.
880 * benchtests/bench-strspn.c: New file.
881 * benchtests/bench-strstr-ifunc.c: New file.
882 * benchtests/bench-strstr.c: New file.
883
c1f75dc3
SP
884 * benchtests/Makefile: Disable parallel execution of targets.
885 (string-bench): Add memcpy.
886 (benchset): New variable to store a list of benchmark sets.
887 (bench-func): Renamed from bench.
888 (bench-set): New target.
889 (bench): Depend on bench-func and bench-set.
890 * benchtests/README: Add section on benchmark sets.
891 * benchtests/bench-memcpy-ifunc.c: New file.
892 * benchtests/bench-memcpy.c: New file.
893 * benchtests/bench-string.h: New file.
894
50fd745b
AS
8952013-06-11 Andreas Schwab <schwab@suse.de>
896
897 [BZ #15577]
898 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
899 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
900 values in the triple.
901 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
902 terminator in the group key.
903
3ee7e9fe
AJ
9042013-06-11 Andreas Jaeger <aj@suse.de>
905
906 * po/zh_TW.po: Update Chinese (traditional) translation from
907 translation project.
908
89fb6835
SP
9092013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
910
911 * include/time.h (__clock_gettime): Add libc_hidden_proto.
912 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
913 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
914 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
915 (clock_getcpuclockid): Likewise.
916 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
917 Add weak_alias and libc_hidden_def.
918 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
919 * rt/clock_gettime.c (clock_gettime): Rename to
920 __clock_gettime. Add weak_alias and libc_hidden_def.
921 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
922 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
923 __clock_nanosleep. Add weak_alias and libc_hidden_def.
924 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
925 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
926 Likewise.
927 * rt/clock_settime.c (clock_settime): Rename to
928 __clock_settime. Add weak_alias and libc_hidden_def.
929 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
930
0efa6f8b
JM
9312013-06-10 Joseph Myers <joseph@codesourcery.com>
932
b8c61b4b
JM
933 * mach/err_boot.sub: Remove trailing whitespace.
934 * mach/err_ipc.sub: Likewise.
935 * mach/err_mach.sub: Likewise.
936
0efa6f8b
JM
937 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
938 (ROUNDING_TESTS_double): Likewise.
939 (ROUNDING_TESTS_long_double): Likewise.
940 (ROUNDING_TESTS): Likewise.
941 * math/libm-test.inc: Include <math-tests.h>.
942 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
943 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
944 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
945 (IF_ROUND_INIT_FE_UPWARD): Likewise.
946
50b818bf
SP
9472013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
948
949 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
950 of assigning.
951
60d2f8f3
JM
9522013-06-08 Joseph Myers <joseph@codesourcery.com>
953
4902d2c3
JM
954 * sysdeps/gnu/errlist.awk: Do not generate space at end of
955 otherwise empty TRANS lines.
956 * sysdeps/gnu/errlist.c: Regenerated.
957
60d2f8f3
JM
958 * catgets/gencat.c (error_print): Use (void) in function
959 definition.
960 * crypt/crypt_util.c (__init_des): Likewise.
961 * crypt/speeds.c (Stop): Likewise.
962 (main): Likewise.
963 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
964 * inet/ruserpass.c (token): Likewise.
965 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
966 * intl/localealias.c (extend_alias_table): Likewise.
967 * intl/plural-exp.c (init_germanic_plural): Likewise.
968 * libio/fcloseall.c (__fcloseall): Likewise.
969 * libio/genops.c (_IO_flush_all): Likewise.
970 (_IO_flush_all_linebuffered): Likewise.
971 (_IO_cleanup): Likewise.
972 (_IO_iter_begin): Likewise.
973 (_IO_iter_end): Likewise.
974 (_IO_list_lock): Likewise.
975 (_IO_list_unlock): Likewise.
976 (_IO_list_resetlock): Likewise.
977 * libio/getchar.c (getchar): Likewise.
978 * libio/getchar_u.c (getchar_unlocked): Likewise.
979 * libio/getwchar.c (getwchar): Likewise.
980 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
981 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
982 * login/getpt.c (__getpt): Likewise.
983 * login/tst-utmp.c (main): Likewise.
984 * malloc/hooks.c (__malloc_check_init): Likewise.
985 * malloc/malloc.c (__malloc_stats): Likewise.
986 * malloc/mtrace.c (tr_break): Likewise.
987 (mtrace): Likewise.
988 (muntrace): Likewise.
989 * misc/fstab.c (endfsent): Likewise.
990 * misc/getclktck.c (__getclktck): Likewise.
991 * misc/getdtsz.c (__getdtablesize): Likewise.
992 * misc/gethostid.c (gethostid): Likewise.
993 * misc/getpagesize.c (__getpagesize): Likewise.
994 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
995 (__get_nprocs): Likewise.
996 (__get_phys_pages): Likewise.
997 (__get_avphys_pages): Likewise.
998 * misc/getttyent.c (getttyent): Likewise.
999 (setttyent): Likewise.
1000 (endttyent): Likewise.
1001 * misc/getusershell.c (getusershell): Likewise.
1002 (endusershell): Likewise.
1003 (setusershell): Likewise.
1004 (initshells): Likewise.
1005 * misc/hsearch.c (__hdestroy): Likewise.
1006 * misc/sync.c (sync): Likewise.
1007 * misc/syslog.c (closelog_internal): Likewise.
1008 (closelog): Likewise.
1009 * misc/ttyslot.c (ttyslot): Likewise.
1010 * misc/vhangup.c (vhangup): Likewise.
1011 * posix/fork.c (__fork): Likewise.
1012 * posix/getegid.c (__getegid): Likewise.
1013 * posix/geteuid.c (__geteuid): Likewise.
1014 * posix/getgid.c (__getgid): Likewise.
1015 * posix/getpid.c (__getpid): Likewise.
1016 * posix/getppid.c (__getppid): Likewise.
1017 * posix/getuid.c (__getuid): Likewise.
1018 * posix/pause.c (pause): Likewise.
1019 * posix/setpgrp.c (setpgrp): Likewise.
1020 * posix/setsid.c (__setsid): Likewise.
1021 * posix/test-vfork.c (noop): Likewise.
1022 * resolv/gethnamaddr.c (_endhtent): Likewise.
1023 (_gethtent): Likewise.
1024 (ht_endhostent): Likewise.
1025 (gethostent): Likewise.
1026 (dns_service): Likewise.
1027 * stdlib/drand48.c (drand48): Likewise.
1028 * stdlib/lrand48.c (lrand48): Likewise.
1029 * stdlib/mrand48.c (mrand48): Likewise.
1030 * stdlib/rand.c (rand): Likewise.
1031 * stdlib/random.c (__random): Likewise.
1032 * stdlib/setenv.c (clearenv): Likewise.
1033 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1034 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1035 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1036 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1037 (__get_nprocs): Likewise.
1038 (__get_phys_pages): Likewise.
1039 (__get_avphys_pages): Likewise.
1040 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1041 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1042 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1043 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1044 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1045 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1046 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1047 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1048 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1049 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1050 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1051 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1052 * sysdeps/posix/clock.c (clock): Likewise.
1053 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1054 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1055 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1056 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1057 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1058 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1059 (__get_nprocs_conf): Likewise.
1060 (__get_phys_pages): Likewise.
1061 (__get_avphys_pages): Likewise.
1062 * time/clock.c (clock): Likewise.
1063 * time/tzset.c (__tzname_max): Likewise.
1064
2e09a79a
JM
10652013-06-07 Joseph Myers <joseph@codesourcery.com>
1066
1067 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1068 (__bswap_32): Do not use "register".
1069 * crypt/crypt.c (_ufc_doit_r): Likewise.
1070 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1071 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1072 * gmon/gmon.c (__monstartup): Likewise.
1073 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1074 * hurd/hurdmalloc.c (more_memory): Likewise.
1075 (malloc): Likewise.
1076 (free): Likewise.
1077 (realloc): Likewise.
1078 (malloc_fork_prepare): Likewise.
1079 (malloc_fork_parent): Likewise.
1080 (malloc_fork_child): Likewise.
1081 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1082 (_svcauth_des): Likewise.
1083 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1084 * inet/inet_net.c (inet_network): Likewise.
1085 * inet/inet_netof.c (inet_netof): Likewise.
1086 * inet/rcmd.c (__validuser2_sa): Likewise.
1087 * io/fts.c (fts_open): Likewise.
1088 (fts_load): Likewise.
1089 (fts_close): Likewise.
1090 (fts_read): Likewise.
1091 (fts_children): Likewise.
1092 (fts_build): Likewise.
1093 (fts_stat): Likewise.
1094 (fts_sort): Likewise.
1095 (fts_alloc): Likewise.
1096 (fts_lfree): Likewise.
1097 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1098 (_IO_file_xsgetn): Likewise.
1099 (_IO_file_xsgetn_mmap): Likewise.
1100 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1101 (_IO_cookie_write): Likewise.
1102 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1103 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1104 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1105 * malloc/obstack.c (_obstack_begin): Likewise.
1106 (_obstack_begin_1): Likewise.
1107 (_obstack_newchunk): Likewise.
1108 (_obstack_allocated_p): Likewise.
1109 (obstack_free): Likewise.
1110 (_obstack_memory_used): Likewise.
1111 * misc/getttyent.c (getttynam): Likewise.
1112 (getttyent): Likewise.
1113 (skip): Likewise.
1114 (value): Likewise.
1115 * misc/getusershell.c (initshells): Likewise.
1116 * misc/syslog.c (__vsyslog_chk): Likewise.
1117 * misc/ttyslot.c (ttyslot): Likewise.
1118 * nis/nis_hash.c (__nis_hash): Likewise.
1119 * posix/fnmatch_loop.c (FCT): Likewise.
1120 * posix/getconf.c (print_all): Likewise.
1121 (main): Likewise.
1122 * posix/getopt.c (exchange): Likewise.
1123 * posix/glob.c (globfree): Likewise.
1124 (prefix_array): Likewise.
1125 (__glob_pattern_type): Likewise.
1126 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1127 (NS_GET32): Likewise.
1128 (NS_PUT16): Likewise.
1129 (NS_PUT32): Likewise.
1130 * resolv/gethnamaddr.c (getanswer): Likewise.
1131 (gethostbyname2): Likewise.
1132 (gethostbyaddr): Likewise.
1133 (_gethtent): Likewise.
1134 (_gethtbyname2): Likewise.
1135 (_gethtbyaddr): Likewise.
1136 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1137 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1138 * resolv/res_init.c (__res_vinit): Likewise.
1139 (net_mask): Likewise.
1140 * resolv/res_mkquery.c (outchar): Likewise.
1141 (PRINT): Likewise.
1142 * stdio-common/printf_fp.c (outchar): Likewise.
1143 (PRINT): Likewise.
1144 * stdio-common/printf_fphex.c (outchar): Likewise.
1145 (PRINT): Likewise.
1146 * stdio-common/printf_size.c (outchar): Likewise.
1147 (PRINT): Likewise.
1148 * stdio-common/test_rdwr.c (main): Likewise.
1149 * stdio-common/tfformat.c (matches): Likewise.
1150 * stdio-common/vfprintf.c (outchar): Likewise.
1151 (printf_unknown): Likewise.
1152 (buffered_vfprintf): Likewise.
1153 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1154 * stdio-common/xbug.c (AppendToBuffer): Likewise.
1155 (ReadFile): Likewise.
1156 * stdlib/qsort.c (SWAP): Likewise.
1157 (_quicksort): Likewise.
1158 * stdlib/setenv.c (__add_to_environ): Likewise.
1159 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1160 * stdlib/strtol_l.c (__strtol_l): Likewise.
1161 * stdlib/tst-strtod.c (main): Likewise.
1162 * stdlib/tst-strtol.c (main): Likewise.
1163 * stdlib/tst-strtoll.c (main): Likewise.
1164 * string/bits/string2.h (__strcmp_cc): Likewise.
1165 (__strcmp_cg): Likewise.
1166 (__strcspn_c1): Likewise.
1167 (__strcspn_c2): Likewise.
1168 (__strcspn_c3): Likewise.
1169 (__strspn_c1): Likewise.
1170 (__strspn_c2): Likewise.
1171 (__strspn_c3): Likewise.
1172 (__strsep_1c): Likewise.
1173 (__strsep_2c): Likewise.
1174 (__strsep_3c): Likewise.
1175 * string/memccpy.c (__memccpy): Likewise.
1176 * string/stpcpy.c (__stpcpy): Likewise.
1177 * string/strcmp.c (strcmp): Likewise.
1178 * string/strrchr.c (strrchr): Likewise.
1179 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1180 Likewise.
1181 * sysdeps/mach/hurd/getcwd.c
1182 (_hurd_canonicalize_directory_name_internal): Likewise.
1183 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1184 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1185 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1186 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1187 Likewise, in both definitions.
1188 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1189 definitions.
1190 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1191 64] (__bswap_64): Likewise.
1192 * time/test_time.c (main): Likewise.
1193 * time/tzfile.c (__tzfile_read): Likewise.
1194 (__tzfile_compute): Likewise.
1195 * time/tzset.c (__tzset_parse_tz): Likewise.
1196 (tzset_internal): Likewise.
1197 (compute_change): Likewise.
1198 * wcsmbs/wcscat.c (__wcscat): Likewise.
1199 * wcsmbs/wcschr.c (wcschr): Likewise.
1200 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1201 * wcsmbs/wcscspn.c (wcscspn): Likewise.
1202 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1203 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1204 * wcsmbs/wcsspn.c (wcsspn): Likewise.
1205 * wcsmbs/wcsstr.c (wcsstr): Likewise.
1206 * wcsmbs/wmemchr.c (wmemchr): Likewise.
1207 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1208 * wcsmbs/wmemset.c (wmemset): Likewise.
1209
9e54314b
JM
12102013-06-06 Joseph Myers <joseph@codesourcery.com>
1211
1212 * scripts/config.guess: Update to version 2013-05-16.
1213 * scripts/config.sub: Update to version 2013-04-24.
1214 * scripts/install-sh: Update to version 2011-11-20.07.
1215 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1216 * scripts/move-if-change: Update to version 2012-01-06 07:23.
1217
350635a5
OB
12182013-06-06 Ondřej Bílka <neleai@seznam.cz>
1219
1220 * debug/fgetws_u_chk.c: Fix leading whitespaces.
1221 * elf/sln.c: Likewise.
1222 * hurd/hurd/ioctl.h: Likewise.
1223 * hurd/hurdmalloc.c: Likewise.
1224 * hurd/xattr.c: Likewise.
1225 * include/shlib-compat.h: Likewise.
1226 * inet/ruserpass.c: Likewise.
1227 * libio/iofgets_u.c: Likewise.
1228 * libio/iofgetws_u.c: Likewise.
1229 * locale/programs/ld-identification.c: Likewise.
1230 * locale/programs/ld-time.c: Likewise.
1231 * mach/msg-destroy.c: Likewise.
1232 * nss/nss_files/files-netgrp.c: Likewise.
1233 * resolv/res_data.c: Likewise.
1234 * soft-fp/op-1.h: Likewise.
1235 * soft-fp/op-2.h: Likewise.
1236 * soft-fp/op-4.h: Likewise.
1237 * soft-fp/op-common.h: Likewise.
1238 * stdio-common/printf_fphex.c: Likewise.
1239 * stdlib/strtod_l.c: Likewise.
1240 * sunrpc/rpc/clnt.h: Likewise.
1241 * sysdeps/generic/framestate.c: Likewise.
1242 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1243 * sysdeps/i386/bsd-setjmp.S: Likewise.
1244 * sysdeps/i386/__longjmp.S: Likewise.
1245 * sysdeps/i386/setjmp.S: Likewise.
1246 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1247 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1248 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1249 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1250 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1251 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1252 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1253 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1254 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1255 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1256 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1257 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1258 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1259 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1260 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1261 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1262 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1263 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1264 * sysdeps/ieee754/support.c: Likewise.
1265 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1266 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1267 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1268 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1269 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1270 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1271 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1272 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1273 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1274 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1275 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1276 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1277 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1278 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1279 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1280 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1281 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1283
44a988af
OB
12842013-06-05 Ondřej Bílka <neleai@seznam.cz>
1285
25506f09 1286 * posix/transbug.c: Remove executable mode.
44a988af 1287
9c84384c
JM
12882013-06-05 Joseph Myers <joseph@codesourcery.com>
1289
1290 * crypt/speeds.c: Remove trailing whitespace.
1291 * dlfcn/default.c: Likewise.
1292 * elf/ifuncdep2.c: Likewise.
1293 * elf/ifuncmain1.c: Likewise.
1294 * elf/ifuncmain1vis.c: Likewise.
1295 * elf/testobj.h: Likewise.
1296 * elf/tst-stackguard1.c: Likewise.
1297 * gmon/sys/gmon.h: Likewise.
1298 * hurd/hurdmsg.c: Likewise.
1299 * hurd/new-fd.c: Likewise.
1300 * hurd/ports-get.c: Likewise.
1301 * iconvdata/ibm1008_420.c: Likewise.
1302 * inet/tst-getni1.c: Likewise.
1303 * inet/tst-getni2.c: Likewise.
1304 * libio/ioungetc.c: Likewise.
1305 * libio/wfiledoalloc.c: Likewise.
1306 * manual/libm-err-tab.pl: Likewise.
1307 * math/w_dremf.c: Likewise.
1308 * misc/ftruncate.c: Likewise.
1309 * posix/bug-glob2.c: Likewise.
1310 * posix/tst-pcre.c: Likewise.
1311 * posix/wait4.c: Likewise.
1312 * resolv/README: Likewise.
1313 * resolv/res_debug.h: Likewise.
1314 * resolv/tst-inet_ntop.c: Likewise.
1315 * setjmp/bug269-setjmp.c: Likewise.
1316 * soft-fp/extended.h: Likewise.
1317 * soft-fp/op-1.h: Likewise.
1318 * soft-fp/op-2.h: Likewise.
1319 * soft-fp/op-4.h: Likewise.
1320 * soft-fp/op-8.h: Likewise.
1321 * soft-fp/testit.c: Likewise.
1322 * stdio-common/bug16.c: Likewise.
1323 * stdlib/random.c: Likewise.
1324 * sunrpc/rpcsvc/rquota.x: Likewise.
1325 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1326 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1327 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1328 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1329 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1330 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1331 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1332 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1333 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1334 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1335 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1336 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1337 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1338 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1339 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1340 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1341 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1342 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1343 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1344 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1345 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1346 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1347 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1348 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1349 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1350 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1351 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1352 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1353 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1354 * sysdeps/ieee754/s_lib_version.c: Likewise.
1355 * sysdeps/mach/hurd/check_fds.c: Likewise.
1356 * sysdeps/mach/hurd/getsockname.c: Likewise.
1357 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1358 * sysdeps/mach/hurd/recvfrom.c: Likewise.
1359 * sysdeps/powerpc/bits/link.h: Likewise.
1360 * sysdeps/powerpc/dl-procinfo.c: Likewise.
1361 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1362 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1363 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1364 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1365 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1366 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1367 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1368 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1369 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1370 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1371 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1372 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1373 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1374 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1375 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1376 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1377 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1378 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1379 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1380 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1381 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1382 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1383 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1384 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1385 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1386 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1387 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1388 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1389 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1390 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1391 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1392 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1393 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1394 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1395 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1396 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1397 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1398 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1399 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1400 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1401 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1402 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1403 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1404 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1405 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1406 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1407 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1408 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1409 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1410 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1411 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1412 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1413 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1414 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1415 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1416 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1417 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1418 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1419 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1420 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1421 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1422 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1423 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1424 * sysdeps/powerpc/sysdep.h: Likewise.
1425 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1426 * sysdeps/s390/s390-64/sub_n.S: Likewise.
1427 * sysdeps/sh/dl-trampoline.S: Likewise.
1428 * sysdeps/sh/memset.S: Likewise.
1429 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1430 * sysdeps/sh/strlen.S: Likewise.
1431 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1432 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1433 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1434 * sysdeps/sparc/sparc32/rem.S: Likewise.
1435 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1436 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1437 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1438 * sysdeps/sparc/sparc32/udiv.S: Likewise.
1439 * sysdeps/sparc/sparc32/urem.S: Likewise.
1440 * sysdeps/sparc/sparc64/add_n.S: Likewise.
1441 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1442 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1443 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1444 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1445 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1446 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1447 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1448 * sysdeps/unix/bsd/times.c: Likewise.
1449 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1450 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1454 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1455 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1456 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1457 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1458 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1459 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1460 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1461 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1462 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1463 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1464 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1465 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1466 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1467 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1468 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1469 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1470 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1471 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1472 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1473 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1474 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1475 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1476 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1477 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1478 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1479 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1480 * sysdeps/x86_64/strcspn.S: Likewise.
1481
869378a5
RA
14822013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1483
1484 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1485 generated file. Regenerate properly from gen-translit.pl.
1486 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
1487 locale/C-translit.h.
1488
840e2943
AS
14892013-06-05 Andreas Schwab <schwab@suse.de>
1490
1491 [BZ #15100]
1492 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1493 week as 6 instead of -1.
1494 * time/tst-strptime.c (day_tests): Add test case.
1495
4c60cb0c
SP
14962013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1497
1498 * sysdeps/generic/math_private.h
1499 (libc_feholdexcept_setround_53bit): Replace with
1500 libc_feholdsetround_53bit.
1501 (libc_feupdateenv_53bit): Replace with
1502 libc_feresetround_53bit.
1503 (SET_RESTORE_ROUND_53BIT): Adjust.
1504
d180203e
SP
15052013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1506
96df079a
SP
1507 * string/test-strchrnul.c: Add copyright header.
1508
d180203e
SP
1509 * posix/tst-getaddrinfo4.c: Increase test timeout.
1510
8b0ccb2d
CD
15112013-06-03 Carlos O'Donell <carlos@redhat.com>
1512
1513 [BZ #15536]
1514 * math/libm-test.inc (MAX_EXP): Remove
1515 (MIN_EXP): Define.
1516 (ulp): Use MIN_EXP - MANT_DIG.
1517 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1518
3b3c4d40
CD
15192013-05-31 Carlos O'Donell <carlos@redhat.com>
1520
1521 * po/be.po: Revert last change.
1522 * po/zh_CN.po: Likewise.
1523 * po/header.pot: Likewise.
1524
fab7ce3f
JM
15252013-05-31 Joseph Myers <joseph@codesourcery.com>
1526
1527 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1528 link-libc-deps to empty as target-specific variable.
1529 * Makerules (link-libc-args): New variable.
1530 (libc-for-link): Likewise.
1531 (link-libc-deps): Likewise.
1532 (lib%.so): Depend on $(link-libc-deps). Link with
1533 $(link-libc-args).
1534 (build-module): Link with $(link-libc-args).
1535 (build-module-asneeded): Likewise.
1536 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1537 list of objects.
1538 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1539 target-specific variable.
1540 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1541 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1542 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1543 libc.
1544 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1545 libc and ld.so.
1546 ($(objpfx)libpcprofile.so): Likewise.
1547 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1548 libc_nonshared.a.
1549 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1550 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1551 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1552 $(link-libc-deps).
1553 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1554 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1555 * login/Makefile ($(objpfx)libutil.so): Likewise.
1556 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1557 * math/Makefile ($(objpfx)libm.so): Likewise.
1558 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1559 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1560 variable instead of depending directly on libc.
1561 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1562 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1563 $(link-libc-deps).
1564 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1565 libc.
1566 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1567 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1568 ($(objpfx)libanl.so): Likewise.
1569 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1570 ld.so.
1571 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1572 $(link-libc-deps).
1573 * sysdeps/i386/fpu/Makefile: Remove file.
1574 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1575 ($(objpfx)libm.so): Remove dependency on ld.so.
1576
eca5920c
PF
15772013-05-30 Patsy Franklin <pfrankli@redhat.com>
1578
1579 [BZ # 15553]
1580 * nis/yp_xdr.c (XDRMAXNAME): Define.
1581 (XDRMAXRECORD): Define.
1582 (xdr_domainname): Use XDRMAXNAME.
1583 (xdr_mapname): Likewise.
1584 (xdr_peername): Likewise.
1585 (xdr_keydat): Use XDRMAXRECORD.
1586 (xdr_valdat): Likewise.
1587
15882013-05-30 Jeff Law <law@redhat.com>
96945714
JL
1589
1590 [BZ #14256]
1591 * manual/errno.texi (ESTALE): Update to account for more than
1592 just NFS file systems.
1593 * sysdeps/gnu/errlist.c: Regenerated.
1594
b9375348
SP
15952013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1596
1597 [BZ #15465]
1598 * elf/Makefile (tests): Add tst-null-argv.
1599 (modules-names): Add tst-null-argv-lib.
1600 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1601 (tst-null-argv-ENV): Set environment for tst-null-argv.
1602 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1603 (RTLD_PROGNAME): New macro.
1604 * elf/tst-null-argv.c: New test case.
1605 * elf/tst-null-argv-lib.c: Library for test case.
1606 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1607 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1608 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1609 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1610 * elf/dl-init.c (call_init): Likewise.
1611 (_dl_init): Likewise.
1612 * elf/dl-load.c (print_search_path): Likewise.
1613 (_dl_map_object): Likewise.
1614 * elf/dl-lookup.c (do_lookup_x): Likewise.
1615 (add_dependency): Likewise.
1616 (_dl_lookup_symbol_x): Likewise.
1617 (_dl_debug_bindings): Likewise.
1618 * elf/dl-open.c (_dl_show_scope): Likewise.
1619 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1620 * elf/dl-version.c (match_symbol): Likewise.
1621 (_dl_check_map_versions): Likewise.
1622 * elf/rtld.c (dl_main): Likewise.
1623 (print_unresolved): Use RTLD_PROGNAME.
1624 (print_missing_version): Likewise.
1625 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1626 (elf_machine_rela): Likewise.
1627 * sysdeps/powerpc/powerpc32/dl-machine.c
1628 (__process_machine_rela): Likewise.
1629 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1630 Likewise.
1631 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1632 Likewise.
1633 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1634 Likewise.
1635 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1636 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1637 Likewise.
1638 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1639 Likewise.
1640 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1641
8a9f20c8
CD
16422013-05-28 Carlos O'Donell <carlos@redhat.com>
1643
1644 * po/be.po: Add descriptive title.
1645 * po/zh_CN.po: Likewise.
1646 * po/header.pot: Likewise.
1647
0e60d68e
MF
16482013-05-28 Mike Frysinger <vapier@gentoo.org>
1649
1650 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1651 error message.
1652 (enlarge_archive): Likewise.
1653
56b672e9
BN
16542013-05-28 Ben North <ben@redfrontdoor.org>
1655
1656 * manual/arith.texi (frexp): It is the magnitude of the return
1657 value which lies in [0.5, 1), not the return value itself.
1658
5e056687
AZ
16592013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1660
1661 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1662
2b66ef5d
TS
16632013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1664
528c2405
TS
1665 * stdio-common/bug26.c (main): Correct fscanf template.
1666
07b4c13d
TS
1667 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1668 declare _dl_skip_args.
1669
ec9dd97c
TS
1670 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1671 Don't declare.
1672
2b66ef5d
TS
1673 * manual/platform.texi: Add missing @end deftypefun.
1674
4f8dfe27
JM
16752013-05-24 Joseph Myers <joseph@codesourcery.com>
1676
0323d086
JM
1677 [BZ #15529]
1678 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1679 bit of mantissa of 2^16382.
1680 * math/libm-test.inc (hypot_test_data): Add more tests.
1681
dd4259b9
JM
1682 * math/libm-test.inc: Add drem and pow10 to list of tested
1683 functions.
1684 (pow10_test): New function.
1685 (drem_test): Likewise.
1686 (drem_test_tonearest): Likewise.
1687 (drem_test_towardzero): Likewise.
1688 (drem_test_downward): Likewise.
1689 (drem_test_upward): Likewise.
1690 (main): Call the new functions.
1691
4f8dfe27
JM
1692 * math/libm-test.inc (finite_test_data): Remove.
1693 (finite_test): Run tests from isfinite_test_data.
1694 (gamma_test_data): Remove.
1695 (gamma_test): Run tests from lgamma_test_data.
1696 * sysdeps/i386/fpu/libm-test-ulps: Update.
1697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1698
d116b7c4
AZ
16992013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1700
1701 * manual/platform.texi: Add PowerPC PPR function set documentation.
1702 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1703 implementation.
1704
e96e3767
CD
17052013-05-24 Carlos O'Donell <carlos@redhat.com>
1706
1707 * math/libm-test.inc (MAX_EXP): Define.
1708 (ULPDIFF): Define.
1709 (ulp): New function.
1710 (check_float_internal): Use ULPDIFF.
1711 (cpow_test): Disable failing test.
1712 (check_ulp): Test ulp() implemetnation.
1713 (main): Call check_ulp before starting tests.
1714
b679a606
JM
17152013-05-24 Joseph Myers <joseph@codesourcery.com>
1716
e8bdba36
JM
1717 * math/gen-libm-test.pl (generate_testfile): Do not handle
1718 START_DATA and END_DATA.
1719 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1720 END_DATA.
1721 (acos_tonearest_test_data): Likewise.
1722 (acos_towardzero_test_data): Likewise.
1723 (acos_downward_test_data): Likewise.
1724 (acos_upward_test_data): Likewise.
1725 (acosh_test_data): Likewise.
1726 (asin_test_data): Likewise.
1727 (asin_tonearest_test_data): Likewise.
1728 (asin_towardzero_test_data): Likewise.
1729 (asin_downward_test_data): Likewise.
1730 (asin_upward_test_data): Likewise.
1731 (asinh_test_data): Likewise.
1732 (atan_test_data): Likewise.
1733 (atanh_test_data): Likewise.
1734 (atan2_test_data): Likewise.
1735 (cabs_test_data): Likewise.
1736 (cacos_test_data): Likewise.
1737 (cacosh_test_data): Likewise.
1738 (carg_test_data): Likewise.
1739 (casin_test_data): Likewise.
1740 (casinh_test_data): Likewise.
1741 (catan_test_data): Likewise.
1742 (catanh_test_data): Likewise.
1743 (cbrt_test_data): Likewise.
1744 (ccos_test_data): Likewise.
1745 (ccosh_test_data): Likewise.
1746 (ceil_test_data): Likewise.
1747 (cexp_test_data): Likewise.
1748 (cimag_test_data): Likewise.
1749 (clog_test_data): Likewise.
1750 (clog10_test_data): Likewise.
1751 (conj_test_data): Likewise.
1752 (copysign_test_data): Likewise.
1753 (cos_test_data): Likewise.
1754 (cos_tonearest_test_data): Likewise.
1755 (cos_towardzero_test_data): Likewise.
1756 (cos_downward_test_data): Likewise.
1757 (cos_upward_test_data): Likewise.
1758 (cosh_test_data): Likewise.
1759 (cosh_tonearest_test_data): Likewise.
1760 (cosh_towardzero_test_data): Likewise.
1761 (cosh_downward_test_data): Likewise.
1762 (cosh_upward_test_data): Likewise.
1763 (cpow_test_data): Likewise.
1764 (cproj_test_data): Likewise.
1765 (creal_test_data): Likewise.
1766 (csin_test_data): Likewise.
1767 (csinh_test_data): Likewise.
1768 (csqrt_test_data): Likewise.
1769 (ctan_test_data): Likewise.
1770 (ctan_tonearest_test_data): Likewise.
1771 (ctan_towardzero_test_data): Likewise.
1772 (ctan_downward_test_data): Likewise.
1773 (ctan_upward_test_data): Likewise.
1774 (ctanh_test_data): Likewise.
1775 (ctanh_tonearest_test_data): Likewise.
1776 (ctanh_towardzero_test_data): Likewise.
1777 (ctanh_downward_test_data): Likewise.
1778 (ctanh_upward_test_data): Likewise.
1779 (erf_test_data): Likewise.
1780 (erfc_test_data): Likewise.
1781 (exp_test_data): Likewise.
1782 (exp_tonearest_test_data): Likewise.
1783 (exp_towardzero_test_data): Likewise.
1784 (exp_downward_test_data): Likewise.
1785 (exp_upward_test_data): Likewise.
1786 (exp10_test_data): Likewise.
1787 (exp2_test_data): Likewise.
1788 (expm1_test_data): Likewise.
1789 (fabs_test_data): Likewise.
1790 (fdim_test_data): Likewise.
1791 (finite_test_data): Likewise.
1792 (floor_test_data): Likewise.
1793 (fma_test_data): Likewise.
1794 (fma_towardzero_test_data): Likewise.
1795 (fma_downward_test_data): Likewise.
1796 (fma_upward_test_data): Likewise.
1797 (fmax_test_data): Likewise.
1798 (fmin_test_data): Likewise.
1799 (fmod_test_data): Likewise.
1800 (fpclassify_test_data): Likewise.
1801 (frexp_test_data): Likewise.
1802 (gamma_test_data): Likewise.
1803 (hypot_test_data): Likewise.
1804 (ilogb_test_data): Likewise.
1805 (isfinite_test_data): Likewise.
1806 (isgreater_test_data): Likewise.
1807 (isgreaterequal_test_data): Likewise.
1808 (isinf_test_data): Likewise.
1809 (isless_test_data): Likewise.
1810 (islessequal_test_data): Likewise.
1811 (islessgreater_test_data): Likewise.
1812 (isnan_test_data): Likewise.
1813 (isnormal_test_data): Likewise.
1814 (issignaling_test_data): Likewise.
1815 (isunordered_test_data): Likewise.
1816 (j0_test_data): Likewise.
1817 (j1_test_data): Likewise.
1818 (jn_test_data): Likewise.
1819 (ldexp_test_data): Likewise.
1820 (lgamma_test_data): Likewise.
1821 (lrint_test_data): Likewise.
1822 (lrint_tonearest_test_data): Likewise.
1823 (lrint_towardzero_test_data): Likewise.
1824 (lrint_downward_test_data): Likewise.
1825 (lrint_upward_test_data): Likewise.
1826 (llrint_test_data): Likewise.
1827 (llrint_tonearest_test_data): Likewise.
1828 (llrint_towardzero_test_data): Likewise.
1829 (llrint_downward_test_data): Likewise.
1830 (llrint_upward_test_data): Likewise.
1831 (log_test_data): Likewise.
1832 (log10_test_data): Likewise.
1833 (log1p_test_data): Likewise.
1834 (log2_test_data): Likewise.
1835 (logb_test_data): Likewise.
1836 (logb_downward_test_data): Likewise.
1837 (lround_test_data): Likewise.
1838 (llround_test_data): Likewise.
1839 (modf_test_data): Likewise.
1840 (nearbyint_test_data): Likewise.
1841 (nextafter_test_data): Likewise.
1842 (nexttoward_test_data): Likewise.
1843 (pow_test_data): Likewise.
1844 (pow_tonearest_test_data): Likewise.
1845 (pow_towardzero_test_data): Likewise.
1846 (pow_downward_test_data): Likewise.
1847 (pow_upward_test_data): Likewise.
1848 (remainder_test_data): Likewise.
1849 (remainder_tonearest_test_data): Likewise.
1850 (remainder_towardzero_test_data): Likewise.
1851 (remainder_downward_test_data): Likewise.
1852 (remainder_upward_test_data): Likewise.
1853 (remquo_test_data): Likewise.
1854 (rint_test_data): Likewise.
1855 (rint_tonearest_test_data): Likewise.
1856 (rint_towardzero_test_data): Likewise.
1857 (rint_downward_test_data): Likewise.
1858 (rint_upward_test_data): Likewise.
1859 (round_test_data): Likewise.
1860 (scalb_test_data): Likewise.
1861 (scalbn_test_data): Likewise.
1862 (scalbln_test_data): Likewise.
1863 (signbit_test_data): Likewise.
1864 (sin_test_data): Likewise.
1865 (sin_tonearest_test_data): Likewise.
1866 (sin_towardzero_test_data): Likewise.
1867 (sin_downward_test_data): Likewise.
1868 (sin_upward_test_data): Likewise.
1869 (sincos_test_data): Likewise.
1870 (sinh_test_data): Likewise.
1871 (sinh_tonearest_test_data): Likewise.
1872 (sinh_towardzero_test_data): Likewise.
1873 (sinh_downward_test_data): Likewise.
1874 (sinh_upward_test_data): Likewise.
1875 (sqrt_test_data): Likewise.
1876 (tan_test_data): Likewise.
1877 (tan_tonearest_test_data): Likewise.
1878 (tan_towardzero_test_data): Likewise.
1879 (tan_downward_test_data): Likewise.
1880 (tan_upward_test_data): Likewise.
1881 (tanh_test_data): Likewise.
1882 (tgamma_test_data): Likewise.
1883 (trunc_test_data): Likewise.
1884 (y0_test_data): Likewise.
1885 (y1_test_data): Likewise.
1886 (yn_test_data): Likewise.
1887 (significand_test_data): Likewise.
1888
b679a606
JM
1889 * math/gen-libm-test.pl (@functions): Remove variable.
1890 (generate_testfile): Don't handle START and END lines.
1891 * math/libm-test.inc (START): New macro.
1892 (END): Likewise.
1893 (END_COMPLEX): Likewise.
1894 (acos_test): Use END macro without arguments.
1895 (acos_test_tonearest): Likewise.
1896 (acos_test_towardzero): Likewise.
1897 (acos_test_downward): Likewise.
1898 (acos_test_upward): Likewise.
1899 (acosh_test): Likewise.
1900 (asin_test): Likewise.
1901 (asin_test_tonearest): Likewise.
1902 (asin_test_towardzero): Likewise.
1903 (asin_test_downward): Likewise.
1904 (asin_test_upward): Likewise.
1905 (asinh_test): Likewise.
1906 (atan_test): Likewise.
1907 (atanh_test): Likewise.
1908 (atan2_test): Likewise.
1909 (cabs_test): Likewise.
1910 (cacos_test): Use END_COMPLEX macro without arguments.
1911 (cacosh_test): Likewise.
1912 (carg_test): Use END macro without arguments.
1913 (casin_test): Use END_COMPLEX macro without arguments.
1914 (casinh_test): Likewise.
1915 (catan_test): Likewise.
1916 (catanh_test): Likewise.
1917 (cbrt_test): Use END macro without arguments.
1918 (ccos_test): Use END_COMPLEX macro without arguments.
1919 (ccosh_test): Likewise.
1920 (ceil_test): Use END macro without arguments.
1921 (cexp_test): Use END_COMPLEX macro without arguments.
1922 (cimag_test): Use END macro without arguments.
1923 (clog_test): Use END_COMPLEX macro without arguments.
1924 (clog10_test): Likewise.
1925 (conj_test): Likewise.
1926 (copysign_test): Use END macro without arguments.
1927 (cos_test): Likewise.
1928 (cos_test_tonearest): Likewise.
1929 (cos_test_towardzero): Likewise.
1930 (cos_test_downward): Likewise.
1931 (cos_test_upward): Likewise.
1932 (cosh_test): Likewise.
1933 (cosh_test_tonearest): Likewise.
1934 (cosh_test_towardzero): Likewise.
1935 (cosh_test_downward): Likewise.
1936 (cosh_test_upward): Likewise.
1937 (cpow_test): Use END_COMPLEX macro without arguments.
1938 (cproj_test): Likewise.
1939 (creal_test): Use END macro without arguments.
1940 (csin_test): Use END_COMPLEX macro without arguments.
1941 (csinh_test): Likewise.
1942 (csqrt_test): Likewise.
1943 (ctan_test): Likewise.
1944 (ctan_test_tonearest): Likewise.
1945 (ctan_test_towardzero): Likewise.
1946 (ctan_test_downward): Likewise.
1947 (ctan_test_upward): Likewise.
1948 (ctanh_test): Likewise.
1949 (ctanh_test_tonearest): Likewise.
1950 (ctanh_test_towardzero): Likewise.
1951 (ctanh_test_downward): Likewise.
1952 (ctanh_test_upward): Likewise.
1953 (erf_test): Use END macro without arguments.
1954 (erfc_test): Likewise.
1955 (exp_test): Likewise.
1956 (exp_test_tonearest): Likewise.
1957 (exp_test_towardzero): Likewise.
1958 (exp_test_downward): Likewise.
1959 (exp_test_upward): Likewise.
1960 (exp10_test): Likewise.
1961 (exp2_test): Likewise.
1962 (expm1_test): Likewise.
1963 (fabs_test): Likewise.
1964 (fdim_test): Likewise.
1965 (finite_test): Likewise.
1966 (floor_test): Likewise.
1967 (fma_test): Likewise.
1968 (fma_test_towardzero): Likewise.
1969 (fma_test_downward): Likewise.
1970 (fma_test_upward): Likewise.
1971 (fmax_test): Likewise.
1972 (fmin_test): Likewise.
1973 (fmod_test): Likewise.
1974 (fpclassify_test): Likewise.
1975 (frexp_test): Likewise.
1976 (gamma_test): Likewise.
1977 (hypot_test): Likewise.
1978 (ilogb_test): Likewise.
1979 (isfinite_test): Likewise.
1980 (isgreater_test): Likewise.
1981 (isgreaterequal_test): Likewise.
1982 (isinf_test): Likewise.
1983 (isless_test): Likewise.
1984 (islessequal_test): Likewise.
1985 (islessgreater_test): Likewise.
1986 (isnan_test): Likewise.
1987 (isnormal_test): Likewise.
1988 (issignaling_test): Likewise.
1989 (isunordered_test): Likewise.
1990 (j0_test): Likewise.
1991 (j1_test): Likewise.
1992 (jn_test): Likewise.
1993 (ldexp_test): Likewise.
1994 (lgamma_test): Likewise.
1995 (lrint_test): Likewise.
1996 (lrint_test_tonearest): Likewise.
1997 (lrint_test_towardzero): Likewise.
1998 (lrint_test_downward): Likewise.
1999 (lrint_test_upward): Likewise.
2000 (llrint_test): Likewise.
2001 (llrint_test_tonearest): Likewise.
2002 (llrint_test_towardzero): Likewise.
2003 (llrint_test_downward): Likewise.
2004 (llrint_test_upward): Likewise.
2005 (log_test): Likewise.
2006 (log10_test): Likewise.
2007 (log1p_test): Likewise.
2008 (log2_test): Likewise.
2009 (logb_test): Likewise.
2010 (logb_test_downward): Likewise.
2011 (lround_test): Likewise.
2012 (llround_test): Likewise.
2013 (modf_test): Likewise.
2014 (nearbyint_test): Likewise.
2015 (nextafter_test): Likewise.
2016 (nexttoward_test): Likewise.
2017 (pow_test): Likewise.
2018 (pow_test_tonearest): Likewise.
2019 (pow_test_towardzero): Likewise.
2020 (pow_test_downward): Likewise.
2021 (pow_test_upward): Likewise.
2022 (remainder_test): Likewise.
2023 (remainder_test_tonearest): Likewise.
2024 (remainder_test_towardzero): Likewise.
2025 (remainder_test_downward): Likewise.
2026 (remainder_test_upward): Likewise.
2027 (remquo_test): Likewise.
2028 (rint_test): Likewise.
2029 (rint_test_tonearest): Likewise.
2030 (rint_test_towardzero): Likewise.
2031 (rint_test_downward): Likewise.
2032 (rint_test_upward): Likewise.
2033 (round_test): Likewise.
2034 (scalb_test): Likewise.
2035 (scalbn_test): Likewise.
2036 (scalbln_test): Likewise.
2037 (signbit_test): Likewise.
2038 (sin_test): Likewise.
2039 (sin_test_tonearest): Likewise.
2040 (sin_test_towardzero): Likewise.
2041 (sin_test_downward): Likewise.
2042 (sin_test_upward): Likewise.
2043 (sincos_test): Likewise.
2044 (sinh_test): Likewise.
2045 (sinh_test_tonearest): Likewise.
2046 (sinh_test_towardzero): Likewise.
2047 (sinh_test_downward): Likewise.
2048 (sinh_test_upward): Likewise.
2049 (sqrt_test): Likewise.
2050 (tan_test): Likewise.
2051 (tan_test_tonearest): Likewise.
2052 (tan_test_towardzero): Likewise.
2053 (tan_test_downward): Likewise.
2054 (tan_test_upward): Likewise.
2055 (tanh_test): Likewise.
2056 (tgamma_test): Likewise.
2057 (trunc_test): Likewise.
2058 (y0_test): Likewise.
2059 (y1_test): Likewise.
2060 (yn_test): Likewise.
2061 (significand_test): Likewise.
2062
bae143d2
OB
20632013-05-24 Ondřej Bílka <neleai@seznam.cz>
2064
2065 [BZ #15381]
2066 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2067
9323d39b
EM
20682013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2069
d4ea44a0 2070 [BZ #14894]
9323d39b
EM
2071 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2072 __ppc_mdoio and __ppc_mdoom.
2073 * manual/platform.texi: Document new functions __ppc_yield,
2074 __ppc_mdoio and __ppc_mdoom.
2075
13e23af7
CD
20762013-05-22 Carlos O'Donell <carlos@redhat.com>
2077
2078 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2079 (main): Mention "tls" pseudo-hwcap is legacy.
2080 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2081
351fe550
JM
20822013-05-22 Joseph Myers <joseph@codesourcery.com>
2083
2084 * math/gen-libm-test.pl (parse_args): Output only string of
2085 arguments as text for test name, not full call or descriptions of
2086 tests for extra outputs.
2087 (generate_testfile): Do not pass function name to parse_args.
2088 Generate this_func variable from START.
2089 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2090 field to arg_str.
2091 (struct test_ff_f_data): Likewise.
2092 (test_ff_f_data_nexttoward): Likewise.
2093 (struct test_fi_f_data): Likewise.
2094 (struct test_fl_f_data): Likewise.
2095 (struct test_if_f_data): Likewise.
2096 (struct test_fff_f_data): Likewise.
2097 (struct test_c_f_data): Likewise.
2098 (struct test_f_f1_data): Likewise. Remove field extra_name.
2099 (struct test_fF_f1_data): Likewise.
2100 (struct test_ffI_f1_data): Likewise.
2101 (struct test_c_c_data): Rename test_name field to arg_str.
2102 (struct test_cc_c_data): Likewise.
2103 (struct test_f_i_data): Likewise.
2104 (struct test_ff_i_data): Likewise.
2105 (struct test_f_l_data): Likewise.
2106 (struct test_f_L_data): Likewise.
2107 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2108 and extra2_name.
2109 (COMMON_TEST_SETUP): New macro.
2110 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2111 (COMMON_TEST_CLEANUP): Likewise.
2112 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2113 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2114 macros.
2115 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2116 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2117 macros.
2118 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2119 (RUN_TEST_fff_f): Take argument string. Call new setup and
2120 cleanup macros.
2121 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2122 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2123 macros.
2124 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2125 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2126 macros.
2127 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2128 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2129 cleanup macros.
2130 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2131 (RUN_TEST_fI_f1): Take argument string. Call new setup and
2132 cleanup macros.
2133 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2134 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
2135 cleanup macros.
2136 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2137 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2138 macros.
2139 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2140 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2141 macros.
2142 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2143 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2144 macros.
2145 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2146 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2147 cleanup macros.
2148 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2149 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
2150 cleanup macros.
2151 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2152 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
2153 macros.
2154 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2155 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
2156 cleanup macros.
2157 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2158 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
2159 macros.
2160 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2161 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
2162 macros.
2163 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2164 (RUN_TEST_fFF_11): Take argument string. Call new setup and
2165 cleanup macros.
2166 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2167
85118d4d
EBM
21682013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2169
2170 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2171 to _sifields.sigfault.
2172 (si_addr_lsb): Define new macro.
2173 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2174 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2175 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2176
7a44c18f
CD
21772013-05-03 Carlos O'Donell <carlos at redhat.com>
2178
2179 [BZ #15441]
2180 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2181 returns -1.
2182 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2183 null return -1.
2184 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2185 loading the domain.
2186
b50a7181
JM
21872013-05-22 Joseph Myers <joseph@codesourcery.com>
2188
2189 * math/gen-libm-test.pl (parse_args): Do not include expected
2190 result in test name.
2191 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2192 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2193 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2194 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2195 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2197
051063c8
SP
21982013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2199
3ce9e010
SP
2200 * benchtests/Makefile: Sort function entries.
2201
051063c8
SP
2202 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2203 tanh, asinh, acosh, atanh.
2204 * benchtests/acos-inputs: New file.
2205 * benchtests/acosh-inputs: New file.
2206 * benchtests/asin-inputs: New file.
2207 * benchtests/asinh-inputs: New file.
2208 * benchtests/atanh-inputs: New file.
2209 * benchtests/cosh-inputs: New file.
2210 * benchtests/log-inputs: New file.
2211 * benchtests/sinh-inputs: New file.
2212 * benchtests/tanh-inputs: New file.
2213
47c22455
DL
22142013-05-21 Dmitry V. Levin <ldv@altlinux.org>
2215
2216 [BZ #15339]
2217 * posix/tst-getaddrinfo4.c: New test.
2218 * posix/Makefile (tests): Add it.
2219
3d04f5db
SP
22202013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2221
2222 [BZ #15339]
2223 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2224 when no services were used.
2225 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2226 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2227
d5dd6189
AS
22282013-05-21 Andreas Schwab <schwab@suse.de>
2229
2230 [BZ #15014]
2231 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2232 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2233 successful.
2234 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2235 redundant variable declarations and reallocation of buffer when
2236 parsing as IPv6 address. Always set NSS status when called from
2237 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
2238 buffer too small. Correct computation of needed size.
2239 * nss/Makefile (tests): Add test-digits-dots.
2240 * nss/test-digits-dots.c: New test.
2241
fef94eab
SP
22422013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2243
2244 * benchtests/Makefile: Remove instructions for adding
2245 benchmark tests.
2246 * benchtests/README: New file to explain how to execute and
2247 enhance the benchmark tests.
2248
e39adf43
AS
22492013-05-21 Andreas Schwab <schwab@suse.de>
2250
2251 [BZ #15493]
2252 * setjmp/Makefile (tests): Add tst-sigsetjmp.
2253 * setjmp/tst-sigsetjmp.c: New test.
2254
b2b671b6
OB
22552013-05-20 Ondřej Bílka <neleai@seznam.cz>
2256
2257 * sysdeps/x86_64/memset.S (memset): New implementation.
2258 (__bzero): Likewise.
2259 (__memset_tail): New function.
2260
2d48b41c
OB
22612013-05-20 Ondřej Bílka <neleai@seznam.cz>
2262
2263 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2264 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2265 __memcpy_sse2_unaligned ifunc selection.
2266 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2267 Add memcpy-sse2-unaligned.S.
2268 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2269 Add: __memcpy_sse2_unaligned.
2270
f16cc3eb
JM
22712013-05-19 Joseph Myers <joseph@codesourcery.com>
2272
3e694268
JM
2273 [BZ #15490]
2274 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2275 math_force_eval before restoring floating-point envrionment.
2276 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2277 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2278 Likewise.
2279 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2280 <math_private.h>.
2281 (__nearbyintl): Use math_force_eval before restoring
2282 floating-point environment.
2283 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2284
db62a907
JM
2285 * math/gen-libm-test.pl (special_functions): Remove.
2286 (parse_args): Don't handle TEST_extra. Handle functions with no
2287 return value.
2288 * math/libm-test.inc (struct test_sincos_data): Replace with
2289 struct test_fFF_11_data.
2290 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2291 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2292 (sincos_test_data): Change element type to struct
2293 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
2294 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2295 RUN_TEST_LOOP_sincos.
2296 * math/README.libm-test: Don't mention special handling of
2297 individual functions.
2298 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2299 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2300 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2301 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2302 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2304
f16cc3eb
JM
2305 * math/gen-libm-test.pl (get_variable): Remove function.
2306 (parse_args): Don't show pointer parameters to call in test
2307 names. Use "extra output N" in test names for extra outputs
2308 rather than naming variables.
2309
3779b5b6
JM
23102013-05-18 Joseph Myers <joseph@codesourcery.com>
2311
2ee094ff
JM
2312 [BZ #15488]
2313 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2314 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2315 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2316 double tests.
2317 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2318 disable.
2319 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2320 check_long_double.
2321
3779b5b6
JM
2322 * math/gen-libm-test.pl (@tests): Remove variable.
2323 ($count): Likewise.
2324 (new_test): Remove function.
2325 (show_exceptions): New function.
2326 (special_functions): Use show_exceptions instead of new_test.
2327 (parse_args): Likewise.
2328 (generate_testfile): Pass only function name in generated call to
2329 print_max_error or print_complex_max_error.
2330 (get_ulps): Do not handle complex tests specially.
2331 (output_test): Rename to ...
2332 (get_all_ulps_for_test): ... this. Return a string rather than
2333 printing to a file. Require ulps to be present.
2334 (output_ulps): Generate arrays rather than #defines.
2335 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2336 (struct ulp_data): New type.
2337 (BUILD_COMPLEX_ULP): Remove macro.
2338 (compare_ulp_data): New function.
2339 (find_ulps): Likewise.
2340 (find_test_ulps): Likewise.
2341 (find_function_ulps): Likewise.
2342 (find_complex_function_ulps): Likewise.
2343 (print_max_error): Determine allowed ulps using
2344 find_function_ulps.
2345 (print_complex_max_error): Determine allowed ulps using
2346 find_complex_function_ulps.
2347 (check_float_internal): Determine max ulps using find_test_ulps.
2348 (check_float): Do not take max_ulp parameter. Update call to
2349 check_float_internal.
2350 (check_complex): Likewise.
2351 (check_int): Do not take max_ulp parameter.
2352 (check_long): Likewise.
2353 (check_bool): Likewise.
2354 (check_longlong): Likewise.
2355 (struct test_f_f_data): Remove max_ulp field.
2356 (struct test_ff_f_data): Likewise.
2357 (struct test_ff_f_data_nexttoward): Likewise.
2358 (struct test_fi_f_data): Likewise.
2359 (struct test_fl_f_data): Likewise.
2360 (struct test_if_f_data): Likewise.
2361 (struct test_fff_f_data): Likewise.
2362 (struct test_c_f_data): Likewise.
2363 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2364 (struct test_fF_f1_data): Likewise.
2365 (struct test_ffI_f1_data): Likewise.
2366 (struct test_c_c_data): Remove max_ulp field.
2367 (struct test_cc_c_data): Likewise.
2368 (struct test_f_i_data): Likewise.
2369 (struct test_ff_i_data): Likewise.
2370 (struct test_f_l_data): Likewise.
2371 (struct test_f_L_data): Likewise.
2372 (struct test_sincos_data): Likewise.
2373 (RUN_TEST_f_f): Do not handle ulps.
2374 (RUN_TEST_LOOP_f_f): Likewise.
2375 (RUN_TEST_2_f): Likewise.
2376 (RUN_TEST_LOOP_2_f): Likewise.
2377 (RUN_TEST_fff_f): Likewise.
2378 (RUN_TEST_LOOP_fff_f): Likewise.
2379 (RUN_TEST_c_f): Likewise.
2380 (RUN_TEST_LOOP_c_f): Likewise.
2381 (RUN_TEST_f_f1): Likewise.
2382 (RUN_TEST_LOOP_f_f1): Likewise.
2383 (RUN_TEST_fF_f1): Likewise.
2384 (RUN_TEST_LOOP_fF_f1): Likewise.
2385 (RUN_TEST_fI_f1): Likewise.
2386 (RUN_TEST_LOOP_fI_f1): Likewise.
2387 (RUN_TEST_ffI_f1): Likewise.
2388 (RUN_TEST_LOOP_ffI_f1): Likewise.
2389 (RUN_TEST_c_c): Likewise.
2390 (RUN_TEST_LOOP_c_c): Likewise.
2391 (RUN_TEST_cc_c): Likewise.
2392 (RUN_TEST_LOOP_cc_c): Likewise.
2393 (RUN_TEST_f_i): Likewise.
2394 (RUN_TEST_LOOP_f_i): Likewise.
2395 (RUN_TEST_f_i_tg): Likewise.
2396 (RUN_TEST_LOOP_f_i_tg): Likewise.
2397 (RUN_TEST_ff_i_tg): Likewise.
2398 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2399 (RUN_TEST_f_b): Likewise.
2400 (RUN_TEST_LOOP_f_b): Likewise.
2401 (RUN_TEST_f_b_tg): Likewise.
2402 (RUN_TEST_LOOP_f_b_tg): Likewise.
2403 (RUN_TEST_f_l): Likewise.
2404 (RUN_TEST_LOOP_f_l): Likewise.
2405 (RUN_TEST_f_L): Likewise.
2406 (RUN_TEST_LOOP_f_L): Likewise.
2407 (RUN_TEST_sincos): Likewise.
2408 (RUN_TEST_LOOP_sincos): Likewise.
2409
8269107f
JM
24102013-05-17 Joseph Myers <joseph@codesourcery.com>
2411
bb38759d
JM
2412 [BZ #15480]
2413 [BZ #15485]
2414 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2415 main case of finite arguments, set rounding mode to FE_TONEAREST
2416 and discard exceptions.
2417 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2418 exceptions.
2419 (remainder_tonearest_test_data): New variable.
2420 (remainder_test_tonearest): New function.
2421 (remainder_towardzero_test_data): New variable.
2422 (remainder_test_towardzero): New function.
2423 (remainder_downward_test_data): New variable.
2424 (remainder_test_downward): New function.
2425 (remainder_upward_test_data): New variable.
2426 (remainder_test_upward): New function.
2427 (main): Call the new test functions.
2428
a00bdcf0
JM
2429 * math/libm-test.inc (struct test_f_f1_data): Remove field
2430 extra_init.
2431 (struct test_fF_f1_data): Likewise.
2432 (struct test_ffI_f1_data): Likewise.
2433 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
2434 based on value of EXTRA_EXPECTED.
2435 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2436 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
2437 EXTRA_VAR based on value of EXTRA_EXPECTED.
2438 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2439 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
2440 EXTRA_VAR based on value of EXTRA_EXPECTED.
2441 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2442 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
2443 EXTRA_VAR based on value of EXTRA_EXPECTED.
2444 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2445 * math/gen-libm-test.pl (parse_args): Don't output initializers
2446 for extra output values.
2447
de407f79
JM
2448 * math/libm-test.inc (check_int): Expect result to be exactly
2449 equal to expected value and do not handle ulps.
2450 (check_long): Likewise.
2451 (check_longlong): Likewise.
2452
8269107f
JM
2453 * math/libm-test.inc (ceil_test_data): Test for "inexact"
2454 exceptions.
2455 (cimag_test_data): Likewise.
2456 (conj_test_data): Likewise.
2457 (copysign_test_data): Likewise.
2458 (cproj_test_data): Likewise.
2459 (creal_test_data): Likewise.
2460 (fabs_test_data): Likewise.
2461 (fdim_test_data): Likewise.
2462 (finite_test_data): Likewise.
2463 (floor_test_data): Likewise.
2464 (fmax_test_data): Likewise.
2465 (fmin_test_data): Likewise.
2466 (fmod_test_data): Likewise.
2467 (fpclassify_test_data): Likewise.
2468 (frexp_test_data): Likewise.
2469 (ilogb_test_data): Likewise.
2470 (isfinite_test_data): Likewise.
2471 (isgreater_test_data): Likewise.
2472 (isgreaterequal_test_data): Likewise.
2473 (isinf_test_data): Likewise.
2474 (isless_test_data): Likewise.
2475 (islessequal_test_data): Likewise.
2476 (islessgreater_test_data): Likewise.
2477 (isnan_test_data): Likewise.
2478 (isnormal_test_data): Likewise.
2479 (issignaling_test_data): Likewise.
2480 (isunordered_test_data): Likewise.
2481 (ldexp_test_data): Likewise.
2482 (lrint_test_data): Likewise.
2483 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2484 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2485 (lrint_tonearest_test_data): Test for "inexact" exceptions.
2486 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2487 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2488 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2489 test input.
2490 (lrint_towardzero_test_data): Test for "inexact" exceptions.
2491 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2492 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2493 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2494 that test input.
2495 (lrint_downward_test_data): Test for "inexact" exceptions.
2496 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2497 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2498 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2499 test input.
2500 (lrint_upward_test_data): Test for "inexact" exceptions.
2501 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2502 test input.
2503 (llrint_test_data): Test for "inexact" exceptions.
2504 (llrint_test_data) [TEST_FLOAT]: Disable one test.
2505 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2506 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2507 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2508 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2509 (llrint_downward_test_data): Test for "inexact" exceptions.
2510 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2511 (llrint_upward_test_data): Test for "inexact" exceptions.
2512 (logb_test_data): Likewise.
2513 (logb_downward_test_data): Likewise.
2514 (nextafter_test_data): Likewise.
2515 (nexttoward_test_data): Likewise.
2516 (remainder_test_data): Likewise.
2517 (remquo_test_data): Likewise.
2518 (scalbn_test_data): Likewise.
2519 (scalbln_test_data): Likewise.
2520 (signbit_test_data): Likewise.
2521 (sqrt_test_data): Likewise.
2522 (significand_test_data): Likewise.
2523
48a18de1
SP
25242013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2525
2526 [BZ #15424]
2527 * benchtests/bench-modf.c (struct args): Mark arg0 as
2528 volatile.
2529 * scripts/bench.pl: Mark members of struct args as volatile.
2530
13d3b41a
AZ
25312013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2532
68191c1d 2533 [BZ # 15497]
13d3b41a
AZ
2534 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2535 negative infinity on POWER6 or lower.
2536 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2537
2848b105
MR
25382013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2539
2540 [BZ #15442]
2541 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2542 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2543 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2544 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2545 (_FP_SETQNAN): New macro.
2546 (_FP_SETQNAN_SEMIRAW): Likewise.
2547 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2548 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2549 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2550 (FP_EXTEND): Use _FP_FRAC_SNANP.
2551 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2552 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2553 into account.
2554 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2555 New macro.
2556 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2557 Likewise.
2558
323e5cb7
JM
25592013-05-16 Joseph Myers <joseph@codesourcery.com>
2560
c58b274f
JM
2561 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2562 with DIVIDE_BY_ZERO_EXCEPTION.
2563 (gamma_test_data): Likewise.
2564 (lgamma_test_data): Likewise.
2565 (log_test_data): Likewise.
2566 (log10_test_data): Likewise.
2567 (log2_test_data): Likewise.
2568 (tgamma_test_data): Likewise.
2569
0ab34904
JM
2570 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2571 (acos_test_tonearest): Likewise.
2572 (acos_test_towardzero): Likewise.
2573 (acos_test_downward): Likewise.
2574 (acos_test_upward): Likewise.
2575 (acosh_test): Likewise.
2576 (asin_test): Likewise.
2577 (asin_test_tonearest): Likewise.
2578 (asin_test_towardzero): Likewise.
2579 (asin_test_downward): Likewise.
2580 (asin_test_upward): Likewise.
2581 (asinh_test): Likewise.
2582 (atan_test): Likewise.
2583 (atanh_test): Likewise.
2584 (atan2_test): Likewise.
2585 (cabs_test): Likewise.
2586 (cacos_test): Likewise.
2587 (cacosh_test): Likewise.
2588 (casin_test): Likewise.
2589 (casinh_test): Likewise.
2590 (catan_test): Likewise.
2591 (catanh_test): Likewise.
2592 (cbrt_test): Likewise.
2593 (ccos_test): Likewise.
2594 (ccosh_test): Likewise.
2595 (cexp_test): Likewise.
2596 (clog_test): Likewise.
2597 (clog10_test): Likewise.
2598 (cos_test): Likewise.
2599 (cos_test_tonearest): Likewise.
2600 (cos_test_towardzero): Likewise.
2601 (cos_test_downward): Likewise.
2602 (cos_test_upward): Likewise.
2603 (cosh_test): Likewise.
2604 (cosh_test_tonearest): Likewise.
2605 (cosh_test_towardzero): Likewise.
2606 (cosh_test_downward): Likewise.
2607 (cosh_test_upward): Likewise.
2608 (cpow_test): Likewise.
2609 (csin_test): Likewise.
2610 (csinh_test): Likewise.
2611 (csqrt_test): Likewise.
2612 (ctan_test): Likewise.
2613 (ctan_test_tonearest): Likewise.
2614 (ctan_test_towardzero): Likewise.
2615 (ctan_test_downward): Likewise.
2616 (ctan_test_upward): Likewise.
2617 (ctanh_test): Likewise.
2618 (ctanh_test_tonearest): Likewise.
2619 (ctanh_test_towardzero): Likewise.
2620 (ctanh_test_downward): Likewise.
2621 (ctanh_test_upward): Likewise.
2622 (erf_test): Likewise.
2623 (erfc_test): Likewise.
2624 (exp_test): Likewise.
2625 (exp_test_tonearest): Likewise.
2626 (exp_test_towardzero): Likewise.
2627 (exp_test_downward): Likewise.
2628 (exp_test_upward): Likewise.
2629 (exp10_test): Likewise.
2630 (exp2_test): Likewise.
2631 (expm1_test): Likewise.
2632 (fmod_test): Likewise.
2633 (gamma_test): Likewise.
2634 (hypot_test): Likewise.
2635 (j0_test): Likewise.
2636 (j1_test): Likewise.
2637 (jn_test): Likewise.
2638 (lgamma_test): Likewise.
2639 (log_test): Likewise.
2640 (log10_test): Likewise.
2641 (log1p_test): Likewise.
2642 (log2_test): Likewise.
2643 (logb_test_downward): Likewise.
2644 (pow_test): Likewise.
2645 (pow_test_tonearest): Likewise.
2646 (pow_test_towardzero): Likewise.
2647 (pow_test_downward): Likewise.
2648 (pow_test_upward): Likewise.
2649 (remainder_test): Likewise.
2650 (remquo_test): Likewise.
2651 (sin_test): Likewise.
2652 (sin_test_tonearest): Likewise.
2653 (sin_test_towardzero): Likewise.
2654 (sin_test_downward): Likewise.
2655 (sin_test_upward): Likewise.
2656 (sincos_test): Likewise.
2657 (sinh_test): Likewise.
2658 (sinh_test_tonearest): Likewise.
2659 (sinh_test_towardzero): Likewise.
2660 (sinh_test_downward): Likewise.
2661 (sinh_test_upward): Likewise.
2662 (sqrt_test): Likewise.
2663 (tan_test): Likewise.
2664 (tan_test_tonearest): Likewise.
2665 (tan_test_towardzero): Likewise.
2666 (tan_test_downward): Likewise.
2667 (tan_test_upward): Likewise.
2668 (tanh_test): Likewise.
2669 (tgamma_test): Likewise.
2670 (y0_test): Likewise.
2671 (y1_test): Likewise.
2672 (yn_test): Likewise.
2673
323e5cb7
JM
2674 * math/gen-libm-test.pl (adjust_arg): Remove function.
2675 (special_function): Remove argument $in_func. Only handle
2676 generating output for tables of tests, not inside functions.
2677 (parse_args): Likewise.
2678 (generate_testfile): Remove variable $in_func. Update call to
2679 parse_args.
2680 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2681 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2682 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2683 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2684 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2685 (MAX_VALUE_INIT): Rename macro to max_value.
2686 (MIN_VALUE_INIT): Rename macro to min_value.
2687 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2688 (plus_zero): Remove variable.
2689 (minus_zero): Likewise.
2690 (plus_infty): Likewise.
2691 (minus_infty): Likewise.
2692 (qnan_value): Likewise.
2693 (max_value): Likewise.
2694 (min_value): Likewise.
2695 (min_subnorm_value): Likewise.
2696
e054f494
RA
26972013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2698
2699 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2700 uint64_t or uint32_t usage.
2701 * crypt/sha256-block.c: Likewise.
2702 * crypt/sha256-crypt.c: Likewise.
2703 * crypt/sha256.c: Likewise.
2704 * crypt/sha512-block.c: Likewise.
2705 * crypt/sha512-crypt.c: Likewise.
2706 * crypt/sha512.c: Likewise.
2707 * debug/backtrace-tst.c: Likewise.
2708 * debug/pcprofiledump.c: Likewise.
2709 * elf/cache.c: Likewise.
2710 * elf/dl-cache.c: Likewise.
2711 * elf/dl-misc.c: Likewise.
2712 * elf/dl-profile.c: Likewise.
2713 * elf/dl-support.c: Likewise.
2714 * elf/ldconfig.c: Likewise.
2715 * elf/sprof.c: Likewise.
2716 * iconv/dummy-repertoire.c: Likewise.
2717 * iconv/iconv_charmap.c: Likewise.
2718 * iconv/skeleton.c: Likewise.
2719 * iconvdata/8bit-generic.c: Likewise.
2720 * iconvdata/cp737.h: Likewise.
2721 * iconvdata/cp775.h: Likewise.
2722 * iconvdata/ibm1008.h: Likewise.
2723 * iconvdata/ibm1025.h: Likewise.
2724 * iconvdata/ibm1046.h: Likewise.
2725 * iconvdata/ibm1097.h: Likewise.
2726 * iconvdata/ibm1112.h: Likewise.
2727 * iconvdata/ibm1122.h: Likewise.
2728 * iconvdata/ibm1123.h: Likewise.
2729 * iconvdata/ibm1124.h: Likewise.
2730 * iconvdata/ibm1129.h: Likewise.
2731 * iconvdata/ibm1130.h: Likewise.
2732 * iconvdata/ibm1132.h: Likewise.
2733 * iconvdata/ibm1133.h: Likewise.
2734 * iconvdata/ibm1137.h: Likewise.
2735 * iconvdata/ibm1140.h: Likewise.
2736 * iconvdata/ibm1141.h: Likewise.
2737 * iconvdata/ibm1142.h: Likewise.
2738 * iconvdata/ibm1143.h: Likewise.
2739 * iconvdata/ibm1144.h: Likewise.
2740 * iconvdata/ibm1145.h: Likewise.
2741 * iconvdata/ibm1146.h: Likewise.
2742 * iconvdata/ibm1147.h: Likewise.
2743 * iconvdata/ibm1148.h: Likewise.
2744 * iconvdata/ibm1149.h: Likewise.
2745 * iconvdata/ibm1153.h: Likewise.
2746 * iconvdata/ibm1154.h: Likewise.
2747 * iconvdata/ibm1155.h: Likewise.
2748 * iconvdata/ibm1156.h: Likewise.
2749 * iconvdata/ibm1157.h: Likewise.
2750 * iconvdata/ibm1158.h: Likewise.
2751 * iconvdata/ibm1160.h: Likewise.
2752 * iconvdata/ibm1161.h: Likewise.
2753 * iconvdata/ibm1162.h: Likewise.
2754 * iconvdata/ibm1163.h: Likewise.
2755 * iconvdata/ibm1164.h: Likewise.
2756 * iconvdata/ibm1166.h: Likewise.
2757 * iconvdata/ibm1167.h: Likewise.
2758 * iconvdata/ibm12712.h: Likewise.
2759 * iconvdata/ibm1390.h: Likewise.
2760 * iconvdata/ibm1399.h: Likewise.
2761 * iconvdata/ibm16804.h: Likewise.
2762 * iconvdata/ibm4517.h: Likewise.
2763 * iconvdata/ibm4899.h: Likewise.
2764 * iconvdata/ibm4909.h: Likewise.
2765 * iconvdata/ibm4971.h: Likewise.
2766 * iconvdata/ibm5347.h: Likewise.
2767 * iconvdata/ibm803.h: Likewise.
2768 * iconvdata/ibm856.h: Likewise.
2769 * iconvdata/ibm901.h: Likewise.
2770 * iconvdata/ibm902.h: Likewise.
2771 * iconvdata/ibm9030.h: Likewise.
2772 * iconvdata/ibm9066.h: Likewise.
2773 * iconvdata/ibm921.h: Likewise.
2774 * iconvdata/ibm922.h: Likewise.
2775 * iconvdata/ibm9448.h: Likewise.
2776 * iconvdata/isiri-3342.h: Likewise.
2777 * iconvdata/jis0201.h: Likewise.
2778 * include/link.h: Likewise.
2779 * include/netdb.h: Likewise.
2780 * inet/check_native.c: Likewise.
2781 * inet/check_pf.c: Likewise.
2782 * inet/getipv4sourcefilter.c: Likewise.
2783 * inet/getnameinfo.c: Likewise.
2784 * inet/getsourcefilter.c: Likewise.
2785 * inet/htonl.c: Likewise.
2786 * inet/setipv4sourcefilter.c: Likewise.
2787 * inet/setsourcefilter.c: Likewise.
2788 * inet/test-inet6_opt.c: Likewise.
2789 * inet/tst-network.c: Likewise.
2790 * locale/C-collate.c: Likewise.
2791 * locale/C-ctype.c: Likewise.
2792 * locale/C-time.c: Likewise.
2793 * locale/C-translit.h: Likewise.
2794 * locale/loadarchive.c: Likewise.
2795 * locale/programs/3level.h: Likewise.
2796 * locale/programs/charmap.c: Likewise.
2797 * locale/programs/charmap.h: Likewise.
2798 * locale/programs/ld-address.c: Likewise.
2799 * locale/programs/ld-collate.c: Likewise.
2800 * locale/programs/ld-ctype.c: Likewise.
2801 * locale/programs/ld-identification.c: Likewise.
2802 * locale/programs/ld-measurement.c: Likewise.
2803 * locale/programs/ld-messages.c: Likewise.
2804 * locale/programs/ld-monetary.c: Likewise.
2805 * locale/programs/ld-name.c: Likewise.
2806 * locale/programs/ld-numeric.c: Likewise.
2807 * locale/programs/ld-paper.c: Likewise.
2808 * locale/programs/ld-telephone.c: Likewise.
2809 * locale/programs/ld-time.c: Likewise.
2810 * locale/programs/linereader.c: Likewise.
2811 * locale/programs/locale.c: Likewise.
2812 * locale/programs/locarchive.c: Likewise.
2813 * locale/programs/locfile.h: Likewise.
2814 * locale/programs/repertoire.c: Likewise.
2815 * locale/programs/simple-hash.c: Likewise.
2816 * locale/programs/simple-hash.h: Likewise.
2817 * malloc/memusage.c: Likewise.
2818 * malloc/memusagestat.c: Likewise.
2819 * nis/nis_defaults.c: Likewise.
2820 * nis/nis_hash.c: Likewise.
2821 * nis/nis_print.c: Likewise.
2822 * nis/nis_xdr.c: Likewise.
2823 * nscd/connections.c: Likewise.
2824 * nscd/hstcache.c: Likewise.
2825 * nscd/nscd_gethst_r.c: Likewise.
2826 * nscd/nscd_getserv_r.c: Likewise.
2827 * nscd/nscd_helper.c: Likewise.
2828 * nscd/servicescache.c: Likewise.
2829 * nss/makedb.c: Likewise.
2830 * nss/nss_db/db-XXX.c: Likewise.
2831 * nss/nss_db/db-initgroups.c: Likewise.
2832 * nss/nss_db/db-netgrp.c: Likewise.
2833 * nss/nss_files/files-network.c: Likewise.
2834 * nss/nss_files/files-parse.c: Likewise.
2835 * posix/bug-regex5.c: Likewise.
2836 * posix/fnmatch_loop.c: Likewise.
2837 * posix/regcomp.c: Likewise.
2838 * posix/regexec.c: Likewise.
2839 * posix/tst-rfc3484-2.c: Likewise.
2840 * posix/tst-rfc3484-3.c: Likewise.
2841 * posix/tst-rfc3484.c: Likewise.
2842 * resolv/nss_dns/dns-canon.c: Likewise.
2843 * resolv/nss_dns/dns-network.c: Likewise.
2844 * resolv/res_init.c: Likewise.
2845 * resolv/res_mkquery.c: Likewise.
2846 * resolv/tst-aton.c: Likewise.
2847 * stdlib/cxa_atexit.c: Likewise.
2848 * stdlib/cxa_finalize.c: Likewise.
2849 * stdlib/gen-fpioconst.c: Likewise.
2850 * stdlib/strtol_l.c: Likewise.
2851 * string/tst-endian.c: Likewise.
2852 * sunrpc/auth_des.c: Likewise.
2853 * sunrpc/clnt_udp.c: Likewise.
2854 * sunrpc/rtime.c: Likewise.
2855 * sunrpc/svcauth_des.c: Likewise.
2856 * sunrpc/xdr.c: Likewise.
2857 * sunrpc/xdr_intXX_t.c: Likewise.
2858 * sunrpc/xdr_rec.c: Likewise.
2859 * sysdeps/generic/ldconfig.h: Likewise.
2860 * sysdeps/generic/ldsodefs.h: Likewise.
2861 * sysdeps/generic/memusage.h: Likewise.
2862 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2863 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2864 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2865 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2866 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2867 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2868 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2869 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2870 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2871 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2872 * sysdeps/posix/getaddrinfo.c: Likewise.
2873 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2874 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2875 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2876 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2877 * sysdeps/powerpc/test-gettimebase.c: Likewise.
2878 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2879 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2880 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2881 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2882 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2883 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2884 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2885 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2886 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2887 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2888 * sysdeps/x86_64/dl-tls.h: Likewise.
2889 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2890 * time/alt_digit.c: Likewise.
2891 * time/era.c: Likewise.
2892 * wcsmbs/tst-c16c32-1.c: Likewise.
2893
8c75f674
JM
28942013-05-16 Joseph Myers <joseph@codesourcery.com>
2895
2896 * math/libm-test.inc (struct test_sincos_data): New type.
2897 (RUN_TEST_LOOP_sincos): New macro.
2898 (sincos_test_data): New variable.
2899 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2900
e6e49e59
RH
29012013-05-16 Richard Henderson <rth@redhat.com>
2902
2903 * math/atest-exp2.c (LIMB64): New macro.
2904 (CONSTSZ): New macro.
2905 (mp_exp1, mp_exp_m1, mp_log2): New variables.
2906 (hexdig): Move ...
2907 (print_mpn_fp): ... to function scope.
2908 (read_mpn_hex): Remove.
2909 (get_log2): Remove.
2910 (exp2_mpn): Use mp_log2.
2911 (main): Use mp_exp1.
2912
15c7c18d
JM
29132013-05-16 Joseph Myers <joseph@codesourcery.com>
2914
105a07df
JM
2915 * math/libm-test.inc: Remove comment about not testing "inexact"
2916 exceptions.
2917 (INEXACT_EXCEPTION): New macro.
2918 (NO_INEXACT_EXCEPTION): Likewise.
2919 (INVALID_EXCEPTION_OK): Update value.
2920 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2921 (OVERFLOW_EXCEPTION_OK): Likewise.
2922 (UNDERFLOW_EXCEPTION_OK): Likewise.
2923 (IGNORE_ZERO_INF_SIGN): Likewise.
2924 (ERRNO_UNCHANGED): Likewise.
2925 (ERRNO_EDOM): Likewise.
2926 (ERRNO_ERANGE): Likewise.
2927 (test_exceptions): Handle testing "inexact" exceptions.
2928 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2929 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2930 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2931 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2932 INEXACT_EXCEPTION.
2933 (rint_towardzero_test_data): Likewise.
2934 (rint_downward_test_data): Likewise.
2935 (rint_upward_test_data): Likewise.
2936
e9eee333
JM
2937 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2938 with OVERFLOW_EXCEPTION.
2939 (exp10_test_data): Likewise.
2940 (exp2_test_data): Likewise.
2941 (expm1_test_data): Likewise.
2942 (lgamma_test_data): Likewise.
2943 (pow_test_data): Likewise.
2944 (tgamma_test_data): Likewise.
2945 (yn_test_data): Remove duplicate test of overflow.
2946
1c38ff73
JM
2947 * math/libm-test.inc (struct test_cc_c_data): New type.
2948 (RUN_TEST_LOOP_cc_c): New macro.
2949 (cpow_test_data): New variable.
2950 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2951
15c7c18d
JM
2952 * math/libm-test.inc (struct test_f_L_data): New type.
2953 (RUN_TEST_LOOP_f_L): New macro.
2954 (llrint_test_data): New variable.
2955 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2956 (llrint_tonearest_test_data): New variable.
2957 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2958 (llrint_towardzero_test_data): New variable.
2959 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2960 (llrint_downward_test_data): New variable.
2961 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2962 (llrint_upward_test_data): New variable.
2963 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2964 (llround_test_data): New variable.
2965 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2966
f137ff13
PC
29672013-05-13 Peter Collingbourne <pcc@google.com>
2968
2969 * math/atest-exp2.c (get_log2): Remove const attribute.
2970
3608cb24
JM
29712013-05-15 Joseph Myers <joseph@codesourcery.com>
2972
2973 * math/libm-test.inc (struct test_f_l_data): New type.
2974 (RUN_TEST_LOOP_f_l): New macro.
2975 (lrint_test_data): New variable.
2976 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2977 (lrint_tonearest_test_data): New variable.
2978 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2979 (lrint_towardzero_test_data): New variable.
2980 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2981 (lrint_downward_test_data): New variable.
2982 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2983 (lrint_upward_test_data): New variable.
2984 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2985 (lround_test_data): New variable.
2986 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2987
39b1f617
PC
29882013-05-15 Peter Collingbourne <pcc@google.com>
2989
1deff3dc
PC
2990 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2991 (EXTRACT_WORDS64) Use where appropriate.
2992 (INSERT_WORDS64) Likewise.
2993
791f3ba0
PC
2994 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2995 constraints with x constraints.
2996 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2997
39b1f617
PC
2998 * malloc/obstack.c (_obstack_compat): Add initializer.
2999
12fba011
EM
30002013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3001
3002 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3003 si_trapno and add si_addr_lsb to _sifields.sigfault.
3004 (si_trapno): Remove macro.
3005 (si_addr_lsb): Define new macro.
3006 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3007
d369f531
JM
30082013-05-15 Joseph Myers <joseph@codesourcery.com>
3009
b861c6c4
JM
3010 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3011 instead of TEST_f_l.
3012 (llrint_test_tonearest): Likewise.
3013 (llrint_test_towardzero): Likewise.
3014 (llrint_test_downward): Likewise.
3015 (llrint_test_upward): Likewise.
3016 (llround_test): Likewise.
3017
7abeee12
JM
3018 * math/libm-test.inc (struct test_f_i_data): Add comment.
3019 (RUN_TEST_LOOP_f_b): New macro.
3020 (RUN_TEST_LOOP_f_b_tg): Likewise.
3021 (finite_test_data): New variable.
3022 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3023 (isfinite_test_data): New variable.
3024 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3025 (isinf_test_data): New variable.
3026 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3027 (isnan_test_data): New variable.
3028 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3029 (isnormal_test_data): New variable.
3030 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3031 (issignaling_test_data): New variable.
3032 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3033 (signbit_test_data): New variable.
3034 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3035
cbe8c4d3
JM
3036 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3037 with INVALID_EXCEPTION.
3038 (acosh_test_data): Likewise.
3039 (asin_test_data): Likewise.
3040 (atanh_test_data): Likewise.
3041 (fmod_test_data): Likewise.
3042 (log_test_data): Likewise.
3043 (log10_test_data): Likewise.
3044 (log2_test_data): Likewise.
3045 (pow_test_data): Likewise.
3046 (sqrt_test_data): Likewise.
3047 (y0_test_data): Likewise.
3048 (y1_test_data): Likewise.
3049 (yn_test_data): Likewise.
3050
5575c0e5
JM
3051 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3052 function contents.
3053
d369f531
JM
3054 * math/libm-test.inc (struct test_ff_i_data): New type.
3055 (RUN_TEST_LOOP_ff_i_tg): New macro.
3056 (isgreater_test_data): New variable.
3057 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3058 (isgreaterequal_test_data): New variable.
3059 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3060 (isless_test_data): New variable.
3061 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3062 (islessequal_test_data): New variable.
3063 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3064 (islessgreater_test_data): New variable.
3065 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3066 (isunordered_test_data): New variable.
3067 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3068
781fd748
DM
30692013-05-14 David S. Miller <davem@davemloft.net>
3070
3071 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3072
87aa21df
JM
30732013-05-14 Joseph Myers <joseph@codesourcery.com>
3074
5e908270
JM
3075 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3076
f71172e5
JM
3077 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3078 extra_test to int.
3079 (struct test_f_i_data): Change type of max_ulp to int.
3080
8cfa635a
JM
3081 * math/libm-test.inc (test_ffI_f1_data): New type.
3082 (RUN_TEST_LOOP_ffI_f1): New macro.
3083 (remquo_test_data): New variable.
3084 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3085
2bcb36b2
JM
3086 * setjmp/tst-setjmp-fp.c: New file.
3087 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3088 (link-libm): New variable.
3089 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3090
acbd839a
JM
3091 * math/libm-test.inc (struct test_f_i_data): New type.
3092 (RUN_TEST_LOOP_f_i): New macro.
3093 (RUN_TEST_LOOP_f_i_tg): Likewise.
3094 (fpclassify_test_data): New variable.
3095 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3096 (ilogb_test_data): New variable.
3097 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3098
e414d745
JM
3099 * math/libm-test.inc (scalbln_test): Correct function name in END
3100 call.
3101
d9c2a0fd
JM
3102 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3103 (RUN_TEST_LOOP_fI_f1): New macro.
3104 (frexp_test_data): New variable.
3105 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3106
9dc9095d
JM
3107 * math/libm-test.inc (struct test_fF_f1_data): New type.
3108 (RUN_TEST_LOOP_fF_f1): New macro.
3109 (modf_test_data): New variable.
3110 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3111
87aa21df
JM
3112 * math/libm-test.inc (struct test_f_f1_data): New type.
3113 (RUN_TEST_LOOP_f_f1): New macro.
3114 (gamma_test_data): New variable.
3115 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3116 (lgamma_test_data): New variable.
3117 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3118
141af660
CD
31192013-05-13 Carlos O'Donell <carlos@redhat.com>
3120
3121 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3122 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3123 (main): Comment "tls" pseudo-hwcap.
3124
6d33265c
JM
31252013-05-13 Joseph Myers <joseph@codesourcery.com>
3126
68fc074c
JM
3127 * math/libm-test.inc (struct test_fl_f_data): New type.
3128 (RUN_TEST_LOOP_fl_f): New variable.
3129 (scalbln_test_data): New variable.
3130 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3131
243216e1
JM
3132 * math/libm-test.inc (struct test_fi_f_data): New type.
3133 (RUN_TEST_LOOP_fi_f): New macro.
3134 (ldexp_test_data): New variable.
3135 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3136 (scalbn_test_data): New variable.
3137 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3138
6a1992e2
JM
3139 * math/libm-test.inc (struct test_c_f_data): New type.
3140 (RUN_TEST_LOOP_c_f): New macro.
3141 (cabs_test_data): New variable.
3142 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3143 (carg_test_data): New variable.
3144 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3145 (cimag_test_data): New variable.
3146 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3147 (creal_test_data): New variable.
3148 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3149
0e400df5
JM
3150 * math/libm-test.inc (struct test_if_f_data): New type.
3151 (RUN_TEST_LOOP_if_f): New macro.
3152 (jn_test_data): New variable.
3153 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3154 (yn_test_data): New variable.
3155 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3156
6d33265c
JM
3157 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3158
f98ece5f
AZ
31592013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3160
3161 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3162 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3163
0f7d347b
SP
31642013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3165
43fe811b
SP
3166 * benchtests/Makefile (CPPFLAGS-nonlib): Add
3167 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3168 (bench-deps): Add bench-timing.h.
3169 * benchtests-bench-skeleton.c: Include bench-timing.h.
3170 (main): Use TIMING_* macros instead of clock_gettime.
3171 * benchtests/bench-timing.h: New file.
3172
0f7d347b
SP
3173 [BZ #14582]
3174 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3175 Renamed from _LIB_VERSION.
3176 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3177
601a3a5f
JM
31782013-05-12 Joseph Myers <joseph@codesourcery.com>
3179
4f184d30
JM
3180 * math/libm-test.inc (struct test_fff_f_data): New type.
3181 (RUN_TEST_LOOP_fff_f): New macro.
3182 (fma_test_data): New variable.
3183 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3184 (fma_towardzero_test_data): New variable.
3185 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3186 (fma_downward_test_data): New variable.
3187 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3188 (fma_upward_test_data): New variable.
3189 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3190
08198877
JM
3191 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3192 (struct test_c_c_data): New type.
3193 (RUN_TEST_LOOP_c_c): New macro.
3194 (cacos_test_data): New variable.
3195 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3196 (cacosh_test_data): New variable.
3197 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3198 (casin_test_data): New variable.
3199 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3200 (casinh_test_data): New variable.
3201 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3202 (catan_test_data): New variable.
3203 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3204 (catanh_test_data): New variable.
3205 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3206 (ccos_test_data): New variable.
3207 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3208 (ccosh_test_data): New variable.
3209 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3210 (cexp_test_data): New variable.
3211 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3212 (clog_test_data): New variable.
3213 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3214 (clog10_test_data): New variable.
3215 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3216 (conj_test_data): New variable.
3217 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3218 (cproj_test_data): New variable.
3219 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3220 (csin_test_data): New variable.
3221 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3222 (csinh_test_data): New variable.
3223 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3224 (csqrt_test_data): New variable.
3225 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3226 (ctan_test_data): New variable.
3227 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3228 (ctan_tonearest_test_data): New variable.
3229 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3230 (ctan_towardzero_test_data): New variable.
3231 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3232 (ctan_downward_test_data): New variable.
3233 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3234 (ctan_upward_test_data): New variable.
3235 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3236 (ctanh_test_data): New variable.
3237 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3238 (ctanh_tonearest_test_data): New variable.
3239 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3240 (ctanh_towardzero_test_data): New variable.
3241 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3242 (ctanh_downward_test_data): New variable.
3243 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3244 (ctanh_upward_test_data): New variable.
3245 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3246 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3247 of BUILD_COMPLEX.
3248
601a3a5f
JM
3249 * math/libm-test.inc (struct test_ff_f_data): New type.
3250 (struct test_ff_f_data_nexttoward): Likewise.
3251 (RUN_TEST_LOOP_2_f): New macro.
3252 (RUN_TEST_LOOP_ff_f): Likewise.
3253 (atan2_test_data): New variable.
3254 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3255 (copysign_test_data): New variable.
3256 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3257 (fdim_test_data): New variable.
3258 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3259 (fmax_test_data): New variable.
3260 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3261 (fmin_test_data): New variable.
3262 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3263 (fmod_test_data): New variable.
3264 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3265 (hypot_test_data): New variable.
3266 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3267 (nextafter_test_data): New variable.
3268 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3269 (nexttoward_test_data): New variable.
3270 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3271 (pow_test_data): New variable.
3272 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3273 (pow_tonearest_test_data): New variable.
3274 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3275 (pow_towardzero_test_data): New variable.
3276 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3277 (pow_downward_test_data): New variable.
3278 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3279 (pow_upward_test_data): New variable.
3280 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3281 (remainder_test_data): New variable.
3282 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3283 (scalb_test_data): New variable.
3284 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3285 * sysdeps/i386/fpu/libm-test-ulps: Update.
3286
74c57478
JM
32872013-05-11 Joseph Myers <joseph@codesourcery.com>
3288
8329e4da
JM
3289 * math/libm-test.inc (fma_test): Use max_value instead of local
3290 variable fltmax.
3291 (nextafter_test): Likewise.
3292
74c57478
JM
3293 * math/libm-test.inc (acos_towardzero_test_data): New variable.
3294 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3295 (acos_downward_test_data): New variable.
3296 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3297 (acos_upward_test_data): New variable.
3298 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3299 (acosh_test_data): New variable.
3300 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3301 (asin_test_data): New variable.
3302 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3303 (asin_tonearest_test_data): New variable.
3304 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3305 (asin_towardzero_test_data): New variable.
3306 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3307 (asin_downward_test_data): New variable.
3308 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3309 (asin_upward_test_data): New variable.
3310 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3311 (asinh_test_data): New variable.
3312 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3313 (atan_test_data): New variable.
3314 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3315 (atanh_test_data): New variable.
3316 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3317 (cbrt_test_data): New variable.
3318 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3319 (ceil_test_data): New variable.
3320 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3321 (cos_test_data): New variable.
3322 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3323 (cos_tonearest_test_data): New variable.
3324 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3325 (cos_towardzero_test_data): New variable.
3326 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3327 (cos_downward_test_data): New variable.
3328 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3329 (cos_upward_test_data): New variable.
3330 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3331 (cosh_test_data): New variable.
3332 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3333 (cosh_tonearest_test_data): New variable.
3334 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3335 (cosh_towardzero_test_data): New variable.
3336 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3337 (cosh_downward_test_data): New variable.
3338 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3339 (cosh_upward_test_data): New variable.
3340 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3341 (erf_test_data): New variable.
3342 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3343 (erfc_test_data): New variable.
3344 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3345 (exp_test_data): New variable.
3346 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3347 (exp_tonearest_test_data): New variable.
3348 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3349 (exp_towardzero_test_data): New variable.
3350 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3351 (exp_downward_test_data): New variable.
3352 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3353 (exp_upward_test_data): New variable.
3354 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3355 (exp10_test_data): New variable.
3356 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3357 (exp2_test_data): New variable.
3358 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3359 (expm1_test_data): New variable.
3360 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3361 (fabs_test_data): New variable.
3362 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3363 (floor_test_data): New variable.
3364 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3365 (j0_test_data): New variable.
3366 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3367 (j1_test_data): New variable.
3368 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3369 (log_test_data): New variable.
3370 (log_test): Run tests with RUN_TEST_LOOP_f_f.
3371 (log10_test_data): New variable.
3372 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3373 (log1p_test_data): New variable.
3374 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3375 (log2_test_data): New variable.
3376 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3377 (logb_test_data): New variable.
3378 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3379 (logb_downward_test_data): New variable.
3380 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3381 (nearbyint_test_data): New variable.
3382 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3383 (rint_test_data): New variable.
3384 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3385 (rint_tonearest_test_data): New variable.
3386 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3387 (rint_towardzero_test_data): New variable.
3388 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3389 (rint_downward_test_data): New variable.
3390 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3391 (rint_upward_test_data): New variable.
3392 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3393 (round_test_data): New variable.
3394 (round_test): Run tests with RUN_TEST_LOOP_f_f.
3395 (sin_test_data): New variable.
3396 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3397 (sin_tonearest_test_data): New variable.
3398 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3399 (sin_towardzero_test_data): New variable.
3400 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3401 (sin_downward_test_data): New variable.
3402 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3403 (sin_upward_test_data): New variable.
3404 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3405 (sinh_test_data): New variable.
3406 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3407 (sinh_tonearest_test_data): New variable.
3408 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3409 (sinh_towardzero_test_data): New variable.
3410 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3411 (sinh_downward_test_data): New variable.
3412 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3413 (sinh_upward_test_data): New variable.
3414 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3415 (sqrt_test_data): New variable.
3416 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3417 (tan_test_data): New variable.
3418 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3419 (tan_tonearest_test_data): New variable.
3420 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3421 (tan_towardzero_test_data): New variable.
3422 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3423 (tan_downward_test_data): New variable.
3424 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3425 (tan_upward_test_data): New variable.
3426 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3427 (tanh_test_data): New variable.
3428 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3429 (tgamma_test_data): New variable.
3430 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3431 (trunc_test_data): New variable.
3432 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3433 (y0_test_data): New variable.
3434 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3435 (y1_test_data): New variable.
3436 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3437 (significand_test_data): New variable.
3438 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3439
7187d844
CG
34402013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
3441
3442 [BZ #12387]
3443 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3444
f63fae73
PT
34452013-05-10 Pino Toscano <toscano.pino@tiscali.it>
3446
3447 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3448
8a67a4b3
AJ
34492013-05-10 Andreas Jaeger <aj@suse.de>
3450
3451 [BZ #15448]
3452 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3453 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3454
51df539d
JM
34552013-05-10 Joseph Myers <joseph@codesourcery.com>
3456
3457 * math/gen-libm-test.pl (adjust_arg): New function.
3458 (special_functions): Handle generating output in both functions
3459 and arrays.
3460 (parse_args): Likewise.
3461 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
3462 $in_func argument to parse_args.
3463 * math/libm-test.inc (struct test_f_f_data): New type.
3464 (IF_ROUND_INIT_): New macro.
3465 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3466 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3467 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3468 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3469 (ROUND_RESTORE_): Likewise.
3470 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3471 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3472 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3473 (ROUND_RESTORE_FE_UPWARD): Likewise.
3474 (RUN_TEST_LOOP_f_f): New macro.
3475 (acos_test_data): New variable.
3476 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3477 (acos_tonearest_test_data): New variable.
3478 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3479
5c637fe5
SP
34802013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3481
3482 * benchtests/bench-skeleton.c (startup): Fix coding style.
3483
ab2b9461
JM
34842013-05-10 Joseph Myers <joseph@codesourcery.com>
3485
3486 [BZ #6809]
3487 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3488 negative infinity argument.
3489 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3490 negative infinity argument.
3491 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3492 negative infinity argument.
3493 * math/libm-test.inc (tgamma_test): Expect errno to be set for
3494 domain errors.
3495
4c0fe6fe
FW
34962013-05-10 Florian Weimer <fweimer@redhat.com>
3497
3498 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3499 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3500 * iconv/iconv_prog.c (main): Likewise.
3501 * locale/programs/charmap-dir.c (charmap_readdir)
3502 (fopen_uncompressed): Likewise.
3503 * locale/programs/locfile.c (siblings_uncached)
3504 (write_locale_data): Use lstat64 instead of lstat.
3505 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3506 stat.
3507
a3375d29
AJ
35082013-05-10 Andreas Jaeger <aj@suse.de>
3509
3510 [BZ #15395]
3511 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3512 localization.
3513 Include <locale.h>.
3514
36129722
CD
35152013-05-09 Carlos O'Donell <carlos@redhat.com>
3516
3517 * elf/dl-close.c (_dl_close_worker): Add comments.
3518
faa7f811
JM
35192013-05-09 Joseph Myers <joseph@codesourcery.com>
3520
ed41ffef
JM
3521 [BZ #15359]
3522 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3523 high part of pi/2.
3524 (__ieee754_rem_pio2l): Update comments.
3525
d0213cd0
JM
3526 [BZ #15429]
3527 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3528 high part of pi/2.
3529 (__ieee754_rem_pio2l): Update comments.
3530
0d3e777a
JM
3531 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3532 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3533
24f56066
JM
3534 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3535 M_PI_4l.
3536
faa7f811
JM
3537 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3538 (M_PI_34_LOG10El): Likewise.
3539 (M_PI2_LOG10El): Likewise.
3540 (M_PI4_LOG10El): Likewise.
3541 (M_PI_LOG10El): Likewise.
3542
e9a5e0fd
AZ
35432013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3544
3545 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3546
d8cd06db
JM
35472013-05-08 Joseph Myers <joseph@codesourcery.com>
3548
a0d9f9d7
JM
3549 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3550 (MINUS_ZERO_INIT): Likewise.
3551 (PLUS_INFTY_INIT): Likewise.
3552 (MINUS_INFTY_INIT): Likewise.
3553 (QNAN_VALUE_INIT): Likewise.
3554 (MAX_VALUE_INIT): Likewise.
3555 (MIN_VALUE_INIT): Likewise.
3556 (MIN_SUBNORM_VALUE_INIT): Likewise.
3557 (plus_zero): Initialize with PLUS_ZERO_INIT.
3558 (minus_zero): Initialize with MINUS_ZERO_INIT.
3559 (plus_infty): Initialize with PLUS_INFTY_INIT.
3560 (minus_infty): Initialize with MINUS_INFTY_INIT.
3561 (qnan_value): Initialize with QNAN_VALUE_INIT.
3562 (max_value): Initialize with MAX_VALUE_INIT.
3563 (min_value): Initialize with MIN_VALUE_INIT.
3564 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3565
ae08db3b
JM
3566 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3567 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3568 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3569 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3570
f44bf14a
JM
3571 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3572 (RUN_TEST_2_f): Likewise.
3573 (RUN_TEST_ff_f): Likewise.
3574 (RUN_TEST_fi_f): Likewise.
3575 (RUN_TEST_fl_f): Likewise.
3576 (RUN_TEST_fff_f): Likewise.
3577 (RUN_TEST_c_f): Likewise.
3578 (RUN_TEST_f_f1): Likewise.
3579 (RUN_TEST_fF_f1): Likewise.
3580 (RUN_TEST_fI_f1): Likewise.
3581 (RUN_TEST_ffI_f1): Likewise.
3582 (RUN_TEST_c_c): Likewise.
3583 (RUN_TEST_cc_c): Likewise.
3584 (RUN_TEST_f_i): Likewise.
3585 (RUN_TEST_f_i_tg): Likewise.
3586 (RUN_TEST_ff_i_tg): Likewise.
3587 (RUN_TEST_f_b): Likewise.
3588 (RUN_TEST_f_b_tg): Likewise.
3589 (RUN_TEST_f_l): Likewise.
3590 (RUN_TEST_f_L): Likewise.
3591 (RUN_TEST_sincos): Likewise.
3592 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3593 whether to show exceptions. Do not include ");\n" in return
3594 value.
3595 (special_functions): Output call to RUN_TEST_sincos instead of
3596 check_float calls. Update calls to new_test.
3597 (parse_args): Output call to single RUN_TEST_* macro instead of
3598 check_* calls and other assignments. Update calls to new_test.
3599
d8cd06db
JM
3600 [BZ #2546]
3601 [BZ #2560]
3602 [BZ #5159]
3603 [BZ #15426]
3604 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3605 input to result for tgamma overflow.
3606 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3607 (gamma_coeff): New variable.
3608 (NCOEFF): New macro.
3609 (gamma_positive): New function.
3610 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3611 underflow here. Use gamma_positive instead of exp (lgamma) for
3612 other arguments.
3613 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3614 (gamma_coeff): New variable.
3615 (NCOEFF): New macro.
3616 (gammaf_positive): New function.
3617 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3618 underflow here. Use gamma_positive instead of exp (lgamma) for
3619 other arguments.
3620 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3621 (gamma_coeff): New variable.
3622 (NCOEFF): New macro.
3623 (gammal_positive): New function.
3624 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3625 underflow here. Use gamma_positive instead of exp (lgamma) for
3626 other arguments.
3627 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3628 (gamma_coeff): New variable.
3629 (NCOEFF): New macro.
3630 (gammal_positive): New function.
3631 (__ieee754_gammal_r): Handle positive infinity, overflow and
3632 underflow here. Handle NaN the same as positive infinity. Remove
3633 check x < 0xffffffff for negative integers. Use gamma_positive
3634 instead of exp (lgamma) for other arguments.
3635 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3636 (gamma_coeff): New variable.
3637 (NCOEFF): New macro.
3638 (gammal_positive): New function.
3639 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3640 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3641 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3642 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3643 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3644 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3645 * sysdeps/generic/math_private.h (__gamma_productf): New
3646 prototype.
3647 (__gamma_product): Likewise.
3648 (__gamma_productl): Likewise.
3649 * math/Makefile (libm-calls): Add gamma_product.
3650 * math/libm-test.inc (tgamma_test): Add more tests.
3651 * sysdeps/i386/fpu/libm-test-ulps: Update.
3652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3653
bb7cf681
OB
36542013-05-08 Ondřej Bílka <neleai@seznam.cz>
3655
3656 * benchtests/bench-skeleton.c (main): Preheat CPU.
3657
ba853947
AJ
36582013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3659
3660 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3661
8347c74c
RM
36622013-05-07 Roland McGrath <roland@hack.frob.com>
3663
3664 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3665 and _dl_skip_args_internal.
3666
e8dd4791
CD
36672013-05-07 Carlos O'Donell <carlos@redhat.com>
3668
3669 * manual/message.texi (Message Translation): Talk about users.
3670 Message to key mapping impacts design.
3671
c7405830
RM
36722013-05-06 Roland McGrath <roland@hack.frob.com>
3673
a9173057
RM
3674 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3675
976e2f03
RM
3676 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3677
9723ffc5
RM
3678 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3679 * sysdeps/wordsize-64/glob64.c: ... here.
3680
962e6658
RM
3681 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3682 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3683 New macros.
3684
ee586a6d
RM
3685 * debug/getlogin_r_chk.c: Moved to ...
3686 * login/getlogin_r_chk.c: ... here.
3687 * debug/Makefile (routines): Move getlogin_r_chk to ...
3688 * login/Makefile (routines): ... here.
3689 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3690 * login/Versions (libc: GLIBC_2.4): ... here.
3691
355f9165
RM
3692 * io/poll.c (__poll): Renamed from poll.
3693 Add libc_hidden_def.
3694 (poll): Define as weak alias.
3695
bd9ffde6
RM
3696 * debug/ptsname_r_chk.c: Moved to ...
3697 * login/ptsname_r_chk.c: ... here.
3698 * debug/Makefile (routines): Move ptsname_r_chk to ...
3699 * login/Makefile (routines): ... here.
3700 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3701 * login/Versions (libc: GLIBC_2.4): ... here.
3702
8fb16a04
RM
3703 * posix/getlogin.c: Moved to ...
3704 * login/getlogin.c: ... here.
3705 * posix/getlogin_r.c: Moved to ...
3706 * login/getlogin_r.c: ... here.
3707 * posix/getlogin_r.c: Moved to ...
3708 * login/getlogin_r.c: ... here.
3709 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3710 * login/Makefile (routines): ... here.
3711 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3712 * login/Versions (libc: GLIBC_2.0): ... here.
3713
b99b892f
RM
3714 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3715 (setrlimit): Define as weak alias.
3716
c7405830
RM
3717 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3718 Call __ names for open, ftruncate, and close.
3719 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3720 (truncate): Define as weak alias.
3721
5bf96de5
JM
37222013-05-06 Joseph Myers <joseph@codesourcery.com>
3723
9ea3513c
JM
3724 * math/gen-libm-test.pl (parse_args): Initialize x before each
3725 test of frexp, modf and remquo.
3726
5bf96de5
JM
3727 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3728 test signgam value.
3729
16e616a7
AZ
37302013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3731
3732 [BZ #15418]
3733 [BZ #15419]
3734 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3735 internal tests.
3736 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3737
d5e82754
RM
37382013-05-06 Roland McGrath <roland@hack.frob.com>
3739
3740 * elf/dl-writev.h: New file.
3741 * elf/dl-misc.c: Include it.
3742 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3743 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3744
a7548d41
JM
37452013-05-04 Joseph Myers <joseph@codesourcery.com>
3746
b7dab1e4
JM
3747 * math/libm-test.inc (noXFails): Remove variable.
3748 (noXPasses): Likewise.
3749 (BUILD_COMPLEX_INT): Remove macro.
3750 (print_screen): Remove xfail argument.
3751 (print_screen_max_error): Likewise.
3752 (update_stats): Likewise.
3753 (print_max_error): Likewise. Update calls to other affected
3754 functions.
3755 (print_complex_max_error): Likewise.
3756 (test_single_exception): Update calls to print_screen.
3757 (test_single_errno): Likewise.
3758 (check_float_internal): Remove xfail argument. Update calls to
3759 other affected functions.
3760 (check_float): Likewise.
3761 (check_complex): Likewise.
3762 (check_int): Likewise.
3763 (check_long): Likewise.
3764 (check_bool): Likewise.
3765 (check_longlong): Likewise.
3766 (main): Don't print noXFails and noXPasses.
3767 * math/gen-libm-test.pl (top level): Don't mention expected
3768 failure handling in comment.
3769 (new_test): Don't handle expected failures.
3770 (parse_args): Don't mention expected failure handling in comment.
3771 (generate_testfile): Don't handle expected failures.
3772 (parse_ulps): Likewise.
3773 (print_ulps_file): Likewise.
3774 (get_failure): Remove function.
3775 (output_test): Don't handle expected failures.
3776 * make/README.libm-test: Don't mention expected failure handling.
3777
a7548d41
JM
3778 * math/libm-test.inc (plus_zero): Make const. Add initializer.
3779 (minus_zero): Likewise.
3780 (plus_infty): Likewise.
3781 (minus_infty): Likewise.
3782 (qnan_value): Likewise.
3783 (max_value): Likewise.
3784 (min_value): Likewise.
3785 (min_subnorm_value): Likewise.
3786 (initialize): Do not initialize those variables dynamically.
3787
60bfd54c
RM
37882013-05-03 Roland McGrath <roland@hack.frob.com>
3789
cc0e6ed8
RM
3790 * io/open.c (__open_2): Moved to ...
3791 * io/open_2.c: ... this new file.
3792 * io/open64.c (__open64_2): Moved to ...
3793 * io/open64_2.c: ... this new file.
3794 * io/openat.c (__openat_2): Moved to ...
3795 * io/openat_2.c: ... this new file.
3796 * io/openat64.c (__openat64_2): Moved to ...
3797 * io/openat64_2.c: ... this new file.
3798 * io/Makefile (routines): Add them.
3799 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3800 * sysdeps/unix/sysv/linux/open_2.c: File removed.
3801 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3802 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3803 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3804 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3805 (__openat64): Add hidden_ver.
3806 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3807 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3808
60bfd54c
RM
3809 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3810 Separately conditionalize setting of GLRO(dl_sysinfo) so
3811 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3812 as well, but the actual setting is only under [NEED_DL_SYSINFO].
3813
83e7640f
AZ
38142013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3815
3816 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3817 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3818 definition.
3819 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3820 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3821 (_libc_vdso_platform_setup): Add __vdso_time initialization.
3822 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3823 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3824
d5dc2af3
JM
38252013-05-03 Joseph Myers <joseph@codesourcery.com>
3826
c31a5b1e
JM
3827 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3828 test signgam value.
3829
d5dc2af3
JM
3830 * math/libm-test.inc (hypot_test): Do not use
3831 IGNORE_ZERO_INF_SIGN.
3832
164fd39d
AJ
38332013-05-03 Andreas Jaeger <aj@suse.de>
3834
3835 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3836 Linux 3.9.
3837 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3838 (PF_MAX): Adjust for VSOCK change.
3839
8237f48c
AZ
38402013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3841
3842 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3843
9df02941
CD
38442013-05-02 Carlos O'Donell <carlos@redhat.com>
3845
3846 [BZ #15264]
3847 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3848 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3849 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3850
d422395e
DM
38512013-05-02 David S. Miller <davem@davemloft.net>
3852
3853 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3854
a07c5731
OB
38552013-05-01 Ondřej Bílka <neleai@seznam.cz>
3856
3857 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3858
1324e37f
RM
38592013-05-01 Roland McGrath <roland@hack.frob.com>
3860
3861 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3862
0695940b
RS
38632013-05-01 Richard Smith <richard@metafoo.co.uk>
3864
bb5f27ad 3865 [BZ #14952]
0695940b
RS
3866 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3867 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3868 Use __attribute__ ((__gnu_inline__)).
3869 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3870 Don't use __attribute__ ((__gnu_inline__)).
3871
10de07f5
JM
38722013-05-01 Joseph Myers <joseph@codesourcery.com>
3873
3874 [BZ #15423]
3875 * math/s_catan.c (__catan): Handle small real or imaginary part of
3876 input specially to avoid spurious underflow.
3877 * math/s_catanf.c (__catanf): Likewise.
3878 * math/s_catanh.c (__catanh): Likewise.
3879 * math/s_catanhf.c (__catanhf): Likewise.
3880 * math/s_catanhl.c (__catanhl): Likewise.
3881 * math/s_catanl.c (__catanl): Likewise.
3882 * math/libm-test.inc (catan_test): Add more tests.
3883 (catanh_test): Likewise.
3884 * sysdeps/i386/fpu/libm-test-ulps: Update.
3885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3886
cb4d5414
AZ
38872013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3888
3889 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3890
caf84319
JM
38912013-04-30 Joseph Myers <joseph@codesourcery.com>
3892
3893 [BZ #15416]
3894 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3895 accurately for denominator in atan2.
3896 * math/s_catanf.c (__catanf): Likewise.
3897 * math/s_catanh.c (__catanh): Likewise.
3898 * math/s_catanhf.c (__catanhf): Likewise.
3899 * math/s_catanhl.c (__catanhl): Likewise.
3900 * math/s_catanl.c (__catanl): Likewise.
3901 * math/libm-test.inc (catan_test): Add more tests.
3902 (catanh_test): Likewise.
3903 * sysdeps/i386/fpu/libm-test-ulps: Update.
3904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3905
d569c6ee
SP
39062013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3907
6dbe713d
SP
3908 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3909
f0ee064b
SP
3910 * benchtests/Makefile (bench): Remove slow benchmarks.
3911 * benchtests/atan-inputs: Add slow benchmark inputs.
3912 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3913 (BENCH_FUNC): Accept variant offset.
3914 (VARIANT): Define.
3915 * benchtests/bench-skeleton.c (main): Run benchmark for each
3916 variant.
3917 * benchtests/cos-inputs: Add slow benchmark inputs.
3918 * benchtests/exp-inputs: Likewise.
3919 * benchtests/pow-inputs: Likewise.
3920 * benchtests/sin-inputs: Likewise.
3921 * benchtests/slowatan-inputs: Remove.
3922 * benchtests/slowatan.c: Remove.
3923 * benchtests/slowcos-inputs: Remove.
3924 * benchtests/slowcos.c: Remove.
3925 * benchtests/slowexp-inputs: Remove.
3926 * benchtests/slowexp.c: Remove.
3927 * benchtests/slowpow-inputs: Remove.
3928 * benchtests/slowpow.c: Remove.
3929 * benchtests/slowsin-inputs: Remove.
3930 * benchtests/slowsin.c: Remove.
3931 * benchtests/slowtan-inputs: Remove.
3932 * benchtests/slowtan.c: Remove.
3933 * benchtests/tan-inputs: Add slow benchmark inputs.
3934 * scripts/bench.pl: Parse comments and directives.
3935
d569c6ee
SP
3936 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
3937 in CPPFLAGS.
3938 ($(objpfx)bench-%.c): Remove *-ITER.
3939 * benchtests/bench-modf.c: Remove definition of ITER.
3940 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3941 (main): Loop for DURATION seconds instead of fixed number of
3942 iterations.
3943 * scripts/bench.pl: Don't expect iterations in parameters.
3944
a6a242fe
RM
39452013-04-29 Roland McGrath <roland@hack.frob.com>
3946
3947 * io/fchdir.c (__fchdir): Renamed from fchdir.
3948 (fchdir): Define as weak alias.
3949
f2da7793
JM
39502013-04-29 Joseph Myers <joseph@codesourcery.com>
3951
3952 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3953 (ERRNO_EDOM): Likewise.
3954 (ERRNO_ERANGE): Likewise.
3955 (noErrnoTests): New variable.
3956 (init_max_error): Set errno to 0.
3957 (test_single_errno): New function.
3958 (test_errno): Likewise.
3959 (check_float_internal): Call test_errno. Set errno to 0.
3960 (check_complex): Refer to errno tests in comment.
3961 (check_int): Call test_errno. Set errno to 0.
3962 (check_long): Likewise.
3963 (check_bool): Likewise.
3964 (check_longlong): Likewise.
3965 (cos_test): Use ERRNO_* flags for errno tests instead of
3966 check_int.
3967 (expm1_test): Likewise.
3968 (fmod_test): Likewise.
3969 (ilogb_test): Likewise.
3970 (lgamma_test): Likewise.
3971 (pow_test): Likewise.
3972 (remainder_test): Likewise.
3973 (sin_test): Likewise.
3974 (tan_test): Likewise.
3975 (yn_test): Likewise.
3976 (initialize): Set errno to 0.
3977 (main): Print number of errno tests.
3978 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3979
b1a36ceb
AJ
39802013-04-29 Andreas Jaeger <aj@suse.de>
3981
c3ed8088
AJ
3982 [BZ #15084]
3983 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3984 and RES_USEVC.
3985
f1a24198
AJ
3986 [BZ #15085]
3987 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3988 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3989 unimplemented.
3990
9ce3b2cb
AJ
3991 [BZ #15380]
3992 * stdlib/random.c (__initstate): Return NULL if
3993 __initstate fails.
3994
f1a24198 3995 [BZ #15086]
b1a36ceb
AJ
3996 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3997 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3998 RES_SNGLKUPREOP.
3999
7e7b6f36
AZ
40002013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4001
4002 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4003
4d14f449
JM
40042013-04-29 Joseph Myers <joseph@codesourcery.com>
4005
4006 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4007 of individual tests.
4008 (casin_test): Likewise.
4009 (casinh_test): Likewise.
4010
5b4217d7
JM
40112013-04-27 Joseph Myers <joseph@codesourcery.com>
4012
4013 [BZ #15409]
4014 * math/s_catan.c (__catan): Handle arguments with large real or
4015 imaginary part separately without squaring.
4016 * math/s_catanf.c (__catanf): Likewise.
4017 * math/s_catanh.c (__catanh): Likewise.
4018 * math/s_catanhf.c (__catanhf): Likewise.
4019 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4020 and redefine.
4021 (__catanhl): Handle arguments with large real or imaginary part
4022 separately without squaring.
4023 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4024 and redefine.
4025 (__catanl): Handle arguments with large real or imaginary part
4026 separately without squaring.
4027 * math/libm-test.inc (catan_test): Add more tests.
4028 (catanh_test): Likewise.
4029 * sysdeps/i386/fpu/libm-test-ulps: Update.
4030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4031
4220c3ef
AJ
40322013-04-27 Andreas Jaeger <aj@suse.de>
4033
4034 [BZ #15007]
4035 * stdlib/stdlib.h: Update guards for qecvt.
4036 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4037 <stdlib.h>.
4038
4721b2d1
AM
40392013-04-27 Allan McRae <allan@archlinux.org>
4040
4041 * sysdeps/i386/fpu/libm-test-ulps: Update.
4042
f0302940
JM
40432013-04-26 Joseph Myers <joseph@codesourcery.com>
4044
9457fd95
JM
4045 [BZ #15406]
4046 * math/s_catan.c: Include <float.h>.
4047 (__catan): Ensure underflow exception occurs for underflowed
4048 result.
4049 * math/s_catanf.c: Include <float.h>.
4050 (__catanf): Ensure underflow exception occurs for underflowed
4051 result.
4052 * math/s_catanh.c: Include <float.h>.
4053 (__catanh): Ensure underflow exception occurs for underflowed
4054 result.
4055 * math/s_catanhf.c: Include <float.h>.
4056 (__catanhf): Ensure underflow exception occurs for underflowed
4057 result.
4058 * math/s_catanhl.c: Include <float.h>.
4059 (__catanhl): Ensure underflow exception occurs for underflowed
4060 result.
4061 * math/s_catanl.c: Include <float.h>.
4062 (__catanl): Ensure underflow exception occurs for underflowed
4063 result.
4064 * math/libm-test.inc (catan_test): Add more tests.
4065 (catanh_test): Likewise.
4066
f0302940
JM
4067 [BZ #15405]
4068 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4069 underflowed result.
4070 * math/s_ccoshf.c (__ccoshf): Likewise.
4071 * math/s_ccoshl.c (__ccoshl): Likewise.
4072 * math/s_csin.c (__csin): Likewise.
4073 * math/s_csinf.c (__csinf): Likewise.
4074 * math/s_csinh.c (__csinh): Likewise.
4075 * math/s_csinhf.c (__csinhf): Likewise.
4076 * math/s_csinhl.c (__csinhl): Likewise.
4077 * math/s_csinl.c (__csinl): Likewise.
4078 * math/libm-test.inc (ccos_test): Add more tests.
4079 (ccosh_test): Likewise.
4080 (csin_test): Likewise.
4081 (csinh_test): Likewise.
4082
aa630f59
AZ
40832013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4084
4085 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4086 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4087 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4088 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4089 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4090 powerpc/power5+/fpu folders.
4091 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4092
4093
1b835983
MT
40942013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4095
4096 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4097
73709b26
JM
40982013-04-25 Joseph Myers <joseph@codesourcery.com>
4099
4100 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4101 additions to variable.
4102 [$(config-machine) = x86_64] (modules-names): Likewise.
4103 ($(objpfx)tst-audit3): Remove dependency.
4104 ($(objpfx)tst-audit3.out): Likewise.
4105 ($(objpfx)tst-audit4): Likewise.
4106 ($(objpfx)tst-audit4.out): Likewise.
4107 ($(objpfx)tst-audit5): Likewise.
4108 ($(objpfx)tst-audit5.out): Likewise.
4109 ($(objpfx)tst-audit6): Likewise.
4110 ($(objpfx)tst-audit6.out): Likewise.
4111 ($(objpfx)tst-audit7): Likewise.
4112 ($(objpfx)tst-audit7.out): Likewise.
4113 (tst-audit3-ENV): Remove variable.
4114 (tst-audit4-ENV): Likewise.
4115 (tst-audit5-ENV): Likewise.
4116 (tst-audit6-ENV): Likewise.
4117 (tst-audit7-ENV): Likewise.
4118 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4119 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4120 addition to variable.
4121 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4122 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4123 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4124 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4125 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4126 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4127 tst-audit3, tst-audit4 and tst-audit5.
4128 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4129 tst-audit6 and tst-audit7.
4130 [$(subdir) = elf] (modules-names): Add audit modules for those
4131 tests.
4132 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4133 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4134 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4135 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4136 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4137 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4138 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4139 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4140 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4141 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4142 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4143 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4144 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4145 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4146 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4147 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4148 Likewise.
4149 [$(subdir) = elf && $(config-cflags-avx) = yes]
4150 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4151 [$(subdir) = elf && $(config-cflags-avx) = yes]
4152 (CFLAGS-tst-auditmod4a.c): Likewise.
4153 [$(subdir) = elf && $(config-cflags-avx) = yes]
4154 (CFLAGS-tst-auditmod4b.c): Likewise.
4155 [$(subdir) = elf && $(config-cflags-avx) = yes]
4156 (CFLAGS-tst-auditmod6b.c): Likewise.
4157 [$(subdir) = elf && $(config-cflags-avx) = yes]
4158 (CFLAGS-tst-auditmod6c.c): Likewise.
4159 [$(subdir) = elf && $(config-cflags-avx) = yes]
4160 (CFLAGS-tst-auditmod7b.c): Likewise.
4161 * elf/tst-audit3.c: Move to ...
4162 * sysdeps/x86_64/tst-audit3.c: ... here.
4163 * elf/tst-audit4.c: Move to ...
4164 * sysdeps/x86_64/tst-audit4.c: ... here.
4165 * elf/tst-audit5.c: Move to ...
4166 * sysdeps/x86_64/tst-audit5.c: ... here.
4167 * elf/tst-audit6.c: Move to ...
4168 * sysdeps/x86_64/tst-audit6.c: ... here.
4169 * elf/tst-audit7.c: Move to ...
4170 * sysdeps/x86_64/tst-audit7.c: ... here.
4171 * elf/tst-auditmod3a.c: Move to ...
4172 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4173 * elf/tst-auditmod3b.c: Move to ...
4174 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4175 * elf/tst-auditmod4a.c: Move to ...
4176 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4177 * elf/tst-auditmod4b.c: Move to ...
4178 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4179 * elf/tst-auditmod5a.c: Move to ...
4180 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4181 * elf/tst-auditmod5b.c: Move to ...
4182 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4183 * elf/tst-auditmod6a.c: Move to ...
4184 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4185 * elf/tst-auditmod6b.c: Move to ...
4186 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4187 * elf/tst-auditmod6c.c: Move to ...
4188 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4189 * elf/tst-auditmod7a.c: Move to ...
4190 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4191 * elf/tst-auditmod7b.c: Move to ...
4192 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4193
1ef74943
PP
41942013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4195
4196 [BZ #15366]
4197 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4198 define unconditionally.
4199 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4200 define unconditionally.
4201 (INT8_C, INT16_C, etc.): Likewise.
4202
93fd48c5
MR
42032013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
4204
ae9552cf
MR
4205 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4206 __ehdr_start with hidden visibility.
4207
93fd48c5
MR
4208 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4209
418601aa
CD
42102013-04-24 Carlos O'Donell <carlos@redhat.com>
4211
4212 * math/libm-test.inc (cos_test): Use accurate hex constants.
4213 (sincost_test): Likewise.
4214
2f38fbfe
JM
42152013-04-24 Joseph Myers <joseph@codesourcery.com>
4216
5e221800
JM
4217 * math/libm-test.inc (catan_test): Add more tests.
4218 (catanh_test): Likewise.
4219
77f143fd
JM
4220 * math/s_catanf.c (__catanf): Use suffixed floating-point
4221 constants.
4222 * math/s_catanhf.c (__catanhf): Likewise.
4223 * math/s_catanhl.c (__catanhl): Likewise.
4224 * math/s_catanl.c (__catanl): Likewise.
4225
2f38fbfe
JM
4226 [BZ #15394]
4227 * math/s_catan.c (__catan): Calculate imaginary part of result
4228 with log1p not log unless computing log of number close to 0.
4229 * math/s_catanf.c (__catanf): Likewise.
4230 * math/s_catanl.c (__catanl): Likewise.
4231 * math/s_catanh.c (__catanh): Calculate real part of result with
4232 log1p not log unless computing log of number close to 0.
4233 * math/s_catanhf.c (__catanhf): Likewise.
4234 * math/s_catanhl.c (__catanhl): Likewise.
4235 * math/libm-test.inc (catan_test): Add more tests.
4236 (catanh_test): Likewise.
4237 * sysdeps/i386/fpu/libm-test-ulps: Update.
4238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4239
45d69176
SP
42402013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4241
4242 * benchtests/Makefile: Mention files in which fast and slow
4243 paths of math functions are implemented.
4244
87f51853
RM
42452013-04-23 Roland McGrath <roland@hack.frob.com>
4246
4247 * sysdeps/posix/timespec_get.c: New file.
4248
3c026539
AZ
42492013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4250
4251 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4252 POWER.
4253 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4254 for POWER.
4255 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4256 powerpc/power5/fpu folders.
4257 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4258 * benchtests/Makefile: Add modf testcase.
4259 * benchtests/bench-modf.c: New file: Benchmark test for mo
4260
ff491d14
SP
42612013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4262
4263 [BZ #14888]
4264 * time/Makefile (tests): Add tst-strptime-whitespace.
4265 * time/strptime_l.c (get_number): Use ISSPACE.
4266 (__strptime_internal): Likewise.
4267 * time/tst-strptime-whitespace.c: New test case.
4268
7ed3f4e8
AS
42692013-04-23 Andreas Schwab <schwab@linux-m68k.org>
4270
4271 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4272 member.
4273 (_nss_files_init): Set it here.
4274
5c95f7b6
HC
42752013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
4276
4277 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4278 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4279 unsigned.
4280
d34c9158
JBG
42812013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
4282
4283 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4284
2169712d
SP
42852013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4286
4287 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4288 size just once.
4289
29c5de99
DM
42902013-04-21 David S. Miller <davem@davemloft.net>
4291
4292 * po/ru.po: Update Russion translation from translation project.
4293
ccdad15d
AC
42942013-04-17 Adam Conrad <adconrad@0c3.net>
4295
4296 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4297 and setfsgid.
4298
0f122b8d
CD
42992013-04-17 Carlos O'Donell <carlos@redhat.com>
4300
5c5b07da 4301 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 4302 * configure: Regenerate.
5c5b07da 4303 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
4304 Add example to error message.
4305 * sysdeps/i386/configure: Regenerate.
4306
037714dd
SP
43072013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4308
4309 * benchtests/Makefile (bench): Add cos, tan, slowcos and
4310 slowtan.
4311 * benchtests/cos-inputs: New file.
4312 * benchtests/slowcos-inputs: New file.
4313 * benchtests/slowcos.c: New file.
4314 * benchtests/slowtan-inputs: New file.
4315 * benchtests/slowtan.c: New file.
4316 * benchtests/tan-inputs: New file.
4317
e913141d
RM
43182013-04-16 Roland McGrath <roland@hack.frob.com>
4319
4320 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4321 considered kosher.
4322
a2964074
SP
43232013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4324
4856bcd2
SP
4325 * benchtests/Makefile: Include cppflags-iterator.mk to add
4326 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4327
a2964074
SP
4328 * Makefile.in (bench-clean): New target.
4329 * benchtests/Makefile (bench-clean): Likewise.
4330
9fbf9aca
DH
43312013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
4332
4333 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4334
207d1e2a
TS
43352013-04-15 Thomas Schwinge <thomas@codesourcery.com>
4336
4337 * stdio-common/tstdiomisc.c: Fix coding-style violation.
4338
306dfba9
AS
43392013-04-15 Andreas Schwab <schwab@suse.de>
4340
4341 * nscd/grpcache.c (cache_addgr): Properly check for short write.
4342 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4343 * nscd/pwdcache.c (cache_addpw): Likewise.
4344 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
4345 more than recsize.
4346
206a6699
SP
43472013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4348
4349 * benchtests/Makefile (bench): Write all output to
4350 bench-out.tmp together.
4351
0582f6b3
AS
43522013-04-15 Andreas Schwab <schwab@suse.de>
4353
4354 * nscd/nscd.c (main): Don't fork again after closing files.
4355
acb4325f
SP
43562013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4357
5cb26d0a
SP
4358 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4359
acb4325f
SP
4360 * benchtests/Rules (bench-deps): Collect dependencies into a
4361 single variable. Add Makefile to dependencies.
4362 ($(objpfx)bench-%.c): Depend on bench-deps.
4363
47792506
RM
43642013-04-12 Roland McGrath <roland@hack.frob.com>
4365 Xavier Roche <roche+kml2@exalead.com>
4366
4367 [BZ #15361]
4368 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4369 just that it's a file descriptor.
4370 * manual/llio.texi (Synchronizing AIO Operations): Update description
4371 for EBADF error from aio_fsync.
4372
8fc1bee5
SP
43732013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4374
4375 * Rules (bench): Move target definition...
4376 * benchtests/Makefile: ... here.
4377
aba5e333
CD
43782013-04-11 Carlos O'Donell <carlos@redhat.com>
4379
4380 * math/libm-test.inc (cos_test): Fix PI/2 test.
4381 (sincos_test): Likewise.
4382 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4383 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4384
273cdee8
AS
43852013-04-11 Andreas Schwab <schwab@suse.de>
4386
6ecec3b6
AS
4387 [BZ #13988]
4388 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4389 accept exponent character only when digits were seen.
4390 * stdio-common/Makefile (tests): Add bug26.
4391 * stdio-common/bug26.c: New file.
4392
273cdee8
AS
4393 [BZ #14293]
4394 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4395 non-freeable.
4396
8da491f5
SP
43972013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4398
01dc6df9
SP
4399 * Makeconfig (rtld-prefix): Define built linker prefix.
4400 * Rules (run-bench): Use it.
4401 * math/Makefile (run-regen-ulps): Likewise.
4402
8da491f5
SP
4403 * Rules (bench): Remove eval.
4404
abe7f530
SP
44052013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4406 Roland McGrath <roland@hack.frob.com>
4407 Ondrej Bilka <neleai@seznam.cz>
4408
4409 [BZ #15346]
4410 * time/getdate.c: Include ctype.h and alloca.h.
4411 (__getdate_r): Trim leading and trailing spaces of input.
4412 * time/tst-getdate.c (tests): Add tests with leading and
4413 trailing spaces.
4414
61c23e62
RM
44152013-04-08 Roland McGrath <roland@hack.frob.com>
4416
4417 [BZ #14280]
4418 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4419 when computing value.
4420
7208a313
CD
44212013-04-06 Carlos O'Donell <carlos@redhat.com>
4422
085b2d41
CD
4423 * math/README.libm-test (How can I generate "libm-test-ulps"?):
4424 Use testrun.sh to run libm tests.
4425
7208a313
CD
4426 [BZ #15309]
4427 * elf/dl-open.c (dl_open_worker): memset all of seen array.
4428
872c0acd
MM
44292013-04-06 Marko Myllynen <myllynen@redhat.com>
4430
4431 [BZ #15264]
4432 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4433
26510bdd
CD
44342013-04-06 Carlos O'Donell <carlos@redhat.com>
4435
4436 * Makefile.in (regen-ulps): New target.
4437 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4438 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4439 [ifneq (no,$(PERL)] (regen-ulps): New target.
4440 [ifeq (no,$(PERL)] (regen-ulps): New target.
4441 * math/libm-test.inc (ulps_file_name): Define.
4442 (output_dir): New variable.
4443 (options): Add "output-dir" option.
4444 (parse_opt): Handle 'o' case.
4445 (main): If output_dir is non-NULL use it as a prefix
4446 otherwise use "".
4447 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4448
a01f19c8
CD
44492013-04-06 Carlos O'Donell <carlos@redhat.com>
4450
4451 [BZ #10060, #10062]
4452 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4453 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4454 fail configure if __sync_val_compare_and_swap is not inlined.
4455 * sysdeps/i386/configure: Regenerate.
4456 * configure.in: Build for i686 when configured for i386.
4457 * configure: Regenerate.
4458 * README: Remove i386 reference.
4459
b7a329a5
CD
44602013-04-06 Carlos O'Donell <carlos@redhat.com>
4461
4462 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4463 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4464
bf0f50df
TS
44652013-04-05 Thomas Schwinge <thomas@codesourcery.com>
4466
ee091edf
TS
4467 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4468 (lmsnanval): New variables.
4469 (F): Add conversion tests.
4470 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4471 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4472
a8b792d6
TS
4473 * stdio-common/tstdiomisc.c (F): Properly collect individual
4474 tests' results.
4475
a1cbf437
TS
4476 [BZ #14686, #15336]
4477 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4478 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4479 Instead, use input NaN values or generate a qNaN by arithmetic
4480 operation. Also fix bugs to comply with the standard.
4481 * math/libm-test.inc (remainder_test): Add more tests.
4482
8b43a0c9
TS
4483 [BZ #15335, #15342]
4484 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4485 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4486 input NaN values or generate a qNaN by arithmetic operation.
4487
d91da4ce
TS
4488 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4489 unreachable code.
4490
bf0f50df
TS
4491 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4492 definitions.
4493
05e166c8
JM
44942013-04-03 Joseph Myers <joseph@codesourcery.com>
4495
4496 [BZ #14478]
4497 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4498 underflowed result.
4499 * math/s_cexpf.c (__cexpf): Likewise.
4500 * math/s_cexpl.c (__cexpl): Likewise.
4501 * math/libm-test.inc (cexp_test): Add more tests.
4502
1cef1b19
AS
45032013-04-03 Andreas Schwab <schwab@suse.de>
4504
4505 [BZ #15330]
4506 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4507 order arrays from heap if bigger than alloca cutoff.
4508
74d87055
TS
45092013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4510
4511 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4512 (SNAN_TESTS_double): Refer to GCC PR56831.
4513 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4514 GCC PR56828.
4515
d755bba4
SP
45162013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4517
90d5d5bb
SP
4518 * Rules (bench): Move bench.out after the run is complete.
4519
73e0cd5d
SP
4520 * Rules (bench): Echo currently running benchmark.
4521
64aabd4b
SP
4522 * benchtests/Makefile (bench): Add atan and slowatan.
4523 * benchtests/atan-inputs: New file.
4524 * benchtests/slowatan-inputs: New file.
4525 * benchtests/slowatan.c: New file.
4526
c871eccd
SP
4527 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4528 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4529 its value.
4530
d755bba4
SP
4531 [BZ #15305]
4532 * sysdeps/unix/sysv/linux/kernel-features.h
4533 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4534 __ASSUME_XFS_RESTRICTED_CHOWN.
4535 * sysdeps/unix/sysv/linux/pathconf.c
4536 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4537 Save and restore errno.
4538
52ce4860
JM
45392013-04-02 Joseph Myers <joseph@codesourcery.com>
4540
4541 [BZ #15327]
4542 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4543 arguments using __kernel_casinh.
4544 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4545 arguments using __kernel_casinhf.
4546 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4547 arguments using __kernel_casinhl.
4548 * math/libm-test.inc (cacosh_test): Add more tests.
4549 * sysdeps/i386/fpu/libm-test-ulps: Update.
4550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4551
81f311c2
SP
45522013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4553
e7906a47
SP
4554 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4555 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4556
92e3664b
SP
4557 * bench/Makefile (bench): Add sin and slowsin.
4558 * benchtests/sin-inputs: New file.
4559 * benchtests/slowsin-inputs: New file.
4560 * benchtests/slowsin.c: New file.
4561
81f311c2
SP
4562 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4563 (bench): Add slowexp and slowpow.
4564 (exp-ITER): Increase iterations.
4565 (pow-ITER): Likewise.
4566 * benchtests/exp-inputs: Change input.
4567 * benchtests/pow-inputs: Likewise.
4568 * benchtests/slowexp-inputs: New file.
4569 * benchtests/slowexp.c: New file.
4570 * benchtests/slowpow-inputs: New file.
4571 * benchtests/slowpow.c: New file.
4572
ab0f1aa9
AZ
45732013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4574
4575 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4576 instructions.
4577 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4578 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4579 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4580 * benchtests/Makefile: Add rint benchtest.
4581 * benchtests/rint-inputs: Input for rint benchtest.
4582
57267616
TS
45832013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4584
4585 * Versions.def (libm): Add GLIBC_2.18.
4586 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4587 hidden libm prototypes.
4588 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4589 * math/Makefile (libm-calls): Add s_issignaling.
4590 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4591 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4592 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4593 declaration.
4594 * math/math.h [__USE_GNU] (issignaling): New macro.
4595 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4596 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4597 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4598 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4599 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4600 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4601 * manual/arith.texi (issignaling): New section.
4602 * manual/libm-err-tab.pl (@all_functions): Update comment.
4603 * math/gen-libm-test.pl (parse_args): Apply special handling for
4604 issignaling.
4605 * math/libm-test.inc (print_float, issignaling_test): New
4606 functions.
4607 (check_float_internal): Add issignaling checks.
4608 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4609 default definition.
4610 * sysdeps/powerpc/math-tests.h: New file.
4611 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4612 tests.
4613 * math/test-snan.c (TEST_FUNC): Likewise.
4614
6142896d
DM
46152013-03-30 David S. Miller <davem@davemloft.net>
4616
4617 * po/de.po: Update from translation team.
4618
ccc8cadf
JM
46192013-03-30 Joseph Myers <joseph@codesourcery.com>
4620
4621 [BZ #10357]
4622 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4623 imaginary part less than 1.0 and real part less than 0.5
4624 specially.
4625 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4626 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4627 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4628 (cacos_test): Add more tests.
4629 (casin_test): Likewise.
4630 (casinh_test): Likewise.
4631 * sysdeps/i386/fpu/libm-test-ulps: Update.
4632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4633
0f6a8d4b
SP
46342013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4635
0d1029de
SP
4636 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4637 ONE with its value.
4638
c2d94018
SP
4639 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4640 (__pow_mp): Replace ONE and MONE with their values.
4641 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4642 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4643 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4644 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4645 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4646 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4647
27ec37f1
SP
4648 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4649
a64d7e0e
SP
4650 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4651 (__pow_mp): Replace ZERO and MZERO with their values.
4652 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4653 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4654 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4655 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4656 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4657 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4658 (__sqr): Likewise.
4659
d26dd3eb
SP
4660 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4661
0f6a8d4b
SP
4662 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4663
e57b0c61
RM
46642013-03-28 Roland McGrath <roland@hack.frob.com>
4665
4666 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4667 Declare with __attribute__ ((weak)).
4668 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4669 Call __call_tls_dtors only if it's not NULL.
4670
356b3480
RM
46712013-03-28 Roland McGrath <roland@hack.frob.com>
4672
288f7d79
RM
4673 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4674 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4675 magic __ehdr_start linker symbol if it's defined.
4676 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4677 them up here if it was already done.
4678
dc0a0263
RM
4679 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4680 (_dl_aux_init): Use const in cast when setting it.
4681 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4682 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4683 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4684
3d3436ae
RM
4685 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4686 Declare them here.
4687 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4688 * csu/libc-tls.c: Nor here.
4689 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4690
356b3480
RM
4691 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4692 (__libc_message): Never call vsyslog.
4693
b0f1246a
AM
46942013-03-28 Alan Modra <amodra@gmail.com>
4695
4696 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4697 Define as empty.
4698 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4699 Likewise.
4700
fbbe2b9a
AZ
47012013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4702
4703 [BZ #15214]
4704 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4705 underflow.
4706 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4707
1728ab37
SP
47082013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4709
7a86be6e
SP
4710 [BZ #15304]
4711 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4712 Don't add gid passed as argument.
4713
1728ab37
SP
4714 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4715
3a7182a1
JM
47162013-03-27 Joseph Myers <joseph@codesourcery.com>
4717
4718 [BZ #15307]
4719 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4720 imaginary part between 1.0 and 1.5 and real part less than 0.5
4721 specially.
4722 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4723 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4724 * math/libm-test.inc (cacos_test): Add more tests.
4725 (casin_test): Likewise.
4726 (casinh_test): Likewise.
4727 * sysdeps/i386/fpu/libm-test-ulps: Update.
4728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4729
6f2e90e7
SP
47302013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4731
5739f705
SP
4732 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4733 constants.
4734 (norm): Likewise.
4735 (denorm): Likewise.
4736 (__dbl_mp): Likewise.
4737 (add_magnitudes): Likewise.
4738 (sub_magnitudes): Likewise.
4739 (__add): Likewise.
4740 (__sub): Likewise.
4741 (__mul): Likewise.
4742 (__sqr): Likewise.
4743 (__inv): Likewise.
4744 (__dvd): Likewise.
4745
e375e83d
SP
4746 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4747 commented code.
4748 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4749 (__dubcos): Likewise.
4750 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4751 (__ieee754_acos): Likewise.
4752 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4753 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4754 (__exp1): Likewise.
4755 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4756 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4757 (log1): Likewise.
4758 (my_log2): Likewise.
4759 (checkint): Likewise.
4760 * sysdeps/ieee754/dbl-64/e_remainder.c
4761 (__ieee754_remainder): Likewise.
4762 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4763 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4764 (bsloww): Likewise.
4765 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4766
6f2e90e7
SP
4767 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4768 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4769 MANTISSA_STORE_T to store computations on mantissa. Use
4770 macros for rounding and division.
4771 (denorm): Likewise.
4772 (__dbl_mp): Likewise.
4773 (add_magnitudes): Likewise.
4774 (sub_magnitudes): Likewise.
4775 (__mul): Likewise.
4776 (__sqr): Likewise.
4777 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4778 powers of two in terms of TWOPOW macro.
4779 (mp_no): Make type of mantissa as MANTISSA_T.
4780 [!RADIXI]: Define RADIXI.
4781 [!TWO52]: Define TWO52.
4782 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4783
fce14d4e
AZ
47842013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4785
4786 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4787 llroundl symbol when building for PPC32.
4788
9ad027fb
MW
47892013-03-24 Mark H Weaver <mhw@netris.org>
4790
4791 * manual/arith.texi (Normalization Functions): Fix prototypes for
4792 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4793
e42a38dd
AZ
47942013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4795
4796 [BZ #13889]
4797 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4798 high value to check if expl overflow.
4799 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4800 to check for underflow and overflow.
4801 * math/libm-test.inc: Add exp test.
4802
2e0fb521
DL
48032013-03-21 Dmitry V. Levin <ldv@altlinux.org>
4804
4805 [BZ #11120]
4806 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4807 with NOT_IN_libc.
4808
b5784d95
AZ
48092013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4810
4811 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4812 symbol.
4813
5aa4a1a1
TS
48142013-03-21 Thomas Schwinge <thomas@codesourcery.com>
4815
bdef0be7
TS
4816 * math/gen-libm-test.pl (parse_args, special_functions): Properly
4817 wrap blocks consisting of several statements.
4818
5aa4a1a1
TS
4819 * sysdeps/generic/math-tests.h: New file.
4820 * sysdeps/i386/fpu/math-tests.h: Likewise.
4821 * math/test-snan.c: Include it.
4822 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4823
98c48fe5
JM
48242013-03-21 Joseph Myers <joseph@codesourcery.com>
4825
4826 [BZ #15285]
4827 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4828 (__ieee754_j0l): Do not improve calculations using cos of twice
4829 input for inputs above LDBL_MAX / 2.0L.
4830 (__ieee754_y0l): Likewise.
4831 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4832 (__ieee754_j1l): Do not improve calculations using cos of twice
4833 input for inputs above LDBL_MAX / 2.0L.
4834 (__ieee754_y1l): Likewise.
4835 * math/libm-test.inc (j0_test): Add another test.
4836 (j1_test): Likewise.
4837 (y0_test): Likewise.
4838 (y1_test): Likewise.
4839 * sysdeps/i386/fpu/libm-test-ulps: Update.
4840
3775a8bc
SP
48412013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4842
4843 * Rules ($(objpfx)bench-%.c): Include code from a C source
4844 file.
4845
0a1b2ae6
JM
48462013-03-21 Joseph Myers <joseph@codesourcery.com>
4847
4848 [BZ #15287]
4849 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4850 imaginary part 1.0 and real part less than 0.5 specially.
4851 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4852 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4853 * math/libm-test.inc (cacos_test): Add more tests.
4854 (casin_test): Likewise.
4855 (casinh_test): Likewise.
4856 * sysdeps/i386/fpu/libm-test-ulps: Update.
4857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4858
b33d4ce4
SP
48592013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4860
4861 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4862 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4863
bef0b507
JM
48642013-03-20 Joseph Myers <joseph@codesourcery.com>
4865
4866 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4867 * config.make.in (config-cflags-sse4): Remove variable.
4868 (config-cflags-avx): Likewise.
4869 (config-cflags-sse2avx): Likewise.
4870 (config-cflags-novzeroupper): Likewise.
4871 (config-asflags-i686): Likewise.
4872 (have-mfma4): Likewise.
4873 (have-as-vis3): Likewise.
4874 (MIG): Likewise.
4875 * configure.in (MIG): Do not AC_SUBST.
4876 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4877 (libc_cv_cc_sse4): Do not AC_SUBST.
4878 (libc_cv_cc_avx): Likewise.
4879 (libc_cv_cc_sse2avx): Likewise.
4880 (libc_cv_cc_novzeroupper): Likewise.
4881 (libc_cv_cc_fma4): Likewise.
4882 (libc_cv_as_i686): Likewise.
4883 (libc_cv_sparc_as_vis3): Likewise.
4884 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4885 LIBC_CONFIG_VAR.
4886 (config-asflags-i686): Likewise.
4887 (config-cflags-avx): Likewise.
4888 (config-cflags-sse2avx): Likewise.
4889 (have-mfma4): Likewise.
4890 (config-cflags-novzeroupper): Likewise.
4891 * sysdeps/mach/configure.in (MIG): Likewise.
4892 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4893 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4894 LIBC_CONFIG_VAR.
4895 (config-cflags-avx): Likewise.
4896 (config-cflags-sse2avx): Likewise.
4897 (have-mfma4): Likewise.
4898 (config-cflags-novzeroupper): Likewise.
4899 * configure: Regenerated.
4900 * sysdeps/i386/configure: Likewise.
4901 * sysdeps/mach/configure: Likewise.
4902 * sysdeps/sparc/configure: Likewise.
4903 * sysdeps/x86_64/configure: Likewise.
4904
912cc4b3
RM
49052013-03-20 Roland McGrath <roland@hack.frob.com>
4906
4907 [BZ #14812]
4908 * locale/programs/localedef.c (options): Put N_ translation marker
4909 on argument names, not just descriptions.
4910
04eed2b0
MS
49112013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4912
4913 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4914
a065ceff
OB
49152013-03-20 Ondřej Bílka <neleai@seznam.cz>
4916
9bb2a810 4917 [BZ #14176]
a065ceff
OB
4918 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4919
a600e5ce
RM
49202013-03-19 Roland McGrath <roland@hack.frob.com>
4921
4922 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4923 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4924 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4925 [!BEFORE_ABORT] (before_abort): New function.
4926 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4927 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4928 (writev_for_fatal): New function.
4929 (WRITEV_FOR_FATAL): New macro; call that.
4930 (backtrace_and_maps): New function.
4931 (BEFORE_ABORT): New macro; call that.
4932 (struct str_list): Type removed.
4933 (__libc_message, __libc_fatal): Functions removed.
4934 Include <sysdeps/posix/libc_fatal.c> instead.
4935
6b18bea6
JM
49362013-03-19 Joseph Myers <joseph@codesourcery.com>
4937
4938 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4939 constants.
4940 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4941 double constants.
4942
aaa8cb4b
AS
49432013-03-19 Andreas Schwab <schwab@suse.de>
4944
44673770
AS
4945 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4946 * sysdeps/gnu/configure: Regenerate.
4947
aaa8cb4b
AS
4948 * configure.in: Substitute libc_cv_rtlddir.
4949 * configure: Regenerate.
4950 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4951 * Makeconfig (rtlddir, inst_rtlddir): New variables.
4952 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4953 * elf/Makefile (install-others, CFLAGS-interp.c)
4954 (ldso_install, common-ldd-rewrite): Likewise.
4955 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4956 $(inst_slibdir)/$(rtld-installed-name).
4957 * scripts/rellns-sh: Add -p option.
4958 * Makerules (make-shlib-link): Use rellns-sh to get relative name
4959 for source.
4960
d3cfc668
SP
49612013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4962
4963 * manual/nptl.texi: Renamed to ...
4964 * manual/threads.texi: ... this.
4965 * manual/Makefile (chapters): Update.
4966
0e2b9cdd
RM
49672013-03-18 Roland McGrath <roland@hack.frob.com>
4968
4969 [BZ #14812]
4970 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4971 on argument names, not just descriptions.
0e2b9cdd
RM
4972 * malloc/memusagestat.c (options): Likewise.
4973 * nss/getent.c (options): Likewise.
63270c24
RM
4974
49752013-03-18 Benno Schulenberg <bensberg@justemail.net>
4976
4977 [BZ #14812]
4978 * iconv/iconv_prog.c (options): Put N_ translation marker
4979 on argument names, not just descriptions.
4980 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 4981
b2e1393c
OB
49822013-03-18 Ondrej Bilka <neleai@seznam.cz>
4983
4984 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4985 implementation which is faster on all x86_64 architectures.
4986 Tested on AMD, Intel Nehalem, SNB, IVB.
4987 * sysdeps/x86_64/strnlen.S: Likewise.
4988
4989 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4990 Remove all multiarch strlen and strnlen versions.
4991 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4992 Remove strlen and strnlen related parts.
4993
4994 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4995 Inline strlen part.
4996 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4997
4998 * sysdeps/x86_64/multiarch/strlen.S: Remove.
4999 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5000 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5001 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5002 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5003 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5004
ec4ff04d
CD
50052013-03-17 Carlos O'Donell <carlos@redhat.com>
5006
5007 * manual/memory.texi (Malloc Tunable Parameters):
5008 Sort parameters alphabetically. Add comments for missing entries.
5009
cd18e90a
DM
50102013-03-17 David S. Miller <davem@davemloft.net>
5011
5012 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5013
2a185d32
JM
50142013-03-16 Joseph Myers <joseph@codesourcery.com>
5015
d2f9799e
JM
5016 [BZ #15283]
5017 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5018 for arguments at most half maximum finite value.
5019 * math/libm-test.inc (j0_test): Add more tests.
5020 (j1_test): Likewise.
5021 (y0_test): Likewise.
5022 (y1_test): Likewise.
5023 * sysdeps/i386/fpu/libm-test-ulps: Update.
5024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5025
2a185d32
JM
5026 [BZ #14155]
5027 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5028 1 / x and functions P and Q for arguments above 0x1p256L.
5029 (__ieee754_y0l): Likewise.
5030 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5031 (__ieee754_y1l): Likewise.
5032 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5033 (j1_test): Likewise.
5034 (y0_test): Likewise.
5035 (y1_test): Likewise.
5036
6cbec759
TS
50372013-03-16 Thomas Schwinge <thomas@codesourcery.com>
5038
5039 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5040 variable.
5041
bc16e260
RM
50422013-03-15 Roland McGrath <roland@hack.frob.com>
5043
aefc9b8c
RM
5044 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5045 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5046 zero since it's initialized to EXEC_PAGESIZE.
5047
bc16e260
RM
5048 * sysdeps/unix/sysv/linux/ldsodefs.h
5049 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5050 * sysdeps/generic/ldsodefs.h: ... here.
5051
a57da955
TS
50522013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5053
af00a34d
TS
5054 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5055
495ded2c
TS
5056 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5057 math/test-snan.c.
5058 * math/test-snan.c: Renamed from
5059 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5060 * math/Makefile (tests): Add test-snan.
5061 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5062 test-powerpc-snan.
5063
777b0332
TS
5064 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5065 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5066 functions.
5067 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5068 __builtin_nan family of functions.
5069 * math/libm-test.inc (initialize): Initialize qnan_value with
5070 __builtin_nan family of functions.
5071 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5072 Remove variables.
5073 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5074 Remove functions.
5075 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5076 storage class. Initialize qNaN_var and sNaN_var with
5077 __builtin_nan and __builtin_nans families of functions,
5078 respectively.
5079
64d063b8
TS
5080 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5081 (sqrt_test): Remove duplicate test with qNaN input.
5082 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5083 (round_test, signbit_test, significand_test): Note missing +/-Inf
5084 as well as qNaN tests.
5085
67e971f1
TS
5086 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5087 qNaN_var. Fix a few strings, too.
5088 * math/libm-test.inc (nan_value): Rename to qnan_value.
5089 * math/gen-libm-test.pl (%beautify): Adjust to that.
5090 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5091 * math/test-misc.c (main): Likewise.
5092 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5093 to __qnan_bytes, and __qnan_union, respectively.
5094 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5095 Likewise.
5096 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5097 and lqnanval, respectively.
5098 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5099 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5100 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5101 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5102
64487e12
TS
5103 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5104 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5105 doubles.
5106
e015e27b
TS
5107 * math/test-misc.c (main): Fix copy'n'pastos.
5108 * misc/tst-efgcvt.c (special): Likewise.
5109
a57da955
TS
5110 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5111 Remove declarations.
5112
1e380345
SP
51132013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5114
5115 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5116 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5117 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5118 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5119
ef26eece
AZ
51202013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5121
5122 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5123 macro to return vdso values correctly in IFUNC implementations.
5124 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5125 Optimization by using IFUNC.
5126
8cfdb7e0
SP
51272013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5128 Richard Henderson <rth@redhat.com>
5129 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5130
5131 * Makefile.in (bench): New target.
5132 * NEWS: Mention the benchmark framework.
5133 * Rules (bench): Likewise.
5134 (binaries-bench): Generate binaries for functions to
5135 benchmark.
5136 * benchtests/Makefile: New makefile for benchmark tests.
5137 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5138 programs.
5139 * benchtests/exp-inputs: New input file for EXP function.
5140 * benchtests/pow-inputs: New input file for POW function.
5141 * scripts/bench.pl: New script to generate source files for
5142 benchmark programs.
5143
bcda9880
SP
51442013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5145
d22ca8cd
SP
5146 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5147 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5148 computations on mantissa. Use macros for rounding and
5149 division.
5150 (denorm): Likewise.
5151 (__dbl_mp): Likewise.
5152 (add_magnitudes): Likewise.
5153 (sub_magnitudes): Likewise.
5154 (__mul): Likewise.
5155 (__sqr): Likewise.
5156 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5157 powers of two in terms of TWOPOW macro.
5158 (mp_no): Make type of mantissa as MANTISSA_T.
5159 [!RADIXI]: Define RADIXI.
5160 [!TWO52]: Define TWO52.
5161 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5162
bcda9880
SP
5163 * manual/nptl.texi (cindex): Modify threads to pthreads.
5164
06d5adfb
JM
51652013-03-15 Joseph Myers <joseph@codesourcery.com>
5166
5167 * sysdeps/x86_64/preconfigure: Regenerated.
5168
41c7328e
JM
51692013-03-14 Joseph Myers <joseph@codesourcery.com>
5170
5171 [BZ #14155]
5172 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5173 0x1p28 and above.
5174 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5175 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5176 0x1p28 and above.
5177 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5178 * math/libm-test.inc (j0_test): Do not allow one spurious
5179 underflow exception.
5180 (y1_test): Likewise.
5181
e25cfa60
SP
51822013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5183
0409959c
SP
5184 * manual/Makefile (chapters): Add nptl.
5185 * manual/debug.texi (Debugging Support): Add link to Threads
5186 chapter.
5187 * manual/nptl.texi: New file.
5188
e25cfa60
SP
5189 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5190
58a1335e
PB
51912013-03-14 Petr Baudis <pasky@ucw.cz>
5192
5193 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5194 for non-NULL pointer before the memory validity test. Pointed
5195 out by Holger Brunck <holger.brunck@keymile.com>.
5196
9dc7c64f
AS
51972013-03-13 Andreas Schwab <schwab@suse.de>
5198
5199 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5200 instead of .os.
5201
54206aa6
JM
52022013-03-13 Joseph Myers <joseph@codesourcery.com>
5203
5204 * timezone/zic.c: Update from tzcode 2013b.
5205
e98cdb38
CD
52062013-03-12 Carlos O'Donell <carlos@redhat.com>
5207
5208 * manual/install.texi (Configuring and compiling):
5209 Mention i686 and i586.
5210 * INSTALL: Regenerate.
5211
9967e003
RM
52122013-03-12 Roland McGrath <roland@hack.frob.com>
5213
5214 * sysdeps/init_array/elf-init.c: New file.
5215 * csu/elf-init.c
5216 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5217 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5218
5219 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5220 __gmon_start__ as global, but as static with a .preinit_array pointer.
5221 * sysdeps/init_array/gmon-start.c: New file. Use that.
5222 * sysdeps/init_array/crti.S: New file, empty except for comments.
5223 * sysdeps/init_array/crtn.S: Likewise.
5224
e6b5a293 52252013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
5226
5227 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5228 definining bcopy.
80f844c9
OB
5229 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5230 Remove Prefer_SSE_for_memop.
5231 * sysdeps/x86_64/multiarch/init-arch.h: Remove
5232 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5233 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
5234 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5235 memset-x86-64.
80f844c9 5236 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 5237 Remove bzero, memset ifunc support.
80f844c9
OB
5238 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5239 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5240 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5241 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5242
fb6b0fcb
AS
52432013-03-11 Andreas Schwab <schwab@suse.de>
5244
5245 [BZ #15234]
5246 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5247 by SHLIB_COMPAT.
5248 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5249 (GLIBC_2.16): Remove pthread_atfork.
5250
3e6bd4b1
PP
52512013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5252
5253 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5254 (ptestcases.h): Likewise.
5255
222d7f00
RM
52562013-03-08 Roland McGrath <roland@hack.frob.com>
5257
5258 * Makeconfig ($(common-objpfx)config.status): Depend on
5259 sysdeps/*/preconfigure{,.in} too.
5260
1ba4f030
JM
52612013-03-08 Joseph Myers <joseph@codesourcery.com>
5262
a222d91a
JM
5263 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5264 (__free_hook): Use void * instead of __malloc_ptr_t.
5265 (__malloc_hook): Likewise.
5266 (__realloc_hook): Likewise.
5267 (__memalign_hook): Likewise.
5268 (__after_morecore_hook): Likewise.
5269 * malloc/arena.c (save_malloc_hook): Likewise.
5270 (save_free_hook): Likewise.
5271 * malloc/hooks.c (malloc_hook_ini): Likewise.
5272 (realloc_hook_ini): Likewise.
5273 (memalign_hook_ini): Likewise.
5274 * malloc/malloc.c (malloc_hook_ini): Likewise.
5275 (realloc_hook_ini): Likewise.
5276 (memalign_hook_ini): Likewise.
5277 (__free_hook): Likewise.
5278 (__malloc_hook): Likewise.
5279 (__realloc_hook): Likewise.
5280 (__memalign_hook): Likewise.
5281 (__libc_malloc): Likewise.
5282 (__libc_free): Likewise.
5283 (__libc_realloc): Likewise.
5284 (__libc_memalign): Likewise.
5285 (__libc_valloc): Likewise.
5286 (__libc_pvalloc): Likewise.
5287 (__libc_calloc): Likewise.
5288 (__posix_memalign): Likewise.
5289 * malloc/morecore.c (__sbrk): Likewise.
5290 (__default_morecore): Likewise.
5291
5cc45e10
JM
5292 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5293
dd54b864
JM
5294 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5295 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5296 __malloc_ptrdiff_t.
5297
1ba4f030
JM
5298 * malloc/malloc.h (__malloc_size_t): Remove macro.
5299 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5300 __malloc_size_t.
5301 (old_memalign_hook): Likewise.
5302 (old_realloc_hook): Likewise.
5303 (struct hdr): Likewise.
5304 (flood): Likewise.
5305 (mallochook): Likewise.
5306 (memalignhook): Likewise.
5307 (reallochook): Likewise.
5308 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5309 (tr_old_realloc_hook): Likewise.
5310 (tr_old_memalign_hook): Likewise.
5311 (tr_mallochook): Likewise.
5312 (tr_reallochook): Likewise.
5313 (tr_memalignhook): Likewise.
5314
edf66e57
AZ
53152013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5316
5317 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5318 default_ldbl_pack and using as default implementation.
5319 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5320 implementation.
5321 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5322 redundant definition.
5323 (ldbl_insert_mantissa): Likewise.
5324 (ldbl_canonicalize): Likewise.
5325 (ldbl_nearbyint): Likewise.
5326 (ldbl_pack): Rename to ldbl_pack_ppc.
5327 (ldbl_unpack): Rename to ldbl_unpack_ppc.
5328 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5329 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5330
6d9145d8
SP
53312013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5332
5333 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5334 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5335 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5336 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5337 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5338 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5339 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5340 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5341
4dd4e157
AJ
53422013-03-07 Andreas Jaeger <aj@suse.de>
5343
5344 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5345 bits/mman-linux.h.
5346
adbb8027
SP
53472013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5348
ce544b5b
SP
5349 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5350 Include mpa.h and declare __MPEXP.
5351 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5352 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5353 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5354 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5355 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5356 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5357 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5358
4cc149fd
SP
5359 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5360 (__slowpow): Use long double EXPL and LOGL functions to
5361 compute POW.
5362 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5363 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5364 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5365 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5366 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5367 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5368
e6ebd4a7
SP
5369 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5370 intermediate variable to calculate exponent.
5371 (__sqr): Likewise.
5372 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5373 Likewise.
5374 (__sqr): Likewise.
5375
82a9811d
SP
5376 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5377 [!NO__SQR]: Define __sqr.
5378 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5379 and NO__SQR. Remove all code except __mul and __sqr. Include
5380 sysdeps/ieee754/dbl-64/mpa.c.
5381 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5382
adbb8027
SP
5383 [BZ #12723]
5384 * posix/Makefile (tests): Add tst-pathconf.
5385 * posix/tst-pathconf.c: New test case.
5386 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5387 _PC_PIPE_BUF.
5388 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5389
39120df9
PF
53902013-03-06 Patsy Franklin <pfrankli@redhat.com>
5391
5392 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5393
67525cb8
AJ
53942013-03-06 Andreas Jaeger <aj@suse.de>
5395
664a9ce4
AJ
5396 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5397 definition via __MAP_ANONYMOUS.
5398
8e39047d
AJ
5399 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5400 it's not part of Linux headers.
5401
67525cb8
AJ
5402 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5403 (MAP_HUGE_MASK): Define.
5404
5405 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5406 Define.
5407 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5408 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5409 Define.
5410 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5411 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5412 Define.
5413 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5414 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5415 Define.
5416 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5417
5418 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5419 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5420 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5421 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5422 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5423 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5424
5425 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5426 Handle f2fs.
5427
5428 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5429 Handle f2fs and efivarfs.
5430
5431 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5432 f2fs.
5433
5434 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5435 (EFIVARFS_MAGIC): Add.
5436 (F2FS_LINK_MAX): Add.
5437
e1b42695
PP
54382013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5439
5440 * stdio-common/vfprintf.c: Replace __builtin_expect with
5441 __glibc_unlikely.
5442
2d67d91a
JM
54432013-03-06 Joseph Myers <joseph@codesourcery.com>
5444
5445 [BZ #13550]
5446 * sysdeps/generic/bp-sym.h: Remove file.
5447 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5448 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5449 <bp-sym.h> and <bp-asm.h>.
5450 (__longjmp): Don't use BP_SYM.
5451 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5452 and <bp-asm.h>.
5453 (memcpy): Don't use BP_SYM.
5454 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5455 <bp-sym.h> and <bp-asm.h>.
5456 (memcpy): Don't use BP_SYM.
5457 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5458 <bp-asm.h>.
5459 (memcpy): Don't use BP_SYM.
5460 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5461 <bp-asm.h>.
5462 (memset): Don't use BP_SYM.
5463 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5464 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5465 (__bzero): Don't use BP_SYM.
5466 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5467 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5468 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5469 <bp-sym.h> and <bp-asm.h>.
5470 (memcmp): Don't use BP_SYM. Remove comment about bounded
5471 pointers.
5472 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5473 <bp-sym.h> and <bp-asm.h>.
5474 (memcpy): Don't use BP_SYM.
5475 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5476 <bp-sym.h> and <bp-asm.h>.
5477 (memset): Don't use BP_SYM.
5478 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5479 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5480 (__bzero): Don't use BP_SYM.
5481 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5482 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5483 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5484 <bp-sym.h> and <bp-asm.h>.
5485 (strncmp): Don't use BP_SYM. Remove comment about bounded
5486 pointers.
5487 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5488 <bp-sym.h> and <bp-asm.h>.
5489 (memcpy): Don't use BP_SYM.
5490 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5491 <bp-sym.h> and <bp-asm.h>.
5492 (memset): Don't use BP_SYM.
5493 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5494 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5495 (__bzero): Don't use BP_SYM.
5496 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5497 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5498 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5499 <bp-sym.h> and <bp-asm.h>.
5500 (__memchr): Don't use BP_SYM.
5501 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5502 <bp-sym.h> and <bp-asm.h>.
5503 (memcmp): Don't use BP_SYM. Remove comment about bounded
5504 pointers.
5505 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5506 <bp-sym.h> and <bp-asm.h>.
5507 (memcpy): Don't use BP_SYM.
5508 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5509 <bp-sym.h> and <bp-asm.h>.
5510 (__mempcpy): Don't use BP_SYM.
5511 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5512 <bp-sym.h> and <bp-asm.h>.
5513 (__memrchr): Don't use BP_SYM.
5514 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5515 <bp-sym.h> and <bp-asm.h>.
5516 (memset): Don't use BP_SYM.
5517 (__bzero): Likewise.
5518 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5519 <bp-sym.h> and <bp-asm.h>.
5520 (__rawmemchr): Don't use BP_SYM.
5521 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5522 <bp-sym.h> and <bp-asm.h>.
5523 (__STRCMP): Don't use BP_SYM.
5524 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5525 <bp-sym.h> and <bp-asm.h>.
5526 (strchr): Don't use BP_SYM.
5527 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5528 <bp-sym.h> and <bp-asm.h>.
5529 (__strchrnul): Don't use BP_SYM.
5530 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5531 <bp-sym.h> and <bp-asm.h>.
5532 (strlen): Don't use BP_SYM.
5533 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5534 <bp-sym.h> and <bp-asm.h>.
5535 (strncmp): Don't use BP_SYM. Remove comment about bounded
5536 pointers.
5537 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5538 <bp-sym.h> and <bp-asm.h>.
5539 (__strnlen): Don't use BP_SYM.
5540 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5541 <bp-sym.h> and <bp-asm.h>.
5542 (__GI__setjmp): Don't use BP_SYM.
5543 (_setjmp): Likewise.
5544 (__sigsetjmp): Likewise.
5545 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5546 (L(start_addresses)): Don't use BP_SYM.
5547 (_start): Likewise.
5548 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5549 <bp-asm.h>.
5550 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5551 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5552 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5553 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5554 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5555 <bp-asm.h>.
5556 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5557 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5558 about bounded pointers.
5559 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5560 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5561 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5562 <bp-asm.h>.
5563 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5564 about bounded pointers. Remove GKM FIXME comments.
5565 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5566 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5567 <bp-asm.h>.
5568 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5569 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5570 Remove GKM FIXME comments.
5571 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5572 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5573 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5574 <bp-asm.h>.
5575 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5576 about bounded pointers. Remove GKM FIXME comment.
5577 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5578 and <bp-asm.h>.
5579 (strncmp): Don't use BP_SYM. Remove comment about bounded
5580 pointers.
5581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5582 <bp-sym.h> and <bp-asm.h>.
5583 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5585 <bp-sym.h> and <bp-asm.h>.
5586 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5587 comment.
5588
cdcf361f
PP
55892013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5590
5591 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5592 call free(NULL).
5593
3c4a2b15
DM
55942013-03-05 David S. Miller <davem@davemloft.net>
5595
5596 * po/es.po: Update from translation team.
5597
cdcf361f 55982013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
5599
5600 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5601 <bits/mman-linux.h>.
5602 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5603 is fine.
5604 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5605 <bits/mman-linux.h> to end of file.
5606 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5607 is fine.
5608 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5609 <bits/mman-linux.h> to end of file.
5610 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5611 is fine.
5612 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5613 <bits/mman-linux.h> to end of file.
5614
5615 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5616 (MCL_CURRENT, MCL_FUTURE): Define here.
5617
5f67c04f
AK
56182013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5619
8a4473cc 5620 [BZ #15232]
5f67c04f
AK
5621 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5622 attribute_hidden.
5623 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5624
c3e94a95
AK
56252013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5626
5627 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5628 fourth parameter needed for rt_sigprocmask syscall.
5629 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5630 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5631 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5632 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5633 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5634 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5635
cfb6382a
JM
56362013-03-04 Joseph Myers <joseph@codesourcery.com>
5637
5638 [BZ #13550]
5639 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5640 comment about bounded pointers.
5641 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5642 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5643
539d8e01
AJ
56442013-03-04 Andreas Jaeger <aj@suse.de>
5645
5646 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5647 common definitions.
5648
5649 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5650 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5651 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5652 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5653 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
5654 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5655
2e167a70 56562013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
5657
5658 [BZ #15055]
5659 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5660 __ieee754_sqrl instead of __sqrl.
5661
68508633
JM
56622013-03-01 Joseph Myers <joseph@codesourcery.com>
5663
5664 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5665 * sysdeps/powerpc/fpu_control.h: ... here.
5666 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5667 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5668 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5669 * sysdeps/powerpc/bits/mathinline.h: ... here.
5670
7775448e
RM
56712013-03-01 Roland McGrath <roland@hack.frob.com>
5672
5673 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5674 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5675 to just [NEED_DL_SYSINFO_DSO].
5676 * elf/dl-support.c: Likewise.
5677 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5678 * elf/rtld.c (dl_main): Likewise.
5679 * elf/setup-vdso.h (setup_vdso): Likewise.
5680 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5681 * sysdeps/unix/sysv/linux/dl-sysdep.c
5682 (_dl_discover_osversion): Likewise.
5683
4e9b5995
CD
56842013-03-01 Carlos O'Donell <carlos@redhat.com>
5685
5686 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5687 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5688
e23872c8
SP
56892013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5690
e5c74c63
SP
5691 * NEWS: Mention libm performance improvements and non-x86 PI
5692 futex support.
5693
e23872c8
SP
5694 * csu/libc-start.c (__pthread_initialize_minimal): Change
5695 function arguments.
5696 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5697
b5510883
JM
56982013-02-28 Joseph Myers <joseph@codesourcery.com>
5699
5700 [BZ #13550]
5701 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5702 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5703 <bp-sym.h> and <bp-asm.h>.
5704 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5705 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5706 and <bp-asm.h>.
5707 (memcpy): Don't use BP_SYM.
5708 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5709 <bp-asm.h>.
5710 (__mpn_add_n): Don't use BP_SYM.
5711 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5712 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5713 and <bp-asm.h>.
5714 (__mpn_addmul_1): Don't use BP_SYM.
5715 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5716 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5717 <bp-sym.h>.
5718 (_setjmp): Don't use BP_SYM.
5719 (__novmx_setjmp): Likewise.
5720 (__GI__setjmp): Likewise.
5721 (__vmx_setjmp): Likewise.
5722 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5723 <bp-sym.h>.
5724 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5725 (__bzero): Don't use BP_SYM.
5726 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5727 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5728 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5729 <bp-sym.h> and <bp-asm.h>.
5730 (memcpy): Don't use BP_SYM.
5731 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5732 <bp-sym.h> and <bp-asm.h>.
5733 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5734 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5735 <bp-sym.h> and <bp-asm.h>.
5736 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5737 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5738 <bp-asm.h>.
5739 (__mpn_lshift): Don't use BP_SYM.
5740 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5741 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5742 <bp-asm.h>.
5743 (memset): Don't use BP_SYM.
5744 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5745 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5746 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5747 <bp-asm.h>.
5748 (__mpn_mul_1): Don't use BP_SYM.
5749 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5750 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5751 <bp-sym.h> and <bp-asm.h>.
5752 (memcmp): Don't use BP_SYM.
5753 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5754 <bp-sym.h> and <bp-asm.h>.
5755 (memcpy): Don't use BP_SYM.
5756 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5757 <bp-sym.h> and <bp-asm.h>.
5758 (memset): Don't use BP_SYM.
5759 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5760 <bp-sym.h> and <bp-asm.h>.
5761 (strncmp): Don't use BP_SYM.
5762 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5763 <bp-sym.h> and <bp-asm.h>.
5764 (memcpy): Don't use BP_SYM.
5765 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5766 <bp-sym.h> and <bp-asm.h>.
5767 (memset): Don't use BP_SYM.
5768 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5769 <bp-sym.h> and <bp-asm.h>.
5770 (__memchr): Don't use BP_SYM.
5771 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5772 <bp-sym.h> and <bp-asm.h>.
5773 (memcmp): Don't use BP_SYM.
5774 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5775 <bp-sym.h> and <bp-asm.h>.
5776 (memcpy): Don't use BP_SYM.
5777 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5778 <bp-sym.h> and <bp-asm.h>.
5779 (__mempcpy): Don't use BP_SYM.
5780 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5781 <bp-sym.h> and <bp-asm.h>.
5782 (__memrchr): Don't use BP_SYM.
5783 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5784 <bp-sym.h> and <bp-asm.h>.
5785 (memset): Don't use BP_SYM.
5786 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5787 <bp-sym.h> and <bp-asm.h>.
5788 (__rawmemchr): Don't use BP_SYM.
5789 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5790 <bp-sym.h> and <bp-asm.h>.
5791 (__STRCMP): Don't use BP_SYM.
5792 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5793 <bp-sym.h> and <bp-asm.h>.
5794 (strchr): Don't use BP_SYM.
5795 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5796 <bp-sym.h> and <bp-asm.h>.
5797 (__strchrnul): Don't use BP_SYM.
5798 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5799 <bp-sym.h> and <bp-asm.h>.
5800 (strlen): Don't use BP_SYM.
5801 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5802 <bp-sym.h> and <bp-asm.h>.
5803 (strncmp): Don't use BP_SYM.
5804 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5805 <bp-sym.h> and <bp-asm.h>.
5806 (__strnlen): Don't use BP_SYM.
5807 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5808 <bp-asm.h>.
5809 (__mpn_rshift): Don't use BP_SYM.
5810 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5811 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5812 <bp-sym.h> and <bp-asm.h>.
5813 (__sigsetjmp): Don't use BP_SYM.
5814 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5815 (L(start_addresses)): Don't use BP_SYM.
5816 (_start): Likewise.
5817 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5818 <bp-asm.h>.
5819 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5820 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5821 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5822 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5823 <bp-asm.h>.
5824 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5825 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5826 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5827 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5828 <bp-asm.h>.
5829 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5830 comments.
5831 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5832 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5833 <bp-asm.h>.
5834 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
5835 FIXME comments.
5836 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5837 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5838 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5839 <bp-asm.h>.
5840 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5841 comment.
5842 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5843 and <bp-asm.h>.
5844 (strncmp): Don't use BP_SYM,
5845 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5846 <bp-asm.h>.
5847 (__mpn_sub_n): Don't use BP_SYM.
5848 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5849 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5850 and <bp-asm.h>.
5851 (__mpn_submul_1): Don't use BP_SYM.
5852 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5854 <bp-sym.h> and <bp-asm.h>.
5855 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5857 <bp-sym.h> and <bp-asm.h>.
5858 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5859 comment.
5860
8d19fe64
SP
58612013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5862
5863 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5864 Use ZK to minimize writes to Z.
5865 (sub_magnitudes): Simplify code a bit.
5866 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5867 Use ZK to minimize writes to Z.
5868 (sub_magnitudes): Simplify code a bit.
5869
85bd816a
RM
58702013-02-27 Roland McGrath <roland@hack.frob.com>
5871
5872 * csu/gmon-start.c: Add special exception to license text.
5873
b5977bf2
RH
58742013-02-27 Richard Henderson <rth@redhat.com>
5875
5876 * scripts/config.guess: Update from config.git.
5877 * scripts/config.sub: Likewise.
5878
11d6e2f2
SP
58792013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5880
09c14ed2
SP
5881 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5882
a688864e
SP
5883 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5884
6295157a
SP
5885 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5886
b8de2202
SP
5887 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5888
11d6e2f2
SP
5889 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5890
7e80ddb8
RM
58912013-02-26 Roland McGrath <roland@hack.frob.com>
5892
5893 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5894 [$(build-shared = yes].
7e80ddb8 5895
7da6d9ed
SP
58962013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5897
45f05884
SP
5898 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5899 (__mul): Reduce iterations for calculating mantissa.
5900
2236d359
SP
5901 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5902 MPTWO.
5903 (__mpranred): Likewise.
5904
7da6d9ed
SP
5905 [BZ #15160]
5906 * malloc/memusagestat.c (main): Draw graphs for heap and stack
5907 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5908
b7688c42
PE
59092013-02-26 Paul Eggert <eggert@cs.ucla.edu>
5910
5911 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5912 Define __attribute__.
5913
53a5c423
SP
59142013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5915
5916 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5917 unused.
5918 * posix/regex_internal.h (__attribute): Remove.
5919 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5920 (re_string_context_at): Likewise.
5921 (bitset_not): Use __attribute__ and mark function as possibly
5922 unused.
5923 (bitset_merge): Likewise.
5924 (bitset_mask): Likewise.
5925 (re_string_char_size_at): Likewise.
5926 (re_string_wchar_at): Likewise.
5927 (re_string_elem_size_at): Likewise.
5928
60f5a8b5
SP
59292013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5930
2a983a2e
SP
5931 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5932 code.
5933 (cc32): Likewise.
5934
e69804d1
SP
5935 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5936 (__acr): Likewise.
5937 (__cpy): Likewise.
5938 (norm): Likewise.
5939 (denorm): Likewise.
5940 (__dbl_mp): Likewise.
5941 (add_magnitudes): Likewise.
5942 (sub_magnitudes): Likewise.
5943 (__mul): Likewise.
5944 (__inv): Likewise.
5945
2f22a1e8
SP
5946 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5947 style.
5948
8930ddc7
SP
5949 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5950 style.
5951
dc60cb11
SP
5952 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5953 code.
5954
60f5a8b5
SP
5955 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5956 up changes with default code.
5957 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5958 Likewise.
5959
b4d1fd33
AM
59602013-02-24 Allan McRae <allan@archlinux.org>
5961
faf6f8bc
AM
5962 * manual/socket.texi (The Internet Namespace): Order menu items
5963 to match that in the file.
5964
b4d1fd33
AM
5965 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5966 node listing of the info page menu.
5967
2366713d
JM
59682013-02-21 Joseph Myers <joseph@codesourcery.com>
5969
5970 [BZ #13550]
5971 * sysdeps/i386/bp-asm.h: Remove file.
5972 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5973 (PARMS): Do not use macros from bp-asm.h.
5974 (S1): Likewise.
5975 (S2): Likewise.
5976 (SIZE): Likewise.
5977 (__mpn_add_n): Do not use BP_SYM
5978 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5979 "bp-asm.h".
5980 (PARMS): Do not use macros from bp-asm.h.
5981 (S1): Likewise.
5982 (SIZE): Likewise.
5983 (__mpn_addmul_1): Do not use BP_SYM
5984 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5985 "bp-asm.h".
5986 (PARMS): Do not use macros from bp-asm.h.
5987 (SIGMSK): Likewise.
5988 (_setjmp): Likewise. Do not use BP_SYM.
5989 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5990 "bp-asm.h".
5991 (PARMS): Do not use macros from bp-asm.h.
5992 (SIGMSK): Likewise.
5993 (setjmp): Likewise. Do not use BP_SYM.
5994 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5995 "bp-asm.h".
5996 (PARMS): Do not use macros from bp-asm.h.
5997 (__frexp): Do not use BP_SYM.
5998 (frexp): Likewise.
5999 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6000 "bp-asm.h".
6001 (PARMS): Do not use macros from bp-asm.h.
6002 (__frexpf): Do not use BP_SYM.
6003 (frexpf): Likewise.
6004 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6005 "bp-asm.h".
6006 (PARMS): Do not use macros from bp-asm.h.
6007 (__frexpl): Do not use BP_SYM.
6008 (frexpl): Likewise.
6009 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6010 "bp-asm.h".
6011 (PARMS): Do not use macros from bp-asm.h.
6012 (__remquo): Do not use BP_SYM.
6013 (remquo): Likewise.
6014 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6015 "bp-asm.h".
6016 (PARMS): Do not use macros from bp-asm.h.
6017 (__remquof): Do not use BP_SYM.
6018 (remquof): Likewise.
6019 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6020 "bp-asm.h".
6021 (PARMS): Do not use macros from bp-asm.h.
6022 (__remquol): Do not use BP_SYM.
6023 (remquol): Likewise.
6024 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6025 "bp-asm.h".
6026 (PARMS): Do not use macros from bp-asm.h.
6027 (DEST): Likewise.
6028 (SRC): Likewise.
6029 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6030 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6031 "bp-asm.h".
6032 (PARMS): Do not use macros from bp-asm.h.
6033 (strlen): Do not use BP_SYM.
6034 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6035 "bp-asm.h".
6036 (PARMS): Do not use macros from bp-asm.h.
6037 (S1): Likewise.
6038 (S2): Likewise.
6039 (SIZE): Likewise.
6040 (__mpn_add_n): Do not use BP_SYM.
6041 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6042 "bp-asm.h".
6043 (PARMS): Do not use macros from bp-asm.h.
6044 (S1): Likewise.
6045 (SIZE): Likewise.
6046 (__mpn_addmul_1): Do not use BP_SYM.
6047 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6048 weak_alias.
6049 (bzero): Likewise.
6050 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6051 "bp-asm.h".
6052 (PARMS): Do not use macros from bp-asm.h.
6053 (S): Likewise.
6054 (SIZE): Likewise.
6055 (__mpn_lshift): Do not use BP_SYM.
6056 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6057 "bp-asm.h".
6058 (PARMS): Do not use macros from bp-asm.h.
6059 (DEST): Likewise.
6060 (SRC): Likewise.
6061 (LEN): Likewise.
6062 (memcpy): Likewise. Do not use BP_SYM.
6063 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6064 libc_hidden_def and weak_alias.
6065 (mempcpy): Do not use BP_SYM in weak_alias.
6066 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6067 "bp-asm.h".
6068 (PARMS): Do not use macros from bp-asm.h.
6069 (DEST): Likewise.
6070 (LEN): Likewise.
6071 [!BZERO_P] (CHR): Likewise.
6072 (memset): Likewise. Do not use BP_SYM.
6073 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6074 "bp-asm.h".
6075 (PARMS): Do not use macros from bp-asm.h.
6076 (S1): Likewise.
6077 (SIZE): Likewise.
6078 (__mpn_mul_1): Do not use BP_SYM.
6079 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6080 "bp-asm.h".
6081 (PARMS): Do not use macros from bp-asm.h.
6082 (S): Likewise.
6083 (SIZE): Likewise.
6084 (__mpn_rshift): Do not use BP_SYM.
6085 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6086 "bp-asm.h".
6087 (PARMS): Do not use macros from bp-asm.h.
6088 (STR): Likewise.
6089 (CHR): Likewise.
6090 (strchr): Likewise. Do not use BP_SYM.
6091 (index): Do not use BP_SYM in weak_alias.
6092 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6093 "bp-asm.h".
6094 (PARMS): Do not use macros from bp-asm.h.
6095 (DEST): Likewise.
6096 (SRC): Likewise.
6097 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6098 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6099 "bp-asm.h".
6100 (PARMS): Do not use macros from bp-asm.h.
6101 (strlen): Do not use BP_SYM.
6102 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6103 "bp-asm.h".
6104 (PARMS): Do not use macros from bp-asm.h.
6105 (S1): Likewise.
6106 (S2): Likewise.
6107 (SIZE): Likewise.
6108 (__mpn_sub_n): Do not use BP_SYM.
6109 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6110 "bp-asm.h".
6111 (PARMS): Do not use macros from bp-asm.h.
6112 (S1): Likewise.
6113 (SIZE): Likewise.
6114 (__mpn_submul_1): Do not use BP_SYM.
6115 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6116 "bp-asm.h".
6117 (PARMS): Do not use macros from bp-asm.h.
6118 (S1): Likewise.
6119 (S2): Likewise.
6120 (SIZE): Likewise.
6121 (__mpn_add_n): Do not use BP_SYM.
6122 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6123 weak_alias.
6124 (bzero): Likewise.
6125 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6126 "bp-asm.h".
6127 (PARMS): Do not use macros from bp-asm.h.
6128 (BLK2): Likewise.
6129 (LEN): Likewise.
6130 (memcmp): Do not use BP_SYM.
6131 (bcmp): Do not use BP_SYM in weak_alias.
6132 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6133 "bp-asm.h".
6134 (PARMS): Do not use macros from bp-asm.h.
6135 (DEST): Likewise.
6136 (SRC): Likewise.
6137 (LEN): Likewise.
6138 (memcpy): Likewise. Do not use BP_SYM.
6139 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6140 "bp-asm.h".
6141 (PARMS): Do not use macros from bp-asm.h.
6142 (DEST): Likewise.
6143 (SRC): Likewise.
6144 (LEN): Likewise.
6145 (memmove): Likewise. Do not use BP_SYM.
6146 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6147 "bp-asm.h".
6148 (PARMS): Do not use macros from bp-asm.h.
6149 (DEST): Likewise.
6150 (SRC): Likewise.
6151 (LEN): Likewise.
6152 (__mempcpy): Likewise. Do not use BP_SYM.
6153 (mempcpy): Do not use BP_SYM in weak_alias.
6154 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6155 "bp-asm.h".
6156 (PARMS): Do not use macros from bp-asm.h.
6157 (DEST): Likewise.
6158 (LEN): Likewise.
6159 [!BZERO_P] (CHR): Likewise.
6160 (memset): Likewise. Do not use BP_SYM.
6161 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6162 "bp-asm.h".
6163 (PARMS): Do not use macros from bp-asm.h.
6164 (STR2): Likewise.
6165 (strcmp): Do not use BP_SYM.
6166 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6167 "bp-asm.h".
6168 (PARMS): Do not use macros from bp-asm.h.
6169 (STR): Likewise.
6170 (DELIM): Likewise.
6171 [USE_AS_STRTOK_R] (SAVE): Likewise.
6172 (FUNCTION): Likewise. Do not use BP_SYM.
6173 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6174 aliases.
6175 (strtok_r): Likewise.
6176 (__GI___strtok_r): Likewise.
6177 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6178 (PARMS): Do not use macros from bp-asm.h.
6179 (S): Likewise.
6180 (SIZE): Likewise.
6181 (__mpn_lshift): Do not use BP_SYM.
6182 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6183 (PARMS): Do not use macros from bp-asm.h.
6184 (STR): Likewise.
6185 (CHR): Likewise.
6186 (__memchr): Do not use BP_SYM.
6187 (memchr): Do not use BP_SYM in weak_alias.
6188 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6189 (PARMS): Do not use macros from bp-asm.h.
6190 (BLK2): Likewise.
6191 (LEN): Likewise.
6192 (memcmp): Do not use BP_SYM.
6193 (bcmp): Do not use BP_SYM in weak_alias.
6194 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6195 (PARMS): Do not use macros from bp-asm.h.
6196 (S1): Likewise.
6197 (SIZE): Likewise.
6198 (__mpn_mul_1): Do not use BP_SYM.
6199 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6200 "bp-asm.h".
6201 (PARMS): Do not use macros from bp-asm.h.
6202 (STR): Likewise.
6203 (CHR): Likewise.
6204 (__rawmemchr): Do not use BP_SYM.
6205 (rawmemchr): Do not use BP_SYM in weak_alias.
6206 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6207 (PARMS): Do not use macros from bp-asm.h.
6208 (S): Likewise.
6209 (SIZE): Likewise.
6210 (__mpn_rshift): Do not use BP_SYM.
6211 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6212 (PARMS): Do not use macros from bp-asm.h.
6213 (SIGMSK): Likewise.
6214 (__sigsetjmp): Likewise. Do not use BP_SYM.
6215 * sysdeps/i386/start.S: Do not include "bp-sym.h".
6216 (_start): Do not use BP_SYM.
6217 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6218 (PARMS): Do not use macros from bp-asm.h.
6219 (DEST): Likewise.
6220 (SRC): Likewise.
6221 (__stpcpy): Likewise. Do not use BP_SYM.
6222 (stpcpy): Do not use BP_SYM in weak_alias.
6223 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6224 "bp-asm.h".
6225 (PARMS): Do not use macros from bp-asm.h.
6226 (DEST): Likewise.
6227 (SRC): Likewise.
6228 (LEN): Likewise.
6229 (__stpncpy): Likewise. Do not use BP_SYM.
6230 (stpncpy): Do not use BP_SYM in weak_alias.
6231 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6232 (PARMS): Do not use macros from bp-asm.h.
6233 (STR): Likewise.
6234 (CHR): Likewise.
6235 (strchr): Likewise. Do not use BP_SYM.
6236 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6237 "bp-asm.h".
6238 (PARMS): Do not use macros from bp-asm.h.
6239 (STR): Likewise.
6240 (CHR): Likewise.
6241 (__strchrnul): Likewise. Do not use BP_SYM.
6242 (strchrnul): Do not use BP_SYM in weak_alias.
6243 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6244 "bp-asm.h".
6245 (PARMS): Do not use macros from bp-asm.h.
6246 (STOP): Likewise.
6247 (strcspn): Do not use BP_SYM.
6248 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6249 "bp-asm.h".
6250 (PARMS): Do not use macros from bp-asm.h.
6251 (STR): Likewise.
6252 (STOP): Likewise.
6253 (strpbrk): Likewise. Do not use BP_SYM.
6254 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6255 "bp-asm.h".
6256 (PARMS): Do not use macros from bp-asm.h.
6257 (STR): Likewise.
6258 (CHR): Likewise.
6259 (strrchr): Likewise. Do not use BP_SYM.
6260 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6261 (PARMS): Do not use macros from bp-asm.h.
6262 (SKIP): Likewise.
6263 (strspn): Do not use BP_SYM.
6264 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6265 (PARMS): Do not use macros from bp-asm.h.
6266 (STR): Likewise.
6267 (DELIM): Likewise.
6268 (SAVE): Likewise.
6269 (FUNCTION): Likewise. Do not use BP_SYM.
6270 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6271 aliases.
6272 (strtok_r): Likewise.
6273 (__GI___strtok_r): Likewise.
6274 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6275 (PARMS): Do not use macros from bp-asm.h.
6276 (S1): Likewise.
6277 (S2): Likewise.
6278 (SIZE): Likewise.
6279 (__mpn_sub_n): Do not use BP_SYM.
6280 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6281 "bp-asm.h".
6282 (PARMS): Do not use macros from bp-asm.h.
6283 (S1): Likewise.
6284 (SIZE): Likewise.
6285 (__mpn_submul_1): Do not use BP_SYM.
6286 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6287 <bp-sym.h>.
6288 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6289 and <bp-asm.h>.
6290 (PARMS): Do not use macros from bp-asm.h.
6291 (FLAGS): Likewise.
6292 (PTID): Likewise.
6293 (TLS): Likewise.
6294 (CTID): Likewise.
6295 (__clone): Do not use BP_SYM.
6296 (clone): Do not use BP_SYM in weak_alias.
6297 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6298 and <bp-asm.h>.
6299 (PARMS): Do not use macros from bp-asm.h.
6300 (LEN): Likewise.
6301 (__mmap64): Do not use BP_SYM.
6302 (mmap64): Do not use BP_SYM in weak_alias.
6303 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6304 <bp-sym.h> and <bp-asm.h>.
6305 (PARMS): Do not use macros from bp-asm.h.
6306 (__posix_fadvise64_l64): Do not use BP_SYM.
6307 * sysdeps/unix/sysv/linux/i386/semtimedop.S
6308 (PARMS): Do not use macros from bp-asm.h.
6309 (NSOPS): Likewise.
6310 (semtimedop): Do not use BP_SYM.
6311 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6312 and <bp-asm.h>.
6313
582a3cff
AM
63142013-02-21 Allan McRae <allan@archlinux.org>
6315
6316 * manual/message.texi (Charset conversion in gettext):
6317 Move @end statement to beginning of line.
6318
bab8a695
SP
63192013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6320
80945231
SP
6321 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6322 static.
6323 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6324 Likewise.
6325
bab8a695
SP
6326 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6327 (denorm): Likewise.
6328 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6329 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6330
e21d7aa7
AK
63312013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6332
6333 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6334 tail-call to the resolved function if pltexit isn't needed.
6335
4c7a4263
SP
63362013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6337
6338 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6339 or Y being zero as being unlikely.
6340 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6341 Likewise.
6342
41f49342
CD
63432013-02-20 Carlos O'Donell <carlos@redhat.com>
6344
6345 * manual/nss.texi (System Databases and Name Service Switch):
6346 Remove frobnicate @pxref.
6347
50022a93
TS
63482013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6349
6350 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6351 __attribute__ ((unused)) to __attribute__ ((__unused__)).
6352
08cbd996
PM
63532013-02-20 Petr Machata <pmachata@redhat.com>
6354
6355 * elf/elf.h (R_ARM_TARGET1): New macro.
6356 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6357 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6358 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6359 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6360 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6361 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6362 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6363 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6364 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6365 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6366 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6367 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6368 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6369 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6370 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6371 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6372 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6373 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6374 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6375 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6376 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6377 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6378 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6379 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6380 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6381 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6382 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6383 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6384 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6385 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6386 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6387 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6388 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6389 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6390 (R_ARM_THM_GOT_BREL12): Likewise.
6391 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6392 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6393 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6394 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6395 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6396 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6397 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6398 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6399 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6400
c7b275d6
TS
64012013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6402
6403 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6404 __attribute_used__ to __attribute__ ((unused)).
6405
20cd7fb3
SP
64062013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6407
6408 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6409 powerpc mpa.c.
6410 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6411 comment formatting.
6412 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6413
92945b52
JM
64142013-02-19 Joseph Myers <joseph@codesourcery.com>
6415
6416 [BZ #13550]
6417 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6418 Remove macro.
6419 (ENTER): Remove both macro definitions.
6420 (LEAVE): Likewise.
6421 (CHECK_BOUNDS_LOW): Likewise.
6422 (CHECK_BOUNDS_HIGH): Likewise.
6423 (CHECK_BOUNDS_BOTH): Likewise.
6424 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6425 (RETURN_BOUNDED_POINTER): Likewise.
6426 (RETURN_NULL_BOUNDED_POINTER): Likewise.
6427 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6428 (POP_ERRNO_LOCATION_RETURN): Likewise.
6429 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6430 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6431 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6432 macros.
6433 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6434 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6435 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6436 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6437 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6438 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6439 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6440 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6441 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6442 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6443 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6444 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6445 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6446 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6447 removed macros.
6448 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6449 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6450 macros.
6451 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6452 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6453 * sysdeps/i386/i586/memset.S (memset): Likewise.
6454 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6455 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6456 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6457 macros.
6458 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6459 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6460 Change uses of L(2) to L(out).
6461 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6462 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6463 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6464 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6465 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6466 removed macros.
6467 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6468 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6469 macros.
6470 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6471 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6472 (RETURN): Do not use macro LEAVE.
6473 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6474 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6475 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6476 * sysdeps/i386/i686/memset.S (memset): Likewise.
6477 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6478 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6479 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6480 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6481 Likewise.
6482 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6483 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6484 L(1_2) and L(1_3) into L(1).
6485 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6486 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6487 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6488 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6489 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6490 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6491 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6492 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6493 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6494 macros.
6495 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6496 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6497 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6498 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6499 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6500 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6501 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6502 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6503 * sysdeps/i386/strcspn.S (strcspn): Likewise.
6504 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6505 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6506 * sysdeps/i386/strspn.S (strspn): Likewise.
6507 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6508 conditional code.
6509 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6510 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6511 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6512 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6513 L(1_3) into L(1_1).
6514 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6515 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6516 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6517 macros.
6518 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6519
2389741a
JJ
65202013-02-19 Jakub Jelinek <jakub@redhat.com>
6521
6522 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6523 macro.
6524
2016b3cd
SP
65252013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6526
e4f22324
SP
6527 * math/atest-exp.c (exp_mpn): Remove ROUND.
6528 * math/atest-exp2.c (exp_mpn): Likewise.
6529 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6530
2016b3cd
SP
6531 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6532 * stdlib/tst-tls-atexit-lib.c: Likewise.
6533 * stdlib/tst-tls-atexit.c: Likewise.
6534
4be9b544
MF
65352013-02-18 Mike Frysinger <vapier@gentoo.org>
6536
6537 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6538 and __attribute_alloc_size__.
6539
2f62b9ee
MF
65402013-02-18 Mike Frysinger <vapier@gentoo.org>
6541
6542 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6543 __attribute_alloc_size__.
6544 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6545 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6546
6ff444c4
MF
65472013-02-18 Mike Frysinger <vapier@gentoo.org>
6548
6549 * include/programs/xmalloc.h: New file.
6550 * catgets/gencat.c: Include it.
6551 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6552 * elf/pldd.c: Likewise.
6553 * iconv/iconv_charmap.c: Likewise.
6554 * iconv/iconvconfig.c: Likewise.
6555 * iconv/strtab.c: Likewise.
6556 * locale/programs/locale.c: Likewise.
6557 * locale/programs/localedef.h: Likewise.
6558 * locale/programs/simple-hash.c: Likewise.
6559 * nscd/nscd.h: Likewise.
6560 * nss/makedb.c: Likewise.
6561 * sysdeps/generic/ldconfig.h: Likewise.
6562
be179c8a
SP
65632013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6564
ba384f6e
SP
6565 * Versions.def: Add GLIBC_2.18.
6566 * include/link.h (struct link_map): New member l_tls_dtor_count.
6567 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6568 (__call_tls_dtors): Likewise.
6569 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6570 __cxa_thread_atexit_impl.
6571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6572 Likewise.
6573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6574 Likewise.
6575 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6576 Likewise.
6577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6578 Likewise.
6579 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6580 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6581 Likewise.
6582 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6583 Likewise.
6584 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6585 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6586 Likewise.
6587 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6588 (tests): Add test case tst-tls-atexit.
6589 (modules-names): Add shared library for tst-tls-atexit.
85891aca 6590 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
6591 (GLIBC_PRIVATE): Add __call_tls_dtors.
6592 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6593 for libstdc++.
6594 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6595 * stdlib/tst-tls-atexit.c: New test case.
6596 * stdlib/tst-tls-atexit-lib.c: New test case.
6597
ffaa74cf 6598 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 6599
be179c8a
SP
6600 * elf/Versions (ld): Add _dl_find_dso_for_object.
6601 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6602 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6603 (dl_open_worker): Use _dl_find_dso_for_object.
6604 * elf/dl-sym.c (do_sym): Likewise.
6605 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6606
f78b5caa
AK
66072013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6608
6609 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6610 Syntactic changes only.
6611 (_dl_runtime_profile): Do a tail-call to the resolved function.
6612
29691210
JM
66132013-02-17 Joseph Myers <joseph@codesourcery.com>
6614
6615 [BZ #13550]
6616 * sysdeps/x86_64/bp-asm.h: Remove file.
6617 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6618 <bp-sym.h> and <bp-asm.h>.
6619 (__clone): Do not use BP_SYM.
6620 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6621 <bp-sym.h> and <bp-asm.h>.
6622 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6623 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6624 "bp-asm.h".
6625 (_setjmp): Do not use BP_SYM.
6626 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6627 "bp-asm.h".
6628 (setjmp): Do not use BP_SYM.
6629 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6630 libc_hidden_def.
6631 (mempcpy): Do not use BP_SYM in weak_alias.
6632 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6633 "bp-asm.h".
6634 (strchr): Do not use BP_SYM.
6635 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6636 "bp-asm.h".
6637 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6638 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6639 (_start): Do not use BP_SYM.
6640 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6641 "bp-asm.h".
6642 (strcat): Do not use BP_SYM.
6643 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6644 "bp-asm.h".
6645 (STRCMP): Do not use BP_SYM.
6646 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6647 "bp-asm.h".
6648 (STRCPY): Do not use BP_SYM.
6649 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6650 "bp-asm.h".
6651 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6652 "bp-asm.h".
6653 (FUNCTION): Do not use BP_SYM.
6654 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6655 weak_alias.
6656 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6657
f238fd19
AJ
66582013-02-17 Andreas Jaeger <aj@suse.de>
6659
6660 * time/Versions: Sort entries.
6661 * string/Versions: Likewise.
6662 * resolv/Versions: Likewise.
6663 * posix/Versions: Likewise.
6664 * iconv/Versions: Likewise.
6665 * elf/Versions: Likewise.
6666 * wcsmbs/Versions: Likewise.
6667
bd07f23c 66682013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 6669
22af19f9
SP
6670 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6671 loop termination condition.
6672
4709fe76
SP
6673 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6674 variable to calculate EZ.
6675 (__sqr): Likewise.
2d0e0f29
SP
6676
6677 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6678 the lower precision input.
6679
daaa7713
JM
66802013-02-15 Joseph Myers <joseph@codesourcery.com>
6681
6682 [BZ #13550]
6683 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6684 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6685 (run-via-rtld-prefix): Do not handle %-bp tests.
6686 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6687 (all-object-suffixes): Remove .ob.
6688 (bppfx): Remove variable.
6689 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6690 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6691 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6692 [$(build-bounded) = yes] (libtype.ob): Likewise.
6693 * Makerules (elide-routines.ob): Remove variable.
6694 (do-tests-clean): Do not handle *-bp.out.
6695 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6696 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6697 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6698 (tests): Do not include $(tests-bp.out).
6699 (xtests): Do not include $(xtests-bp.out).
6700 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6701 [$(build-bounded) = yes] ($(addprefix
6702 $(objpfx),$(binaries-bounded))): Remove rule.
6703 ($(objpfx)%-bp.out): Remove rule.
6704 * config.make.in (build-bounded): Remove variable.
6705 * crypt/Makefile [$(build-bounded) = yes]
6706 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6707 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6708 append to variable.
6709 [$(build-bounded) = yes] (install-lib): Likewise.
6710 [$(build-bounded) = yes] (generated): Likewise.
6711 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6712 Remove rule.
6713 * intl/Makefile [$(build-bounded) = yes]
6714 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6715 * math/Makefile [$(build-bounded) = yes]
6716 ($(tests:%=$(objpfx)%-bp): Likewise.
6717 * misc/Makefile [$(build-bounded) = yes]
6718 ($(objpfx)tst-tsearch-bp): Likewise.
6719 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6720 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6721 Remove dependency.
6722 * string/Makefile (o-objects.ob): Remove variable.
6723 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6724 (CFLAGS-.ob): Remove variable.
6725 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6726 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6727 both definitions of variable.
6728 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6729 (ASFLAGS-.ob): Remove variable.
6730
e97ed6dd
JM
67312013-02-14 Joseph Myers <joseph@codesourcery.com>
6732
2bdd4ca6
JM
6733 [BZ #13550]
6734 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6735 Remove __BOUNDED_POINTERS__ from condition.
6736 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6737 * string/bits/string2.h [!__NO_STRING_INLINES &&
6738 !__BOUNDED_POINTERS__]: Likewise.
6739 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6740 Likewise.
6741 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6742 Remove conditional code.
6743 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6744 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6745 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6746 condition.
6747
e97ed6dd
JM
6748 [BZ #13550]
6749 * csu/libc-start.c: Do not include <bp-sym.h>.
6750 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6751 * elf/dl-open.c: Do not include <bp-sym.h>.
6752 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6753 * math/fegetenv.c: Do not include <bp-sym.h>.
6754 (fegetenv): Do not use BP_SYM in versioned symbols.
6755 * nptl/sysdeps/pthread/bits/libc-lockP.h
6756 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6757 <bp-sym.h>.
6758 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6759 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6760 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6761 (__pthread_mutex_destroy): Likewise.
6762 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6763 (__pthread_mutex_lock): Likewise.
6764 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6765 (__pthread_mutex_trylock): Likewise.
6766 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6767 (__pthread_mutex_unlock): Likewise.
6768 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6769 (__pthread_mutexattr_init): Likewise.
6770 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6771 (__pthread_mutexattr_destroy): Likewise.
6772 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6773 (__pthread_mutexattr_settype): Likewise.
6774 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6775 (__pthread_rwlock_init): Likewise.
6776 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6777 (__pthread_rwlock_destroy): Likewise.
6778 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6779 (__pthread_rwlock_rdlock): Likewise.
6780 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6781 (__pthread_rwlock_tryrdlock): Likewise.
6782 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6783 (__pthread_rwlock_wrlock): Likewise.
6784 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6785 (__pthread_rwlock_trywrlock): Likewise.
6786 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6787 (__pthread_rwlock_unlock): Likewise.
6788 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6789 (__pthread_key_create): Likewise.
6790 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6791 (__pthread_setspecific): Likewise.
6792 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6793 (__pthread_getspecific): Likewise.
6794 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6795 Likewise.
6796 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6797 (_pthread_cleanup_push_defer): Likewise.
6798 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6799 (_pthread_cleanup_pop_restore): Likewise.
6800 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6801 (pthread_setcancelstate): Likewise.
6802 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6803 <bp-sym.h>.
6804 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6805 (memchr): Do not use BP_SYM in weak_alias.
6806 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6807 (fegetenv): Do not use BP_SYM in versioned symbols.
6808 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6809 (fesetenv): Do not use BP_SYM in versioned symbols.
6810 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6811 (feupdateenv): Do not use BP_SYM in versioned symbols.
6812 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6813 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6814 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6815 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6816 (open64): Do not use BP_SYM in weak_alias.
6817 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6818 (fegetenv): Do not use BP_SYM in versioned symbols.
6819 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6820 (fesetenv): Do not use BP_SYM in versioned symbols.
6821 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6822 (feupdateenv): Do not use BP_SYM in versioned symbols.
6823 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6824 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6825 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6826 (feraiseexcept): Do not use BP_SYM in versioned symbols.
6827 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6828 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6829 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6830 <bp-sym.h>.
6831 (__libc_start_main): Do not use BP_SYM.
6832
d6752ccd
SP
68332013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6834
cb57ce60
SP
6835 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6836 redundant return line.
6837 (norm): Likewise.
6838 (denorm): Likewise.
6839 (dbl_mp): Likewise.
6840 (sub_magnitudes): Likewise.
6841 (__add): Likewise.
6842 (__sub): Likewise.
6843 (__mul): Likewise.
6844 (__inv): Likewise.
6845 (__dvd): Likewise.
6846 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6847 (norm): Likewise.
6848 (denorm): Likewise.
6849 (dbl_mp): Likewise.
6850 (sub_magnitudes): Likewise.
6851 (__add): Likewise.
6852 (__sub): Likewise.
6853 (__mul): Likewise.
6854 (__inv): Likewise.
6855 (__dvd): Likewise.
6856
f414520d
SP
6857 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6858 instead of __mul.
6859 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6860 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6861 (cc32): Likewise.
6862
d6752ccd
SP
6863 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6864 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6865 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6866 of __mul for squares.
6867 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6868 function
6869 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6870 Likewise.
6871 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6872 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6873
70d9946a
JM
68742013-02-13 Joseph Myers <joseph@codesourcery.com>
6875
6876 [BZ #13550]
6877 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6878 code.
6879 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6880 prototype or function definition. Rename ubp_* variables and
6881 parameters. Remove argv definitions conditional on
6882 [__BOUNDED_POINTERS__].
6883 * debug/backtrace.c (__backtrace): Do not use __unbounded.
6884 * elf/dl-runtime.c (_dl_fixup): Likewise.
6885 * include/set-hooks.h (RUN_HOOK): Likewise.
6886 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6887 definition.
6888 * string/strcpy.c (strcpy): Do not use __unbounded.
6889 * sysdeps/generic/frame.h (struct layout): Likewise.
6890 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6891 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6892 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6893 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6894 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6895 (__backtrace): Likewise.
6896 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6897 use __ptrvalue.
6898 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6899 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6900 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6901 Likewise.
6902 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6903 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6904 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6905 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6906 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6907 Do not use __unbounded.
6908 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6909 Rename __unboundedrlimits parameter to rlimits in prototype.
6910 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6911 Do not use __unbounded.
6912 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6913 not use __ptrvalue.
6914 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6915 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6916 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6917 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6918 __ptrvalue or __unbounded.
6919 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6920 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6921 use __unbounded.
6922 (__new_msgctl): Do not use __ptrvalue.
6923 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6924 __unbounded.
6925 (__libc_msgrcv): Do not use __ptrvalue.
6926 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6927 startup_info): Do not use __unbounded.
6928 (__libc_start_main): Likewise. Rename ubp_* variables and
6929 parameters. Remove argv definitions conditional on
6930 [__BOUNDED_POINTERS__].
6931 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6932 __ptrvalue.
6933 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6934 use __unbounded.
6935 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6936 or __ptrvalue.
6937 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6938 use __unbounded.
6939 (__new_shmctl): Do not use __ptrvalue.
6940 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6941 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6942 Likewise.
6943 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6944 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6945 (__libc_sigaction): Likewise.
6946 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6947 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6948 Likewise.
6949 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6950
cc7834d6
OB
69512013-02-13 Ondřej Bílka <neleai@seznam.cz>
6952
ffb1ec7b 6953 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
6954
6955 * string/mempcpy.c: Implement by calling memcpy.
6956
bdf02814
SP
69572013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6958
c2af38aa
SP
6959 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6960
4e92d59e
SP
6961 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6962 evaluation.
6963
909279a5
SP
6964 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6965 values in the mantissa.
6966
bdf02814
SP
6967 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6968 minimize writes to Z.
6969 (sub_magnitudes): Simplify code a bit.
6970
cd525923
RM
69712013-02-12 Roland McGrath <roland@hack.frob.com>
6972
6973 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6974 from the message. The linker prefixes all warnings with that already.
6975
7e2f0d2d
AS
69762013-02-12 Andreas Schwab <schwab@suse.de>
6977
a445af0b
AS
6978 [BZ #15078]
6979 * posix/regexec.c (extend_buffers): Add parameter min_len.
6980 (check_matching): Pass minimum needed length.
6981 (clean_state_log_if_needed): Likewise.
6982 (get_subexp): Likewise.
6983 * posix/Makefile (tests): Add bug-regex34.
6984 (bug-regex34-ENV): Define.
6985 * posix/bug-regex34.c: New file.
6986
7e2f0d2d
AS
6987 [BZ #11561]
6988 * posix/regcomp.c (parse_bracket_exp): When looking up collating
6989 elements compare against the byte sequence of it, not its name.
6990 * posix/Makefile (tests): Add bug-regex35.
6991 (bug-regex35-ENV): Define.
6992 * posix/bug-regex35.c: New file.
6993
a175b684
TV
69942013-02-11 Tom de Vries <tom@codesourcery.com>
6995
6996 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
6997 comment.
6998 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6999 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7000 (CHECK_EOL): Add undef.
7001
310998fe 70022013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
7003
7004 * bits/stdlib-bsearch.h: New file.
7005 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 7006 * stdlib/stdlib.h: Likewise.
41eda41d 7007
8ded91fb
RM
70082013-02-11 Roland McGrath <roland@hack.frob.com>
7009
7010 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7011 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7012 declaration.
7013 * manual/search.texi (Array Search Function): Add missing const in
7014 lfind prototype.
7015 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7016 declaration to use rlim_t.
7017 (Basic Scheduling Functions): Remove erroneous const from
7018 sched_getparam prototype. Remove erroneous * from
7019 sched_get_priority_max and sched_get_priority_min prototypes.
7020 (Resource Usage): Fix summary @comment on vtimes to refer to
7021 sys/vtimes.h rather than vtimes.h.
7022 Add missing *s in vtimes prototype.
7023 (Limits on Resources): Fix ulimit prototype to return long int.
7024 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7025 prototypes to use long int rather than double.
7026 (BSD Random): Fix initstate and setstate to use char *, not void *.
7027 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7028 prototype to make second argument 'struct aiocb64 *const[]'.
7029 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7030 (Status of AIO Operations): Remove erroneous const in aio_return and
7031 aio_return64 prototypes.
7032 (Synchronizing I/O): Fix sync prototype to return void.
7033 * manual/startup.texi (Suboptions): Remove an erroneous const in
7034 getsubopt prototype.
7035 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7036 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7037 use size_t rather than int.
7038 (Scanning All Users): Likewise for getpwent_r.
7039 (Setting Groups): Add missing const to setgroups prototype.
7040 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7041 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7042 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7043 'const void *' rather than 'const char *'.
7044 (Host Address Functions): Likewise for inet_ntop.
7045 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7046 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7047 ssize_t for return value.
7048 (Sending Data): Likewise for send, sendto, sendmsg.
7049 (Socket Option Functions): Add a missing const in setsockopt prototype.
7050 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7051 use wchar_t for the argument.
7052 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7053 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7054 take no arguments.
7055 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7056 double/float/long double for second argument.
7057 Fix return types of significand, significandf, significandl.
7058 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7059 argument in fchmod prototype.
7060 (File Owner): Use uid_t and gid_t in fchown prototype.
7061 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7062 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7063 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7064 use 'const struct dirent **' as argument types to CMP function pointer
7065 argument.
7066 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7067 (File Times): Fix summary magic @comment for struct utimbuf and utime
7068 to refer to utime.h, not time.h.
7069 * manual/string.texi (Argz Functions): Add missing const in
7070 argz_extract and argz_next prototypes.
7071 (Finding Tokens in a String): Likewise for basename.
7072 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7073 (Copying and Concatenation): Fix typo in wmemmove prototype.
7074 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7075 (Signal Stack): Remove erroneous const in sigstack prototype.
7076 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7077 prototype.
7078 (Simple Calendar Time): Likewise for stime.
7079 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7080 prototype.
7081 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7082 say sys/sysctl.h instead.
7083 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7084 and vsyslog prototypes.
7085
fe77fe6d
TV
70862013-02-11 Tom de Vries <tom@codesourcery.com>
7087
7088 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7089 Remove.
7090
3a09b620
RM
70912013-02-11 Roland McGrath <roland@hack.frob.com>
7092
7093 * misc/sys/mman.h: Fix typo in mremap comment.
7094
550a0b89
RM
70952013-02-08 Roland McGrath <roland@hack.frob.com>
7096
7097 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7098 the '\0' terminator.
7099
a2da1673
JM
71002013-02-08 Joseph Myers <joseph@codesourcery.com>
7101
7102 [BZ #13550]
7103 * debug/segfault.c: Don't include <bp-checks.h>.
7104 * sysdeps/generic/bp-checks.h: Remove file.
7105 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7106 (__GETDENTS): Don't use CHECK_N.
7107 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7108 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7109 (__getgroups): Don't use CHECK_N.
7110 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7111 (setgroups): Don't use CHECK_N.
7112 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7113 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7114 (__libc_msgrcv): Don't use CHECK_N.
7115 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7116 (__libc_msgsnd): Don't use CHECK_N.
7117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7118 <bp-checks.h>.
7119 (__libc_pread): Don't use CHECK_N.
7120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7121 include <bp-checks.h>.
7122 (__libc_pread64): Don't use CHECK_N.
7123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7124 include <bp-checks.h>.
7125 (__libc_pwrite): Don't use CHECK_N.
7126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7127 include <bp-checks.h>.
7128 (__libc_pwrite64): Don't use CHECK_N.
7129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7130 <bp-checks.h>.
7131 (__libc_pread): Don't use CHECK_N.
7132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7133 include <bp-checks.h>.
7134 (__libc_pread64): Don't use CHECK_N.
7135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7136 include <bp-checks.h>.
7137 (__libc_pwrite): Don't use CHECK_N.
7138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7139 include <bp-checks.h>.
7140 (__libc_pwrite64): Don't use CHECK_N.
7141 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7142 (do_pread): Don't use CHECK_N.
7143 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7144 (do_pread64): Don't use CHECK_N.
7145 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7146 (do_pwrite): Don't use CHECK_N.
7147 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7148 (do_pwrite64): Don't use CHECK_N.
7149 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7150 (__libc_readv): Don't use CHECK_N.
7151 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7152 (semop): Don't use CHECK_N.
7153 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7154 <bp-checks.h>.
7155 (semtimedop): Don't use CHECK_N.
7156 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7157 (__libc_pread): Don't use CHECK_N.
7158 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7159 <bp-checks.h>.
7160 (__libc_pread64): Don't use CHECK_N.
7161 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7162 <bp-checks.h>.
7163 (__libc_pwrite): Don't use CHECK_N.
7164 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7165 <bp-checks.h>.
7166 (__libc_pwrite64): Don't use CHECK_N.
7167 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7168 <bp-checks.h>.
7169 (__libc_msgrcv): Don't use CHECK_N.
7170 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7171 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
7172 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7173 (__libc_writev): Don't use CHECK_N.
7174
b84660a8
RM
71752013-02-08 Roland McGrath <roland@hack.frob.com>
7176
7f3e75f8
RM
7177 * string/strcpy.c: Removed unused variable.
7178
b84660a8
RM
7179 * Makeconfig (+sysdep-includes): Define with := rather than =.
7180 Use an existing include/ subdir of each sysdeps dir before it.
7181
471514d3
CD
71822013-02-08 Carlos O'Donell <carlos@redhat.com>
7183
7184 * nscd/connection.c (register_traced_file): Comment function.
7185 [HAVE_INOTIFY] (union __inev): Define.
7186 [HAVE_INOTIFY] (inotify_check_files): New function.
7187 [HAVE_INOTIFY] (clear_db_cache): Likewise.
7188 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7189 clear_db_cache.
7190 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7191
b2d3c3be
CD
71922013-02-08 Carlos O'Donell <carlos@redhat.com>
7193
7194 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7195 loaded if not already and that a failure is permanent.
7196
b39949d2
CD
71972013-02-08 Carlos O'Donell <carlos@redhat.com>
7198
ddacd1db 7199 [BZ #15006]
b39949d2
CD
7200 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7201 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7202
b2c9eff4
JM
72032013-02-08 Joseph Myers <joseph@codesourcery.com>
7204
f3aae3f3
JM
7205 [BZ #13550]
7206 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7207 (CHECK_1_NULL_OK): Likewise.
7208 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7209 (__fxstat): Do not use CHECK_1.
7210 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7211 <bp-checks.h>.
7212 (___fxstat64): Do not use CHECK_1.
7213 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7214 <bp-checks.h>.
7215 (__fxstatat): Do not use CHECK_1.
7216 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7217 <bp-checks.h>.
7218 (__fxstatat64): Do not use CHECK_1.
7219 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7220 <bp-checks.h>.
7221 (__fxstat): Do not use CHECK_1.
7222 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7223 <bp-checks.h>.
7224 (__fxstatat): Do not use CHECK_1.
7225 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7226 <bp-checks.h>.
7227 (__getresgid): Do not use CHECK_1.
7228 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7229 <bp-checks.h>.
7230 (__getresuid): Do not use CHECK_1.
7231 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7232 <bp-checks.h>.
7233 (__lxstat): Do not use CHECK_1.
7234 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7235 <bp-checks.h>.
7236 (__old_msgctl): Do not use CHECK_1.
7237 (__new_msgctl): Likewise.
7238 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7239 <bp-checks.h>.
7240 (__new_setrlimit): Do not use CHECK_1.
7241 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7242 <bp-checks.h>.
7243 (__old_shmctl): Do not use CHECK_1.
7244 (__new_shmctl): Likewise.
7245 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7246 <bp-checks.h>.
7247 (__xstat): Do not use CHECK_1.
7248 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7249 (__lxstat): Do not use CHECK_1.
7250 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7251 <bp-checks.h>.
7252 (___lxstat64): Do not use CHECK_1.
7253 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7254 (__old_msgctl): Do not use CHECK_1.
7255 (__new_msgctl): Likewise.
7256 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7257 <bp-checks.h>.
7258 (__gettimeofday): Do not use CHECK_1.
7259 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7260 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7261 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7262 <bp-checks.h>.
7263 (__gettimeofday): Do not use CHECK_1.
7264 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7265 (__old_shmctl): Do not use CHECK_1_NULL_OK.
7266 (__new_shmctl): Do not use CHECK_1.
7267 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7268 <bp-checks.h>.
7269 (do_sigtimedwait): Do not use CHECK_1.
7270 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7271 <bp-checks.h>.
7272 (do_sigwaitinfo): Do not use CHECK_1.
7273 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7274 <bp-checks.h>.
7275 (msgctl): Do not use CHECK_1.
7276 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7277 <bp-checks.h>.
7278 (shmctl): Do not use CHECK_1.
7279 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7280 (ustat): Do not use CHECK_1.
7281 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7282 <bp-checks.h>.
7283 (__fxstat): Do not use CHECK_1.
7284 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7285 <bp-checks.h>.
7286 (__fxstatat): Do not use CHECK_1.
7287 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7288 <bp-checks.h>.
7289 (__lxstat): Do not use CHECK_1.
7290 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7291 <bp-checks.h>.
7292 (__xstat): Do not use CHECK_1.
7293 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7294 (__xstat): Do not use CHECK_1.
7295 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7296 (___xstat64): Do not use CHECK_1.
7297
b2c9eff4
JM
7298 [BZ #13550]
7299 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7300 definitions.
7301 (CHECK_BOUNDS_HIGH): Likewise.
7302 * string/strcpy.c: Do not include <bp-checks.h>.
7303 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7304
f1d70dad
RM
73052013-02-07 Roland McGrath <roland@hack.frob.com>
7306
7307 * nscd/nscd-client.h (__nscd_drop_map_ref):
7308 Add __attribute__ ((unused)).
7309 * nis/nss-nisplus.h (niserr2nss): Likewise.
7310
7311 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7312 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7313
7314 * csu/libc-tls.c (init_static_tls, init_slotinfo):
7315 Remove inline keyword.
7316 * include/rounding-mode.h (round_away): Likewise.
7317 * libio/wfileops.c (adjust_wide_data): Likewise.
7318 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7319 (__m128i_strloadu_tolower): Likewise.
7320 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7321 (__m128i_strloadu_tolower): Likewise.
7322 * time/mktime.c (ydhms_diff): Likewise.
7323 * locale/elem-hash.h (elem_hash): Likewise.
7324 * locale/setlocale.c (setdata): Likewise.
7325 * posix/regex_internal.h (re_string_char_size_at): Likewise.
7326 (re_string_wchar_at): Likewise.
7327 (bitset_not, bitset_merge, bitset_mask): Likewise.
7328 [!(__GNUC__ > 3)] (inline): Remove macro.
7329 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7330 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7331 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7332 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7333 * string/memcmp.c (memcmp_bytes): Likewise.
7334 * locale/programs/locarchive.c (compute_hashval): Likewise.
7335 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7336 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7337 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7338 * nss/getent.c (print_rpc, print_protocols): Likewise.
7339 (print_passwd, print_group, print_aliases): Likewise.
7340 * nis/nss-nisplus.h (niserr2nss): Likewise.
7341 * nscd/connections.c (restart_p): Likewise.
7342 Change return type to bool.
7343
eab55bfb
RM
73442013-02-05 Roland McGrath <roland@hack.frob.com>
7345
7bd642f5
RM
7346 * Makeconfig (all-Depend-files): Add existing
7347 $(sorted-subdirs:=/Depend) files.
7348 (all-subdirs): Remove nss.
7349 * sysdeps/unix/inet/Subdirs: Add it here instead.
7350 * hesiod/Depend: New file.
7351
573c29b2
RM
7352 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7353 instead of calling alloca.
7354
b2e25af0
RM
7355 * io/lseek.c (__lseek): Rename to __libc_lseek.
7356 Define __lseek as an alias.
7357
eab55bfb
RM
7358 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7359
9a0d1941
CD
73602013-02-04 Carlos O'Donell <carlos@redhat.com>
7361
7362 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7363 else clause and remove check for non-standard endianness.
7364
b83bbec4
DM
73652013-02-04 David S. Miller <davem@davemloft.net>
7366
7367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7368
6277fdab
JM
73692013-02-04 Joseph Myers <joseph@codesourcery.com>
7370
7371 [BZ #13550]
7372 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7373 (__ubp_memchr): Remove prototype.
7374 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7375 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7376 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7377 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7378 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7379 Remove alias.
7380 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7381 (__ubp_memchr): Likewise.
7382 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7383 (__ubp_memchr): Likewise.
7384 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7385 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7386 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7387 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7388 CHECK_STRING.
7389 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7390 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7391 (__getcwd): Do not use CHECK_STRING.
7392 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7393 <bp-checks.h>.
7394 (__real_chown): Do not use CHECK_STRING.
7395 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7396 <bp-checks.h>.
7397 (fchownat): Do not use CHECK_STRING.
7398 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7399 CHECK_STRING.
7400 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7401 <bp-checks.h>.
7402 (__lchown): Do not use CHECK_STRING.
7403 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7404 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7405 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7406 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7408 include <bp-checks.h>.
7409 (truncate64): Do not use CHECK_STRING.
7410 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7411 <bp-checks.h>.
7412 (__real_chown): Do not use CHECK_STRING.
7413 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7414 <bp-checks.h>.
7415 (__lchown): Do not use CHECK_STRING.
7416 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7417 <bp-checks.h>.
7418 (__chown): Do not use CHECK_STRING.
7419 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7420 <bp-checks.h>.
7421 (truncate64): Do not use CHECK_STRING.
7422 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7423 Likewise.
7424 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7425 (__xmknod): Do not use CHECK_STRING.
7426 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7427 <bp-checks.h>.
7428 (__xmknodat): Do not use CHECK_STRING.
7429 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7430 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7431
903ae060
AS
74322013-02-04 Andreas Schwab <schwab@suse.de>
7433
7434 [BZ #14142]
7435 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7436 * include/netdb.h: Likewise for h_errno.
7437 * elf/tst-stackguard1.c: Include <tls.h>.
7438
542f9466
JK
74392013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7440
7441 * elf/link.h (struct link_map): Extend the l_addr comment.
7442 * include/link.h (struct link_map): Likewise.
7443
e782a927
JM
74442013-02-01 Joseph Myers <joseph@codesourcery.com>
7445
7446 [BZ #13550]
7447 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7448 (BOUNDED_1): Remove macro.
7449 * debug/backtrace.c: Don't include <bp-checks.h>.
7450 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7451 (__backtrace): Likewise.
7452 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7453 <bp-checks.h>.
7454 (__backtrace): Don't use BOUNDED_1.
7455 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7456 <bp-checks.h>.
7457 (__backtrace): Don't use BOUNDED_1.
7458 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7459 (__backtrace): Don't use BOUNDED_1.
7460 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7461 (shmat): Don't use BOUNDED_N.
7462
8cf28c5e
JM
74632013-01-31 Joseph Myers <joseph@codesourcery.com>
7464
3a7ac8a0
JM
7465 [BZ #13550]
7466 * sysdeps/generic/bp-start.h: Remove file.
7467 * csu/libc-start.c: Don't include <bp-start.h>.
7468 (LIBC_START_MAIN): Set up __environ directly instead of using
7469 INIT_ARGV_and_ENVIRON.
7470 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7471 <bp-start.h>.
7472
f3499f95
JM
7473 [BZ #13550]
7474 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7475 definitions.
7476 (CHECK_FCNTL): Likewise.
7477 (CHECK_N_PAGES): Likewise.
7478
32a45bea
JM
7479 [BZ #13550]
7480 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7481 definitions.
7482 (CHECK_SIGSET_NULL_OK): Likewise.
7483 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7484 <bp-checks.h>.
7485 (sigpending): Don't use CHECK_SIGSET.
7486 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7487 <bp-checks.h>.
7488 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7489 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7490 <bp-checks.h>.
7491 (do_sigsuspend): Don't use CHECK_SIGSET.
7492 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7493 use CHECK_SIGSET.
7494 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7495 (do_sigwait): Don't use CHECK_SIGSET.
7496 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7497 use CHECK_SIGSET.
7498 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7499 include <bp-checks.h>.
7500 (sigpending): Don't use CHECK_SIGSET.
7501 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7502 include <bp-checks.h>.
7503 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7504 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7505 <bp-checks.h>.
7506 (sigpending): Don't use CHECK_SIGSET.
7507 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7508 <bp-checks.h>.
7509 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7510
2e8a5c8c
JM
7511 [BZ #13550]
7512 * sysdeps/generic/bp-semctl.h: Remove file.
7513 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7514 <bp-checks.h> and <bp-semctl.h>.
7515 (__old_semctl): Don't use CHECK_SEMCTL.
7516 (__new_semctl): Likewise.
7517 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7518 and <bp-semctl.h>.
7519 (__old_semctl): Don't use CHECK_SEMCTL.
7520 (__new_semctl): Likewise.
7521 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7522 <bp-checks.h> and <bp-semctl.h>.
7523 (__old_semctl): Don't use CHECK_SEMCTL.
7524 (__new_semctl): Likewise.
7525 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7526 <bp-checks.h> and <bp-semctl.h>.
7527 (semctl): Don't use CHECK_SEMCTL.
7528
c2d54929
JM
7529 [BZ #13550]
7530 * Makerules (elide-bp-thunks): Remove variable.
7531 (elide-routines.oS): Don't use $(elide-bp-thunks).
7532 (elide-routines.os): Likewise.
7533 (elide-routines.o): Likewise.
7534 (elide-routines.op): Likewise.
7535 (elide-routines.og): Likewise.
7536 (objects): Don't use $(bp-thunks).
7537 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7538 include.
7539 (common-generated): Do not add s-proto-bp.d.
7540 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7541 (int): Likewise.
7542 (typ): Likewise.
7543 Do not generate makefile rules for bounded-pointer thunks.
7544 * sysdeps/generic/bp-thunks.h: Remove file.
7545 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7546 * sysdeps/unix/s-proto-bp.S: Likewise.
7547
8cf28c5e
JM
7548 [BZ #15062]
7549 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7550 parts of result separately when argument is not close to line from
7551 -i to i and one part of argument is small.
7552 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7553 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7554 * math/libm-test.inc (cacos_test): Add more tests.
7555 (casin_test): Likewise.
7556 (casinh_test): Likewise.
7557 * sysdeps/i386/fpu/libm-test-ulps: Update.
7558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7559
c4e33b8d
DM
75602013-01-31 David S. Miller <davem@davemloft.net>
7561
7562 * po/de.po: Update from translation team.
7563
3b60b421
MK
75642013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7565
7566 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7567
bb931195
TS
75682013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7569
b5a5da23
TS
7570 * configure.in (_AC_PROG_CC_C89): New definition.
7571 * configure: Regenerate.
7572
bb931195
TS
7573 * configure.in (AC_PROG_CPP): New definition.
7574 * configure: Regenerate.
7575
8c53a12c
JM
75762013-01-23 Joseph Myers <joseph@codesourcery.com>
7577
7578 * debug/tst-backtrace.h: New file.
7579 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7580 (ret): Remove variable.
7581 (x): Likewise.
7582 (FAIL): Remove macro.
7583 (NO_INLINE): Likewise.
7584 (fn1): Use match function instead of strstr.
7585 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7586 (ret): Remove variable.
7587 (x): Likewise.
7588 (FAIL): Remove macro.
7589 (NO_INLINE): Likewise.
7590 (fn): Use match function instead of strstr.
7591 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7592 (ret): Remove variable.
7593 (x): Likewise.
7594 (FAIL): Remove macro.
7595 (NO_INLINE): Likewise.
7596 (handle_signal): Use match function instead of strstr.
7597 * debug/tst-backtrace5.c: Include tst-backtrace.h.
7598 (ret): Remove variable.
7599 (x): Likewise.
7600 (FAIL): Remove macro.
7601 (NO_INLINE): Likewise.
7602 (handle_signal): Use match function instead of strstr.
7603
4858fa2a
RM
76042013-01-23 Roland McGrath <roland@hack.frob.com>
7605
7606 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7607
bae8e7f5
DM
76082013-01-23 David S. Miller <davem@davemloft.net>
7609
7610 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7611 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7612 argument of CAS if possible.
7613 * sysdeps/sparc/sparc64/bits/atomic.h
7614 (__arch_compare_and_exchange_val_32_acq): Likewise.
7615 (__arch_compare_and_exchange_val_64_acq): Likewise.
7616
9cbbc4ae
PT
76172013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7618
7619 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7620 * sysdeps/posix/ulimit.c: ... this.
92a601b8 7621 Include <limits.h>.
67b3f58c 7622 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 7623
5655a0b5
AC
76242013-01-23 Adam Conrad <adconrad@0c3.net>
7625
7626 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7627 (LDFLAGS-tst-array5): Likewise.
7628
052aff95
JM
76292013-01-23 Joseph Myers <joseph@codesourcery.com>
7630
7631 [BZ #15036]
7632 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7633 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7634 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7635 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7636
7c1e01aa
DM
76372013-01-21 David S. Miller <davem@davemloft.net>
7638
7639 * sysdeps/sparc/backtrace.c: New file.
7640 * sysdeps/sparc/sparc32/backtrace.h: New file.
7641 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7642 * sysdeps/sparc/sparc64/backtrace.h: New file.
7643 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7644 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7645 -funwind-tables.
7646
ab087e0a
AS
76472013-01-21 Andreas Schwab <schwab@suse.de>
7648
7649 [BZ #15020]
7650 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7651 closed its stdout.
7652
ed689c2f
AS
76532013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7654
7655 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7656 "mpa2.h".
7657 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7658
31d470ac
JM
76592013-01-18 Joseph Myers <joseph@codesourcery.com>
7660 Mark Mitchell <mark@codesourcery.com>
7661 Tom de Vries <tom@codesourcery.com>
7662 Paul Pluzhnikov <ppluzhnikov@google.com>
7663
7664 * debug/tst-backtrace2.c: New file.
7665 * debug/tst-backtrace3.c: Likewise.
7666 * debug/tst-backtrace4.c: Likewise.
7667 * debug/tst-backtrace5.c: Likewise.
7668 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7669 (CFLAGS-tst-backtrace3.c): Likewise.
7670 (CFLAGS-tst-backtrace4.c): Likewise.
7671 (CFLAGS-tst-backtrace5.c): Likewise.
7672 (LDFLAGS-tst-backtrace2): Likewise.
7673 (LDFLAGS-tst-backtrace3): Likewise.
7674 (LDFLAGS-tst-backtrace4): Likewise.
7675 (LDFLAGS-tst-backtrace5): Likewise.
7676 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7677 tst-backtrace4 and tst-backtrace5.
7678
90567f30 76792013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
7680 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7681
7682 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7683 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7684 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7685 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7687 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7688 "+r" and remove output regs list as redundant. Add explicit inline
7689 asm to specify register of return val to work around compiler codegen
7690 bug. Remove (int) cast on return value. Add return type parameter to
7691 use in macro so that this macro does not truncate return value for
7692 64-bit values.
7693 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7694 pass to INTERNAL_VSYSCALL_NCS.
7695 (INLINE_VSYSCALL): Add 'long int' as return type to
7696 INTERNAL_VSYSCALL_NCS macro invocation.
7697 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7698 INTERNAL_VSYSCALL_NCS macro invocation.
7699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7700
d3b9ea61
SP
77012013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7702
0b57daeb
SP
7703 [BZ #14496]
7704 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7705 Fix application of SIMD FP exception mask.
7706
caa99d06
SP
7707 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7708 mp_no from a power of two.
7709 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7710 __mpexp_twomm1. Use __pow_mp.
7711
d3b9ea61
SP
7712 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7713 multiplication.
7714
1dbaee3c
DM
77152013-01-17 David S. Miller <davem@davemloft.net>
7716
7717 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7718
728d7b43
JM
77192013-01-17 Joseph Myers <joseph@codesourcery.com>
7720
7721 [BZ #15023]
7722 * include/complex.h: Condition contents on [!_COMPLEX_H].
7723 (__kernel_casinhf): New prototype.
7724 (__kernel_casinh): Likewise.
7725 (__kernel_casinhl): Likewise.
7726 * math/Makefile (libm_calls): Add k_casinh.
7727 * math/k_casinh.c: New file.
7728 * math/k_casinhf.c: Likewise.
7729 * math/k_casinhl.c: Likewise.
7730 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7731 finite nonzero arguments.
7732 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7733 finite nonzero arguments.
7734 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7735 finite nonzero arguments.
7736 * math/s_casinh.c: Do not include <float.h>.
7737 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7738 * math/s_casinhf.c: Do not include <float.h>.
7739 (__casinhf): Move code for finite nonzero arguments to
7740 k_casinhf.c.
7741 * math/s_casinhl.c: Do not include <float.h>.
7742 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7743 redefine.
7744 (__casinhl): Move code for finite nonzero arguments to
7745 k_casinhl.c.
7746 * math/libm-test.inc (cacos_test): Add more tests.
7747 * sysdeps/i386/fpu/libm-test-ulps: Update.
7748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7749
2a26ef3a
PT
77502013-01-17 Pino Toscano <toscano.pino@tiscali.it>
7751
7752 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7753 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7754 [!HAVE_MREMAP]: Remove [defined linux] case.
7755 * malloc/arena.c: Do not include <malloc-sysdep.h>.
7756
a897655d
SP
77572013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7758
7759 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7760
881ebe89 77612013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
7762
7763 * elf/elf.h (R_386_SIZE32): New relocation.
7764 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7765 R_386_SIZE32.
7766 (elf_machine_rela): Likewise.
7767 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7768 R_X86_64_SIZE64 and R_X86_64_SIZE32.
7769
59981e9b
JM
77702013-01-17 Joseph Myers <joseph@codesourcery.com>
7771
7772 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7773 (FP_FAST_FMA): Do not define.
7774 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7775 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7776 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7777 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7778 !_SOFT_FLOAT]: Likewise.
7779 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7780 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7781 value.
7782 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7783 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7784 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7785 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7786 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7787 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7788 file.
7789
cfa8054f
AS
77902013-01-16 Andreas Schwab <schwab@suse.de>
7791
7792 [BZ #14327]
7793 * include/stdlib.h (__mktemp): Add declaration.
7794 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7795 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7796
dd930cc5
SP
77972013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7798
881ebe89
SP
7799 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7800 definitions.
7801 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7802 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7803 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7804 definitions here.
7805 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7806 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7807 definitions.
7808 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7809 and ONE.
7810 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7811 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7812 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7813 definitions.
7814 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7815 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7816 definitions.
7817 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 7818
dd930cc5
SP
7819 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7820
c19a9f89
DM
78212013-01-15 David S. Miller <davem@davemloft.net>
7822
1aa61767
DM
7823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7824 trunc{,f} to libm-sysdep_routes.
7825 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7827 file.
7828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7830 file.
7831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7832 file.
7833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7835 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7836 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7837 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7838 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7839 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7840 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7841
c42d5e98
DM
7842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7843 nearbyint{,f} to libm-sysdep_routes.
7844 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7846 New file.
7847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7848 file.
7849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7850 New file.
7851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7852 file.
7853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7855 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7856 file.
7857 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7858 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7859 file.
7860 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7861 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7862 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7863
c19a9f89
DM
7864 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7865 libc_feholdexcept and libc_fesetenv.
7866
357679d2
MF
78672013-01-15 Mike Frysinger <vapier@gentoo.org>
7868
7869 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7870
65a82e3d
DM
78712013-01-14 David S. Miller <davem@davemloft.net>
7872
8b954ab9
DM
7873 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7874 (SPARC_ASM_VIS2_IFUNC): Likewise.
7875 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7877 use of 'siam' instruction.
7878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7879 Likewise.
7880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7881 Likewise.
7882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7883 Likewise.
7884 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7885 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7886 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7887 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7889 file.
7890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7891 file.
7892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7893 file.
7894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7895 file.
7896 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7897 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7898 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7899 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7901 new VIS2 routines.
7902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7905 Likewise.
7906 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7907 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7908 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7909 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7911 routines to libm-sysdep_routines.
7912 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7913
65a82e3d
DM
7914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7915 fdim/fdimf to libm-sysdep_routines.
7916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7917 file.
7918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7920 file.
7921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7924 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7925 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7926 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7927 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7928
e34ab705
SP
79292013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7930
2a91b573
SP
7931 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7932 to optimize copies.
7933
1066a534
SP
7934 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7935 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7936 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7937
e34ab705
SP
7938 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7939 local variable MPTWO.
7940 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7941 Likewise.
7942
aba5e596
MF
79432013-01-13 Mike Frysinger <vapier@gentoo.org>
7944
7945 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7946 GLOB_NOESCAPE.
7947
e557e9e5
MF
79482013-01-13 Mike Frysinger <vapier@gentoo.org>
7949
7950 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7951
0428cec9
MF
79522013-01-13 Mike Frysinger <vapier@gentoo.org>
7953
7954 * manual/pattern.texi (glob_t): Document gl_flags.
7955 (glob64_t): Likewise.
7956
8794a964
DM
79572013-01-11 David S. Miller <davem@davemloft.net>
7958
66438c3f
RM
7959 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7960 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7961 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
7962 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7963 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7964 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7965 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7966 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7967 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7968 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7969 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7970 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7971 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7972
4ae4244d
DM
7973 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7974 sparc V9 rather than using V8 code.
7975 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7976 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7977
8794a964
DM
7978 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7979 Move to...
7980 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7981 Here.
7982
6270516e
RM
79832013-01-11 Roland McGrath <roland@hack.frob.com>
7984
7985 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7986 not in the main loop.
7987 * configure: Regenerated.
7988
6a57d931
JM
79892013-01-11 Joseph Myers <joseph@codesourcery.com>
7990
7991 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7992 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7993 to just #else.
7994 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
7995 [!__GLIBC_HAVE_LONG_LONG] case.
7996 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7997 condition to just #else.
7998 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7999 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8000 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8001 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8002 unconditional.
8003 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8004 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8005 #elif condition to just #else.
8006 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8007 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8008 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8009 #elif condition to just #else.
8010
0e8529e9
SE
80112013-01-11 Steve Ellcey <sellcey@mips.com>
8012
8013 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8014 (EF_MIPS_ARCH_64): Fix value.
8015 (EF_MIPS_ARCH_32R2): New.
8016 (EF_MIPS_ARCH_64R2): New.
8017
740b3dbe
L
80182013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8019
8020 * Makeconfig (+link-pie-before-libc): New.
8021 (+link-pie-after-libc): Likewise.
8022 (+link-pie-tests): Likewise.
8023 (+link-pie): Rewritten.
8024 (link-before-libc): Remove $(config-LDFLAGS).
8025 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8026 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8027 (config-LDFLAGS): Renamed to ...
8028 (rtld-LDFLAGS): This.
8029 (rtld-tests-LDFLAGS): New macro.
8030 (link-libc-rpath-link): Likewise.
8031 (link-libc-tests-rpath-link): Likewise.
8032 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8033 (link-libc): Prepand $(link-libc-rpath-link).
8034 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8035 (test-program-prefix): New macro.
8036 (test-via-rtld-prefix): Likewise.
8037 (test-program-cmd): Likewise.
8038 (host-test-program-cmd): Likewise.
8039 * Makefile ($(common-objpfx)testrun.sh): Replace
8040 $(run-program-prefix) with $(test-program-prefix).
8041 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8042 $(rtld-LDFLAGS).
8043 ($(common-objpfx)shlib.lds): Likewise.
8044 (build-module-helper): Likewise.
8045 ($(common-objpfx)format.lds): Likewise.
8046 * Rules (binaries-pie-tests): New.
8047 (binaries-pie-notests): Likewise.
8048 (binaries-pie): Rewritten.
8049 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8050 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8051 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8052 (make-test-out): Replace $(host-built-program-cmd) with
8053 $(host-test-program-cmd).
8054 * config.make.in (build-hardcoded-path-in-tests): New variable.
8055 * configure.in (--enable-hardcoded-path-in-tests): New configure
8056 option.
8057 (hardcoded_path_in_tests): New AC_SUBST.
8058 * configure: Regenerated.
8059 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8060 $(built-program-cmd) with $(test-program-cmd).
8061 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8062 (test_program_cmd): This.
8063 * elf/Makefile ($(objpfx)order.out): Run test with
8064 $(test-program-prefix).
8065 ($(objpfx)order2.out): Likewise.
8066 ($(objpfx)tst-initorder.out): Likewise.
8067 ($(objpfx)tst-initorder2.out): Likewise.
8068 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8069 $(test-program-cmd).
8070 ($(objpfx)tst-array1-static.out): Likewise.
8071 ($(objpfx)tst-array2.out): Likewise.
8072 ($(objpfx)tst-array3.out): Likewise.
8073 ($(objpfx)tst-array4.out): Likewise.
8074 ($(objpfx)tst-array5.out): Likewise.
8075 ($(objpfx)tst-array5-static.out): Likewise.
8076 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8077 $(test-program-cmd).
8078 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8079 $(run-program-prefix) with $(test-program-prefix).
8080 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8081 (test_program_prefix): This.
8082 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8083 $(run-program-prefix) with $(test-program-prefix).
8084 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8085 (test_program_prefix): This.
8086 * iconvdata/tst-tables.sh: Likewise.
8087 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8088 $(run-program-prefix) with $(test-program-prefix).
8089 ($(objpfx)tst-translit.out): Likewise.
8090 ($(objpfx)tst-gettext2.out): Likewise.
8091 ($(objpfx)tst-gettext4.out): Likewise.
8092 ($(objpfx)tst-gettext6.out): Likewise.
8093 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8094 (test_program_prefix): This.
8095 * intl/tst-gettext2.sh: Likewise.
8096 * intl/tst-gettext4.sh Likewise.
8097 * intl/tst-gettext6.sh: Likewise.
8098 * intl/tst-translit.sh: Likewise.
8099 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8100 with $(test-program-cmd).
8101 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8102 $(run-program-prefix) with $(test-program-prefix).
8103 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8104 (test_program_prefix): This.
8105 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8106 $(run-program-prefix) with $(test-program-prefix).
8107 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8108 (test_program_prefix): This.
8109 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8110 * posix/Makefile ($(objpfx)globtest.out): Replace
8111 $(run-via-rtld-prefix) and $(test-wrapper) with
8112 $(test-program-prefix) and $(test-via-rtld-prefix).
8113 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8114 $(test-program-prefix).
8115 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8116 $(host-test-program-cmd).
8117 (tst-spawn-ARGS): Likewise.
8118 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8119 $(test-program-prefix).
8120 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8121 (test_via_rtld_prefix): This.
8122 (test_wrapper): Renamed to ...
8123 (test_program_prefix): This.
8124 (run_program_prefix): Replaced by test_program_prefix.
8125 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8126 (test_program_prefix): This.
8127 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8128 with $(host-test-program-cmd).
8129 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8130 $(run-program-prefix) with $(test-program-prefix).
8131 ($(objpfx)tst-printf.out): Likewise.
8132 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8133 $(test-program-cmd).
8134 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8135 (test_program_prefix): This.
8136 * stdio-common/tst-unbputc.sh: Likewise.
8137 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8138 $(run-program-prefix) with $(test-program-prefix).
8139 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8140 (test_program_prefix): This.
8141 * string/Makefile ($(objpfx)tst-svc.out): Replace
8142 $(built-program-cmd) with $(test-program-cmd).
8143
c6fe55cf
AJ
81442013-01-11 Andreas Jaeger <aj@suse.de>
8145
8146 [BZ #15003]
8147 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8148 value. Sync with Linux 3.7.
8149
9e6919c8
DM
81502013-01-10 David S. Miller <davem@davemloft.net>
8151
8152 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8153 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8154 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8155
1c9f1a02
RM
81562013-01-10 Roland McGrath <roland@hack.frob.com>
8157
8158 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8159 never set.
8160 * configure: Regenerated.
8161
b9de2dde
DM
81622013-01-10 David S. Miller <davem@davemloft.net>
8163
8164 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8165 sparc V9 rather than using V8 code.
8166 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8167 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8168
e7f68ef4
RM
81692013-01-10 Roland McGrath <roland@hack.frob.com>
8170
8171 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8172 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8173 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8174 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8175 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8176 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8177 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8178 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8179 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8180 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8181 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8182 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8183 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8184 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8185 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8186 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8187 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8188 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8189 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8190 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8191 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8192 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8193 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8194 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8195 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8196 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8197 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8198
5a47cc9c
DM
81992013-01-10 David S. Miller <davem@davemloft.net>
8200
8201 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8202
4cf8f209
L
82032013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8204
8205 * posix/Makefile (tests-static): New variable.
8206 (tests): Add $(tests-static).
8207 (tst-exec-static-ARGS): New variable.
8208 (tst-spawn-static-ARGS): Likewise.
8209 * posix/tst-exec-static.c: New file.
8210 * posix/tst-spawn-static.c: Likewise.
8211 * posix/tst-exec.c: Support run directly.
8212 * posix/tst-spawn.c: Likewise.
8213
fed0faa1
JM
82142013-01-10 Joseph Myers <joseph@codesourcery.com>
8215
828beb13
JM
8216 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8217 long.
8218 * math/bits/mathcalls.h (llrint): Likewise.
8219 (llround): Likewise.
8220 * stdlib/stdlib.h (struct drand48_data): Likewise.
8221 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8222 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8223 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8224 Likewise.
8225 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8226 Likewise.
8227 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8228 (elf_greg_t): Likewise.
8229 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8230 (__jmp_buf): Likewise.
8231 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8232 definitions.
8233 (llrint): Likewise, for all definitions.
8234 (llrintl): Likewise.
8235
fed0faa1
JM
8236 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8237 Remove [__GNUC__] condition.
8238 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8239 condition to just [__USE_ISOC99].
8240 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8241
1a20cb20
L
82422013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8243
8244 [BZ #14200]
8245 * sysdeps/unix/sysv/linux/x86/bits/environments.h
8246 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8247 defined.
8248 (_POSIX_V6_ILP32_OFF32): Likewise.
8249 (_XBS5_ILP32_OFF32): Likewise.
8250 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8251 (__ILP32_OFFBIG_LDFLAGS): Likewise.
8252
751b85f7
SP
82532013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8254
7490eb81
SP
8255 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8256
751b85f7
SP
8257 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8258 doubles __mpexp_twomm1. Adjust usage.
8259 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8260 Remove.
8261
988197f0
AS
82622013-01-10 Andreas Schwab <schwab@suse.de>
8263
8264 [BZ #14964]
8265 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8266 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8267
e83d7298
DM
82682013-01-09 David S. Miller <davem@davemloft.net>
8269
034ed64b 8270 [BZ #15003]
e83d7298
DM
8271 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8272 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8273 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8274 TCP_FASTOPEN): Define.
8275 (tcp_repair_opt): New structure.
8276 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8277 enum values.
8278 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8279 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8280 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8281 (tcp_cookie_transactions): New structure.
8282
d5e0b9bd
AB
82832013-01-09 Anton Blanchard <anton@samba.org>
8284
8285 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8286 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8287 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8288 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8289
0c07e3ea
JM
82902013-01-09 Joseph Myers <joseph@codesourcery.com>
8291
8292 * include/features.h (__USE_ANSI): Remove.
8293
232f7002
RM
82942013-01-09 Roland McGrath <roland@hack.frob.com>
8295
ad98e30c
RM
8296 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8297
232f7002
RM
8298 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8299
950c99ca
SP
83002013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8301
b5792741
SP
8302 * sysdeps/s390/fpu/libm-test-ulps: Update.
8303
47cf2278
SP
8304 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8305
950c99ca
SP
8306 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8307 (__acr): Likewise.
8308 (__cpy): Likewise.
8309 (norm): Likewise.
8310 (denorm): Likewise.
8311 (__mp_dbl): Likewise.
8312 (__dbl_mp): Likewise.
8313 (add_magnitudes): Likewise.
8314 (sub_magnitudes): Likewise.
8315 (__add): Likewise.
8316 (__sub): Likewise.
8317 (__mul): Likewise.
8318 (__inv): Likewise.
8319 (__dvd): Likewise.
8320 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8321 (__acr): Likewise.
8322 (__cpy): Likewise.
8323 (norm): Likewise.
8324 (denorm): Likewise.
8325 (__mp_dbl): Likewise.
8326 (__dbl_mp): Likewise.
8327 (add_magnitudes): Likewise.
8328 (sub_magnitudes): Likewise.
8329 (__add): Likewise.
8330 (__sub): Likewise.
8331 (__mul): Likewise.
8332 (__inv): Likewise.
8333 (__dvd): Likewise.
8334 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8335 (__acr): Likewise.
8336 (__cpy): Likewise.
8337 (norm): Likewise.
8338 (denorm): Likewise.
8339 (__mp_dbl): Likewise.
8340 (__dbl_mp): Likewise.
8341 (add_magnitudes): Likewise.
8342 (sub_magnitudes): Likewise.
8343 (__add): Likewise.
8344 (__sub): Likewise.
8345 (__mul): Likewise.
8346 (__inv): Likewise.
8347 (__dvd): Likewise.
8348
eede9df9
JM
83492013-01-08 Joseph Myers <joseph@codesourcery.com>
8350
8351 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8352 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8353 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8354 2 && __USE_EXTERN_INLINES]: Likewise.
8355
c40ea3d9
AJ
83562013-01-08 Andreas Jaeger <aj@suse.de>
8357
8358 [BZ# 14985]
8359 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8360 Remove.
8361 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8362 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8363
2ccdea26
AB
83642013-01-07 Anton Blanchard <anton@samba.org>
8365
8366 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8367 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8368 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8369 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8370 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8371 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8372 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8373 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8374 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8375 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8376 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8377 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8378 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8379 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8380 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8381 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8382 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8383 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8384 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8385 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8386 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8387 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8388 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8389 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8390 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8391 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8392 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8393 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8394 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8395 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8396 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8397 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8398 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8399 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8400 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8401 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8402 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8403 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8404 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8405 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8406 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8407 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8408 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8409
a9708fed
JM
84102013-01-07 Joseph Myers <joseph@codesourcery.com>
8411
375607b9
JM
8412 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8413 (__MALLOC_PMT): Likewise.
8414 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8415 [__GNUC__], only on [_LIBC].
8416 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8417 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8418 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8419 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8420 forward declaration.
8421 (realloc_hook_ini): Likewise.
8422 (memalign_hook_ini): Likewise.
8423 (__libc_memalign): Do not use __MALLOC_PMT in variable
8424 declaration.
8425 (__libc_valloc): Likewise.
8426 (__libc_pvalloc): Likewise.
8427 (__libc_calloc): Likewise.
8428 (__posix_memalign): Likewise.
8429
a9708fed
JM
8430 [BZ #14996]
8431 * math/s_casinh.c: Include <float.h>.
8432 (__casinh): Do not do computation with squaring and square root
8433 for large arguments.
8434 * math/s_casinhf.c: Include <float.h>.
8435 (__casinhf): Do not do computation with squaring and square root
8436 for large arguments.
8437 * math/s_casinhl.c: Include <float.h>.
8438 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8439 (__casinhl): Do not do computation with squaring and square root
8440 for large arguments.
8441 * math/libm-test.inc (casin_test): Add more tests.
8442 (casinh_test): Likewise.
8443 * sysdeps/i386/fpu/libm-test-ulps: Update.
8444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8445
afec409a
L
84462013-01-04 H.J. Lu <hongjiu.lu@intel.com>
8447
8448 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8449 (__x86_64_raw_data_cache_size): Likewise.
8450 (__x86_64_data_cache_size_half): Likewise.
8451 (__x86_64_raw_data_cache_size_half): Likewise.
8452 (__x86_64_shared_cache_size): Likewise.
8453 (__x86_64_raw_shared_cache_size): Likewise.
8454 (__x86_64_shared_cache_size_half): Likewise.
8455 (__x86_64_raw_shared_cache_size_half): Likewise.
8456 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8457 to ...
8458 (__x86_data_cache_size): This.
8459 (__x86_64_raw_data_cache_size): Renamed to ...
8460 (__x86_raw_data_cache_size): This.
8461 (__x86_64_data_cache_size_half): Renamed to ...
8462 (__x86_data_cache_size_half): This.
8463 (__x86_64_raw_data_cache_size_half): Renamed to ...
8464 (__x86_raw_data_cache_size_half): This.
8465 (__x86_64_shared_cache_size): Renamed to ...
8466 (__x86_shared_cache_size): This.
8467 (__x86_64_raw_shared_cache_size): Renamed to ...
8468 (__x86_raw_shared_cache_size): This.
8469 (__x86_64_shared_cache_size_half): Renamed to ...
8470 (__x86_shared_cache_size_half): This.
8471 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8472 (__x86_raw_shared_cache_size_half): This.
8473 * sysdeps/x86_64/memcpy.S: Updated.
8474 * sysdeps/x86_64/memset.S: Likewise.
8475 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8476 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8477 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8478
0b3986d0
DM
84792013-01-04 David S. Miller <davem@davemloft.net>
8480
8481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8482
e47686e9
AS
84832013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8484
d643bac1
AS
8485 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8486 1 to avoid redefinition warning.
8487 (__USE_GNU): Don't define.
8488 (init_signaling_nan): Protoize.
8489
e47686e9
AS
8490 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8491
b18decba
SP
84922013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8493
fffb407f
SP
8494 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8495 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8496 (__cpymn): Likewise.
8497 (norm): Remove commented code.
8498 (denorm): Likewise.
8499 (__mp_dbl): Likewise.
8500 (__inv): Likewise.
8501 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8502 (__cpymn): Likewise.
8503 (norm): Remove commented code.
8504 (denorm): Likewise.
8505 (__mp_dbl): Likewise.
8506 (__inv): Likewise.
8507
b18decba
SP
8508 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8509 mp_no value for 1.0 and 2.0.
8510 (norm): Use RADIXI instead of radixi.d.
8511 (denorm): Likewise.
8512 (__mul): Use 0.0 instead of zero.d.
8513 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8514 mp_no value for 1.0 and 2.0.
8515 (norm): Use RADIXI instead of radixi.d.
8516 (denorm): Likewise.
8517 (__mul): Use 0.0 instead of zero.d.
8518
cdc1c96f
JM
85192013-01-04 Joseph Myers <joseph@codesourcery.com>
8520
8521 [BZ #14994]
8522 * math/s_casinh.c (__casinh): Reduce finite argument to first
8523 quadrant then set signs of results at the end.
8524 * math/s_casinhf.c (__casinhf): Likewise.
8525 * math/s_casinhl.c (__casinhl): Likewise.
8526 * math/libm-test.inc (casin_test): Add more tests.
8527 (casinh_test): Likewise.
8528 * sysdeps/i386/fpu/libm-test-ulps: Update.
8529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8530
302913e1
SP
85312013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8532
6420d207
SP
8533 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8534
a9e48ab4
SP
8535 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8536
b7837264
SP
8537 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8538 declarations.
8539 (denorm): Likewise.
8540 (__mp_dbl): Likewise.
8541 (__inv): Likewise.
8542
f8af25d2
SP
8543 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8544 and adjust the header comment.
8545
302913e1
SP
8546 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8547 variable name from declaration.
8548
5d7dd1ca
L
85492013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8550
8551 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8552 Initialize COMMON_CPUID_INDEX_7 element.
8553 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8554 (CPUID_RTM): Likewise.
8555 (HAS_RTM): Likewise.
8556 (COMMON_CPUID_INDEX_7): New enum.
8557
2f5f40f4
AS
85582013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8559
8560 [BZ #14981]
8561 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8562 size is zero, record memory as freed.
8563
4056f4a0
AJ
85642013-01-03 Andreas Jaeger <aj@suse.de>
8565
8566 * po/ia.po: Add new Interlingua translation.
8567
ab15736f 85682012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
8569
8570 * locale/programs/localedef.c: Fix description of '--posix' flag.
8571
568035b7
JM
85722013-01-02 Joseph Myers <joseph@codesourcery.com>
8573
e6898b8d
JM
8574 * NEWS: Update dates in second copyright notice.
8575 * README: Update copyright dates in example.
8576 * manual/libc.texinfo: Update copyright dates.
8577 * scripts/test-installation.pl: Update copyright date in --version
8578 output.
8579
0e2f9562
JM
8580 * hurd/ctty-input.c: Fix copyright notice formatting.
8581 * hurd/ctty-output.c: Likewise.
8582 * hurd/dtable.c: Likewise.
8583 * hurd/hurd-raise.c: Likewise.
8584 * hurd/hurdprio.c: Likewise.
8585 * hurd/msgportdemux.c: Likewise.
8586 * misc/sys/file.h: Likewise.
8587 * misc/sys/ioctl.h: Likewise.
8588 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8589 * sysdeps/mach/hurd/chdir.c: Likewise.
8590 * sysdeps/mach/hurd/fchdir.c: Likewise.
8591 * sysdeps/mach/hurd/rename.c: Likewise.
8592 * sysdeps/mach/hurd/rmdir.c: Likewise.
8593 * sysdeps/mach/hurd/seekdir.c: Likewise.
8594 * sysdeps/mach/hurd/setsid.c: Likewise.
8595 * sysdeps/posix/wait3.c: Likewise.
8596
568035b7
JM
8597 * All files with FSF copyright notices: Update copyright dates
8598 using scripts/update-copyrights.
8599 * intl/plural.c: Regenerated.
8600 * locale/programs/charmap-kw.h: Likewise.
8601 * locale/programs/locfile-kw.h: Likewise.
8602
da08f647
SP
86032013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8604
0f5477af
SP
8605 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8606 four values.
8607
44e0d4c2
SP
8608 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8609 calculation loop and add branch prediction.
8610
4d55b4e5
SP
8611 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8612 check access beyond bounds of m1np.
8613
da08f647
SP
8614 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8615 MPTWO.
8616 (__inv): Remove local variable MPTWO to use the global
8617 constant.
8618 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8619 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8620 variable MPTWO.
8621 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8622 MP3HALFS static const.
8623
8e051029
DM
86242013-01-01 David S. Miller <davem@davemloft.net>
8625
8626 * po/ca.po: Update from translation team.
8627
f4cf5f2d
JM
86282013-01-01 Joseph Myers <joseph@codesourcery.com>
8629
8630 * scripts/update-copyrights: New file.
8631 * Makeconfig: Reformat copyright notice.
8632 * ctype/ctype.h: Likewise.
8633 * debug/swprintf_chk.c: Likewise.
8634 * elf/dl-cache.c: Likewise.
8635 * elf/dl-debug.c: Likewise.
8636 * elf/dl-object.c: Likewise.
8637 * grp/initgroups.c: Likewise.
8638 * hurd/Makefile: Likewise.
8639 * hurd/hurd/signal.h: Likewise.
8640 * hurd/hurdfault.c: Likewise.
8641 * hurd/hurdioctl.c: Likewise.
8642 * hurd/hurdlookup.c: Likewise.
8643 * hurd/intr-msg.c: Likewise.
8644 * iconv/gconv_open.c: Likewise.
8645 * libio/swprintf.c: Likewise.
8646 * locale/lc-ctype.c: Likewise.
8647 * locale/nl_langinfo.c: Likewise.
8648 * mach/Machrules: Likewise.
8649 * mach/Makefile: Likewise.
8650 * malloc/obstack.h: Likewise.
8651 * manual/Makefile: Likewise.
8652 * manual/tsort.awk: Likewise.
8653 * misc/bits/stab.def: Likewise.
8654 * nis/nis_print_group_entry.c: Likewise.
8655 * nis/nis_table.c: Likewise.
8656 * nis/nss_compat/compat-pwd.c: Likewise.
8657 * nis/nss_compat/compat-spwd.c: Likewise.
8658 * po/Makefile: Likewise.
8659 * posix/fnmatch.c: Likewise.
8660 * posix/regex.h: Likewise.
8661 * resolv/Makefile: Likewise.
8662 * resolv/nss_dns/dns-network.c: Likewise.
8663 * resolv/res_hconf.c: Likewise.
8664 * scripts/gen-sorted.awk: Likewise.
8665 * soft-fp/soft-fp.h: Likewise.
8666 * stdio-common/printf.h: Likewise.
8667 * stdlib/monetary.h: Likewise.
8668 * stdlib/random.c: Likewise.
8669 * stdlib/random_r.c: Likewise.
8670 * sysdeps/generic/Makefile: Likewise.
8671 * sysdeps/gnu/Makefile: Likewise.
8672 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8673 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8674 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8675 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8676 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8677 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8678 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8679 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8680 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8681 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8682 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8683 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8684 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8685 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8686 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8687 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8688 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8689 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8690 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8691 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8692 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8693 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8694 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8695 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8696 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8697 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8698 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8699 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8700 * sysdeps/mach/hurd/errnos.awk: Likewise.
8701 * sysdeps/mach/hurd/fork.c: Likewise.
8702 * sysdeps/mach/hurd/getcwd.c: Likewise.
8703 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8704 * sysdeps/mach/hurd/mmap.c: Likewise.
8705 * sysdeps/mach/hurd/utimes.c: Likewise.
8706 * sysdeps/mach/hurd/xmknod.c: Likewise.
8707 * sysdeps/posix/profil.c: Likewise.
8708 * sysdeps/posix/readdir_r.c: Likewise.
8709 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8710 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8711 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8712 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8713 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8714 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8715 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8716 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8717 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8718 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8719 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8720 * sysdeps/pthread/lio_listio.c: Likewise.
8721 * sysdeps/sparc/dl-procinfo.h: Likewise.
8722 * sysdeps/unix/i386/sysdep.S: Likewise.
8723 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8724 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8725 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8726 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8728 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8729 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8730 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8731 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8732 * sysdeps/wordsize-32/divdi3.c: Likewise.
8733 * time/sys/time.h: Likewise.
8734 * wcsmbs/Makefile: Likewise.
8735
0549fbba
DM
87362013-01-01 David S. Miller <davem@davemloft.net>
8737
a141f1a7
DM
8738 * po/fr.po: Update from translation team.
8739
0549fbba
DM
8740 * catgets/gencat.c: Update copyright year.
8741 * csu/version.c: Likewise.
8742 * debug/catchsegv.sh: Likewise.
8743 * debug/pcprofiledump.c: Likewise.
8744 * debug/xtrace.sh: Likewise.
8745 * elf/ldconfig.c: Likewise.
8746 * elf/ldd.bash.in: Likewise.
8747 * elf/pldd.c: Likewise.
8748 * elf/sotruss.ksh: Likewise.
8749 * elf/sprof.c: Likewise.
8750 * iconv/iconv_prog.c: Likewise.
8751 * iconv/iconvconfig.c: Likewise.
8752 * locale/programs/locale.c: Likewise.
8753 * locale/programs/localedef.c: Likewise.
8754 * login/programs/pt_chown.c: Likewise.
8755 * malloc/memusage.sh: Likewise.
8756 * malloc/memusagestat.c: Likewise.
8757 * malloc/mtrace.pl: Likewise.
8758 * nscd/nscd.c: Likewise.
8759 * nss/getent.c: Likewise.
8760 * nss/makedb.c: Likewise.
8761 * posix/getconf.c: Likewise.
8762
18ea052c
SP
87632012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8764
8765 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8766 numbers.
8767
9c89fca6
MF
87682012-12-30 Mike Frysinger <vapier@gentoo.org>
8769
8770 * math/bits/mathcalls.h (modf): Use __nonnull.
8771
085ec079
SP
87722012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8773
8774 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8775 (split): Use macro CN instead of the bare value.
8776 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8777 could be used.
8778 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8779 instead of the bare value.
8780 (power1): Likewise.
8781
6d9f97e1
SP
87822012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8783
d63f73be
SP
8784 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8785 __ATAN_TWOM.
8786 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8787
6d9f97e1
SP
8788 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8789 their values.
8790 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8791 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8792 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8793 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8794
4c4febf5
AJ
87952012-12-28 Andreas Jaeger <aj@suse.de>
8796
af5843ef
AJ
8797 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
8798 values are from Linux 3.7.
8799
4c4febf5
AJ
8800 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8801 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
8802
99136f82
SP
88032012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8804
2f216c3c 8805 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
8806 TRUE case.
8807
99136f82
SP
8808 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8809 (norm): Likewise.
8810 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8811 variables with preprocessor constants.
8812 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8813 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8814 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8815
7fffbdff
BH
88162012-12-27 Bruno Haible <bruno@clisp.org>
8817
8818 [BZ #14317]
8819 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8820 only if needed.
8821
b76eb5f0
SP
88222012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8823
31a7fe5c
SP
8824 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8825 and use variable directly.
8826 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8827
b76eb5f0
SP
8828 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8829 MPONE.
8830 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8831 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8832 variable MPONE.
8833 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8834 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8835 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8836 include directive. Remove local variable MPONE.
8837 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8838 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8839 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8840
2c8bfe7d
DM
88412012-12-25 David S. Miller <davem@davemloft.net>
8842
8843 * version.h (RELEASE): Set to "development".
8844 (VERSION): Set to "2.17.90".
8845 * NEWS: Add 2.18 section.
8846
147d03b0
DM
88472012-12-21 David S. Miller <davem@davemloft.net>
8848
8849 * po/hr.po: Update from translation team.
8850
a8ebb2b9
AK
88512012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8852
8853 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8854
95b4f1b6
SE
88552012-12-19 Steve Ellcey <sellcey@mips.com>
8856
b2d94007 8857 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 8858
cedb2a90
MS
88592012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8860
8861 * manual/contrib.texi (Contributors): Spelling correction.
8862
bbf527d6
DM
88632012-12-15 David S. Miller <davem@davemloft.net>
8864
8865 * po/ru.po: Update from translation team.
8866
bc38c906
DM
88672012-12-13 David S. Miller <davem@davemloft.net>
8868
85429b1a
DM
8869 * NEWS: Mention IFUNC testsuite enhancements.
8870
d283e353
DM
8871 * po/pl.po: Update from translation team.
8872 * po/bg.po: Likewise.
8873
bc38c906
DM
8874 * manual/contrib.texi (Contributors): Update entries for Hongjiu
8875 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
8876
a181b0d7
DM
88772012-12-11 David S. Miller <davem@davemloft.net>
8878
4641d57e
DM
8879 * po/sv.po: Update from translation team.
8880
f7bc6495
DM
8881 * po/vi.po: Update from translation team.
8882
6fc9048f
DM
8883 * po/cs.po: Update from translation team.
8884
a181b0d7
DM
8885 * po/de.po: Update from translation team.
8886 * po/eo.po: Likewise.
8887 * po/nl.po: Likewise.
8888
f70bfe80
SP
88892012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8890
3c8b4190
SP
8891 [BZ #14246]
8892 * manual/argp.texi (Argp Helper Functions): Move node to follow
8893 Argp Parsing State.
8894
f70bfe80
SP
8895 [BZ #14872]
8896 * manual/conf.texi (Limits on File System Capacity): Mention if
8897 terminating null is included in the max size.
8898
188f0adf
AJ
88992012-12-10 Andreas Jaeger <aj@suse.de>
8900
8901 * po/cs.po: Update from translation team.
8902
56e7d3ad
SP
89032012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8904
8905 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8906 void pointer and cast to uintptr_t.
8907 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8908 path.
8909 * sysdeps/s390/s390-64/memcpy.S: Likewise.
8910 * sysdeps/s390/s390-64/memset.S: Likewise.
8911
76f2d2ea 89122012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
8913
8914 [BZ #14833]
8915 * menual/message.texi (Message Translation): Fix typos.
8916 (Helper programs for gettext): Likewise.
8917
67cbf9a2
AS
89182012-12-07 Andreas Schwab <schwab@linux-m68k.org>
8919
8920 [BZ #14898]
8921 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8922 Change to -1.
8923
682d0e9a
DM
89242012-12-07 David S. Miller <davem@davemloft.net>
8925
8926 * po/libc.pot: Update.
8927
573cd484
RH
89282012-12-07 Richard Henderson <rth@redhat.com>
8929
7e9da188 8930 [BZ #10114]
573cd484
RH
8931 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8932 normal/normal case to before the switch.
8933 (_FP_DIV): Likewise.
8934
e933a943
MF
89352012-12-06 Carlos O'Donell <carlos@systemhalted.org>
8936 Mike Frysinger <vapier@gentoo.org>
8937
8938 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8939 check for __NR_fadvise64_64.
8940
82123268
CM
89412012-12-06 Chris Metcalf <cmetcalf@tilera.com>
8942
8943 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8944 0, not just to plain "0" as a statement.
8945 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8946 with cw.
8947
d9814526
JM
89482012-12-06 Joseph Myers <joseph@codesourcery.com>
8949
8950 * NEWS: Use sourceware.org in Bugzilla URL.
8951
7728c574
SP
89522012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8953
f16946dd
SP
8954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8955 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8956
5704bbcb
SP
8957 * stdio-common/tst-put-error.c (do_test): Add newline to the
8958 padded test to ensure flush.
8959
17aa0516
JL
89602012-12-05 Jeff Law <law@redhat.com>
8961
8962 * sunrpc/etc.rpc (fedfs_admin): Add entry.
8963
363313b5
JM
89642012-12-05 Joseph Myers <joseph@codesourcery.com>
8965
effbd42a
JM
8966 * README: Don't refer to ports add-on as distributed separately.
8967 Mention AArch64 in list of systems supported in the ports add-on.
8968
87600365
JM
8969 * LICENSES: Add more non-FSF copyright and license notices.
8970
a0d7066a
JM
8971 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8972 ((unused)).
8973
66ca5a5b
JM
8974 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8975
363313b5
JM
8976 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8977 10000 as width of padded output.
8978
b37984ad
JM
89792012-12-04 Joseph Myers <joseph@codesourcery.com>
8980
9003570a
JM
8981 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8982
b37984ad
JM
8983 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8984 variable LX with __attribute__ ((unused)).
8985 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8986 Likewise.
8987 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8988 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8989 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8990 with __attribute__ ((unused)).
8991
c8df52ec
DM
89922012-12-04 David S. Miller <davem@abraco.davemloft.net>
8993
8994 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8995
b3b099af
JM
89962012-12-04 Joseph Myers <joseph@codesourcery.com>
8997
c33aa6e3
JM
8998 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8999 (CFLAGS-nldbl-acos.c): New variable.
9000 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9001 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9002 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9003 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9004 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9005 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9006 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9007 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9008 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9009 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9010 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9011 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9012 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9013 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9014 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9015 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9016 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9017 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9018 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9019 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9020 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9021 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9022 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9023 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9024 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9025 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9026 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9027 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9028 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9029 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9030 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9031 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9032 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9033 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9034 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9035 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9036 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9037 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9038 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9039 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9040 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9041 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9042 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9043 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9044 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9045 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9046 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9047 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9048 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9049 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9050 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9051 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9052 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9053 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9054 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9055 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9056 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9057 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9058 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9059 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9060 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9061 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9062 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9063 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9064 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9065 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9066 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9067 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9068 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9069 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9070 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9071 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9072 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9073 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9074 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9075 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9076 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9077 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9078 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9079 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9080 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9081 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9082 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9083 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9084 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9085 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9086 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9087 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9088 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9089 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9090 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9091 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9092 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9093 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9094 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9095 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9096 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9097
20f0018d
JM
9098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9099 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9100
b3b099af
JM
9101 [BZ #14914]
9102 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9103 whole low double instead of just low 47 bits when splitting values
9104 into two parts.
9105
029264d1
AM
91062012-12-03 Allan McRae <allan@archlinux.org>
9107
9108 * manual/stdio.texi (Predefined Printf Handlers): Remove
9109 @hsep and @vsep usage.
9110
c9d6789e
MF
91112012-12-03 Mike Frysinger <vapier@gentoo.org>
9112
9113 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9114 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9115
4b7634a5
JL
91162012-12-03 Jeff Law <law@redhat.com>
9117
9118 * time/sys/time.h (settimeofday): Do not mark TV argument
9119 as __nonnull.
9120
eb6cbd24
MF
91212012-12-01 Mike Frysinger <vapier@gentoo.org>
9122
9123 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9124 when currently writing and seek to current position when not.
9125 * libio/Makefile (tests): Remove bug-fclose1.
9126 * libio/bug-fclose1.c: Delete.
9127
f638872a
JM
91282012-12-01 Joseph Myers <joseph@codesourcery.com>
9129
9130 * manual/arith.texi (feenableexcept): Fix typo.
9131 (fedisableexcept): Likewise.
9132
48085d14
RM
91332012-11-30 Roland McGrath <roland@hack.frob.com>
9134
9135 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9136 second, differently-typed declaration, rather than a cast.
9137
1a538b9f
SP
91382012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9139
9140 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9141 * include/rpc/svc.h: ... here.
9142
d07f2ff1 91432012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
9144
9145 [BZ #13013]
9146 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9147 depending n and resplen2 to catch cases where answer
9148 equals answerp2.
9149
c93ec1f0
CD
91502012-11-29 Carlos O'Donell <carlos@systemhalted.org>
9151
9152 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9153 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9154
37db69de
MF
91552012-11-29 Mike Frysinger <vapier@gentoo.org>
9156
9157 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9158
e10c4e4f
RM
91592012-11-29 Roland McGrath <roland@hack.frob.com>
9160
9161 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9162
2af1b328
JL
91632012-11-28 Jeff Law <law@redhat.com>
9164
9165 [BZ #13761]
9166 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9167 dataset_temporary. Track alloca usage into alloca_used.
9168 If dataset is large allocate and release it via malloc/free.
9169
111db5b1
FW
91702012-06-04 Florian Weimer <fweimer@redhat.com>
9171
f06cc227 9172 [BZ #14197]
111db5b1
FW
9173 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9174
dd694abd
DM
91752012-11-28 David S. Miller <davem@davemloft.net>
9176
9177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9178
9984dd01
JM
91792012-11-28 Joseph Myers <joseph@codesourcery.com>
9180
9181 [BZ #14803]
9182 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9183 of pi/2 rounded to nearest to 64 bits.
9184 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9185 nearest to 64 bits.
9186 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9187 bits.
9188
14bc93a9
JL
91892012-11-28 Jeff Law <law@redhat.com>
9190 Martin Osvald <mosvald@redhat.com>
9191
9192 [BZ #14889]
9193 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9194 * sunrpc/svc.c: Include time.h.
9195 (__svc_accept_failed): New function.
9196 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9197 any reason other than EINTR, call __svc_accept_failed.
9198 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9199 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9200
e3c6aa3a
AS
92012012-11-28 Andreas Schwab <schwab@suse.de>
9202
9203 * scripts/abilist.awk: Also handle indirect functions in .opd
9204 section.
9205
1bead169
JM
92062012-11-28 Joseph Myers <joseph@codesourcery.com>
9207
9208 [BZ #13881]
9209 * sysdeps/x86/fpu/powl_helper.c: New file.
9210 * sysdeps/x86/fpu/Makefile: Likewise.
9211 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9212 (p3): New object.
9213 (__ieee754_powl): Use __powl_helper for finite arguments except
9214 integer exponents below 8.
9215 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9216 (p3): New object.
9217 (__ieee754_powl): Use __powl_helper for finite arguments except
9218 integer exponents below 8.
9219 * math/libm-test.inc (pow_test): Add more tests and enable some
9220 previously disabled tests.
9221 * sysdeps/i386/fpu/libm-test-ulps: Update.
9222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9223
0817d63d
SP
92242012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9225 Carlos O'Donell <carlos_odonell@mentor.com>
9226
9227 * nss/makedb.c (is_prime): Assert that input is odd and greater
9228 than 4. Note that fact in a comment too.
9229 (next_prime): Add 4 to input.
9230
de2fd463
SP
92312012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9232
9233 [BZ #11741]
9234 * libio/Makefile (tests): Add test case tst-fwrite-error.
9235 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9236 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9237 * libio/tst-fwrite-error.c: New test case.
9238
c515fb51
L
92392012-11-26 H.J. Lu <hongjiu.lu@intel.com>
9240
9241 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9242 before casting to void *.
9243 * include/libc-internal.h (__pointer_type): New macro.
9244 (__integer_if_pointer_type_sub): Likewise.
9245 (__integer_if_pointer_type): Likewise.
9246 (cast_to_integer): Likewise.
9247 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9248 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9249 before casting to atomic64_t.
9250 (atomic_exchange_acq): Likewise.
9251 (__arch_exchange_and_add_body): Likewise.
9252 (__arch_add_body): Likewise.
9253 (atomic_add_negative): Likewise.
9254 (atomic_add_zero): Likewise.
9255
4cf77aa9
JM
92562012-11-26 Joseph Myers <joseph@codesourcery.com>
9257
9258 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9259 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9260 (add_fdes): Likewise.
9261 (linear_search_fdes): Likewise.
9262 (binary_search_unencoded_fdes): Likewise.
9263
d260b3b4
AS
92642012-11-26 Andreas Schwab <schwab@linux-m68k.org>
9265
9266 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9267
67060746
AC
92682012-11-24 Adam Conrad <adconrad@0c3.net>
9269
9270 * configure.in: Autodetect C++ header directories.
9271 * configure: Regenerated.
9272
800938a1
MF
92732012-11-23 Mike Frysinger <vapier@gentoo.org>
9274
9275 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9276
4e6e34e6
AS
92772012-11-23 Andreas Schwab <schwab@linux-m68k.org>
9278
9279 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9280
7c7feb47
JM
92812012-11-22 Joseph Myers <joseph@codesourcery.com>
9282
7184dcdf
JM
9283 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9284 LDBL_MANT_DIG == 106]: Disable some tests.
9285 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9286 Likewise.
9287 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9288 Likewise.
9289
0a42601f
JM
9290 [BZ #14871]
9291 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9292 input for small inputs. Return +/- pi/2 for large inputs.
9293 * math/libm-test.inc (atan_test): Add more tests.
9294
79c9b9fe
JM
9295 * sysdeps/generic/unwind-dw2-fde-glibc.c
9296 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9297 __attribute__ ((unused)).
9298
c60d3bf2
JM
9299 [BZ #14645]
9300 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9301 x * y if x and y are nonzero and z is zero.
9302
ef1e0867
JM
9303 [BZ #14811]
9304 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9305 nonzero exponents with absolute value below 0x1p-117 to +/-
9306 0x1p-117.
9307
1468ded3
JM
9308 [BZ #14869]
9309 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9310 up arguments below 2**-450, not just those below 2**-500.
9311 * math/libm-test.inc (hypot_test): Add another test.
9312
8e27e3cc
JM
9313 [BZ #14868]
9314 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9315 Return a+b for ratio over 2**120, not 2**60.
9316 * math/libm-test.inc (hypot_test): Add another test.
9317
c9c0279b
JM
9318 * math/libm-test.inc (clog_test): Use
9319 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9320 (clog10_test): Likewise.
9321
7c7feb47
JM
9322 [BZ #6778]
9323 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9324
fff1530e
AS
93252012-11-22 Andreas Schwab <schwab@suse.de>
9326
9327 * sysdeps/i386/fpu/libm-test-ulps: Update.
9328
94558d30
PT
93292012-11-22 Pino Toscano <toscano.pino@tiscali.it>
9330
9331 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9332 printf output with newline.
9333
7e1be741
L
93342012-11-21 H.J. Lu <hongjiu.lu@intel.com>
9335
6bfea974
L
9336 [BZ #14865]
9337 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9338 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9339 -z nodlopen, -z initfirst and -z execstack support.
9340 * configure: Regenerated.
9341
7e1be741
L
9342 * elf/elf.h (DF_1_NODIRECT): New macro.
9343 (DF_1_IGNMULDEF): Likewise.
9344 (DF_1_NOKSYMS): Likewise.
9345 (DF_1_NOHDR): Likewise.
9346 (DF_1_EDITED): Likewise.
9347 (DF_1_NORELOC): Likewise.
9348 (DF_1_SYMINTPOSE): Likewise.
9349 (DF_1_GLOBAUDIT): Likewise.
9350 (DF_1_SINGLETON): Likewise.
9351 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9352 DT_1_SUPPORTED_MASK bits.
9353 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9354
105ce2ce
CD
93552012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
9356
9357 * sysdeps/unix/make-syscalls.sh: Document prefixes.
9358
123be9de
TS
93592012-11-20 Thomas Schwinge <thomas@codesourcery.com>
9360
d072f3f7
TS
9361 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9362 macro.
9363
123be9de
TS
9364 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9365 (sendmmsg): Move declarations...
9366 * socket/sys/socket.h: ... here.
9367 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9368 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9369 include it from...
9370 * socket/recvmmsg.c: ... this new file.
9371 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9372 (sendmmsg): Rename to __sendmmsg, create weak alias and make
9373 definition of __sendmmsg hidden.
9374 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9375 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9376 Move ENOSYS stub into and include it from...
9377 * socket/sendmmsg.c: ... this new file.
9378 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9379 (sysdep_routines): Move recvmmsg and sendmmsg...
9380 * socket/Makefile (routines): ... here.
9381 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9382 (GLIBC_PRIVATE): Add __sendmmsg.
9383 * include/sys/socket.h (__sendmmsg): Add declarations.
9384 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9385 sendmmsg.
9386
cf9a5d18
JM
93872012-11-20 Joseph Myers <joseph@codesourcery.com>
9388
9389 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9390 variable I1 with __attribute__ ((unused)).
9391 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9392
ecd4caf9
JM
93932012-11-19 Joseph Myers <joseph@codesourcery.com>
9394
be14d48f
JM
9395 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9396 DUMMY variables with __attribute__ ((unused)).
9397
ecd4caf9
JM
9398 * bits/byteswap.h: Include <bits/types.h>.
9399 (__bswap_64): Use __uint64_t instead of unsigned long long int.
9400
986cab95
PT
94012012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9402
9403 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9404 string_t. Do not manually set errno.
9405 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9406 length with __strnlen. Make sure to both set errno and return it on
9407 failure.
9408
6d33cc9d
DM
94092012-11-19 David S. Miller <davem@davemloft.net>
9410
9411 With help from Joseph Myers.
9412 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9413 very large arguments properly.
9414 * math/libm-test.inc (atan_test): New tests.
9415 (atan2_test): New tests.
9416 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9417 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9418
ee663277
JM
94192012-11-19 Joseph Myers <joseph@codesourcery.com>
9420
877f2d8e
JM
9421 [BZ #14856]
9422 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9423 Define to 3.
9424
116fc08a
JM
9425 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9426 [POSIX] (EADDRNOTAVAIL): Likewise.
9427 [POSIX] (EAFNOSUPPORT): Likewise.
9428 [POSIX] (EALREADY): Likewise.
9429 [POSIX] (ECONNABORTED): Likewise.
9430 [POSIX] (ECONNREFUSED): Likewise.
9431 [POSIX] (ECONNRESET): Likewise.
9432 [POSIX] (EDESTADDRREQ): Likewise.
9433 [POSIX] (EDQUOT): Likewise.
9434 [POSIX] (EHOSTUNREACH): Likewise.
9435 [POSIX] (EIDRM): Likewise.
9436 [POSIX] (EISCONN): Likewise.
9437 [POSIX] (ELOOP): Likewise.
9438 [POSIX] (EMULTIHOP): Likewise.
9439 [POSIX] (ENETDOWN): Likewise.
9440 [POSIX] (ENETUNREACH): Likewise.
9441 [POSIX] (ENOBUFS): Likewise.
9442 [POSIX] (ENODATA): Likewise.
9443 [POSIX] (ENOLINK): Likewise.
9444 [POSIX] (ENOMSG): Likewise.
9445 [POSIX] (ENOPROTOOPT): Likewise.
9446 [POSIX] (ENOSR): Likewise.
9447 [POSIX] (ENOSTR): Likewise.
9448 [POSIX] (ENOTCONN): Likewise.
9449 [POSIX] (ENOTSOCK): Likewise.
9450 [POSIX] (EOPNOTSUPP): Likewise.
9451 [POSIX] (EOVERFLOW): Likewise.
9452 [POSIX] (EPROTO): Likewise.
9453 [POSIX] (EPROTONOSUPPORT): Likewise.
9454 [POSIX] (EPROTOTYPE): Likewise.
9455 [POSIX] (ESTALE): Likewise.
9456 [POSIX] (ETIME): Likewise.
9457 [POSIX] (ETXTBSY): Likewise.
9458 [POSIX] (EWOULDBLOCK): Likewise.
9459 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9460 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9461 [POSIX] (SEEK_CUR): Likewise.
9462 [POSIX] (SEEK_END): Likewise.
9463 [POSIX || UNIX98] (mode_t): Do not require.
9464 [POSIX] (off_t): Likewise.
9465 [POSIX] (pid_t): Likewise.
9466 [POSIX] (sys/stat.h): Do not allow header.
9467 [POSIX] (unistd.h): Likewise.
9468 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9469 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9470 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9471 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9472 require.
9473 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9474 sigevent): Specify elements.
9475 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9476 entry.
9477 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9478 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9479
a483863f
JM
9480 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9481 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9482 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9483 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9484 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9485 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9486 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9487 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9488 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9489 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9490 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9491 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9492 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9493 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9494 Likewise.
9495 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9496 Likewise.
9497 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9498 Likewise.
9499 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9500 Likewise.
9501 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9502 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9503 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9504 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9505 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9506 Specify lower bound on value.
9507 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9508 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9509 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9510 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9511 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9512 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9513 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9514 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9515 value.
9516 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9517 as optional.
9518 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9519 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9520 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9521 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9522 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9523 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9524 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9525 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9526 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9527 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9528 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9529 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9530 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9531 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9532 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9533 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9534 entry.
9535 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9536 optional.
9537 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9538 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9539 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9540 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9541 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9542 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9543 Likewise.
9544 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9545 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9546 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9547 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9548 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9549 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9550 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9551 as optional.
9552 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9553 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9554 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9555 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9556 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9557 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9558 specify as optional.
9559 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9560 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9561 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9562 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9563 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9564 [XPG3] (NL_LANGMAX): Likewise.
9565 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9566 [POSIX || XPG3] (NL_NMAX): Likewise.
9567 [POSIX || XPG3] (NL_SETMAX): Likewise.
9568 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9569 [XPG3] (NZERO): Likewise.
9570 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9571 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9572 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9573 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9574 (REG_ERANGE): Expect.
9575 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9576 optional-constant.
9577 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9578 Use (void) in prototype.
9579 [POSIX] (*_t): Allow.
9580 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9581 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9582 (WRDE_BADVAL): Expect.
9583
5ba924e3
JM
9584 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9585 expect.
9586 [XPG3 || XPG4] (O_RSYNC): Likewise.
9587 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9588 Likewise.
9589 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9590 [XPG3 || XPG4] (sigqueue): Likewise.
9591 [XPG3 || XPG4] (sigtimedwait): Likewise.
9592 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9593 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9594 [XPG3 || XPG4] (vsnprintf): Likewise.
9595 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9596 Likewise.
9597 [XPG3 || XPG4] (blksize_t): Likewise.
9598 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9599 Likewise.
9600 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9601 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9602 [XPG3 || XPG4] (struct itimerspec): Likewise.
9603 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9604 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9605 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9606 [XPG3 || XPG4] (clockid_t): Likewise.
9607 [XPG3 || XPG4] (timer_t): Likewise.
9608 [XPG3 || XPG4] (clock_getres): Likewise.
9609 [XPG3 || XPG4] (clock_gettime): Likewise.
9610 [XPG3 || XPG4] (clock_settime): Likewise.
9611 [XPG3 || XPG4] (nanosleep): Likewise.
9612 [XPG3 || XPG4] (timer_create): Likewise.
9613 [XPG3 || XPG4] (timer_delete): Likewise.
9614 [XPG3 || XPG4] (timer_gettime): Likewise.
9615 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9616 [XPG3 || XPG4] (timer_settime): Likewise.
9617 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9618 [XPG3 || XPG4] (getlogin_r): Likewise.
9619 [XPG3 || XPG4] (pread): Likewise.
9620 [XPG3 || XPG4] (pthread_atfork): Likewise.
9621 [XPG3 || XPG4] (pwrite): Likewise.
9622
ee663277
JM
9623 [BZ #14835]
9624 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9625 <bits/siginfo.h>.
9626
942caa16
PT
96272012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9628
e19af380
PT
9629 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9630 finalizing MALLSTREAM.
9631
942caa16
PT
9632 * sysdeps/mach/hurd/syncfs.c: New file.
9633
cfde9b46
SP
96342012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9635
9636 [BZ #14719]
9637 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9638 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9639 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9640 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9641 (_nss_dns_gethostbyname4_r): Likewise.
9642 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9643 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9644
f6da27e5
PH
96452012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9646
9647 [BZ #13763]
9648 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9649
6665d4a2
SM
96502012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9651
1f51ee92
SM
9652 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9653 * elf/cache.c (print_entry): Print ",AArch64" for
9654 FLAG_AARCH64_LIB64
9655
6665d4a2
SM
9656 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9657 * elf/cache.c (print_entry): Print ",hard-float" for
9658 FLAG_ARM_LIBHF.
9659
05b227bd
DM
96602012-11-18 David S. Miller <davem@davemloft.net>
9661
9662 With help from Joseph Myers.
9663 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9664 cutoff to 2**-13.
9665 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9666 cutoff to 2**-25.
9667 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9668 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9669 small.
9670 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9671 * math/libm-test.inc (y0_test): New tests.
9672 (y1_test): New tests.
9673 * sysdeps/i386/fpu/libm-test-ulps: Update.
9674 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9676
786b0b67
AS
96772012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9678
9679 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9680 64-bit targets.
9681 * configure: Regenerated.
9682
8e18b86d
DM
96832012-11-17 David S. Miller <davem@davemloft.net>
9684
9685 [BZ #14811]
9686 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9687 nonzero exponents with absolute value below 0x1p-128 to +/-
9688 0x1p-128.
9689
531f1ae0
JM
96902012-11-17 Joseph Myers <joseph@codesourcery.com>
9691
12df29e2
JM
9692 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9693
150dc1a0
JM
9694 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9695
531f1ae0
JM
9696 * posix/getconf-speclist.c: New file.
9697 * posix/posix-envs.def: Likewise.
9698 * posix/confstr.c (START_ENV_GROUP): New macro.
9699 (END_ENV_GROUP): Likewise.
9700 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9701 (KNOWN_PRESENT_ENV_STRING): Likewise.
9702 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9703 (UNKNOWN_ENVIRONMENT): Likewise.
9704 (confstr): Include posix-envs.def instead of handling
9705 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9706 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9707 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9708 (END_ENV_GROUP): Likewise.
9709 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9710 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9711 (UNKNOWN_ENVIRONMENT): Likewise.
9712 (__sysconf): Include posix-envs.def instead of handling associated
9713 cases directly here.
9714 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9715 preprocessing getconf-speclist.c rather than running getconf or
9716 generating empty file.
9717
a93f9cbc
PT
97182012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9719
9720 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9721
d64d9f87
AL
97222012-11-16 Andrej Lajovic <natrij@gmail.com>
9723
9724 [BZ #14672]
9725 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9726
447885eb
DM
97272012-11-16 David S. Miller <davem@davemloft.net>
9728
9729 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9730 smaller than LDBL_EPSILON/2.0L, just return xm1.
9731
bcbf9830
L
97322012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9733
9734 * elf/tst-array1.c (init): Set constructor priority to 1000.
9735 (fini): Set destructor priority to 1000.
9736 * elf/tst-array2dep.c: Likewise.
9737
2b766585
SP
97382012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9739
9740 [BZ #11741]
9741 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9742 (_IO_new_file_xsputn): Also return EOF if none of the input
9743 data was written when overflow failed.
9744 * libio/iopadn.c (_IO_padn): Likewise.
9745 * libio/iowpadn.c (_IO_wpadn): Likewise.
9746 * stdio-common/tst-put-error.c: Add copyright notice.
9747 (do_test): Add case for printing padded string.
9748 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9749 _IO_padn returned error.
9750 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9751 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9752 return EOF.
9753
b1848fde
SP
97542012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9755
9756 * libio/libioP.h: Add comment note that the references to C++
9757 bits are now obsolete.
9758
2fd89785
MS
97592012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9760
9761 * math/libm-test.inc (check_complex): Use asprintf.
9762
e3ea5409
JM
97632012-11-14 Joseph Myers <joseph@codesourcery.com>
9764
9765 * debug/pcprofiledump.c (print_version): Update copyright year.
9766 * malloc/memusagestat.c (print_version): Likewise.
9767
2e64d265
L
97682012-11-14 H.J. Lu <hongjiu.lu@intel.com>
9769
9770 [BZ #14831]
9771 * elf/Makefile (tests): Add tst-audit8.
9772 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9773 ($(objpfx)tst-audit8.out): New target.
9774 (tst-audit8-ENV): New variable.
9775 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9776 audit if l_reloc_result is NULL.
9777 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9778 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9779 * elf/tst-audit8.c: New file.
9780
c485e4d2
MS
97812012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9782
9783 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9784 * misc/Makefile (CFLAGS-select.c): Define.
9785 * posix/Makefile (CFLAGS-pause.c): Define.
9786
3a0d900a
DM
97872012-11-13 David S. Miller <davem@davemloft.net>
9788
9789 * crypt/Makefile: Move test targets after toplevel Rules
9790 inclusion. Grab any necessary sysdep routines when linking.
9791 * crypt/md5.c (md5_process_block): Remove define, we will always
9792 name it __md5_process_block.
9793 (md5_finish_ctx): Update md5_process_block call.
9794 (md5_stream): Likewise.
9795 (md5_process_bytes): Likewise.
9796 (md5_process_block): Rename to __md5_process_block and move to ...
9797 * crypt/md5-block.c: ... here.
9798 * crypt/sha256.c (sha256_process_block): Move to ...
9799 * crypt/sha256-block.c: ... here.
9800 * crypt/sha512.c (sha512_process_block): Move to ...
9801 * crypt/sha512-block.c: ... here.
9802 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9803 path.
9804 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9805 * sysdeps/sparc/sparc64/multiarch/Makefile
9806 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9807 crypt subdir.
9808 (localedef-aux): Add md5 crypto assembler when in locale subdir.
9809 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9810 multiarch changes.
9811 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9812 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9813 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9814 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9815 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9816 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9817 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9818 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9819 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9820 file.
9821 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9822 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9823 file.
9824 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9825
8ca89318
JM
98262012-11-13 Joseph Myers <joseph@codesourcery.com>
9827
e27d476a
JM
9828 * timezone/tzselect.ksh: Update from tzcode git revision
9829 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9830 * timezone/zdump.c: Likewise.
9831 * timezone/zic.c: Likewise.
9832 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9833 in TZVERSION setting, not $(PKGVERSION).
9834 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
9835 REPORT_BUGS_TO settings.
9836
8ca89318
JM
9837 [BZ #14838]
9838 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9839 macro.
9840
47594329
MS
98412012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9842
9843 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9844 detection to immediately after _FP_ROUND().
9845 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9846 bits are 0.
9847
640ac3f1
DM
98482012-11-11 David S. Miller <davem@davemloft.net>
9849
9850 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9851 inttypes.h
9852 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9853 __close rather than their public counterparts.
9854
3d2577bb
JM
98552012-11-10 Joseph Myers <joseph@codesourcery.com>
9856
9857 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9858 file.
9859 [UNIX98] (sem_timedwait): Do not expect.
9860 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9861 [XPG4 || UNIX98] (sockatmark): Do not expect.
9862 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9863 (clock_getcpuclockid): Do not expect.
9864 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9865 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9866 Do not expect.
9867 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9868 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9869 [UNIX98] (vwscanf): Likewise.
9870 [UNIX98] (vswscanf): Likewise.
9871
fb1ae1ee
JM
98722012-11-09 Joseph Myers <joseph@codesourcery.com>
9873
9ec6f8bd
JM
9874 * timezone/version.h: Remove file.
9875 * timezone/README: Do not refer to version.h.
9876 * timezone/Makefile ($(objpfx)zic.o): New dependency on
9877 $(objpfx)version.h.
9878 ($(objpfx)zdump.o): Likewise.
c3f81911 9879 ($(objpfx)version.h): New target.
9ec6f8bd 9880
0aa8f8a1
JM
9881 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9882 2012i.
9883 * timezone/README: Don't mention modification to tzselect.ksh.
9884 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9885 work on unmodified tzselect.ksh. Substitute version numbers in
9886 tzselect.ksh.
9887
4e87147f
JM
9888 * Makefile (format-me): Remove.
9889 (INSTALL): Adjust indentation. Use commands directly instead of
9890 using $(format-me).
9891
8b748aed
JM
9892 * aclocal.m4 (ACX_PKGVERSION): New macro.
9893 (ACX_BUGURL): Likewise.
9894 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9895 (PKGVERSION): New AC_DEFINE_UNQUOTED.
9896 (REPORT_BUGS_TO): Likewise.
9897 * configure: Regenerated.
9898 * config.h.in (PKGVERSION): New macro.
9899 (REPORT_BUGS_TO): Likewise.
9900 * config.make.in (PKGVERSION): New variable.
9901 (PKGVERSION_TEXI): Likewise.
9902 (REPORT_BUGS_TO): Likewise.
9903 (REPORT_BUGS_TEXI): Likewise.
9904 * Makefile (format-me): Use -I$(common-objpfx)manual.
9905 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9906 ($(common-objpfx)manual/%): New target.
9907 (manual/%): Remove target.
9908 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9909 (print_version): Use PKGVERSION.
9910 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9911 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9912 and REPORT_BUGS_TO.
9913 ($(objpfx)xtrace): Likewise.
9914 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9915 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9916 (print_version): Use PKGVERSION.
9917 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9918 (do_version): Use PKGVERSION.
9919 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9920 REPORT_BUGS_TO.
9921 (common-ldd-rewrite): Likewise.
9922 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9923 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9924 (print_version): Use PKGVERSION.
9925 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9926 * elf/pldd.c (argp_program_bug_address): Remove variable.
9927 (more_help): New function.
9928 (argp): Use more_help.
9929 (print_version): Use PKGVERSION.
9930 * elf/sln.c (main): Use PKGVERSION.
9931 (usage): Use REPORT_BUGS_TO.
9932 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9933 (top level): Use PKGVERSION.
9934 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9935 (print_version): Use PKGVERSION.
9936 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9937 (print_version): Use PKGVERSION.
9938 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9939 (print_version): Use PKGVERSION.
9940 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9941 (print_version): Use PKGVERSION.
9942 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9943 (print_version): Use PKGVERSION.
9944 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9945 (print_version): Use PKGVERSION.
9946 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9947 and BUGURL.
9948 ($(objpfx)memusage): Likewise.
9949 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9950 (do_version): Use PKGVERSION.
9951 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9952 (print_version): Use PKGVERSION.
9953 * malloc/mtrace.pl ($PACKAGE): Remove variable.
9954 ($PKGVERSION): New variable.
9955 ($REPORT_BUGS_TO): Likewise.
9956 (usage): Use $REPORT_BUGS_TO.
9957 (top level): Use $PKGVERSION.
9958 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9959 ($(objpfx)pkgvers.texi): New rule.
9960 ($(objpfx)stamp-pkgvers): Likewise.
9961 * manual/install.texi: Include pkgvers.texi.
9962 (--with-pkgversion): Document new configure option.
9963 (--with-bugurl): Likewise.
9964 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9965 than necessarily for this particular distribution. Use
9966 REPORT_BUGS_TO for where to report bugs.
9967 * INSTALL: Regenerated.
9968 * manual/libc.texinfo: Include pkgvers.texi.
9969 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9970 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9971 (print_version): Use PKGVERSION.
9972 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9973 (print_version): Use PKGVERSION.
9974 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9975 (print_version): Use PKGVERSION.
9976 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9977 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9978 macro.
9979 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9980 (print_version): Use PKGVERSION.
9981 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9982 (print_version): Use PKGVERSION.
9983 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9984 and PKGVERSION.
9985
92e4b6a9
JM
9986 * timezone/checktab.awk: Update from tzcode 2012i.
9987 * timezone/ialloc.c: Likewise.
9988 * timezone/private.h: Likewise.
9989 * timezone/scheck.c: Likewise.
9990 * timezone/tzfile.h: Likewise.
9991 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9992 (TZVERSION): Hardcode tzcode version number.
9993 * timezone/zdump.c: Update from tzcode 2012i.
9994 * timezone/zic.c: Likewise.
9995 * timezone/version.h: New file.
9996 * timezone/README: Describe version.h. Update upstream location.
9997
9bde902c
JM
9998 [BZ #14824]
9999 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10000 (mktemp): Enable declaration.
10001 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10002 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10003 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10004 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10005 Likewise.
10006 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10007 Likewise.
10008 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10009 Likewise.
10010 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10011 Likewise.
10012 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10013 Likewise.
10014 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10015 Likewise.
10016
fb1ae1ee
JM
10017 [BZ #14821]
10018 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10019 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10020 for copies of such integer values.
10021 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10022 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10023
2c1adbcb
AJ
100242012-11-09 Andreas Jaeger <aj@suse.de>
10025
10026 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10027 definitions and declarations that are provided by
10028 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10029
d0f8457e
AK
100302012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10031
3a235abb 10032 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
10033 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10034 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10035 definition.
10036
57241e26
MS
100372012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10038
10039 * elf/elf.h: Update comment before AArch64 relocations.
10040
60e8270d
DM
100412012-11-07 David S. Miller <davem@davemloft.net>
10042
10043 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10044 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10045 (__start_context): Declare.
10046 (__makecontext_ret): Delete.
10047 (__makecontext): Hook up __start_context instead of
10048 __makecontext_ret.
10049 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10050 (sysdep_routines): Add __start_context when in stdlib.
10051
0fbb0fbc
JM
100522012-11-07 Joseph Myers <joseph@codesourcery.com>
10053
10054 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10055 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10056 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10057 hardcoded "nm".
10058 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10059 (READELF): New variable. Use it instead of hardcoded "readelf".
10060
eb48db7e
L
100612012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10062
10063 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10064 * sysdeps/x86/Makefile: Here.
10065 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10066 * sysdeps/x86/tst-xmmymm.sh: This.
10067
05bcf62a
JM
100682012-11-07 Joseph Myers <joseph@codesourcery.com>
10069
c4b6cf53
JM
10070 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10071 expectations.
10072 [UNIX98] (pthread_barrier_t): Do not expect.
10073 [UNIX98] (pthread_barrierattr_t): Likewise.
10074 [UNIX98] (pthread_spinlock_t): Likewise.
10075 [UNIX98] (pthread_barrier_destroy): Likewise.
10076 [UNIX98] (pthread_barrier_init): Likewise.
10077 [UNIX98] (pthread_barrier_wait): Likewise.
10078 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10079 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10080 [UNIX98] (pthread_barrierattr_init): Likewise.
10081 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10082 [UNIX98] (pthread_getcpuclockid): Likewise.
10083 [UNIX98] (pthread_mutex_timedlock): Likewise.
10084 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10085 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10086 [UNIX98] (pthread_sigmask): Likewise.
10087 [UNIX98] (pthread_spin_destroy): Likewise.
10088 [UNIX98] (pthread_spin_init): Likewise.
10089 [UNIX98] (pthread_spin_lock): Likewise.
10090 [UNIX98] (pthread_spin_trylock): Likewise.
10091 [UNIX98] (pthread_spin_unlock): Likewise.
10092 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10093 Do not expect.
10094 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10095 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10096 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10097 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10098 [XPG3 || XPG4] (pthread_key_t): Likewise.
10099 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10100 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10101 [XPG3 || XPG4] (pthread_once_t): Likewise.
10102 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10103 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10104 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10105 [XPG3 || XPG4] (pthread_t): Likewise.
10106
cbe6e120
JM
10107 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10108 not expect.
10109 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10110
1b126443
JM
10111 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10112 Change function return type to int.
10113
b961a573
JM
10114 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10115 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10116 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10117 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10118 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10119 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10120 [!POSIX] (posix_madvise): Likewise.
10121 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10122 && !UNIX98].
10123 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10124 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10125 (mode_t): Likewise.
10126 (posix_mem_offset): Likewise.
10127 (posix_typed_mem_get_info): Likewise.
10128 (posix_typed_mem_open): Likewise.
10129
9e188909
JM
10130 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10131 Change condition to [XOPEN2K8].
10132
05bcf62a
JM
10133 * conform/conformtest.pl: Preprocess allow-header data with -x c
10134 instead of from stdin.
10135 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10136 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10137 [C99-based standards] (cerfc): Likewise.
10138 [C99-based standards] (cexp2): Likewise.
10139 [C99-based standards] (cexpm1): Likewise.
10140 [C99-based standards] (clog10): Likewise.
10141 [C99-based standards] (clog1p): Likewise.
10142 [C99-based standards] (clog2): Likewise.
10143 [C99-based standards] (clgamma): Likewise.
10144 [C99-based standards] (ctgamma): Likewise.
10145 [C99-based standards] (cerff): Likewise.
10146 [C99-based standards] (cerfcf): Likewise.
10147 [C99-based standards] (cexp2f): Likewise.
10148 [C99-based standards] (cexpm1f): Likewise.
10149 [C99-based standards] (clog10f): Likewise.
10150 [C99-based standards] (clog1pf): Likewise.
10151 [C99-based standards] (clog2f): Likewise.
10152 [C99-based standards] (clgammaf): Likewise.
10153 [C99-based standards] (ctgammaf): Likewise.
10154 [C99-based standards] (cerfl): Likewise.
10155 [C99-based standards] (cerfcl): Likewise.
10156 [C99-based standards] (cexp2l): Likewise.
10157 [C99-based standards] (cexpm1l): Likewise.
10158 [C99-based standards] (clog10l): Likewise.
10159 [C99-based standards] (clog1pl): Likewise.
10160 [C99-based standards] (clog2l): Likewise.
10161 [C99-based standards] (clgammal): Likewise.
10162 [C99-based standards] (ctgammal): Likewise.
10163 * conform/data/inttypes.h-data [C99-based standards]: Include
10164 stdint.h-data. Remove all expectations for stdint.h contents.
10165 [C99-based standards] (PRI*): Do not allow.
10166 [C99-based standards] (SCN*): Likewise.
10167 [C99-based standards] (*_t): Likewise.
10168 [C99-based-standards] (PRId8): Expect macro.
10169 [C99-based-standards] (PRIi8): Likewise.
10170 [C99-based-standards] (PRIo8): Likewise.
10171 [C99-based-standards] (PRIu8): Likewise.
10172 [C99-based-standards] (PRIx8): Likewise.
10173 [C99-based-standards] (PRIX8): Likewise.
10174 [C99-based-standards] (SCNd8): Likewise.
10175 [C99-based-standards] (SCNi8): Likewise.
10176 [C99-based-standards] (SCNo8): Likewise.
10177 [C99-based-standards] (SCNu8): Likewise.
10178 [C99-based-standards] (SCNx8): Likewise.
10179 [C99-based-standards] (PRIdLEAST8): Likewise.
10180 [C99-based-standards] (PRIiLEAST8): Likewise.
10181 [C99-based-standards] (PRIoLEAST8): Likewise.
10182 [C99-based-standards] (PRIuLEAST8): Likewise.
10183 [C99-based-standards] (PRIxLEAST8): Likewise.
10184 [C99-based-standards] (PRIXLEAST8): Likewise.
10185 [C99-based-standards] (SCNdLEAST8): Likewise.
10186 [C99-based-standards] (SCNiLEAST8): Likewise.
10187 [C99-based-standards] (SCNoLEAST8): Likewise.
10188 [C99-based-standards] (SCNuLEAST8): Likewise.
10189 [C99-based-standards] (SCNxLEAST8): Likewise.
10190 [C99-based-standards] (PRIdFAST8): Likewise.
10191 [C99-based-standards] (PRIiFAST8): Likewise.
10192 [C99-based-standards] (PRIoFAST8): Likewise.
10193 [C99-based-standards] (PRIuFAST8): Likewise.
10194 [C99-based-standards] (PRIxFAST8): Likewise.
10195 [C99-based-standards] (PRIXFAST8): Likewise.
10196 [C99-based-standards] (SCNdFAST8): Likewise.
10197 [C99-based-standards] (SCNiFAST8): Likewise.
10198 [C99-based-standards] (SCNoFAST8): Likewise.
10199 [C99-based-standards] (SCNuFAST8): Likewise.
10200 [C99-based-standards] (SCNxFAST8): Likewise.
10201 [C99-based-standards] (PRId16): Likewise.
10202 [C99-based-standards] (PRIi16): Likewise.
10203 [C99-based-standards] (PRIo16): Likewise.
10204 [C99-based-standards] (PRIu16): Likewise.
10205 [C99-based-standards] (PRIx16): Likewise.
10206 [C99-based-standards] (PRIX16): Likewise.
10207 [C99-based-standards] (SCNd16): Likewise.
10208 [C99-based-standards] (SCNi16): Likewise.
10209 [C99-based-standards] (SCNo16): Likewise.
10210 [C99-based-standards] (SCNu16): Likewise.
10211 [C99-based-standards] (SCNx16): Likewise.
10212 [C99-based-standards] (PRIdLEAST16): Likewise.
10213 [C99-based-standards] (PRIiLEAST16): Likewise.
10214 [C99-based-standards] (PRIoLEAST16): Likewise.
10215 [C99-based-standards] (PRIuLEAST16): Likewise.
10216 [C99-based-standards] (PRIxLEAST16): Likewise.
10217 [C99-based-standards] (PRIXLEAST16): Likewise.
10218 [C99-based-standards] (SCNdLEAST16): Likewise.
10219 [C99-based-standards] (SCNiLEAST16): Likewise.
10220 [C99-based-standards] (SCNoLEAST16): Likewise.
10221 [C99-based-standards] (SCNuLEAST16): Likewise.
10222 [C99-based-standards] (SCNxLEAST16): Likewise.
10223 [C99-based-standards] (PRIdFAST16): Likewise.
10224 [C99-based-standards] (PRIiFAST16): Likewise.
10225 [C99-based-standards] (PRIoFAST16): Likewise.
10226 [C99-based-standards] (PRIuFAST16): Likewise.
10227 [C99-based-standards] (PRIxFAST16): Likewise.
10228 [C99-based-standards] (PRIXFAST16): Likewise.
10229 [C99-based-standards] (SCNdFAST16): Likewise.
10230 [C99-based-standards] (SCNiFAST16): Likewise.
10231 [C99-based-standards] (SCNoFAST16): Likewise.
10232 [C99-based-standards] (SCNuFAST16): Likewise.
10233 [C99-based-standards] (SCNxFAST16): Likewise.
10234 [C99-based-standards] (PRId32): Likewise.
10235 [C99-based-standards] (PRIi32): Likewise.
10236 [C99-based-standards] (PRIo32): Likewise.
10237 [C99-based-standards] (PRIu32): Likewise.
10238 [C99-based-standards] (PRIx32): Likewise.
10239 [C99-based-standards] (PRIX32): Likewise.
10240 [C99-based-standards] (SCNd32): Likewise.
10241 [C99-based-standards] (SCNi32): Likewise.
10242 [C99-based-standards] (SCNo32): Likewise.
10243 [C99-based-standards] (SCNu32): Likewise.
10244 [C99-based-standards] (SCNx32): Likewise.
10245 [C99-based-standards] (PRIdLEAST32): Likewise.
10246 [C99-based-standards] (PRIiLEAST32): Likewise.
10247 [C99-based-standards] (PRIoLEAST32): Likewise.
10248 [C99-based-standards] (PRIuLEAST32): Likewise.
10249 [C99-based-standards] (PRIxLEAST32): Likewise.
10250 [C99-based-standards] (PRIXLEAST32): Likewise.
10251 [C99-based-standards] (SCNdLEAST32): Likewise.
10252 [C99-based-standards] (SCNiLEAST32): Likewise.
10253 [C99-based-standards] (SCNoLEAST32): Likewise.
10254 [C99-based-standards] (SCNuLEAST32): Likewise.
10255 [C99-based-standards] (SCNxLEAST32): Likewise.
10256 [C99-based-standards] (PRIdFAST32): Likewise.
10257 [C99-based-standards] (PRIiFAST32): Likewise.
10258 [C99-based-standards] (PRIoFAST32): Likewise.
10259 [C99-based-standards] (PRIuFAST32): Likewise.
10260 [C99-based-standards] (PRIxFAST32): Likewise.
10261 [C99-based-standards] (PRIXFAST32): Likewise.
10262 [C99-based-standards] (SCNdFAST32): Likewise.
10263 [C99-based-standards] (SCNiFAST32): Likewise.
10264 [C99-based-standards] (SCNoFAST32): Likewise.
10265 [C99-based-standards] (SCNuFAST32): Likewise.
10266 [C99-based-standards] (SCNxFAST32): Likewise.
10267 [C99-based-standards] (PRId64): Likewise.
10268 [C99-based-standards] (PRIi64): Likewise.
10269 [C99-based-standards] (PRIo64): Likewise.
10270 [C99-based-standards] (PRIu64): Likewise.
10271 [C99-based-standards] (PRIx64): Likewise.
10272 [C99-based-standards] (PRIX64): Likewise.
10273 [C99-based-standards] (SCNd64): Likewise.
10274 [C99-based-standards] (SCNi64): Likewise.
10275 [C99-based-standards] (SCNo64): Likewise.
10276 [C99-based-standards] (SCNu64): Likewise.
10277 [C99-based-standards] (SCNx64): Likewise.
10278 [C99-based-standards] (PRIdLEAST64): Likewise.
10279 [C99-based-standards] (PRIiLEAST64): Likewise.
10280 [C99-based-standards] (PRIoLEAST64): Likewise.
10281 [C99-based-standards] (PRIuLEAST64): Likewise.
10282 [C99-based-standards] (PRIxLEAST64): Likewise.
10283 [C99-based-standards] (PRIXLEAST64): Likewise.
10284 [C99-based-standards] (SCNdLEAST64): Likewise.
10285 [C99-based-standards] (SCNiLEAST64): Likewise.
10286 [C99-based-standards] (SCNoLEAST64): Likewise.
10287 [C99-based-standards] (SCNuLEAST64): Likewise.
10288 [C99-based-standards] (SCNxLEAST64): Likewise.
10289 [C99-based-standards] (PRIdFAST64): Likewise.
10290 [C99-based-standards] (PRIiFAST64): Likewise.
10291 [C99-based-standards] (PRIoFAST64): Likewise.
10292 [C99-based-standards] (PRIuFAST64): Likewise.
10293 [C99-based-standards] (PRIxFAST64): Likewise.
10294 [C99-based-standards] (PRIXFAST64): Likewise.
10295 [C99-based-standards] (SCNdFAST64): Likewise.
10296 [C99-based-standards] (SCNiFAST64): Likewise.
10297 [C99-based-standards] (SCNoFAST64): Likewise.
10298 [C99-based-standards] (SCNuFAST64): Likewise.
10299 [C99-based-standards] (SCNxFAST64): Likewise.
10300 [C99-based-standards] (PRIdMAX): Likewise.
10301 [C99-based-standards] (PRIiMAX): Likewise.
10302 [C99-based-standards] (PRIoMAX): Likewise.
10303 [C99-based-standards] (PRIuMAX): Likewise.
10304 [C99-based-standards] (PRIxMAX): Likewise.
10305 [C99-based-standards] (PRIXMAX): Likewise.
10306 [C99-based-standards] (SCNdMAX): Likewise.
10307 [C99-based-standards] (SCNiMAX): Likewise.
10308 [C99-based-standards] (SCNoMAX): Likewise.
10309 [C99-based-standards] (SCNuMAX): Likewise.
10310 [C99-based-standards] (SCNxMAX): Likewise.
10311 [C99-based-standards] (PRIdPTR): Likewise.
10312 [C99-based-standards] (PRIiPTR): Likewise.
10313 [C99-based-standards] (PRIoPTR): Likewise.
10314 [C99-based-standards] (PRIuPTR): Likewise.
10315 [C99-based-standards] (PRIxPTR): Likewise.
10316 [C99-based-standards] (PRIXPTR): Likewise.
10317 [C99-based-standards] (SCNdPTR): Likewise.
10318 [C99-based-standards] (SCNiPTR): Likewise.
10319 [C99-based-standards] (SCNoPTR): Likewise.
10320 [C99-based-standards] (SCNuPTR): Likewise.
10321 [C99-based-standards] (SCNxPTR): Likewise.
10322 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10323 allow.
10324 * conform/data/stdint.h-data: Update comments to clarify
10325 requirements.
10326 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
10327 type.
10328 [C99-based standards] (INT8_MAX): Likewise.
10329 [C99-based standards] (INT16_MIN): Likewise.
10330 [C99-based standards] (INT16_MAX): Likewise.
10331 [C99-based standards] (INT32_MIN): Likewise.
10332 [C99-based standards] (INT32_MAX): Likewise.
10333 [C99-based standards] (INT64_MIN): Likewise.
10334 [C99-based standards] (INT64_MAX): Likewise.
10335 [C99-based standards] (UINT8_MAX): Likewise.
10336 [C99-based standards] (UINT16_MAX): Likewise.
10337 [C99-based standards] (UINT32_MAX): Likewise.
10338 [C99-based standards] (UINT64_MAX): Likewise.
10339 [C99-based standards] (INT_LEAST8_MIN): Likewise.
10340 [C99-based standards] (INT_LEAST8_MAX): Likewise.
10341 [C99-based standards] (INT_LEAST16_MIN): Likewise.
10342 [C99-based standards] (INT_LEAST16_MAX): Likewise.
10343 [C99-based standards] (INT_LEAST32_MIN): Likewise.
10344 [C99-based standards] (INT_LEAST32_MAX): Likewise.
10345 [C99-based standards] (INT_LEAST64_MIN): Likewise.
10346 [C99-based standards] (INT_LEAST64_MAX): Likewise.
10347 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10348 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10349 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10350 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10351 [C99-based standards] (INT_FAST8_MIN): Likewise.
10352 [C99-based standards] (INT_FAST8_MAX): Likewise.
10353 [C99-based standards] (INT_FAST16_MIN): Likewise.
10354 [C99-based standards] (INT_FAST16_MAX): Likewise.
10355 [C99-based standards] (INT_FAST32_MIN): Likewise.
10356 [C99-based standards] (INT_FAST32_MAX): Likewise.
10357 [C99-based standards] (INT_FAST64_MIN): Likewise.
10358 [C99-based standards] (INT_FAST64_MAX): Likewise.
10359 [C99-based standards] (UINT_FAST8_MAX): Likewise.
10360 [C99-based standards] (UINT_FAST16_MAX): Likewise.
10361 [C99-based standards] (UINT_FAST32_MAX): Likewise.
10362 [C99-based standards] (UINT_FAST64_MAX): Likewise.
10363 [C99-based standards] (INTPTR_MIN): Likewise.
10364 [C99-based standards] (INTPTR_MAX): Likewise.
10365 [C99-based standards] (UINTPTR_MAX): Likewise.
10366 [C99-based standards] (INTMAX_MIN): Likewise.
10367 [C99-based standards] (INTMAX_MAX): Likewise.
10368 [C99-based standards] (UINTMAX_MAX): Likewise.
10369 [C99-based standards] (PTRDIFF_MIN): Likewise.
10370 [C99-based standards] (PTRDIFF_MAX): Likewise.
10371 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10372 [C99-based standards] (SIZE_MAX): Likewise.
10373 [C99-based standards] (WCHAR_MAX): Likewise.
10374 [C99-based standards] (WINT_MAX): Likewise.
10375 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
10376 constraint on value.
10377 [C99-based standards] (WCHAR_MIN): Likewise.
10378 [C99-based standards] (WINT_MIN): Likewise.
10379 [C99-based standards] (*_t): Allow.
10380 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10381 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10382 Include math.h-data and complex.h-data. Remove all expectations
10383 of math.h and complex.h contents.
10384 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10385 at end of line.
10386 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10387 (struct tm): Expect tag.
10388 [C99-based-standards] (wcstof): Expect function.
10389 [C99-based-standards] (wcstold): Likewise.
10390 [C99-based-standards] (wcstoll): Likewise.
10391 [C99-based-standards] (wcstoull): Likewise.
10392 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10393 macro-int-constant. Specify type.
10394 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
10395 constraint on value.
10396 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10397 Specify type.
10398 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10399 Specify value.
10400 [ISO C standards]: Do not allow headers.
10401 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10402 wcs[abcdefghijklmnopqrstuvwxyz]*.
10403 [ISO C standards] (*_t): Do not allow.
10404 * conform/data/wctype.h-data [C99-based standards] (iswblank):
10405 Expect function.
10406 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10407 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10408 Specify type.
10409 [ISO C standards]: Do not allow headers.
10410 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10411 is[abcdefghijklmnopqrstuvwxyz]*.
10412 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10413 to[abcdefghijklmnopqrstuvwxyz]*.
10414 [ISO C standards] (*_t): Do not allow.
10415 * conform/data/stdalign.h-data: New file.
10416 * conform/data/stdbool.h-data: Likewise.
10417 * conform/data/stdnoreturn.h-data: Likewise.
10418
7514feb8
RM
104192012-11-07 Roland McGrath <roland@hack.frob.com>
10420
10421 [BZ #14815]
10422 * manual/filesys.texi (Directory Entries): Typo fix.
10423 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10424
19b2ecfc
MS
104252012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10426
10427 * elf/elf.h (EM_AARCH64): New macro.
10428 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10429 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10430 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10431 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10432 (R_AARCH64_TLSDESC): Likewise.
10433 (NT_ARM_TLS): Likewise.
10434 (NT_ARM_HW_BREAK): Likewise.
10435 (NT_ARM_HW_WATCH): Likewise.
10436
60e235ee
JM
104372012-11-07 Joseph Myers <joseph@codesourcery.com>
10438
10439 [BZ #14811]
10440 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10441 (__ieee754_powl): Saturate nonzero exponents with absolute value
10442 below 0x1p-79 to +/- 0x1p-79.
10443 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10444 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10445 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10446 nonzero exponents with absolute value below 0x1p-32 to +/-
10447 0x1p-32.
10448 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10449 (__ieee754_powl): Saturate nonzero exponents with absolute value
10450 below 0x1p-79 to +/- 0x1p-79.
10451 * math/libm-test.inc (pow_test): Add more tests.
10452
0ab234b7
AK
104532012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10454
10455 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10456 _dl_s390_cap_flags with kernel. Increase string length.
10457 (_dl_s390_platforms): Add z196 and zEC12.
10458
45832f74
JM
104592012-11-07 Joseph Myers <joseph@codesourcery.com>
10460
10461 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10462 Change XOPEN21K to XOPEN2K.
10463
19218757
MK
104642012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
10465
10466 * string/memmove.c: Use memcpy when possible.
10467
c5f45721
AJ
104682012-11-06 Andreas Jaeger <aj@suse.de>
10469
10470 * po/eo.po: Update from translation team.
10471
82477c28
JM
104722012-11-06 Joseph Myers <joseph@codesourcery.com>
10473
10474 [BZ #14793]
10475 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10476 exponent and small x and y exponents, scale x or y up. Increase
10477 by 2 the exponent used in scaling up.
10478 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10479 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10480 * math/libm-test.inc (fma_test): Add more tests.
10481 (fma_test_towardzero): Likewise.
10482 (fma_test_downward): Likewise.
10483 (fma_test_upward): Likewise.
10484
99252c8c
JM
104852012-11-05 Joseph Myers <joseph@codesourcery.com>
10486
acfa885f
JM
10487 [BZ #14805]
10488 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10489 fenv_t *.
10490
99252c8c
JM
10491 [BZ #14801]
10492 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10493 namespace for names of struct fields.
10494 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10495 fenv_t fields.
10496 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10497 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10498
d6d98dea
ST
104992012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10500
10501 [BZ #3665]
10502 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10503
e10bb107
TS
105042012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10505
10506 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10507 PTR_DEMANGLE.
10508
10509 [BZ #5246]
10510 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10511 PTR_DEMANGLE.
10512
a0c2940d
JM
105132012-11-04 Joseph Myers <joseph@codesourcery.com>
10514
10515 [BZ #14797]
10516 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10517 definitely overflow as x * y not x * y + z.
10518 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10519 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10520 * math/libm-test.inc (fma_test): Add more tests.
10521 (fma_test_towardzero): Likewise.
10522 (fma_test_downward): Likewise.
10523 (fma_test_upward): Likewise.
10524
b830319d
TS
105252012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10526
10527 [BZ #157]
10528
10529 * include/stub-tag.h: Remove file.
10530 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10531 '#include' of it.
10532 * manual/maint.texi (Porting): Don't reference it.
10533 * Makerules ($(objpfx)stubs): Likewise.
10534 * dirent/closedir.c: Don't include <stub-tag.h>.
10535 * dirent/dirfd.c: Likewise.
10536 * dirent/fdopendir.c: Likewise.
10537 * dirent/getdents.c: Likewise.
10538 * dirent/getdents64.c: Likewise.
10539 * dirent/opendir.c: Likewise.
10540 * dirent/readdir.c: Likewise.
10541 * dirent/readdir64.c: Likewise.
10542 * dirent/readdir64_r.c: Likewise.
10543 * dirent/readdir_r.c: Likewise.
10544 * dirent/rewinddir.c: Likewise.
10545 * dirent/seekdir.c: Likewise.
10546 * dirent/telldir.c: Likewise.
10547 * gmon/profil.c: Likewise.
10548 * grp/setgroups.c: Likewise.
10549 * inet/if_index.c: Likewise.
10550 * io/access.c: Likewise.
10551 * io/chdir.c: Likewise.
10552 * io/chmod.c: Likewise.
10553 * io/chown.c: Likewise.
10554 * io/close.c: Likewise.
10555 * io/dup.c: Likewise.
10556 * io/dup2.c: Likewise.
10557 * io/dup3.c: Likewise.
10558 * io/euidaccess.c: Likewise.
10559 * io/faccessat.c: Likewise.
10560 * io/fchdir.c: Likewise.
10561 * io/fchmod.c: Likewise.
10562 * io/fchmodat.c: Likewise.
10563 * io/fchown.c: Likewise.
10564 * io/fchownat.c: Likewise.
10565 * io/fcntl.c: Likewise.
10566 * io/flock.c: Likewise.
10567 * io/fstatfs.c: Likewise.
10568 * io/fstatfs64.c: Likewise.
10569 * io/fstatvfs.c: Likewise.
10570 * io/fstatvfs64.c: Likewise.
10571 * io/futimens.c: Likewise.
10572 * io/fxstat.c: Likewise.
10573 * io/fxstat64.c: Likewise.
10574 * io/fxstatat.c: Likewise.
10575 * io/fxstatat64.c: Likewise.
10576 * io/getcwd.c: Likewise.
10577 * io/isatty.c: Likewise.
10578 * io/lchmod.c: Likewise.
10579 * io/lchown.c: Likewise.
10580 * io/link.c: Likewise.
10581 * io/linkat.c: Likewise.
10582 * io/lseek.c: Likewise.
10583 * io/lseek64.c: Likewise.
10584 * io/lxstat64.c: Likewise.
10585 * io/mkdir.c: Likewise.
10586 * io/mkdirat.c: Likewise.
10587 * io/mkfifo.c: Likewise.
10588 * io/mkfifoat.c: Likewise.
10589 * io/open.c: Likewise.
10590 * io/open64.c: Likewise.
10591 * io/openat.c: Likewise.
10592 * io/openat64.c: Likewise.
10593 * io/pipe.c: Likewise.
10594 * io/pipe2.c: Likewise.
10595 * io/poll.c: Likewise.
10596 * io/posix_fadvise.c: Likewise.
10597 * io/posix_fadvise64.c: Likewise.
10598 * io/posix_fallocate.c: Likewise.
10599 * io/posix_fallocate64.c: Likewise.
10600 * io/read.c: Likewise.
10601 * io/readlink.c: Likewise.
10602 * io/readlinkat.c: Likewise.
10603 * io/rmdir.c: Likewise.
10604 * io/sendfile.c: Likewise.
10605 * io/sendfile64.c: Likewise.
10606 * io/statfs.c: Likewise.
10607 * io/statfs64.c: Likewise.
10608 * io/statvfs.c: Likewise.
10609 * io/statvfs64.c: Likewise.
10610 * io/symlink.c: Likewise.
10611 * io/symlinkat.c: Likewise.
10612 * io/ttyname.c: Likewise.
10613 * io/ttyname_r.c: Likewise.
10614 * io/umask.c: Likewise.
10615 * io/unlink.c: Likewise.
10616 * io/unlinkat.c: Likewise.
10617 * io/utime.c: Likewise.
10618 * io/utimensat.c: Likewise.
10619 * io/write.c: Likewise.
10620 * io/xmknod.c: Likewise.
10621 * io/xmknodat.c: Likewise.
10622 * io/xstat.c: Likewise.
10623 * io/xstat64.c: Likewise.
10624 * login/getpt.c: Likewise.
10625 * login/grantpt.c: Likewise.
10626 * login/unlockpt.c: Likewise.
10627 * math/e_acoshl.c: Likewise.
10628 * math/e_acosl.c: Likewise.
10629 * math/e_asinl.c: Likewise.
10630 * math/e_atan2l.c: Likewise.
10631 * math/e_atanhl.c: Likewise.
10632 * math/e_coshl.c: Likewise.
10633 * math/e_expl.c: Likewise.
10634 * math/e_fmodl.c: Likewise.
10635 * math/e_gammal_r.c: Likewise.
10636 * math/e_hypotl.c: Likewise.
10637 * math/e_j0l.c: Likewise.
10638 * math/e_j1l.c: Likewise.
10639 * math/e_jnl.c: Likewise.
10640 * math/e_lgammal_r.c: Likewise.
10641 * math/e_log10l.c: Likewise.
10642 * math/e_log2l.c: Likewise.
10643 * math/e_logl.c: Likewise.
10644 * math/e_powl.c: Likewise.
10645 * math/e_rem_pio2l.c: Likewise.
10646 * math/e_sinhl.c: Likewise.
10647 * math/e_sqrtl.c: Likewise.
10648 * math/fclrexcpt.c: Likewise.
10649 * math/fedisblxcpt.c: Likewise.
10650 * math/feenablxcpt.c: Likewise.
10651 * math/fegetenv.c: Likewise.
10652 * math/fegetexcept.c: Likewise.
10653 * math/fegetround.c: Likewise.
10654 * math/feholdexcpt.c: Likewise.
10655 * math/fesetenv.c: Likewise.
10656 * math/fesetround.c: Likewise.
10657 * math/feupdateenv.c: Likewise.
10658 * math/fgetexcptflg.c: Likewise.
10659 * math/fraiseexcpt.c: Likewise.
10660 * math/fsetexcptflg.c: Likewise.
10661 * math/ftestexcept.c: Likewise.
10662 * math/k_cosl.c: Likewise.
10663 * math/k_rem_pio2l.c: Likewise.
10664 * math/k_sinl.c: Likewise.
10665 * math/k_tanl.c: Likewise.
10666 * math/s_asinhl.c: Likewise.
10667 * math/s_atanl.c: Likewise.
10668 * math/s_cbrtl.c: Likewise.
10669 * math/s_erfl.c: Likewise.
10670 * math/s_expm1l.c: Likewise.
10671 * math/s_log1pl.c: Likewise.
10672 * math/s_tanhl.c: Likewise.
10673 * misc/acct.c: Likewise.
10674 * misc/brk.c: Likewise.
10675 * misc/chflags.c: Likewise.
10676 * misc/chroot.c: Likewise.
10677 * misc/fchflags.c: Likewise.
10678 * misc/fgetxattr.c: Likewise.
10679 * misc/flistxattr.c: Likewise.
10680 * misc/fremovexattr.c: Likewise.
10681 * misc/fsetxattr.c: Likewise.
10682 * misc/fsync.c: Likewise.
10683 * misc/ftruncate.c: Likewise.
10684 * misc/futimes.c: Likewise.
10685 * misc/futimesat.c: Likewise.
10686 * misc/getdomain.c: Likewise.
10687 * misc/getdtsz.c: Likewise.
10688 * misc/gethostid.c: Likewise.
10689 * misc/gethostname.c: Likewise.
10690 * misc/getloadavg.c: Likewise.
10691 * misc/getpagesize.c: Likewise.
10692 * misc/getsysstats.c: Likewise.
10693 * misc/getxattr.c: Likewise.
10694 * misc/gtty.c: Likewise.
10695 * misc/ioctl.c: Likewise.
10696 * misc/lgetxattr.c: Likewise.
10697 * misc/listxattr.c: Likewise.
10698 * misc/llistxattr.c: Likewise.
10699 * misc/lremovexattr.c: Likewise.
10700 * misc/lsetxattr.c: Likewise.
10701 * misc/lutimes.c: Likewise.
10702 * misc/madvise.c: Likewise.
10703 * misc/mincore.c: Likewise.
10704 * misc/mlock.c: Likewise.
10705 * misc/mlockall.c: Likewise.
10706 * misc/mmap.c: Likewise.
10707 * misc/mprotect.c: Likewise.
10708 * misc/msync.c: Likewise.
10709 * misc/munlock.c: Likewise.
10710 * misc/munlockall.c: Likewise.
10711 * misc/munmap.c: Likewise.
10712 * misc/preadv.c: Likewise.
10713 * misc/preadv64.c: Likewise.
10714 * misc/ptrace.c: Likewise.
10715 * misc/pwritev.c: Likewise.
10716 * misc/pwritev64.c: Likewise.
10717 * misc/readv.c: Likewise.
10718 * misc/reboot.c: Likewise.
10719 * misc/remap_file_pages.c: Likewise.
10720 * misc/removexattr.c: Likewise.
10721 * misc/revoke.c: Likewise.
10722 * misc/select.c: Likewise.
10723 * misc/setdomain.c: Likewise.
10724 * misc/setegid.c: Likewise.
10725 * misc/seteuid.c: Likewise.
10726 * misc/sethostid.c: Likewise.
10727 * misc/sethostname.c: Likewise.
10728 * misc/setregid.c: Likewise.
10729 * misc/setreuid.c: Likewise.
10730 * misc/setxattr.c: Likewise.
10731 * misc/sstk.c: Likewise.
10732 * misc/stty.c: Likewise.
10733 * misc/swapoff.c: Likewise.
10734 * misc/swapon.c: Likewise.
10735 * misc/sync.c: Likewise.
10736 * misc/syncfs.c: Likewise.
10737 * misc/syscall.c: Likewise.
10738 * misc/truncate.c: Likewise.
10739 * misc/ualarm.c: Likewise.
10740 * misc/usleep.c: Likewise.
10741 * misc/ustat.c: Likewise.
10742 * misc/utimes.c: Likewise.
10743 * misc/vhangup.c: Likewise.
10744 * misc/writev.c: Likewise.
10745 * posix/_exit.c: Likewise.
10746 * posix/alarm.c: Likewise.
10747 * posix/execve.c: Likewise.
10748 * posix/fexecve.c: Likewise.
10749 * posix/fork.c: Likewise.
10750 * posix/fpathconf.c: Likewise.
10751 * posix/getaddrinfo.c: Likewise.
10752 * posix/getegid.c: Likewise.
10753 * posix/geteuid.c: Likewise.
10754 * posix/getgid.c: Likewise.
10755 * posix/getgroups.c: Likewise.
10756 * posix/getlogin.c: Likewise.
10757 * posix/getlogin_r.c: Likewise.
10758 * posix/getpgid.c: Likewise.
10759 * posix/getpid.c: Likewise.
10760 * posix/getppid.c: Likewise.
10761 * posix/getresgid.c: Likewise.
10762 * posix/getresuid.c: Likewise.
10763 * posix/getsid.c: Likewise.
10764 * posix/getuid.c: Likewise.
10765 * posix/glob64.c: Likewise.
10766 * posix/nanosleep.c: Likewise.
10767 * posix/pathconf.c: Likewise.
10768 * posix/pause.c: Likewise.
10769 * posix/posix_madvise.c: Likewise.
10770 * posix/pread.c: Likewise.
10771 * posix/pread64.c: Likewise.
10772 * posix/pwrite.c: Likewise.
10773 * posix/pwrite64.c: Likewise.
10774 * posix/sched_getaffinity.c: Likewise.
10775 * posix/sched_getp.c: Likewise.
10776 * posix/sched_gets.c: Likewise.
10777 * posix/sched_primax.c: Likewise.
10778 * posix/sched_primin.c: Likewise.
10779 * posix/sched_rr_gi.c: Likewise.
10780 * posix/sched_setaffinity.c: Likewise.
10781 * posix/sched_setp.c: Likewise.
10782 * posix/sched_sets.c: Likewise.
10783 * posix/sched_yield.c: Likewise.
10784 * posix/setgid.c: Likewise.
10785 * posix/setlogin.c: Likewise.
10786 * posix/setpgid.c: Likewise.
10787 * posix/setresgid.c: Likewise.
10788 * posix/setresuid.c: Likewise.
10789 * posix/setsid.c: Likewise.
10790 * posix/setuid.c: Likewise.
10791 * posix/sleep.c: Likewise.
10792 * posix/spawni.c: Likewise.
10793 * posix/sysconf.c: Likewise.
10794 * posix/times.c: Likewise.
10795 * posix/wait.c: Likewise.
10796 * posix/wait3.c: Likewise.
10797 * posix/wait4.c: Likewise.
10798 * posix/waitpid.c: Likewise.
10799 * resolv/gai_sigqueue.c: Likewise.
10800 * resource/getpriority.c: Likewise.
10801 * resource/getrlimit.c: Likewise.
10802 * resource/getrusage.c: Likewise.
10803 * resource/nice.c: Likewise.
10804 * resource/setpriority.c: Likewise.
10805 * resource/setrlimit.c: Likewise.
10806 * resource/ulimit.c: Likewise.
10807 * rt/aio_cancel.c: Likewise.
10808 * rt/aio_fsync.c: Likewise.
10809 * rt/aio_read.c: Likewise.
10810 * rt/aio_sigqueue.c: Likewise.
10811 * rt/aio_suspend.c: Likewise.
10812 * rt/aio_write.c: Likewise.
10813 * rt/clock_getres.c: Likewise.
10814 * rt/clock_gettime.c: Likewise.
10815 * rt/clock_nanosleep.c: Likewise.
10816 * rt/clock_settime.c: Likewise.
10817 * rt/lio_listio.c: Likewise.
10818 * rt/mq_close.c: Likewise.
10819 * rt/mq_getattr.c: Likewise.
10820 * rt/mq_notify.c: Likewise.
10821 * rt/mq_open.c: Likewise.
10822 * rt/mq_receive.c: Likewise.
10823 * rt/mq_send.c: Likewise.
10824 * rt/mq_setattr.c: Likewise.
10825 * rt/mq_timedreceive.c: Likewise.
10826 * rt/mq_timedsend.c: Likewise.
10827 * rt/mq_unlink.c: Likewise.
10828 * rt/shm_open.c: Likewise.
10829 * rt/shm_unlink.c: Likewise.
10830 * rt/timer_create.c: Likewise.
10831 * rt/timer_delete.c: Likewise.
10832 * rt/timer_getoverr.c: Likewise.
10833 * rt/timer_gettime.c: Likewise.
10834 * rt/timer_settime.c: Likewise.
10835 * setjmp/__longjmp.c: Likewise.
10836 * setjmp/setjmp.c: Likewise.
10837 * signal/kill.c: Likewise.
10838 * signal/killpg.c: Likewise.
10839 * signal/raise.c: Likewise.
10840 * signal/sigaction.c: Likewise.
10841 * signal/sigaltstack.c: Likewise.
10842 * signal/sigblock.c: Likewise.
10843 * signal/sigignore.c: Likewise.
10844 * signal/sigintr.c: Likewise.
10845 * signal/signal.c: Likewise.
10846 * signal/sigpause.c: Likewise.
10847 * signal/sigpending.c: Likewise.
10848 * signal/sigqueue.c: Likewise.
10849 * signal/sigreturn.c: Likewise.
10850 * signal/sigset.c: Likewise.
10851 * signal/sigsetmask.c: Likewise.
10852 * signal/sigstack.c: Likewise.
10853 * signal/sigsuspend.c: Likewise.
10854 * signal/sigtimedwait.c: Likewise.
10855 * signal/sigvec.c: Likewise.
10856 * signal/sigwait.c: Likewise.
10857 * signal/sigwaitinfo.c: Likewise.
10858 * signal/sysv_signal.c: Likewise.
10859 * socket/accept.c: Likewise.
10860 * socket/accept4.c: Likewise.
10861 * socket/bind.c: Likewise.
10862 * socket/connect.c: Likewise.
10863 * socket/getpeername.c: Likewise.
10864 * socket/getsockname.c: Likewise.
10865 * socket/getsockopt.c: Likewise.
10866 * socket/isfdtype.c: Likewise.
10867 * socket/listen.c: Likewise.
10868 * socket/recv.c: Likewise.
10869 * socket/recvfrom.c: Likewise.
10870 * socket/recvmsg.c: Likewise.
10871 * socket/send.c: Likewise.
10872 * socket/sendmsg.c: Likewise.
10873 * socket/sendto.c: Likewise.
10874 * socket/setsockopt.c: Likewise.
10875 * socket/shutdown.c: Likewise.
10876 * socket/sockatmark.c: Likewise.
10877 * socket/socket.c: Likewise.
10878 * socket/socketpair.c: Likewise.
10879 * stdio-common/ctermid.c: Likewise.
10880 * stdio-common/cuserid.c: Likewise.
10881 * stdio-common/remove.c: Likewise.
10882 * stdio-common/rename.c: Likewise.
10883 * stdio-common/renameat.c: Likewise.
10884 * stdio-common/tempname.c: Likewise.
10885 * stdlib/getcontext.c: Likewise.
10886 * stdlib/makecontext.c: Likewise.
10887 * stdlib/setcontext.c: Likewise.
10888 * stdlib/swapcontext.c: Likewise.
10889 * stdlib/system.c: Likewise.
10890 * streams/fattach.c: Likewise.
10891 * streams/fdetach.c: Likewise.
10892 * streams/getmsg.c: Likewise.
10893 * streams/getpmsg.c: Likewise.
10894 * streams/putmsg.c: Likewise.
10895 * streams/putpmsg.c: Likewise.
10896 * sysdeps/unix/bsd/getpt.c: Likewise.
10897 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10898 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10899 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10901 Likewise.
10902 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10903 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10904 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10905 * sysvipc/msgctl.c: Likewise.
10906 * sysvipc/msgget.c: Likewise.
10907 * sysvipc/msgrcv.c: Likewise.
10908 * sysvipc/msgsnd.c: Likewise.
10909 * sysvipc/semctl.c: Likewise.
10910 * sysvipc/semget.c: Likewise.
10911 * sysvipc/semop.c: Likewise.
10912 * sysvipc/semtimedop.c: Likewise.
10913 * sysvipc/shmat.c: Likewise.
10914 * sysvipc/shmctl.c: Likewise.
10915 * sysvipc/shmdt.c: Likewise.
10916 * sysvipc/shmget.c: Likewise.
10917 * termios/tcdrain.c: Likewise.
10918 * termios/tcflow.c: Likewise.
10919 * termios/tcflush.c: Likewise.
10920 * termios/tcgetattr.c: Likewise.
10921 * termios/tcgetpgrp.c: Likewise.
10922 * termios/tcsendbrk.c: Likewise.
10923 * termios/tcsetattr.c: Likewise.
10924 * termios/tcsetpgrp.c: Likewise.
10925 * time/adjtime.c: Likewise.
10926 * time/clock.c: Likewise.
10927 * time/getitimer.c: Likewise.
10928 * time/gettimeofday.c: Likewise.
10929 * time/setitimer.c: Likewise.
10930 * time/settimeofday.c: Likewise.
10931 * time/stime.c: Likewise.
10932 * time/time.c: Likewise.
10933
109342012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 10935
a20492cf
PT
10936 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10937 /usr/old/bin.
10938
72e182e3
PT
10939 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10940 instead of spaces.
10941 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10942
fbeafede
JM
109432012-11-03 Joseph Myers <joseph@codesourcery.com>
10944
5b5b04d6
JM
10945 [BZ #14796]
10946 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10947 FE_TONEAREST before applying Dekker multiplication and Knuth
10948 addition. Clear inexact exceptions and check for exact zero
10949 results afterwards.
10950 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10951 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10952 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10953 * math/libm-test.inc (fma_test): Add more tests.
10954 (fma_test_towardzero): Likewise.
10955 (fma_test_downward): Likewise.
10956 (fma_test_upward): Likewise.
10957 * sysdeps/generic/math_private.h (default_libc_fesetround): New
10958 function.
10959 (libc_fesetround): New macro.
10960 (libc_fesetroundf): Likewise.
10961 (libc_fesetroundl): Likewise.
10962 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10963 function.
10964 (libc_fesetround_387): Likewise.
10965 (libc_fesetroundf): New macro.
10966 (libc_fesetround): Likewise.
10967 (libc_fesetroundl): Likewise.
10968 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10969 function.
10970 (libc_fesetroundf): New macro.
10971 (libc_fesetround): Likewise.
10972 (libc_fesetroundl): Likewise.
10973 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10974 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10975 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10976 libm_hidden_ver.
10977 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10978 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10979 libm_hidden_def.
10980 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10981 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10982 libm_hidden_ver.
10983 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10984 libm_hidden_def.
10985
fbeafede
JM
10986 [BZ #3439]
10987 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10988 integer constant usable in #if and use that to give value to enum
10989 constant.
10990 (FE_DIVBYZERO): Likewise.
10991 (FE_UNDERFLOW): Likewise.
10992 (FE_OVERFLOW): Likewise.
10993 (FE_INVALID): Likewise.
10994 (FE_INVALID_SNAN): Likewise.
10995 (FE_INVALID_ISI): Likewise.
10996 (FE_INVALID_IDI): Likewise.
10997 (FE_INVALID_ZDZ): Likewise.
10998 (FE_INVALID_IMZ): Likewise.
10999 (FE_INVALID_COMPARE): Likewise.
11000 (FE_INVALID_SOFTWARE): Likewise.
11001 (FE_INVALID_SQRT): Likewise.
11002 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11003 (FE_TONEAREST): Likewise.
11004 (FE_TOWARDZERO): Likewise.
11005 (FE_UPWARD): Likewise.
11006 (FE_DOWNWARD): Likewise.
11007 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11008 (FE_DIVBYZERO): Likewise.
11009 (FE_OVERFLOW): Likewise.
11010 (FE_UNDERFLOW): Likewise.
11011 (FE_INEXACT): Likewise.
11012 (FE_TONEAREST): Likewise.
11013 (FE_DOWNWARD): Likewise.
11014 (FE_UPWARD): Likewise.
11015 (FE_TOWARDZERO): Likewise.
11016 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11017 (FE_UNDERFLOW): Likewise.
11018 (FE_OVERFLOW): Likewise.
11019 (FE_DIVBYZERO): Likewise.
11020 (FE_INVALID): Likewise.
11021 (FE_TONEAREST): Likewise.
11022 (FE_TOWARDZERO): Likewise.
11023 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11024 (FE_OVERFLOW): Likewise.
11025 (FE_UNDERFLOW): Likewise.
11026 (FE_DIVBYZERO): Likewise.
11027 (FE_INEXACT): Likewise.
11028 (FE_TONEAREST): Likewise.
11029 (FE_TOWARDZERO): Likewise.
11030 (FE_UPWARD): Likewise.
11031 (FE_DOWNWARD): Likewise.
11032 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11033 (FE_DIVBYZERO): Likewise.
11034 (FE_OVERFLOW): Likewise.
11035 (FE_UNDERFLOW): Likewise.
11036 (FE_INEXACT): Likewise.
11037 (FE_TONEAREST): Likewise.
11038 (FE_DOWNWARD): Likewise.
11039 (FE_UPWARD): Likewise.
11040 (FE_TOWARDZERO): Likewise.
11041
105ca950
CM
110422012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11043
11044 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11045
a542b389
AS
110462012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11047
11048 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11049 commands. Quote $PWD.
11050 (blacklist_exports): Don't use remove_newlines. Replace "declare
11051 -x" by "export".
11052 (remove_newlines): Remove.
11053
f62c8abc
L
110542012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11055
11056 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11057 * stdlib/stdlib.h (atof): Moved to ...
11058 * include/bits/stdlib-float.h: Here. New file.
11059 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11060 * stdlib/bits/stdlib-float.h: New file.
11061 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11062 -mno-sse -mno-mmx.
11063 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11064 <xmmintrin.h>.
11065
0155d5b2
JM
110662012-11-02 Joseph Myers <joseph@codesourcery.com>
11067
a68d0680
JM
11068 * conform/conformtest.pl (@headers): Add fenv.h.
11069 * conform/data/fenv.h-data: New file.
11070 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11071 include of <math/fenv.h>.
11072
caf7f573
JM
11073 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11074 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11075 && !UNIX98]. Enables tests for XOPEN2K8.
11076 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11077 POSIX2008]: Likewise.
11078
6c073ad6
JM
11079 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11080 (struct rusage): Do not expect type or its members.
11081
0155d5b2
JM
11082 [BZ #3439]
11083 * math/math.h (FP_NAN): Define macro to integer constant usable in
11084 #if and use that to give value to enum constant.
11085 (FP_INFINITE): Likewise.
11086 (FP_ZERO): Likewise.
11087 (FP_SUBNORMAL): Likewise.
11088 (FP_NORMAL): Likewise.
11089
b5dcacb4
AS
110902012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11091
11092 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11093 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11094 arguments.
11095
f7934be8
RM
110962012-11-02 Roland McGrath <roland@hack.frob.com>
11097
11098 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11099 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11100 autoconf-time if not.
11101 * configure.in: Remove AC_PREREQ.
11102
d7d08bde
TMQMF
111032012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11104
11105 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11106 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11107 of the internal implementation.
11108
dcdae19a
JM
111092012-11-02 Joseph Myers <joseph@codesourcery.com>
11110
11111 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11112 except include of <misc/sys/syslog.h>.
11113
d6cffd3e
AS
111142012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11115
11116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11117 function returns with a NULL context exit with zero.
11118
b3563932
TMQMF
111192012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11120
11121 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11122
b288a93d
L
111232012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11124
11125 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11126 (run_program_cmd): This.
11127 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11128 (tst_langinfo): New variable. Use it.
11129
a2421a68
SAS
111302012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
11131
11132 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11133 floating point opcodes.
11134
6f796e1b
TS
111352012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11136
7402596b
TS
11137 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11138 variable.
11139
d0d4f868
TS
11140 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11141
6f796e1b
TS
11142 * sysdeps/mach/hurd/powerpc: Remove directory.
11143 * sysdeps/mach/powerpc: Likewise.
11144
4da224a2
AS
111452012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11146
11147 * scripts/check-local-headers.sh: Ignore c++ headers.
11148
341dd673
TS
111492012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11150
11151 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11152 __libc_cleanup_region_start argument.
11153
473611b2
JM
111542012-11-01 Joseph Myers <joseph@codesourcery.com>
11155
11156 [BZ #14784]
11157 [BZ #14785]
11158 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11159 x * y using scaling, not as x * y + z.
11160 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11161 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11162 * math/libm-test.inc (fma_test): Add more tests.
11163 (fma_test_towardzero): Likewise.
11164 (fma_test_downward): Likewise.
11165 (fma_test_upward): Likewise.
11166
4078da3d
TS
111672012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11168
11169 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11170
903252aa
JM
111712012-10-31 Joseph Myers <joseph@codesourcery.com>
11172
11173 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11174 New variable.
11175
cbc818d0
TS
111762012-10-31 Thomas Schwinge <thomas@codesourcery.com>
11177
11178 * rt/tst-shm.c (worker): Correct checking for mmap failure.
11179
5a03cb1e
AS
111802012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11181
11182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11183 Fix sort order.
11184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11185 Likewise.
11186
90aff2ff
TMQMF
111872012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11188
11189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11190 Fix the order of the list for glibc 2.17.
11191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11192 Likewise.
11193
1818fcb7
AS
111942012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11195
11196 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11197
ef82f4da
JM
111982012-10-31 Joseph Myers <joseph@codesourcery.com>
11199
16a0e2ec
JM
11200 [BZ #14610]
11201 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11202 for low part of x being zero before using __atanl (y).
11203 * math/libm-test.inc (atan2_test): Add another test.
11204
0eb69512
JM
11205 * manual/install.texi (Configuring and compiling): Document
11206 general use of test-wrapper and test-wrapper-env.
11207 * INSTALL: Regenerated.
11208
ef82f4da
JM
11209 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11210 (__fma): Do not extract and scale down low bits on after-rounding
11211 systems when result rounded to normal precision would have normal
11212 exponent.
11213 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11214 (__fmal): Do not extract and scale down low bits on after-rounding
11215 systems when result rounded to normal precision would have normal
11216 exponent.
11217 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11218 (__fmal): Do not extract and scale down low bits on after-rounding
11219 systems when result rounded to normal precision would have normal
11220 exponent.
11221 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11222 macro.
11223 (fma_test): Add more tests.
11224 (fma_test_towardzero): Likewise.
11225 (fma_test_downward): Likewise.
11226 (fma_test_upward): Likewise.
11227
954ef0d9
L
112282012-10-30 H.J. Lu <hongjiu.lu@intel.com>
11229
11230 * sysdeps/i386/tininess.h: Renamed to ...
11231 * sysdeps/x86/tininess.h: This.
11232 * sysdeps/x86_64/tininess.h: Removed.
11233
df61ffb2
JM
112342012-10-30 Joseph Myers <joseph@codesourcery.com>
11235
11236 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11237 input. Use $(build-program-cmd).
11238 ($(objpfx)tst-array1-static.out): Likewise.
11239 ($(objpfx)tst-array2.out): Likewise.
11240 ($(objpfx)tst-array3.out): Likewise.
11241 ($(objpfx)tst-array4.out): Likewise.
11242 ($(objpfx)tst-array5.out): Likewise.
11243 ($(objpfx)tst-array5-static.out): Likewise.
11244
01767843
CM
112452012-10-30 Chris Metcalf <cmetcalf@tilera.com>
11246
47cc1490
CM
11247 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11248 if defined.
11249
01767843
CM
11250 * nss/nsswitch.h (nss_interface_function): Provide new
11251 macro for use with NSS functions.
11252 * grp/initgroups.c: Use new macro.
11253 * nss/getXXbyYY.c: Likewise.
11254 * nss/getXXbyYY_r.c: Likewise.
11255 * nss/getXXent.c: Likewise.
11256 * nss/getXXent_r.c: Likewise.
11257 * sysdeps/posix/getaddrinfo.c: Likewise.
11258
8321aa97
AJ
112592012-10-30 Andreas Jaeger <aj@suse.de>
11260
11261 * po/ru.po: Update Russion translation from translation project.
11262
2a27fd6d
JM
112632012-10-30 Joseph Myers <joseph@codesourcery.com>
11264
8627a232
JM
11265 [BZ #14152]
11266 [BZ #14783]
11267 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11268 result and shift together with sticky bit instead of replicating
11269 round-to-nearest rounding.
11270 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11271 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11272 * math/libm-test.inc (fma_test): Add more tests. Do not permit
11273 missing underflow exceptions.
11274 (fma_test_towardzero): Add more tests.
11275 (fma_test_downward): Likewise.
11276 (fma_test_upward): Likewise.
11277
2a27fd6d
JM
11278 [BZ #14047]
11279 * sysdeps/generic/tininess.h: New file.
11280 * sysdeps/i386/tininess.h: Likewise.
11281 * sysdeps/sh/tininess.h: Likewise.
11282 * sysdeps/x86_64/tininess.h: Likewise.
11283 * stdlib/tst-strtod-underflow.c: Likewise.
11284 * stdlib/tst-tininess.c: Likewise.
11285 * stdlib/strtod_l.c: Include <tininess.h>.
11286 (round_and_return): Do not set errno for exact underflow cases.
11287 Force an underflow exception when setting errno for underflow.
11288 Determine underflow based on rounding to normal precision if
11289 TININESS_AFTER_ROUNDING.
11290 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11291 ERANGE for exact underflow cases.
11292 * stdlib/Makefile (tests): Add tst-tininess and
11293 tst-strtod-underflow.
11294 ($(objpfx)tst-tininess): Use $(link-libm).
11295 ($(objpfx)tst-strtod-underflow): Likewise.
11296
e7170363
AJ
112972012-10-30 Andreas Jaeger <aj@suse.de>
11298
e5088dc6
AJ
11299 [BZ#14767]
11300 * elf/Makefile (tests): Remove conditional for have-initfini-array
11301 since this is now always required and the variable does not exist
11302 anymore.
11303 (tests-static): Likewise.
11304 (modules-names): Likewise.
11305
e7170363 11306 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
11307
11308 * elf/tst-array1.c (fini_array): Make writeable so that it can be
11309 merged with constructor/destructor.
11310 (init_array): Likewise.
11311 * elf/tst-array2dep.c (fini_array): Likewise.
11312 (init_array): Likewise.
11313
60457d8a
MF
113142012-10-29 Mike Frysinger <vapier@gentoo.org>
11315
11316 * manual/message.texi: Delete @cartouche tags.
11317
8bece752
PT
113182012-10-29 Pino Toscano <toscano.pino@tiscali.it>
11319
94ce799f
PT
11320 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11321 EOPNOTSUPP.
11322 * sysdeps/mach/hurd/fsync.c: Likewise.
11323
8bece752
PT
11324 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11325 [_POSIX_REALTIME_SIGNALS]: Change condition to
11326 [_POSIX_REALTIME_SIGNALS > 0].
11327
86ebe6b1
AJ
113282012-10-27 Andreas Jaeger <aj@suse.de>
11329
11330 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11331 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11332 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11333 [__WORDSIZE != 64]: Likewise.
11334
54399c08
L
113352012-10-26 H.J. Lu <hongjiu.lu@intel.com>
11336
11337 * iconvdata/tst-table.sh: Remove ${SHELL}.
11338 * iconvdata/tst-tables.sh: Likewise.
11339
e2211bed
DM
113402012-10-25 David S. Miller <davem@davemloft.net>
11341
11342 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11343 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11344 of strtoull.
11345
f303f97c
DM
11346 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11347 ifunc-impl-list.c
11348 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11349 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11350 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11351 file.
11352
1e9d84cd
RM
113532012-10-25 Roland McGrath <roland@hack.frob.com>
11354
11355 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11356 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11357 __getdirentries.
11358
df381762
JM
113592012-10-25 Joseph Myers <joseph@codesourcery.com>
11360 Jim Blandy <jimb@codesourcery.com>
11361
11362 * scripts/cross-test-ssh.sh: New file.
11363 * manual/install.texi (Configuring and compiling): Document use of
11364 cross-test-ssh.sh.
11365 * INSTALL: Regenerated.
11366
bff64913
PT
113672012-10-25 Pino Toscano <toscano.pino@tiscali.it>
11368
11369 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11370 EOPNOTSUPP.
11371
25fe8932
JM
113722012-10-25 Joseph Myers <joseph@codesourcery.com>
11373
11374 * Makeconfig (run-program-prefix): Fix comment.
11375
cc1290d0
JM
113762012-10-24 Joseph Myers <joseph@codesourcery.com>
11377 Jim Blandy <jimb@codesourcery.com>
11378
11379 * Makeconfig (test-wrapper): New variable,
11380 (test-wrapper-env): Likewise.
11381 [$(cross-compiling) = yes && $(test-wrapper) != ""]
11382 (run-built-tests): Define to yes.
11383 (run-program-prefix): Use $(test-wrapper).
11384 (built-program-cmd): Likewise.
11385 * Rules (make-test-out): Use $(test-wrapper-env) and
11386 $(host-built-program-cmd).
11387 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11388 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11389 tst-pathopt.sh.
11390 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11391 $(test-wrapper-env) to tst-rtld-load-self.sh.
11392 ($(objpfx)order2.out): Use $(test-wrapper).
11393 ($(objpfx)tst-initorder.out): Likewise.
11394 ($(objpfx)tst-initorder2.out): Likewise.
11395 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11396 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11397 (test_wrapper_env): New variable. Use it to run ld.so.
11398 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11399 Use it to run ld.so.
11400 (test_wrapper_env): Likewise.
11401 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11402 $(test-wrapper) to run-iconv-test.sh.
11403 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11404 (ICONV): Use $test_wrapper.
11405 * posix/Makefile ($(objpfx)globtest.out): Pass
11406 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11407 globtest.sh, not $(run-program-prefix).
11408 * posix/globtest.sh (run_via_rtld_prefix): New variable.
11409 (test_wrapper): Likewise.
11410 (test_wrapper_env): Likewise. Use it to run globtest with HOME
11411 set together with run_via_rtld_prefix.
11412 (run_program_prefix): Define in terms of test_wrapper and
11413 run_via_rtld_prefix.
11414
6e6249d0
RM
114152012-10-24 Roland McGrath <roland@hack.frob.com>
11416
11417 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11418 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11419 Targets removed.
11420
11421 [BZ #14743]
11422 * include/time.h: Remove librt_hidden_proto (clock_gettime).
11423 Declare __clock_getres, __clock_gettime, __clock_settime,
11424 __clock_nanosleep, and __clock_getcpuclockid.
11425 * rt/clock_gettime.c: Define __clock_gettime as an alias.
11426 Remove librt_hidden_def (clock_gettime).
11427 * sysdeps/unix/clock_gettime.c: Likewise.
11428 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11429 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11430 * rt/clock_getres.c: Define __clock_getres as an alias.
11431 * sysdeps/posix/clock_getres.c: Likewise.
11432 * rt/clock_settime.c: Define __clock_settime as an alias.
11433 * sysdeps/unix/clock_settime.c: Likewise.
11434 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11435 * sysdeps/unix/clock_nanosleep.c: Likewise.
11436 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11437 * rt/clock-compat.c: New file.
11438 * rt/Makefile (librt-routines): Add clock-compat and move
11439 $(clock-routines) to ...
11440 (routines): ... here, new variable.
11441 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11442 Don't add get_clockfreq here.
11443 * rt/Versions (libc: GLIBC_2.17): New version set.
11444 Add clock_* symbols here.
11445 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
11446 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11447 (GLIBC_2.17): Add clock_* symbols.
11448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11449 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11450 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11452 Likewise.
11453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11454 Likewise.
11455 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11456 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11458 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11459 * NEWS: Mention the move.
11460
11461 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11462 Use __open, __read, __close rather than their public counterparts.
11463 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11464 (__get_clockfreq_via_cpuinfo): Likewise.
11465 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11466 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11467
11468 * config.h.in (HAVE_IFUNC): New #undef.
11469 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11470 was successful.
11471 * configure: Regenerated.
11472
0cae3f4b
MF
114732012-10-24 Mike Frysinger <vapier@gentoo.org>
11474
11475 * configure.in: Move READELF check to start of file.
11476 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11477 libc_cv_asm_gnu_indirect_function in the process.
11478 * configure: Regenerated.
11479
8175a253
MF
114802012-10-24 Mike Frysinger <vapier@gentoo.org>
11481
11482 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11483 send the output to /dev/null.
11484 (libc_cv_cc_with_libunwind): Likewise.
11485 (libc_cv_as_noexecstack): Likewise.
11486 * configure: Regenerate.
11487
0708a7d1
JM
114882012-10-24 Joseph Myers <joseph@codesourcery.com>
11489
10b40d85
JM
11490 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11491
0708a7d1
JM
11492 * posix/globtest.sh (TMPDIR): Do not set.
11493 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11494 (testout): Likewise.
11495
9fddec1a
AJ
114962012-10-24 Andreas Jaeger <aj@suse.de>
11497
3a8db22f
AJ
11498 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11499 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11500 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11501 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11502 posix_fadvise64, posix_fallocate64.
11503
9fddec1a
AJ
11504 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11505 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11506 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11507 Likewise.
11508 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11509 Likewise.
11510 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11511
11512 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11513 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11514 <bits/fcntl-linux.h>.
11515 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11516
11517 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11518 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11519 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11520 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11521 [__WORDSIZE != 64]: Likewise.
11522
ebfd1bbd
JM
115232012-10-23 Joseph Myers <joseph@codesourcery.com>
11524
03ac099f
JM
11525 * Makeconfig (run-built-tests): New variable.
11526 * Rules [$(cross-compiling) = yes]: Change condition to
11527 [$(run-built-tests) = no].
11528 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11529 to [$(run-built-tests) = yes].
11530 * elf/Makefile [$(cross-compiling) = no]: Likewise
11531 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11532 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11533 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11534 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11535 * io/Makefile [$(cross-compiling) = no]: Likewise.
11536 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11537 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11538 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11539 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11540 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11541 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11542 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11543 * string/Makefile [$(cross-compiling) = no]: Likewise.
11544
ebfd1bbd
JM
11545 * posix/Makefile ($(objpfx)globtest.out): Pass
11546 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11547 $(rtld-installed-name).
11548 * posix/globtest.sh (elf_objpfx): Remove variable.
11549 (rtld_installed_name): Likewise.
11550 (library_path): Likewise.
11551 (run_program_prefix): New variable. Use for running globtest
11552 binary.
11553
166bca24
JB
115542012-10-23 Jim Blandy <jimb@codesourcery.com>
11555 Joseph Myers <joseph@codesourcery.com>
11556
11557 * Makeconfig (host-built-program-cmd): New variable.
11558 * elf/Makefile (tst-stackguard1-ARGS): Use
11559 $(host-built-program-cmd).
11560 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11561 (tst-spawn-ARGS): Likewise.
11562 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11563
88866099
JM
115642012-10-23 Joseph Myers <joseph@codesourcery.com>
11565 Jim Blandy <jimb@codesourcery.com>
11566
11567 * Makeconfig (run-via-rtld-prefix): New variable.
11568 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11569 (built-program-cmd): Likewise.
11570
b4b4c296
AJ
115712012-10-22 Andreas Jaeger <aj@suse.de>
11572
11573 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11574 __O_RSYNC if it exists, otherwise to O_SYNC.
11575
6fb54a22
JB
115762012-10-22 Jim Blandy <jimb@codesourcery.com>
11577 Joseph Myers <joseph@codesourcery.com>
11578
11579 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11580 /dev/null.
11581 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11582 from /dev/null
11583 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11584 /dev/null.
11585
481b90b9
AJ
115862012-10-22 Andreas Jaeger <aj@suse.de>
11587
2a0e2669
AJ
11588 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11589 Define always.
11590 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11591
76e38f9a
AJ
11592 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11593 bits/fcntl-linux.h.
11594
7cd37b43
AJ
11595 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11596 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11597
481b90b9
AJ
11598 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11599 to __O_LARGEFILE.
11600 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11601 to __O_LARGEFILE.
11602
aba75984
JB
116032012-10-21 Jim Blandy <jimb@codesourcery.com>
11604 Joseph Myers <joseph@codesourcery.com>
11605
11606 * config.make.in (NM): New variable.
11607
88d4247f
AJ
116082012-10-21 Andreas Jaeger <aj@suse.de>
11609
11610 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11611 definitions and declarations that are provided by
11612 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11613
f2eed205
L
116142012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11615
11616 [BZ #14683]
11617 * elf/Makefile (tests-static): Add tst-leaks1-static.
11618 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11619 ($(objpfx)tst-leaks1-static): New rule.
11620 ($(objpfx)tst-leaks1-static-mem): Likewise.
11621 (tst-leaks1-static-ENV): New macro.
11622 * elf/dl-open.c (dl_open_worker): Check the main application
11623 only if SHARED is defined.
11624 * elf/tst-leaks1-static.c: New file.
11625
335e6931
AJ
116262012-10-20 Andreas Jaeger <aj@suse.de>
11627
11628 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11629 generic values for Linux.
11630 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11631 and declarations that are provided by <bits/fcntl-linux.h> and
11632 include <bits/fcntl-linux.h>.
11633 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11634 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11635
ac5c94d3
RM
116362012-10-20 Roland McGrath <roland@hack.frob.com>
11637
11638 * io/fcntl.h: Move include of <bits/types.h> to the top and
11639 include it unconditionally.
11640
de54b33a
L
116412012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11642
228cfb01
L
11643 * wcsmbs/Makefile (tests-ifunc): New variable.
11644 (tests): Add $(tests-ifunc).
11645 * wcsmbs/test-wcschr-ifunc.c: New file.
11646 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11647 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11648 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11649 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11650 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11651
69f07e5f
L
11652 * string/Makefile (tests-ifunc): New variable.
11653 (tests): Add $(tests-ifunc).
11654 * string/test-memccpy.c (TEST_NAME): New macro.
11655 * string/test-memchr.c (TEST_NAME): Likewise.
11656 * string/test-memcmp.c (TEST_NAME): Likewise.
11657 * string/test-memcpy.c (TEST_NAME): Likewise.
11658 * string/test-memmem.c (TEST_NAME): Likewise.
11659 * string/test-memmove.c (TEST_NAME): Likewise.
11660 * string/test-memset.c (TEST_NAME): Likewise.
11661 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11662 * string/test-stpcpy.c (TEST_NAME): Likewise.
11663 * string/test-stpncpy.c (TEST_NAME): Likewise.
11664 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11665 * string/test-strcasestr.c (TEST_NAME): Likewise.
11666 * string/test-strcat.c (TEST_NAME): Likewise.
11667 * string/test-strchr.c (TEST_NAME): Likewise.
11668 * string/test-strcmp.c(TEST_NAME): Likewise.
11669 * string/test-strcpy.c (TEST_NAME): Likewise.
11670 * string/test-strcspn.c (TEST_NAME): Likewise.
11671 * string/test-strlen.c (TEST_NAME): Likewise.
11672 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11673 * string/test-strncmp.c (TEST_NAME): Likewise.
11674 * string/test-strncpy.c (TEST_NAME): Likewise.
11675 * string/test-strnlen.c (TEST_NAME): Likewise.
11676 * string/test-strpbrk.c (TEST_NAME): Likewise.
11677 * string/test-strrchr.c (TEST_NAME): Likewise.
11678 * string/test-strspn.c (TEST_NAME): Likewise.
11679 * string/test-strstr.c (TEST_NAME): Likewise.
11680 * string/test-bcopy-ifunc.c: New file.
11681 * string/test-bzero-ifunc.c: Likewise.
11682 * string/test-memccpy-ifunc.c: Likewise.
11683 * string/test-memchr-ifunc.c: Likewise.
11684 * string/test-memcmp-ifunc.c: Likewise.
11685 * string/test-memcpy-ifunc.c: Likewise.
11686 * string/test-memmem-ifunc.c: Likewise.
11687 * string/test-memmove-ifunc.c: Likewise.
11688 * string/test-mempcpy-ifunc.c: Likewise.
11689 * string/test-memset-ifunc.c: Likewise.
11690 * string/test-rawmemchr-ifunc.c: Likewise.
11691 * string/test-stpcpy-ifunc.c: Likewise.
11692 * string/test-stpncpy-ifunc.c: Likewise.
11693 * string/test-strcasecmp-ifunc.c: Likewise.
11694 * string/test-strcasestr-ifunc.c: Likewise.
11695 * string/test-strcat-ifunc.c: Likewise.
11696 * string/test-strchr-ifunc.c: Likewise.
11697 * string/test-strchrnul-ifunc.c: Likewise.
11698 * string/test-strcmp-ifunc.c: Likewise.
11699 * string/test-strcpy-ifunc.c: Likewise.
11700 * string/test-strcspn-ifunc.c: Likewise.
11701 * string/test-strlen-ifunc.c: Likewise.
11702 * string/test-strncasecmp-ifunc.c: Likewise.
11703 * string/test-strncat-ifunc.c: Likewise.
11704 * string/test-strncmp-ifunc.c: Likewise.
11705 * string/test-strncpy-ifunc.c: Likewise.
11706 * string/test-strnlen-ifunc.c: Likewise.
11707 * string/test-strpbrk-ifunc.c: Likewise.
11708 * string/test-strrchr-ifunc.c: Likewise.
11709 * string/test-strspn-ifunc.c: Likewise.
11710 * string/test-strstr-ifunc.c: Likewise.
11711
de54b33a
L
11712 * debug/Makefile (tests-ifunc): New variable.
11713 (tests): Add $(tests-ifunc).
11714 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11715 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11716 * debug/test-stpcpy_chk-ifunc.c: New file.
11717 * debug/test-strcpy_chk-ifunc.c: Likewise.
11718
88481c16
SP
117192012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11720
11721 [BZ #13601]
11722 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11723 header is not read in.
11724
135948bd
JM
117252012-10-19 Joseph Myers <joseph@codesourcery.com>
11726
89f1c388
JM
11727 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11728 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11729 directly. Pass built executable to script as
11730 $(built-program-cmd).
11731 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11732 $testprogram without using LD_LIBRARY_PATH and $ldso.
11733
e40a0d21
JM
11734 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11735 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11736 $(rtld-installed-name).
11737 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11738 (rtld_installed_name): Likewise.
11739 (library_path): Likewise.
11740 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11741 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11742 $(run-program-prefix) to tst-tables.sh.
11743 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11744 it to run tst-table-from and tst-table-to.
11745 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11746 Pass it to tst-table.sh.
11747 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11748 $(run-program-prefix) to tst-gettext.sh.
11749 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11750 tst-translit.sh.
11751 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11752 tst-gettext2.sh.
11753 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
11754 to run tst-gettext.
11755 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
11756 to run tst-gettext2.
11757 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
11758 to run tst-translit.
11759 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11760 $(run-program-prefix) to tst-mtrace.sh.
11761 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
11762 to run tst-mtrace.
11763 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11764 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11765 $(rtld-installed-name).
11766 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11767 (rtld_installed_name): Likewise.
11768 (run_program_prefix): New variable. Use it to run wordexp-test.
11769
728e272a
JM
11770 * Makeconfig (ARCH): Remove all definitions.
11771 (machine): Likewise.
11772 [ARCH]: Remove conditional code.
11773 [!objdir]: Give error.
11774 [!objdir] (objpfx): Remove.
11775 [!objdir] (common-objpfx): Likewise.
11776 [!objdir] (common-objdir): Likewise.
11777 * configure.in (config_makefile): Remove. Hardcode Makefile in
11778 AC_CONFIG_FILES call.
11779 * configure: Regenerated.
11780
d528cdcf
JM
11781 [BZ #13888]
11782 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11783 or TMPDIR.
11784 (testout): Likewise.
11785
135948bd
JM
11786 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11787 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11788 $(rtld-installed-name).
11789 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11790 (rtld_installed_name): Likwise.
11791 (runit): Remove function.
11792 (run_getconf): New variable, Use it for running getconf binary.
11793
38c78296
L
117942012-10-18 H.J. Lu <hongjiu.lu@intel.com>
11795
11796 [BZ #14716]
11797 * string/test-memmem.c (check_result): New function.
11798 (do_one_test): Use it.
11799 (check1): New function.
11800 (test_main): Use it.
11801
d077f65f
MT
118022012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
11803
11804 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11805
ced52c71
JM
118062012-10-18 Joseph Myers <joseph@codesourcery.com>
11807
11808 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11809 (_G_LSEEK64): Likewise.
11810 (_G_MMAP64): Likewise.
11811 (_G_FSTAT64): Likewise.
11812 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11813 (_G_LSEEK64): Likewise.
11814 (_G_MMAP64): Likewise.
11815 (_G_FSTAT64): Likewise.
11816 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11817 unconditional. Call __mmap64 directly.
11818 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11819 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
11820 __lseek64 directly.
11821 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11822 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
11823 __mmap64 directly.
11824 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11825 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
11826 __lseek64 directly.
11827 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11828 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
11829 __lseek64 directly.
11830 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11831 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
11832 __lseek64 directly.
11833 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11834 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
11835 __fxstat64 directly.
11836 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11837 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11838 unconditional.
11839 (freopen64) [!_G_OPEN64]: Remove conditional code.
11840 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11841 unconditional.
11842 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11843 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11844 unconditional.
11845 (ftello64) [!_G_LSEEK64]: Remove conditional code.
11846 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11847 unconditional.
11848 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11849 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11850 unconditional.
11851 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11852 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11853 unconditional.
11854 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11855 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11856 unconditional.
11857 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11858 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11859 unconditional.
11860 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11861
b741de23
SP
118622012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11863
11864 [BZ #12140]
11865 * manual/memory.texi (Malloc Tunable Parameters): Add note
11866 about free list pointers overwriting some perturb bytes.
11867 Wording suggested by Roland McGrath.
11868
f9b9d9c9
JM
118692012-10-17 Joseph Myers <joseph@codesourcery.com>
11870
11871 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11872 (lgamma_test): Likewise.
11873 (tgamma_test): Likewise.
11874
172a631a
FW
118752012-10-16 Florian Weimer <fweimer@redhat.com>
11876
11877 [BZ #14700]
11878 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11879 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11880
e9f37252
MK
118812012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
11882
11883 * NEWS: Mention BZ #14716.
11884 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11885 when removing AVAILABLE1_USES_J macro.
11886
d394eb74
L
118872012-10-12 H.J. Lu <hongjiu.lu@intel.com>
11888
11889 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11890 (__bswap_64): __uint64_t for unsigned 64-bit int.
11891
ca38dc17
AS
118922012-10-12 Andreas Schwab <schwab@linux-m68k.org>
11893
11894 * include/string.h (memmem): Declare libc hidden alias.
11895 * string/memmem.c (memmem): Define libc hidden alias.
11896 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11897 __read, __close instead of open, read, close.
11898
9a387d1f
L
118992012-10-11 H.J. Lu <hongjiu.lu@intel.com>
11900
ac49ecaf
L
11901 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11902 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11903 global and hidden.
11904 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11905 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11906 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11907 Likewise.
11908 (__rawmemchr_sse2): Likewise.
11909 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11910 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11911 (__strchr_sse2): Likewise.
11912 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11913 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11914 (__strcasecmp_sse2): Likewise.
11915 (__strncasecmp_sse2): Likewise.
11916 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11917 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11918 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11919 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11920 (__strrchr_sse2): Likewise.
11921 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11922 ifunc-impl-list.c.
11923 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11924 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11925 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11926 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11927 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11928 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11929 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11930 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11931 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11932 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11933 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11934 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11935 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11936 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11937 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11938 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11939 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11940 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11941 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11942 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11943 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11944 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11945 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11946 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11947 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11948 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11949 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11950 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11951 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11952 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11953
b090e8ea
L
11954 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11955 global and hidden.
11956 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11957 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11958 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11959 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11960 Likewise.
11961 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11962 Likewise.
11963 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11964 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11965 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11966 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11967 ifunc-impl-list.c.
11968 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11969 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11970 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11971 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11972 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11973 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11974 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11975 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11976 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11977 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11978 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11979 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11980 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11981 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11982 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11983 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11984 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11985 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11986 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11987 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11988 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11989 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11990 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11991 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11992 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11993 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11994 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11995 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11996 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11997 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11998 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11999 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12000 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12001 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12002 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12003 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12004 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12005 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12006 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12007 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12008 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12009
11dd4af6
L
12010 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12011 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12012 * include/ifunc-impl-list.h: New file.
12013 * misc/ifunc-impl-list.c: Likewise.
12014 * misc/Makefile (routines): Add ifunc-impl-list.
12015 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12016 * string/test-string.h: Include <ifunc-impl-list.h>.
12017 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12018 impl_array): New variables.
12019 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12020 are defined.
12021 (test_init): Call __libc_ifunc_impl_list to initialize
12022 func_list if TEST_IFUNC and TEST_NAME are defined.
12023
9a387d1f
L
12024 * string/Makefile (strop-tests): Add bcopy and bzero.
12025 * string/test-bcopy.c: New file.
12026 * string/test-bzero.c: Likewise.
12027 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12028 defined.
12029 * string/test-memset.c: Support bzero test if TEST_BZERO is
12030 defined.
12031 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12032 __libc_memmove.
12033 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12034 __libc_memset.
12035 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12036 of memset.
12037
472371b9
JM
120382012-10-10 Joseph Myers <joseph@codesourcery.com>
12039
1e4a9536
JM
12040 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12041 * configure: Regenerated.
12042
d173d12e
JM
12043 * Makeconfig (+link-static-before-libc): Don't include
12044 $(link-static-libc).
12045
472371b9
JM
12046 * libio/libio.h (_IO_pos_t): Remove.
12047
89a3ad0b
AO
120482012-10-10 Alexandre Oliva <aoliva@redhat.com>
12049
12050 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12051 McGrath.
12052
e7451425
AO
120532012-10-10 Alexandre Oliva <aoliva@redhat.com>
12054
12055 * crypt/crypt-entry.c: Include fips-private.h.
12056 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12057 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12058 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12059 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12060
4ba74a35
AO
120612012-10-10 Alexandre Oliva <aoliva@redhat.com>
12062
12063 * crypt/crypt-private.h: Include stdbool.h.
12064 (_ufc_setup_salt_r): Return bool.
12065 * crypt/crypt-entry.c: Include errno.h.
12066 (__crypt_r): Return NULL with EINVAL for bad salt.
12067 * crypt/crypt_util.c (bad_for_salt): New.
12068 (_ufc_setup_salt_r): Check that salt is long enough and within
12069 the specified alphabet.
12070 * crypt/badsalttest.c: New file.
12071 * crypt/Makefile (tests): Add it.
12072 ($(objpfx)badsalttest): New.
12073
f96f1242
MK
120742012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12075
12076 * NEWS: Add entry for BZ #14602.
12077
0e8e0c1c
JM
120782012-10-09 Joseph Myers <joseph@codesourcery.com>
12079
12080 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12081 type-generic.
12082 * math/libm-test.inc: Update comment listing what functions and
12083 macros are tested.
12084 (isgreater_test): New function.
12085 (isgreaterequal_test): Likewise.
12086 (isless_test): Likewise.
12087 (islessequal_test): Likewise.
12088 (islessgreater_test): Likewise.
12089 (isunordered_test): Likewise.
12090 (main): Call the new functions.
12091
273edc5e
RM
120922012-10-09 Roland McGrath <roland@hack.frob.com>
12093
b8493de0
RM
12094 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12095 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12096 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12097 * sysdeps/i386/configure: Regenerated.
12098 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12099 * sysdeps/mach/configure: Regenerated.
12100 * sysdeps/mach/hurd/configure: Regenerated.
12101 * sysdeps/powerpc/configure: Regenerated.
12102 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12103 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12104 * sysdeps/s390/s390-32/configure: Regenerated.
12105 * sysdeps/s390/s390-64/configure: Regenerated.
12106 * sysdeps/sh/configure: Regenerated.
12107 * sysdeps/sparc/configure: Regenerated.
12108 * sysdeps/unix/sysv/linux/configure: Regenerated.
12109 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12110 * sysdeps/x86_64/configure: Regenerated.
12111
273edc5e
RM
12112 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12113 defined. Don't check if MAP is NULL.
12114
c8450f70
JM
121152012-10-09 Joseph Myers <joseph@codesourcery.com>
12116
12117 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12118 (_G_stat64): Likewise.
12119 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12120 (_G_stat64): Likewise.
12121 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12122 instead of struct _G_stat64.
12123 * libio/fileops.c (mmap_remap_check): Likewise.
12124 (decide_maybe_mmap): Likewise.
12125 (_IO_new_file_seekoff): Likewise.
12126 (_IO_file_stat): Likewise.
12127 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12128 _G_off64_t.
12129 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12130 instead of struct _G_stat64.
12131 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12132
57e605ba
MK
121332012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
12134
12135 [BZ #14602]
12136 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12137 Replace with ...
12138 (CHECK_EOL): New macro.
12139 (two_way_short_needle): Check beginning of haystack for EOL. Use
12140 CHECK_EOL.
12141 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12142 Replace with CHECK_EOL.
12143 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12144 Replace with CHECK_EOL.
12145
ef1bb361
JM
121462012-10-08 Joseph Myers <joseph@codesourcery.com>
12147
12148 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12149 type-generic.
12150 * math/libm-test.inc: Update comment listing what functions and
12151 macros are tested.
12152 (finite_test): New function.
12153 (isinf_test): Likewise.
12154 (isnan_test): Likewise.
12155 (fpclassify_test): Test subnormal input.
12156 (isfinite_test): Likewise.
12157 (isnormal_test): Likewise.
12158 (main): Call the new functions.
12159
55f11534
JN
121602012-10-08 Jonathan Nieder <jrnieder@gmail.com>
12161
12162 [BZ #14660]
12163 * Makerules (%.dynsym): Force C locale when running
12164 $(OBJDUMP) --dynamic-syms.
12165
1ab29350
AS
121662012-10-08 Andreas Schwab <schwab@linux-m68k.org>
12167
12168 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12169 <stdint.h>.
12170
f1ecb7ef
DM
121712012-10-06 David S. Miller <davem@davemloft.net>
12172
12173 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12174 upper 32-bits of the length value in %o2 since we use branch-on-register
12175 tests which consider the entire 64-bit register.
12176
5d41d91a
L
121772012-10-06 H.J. Lu <hongjiu.lu@intel.com>
12178
12179 * string/test-strstr.c (check2): Add a test for page boundary.
12180
3baddb72
DM
121812012-10-05 David S. Miller <davem@davemloft.net>
12182
12183 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12184 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12185 file.
12186 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12187 sysdep_routines.
12188 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12189 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12190 and bzero when HWCAP_SPARC_CRYPTO is present.
12191
9cee5585
L
121922012-10-05 H.J. Lu <hongjiu.lu@intel.com>
12193
d7e0dab9
L
12194 [BZ #14602]
12195 * string/test-strstr.c (check2): New function.
12196 (test_main): Call check2.
12197
03759f47
L
12198 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12199 and bug-strchr1.
12200 * string/bug-strcasestr1.c (do_test): Moved to ...
12201 * string/test-strcasestr.c (check1): Here. New function.
12202 (do_one_test): Break out result checking code into ...
12203 (check_result): This. New function.
12204 (do_one_test): Call check_result.
12205 (test_main): Call check1.
12206 * string/bug-strchr1.c (do_test): Moved to ...
12207 * string/test-strchr.c (check1): Here. New function.
12208 (do_one_test): Break out result checking code into ...
12209 (check_result): This. New function.
12210 (do_one_test): Call check_result.
12211 (test_main): Call check1.
12212 * string/bug-strstr1.c (main): Moved to ...
046f153e 12213 * string/test-strstr.c (check1): Here. New function.
03759f47
L
12214 (do_one_test): Break out result checking code into ...
12215 (check_result): This. New function.
12216 (do_one_test): Call check_result.
12217 (test_main): Call check1.
12218 * string/bug-strcasestr1.c: Removed.
12219 * string/bug-strchr1.c: Likewise.
12220 * string/bug-strstr1.c: Likewise.
12221
53cea63e
L
12222 * elf/Makefile (dl-routines): Add hwcaps.
12223 * elf/dl-support.c (_dl_important_hwcaps): Removed.
12224 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12225 (_dl_important_hwcaps): Moved to ...
12226 * elf/dl-hwcaps.c: Here. New file.
12227 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12228
9cee5585 12229 [BZ #14557]
bb859b06
L
12230 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12231 if IS_IN_rtld isn't defined.
12232
9cee5585
L
12233 * elf/dl-support.c (_dl_sysinfo_map): New.
12234 Include "get-dynamic-info.h" and "setup-vdso.h".
12235 (_dl_non_dynamic_init): Call setup_vdso.
12236 * elf/dynamic-link.h: Don't include <assert.h>.
12237 (elf_get_dynamic_info): Moved to ...
12238 * elf/get-dynamic-info.h: Here. New file.
12239 * elf/dynamic-link.h: Include "get-dynamic-info.h".
12240 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12241 * elf/setup-vdso.h: Here. New file.
12242 * elf/rtld.c: Include "setup-vdso.h".
12243 (dl_main): Call setup_vdso.
12244
23c31b76
JM
122452012-10-05 Joseph Myers <joseph@codesourcery.com>
12246
28234b07
JM
12247 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12248 creal in comment listing functions tested. List finite, isinf,
12249 isnan, isless, islessequal, isgreater, isgreaterequal,
12250 islessgreater, isunordered, lgamma_r and pow10 as functions and
12251 macros not tested. Mention which functions not tested are aliases
12252 for other functions. Fix typo. Note that signs of NaNs are not
12253 tested.
12254
23c31b76
JM
12255 * scripts/config.guess: Update from config.git.
12256 * scripts/config.sub: Likewise.
12257
9043e228
RM
122582012-10-04 Roland McGrath <roland@hack.frob.com>
12259
12260 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12261 * misc/madvise.c (madvise): Renamed to __madvise.
12262 Make madvise a weak alias.
12263 * include/sys/mman.h: Declare __madvise.
12264 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12265 * sysdeps/unix/syscalls.list
12266 (madvise): Make __madvise the strong name, and madvise a weak alias.
12267 * sysdeps/unix/sysv/linux/syscalls.list
12268 (madvise, mmap): Remove redundant entries.
12269 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12270 * malloc/malloc.c (mtrim): Likewise.
12271 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12272
f57f8055
RM
122732012-10-03 Roland McGrath <roland@hack.frob.com>
12274
12275 * sysdeps/mach/hurd/dl-cache.c: File removed.
12276 * config.h.in (USE_LDCONFIG): New #undef.
12277 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12278 * configure: Regenerated.
12279 * elf/Makefile (dl-routines): Add dl-cache only under
12280 [$(use-ldconfig) = yes].
12281 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12282 cache on [USE_LDCONFIG].
12283 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12284 [USE_LDCONFIG].
12285 * elf/rtld.c (dl_main): Likewise.
12286
5bb0c10a
PT
122872012-10-03 Pino Toscano <toscano.pino@tiscali.it>
12288
12289 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12290 _SC_LEVEL4_CACHE_LINESIZE.
12291
010188c6
RM
122922012-10-03 Roland McGrath <roland@hack.frob.com>
12293
12294 * sysdeps/unix/bsd/confstr.h: File removed.
12295
b6c5ec07
AO
122962012-10-02 Alexandre Oliva <aoliva@redhat.com>
12297
12298 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12299 sys/sdt-config.h.
12300
408223d4
RM
123012012-10-02 Roland McGrath <roland@hack.frob.com>
12302
12303 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12304 Make 'mapoff' field ElfW(Off) rather than off_t.
12305
bb9510dc
DL
123062012-10-02 Dmitry V. Levin <ldv@altlinux.org>
12307
fc997c6e
DL
12308 * nscd/Makefile: Remove nscd-cflags and all its users.
12309 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12310 (CFLAGS-nonlib): Add compiler flags for nscd modules.
12311
bb9510dc
DL
12312 [BZ #10631]
12313 * malloc.c (malloc_printerr): Clarify error message.
12314
05699367
L
123152012-10-02 H.J. Lu <hongjiu.lu@intel.com>
12316
12317 [BZ #14648]
12318 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12319 Set bit_FMA_Usable if FMA is supported.
12320 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12321 macro.
12322 (bit_FMA4_Usable): Updated.
12323 (index_FMA_Usable): New macro.
12324 (CPUID_FMA): Likewise
12325 (HAS_FMA): Defined with bit_FMA_Usable.
12326
51367701
RM
123272012-10-01 Roland McGrath <roland@hack.frob.com>
12328
12329 * bits/types.h (__swblk_t): Type removed.
12330 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12331 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12332 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12333 (__SWBLK_T_TYPE): Likewise.
12334 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12335 (__SWBLK_T_TYPE): Likewise.
12336 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12337 (__SWBLK_T_TYPE): Likewise.
12338 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12339 (__SWBLK_T_TYPE): Likewise.
12340
4d57bf63 123412012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 12342 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
12343
12344 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12345 (xdr_mapname): Use YPMAXMAP as maxsize.
12346 (xdr_peername): Use YPMAXPEER as maxsize.
12347 (xdr_keydat): Use YPAXRECORD as maxsize.
12348 (xdr_valdat): Use YPMAXRECORD as maxsize.
12349
93c65d43
RM
123502012-10-01 Roland McGrath <roland@hack.frob.com>
12351
497a03d6
RM
12352 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12353
93c65d43
RM
12354 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12355 * csu/init-first.c: ... here.
12356 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12357 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12358 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12359 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12360 * sysdeps/i386/init-first.c: File removed.
12361 * sysdeps/sh/init-first.c: File removed.
12362
bec749fd
JM
123632012-10-01 Joseph Myers <joseph@codesourcery.com>
12364
12365 [BZ #14645]
12366 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12367 if x * y might underflow to zero and z is zero.
12368 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12369 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12370 * math/libm-test.inc (min_subnorm_value): New variable.
12371 (fma_test): Add more tests.
12372 (fma_test_towardzero): Likewise.
12373 (fma_test_downward): Likewise
12374 (fma_test_upward): Likewise.
12375 (initialize): Set min_subnorm_value.
12376
8ec5b013
JM
123772012-09-29 Joseph Myers <joseph@codesourcery.com>
12378
12379 [BZ #14638]
12380 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12381 0 + 0.
12382 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12383 mode for addition resulting in exact zero.
12384 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12385 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12386 exact 0 + 0.
12387 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12388 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12389 * math/libm-test.inc (fma_test): Add more tests.
12390 (fma_test_towardzero): New function.
12391 (fma_test_downward): Likewise.
12392 (fma_test_upward): Likewise.
12393 (main): Call the new functions.
12394
b1fa802e
DM
123952012-09-28 David S. Miller <davem@davemloft.net>
12396
12397 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12398
d3b9fd9e
RM
123992012-09-28 Roland McGrath <roland@hack.frob.com>
12400
ea4d37b3
RM
12401 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12402 instead of SIGALRM.
12403
ac51c949
RM
12404 * sysdeps/gnu/_G_config.h: Moved to ...
12405 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12406 * sysdeps/mach/hurd/_G_config.h: Moved to ...
12407 * sysdeps/generic/_G_config.h: ... here.
12408
28c195f7
RM
12409 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
12410
848917f9
RM
12411 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12412
6bacf05b
RM
12413 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12414 Conditionalize target on [libnss_test1.so-version].
12415
91363dbb
RM
12416 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12417
cc87f7d8
RM
12418 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12419 (elfobjdir): Move out of conditionals.
12420
b1c608fe
RM
12421 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12422 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12423 (__nss_lookup_function): Conditionalize label remove_from_tree on
12424 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 12425
1d9a6d96
DM
124262012-09-28 David S. Miller <davem@davemloft.net>
12427
12428 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12429 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12430 file.
12431 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12432 sysdep_routines.
12433 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12434 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12435 when HWCAP_SPARC_CRYPTO is present.
12436
72581615
PT
124372012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12438
12439 * io/tst-mknodat.c: Create a FIFO instead of a socket.
12440
715a900c
JL
124412012-09-28 Andreas Schwab <schwab@linux-m68k.org>
12442
12443 [BZ #6530]
12444 * stdio-common/vfprintf.c (process_string_arg): Revert
12445 2000-07-22 change.
12446
124472011-09-28 Jonathan Nieder <jrnieder@gmail.com>
12448
12449 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12450 for testcase.
12451 * stdio-common/tst-sprintf.c: Include <locale.h>
12452 (main): Test sprintf's handling of incomplete multibyte
12453 characters.
12454
9bac1d86
L
124552012-09-28 H.J. Lu <hongjiu.lu@intel.com>
12456
12457 * elf/dl-runtime.c (VERSYMIDX): Removed.
12458 * elf/dl-version.c (VERSYMIDX): Likewise.
12459 * elf/do-rel.h (VERSYMIDX): Likewise.
12460 (VALIDX): Likewise.
12461 * elf/dynamic-link.h (VERSYMIDX): Likewise.
12462 * elf/rtld.c (VALIDX): Likewise.
12463 (ADDRIDX): Likewise.
9bac1d86
L
12464 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12465 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12466 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
12467 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12468 (VALIDX): Likewise.
12469 (ADDRIDX): Likewise.
9bac1d86 12470
b31606c0
PT
124712012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12472
12473 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12474
11541177
JL
124752012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12476
12477 [BZ #11438]
12478 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12479 to global scope.
12480 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12481 addresses are in the same scope as 192.0.2/24.
12482 * posix/gai.conf: Document new scope table defaults.
12483
adb26fae
SP
124842012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12485
12486 [BZ #5298]
12487 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12488 for ftell. Compute offsets from write pointers instead.
12489 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12490
4573c6b0
SP
124912012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12492
12493 [BZ #14543]
12494 * libio/Makefile (tests): New test case tst-fseek.
12495 * libio/tst-fseek.c: New test case to verify that fseek/ftell
12496 combination works in wide mode.
12497 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12498 state when the external buffer state changes.
12499
aa9bbfe6
DM
125002012-09-27 David S. Miller <davem@davemloft.net>
12501
12502 [BZ #14376]
12503 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12504 pass reloc->r_addend in as the 'high' argument to
12505 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12506
784421e7
DM
12507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12508
c39bc8b8
PT
125092012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12510
12511 * rt/tst-aio2.c: Include <pthread.h>.
12512 * rt/tst-aio3.c: Likewise.
12513
1ccc2399
SE
125142012-09-27 Steve Ellcey <sellcey@mips.com>
12515
12516 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12517
31ed4153
L
125182012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12519
25f5f885
L
12520 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12521 contents on [SHARED].
31ed4153 12522
b7bfe116
MP
125232012-09-26 Marek Polacek <polacek@redhat.com>
12524
12525 [BZ #14530]
12526 [BZ #13741]
12527 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12528 for C++ and GCC <4.3 as well as for non GCC compilers.
12529
43c4edba
MT
125302012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12531
12532 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12533
6a1bf82f
RM
125342012-09-25 Roland McGrath <roland@hack.frob.com>
12535
12536 * Makefile.in (all, install): Declare with .PHONY.
12537 Reported by Michael Hope <michael.hope@linaro.org>.
12538
8ad11b9a
TMQMF
125392012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12540
12541 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12542 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12543 system header.
12544 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12545 Likewise.
12546 (sydep_routines): Add the new and the internal functions.
12547 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12548 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12550 (GLIBC_2.17): Add the new function.
12551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12552 (GLIBC_2.17): Likewise.
12553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12554 (GLIBC_2.17): Likewise.
12555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12556 (GLIBC_2.17): Likewise.
12557 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12558
7e2fca8d
AM
125592012-09-25 Alan Modra <amodra@gmail.com>
12560
12561 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12562 Add release barrier before setting once_control to say
12563 initialisation is done. Add hints on lwarx. Use macro in
12564 place of isync.
12565 (clear_once_control): Add release barrier.
12566
b87c4b24
JM
125672012-09-25 Joseph Myers <joseph@codesourcery.com>
12568
d032e0d2
JM
12569 [BZ #13629]
12570 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12571 specially.
12572 * math/s_clog10.c (__clog10): Likewise.
12573 * math/s_clog10f.c (__clog10f): Likewise.
12574 * math/s_clog10l.c (__clog10l): Likewise.
12575 * math/s_clogf.c (__clogf): Likewise.
12576 * math/s_clogl.c (__clogl): Likewise.
12577 * math/Makefile (libm-calls): Add x2y2m1.
12578 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12579 (__x2y2m1): Likewise.
12580 (__x2y2m1l): Likewise.
12581 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12582 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12583 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12584 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12585 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12586 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12587 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12588 * sysdeps/i386/fpu/libm-test-ulps: Update.
12589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12590
b87c4b24
JM
12591 [BZ #14621]
12592 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12593 int as type of variable DEPTH.
12594 (glob): Use size_t instead of int as type of variables NEWCOUNT
12595 and OLD_PATHC.
12596
6d3bf199
LD
125972012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12598
22bf5c17
LD
12599 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12600 Add s_sincosf-sse2.
12601 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12602 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12603 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12604 macros for using routine as __sincosf_ia32.
12605 Use macro for function declaration and weak_alias.
12606 * sysdeps/i386/fpu/libm-test-ulps: Update.
12607
12608 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12609 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12610
12611 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
12612 subnormal argument.
12613 * math/s_cexpf.c (__cexpf): Likewise.
12614 * math/s_csinf.c (__csinf): Likewise.
12615 * math/s_csinhf.c (__csinhf): Likewise.
12616 * math/s_ctanf.c (__ctanf): Likewise.
12617 * math/s_ctanhf.c (__ctanhf): Likewise.
12618 * math/s_ccosh.c (__ccoshf): Likewise.
12619 * math/s_cexp.c (__cexpl): Likewise.
12620 * math/s_csin.c (__csin): Likewise.
12621 * math/s_csinh.c (__csinh): Likewise.
12622 * math/s_ctan.c (__ctan): Likewise.
12623 * math/s_ctanh.c (ctanh): Likewise.
12624 * math/s_ccoshl.c (__ccoshl): Likewise.
12625 * math/s_cexpl.c (__cexpl): Likewise.
12626 * math/s_csinl.c (__csinl): Likewise.
12627 * math/s_csinhl.c (__csinhl): Likewise.
12628 * math/s_ctanl.c (__ctanl): Likewise.
12629 * math/s_ctanhl.c (__ctanhl): Likewise.
12630
203e5603
JM
126312012-09-25 Joseph Myers <joseph@codesourcery.com>
12632
12633 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12634 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12635 (_IO_off_t): Define to __off_t, not _G_off_t.
12636 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12637 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12638 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12639 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12640 type of __dummy and __dummy2 fields.
12641 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12642 (_G_ssize_t): Likewise.
12643 (_G_off_t): Likewise.
12644 (_G_pid_t): Likewise.
12645 (_G_uid_t): Likewise.
12646 (_G_wchar_t): Likewise.
12647 (_G_wint_t): Likewise.
12648 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12649 (_G_ssize_t): Likewise.
12650 (_G_off_t): Likewise.
12651 (_G_pid_t): Likewise.
12652 (_G_uid_t): Likewise.
12653 (_G_wchar_t): Likewise.
12654 (_G_wint_t): Likewise.
12655 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12656 (_G_ssize_t): Likewise.
12657 (_G_off_t): Likewise.
12658 (_G_pid_t): Likewise.
12659 (_G_uid_t): Likewise.
12660 (_G_wchar_t): Likewise.
12661 (_G_wint_t): Likewise.
12662
9fab36eb
SP
126632012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12664
12665 * malloc/arena.c: Include malloc-sysdep.h.
12666 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12667 is sufficient to shrink the heap or an unmap is needed.
12668 * sysdeps/generic/malloc-sysdep.h: New file. Define
12669 new function check_may_shrink_heap.
12670 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12671 new function check_may_shrink_heap.
12672
2b4f00d1
SP
126732012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12674
12675 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12676 comments.
12677
9a9028b1
DL
126782012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12679
57c69bef
DL
12680 * catgets/test-gencat.sh: Add "set -e".
12681 * elf/tst-pathopt.sh: Likewise.
12682 * grp/tst_fgetgrent.sh: Likewise.
12683 * iconvdata/run-iconv-test.sh: Likewise.
12684 * intl/tst-gettext.sh: Likewise.
12685 * intl/tst-gettext2.sh: Likewise.
12686 * intl/tst-gettext4.sh: Likewise.
12687 * intl/tst-gettext6.sh: Likewise.
12688 * intl/tst-translit.sh: Likewise.
12689 * io/ftwtest-sh: Likewise.
12690 * libio/test-freopen.sh: Likewise.
12691 * malloc/tst-mtrace.sh: Likewise.
12692 * posix/globtest.sh: Likewise.
12693 * posix/tst-getconf.sh: Likewise.
12694 * posix/wordexp-tst.sh: Likewise.
12695 * stdio-common/tst-printf.sh: Likewise.
12696 * stdio-common/tst-unbputc.sh: Likewise.
12697 * stdlib/tst-fmtmsg.sh: Likewise.
12698 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12699 * catgets/Makefile: Do not specify -e option when running
12700 testsuite shell scripts.
12701 * elf/Makefile: Likewise.
12702 * grp/Makefile: Likewise.
12703 * iconvdata/Makefile: Likewise.
12704 * intl/Makefile: Likewise.
12705 * io/Makefile: Likewise.
12706 * libio/Makefile: Likewise.
12707 * malloc/Makefile: Likewise.
12708 * posix/Makefile: Likewise.
12709 * stdio-common/Makefile: Likewise.
12710 * stdlib/Makefile: Likewise.
12711 * sysdeps/x86_64/Makefile: Likewise.
12712
9a9028b1
DL
12713 * io/ftwtest-sh: Add copyright header.
12714 * posix/globtest.sh: Likewise.
12715 * posix/tst-getconf.sh: Likewise.
12716 * posix/wordexp-tst.sh: Likewise.
12717 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12718
ced6f16e
L
127192012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12720
94b32c39
L
12721 [BZ #13679]
12722 * Makeconfig (+link): Defined as $(+link-static) if
12723 $(build-shared) isn't yes.
12724 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12725 isn't yes.
12726 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12727
189e935b
L
12728 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12729
ced6f16e
L
12730 [BZ #14562]
12731 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12732 new chunk size with MALLOC_ALIGN_MASK.
12733
a9f8e53a
JM
127342012-09-24 Joseph Myers <joseph@codesourcery.com>
12735
12736 [BZ #5044]
12737 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12738 <rounding-mode.h>.
12739 (__printf_fphex): Determine rounding using get_rounding_mode and
12740 round_away.
12741 * stdio-common/tst-printf-round.c (struct hex_test): New
12742 structure.
12743 (hex_tests): New variable.
12744 (test_hex_in_one_mode): New function.
12745 (do_test): Also run tests for hex float output.
12746
43153109
JM
127472012-09-21 Joseph Myers <joseph@codesourcery.com>
12748
12749 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12750 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12751 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12752 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12753 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12754 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12755 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12756 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12757
8a26625d
JM
127582012-09-20 Joseph Myers <joseph@codesourcery.com>
12759
12760 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12761 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12762 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12763 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12764
f3fd569c
DL
127652012-09-19 Dmitry V. Levin <ldv@altlinux.org>
12766
12767 [BZ #14579]
12768 * elf/rtld.c (dl_main): Limit the check for self loading to normal
12769 mode only.
12770 * elf/tst-rtld-load-self.sh: New test.
12771 * elf/Makefile: Run it.
12772
63bbedd4
JM
127732012-09-18 Joseph Myers <joseph@codesourcery.com>
12774
12775 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12776 (tst-writev-ENV): Remove.
12777 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12778
626f8b6a
CM
127792012-09-17 Chris Metcalf <cmetcalf@tilera.com>
12780
12781 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12782
b7aaa4d6
JM
127832012-09-17 Joseph Myers <joseph@codesourcery.com>
12784
12785 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12786 unconditional.
12787 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12788 Likewise.
12789 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12790 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12791 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12792 Likewise.
12793
65513990
L
127942012-09-14 H.J. Lu <hongjiu.lu@intel.com>
12795
12796 [BZ #14587]
12797 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12798 * config.make.in (have-cpp-asm-debuginfo): Removed.
12799 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12800 * configure: Regenerated.
12801
784761be
JM
128022012-09-14 Joseph Myers <joseph@codesourcery.com>
12803
12804 [BZ #5044]
12805 * stdio-common/printf_fp.c: Include <stdbool.h> and
12806 <rounding-mode.h>.
12807 (___printf_fp): Determine rounding using get_rounding_mode and
12808 round_away.
12809 * stdio-common/tst-printf-round.c: New file.
12810 * stdio-common/Makefile (tests): Add tst-printf-round.
12811 (link-libm): New variable.
12812 ($(objpfx)tst-printf-round): Depend in $(link-libm).
12813
9503345f
L
128142012-09-13 H.J. Lu <hongjiu.lu@intel.com>
12815
12816 [BZ #14576]
12817 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12818 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12819 Likewise.
12820 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12821 Likewise.
12822
ad35fc00
JM
128232012-09-13 Joseph Myers <joseph@codesourcery.com>
12824
12825 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12826 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12827 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12828 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12829
6c9b0f68
JM
128302012-09-12 Joseph Myers <joseph@codesourcery.com>
12831
12832 [BZ #14518]
12833 * include/rounding-mode.h: New file.
12834 * sysdeps/generic/get-rounding-mode.h: Likewise.
12835 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12836 * stdlib/strtod_l.c: Include <rounding-mode.h>.
12837 (MAX_VALUE): New macro.
12838 (MIN_VALUE): Likewise.
12839 (overflow_value): New function.
12840 (underflow_value): Likewise.
12841 (round_and_return): Use overflow_value and underflow_value to
12842 determine return values in overflow and underflow cases. Use
12843 round_away to determine rounding depending on rounding mode.
12844 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12845 determine return values in overflow and underflow cases.
12846 * stdlib/tst-strtod-round.c: Include <fenv.h>.
12847 (struct test_results): New structure.
12848 (struct test): Use struct test_results to store expected results
12849 for all rounding modes.
12850 (TEST): Include expected results for all rounding modes.
12851 (test_in_one_mode): New function.
12852 (do_test): Use test_in_one_mode to compute and check results.
12853 Check results for all rounding modes.
12854 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12855 $(link-libm).
12856
19fcedd5
AM
128572012-12-09 Allan McRae <allan@archlinux.org>
12858
1e9d84cd 12859 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 12860
8bbfd2f1
JM
128612012-09-11 Joseph Myers <joseph@codesourcery.com>
12862
12863 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12864 (_G_int32_t): Likewise.
12865 (_G_uint16_t): Likewise.
12866 (_G_uint32_t): Likewise.
12867 (_G_HAVE_BOOL): Likewise.
12868 (_G_HAVE_ATEXIT): Likewise.
12869 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12870 (_G_HAVE_IO_FILE_OPEN): Likewise.
12871 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12872 (_G_int32_t): Likewise.
12873 (_G_uint16_t): Likewise.
12874 (_G_uint32_t): Likewise.
12875 (_G_HAVE_BOOL): Likewise.
12876 (_G_HAVE_ATEXIT): Likewise.
12877 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12878 (_G_HAVE_IO_FILE_OPEN): Likewise.
12879 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
12880 (_G_int32_t): Likewise.
12881 (_G_uint16_t): Likewise.
12882 (_G_uint32_t): Likewise.
12883 (_G_HAVE_BOOL): Likewise.
12884 (_G_HAVE_ATEXIT): Likewise.
12885 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12886 (_G_HAVE_IO_FILE_OPEN): Likewise.
12887
b1dc5912
L
128882012-09-11 H.J. Lu <hongjiu.lu@intel.com>
12889
12890 * csu/libc-tls.c: Update copyright years.
12891
0e886ef9
JM
128922012-09-10 Joseph Myers <joseph@codesourcery.com>
12893
28361c5e
JM
12894 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12895 [!_G_USING_THUNKS]: Remove conditional code.
12896 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12897 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12898
0e886ef9
JM
12899 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12900 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12901 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12902 (_G_VTABLE_LABEL_PREFIX): Likewise.
12903 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12904 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12905 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12906 (_G_VTABLE_LABEL_PREFIX): Likewise.
12907 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12908 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12909 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12910 (_G_VTABLE_LABEL_PREFIX): Likewise.
12911 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12912
bcba7aa2
L
129132012-09-10 H.J. Lu <hongjiu.lu@intel.com>
12914
12915 * libio/Makefile: Include ../Makeconfig before tests.
12916 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12917 only if $(build-shared) is yes.
12918
06585ee8
L
12919 * iconv/gconv_db.c: Update copyright years.
12920
80ccd52c
LD
129212012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12922
12923 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12924 unwind info if defined PIC. Fix special cases description.
12925 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12926
12927 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12928 DP_HI_MASK entry.
12929 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12930
691bc9c1
L
129312012-09-07 H.J. Lu <hongjiu.lu@intel.com>
12932
3d9b46b3
L
12933 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12934
de2139a9
L
12935 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12936 is NULL.
12937
5ca78dd0
L
12938 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12939 (LDLIBS-tst-chk4): This.
12940 (LDFLAGS-tst-chk5): Renamed to ...
12941 (LDLIBS-tst-chk5): This.
12942 (LDFLAGS-tst-chk6): Renamed to ...
12943 (LDLIBS-tst-chk6): This.
12944 (LDFLAGS-tst-lfschk4): Renamed to ...
12945 (LDLIBS-tst-lfschk4): This.
12946 (LDFLAGS-tst-lfschk5): Renamed to ...
12947 (LDLIBS-tst-lfschk5): This.
12948 (LDFLAGS-tst-lfschk6): Renamed to ...
12949 (LDLIBS-tst-lfschk6): This.
12950
691bc9c1
L
12951 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12952 on $(common-objpfx)soversions.mk.
12953
65cafb1c
JM
129542012-09-07 Joseph Myers <joseph@codesourcery.com>
12955
12956 [BZ #10014]
12957 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12958 example host name.
12959
c78ab094
SP
129602012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12961
12962 * malloc/arena.c (arena_get_retry): New function that gets
12963 another arena for the caller to try its request on.
12964 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12965 current arena cannot fulfill the request.
12966 (__libc_memalign): Likewise.
12967 (__libc_memalign): Likewise.
12968 (__libc_pvalloc): Likewise.
12969 (__libc_calloc): Likewise.
12970
01f49f59
JT
129712012-09-05 John Tobey <john.tobey@gmail.com>
12972
12973 [BZ #13542]
12974 * manual/arith.texi (Operations on Complex): Fix description
12975 of carg branch cut.
12976
4c23fed5
JM
129772012-09-06 Joseph Myers <joseph@codesourcery.com>
12978
1d3c8572
JM
12979 [BZ #10014]
12980 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12981 host name.
12982
4c23fed5
JM
12983 [BZ #10038]
12984 * manual/memory.texi (Memory): Make order of menu items match
12985 order of sections.
12986
04570aaa
L
129872012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12988
12989 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12990 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
12991 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12992
b80af2f4
L
129932012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12994
12995 * csu/libc-tls.c (static_dtv): Renamed to ...
12996 (_dl_static_dtv): This. Make it global.
12997 (_dl_initial_dtv): Removed.
12998 (__libc_setup_tls): Updated.
12999 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13000 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13001 DL_INITIAL_DTV.
13002
2abe9f15
PM
130032012-09-06 Petr Machata <pmachata@redhat.com>
13004
13005 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13006 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13007 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13008 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13009
0948c3af
L
130102012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13011
13012 [BZ #14545]
13013 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13014 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13015 freeing dtv[-1].
13016
a5055ad1
L
130172012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13018
13019 [BZ #14544]
13020 * Makeconfig (link-static-before-libc): Replace $(+prector)
13021 with $(+prectorT).
13022 (link-static-after-libc): Replace $(+postctor) with
13023 $(+postctorT).
13024 (link-bounded): Replace $(+prector)/$(+postctor) with
13025 $(+prectorT)/$(+postctorT).
13026 (+prectorT): New macro.
13027 (+postctorT): Likewise.
13028
ed8c2ecd
JM
130292012-09-06 Joseph Myers <joseph@codesourcery.com>
13030
13031 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13032 (round_str): Handle values above the maximum for IBM long double
13033 as inexact.
13034 * stdlib/tst-strtod-round.c (tests): Regenerated.
13035
14c996c8
AK
130362012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13037
13038 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13039 assembler flag.
13040 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13041 zarch_nohighgprs around the zarch optimized routines.
13042 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13043 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13044 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13045 for zarch.
13046
430d6ce6
DM
130472012-09-05 David S. Miller <davem@davemloft.net>
13048
13049 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13050
ff04dda4
DM
13051 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13052 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13053 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13054 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13055 entries.
13056
24d4e01b
AO
130572012-09-05 Alexandre Oliva <aoliva@redhat.com>
13058
13059 * malloc/arena.c: Fold copyright years.
13060 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13061
61d58174
AO
130622012-09-05 Alexandre Oliva <aoliva@redhat.com>
13063
13064 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13065
20196a5e
AO
130662012-09-05 Alexandre Oliva <aoliva@redhat.com>
13067
13068 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13069
5c447383
AO
130702012-09-05 Alexandre Oliva <aoliva@redhat.com>
13071
13072 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13073 change internal state upon failure.
13074
fad64255
AO
130752012-09-05 Alexandre Oliva <aoliva@redhat.com>
13076
13077 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13078 * malloc/memusage.c (mmap): Likewise.
13079 (mmap64, mremap): Likewise. Adjust name in comment.
13080
1ffb8c90
SP
130812012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13082
13083 * libio/fileops.c: Fix typos in comments.
13084 * libio/oldfileops.c: Likewise.
13085 * libio/wfileops.c: Likewise.
13086
6ef9cc37
SP
130872012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13088
13089 [BZ #1349]
13090 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13091 (tst-malloc-usable-ENV): Set environment for test case.
13092 * malloc/hooks.c (malloc_check_get_size): New function to get
13093 requested size.
13094 * malloc/malloc.c (musable): Use malloc_check_get_size.
13095 * malloc/tst-malloc-usable.c: New test case.
13096
4d038ae3
AS
130972012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13098
13099 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13100
c4e85184
AM
131012012-09-05 Allan McRae <allan@archlinux.org>
13102
b9dafc56 13103 [BZ #13966]
c4e85184
AM
13104 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13105 determine header location.
13106 * configure: Regenerated.
13107
e1343020
AS
131082012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13109
13110 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13111 float format.
13112 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
13113 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13114 format.
e1343020
AS
13115 (test): Regenerate.
13116
0a9f1987
DM
131172012-09-04 David S. Miller <davem@davemloft.net>
13118
13119 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13120 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13121 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13122
29237804
FW
131232012-09-04 Florian Weimer <fweimer@redhat.com>
13124
13125 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13126 failures.
13127
edb3cb88
FW
13128 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13129
60160d83
JM
131302012-09-04 Joseph Myers <joseph@codesourcery.com>
13131
13132 [BZ #9914]
13133 * libio/iogetdelim.c: Include <limits.h>.
13134 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13135 + len + 1 would overflow.
13136
bcd6c8dc
AJ
131372012-09-03 Andreas Jaeger <aj@suse.de>
13138
13139 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13140 * sysdeps/i386/fpu/libm-test-ulps: Update.
13141
4ffffbd2
LD
131422012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13143
13144 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13145 Add s_sinf-sse2, s_conf-sse2.
13146
13147 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13148 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13149 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13150 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13151
13152 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13153 for using routine as __sinf_ia32.
13154 Use macro for function declaration and weak_alias.
13155 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13156 for using routine as __cosf_ia32.
13157 Use macro for function declaration and weak_alias.
13158
13159 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13160 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13161
13162 * sysdeps/x86_64/fpu/s_sinf.S: New file.
13163 * sysdeps/x86_64/fpu/s_cosf.S: New file.
13164 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13165
13166 * math/libm-test.inc (cos_test): Add more test cases.
13167 (sin_test): Likewise.
13168 (sincos_test): Likewise.
13169
511fa286
AK
131702012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13171
13172 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13173 (IFUNC_RESOLVE): Make pointers to the specialized implementations
13174 hidden.
13175 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13176
5f30cfec
L
131772012-09-02 H.J. Lu <hongjiu.lu@intel.com>
13178
13179 [BZ #14538]
13180 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13181 first element of the GOT.
13182 (elf_machine_load_address): Return the difference between
13183 the runtime address of _DYNAMIC and elf_machine_dynamic ().
13184
0786794f
AM
131852012-09-01 Allan McRae <allan@archlinux.org>
13186
5f30cfec
L
13187 [BZ #13412]
13188 * configure.in (AWK): Require gawk version 3.0 or later.
13189 * configure: Regenerated.
0786794f 13190
26889eac
JM
131912012-09-01 Joseph Myers <joseph@codesourcery.com>
13192
13193 * sysdeps/unix/sysv/linux/kernel-features.h
13194 (__ASSUME_POSIX_CPU_TIMERS): Remove.
13195 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13196 [__NR_clock_getres]: Make code unconditional.
13197 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13198 (clock_getcpuclockid): Remove code left unreachable by removal of
13199 conditionals.
13200 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13201 code unconditional.
13202 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13203 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13204 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13205 Make code unconditional.
13206 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13207 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13208 * sysdeps/unix/sysv/linux/clock_settime.c
13209 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13210 conditional code.
13211 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13212 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13213
d22e28b0
L
132142012-08-29 H.J. Lu <hongjiu.lu@intel.com>
13215
13216 [BZ #14476]
13217 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13218 scripts/test-installation.pl.
13219
13220 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13221 and $ld_so_version if it is set.
13222
050af9c4
SP
132232012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13224
13225 [BZ #14516]
13226 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13227 failure if reading from procfs failed.
13228 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13229
ad845c0b
JM
132302012-08-27 Joseph Myers <joseph@codesourcery.com>
13231
13232 * sysdeps/unix/sysv/linux/kernel-features.h
13233 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13234 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13235 Remove conditional code.
13236 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13237 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13238 Remove conditional code.
13239 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13240 * sysdeps/unix/sysv/linux/i386/fxstat.c
13241 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13242 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13243 * sysdeps/unix/sysv/linux/i386/fxstatat.c
13244 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13245 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13246 * sysdeps/unix/sysv/linux/i386/lxstat.c
13247 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13248 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13249 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13250 Remove conditional code.
13251 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13252 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13253 Remove conditional code.
13254 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13255 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13256 <kernel-features.h>.
13257 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13258 Remove.
13259 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13260 Remove conditional code.
13261 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13262 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13263 Remove conditional.
13264
5dbf56af
MF
132652012-08-27 Mike Frysinger <vapier@gentoo.org>
13266
13267 [BZ #5400]
13268 * NEWS: Add fixed bug number.
13269
d6e70f43
JM
132702012-08-27 Joseph Myers <joseph@codesourcery.com>
13271
7efb4737
JM
13272 [BZ #14519]
13273 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13274 underflowing exponent in case of negative sign.
13275 * stdlib/tst-strtod-round-data: Add more tests.
13276 * stdlib/tst-strtod-round.c (tests): Regenerated.
13277
af92131a
JM
13278 [BZ #3479]
13279 * stdlib/strtod_l.c (NDIG): Remove.
13280 (HEXNDIG): Likewise.
13281 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13282 smallest representable value.
13283 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13284 lie within an exact representation of 1/2 ulp of the result.
13285 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13286 unconditionally.
13287 (TENS_P9_IDX): Define unconditionally.
13288 (TENS_P9_SIZE): Likewise.
13289 (TENS_P10_IDX): Likewise.
13290 (TENS_P10_SIZE): Likewise.
13291 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13292 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13293 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13294 entries for 10^2^13 and 10^2^14.
13295 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13296 (TENS_P13_IDX): Define.
13297 (TENS_P13_SIZE): Likewise.
13298 (TENS_P14_IDX): Likewise.
13299 (TENS_P14_SIZE): Likewise.
13300 (_fpioconst_pow10): Change array size to
13301 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
13302 unconditional.
13303 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13304 1024]: Add entries for 10^2^13 and 10^2^14.
13305 [LAST_POW10 > _LAST_POW10]: Remove #error.
13306 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13307 (_fpioconst_pow10): Change array size to
13308 FPIOCONST_POW10_ARRAY_SIZE.
13309 * stdlib/gen-fpioconst.c: New file.
13310 * stdlib/gen-tst-strtod-round.c: Likewise.
13311 * stdlib/tst-strtod-round-data: Likewise.
13312 * stdlib/tst-strtod-round.c: Likewise.
13313 * stdlib/Makefile (tests): Add tst-strtod-round.
13314
d6e70f43
JM
13315 [BZ #14459]
13316 * stdlib/strtod_l.c: Include <stdint.h>.
13317 (NDEBUG): Do not define.
13318 (round_and_return): Change EXPONENT parameter to type intmax_t.
13319 Rearrange calculations to avoid internal overflow possibilities.
13320 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13321 Rearrange calculations to avoid internal overflow possibilities.
13322 Assert that number fits inside MPNSIZE limbs.
13323 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13324 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
13325 calculations and add assertions to avoid internal overflow
13326 possibilities. Add casts to avoid signed/unsigned operations.
13327 * stdlib/tst-strtod-overflow.c: New file.
13328 * stdlib/Makefile (tests): Add tst-strtod-overflow.
13329
1f529f7d
MP
133302012-08-25 Marek Polacek <polacek@redhat.com>
13331
13332 * time/time.h: Fix some typos in comments.
13333
59a629f1
RM
133342012-08-23 Roland McGrath <roland@hack.frob.com>
13335
13336 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13337 * posix/tst-rfc3484-2.c: Likewise.
13338 * posix/tst-rfc3484-3.c: Likewise.
13339
d3bafbc9
SM
133402012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
13341
13342 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13343 (EF_ARM_ABI_FLOAT_HARD): Likewise.
13344
4efcc022
JM
133452012-08-23 Joseph Myers <joseph@codesourcery.com>
13346
13347 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13348 #include of fxstatat64.c.
13349
3cc3ef96
RM
133502012-08-22 Roland McGrath <roland@hack.frob.com>
13351
f04e2132
RM
13352 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13353 * shadow/getspent_r.c: Likewise.
13354 * shadow/getspnam.c: Likewise.
13355 * shadow/getspnam_r.c: Likewise.
13356 * gshadow/getsgent.c: Likewise.
13357 * gshadow/getsgent_r.c: Likewise.
13358 * gshadow/getsgnam.c: Likewise.
13359 * gshadow/getsgnam_r.c: Likewise.
13360 * inet/getnetbyad.c: Likewise.
13361 * inet/getnetbyad_r.c: Likewise.
13362 * inet/getnetbynm.c: Likewise.
13363 * inet/getnetbynm_r.c: Likewise.
13364 * inet/getnetent.c: Likewise.
13365 * inet/getnetent_r.c: Likewise.
13366 * inet/getproto.c: Likewise.
13367 * inet/getproto_r.c: Likewise.
13368 * inet/getprtent.c: Likewise.
13369 * inet/getprtent_r.c: Likewise.
13370 * inet/getprtname.c: Likewise.
13371 * inet/getprtname_r.c: Likewise.
13372 * inet/getrpcbyname.c: Likewise.
13373 * inet/getrpcbyname_r.c: Likewise.
13374 * inet/getrpcbynumber.c: Likewise.
13375 * inet/getrpcbynumber_r.c: Likewise.
13376 * inet/getrpcent.c: Likewise.
13377 * inet/getrpcent_r.c: Likewise.
13378 * inet/getaliasent.c: Likewise.
13379 * inet/getaliasent_r.c: Likewise.
13380 * inet/getaliasname.c: Likewise.
13381 * inet/getaliasname_r.c: Likewise.
13382 * nscd/getgrgid_r.c: Likewise.
13383 * nscd/getgrnam_r.c: Likewise.
13384 * nscd/gethstbyad_r.c: Likewise.
13385 * nscd/gethstbynm3_r.c: Likewise.
13386 * nscd/getpwnam_r.c: Likewise.
13387 * nscd/getpwuid_r.c: Likewise.
13388 * nscd/getsrvbynm_r.c: Likewise.
13389 * nscd/getsrvbypt_r.c: Likewise.
13390 * nscd/gai.c: Likewise.
13391
c53d909c
RM
13392 * configure.in (build_nscd): New substituted variable, set
13393 by --disable-build-nscd and defaults to $use_nscd.
13394 * configure: Regenerated.
13395 * config.make.in (build-nscd): New substituted variable.
13396 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13397 Change conditional to require [$(build-nscd) = yes] as well.
13398 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13399
3cc3ef96
RM
13400 [BZ# 13696]
13401 * configure.in (use_nscd): New substituted variable, set by
13402 --disable-nscd. If enabled, define USE_NSCD.
13403 * configure: Regenerated.
13404 * config.h.in: Add USE_NSCD.
13405 * config.make.in (use-nscd): New substituted variable.
13406 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13407 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13408 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13409 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13410 (CFLAGS-getgrnam_r.c): Likewise.
13411 (CFLAGS-initgroups.c): Likewise.
13412 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13413 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13414 Variables removed.
13415 * inet/getnetgrent_r.c
13416 (nscd_setnetgrent): New function, broken out of ...
13417 (setnetgrent): ... here. Call it.
13418 (innetgr): Conditionalize nscd bits on [USE_NSCD].
13419 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13420 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13421 * nscd/Makefile (routines, aux): Move definitions after include of
13422 Makeconfig. Conditionalize on [$(use-nscd) != no].
13423 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13424 Conditionalize on [USE_NSCD].
13425 (is_nscd, nscd_init_cb): Likewise.
13426 (nss_load_library): Conditionalize init callback on [USE_NSCD].
13427 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13428 * nss/nss_db/db-init.c: Likewise.
13429 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13430 [USE_NSCD].
13431 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13432 (make_request): Use it.
13433 (cache_valid_p): New function.
13434 (__check_pf): Use it.
13435 * NEWS: Add item for --disable-nscd.
13436
07e51550
DL
134372012-08-22 Dmitry V. Levin <ldv@altlinux.org>
13438
13439 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13440 to support sed >= 4.2.1-20-ga9bf076.
13441 * configure: Regenerated.
13442
35a5b08b
RM
134432012-08-22 Roland McGrath <roland@hack.frob.com>
13444
13445 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13446 Conditionalize whole body on [IREL].
13447
8479f23a
JL
134482012-08-22 Jeff Law <law@redhat.com>
13449
13450 [BZ #14505]
13451 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13452 if the family is PF_UNSPEC.
13453
48da0b21
MF
134542012-08-22 Mike Frysinger <vapier@gentoo.org>
13455
13456 * Makerules (lib-version): Rename from V.
13457 (install-lib-nosubdir): Change V to lib-version.
13458
15d0da8c
WS
134592012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
13460
13461 [BZ #14252]
13462 * powerpc32/power6/wcschr.c: New file.
13463 * powerpc32/power6/wcscpy.c: New file.
13464 * powerpc32/power6/wcsrchr.c: New file.
13465 * powerpc64/power6/wcschr.c: New file.
13466 * powerpc64/power6/wcscpy.c: New file.
13467 * powerpc64/power6/wcsrchr.c: New file.
13468
bcca0895
MK
134692012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13470
13471 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13472 (two_way_short_needle): Use it.
5a4aaa33
RM
13473 * string/strstr.c (AVAILABLE1_USES_J): Define.
13474 * string/strcasestr.c: Likewise.
99677e57
MK
13475
13476 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13477 array references.
13478 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13479
400726de
MK
13480 [BZ #11607]
13481 * NEWS: Add an entry.
13482 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13483 define their defaults.
13484 (two_way_short_needle): Detect end-of-string on-the-fly.
13485 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13486 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13487 * string/bug-strcasestr1.c: New test.
13488 * string/Makefile: Run it.
13489
20a71f2c
MK
134902012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13491
13492 [BZ #11607]
13493 * string/str-two-way.h (two_way_short_needle): Optimize matching of
13494 the first character.
13495
21ad0558
RM
134962012-08-21 Roland McGrath <roland@hack.frob.com>
13497
13498 * csu/elf-init.c (__libc_csu_irel): Function removed.
13499 * csu/libc-start.c (apply_irel): New function.
13500 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13501
0e1d9911
JM
135022012-08-21 Joseph Myers <joseph@codesourcery.com>
13503
13504 * sysdeps/unix/sysv/linux/kernel-features.h
13505 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13506 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13507 <kernel-features.h>.
13508 [__NR_fadvise64_64]: Make code unconditional.
13509 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13510 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13511 !__NR_fadvise64_64)]: Likewise.
13512 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13513 !__NR_fadvise64_64))]: Likewise.
13514 [__NR_fadvise64]: Make code unconditional.
13515 [!__NR_fadvise64]: Remove conditional code.
13516 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13517 <kernel-features.h>.
13518 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13519 unconditional.
13520 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13521 conditional code.
13522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13523 not include <kernel-features.h>.
13524 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13525 unconditional.
13526 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13527 conditional code.
13528 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13529 include <kernel-features.h>.
13530 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13531 unconditional.
13532 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13533 conditional code.
13534
14a50c9d
WS
135352012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13536
13537 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13538 slight instruction rearrangements per scrollpipe analysis.
13539 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13540
c0f4faf0
RM
135412012-08-20 Roland McGrath <roland@hack.frob.com>
13542
696da859
RM
13543 * manual/syslog.texi (syslog; vsyslog, closelog):
13544 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13545 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13546
c0f4faf0
RM
13547 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13548 DSOCAPS to match condition on defining it.
13549
348363b2
JM
135502012-08-20 Joseph Myers <joseph@codesourcery.com>
13551
a35cbf28
JM
13552 * sysdeps/unix/sysv/linux/kernel-features.h
13553 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13555 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13556 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13558 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13559 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13561 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13562 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13563
445f7ecd
JM
13564 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13565 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13566
348363b2
JM
13567 * sysdeps/unix/sysv/linux/kernel-features.h
13568 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13569 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13570 unconditional.
13571 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13572 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13573 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13574 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13575 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13576 Make code unconditional.
13577 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13578 (__mmap64) [!__NR_mmap2]: Likewise.
13579 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13580 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13581 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13582 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13583 [__NR_mmap2]: Make code unconditional.
13584 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13585 (__mmap64) [!__NR_mmap2]: Likewise.
13586
bc5bc0e5
AK
135872012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13588
13589 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13590
88d506de
AJ
135912012-08-18 Andreas Jaeger <aj@suse.de>
13592
13593 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13594
493387d2
MF
135952012-08-18 Mike Frysinger <vapier@gentoo.org>
13596
13597 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13598 * include/unistd.h (__have_sock_cloexec): Likewise.
13599 (__have_pipe2): Likewise.
13600 (__have_dup3): Likewise.
13601
a277af22
MF
136022012-08-18 Mike Frysinger <vapier@gentoo.org>
13603
13604 [BZ #9685]
13605 * include/unistd.h (__have_pipe2): Change define into an extern int.
13606 (__have_dup3): Likewise.
13607 * socket/have_sock_cloexec.c: Include fcntl.h.
13608 (__have_pipe2): New variable.
13609 (__have_dup3): Likewise.
13610
fdab8fd3
MF
136112012-08-17 Mike Frysinger <vapier@gentoo.org>
13612
13613 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13614
31035e80
MP
136152012-08-17 Marek Polacek <polacek@redhat.com>
13616
13617 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13618 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13619
3bd9e993
RM
136202012-08-17 Roland McGrath <roland@hack.frob.com>
13621
c91c505f
RM
13622 * configure.in: Add AC_SUBST for sysheaders.
13623 * configure: Regenerated.
13624 * config.make.in (sysheaders): New substituted variable.
13625
7c6f9d53
RM
13626 * sysdeps/unix/mkfifo.c: Moved ...
13627 * sysdeps/posix/mkfifo.c: ... here.
13628 * sysdeps/unix/mkfifoat.c: Moved ...
13629 * sysdeps/posix/mkfifoat.c: ... here.
13630
13631 * sysdeps/unix/utime.c: Moved ...
13632 * sysdeps/posix/utime.c: ... here.
13633
13634 * sysdeps/unix/time.c: Moved ...
13635 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
13636 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13637 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
13638
13639 * sysdeps/unix/nice.c: Moved ...
13640 * sysdeps/posix/nice.c: ... here.
13641
13642 * sysdeps/unix/alarm.c: Moved ...
13643 * sysdeps/posix/alarm.c: ... here.
13644
3bd9e993
RM
13645 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13646
d1f09384
JL
136472012-08-17 Jeff Law <law@redhat.com>
13648
13649 * intl/Makefile (codeset_mo): New variable.
13650 ($(codeset_mo)): New target.
13651 (tst-codeset.out): Depend on that. Remove explicit rule.
13652 (tst-gettext3.out, tst-gettext5.out): Likewise.
13653 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13654 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13655 * intl/tst-codeset.sh: Remove.
13656 * intl/tst-gettext3.sh: Likewise.
13657 * intl/tst-gettext5.sh: Likewise.
13658
2ae1ae5c
RM
136592012-08-17 Roland McGrath <roland@hack.frob.com>
13660
c31fdb83
RM
13661 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13662 * sysdeps/unix/syscalls.list: ... here.
13663
a0844057
RM
13664 * sysdeps/posix/getaddrinfo.c
13665 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13666 (gaiconf_init, gaiconf_reload): Use them.
13667 [!_STATBUF_ST_NSEC]
13668 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13669 Define using time_t rather than struct timespec.
13670
750c1f2a
RM
13671 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13672 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13673 Macros removed.
13674 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13675 [!NO_THREADS].
13676 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13677 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13678 Likewise.
13679
2ae1ae5c
RM
13680 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13681 __libc_cleanup_push argument.
13682
e66a42f5
RM
13683 * bits/param.h: New file.
13684 * misc/sys/param.h: New file.
13685 * include/sys/param.h: New file.
13686 * misc/Makefile (headers): Add bits/param.h.
13687 * sysdeps/generic/sys/param.h: File removed.
13688 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13689 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13690 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 13691 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 13692
b7c08a66
RM
13693 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13694 last change.
13695
b2e1c562
RM
13696 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13697 [_IO_MTSAFE_IO].
13698 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13699 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13700 New macros.
13701
c75ccd4c
RM
13702 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13703 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13704 rather than -D_IO_MTSAFE_IO conditionally.
13705 * stdio-common/Makefile (CPPFLAGS): Likewise.
13706 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13707 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13708 Use $(libio-mtsafe).
13709 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13710 of -D_IO_MTSAFE_IO.
13711 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13712 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13713 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13714 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13715 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13716 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13717 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13718 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13719 (CFLAGS-fread_u_chk.c): Likewise.
13720 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13721 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13722 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13723 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13724 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13725 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13726 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13727 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13728 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13729
13730 * libio/Makefile: Test [$(libc-reentrant) = yes]
13731 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13732
13733 * Makeconfig
13734 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13735 * sysdeps/pthread/configure: File removed.
13736 * sysdeps/pthread/Makeconfig: New file.
13737 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13738 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13739
d9195db8
GB
137402012-08-16 Gary Benson <gbenson@redhat.com>
13741
13742 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13743 unmapping the first object in a namespace.
13744
86466cd9
RM
137452012-08-16 Roland McGrath <roland@hack.frob.com>
13746
13747 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13748 (__internal_setnetgrent): ... this. Add internal_function to
13749 definition. Add libc_hidden_def.
13750 (setnetgrent): Update caller.
13751 (internal_endnetgrent): Renamed to ...
13752 (__internal_endnetgrent): ... this. Add internal_function to
13753 definition. Add libc_hidden_def.
13754 (endnetgrent): Update caller.
13755 (internal_getnetgrent_r): Renamed to ...
13756 (__internal_getnetgrent_r): ... this. Add internal_function to
13757 definition. Add libc_hidden_def.
13758 (__getnetgrent_r): Update caller.
13759 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
13760
c3c8283c
JM
137612012-08-16 Joseph Myers <joseph@codesourcery.com>
13762
13763 * stdlib/longlong.h: Update from GCC.
13764
db1ee0a8
RM
137652012-08-16 Roland McGrath <roland@hack.frob.com>
13766
13767 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13768 on _QL, which is set by umul_ppmm but never used.
13769 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13770 variables, which are set by GMP macros but never used.
13771 * stdio-common/_itowa.c (_itowa): Likewise.
13772 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13773 * stdlib/mod_1.c (mpn_mod_1): Likewise.
13774
30f69637
CD
137752012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
13776
13777 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13778 struct La_sh_regs is not constant.
13779 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13780 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13781 and struct La_sparc64_regs are not constant.
13782
93a78ac4
JM
137832012-08-16 Joseph Myers <joseph@codesourcery.com>
13784
13785 * sysdeps/unix/sysv/linux/kernel-features.h
13786 (__ASSUME_POSIX_TIMERS): Remove.
13787 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13788 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13789 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13790 Make code unconditional.
13791 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13792 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13793 Make code unconditional.
13794 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13795 * sysdeps/unix/sysv/linux/clock_nanosleep.c
13796 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13797 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13798 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13799 Make code unconditional.
13800 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13801 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13802 (__libc_missing_posix_timers): Remove.
13803
dd924cd7
RM
138042012-08-15 Roland McGrath <roland@hack.frob.com>
13805
4b4f2771
RM
13806 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13807 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13808
601c888b
RM
13809 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13810
176790a7
RM
13811 * elf/dl-sym.c: Include <stdlib.h>.
13812
329bc018
RM
13813 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13814 constants, which avoids warnings in 32-bit builds.
13815
e04e272d
RM
13816 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13817 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13818
952bf94a
RM
13819 * misc/lseek.c: File moved to ...
13820 * io/lseek.c: ... here.
13821
7c99b50a
RM
13822 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13823
dd924cd7
RM
13824 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13825 shifting LEN more than 31 bits at once.
13826
b3f479a8
LD
138272012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13828
13829 [BZ #14195]
8c4ae0d4
RM
13830 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13831 segmentation fault for a case of two empty input strings.
b3f479a8
LD
13832 * string/test-strncasecmp.c (check1): Renamed to...
13833 (bz12205): ...this.
13834 (bz14195): Add new testcase for two empty input strings and N > 0.
13835 (test_main): Call new testcase, adapt for renamed function.
13836
9c55864e
AJ
138372012-08-15 Andreas Jaeger <aj@suse.de>
13838
13839 [BZ #14090]
13840 * crypt/md5test2.c: New test, based on test supplied by Serge
13841 Belyshev <belyshev@depni.sinp.msu.ru>.
13842 * crypt/Makefile (xtests): Add md5test-giant..
13843 * crypt/Makefile ($(objpfx)md5test-giant): Add.
13844
02dcb6c5
PE
138452012-08-15 Paul Eggert <eggert@cs.ucla.edu>
13846
13847 [BZ #14090]
13848 * crypt/md5.c (md5_process_block): Don't assume the buffer
13849 length is less than 2**32.
13850 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13851 length is less than 2**64.
13852
a3f95dcc
RM
138532012-08-15 Roland McGrath <roland@hack.frob.com>
13854
be75d758
RM
13855 * string/str-two-way.h: Include <sys/param.h>.
13856 (MAX): Macro removed.
13857
7312ca90
RM
13858 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13859 Move #define and #undef of memmove to just before and after
13860 including <string.h>.
13861
9a0a5486
RM
13862 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13863 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13864 and after including <string.h>. Move declarations of
13865 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13866 to before #include "string/memmove.c".
13867
67cc348d
RM
13868 * include/dirent.h: Declare __getdirentries.
13869
a3f95dcc
RM
13870 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13871 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13872
ca98e171
MF
138732012-08-14 Mike Frysinger <vapier@gentoo.org>
13874
13875 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13876 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13877 * sysdeps/i386/configure: Regenerated.
13878 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13879 STABS_CURRENT_FILE, and STABS_FUN.
13880 (END): Remove call to STABS_FUN_END.
13881 (STABS_CURRENT_FILE1): Delete.
13882 (STABS_CURRENT_FILE): Likewise.
13883 (STABS_FUN): Likewise.
13884 (STABS_FUN_END): Likewise.
13885 (STABS_FUN2): Likewise.
13886 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13887 * sysdeps/x86_64/configure: Regenerated.
13888
5908bf46
RM
138892012-08-14 Roland McGrath <roland@hack.frob.com>
13890
13891 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 13892 * elf/dl-lookup.c: Likewise.
5908bf46 13893
f2c05b9e
JM
138942012-08-14 Joseph Myers <joseph@codesourcery.com>
13895
13896 * sysdeps/unix/sysv/linux/kernel-features.h
13897 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13898 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13899 unconditionally.
13900 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13901 unconditionally.
13902 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13903 condition on __ASSUME_CLONE_THREAD_FLAGS.
13904
e11f5155
AJ
139052012-08-14 Andreas Jaeger <aj@suse.de>
13906
13907 * sysdeps/i386/fpu/libm-test-ulps: Update.
13908
51a9ba86
MK
139092012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
13910
2fdd4f78
AJ
13911 * include/atomic.h (atomic_exchange_and_add): Split into ...
13912 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13913 New atomic macros.
51a9ba86 13914
ba6cba9e
MT
139152012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
13916
13917 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13918
42443a47
JL
139192012-08-13 Jeff Law <law@redhat.com>
13920
13921 * manual/stdio.texi (snprintf): Clarify handling of the trailing
13922 null byte in the output string.
13923
121dce05
JM
139242012-08-10 Joseph Myers <joseph@codesourcery.com>
13925
13926 * sysdeps/unix/sysv/linux/kernel-features.h
13927 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13928 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13929 (__ASSUME_ARG_MAX_STACK_BASED): Define.
13930 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13931 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13932 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
13933 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13934
bf51f568
JL
139352012-08-09 Jeff Law <law@redhat.com>
13936
13937 [BZ #13939]
13938 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13939 When avoid_arena is set, don't retry in the that arena. Pick the
13940 next one, whatever it might be.
13941 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13942 (arena_lock): Pass in new parameter to arena_get2.
13943 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13944 arena_get2.
13945 (__libc_malloc): Unify retrying after main arena failure with
13946 __libc_memalign version.
13947 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13948
f85fa270
L
139492012-08-09 H.J. Lu <hongjiu.lu@intel.com>
13950
13951 [BZ #14166]
13952 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13953 to __redirect_strstr.
13954 (__strstr_sse42): Use typeof __redirect_strstr.
13955 (__strstr_ia32): Likewise.
13956 (__libc_strstr): New prototype.
13957 (strstr): Renamed to ...
13958 (__libc_strstr): This.
13959 (strstr): New strong alias of __libc_strstr.
13960 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13961 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13962 __redirect_time.
13963 Include <time.h>.
13964 (__libc_time): New prototype.
13965 (time_ifunc): Replace time with __libc_time.
13966 (time): New strong alias and hidden definition of __libc_time.
13967 (__GI_time): Remove strong alias.
13968 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13969 Include <stddef.h>.
13970 (memmove): Redefined to __redirect_memmove.
13971 (__memmove_sse2): Use typeof __redirect_memmove.
13972 (__memmove_ssse3): Likewise.
13973 (__memmove_ssse3_back): Likewise.
13974 (__libc_memmove): New prototype.
13975 (memmove): Renamed to ...
13976 (__libc_memmove): This.
13977 (memmove): New strong alias of __libc_memmove.
13978
33b4a91e
MS
139792012-08-08 Mark Salter <msalter@redhat.com>
13980
13981 * elf/elf.h
13982 (R_MN10300_TLS_GD): Define.
13983 (R_MN10300_TLS_LD): Likewise.
13984 (R_MN10300_TLS_LDO): Likewise.
13985 (R_MN10300_TLS_GOTIE): Likewise.
13986 (R_MN10300_TLS_IE): Likewise.
13987 (R_MN10300_TLS_LE): Likewise.
13988 (R_MN10300_TLS_DTPMOD): Likewise.
13989 (R_MN10300_TLS_DTPOFF): Likewise.
13990 (R_MN10300_TLS_TPOFF): Likewise.
13991 (R_MN10300_SYM_DIFF): Likewise.
13992 (R_MN10300_ALIGN): Likewise.
13993 (R_MN10300_NUM): Update.
13994
b36137f1
JM
139952012-08-08 Joseph Myers <joseph@codesourcery.com>
13996
13997 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13998 Remove.
13999
cdd915fd
RM
140002012-08-08 Roland McGrath <roland@hack.frob.com>
14001
a2433aac
RM
14002 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14003
cdd915fd
RM
14004 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14005 sysdeps/unix -> sysdeps/posix move.
14006 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14007
bf9b740a
AM
140082012-08-07 Allan McRae <allan@archlinux.org>
14009
14010 [BZ #14303]
14011 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14012 (SUNOS_CPP): Likewise.
14013 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14014 not found.
14015 (open_input): Call CPP using execvp.
14016
93df14ee
JM
140172012-08-07 Joseph Myers <joseph@codesourcery.com>
14018
14019 * sysdeps/unix/sysv/linux/kernel-features.h
14020 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14021 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14022 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14023 (__ASSUME_WAITID_SYSCALL): Likewise.
14024 * sysdeps/unix/sysv/linux/dl-execstack.c
14025 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14026 code unconditional.
14027 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14028 conditional code.
14029 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14030 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14031 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14032 code.
14033 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14034 unconditional.
14035 [__ASSUME_WAITID_SYSCALL]: Likewise.
14036 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14037
d34689de
RM
140382012-08-07 Roland McGrath <roland@hack.frob.com>
14039
a281decc
RM
14040 * sysdeps/unix/closedir.c: Renamed to ...
14041 * sysdeps/posix/closedir.c: ... here.
14042 * sysdeps/unix/dirfd.c: Renamed to ...
14043 * sysdeps/posix/dirfd.c: ... here.
14044 * sysdeps/unix/dirstream.h: Renamed to ...
14045 * sysdeps/posix/dirstream.h: ... here.
14046 * sysdeps/unix/fdopendir.c: Renamed to ...
14047 * sysdeps/posix/fdopendir.c: ... here.
14048 * sysdeps/unix/opendir.c: Renamed to ...
14049 * sysdeps/posix/opendir.c: ... here.
14050 * sysdeps/unix/readdir.c: Renamed to ...
14051 * sysdeps/posix/readdir.c: ... here.
14052 * sysdeps/unix/readdir_r.c: Renamed to ...
14053 * sysdeps/posix/readdir_r.c: ... here.
14054 * sysdeps/unix/rewinddir.c: Renamed to ...
14055 * sysdeps/posix/rewinddir.c: ... here.
14056 * sysdeps/unix/seekdir.c: Renamed to ...
14057 * sysdeps/posix/seekdir.c: ... here.
14058 * sysdeps/unix/telldir.c: Renamed to ...
14059 * sysdeps/posix/telldir.c: ... here.
14060 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14061 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14062 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14063 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14064
22895b47
RM
14065 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14066 * bits/fcntl.h: ... here.
14067
707a53b6
RM
14068 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14069 not 0.
14070 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14071 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14072 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14073 (struct flock): Move l_start, l_len to the beginning.
14074 Use __pid_t for l_pid.
14075 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14076 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14077 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14078 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14079 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14080 [__USE_LARGEFILE64] (struct flock64): New type.
14081 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14082
f0bd3e25
RM
14083 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14084 * bits/dirent.h: ... here.
14085
d34689de
RM
14086 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14087 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14088
6dad2c06
JM
140892012-08-07 Joseph Myers <joseph@codesourcery.com>
14090
14091 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14092 Change from 2.6.0 to 2.6.16.
14093 * sysdeps/unix/sysv/linux/configure: Regenerated.
14094 * sysdeps/unix/sysv/linux/kernel-features.h
14095 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14096 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14097 version.
14098 (__ASSUME_UTIMES): Likewise.
14099 (__ASSUME_CLONE_STOPPED): Remove.
14100 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14101 architectures, not kernel version.
14102 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14103 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14104 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14105 (__ASSUME_WAITID_SYSCALL): Likewise.
14106 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14107 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14108 * README: State 2.6.16 as minimum Linux kernel version. Do not
14109 refer to older versions.
14110
03af9520
RM
141112012-08-06 Roland McGrath <roland@hack.frob.com>
14112
8e49df1d
RM
14113 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14114 Define alphasort64 as an alias.
14115 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14116 Define versionsort64 as an alias.
14117 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14118 Define scandir64 as an alias.
14119 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14120 Define scandirat64 as an alias.
14121 * dirent/alphasort64.c (alphasort64):
14122 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14123 * dirent/versionsort64.c: Likewise.
14124 * dirent/scandir64.c: Likewise.
14125 * dirent/scandirat64.c: Likewise.
14126 * sysdeps/wordsize-64/alphasort.c: File removed.
14127 * sysdeps/wordsize-64/alphasort64.c: File removed.
14128 * sysdeps/wordsize-64/scandir.c: File removed.
14129 * sysdeps/wordsize-64/scandir64.c: File removed.
14130 * sysdeps/wordsize-64/scandirat.c: File removed.
14131 * sysdeps/wordsize-64/scandirat64.c: File removed.
14132 * sysdeps/wordsize-64/versionsort.c: File removed.
14133 * sysdeps/wordsize-64/versionsort64.c: File removed.
14134 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14135 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14136 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14137 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14138 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14139 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14140 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14141 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14142
14143 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14144 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14145 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14146 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14147 [defined __arch64__ || defined __sparcv9]
14148 (__INO_T_MATCHES_INO64_T): New macro.
14149 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14150 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14151 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14152 * sysdeps/unix/sysv/linux/bits/dirent.h
14153 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14154 (_DIRENT_MATCHES_DIRENT64): New macro.
14155
03af9520
RM
14156 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14157 Define lockf64 as an alias.
14158 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14159 Define fseeko64 as an alias.
14160 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14161 Define ftello64 as an alias.
14162 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14163 Define _IO_fgetpos64 and fgetpos64 as aliases.
14164 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14165 Define _IO_fsetpos64 and fsetpos64 as aliases.
14166 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14167 Conditionalize body on this.
14168 * libio/fseeko64.c: Likewise.
14169 * libio/ftello64.c: Likewise.
14170 * libio/iofgetpos64.c: Likewise.
14171 * libio/iofsetpos64.c: Likewise.
14172 * sysdeps/wordsize-64/lockf.c: File removed.
14173 * sysdeps/wordsize-64/lockf64.c: File removed.
14174 * sysdeps/wordsize-64/fseeko.c: File removed.
14175 * sysdeps/wordsize-64/fseeko64.c: File removed.
14176 * sysdeps/wordsize-64/ftello.c: File removed.
14177 * sysdeps/wordsize-64/ftello64.c: File removed.
14178 * sysdeps/wordsize-64/iofgetpos.c: File removed.
14179 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14180 * sysdeps/wordsize-64/iofsetpos.c: File removed.
14181 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14182 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14183 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14184 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14185 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14186 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14187 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14188 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14189 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14190 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14191 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14192
14193 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14194 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14195 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14196 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14197 [defined __arch64__ || defined __sparcv9]
14198 (__OFF_T_MATCHES_OFF64_T): New macro.
14199 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14200 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14201 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14202 (__OFF_T_MATCHES_OFF64_T): New macro.
14203
c5757acd
L
142042012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14205
14206 * stdlib/secure-getenv.c (__secure_getenv): Replace
14207 GLIBC_2_16 with GLIBC_2_17.
14208
3a31811e
L
142092012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14210
14211 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14212 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14213
faa2bccb
DM
142142012-08-03 David S. Miller <davem@davemloft.net>
14215
14216 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14217
85fe1997
JM
142182012-08-03 Joseph Myers <joseph@codesourcery.com>
14219
14220 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14221 Remove.
14222 (__ASSUME_CORRECT_SI_PID): Likewise.
14223 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14224 (__ASSUME_TMPFS_NAME): Likewise.
14225 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14226 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14227 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14228 (HAVE_AUX_SECURE): Make definition unconditional.
14229 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14230 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14231
4f75b7a0
RM
142322012-08-03 Roland McGrath <roland@hack.frob.com>
14233
14234 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14235 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14236 * sysdeps/mach/hurd/eloop-threshold.h: New file.
14237 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14238 __eloop_threshold instead of SYMLOOP_MAX.
14239
14240 * sysdeps/generic/eloop-threshold.h: New file.
14241 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14242 of MAXSYMLINKS.
14243 * elf/chroot_canon.c (chroot_canon): Likewise.
14244
7aab07e4
JM
142452012-08-03 Joseph Myers <joseph@codesourcery.com>
14246
14247 [BZ #13717]
14248 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14249 Change to 2.6.0 everywhere.
14250 * sysdeps/unix/sysv/linux/configure: Regenerated.
14251 * sysdeps/unix/sysv/linux/kernel-features.h
14252 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14253 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14254 kernel versions.
14255 (__ASSUME_POSIX_TIMERS): Define unconditionally.
14256 (__ASSUME_FUTEX_REQUEUE): Remove.
14257 (__ASSUME_STATFS64): Define unconditionally.
14258 (__ASSUME_AT_SECURE): Likewise.
14259 (__ASSUME_CORRECT_SI_PID): Likewise.
14260 (__ASSUME_TGKILL): Define without depending on kernel version for
14261 i386.
14262 (__ASSUME_UTIMES): Likewise.
14263 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14264 kernel version.
14265 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14266 (__ASSUME_TMPFS_NAME): Likewise.
14267 * README: Update reference to Linux kernel versions.
14268
b67e9372
MP
142692012-08-02 Marek Polacek <polacek@redhat.com>
14270
1f529f7d 14271 [BZ# 14150]
b67e9372
MP
14272 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
14273 libc_cv_asm_type_prefix with %.
14274 * configure: Regenerated.
d2441631
RM
14275 * include/libc-symbols.h: Remove comment about
14276 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
14277 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14278 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14279 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14280 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14281 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14282 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14283 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14284 * elf/tst-unique2mod1.c: Likewise.
14285 * elf/tst-unique1mod2.c: Likewise.
14286 * elf/tst-unique1mod1.c: Likewise.
14287 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14288 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14289 Replace ASM_TYPE_DIRECTIVE with .type.
14290 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14291 * sysdeps/i386/sysdep.h: Likewise.
14292 * sysdeps/x86_64/sysdep.h: Likewise.
14293 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
14294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14295 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 14296 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
14297 * sysdeps/powerpc/powerpc32/sysdep.h:
14298 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
14299 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14300 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14301 * sysdeps/i386/fpu/e_powf.S: Likewise.
14302 * sysdeps/i386/fpu/e_expl.S: Likewise.
14303 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14304 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14305 * sysdeps/i386/fpu/e_pow.S: Likewise.
14306 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14307 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14308 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14309 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14310 * sysdeps/i386/fpu/e_log2.S: Likewise.
14311 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14312 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14313 * sysdeps/i386/fpu/e_powl.S: Likewise.
14314 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14315 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14316 * sysdeps/i386/fpu/e_logl.S: Likewise.
14317 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14318 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14319 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14320 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14321 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14322 * sysdeps/i386/fpu/e_log.S: Likewise.
14323 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14324 * sysdeps/i386/fpu/e_logf.S: Likewise.
14325 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14326 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14327 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14328 * sysdeps/i386/fpu/e_log10.S: Likewise.
14329 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14330 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14331 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14332 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14333 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14334 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14335 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14336 * sysdeps/i386/i686/strtok.S: Likewise.
14337 * sysdeps/i386/i386-mcount.S: Likewise.
14338 * sysdeps/i386/strtok.S: Likewise.
14339 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14340 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14341 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14342 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14343 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14344 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14345 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14346 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14347 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14348 * sysdeps/x86_64/_mcount.S: Likewise.
14349 * sysdeps/x86_64/strtok.S: Likewise.
14350 * sysdeps/sh/_mcount.S: Likewise.
14351
2747bf9a
RM
143522012-08-01 Roland McGrath <roland@hack.frob.com>
14353
14354 * libio/iofopen.c: Include <fcntl.h>.
14355 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14356 (_IO_fopen64, fopen64): Define as aliases.
14357 * libio/iofopen64.c: Include <fcntl.h>.
14358 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14359 Conditionalize body on this.
14360 * sysdeps/wordsize-64/iofopen.c: File removed.
14361 * sysdeps/wordsize-64/iofopen64.c: File removed.
14362
3fb791b8
MP
143632012-08-01 Marek Polacek <polacek@redhat.com>
14364
14365 * libc/Makeconfig: Use elf in place of binfmt-subdir.
14366 Use dlfcn directly instead of a variable.
14367 (binfmt-subdir): Do not define.
14368 (dlfcn): Likewise.
14369
a9f1039f
JM
143702012-08-01 Joseph Myers <joseph@codesourcery.com>
14371
23bddc06
JM
14372 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14373 Remove all definitions.
14374 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14375 <kernel-features.h>.
14376 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14377 (miss_F_GETOWN_EX): Remove all definitions.
14378 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14379 macro definition.
14380 [!__ASSUME_FCNTL64]: Remove conditional code.
14381 [__ASSUME_FCNTL64]: Make code unconditional.
14382 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14383 <kernel-features.h>.
14384 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14385 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14386 (lockf64) [__NR_fcntl64]: Make code unconditional.
14387 (lockf64) [__ASSUME_FCNTL64]: Likewise.
14388
a9f1039f
JM
14389 * sysdeps/unix/sysv/linux/kernel-features.h
14390 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14391 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14392 Make code unconditional.
14393 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14394 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14396 [__NR_vfork]: Make code unconditional.
14397 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14398 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14400 [__NR_vfork]: Make code unconditional.
14401 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14402 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14403
09c0ee5f
RM
144042012-08-01 Roland McGrath <roland@hack.frob.com>
14405
48aec5b9
RM
14406 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14407 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14408
cd97c966
RM
14409 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14410 Define mkstemp64 as an alias.
3f55550c
RM
14411 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14412 Define mkstemps64 as an alias.
cd97c966
RM
14413 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14414 Define mkostemp64 as an alias.
b8625cfc
RM
14415 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14416 Define mkostemps64 as an alias.
cd97c966
RM
14417 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14418 Conditionalize body on this.
14419 * misc/mkostemp64.c: Likewise.
b8625cfc 14420 * misc/mkostemps64.c: Likewise.
3f55550c 14421 * misc/mkstemps64.c: Likewise.
cd97c966
RM
14422 * sysdeps/wordsize-64/mkstemp64.c: File removed.
14423 * sysdeps/wordsize-64/mkostemp64.c: File removed.
14424 * sysdeps/wordsize-64/mkostemp.c: File removed.
14425 * sysdeps/wordsize-64/mkstemp.c: File removed.
14426 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14427 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14428 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14429 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14430
09c0ee5f
RM
14431 [BZ #14138]
14432 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14433 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14434 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14435 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14436
14437 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14438 compat_symbol macros from <shlib-compat.h> rather than the underlying
14439 default_symbol_version and symbol_version macros, so that DEFAULT
14440 lines in shlib-versions are respected.
14441 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14442
7e66ee51
FW
144432012-08-01 Florian Weimer <fweimer@redhat.com>
14444
14445 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14446 Declare with warn_unused_result.
14447 (setgid, setregid, setegid, setresgid): Likewise.
14448 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14449 Likewise.
14450 * WUR-REPORT: Remove set*id functions.
14451
d2a54255
PT
144522012-07-31 Pino Toscano <toscano.pino@tiscali.it>
14453
14454 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14455
7ecdb005
RM
144562012-07-31 Roland McGrath <roland@hack.frob.com>
14457
b4180a5e 14458 [BZ #10191]
789bd351
RM
14459 * include/sys/socket.h (__libc_accept, __libc_accept4):
14460 Add attribute_hidden.
14461 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14462
40ce302d
RM
14463 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14464 use of PTR_MANGLE.
14465 * inet/getnetgrent_r.c (setup): Likewise.
14466
7ecdb005
RM
14467 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14468
e2eabb2c
DM
144692012-07-31 David S. Miller <davem@davemloft.net>
14470
14471 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14472
d0419dbf
JM
144732012-07-31 Joseph Myers <joseph@codesourcery.com>
14474
14475 [BZ #13629]
14476 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14477 value between 1.0 and 2.0 and smaller part has absolute value less
14478 than 1.0.
14479 * math/s_clog10.c (__clog10): Likewise.
14480 * math/s_clog10f.c (__clog10f): Likewise.
14481 * math/s_clog10l.c (__clog10l): Likewise.
14482 * math/s_clogf.c (__clogf): Likewise.
14483 * math/s_clogl.c (__clogl): Likewise.
14484 * math/libm-test.inc (clog_test): Add more tests.
14485 (clog10_test): Likewise.
14486 * sysdeps/i386/fpu/libm-test-ulps: Update.
14487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14488
2bc13872
FW
144892012-07-31 Florian Weimer <fweimer@redhat.com>
14490
14491 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14492 Exit with zero in case no suitable GID is found, and write a
14493 message to standard error.
14494
bea9b193
RM
144952012-07-30 Roland McGrath <roland@hack.frob.com>
14496
14497 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14498 rather than to 1.
14499 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14500 (MAXPATHLEN): Removed.
14501 (NOGROUP, NODEV): New macros.
14502 (setbit, clrbit, isset, isclr): New macros.
14503 (howmany, roundup, powerof2): New macros.
14504 (DEV_BSIZE): New macro.
14505
14506 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14507 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14508
14509 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14510 definition on [!__NO_LONG_DOUBLE_MATH].
14511
14512 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14513 PTR_MANGLE and PTR_DEMANGLE.
14514
14515 * socket/accept4.c (accept4): Rename to __libc_accept4.
14516 Define accept4 as a weak alias.
14517
14518 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14519 on [_DIRENT_HAVE_D_TYPE].
14520 * io/ftw.c (ftw_dir): Likewise.
14521
14522 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14523
14524 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14525
14526 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14527 Use the BSD numbers rather than the arbitrary ones we had.
14528 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14529 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14530 (SIGXCPU, SIGXFSZ): New macros.
14531 (_NSIG): Now 32.
14532
14533 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14534 initializer on [_LIBC_REENTRANT].
14535
14536 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14537 definitions inside [_POSIX_MAPPED_FILES].
14538
14539 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14540
14541 * dirent/opendir.c: Include <fcntl.h>.
14542
14543 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14544 (__libc_getspecific): Likewise.
14545 (__libc_key_create): Likewise.
14546
14547 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14548 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14549 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14550 (tmpfile64): Define as alias.
14551 * sysdeps/wordsize-64/tmpfile.c: File removed.
14552 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14553 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14554 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14555
14556 * stdio-common/vfscanf.c: Include <stdbool.h>.
14557 * nss/makedb.c: Likewise.
14558 * stdio-common/_i18n_number.h: Likewise.
14559 * argp/argp-help.c: Likewise.
14560 * posix/wordexp.c: Likewise.
14561 * sysdeps/posix/spawni.c: Likewise.
14562 * nss/nss_files/files-initgroups.c: Likewise.
14563 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14564 * nss/nss_files/files-initgroups.c: Likewise.
14565 * nss/nss_db/db-netgrp.c: Likewise.
14566 * nss/nss_db/db-initgroups.c: Likewise.
14567 * io/fchmodat.c: Include <sys/stat.h>.
14568
14569 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14570 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14571
14572 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14573 [HAVE_MMAP].
14574
14575 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14576 Add multiple inclusion protection.
14577
e5abc686
DM
145782012-07-27 David S. Miller <davem@davemloft.net>
14579
14580 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14581
815e6fa3
GB
145822012-07-27 Gary Benson <gbenson@redhat.com>
14583
14584 [BZ #14298]
14585 * elf/rtld.c: Include <stap-probe.h>.
14586 (dl_main): Added static probes "init_start" and "init_complete".
14587 * elf/dl-load.c: Include <stap-probe.h>.
14588 (lose): Take new parameter "nsid".
14589 Added static probe "map_failed".
14590 (_dl_map_object_from_fd): Pass namespace id to lose.
14591 Added static probe "map_start".
14592 (open_verify): Pass namespace id to lose.
14593 * elf/dl-open.c: Include <stap-probe.h>.
14594 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14595 and "reloc_complete".
14596 * elf/dl-close.c: Include <stap-probe.h>.
14597 (_dl_close_worker): Added static probes "unmap_start" and
14598 "unmap_complete".
14599 * elf/rtld-debugger-interface.txt: New file documenting the above.
14600
9f98c16c
RM
146012012-07-26 Roland McGrath <roland@hack.frob.com>
14602
14603 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14604 rather than a string variable.
14605 * sunrpc/rpc_main.c (h_output): Likewise.
14606 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14607
f3c22df3
PT
146082012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14609
14610 * inet/check_native.c: New file.
14611
3129cfc6
JM
146122012-07-26 Joseph Myers <joseph@codesourcery.com>
14613
da865e95
JM
14614 [BZ #13629]
14615 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14616 if larger part has absolute value 1.0.
14617 * math/s_clog10.c (__clog10): Likewise.
14618 * math/s_clog10f.c (__clog10f): Likewise.
14619 * math/s_clog10l.c (__clog10l): Likewise.
14620 * math/s_clogf.c (__clogf): Likewise.
14621 * math/s_clogl.c (__clogl): Likewise.
14622 * math/libm-test.inc (clog_test): Add more tests.
14623 (clog10_test): Likewise.
14624 * sysdeps/i386/fpu/libm-test-ulps: Update.
14625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14626
3129cfc6
JM
14627 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14628 (pltexit): Likewise.
14629 (La_regs): Likewise.
14630 (La_retval): Likewise.
14631 (int_retval): Likewise.
14632 Update #error for removed macros to refer only to definitions in
14633 tst-audit.h.
14634 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14635 macro.
14636 (pltexit): Likewise.
14637 (La_regs): Likewise.
14638 (La_retval): Likewise.
14639 (int_retval): Likewise.
14640 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14641 macro.
14642 (pltexit): Likewise.
14643 (La_regs): Likewise.
14644 (La_retval): Likewise.
14645 (int_retval): Likewise.
14646 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14647 macro.
14648 (pltexit): Likewise.
14649 (La_regs): Likewise.
14650 (La_retval): Likewise.
14651 (int_retval): Likewise.
14652 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14653 macro.
14654 (pltexit): Likewise.
14655 (La_regs): Likewise.
14656 (La_retval): Likewise.
14657 (int_retval): Likewise.
14658 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14659 macro.
14660 (pltexit): Likewise.
14661 (La_regs): Likewise.
14662 (La_retval): Likewise.
14663 (int_retval): Likewise.
14664 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14665 macro.
14666 (pltexit): Likewise.
14667 (La_regs): Likewise.
14668 (La_retval): Likewise.
14669 (int_retval): Likewise.
14670 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14671 macro definitions in tst-audit.h.
14672 * sysdeps/i386/tst-audit.h: New file.
14673 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14674 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14675 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14676 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14677 * sysdeps/sh/tst-audit.h: Likewise.
14678 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14679 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14680 * sysdeps/x86_64/tst-audit.h: Likewise.
14681
bfc07087
AJ
146822012-07-26 Andreas Jaeger <aj@suse.de>
14683
b1b2aaf8
AJ
14684 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14685 ptrace.
14686
14687 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14688 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14689 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14690 PTRACE_O_MASK.
14691 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14692 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14693 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14694
bfc07087
AJ
14695 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14696 value.
14697
14698 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14699 _sigsys.
14700 (si_call_addr, si_syscall, si_arch): Define new macro.
14701 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14702 _sigsys.
14703 (si_call_addr, si_syscall, si_arch): Define new marcro.
14704 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14705 _sigsys.
14706 (si_call_addr, si_syscall, si_arch): Define new macro.
14707 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14708 _sigsys.
14709 (si_call_addr, si_syscall, si_arch): Define new macro.
14710
89b4b02f
JM
147112012-07-25 Joseph Myers <joseph@codesourcery.com>
14712
14713 [BZ #13717]
14714 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14715 Change to 2.4.21 where previously 2.4.1.
14716 * sysdeps/unix/sysv/linux/configure: Regenerated.
14717 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14718 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14719 Linux kernel version.
14720 (__ASSUME_STD_AUXV): Remove.
14721 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14722 kernel version.
14723 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14724 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14725 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14726 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14727 (__ASSUME_NETLINK_SUPPORT): Likewise.
14728 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14729 (__no_netlink_support): Remove conditional definition.
14730 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14731 Remove.
14732 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14733 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14734 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14735 (if_nameindex_ioctl): Remove.
14736 (if_nameindex_netlink): Do not handle __no_netlink_support.
14737 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14738 code.
14739 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14740 Remove conditional code.
14741 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14742 code.
14743 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14744 unconditional.
14745 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14746 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14747 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14748 Remove.
14749 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14750 [!__ASSUME_STD_AUXV]: Remove conditional code.
14751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14752 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14753 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14755 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14756 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14757 code.
14758 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14760 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14761 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14762 conditional code.
14763 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14765 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14766 code.
14767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14768 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14769 conditional code.
14770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14771 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14772 code unconditional.
14773 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14774 conditional code.
14775 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14776 unconditional.
14777 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14778 conditional code.
14779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14780 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14781 unconditional.
14782 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14783 conditional code.
14784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14785 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14786 code unconditional.
14787 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14788 conditional code.
14789 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14790 unconditional.
14791 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14792 conditional code.
14793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14794 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14795 code unconditional.
14796 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14797 conditional code.
14798 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14799 unconditional.
14800 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14801 conditional code.
14802
842a39cd
AS
148032012-07-25 Andreas Schwab <schwab@linux-m68k.org>
14804
14805 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14806 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14807 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14808 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14809 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14810 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14811 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14812 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14813 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14814 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14815 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14816 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14817 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14818 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14819 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14820 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14821 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14822 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14823 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14824 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14825 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14826 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14827 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14828
84b3fd84
FW
148292012-07-25 Florian Weimer <fweimer@redhat.com>
14830
14831 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
14832 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14833 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14834 Introduce __libc_secure_getenv.
0c7936d5
FW
14835 * stdlib/Versions (2.17): Add secure_getenv
14836 (GLIBC_PRIVATE): Add __libc_secure_getenv.
14837 * stdlib/secure-getenv.c: Rename __secure_getenv to
14838 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
14839 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
14840 * stdlib/tst-secure-getenv.c: New.
14841 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
14842 * manual/startup.texi (Environment Access): Document
14843 secure_getenv.
84b3fd84
FW
14844 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14845 __libc_secure_getenv.
14846 * inet/ruserpass.c (ruserpass): Likewise.
14847 * malloc/mtrace.c (mtrace): Likewise.
14848 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 14849 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
14850 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14851 * sysdeps/posix/tempname.c: Likewise. Evaluate
14852 HAVE_SECURE_GETENV.
14853 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 14854 __secure_getenv to __libc_secure_getenv.
84b3fd84 14855 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
14856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14857 Likewise.
14858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14859 Likewise.
14860 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14861 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14862 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14863 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14864 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14865 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14866 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 14867
56e49b71
JM
148682012-07-25 Joseph Myers <joseph@codesourcery.com>
14869
14870 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14871 (struct La_i86_retval): Likewise.
14872 (struct La_x86_64_regs): Likewise.
14873 (struct La_x86_64_retval): Likewise.
14874 (struct La_x32_regs): Likewise.
14875 (struct La_x32_retval): Likewise.
14876 (struct La_ppc32_regs): Likewise.
14877 (struct La_ppc32_retval): Likewise.
14878 (struct La_ppc64_regs): Likewise.
14879 (struct La_ppc64_retval): Likewise.
14880 (struct La_sh_regs): Likewise.
14881 (struct La_sh_retval): Likewise.
14882 (struct La_s390_32_regs): Likewise.
14883 (struct La_s390_32_retval): Likewise.
14884 (struct La_s390_64_regs): Likewise.
14885 (struct La_s390_64_retval): Likewise.
14886 (struct La_sparc32_regs): Likewise.
14887 (struct La_sparc32_retval): Likewise.
14888 (struct La_sparc64_regs): Likewise.
14889 (struct La_sparc64_retval): Likewise.
14890 (struct audit_ifaces): Remove architecture-specific pltenter and
14891 pltexit members.
14892 * sysdeps/i386/ldsodefs.h: New file.
14893 * sysdeps/powerpc/ldsodefs.h: Likewise.
14894 * sysdeps/s390/ldsodefs.h: Likewise.
14895 * sysdeps/sh/ldsodefs.h: Likewise.
14896 * sysdeps/sparc/ldsodefs.h: Likewise.
14897 * sysdeps/x86_64/ldsodefs.h: Likewise.
14898
354691b7
MP
148992012-07-25 Marek Polacek <polacek@redhat.com>
14900
14901 [BZ #6808]
14902 * math/libm-test.inc (yn_test): Add another test.
14903 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14904 to ERANGE when the result is +-Inf.
14905 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14906 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14907 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14908 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14909
bf9e2071
JM
149102012-07-24 Joseph Myers <joseph@codesourcery.com>
14911
14912 * conform/data/time.h-data (NULL): Use macro-constant. Require
14913 equal to 0.
14914 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
14915 clock_t.
14916 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
14917
57633811
TS
149182012-07-23 Thomas Schwinge <thomas@codesourcery.com>
14919
14920 * configure.in <sysdeps resolving>: Correct printing
14921 Implies_before.
14922 * configure: Regenerate.
14923
c23c33b0
TS
149242012-07-22 Thomas Schwinge <thomas@codesourcery.com>
14925
14926 * math/w_ilogb.c: Include <limits.h>.
14927 * math/w_ilogbl.c: Likewise.
14928
b5982523
JM
149292012-07-20 Joseph Myers <joseph@codesourcery.com>
14930
14931 * manual/lang.texi (__va_copy): Document primarily as ISO C99
14932 va_copy. Document allowing for unavailable va_copy only as
14933 pre-C99 compatibility.
14934 * manual/string.texi (Copying and Concatenation): Use va_copy
14935 instead of __va_copy in concat example.
14936
ac4ea442
PT
149372012-07-20 Pino Toscano <toscano.pino@tiscali.it>
14938
14939 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14940 (__sendto): Use create_address_port. Initialize APORT and deallocate
14941 it if not null.
14942
f98eafbd
PT
14943 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14944 with O_NOLINK passed to __file_name_lookup.
14945
898c7aab
PT
14946 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14947 with O_NOLINK passed to __file_name_lookup.
14948
0ced335a
PT
14949 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14950 negative N or less than NGIDS.
14951
b3404dbd
PT
14952 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14953 type to string_t. Set ERANGE as errno and return it if NAME is not big
14954 enough. Use memcpy instead of strncpy.
14955
0f48659e
JM
149562012-07-20 Joseph Myers <joseph@codesourcery.com>
14957
14958 * elf/Makefile (check-data): Remove.
14959 (localplt.data): New vpath directive.
14960 ($(objpfx)check-localplt.out): Use localplt.data from vpath
14961 instead of $(check-data).
14962 * scripts/data/localplt-generic.data: Move to ...
14963 * sysdeps/generic/localplt.data: ... here.
14964 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14965 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14966 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14968 ... here.
14969 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14971 ... here.
14972 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14974 ... here.
14975 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14976 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14977 ... here.
14978 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14979 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14980 ... here.
14981 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14982 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14983 ... here.
14984
d37cbdaa
AZ
149852012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14986
14987 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14988 PPC32 and PPC64 files.
14989 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14990 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14991
46f85fc2
AK
149922012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14993
14994 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14995 __makecontext_ret to ...
14996 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14997 ... here and call exit if uc_link is NULL. New file.
14998 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14999 __makecontext_ret.S.
15000 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15001 __makecontext_ret to ...
15002 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15003 ... here and call exit if uc_link is NULL. New file.
15004 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15005 __makecontext_ret.S.
15006
08f43f9b
AK
150072012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15008
15009 * elf/elf.h (R_390_IRELATIVE): New definition.
15010 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15011 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15012 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15013 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15014 (elf_machine_lazy_rel): Likewise.
15015 * sysdeps/s390/dl-irel.h: New file.
15016 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15017 * sysdeps/s390/s390-64/memset.S: New asm code.
15018 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15019 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15020 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15021 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15022 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15023 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15024 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15025 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15026 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15027 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15028 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15029 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15030 * sysdeps/s390/s390-32/memset.S: New asm code.
15031 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15032
3b05db33
MP
150332012-07-17 Marek Polacek <polacek@redhat.com>
15034
15035 [BZ #14349]
15036 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15037 * sysdeps/s390/s390-64/configure.in: Likewise.
15038 * sysdeps/sparc/configure.in: Likewise.
15039 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15040 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15041 * sysdeps/i386/configure.in: Likewise.
15042 * sysdeps/x86_64/configure.in: Likewise.
15043 * sysdeps/sh/configure.in: Likewise.
15044 * sysdeps/s390/s390-32/configure: Regenerated.
15045 * sysdeps/s390/s390-64/configure: Likewise.
15046 * sysdeps/x86_64/configure: Likewise.
15047 * sysdeps/sh/configure: Likewise.
15048 * sysdeps/powerpc/powerpc64/configure: Likewise.
15049 * sysdeps/powerpc/powerpc32/configure: Likewise.
15050 * sysdeps/sparc/configure: Likwise.
15051 * sysdeps/i386/configure: Likewise.
15052
a66877c6
MP
15053 * elf/dl-open.c: Comment fixes.
15054
cfc82fd8
JM
150552012-07-17 Joseph Myers <joseph@codesourcery.com>
15056
bd29910a
JM
15057 * Makefile [CXX] (check-data): Remove.
15058 [CXX] (c++-types.data): New vpath directive.
15059 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15060 vpath. Do not allow for C++ type data being missing.
15061 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15062 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15063 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15064 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15065 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15066 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15067 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15069 ... here.
15070 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15072 ... here.
15073 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15074 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15075 ... here.
15076 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15077 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15078 ... here.
15079 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15080 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15081 ... here.
15082 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15083 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15084 ... here.
15085 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15086 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15087 ... here.
15088 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15089 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15090
cfc82fd8
JM
15091 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15092 definitions to architecture-specific files.
15093 (TLS_IE): Likewise.
15094 (TLS_LD): Likewise.
15095 (TLS_GD): Likewise.
15096 * sysdeps/i386/tls-macros.h: New file.
15097 * sysdeps/powerpc/tls-macros.h: Likewise.
15098 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15099 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15100 * sysdeps/sh/tls-macros.h: Likewise.
15101 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15102 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15103 * sysdeps/x86_64/tls-macros.h: Likewise.
15104
f7db3170
TS
151052012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15106
07cbfc23
TS
15107 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15108 zero value for regular exit case.
15109
f7db3170
TS
15110 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15111 (__start_context): Preserve zero value for regular exit case.
15112
dc97c227
TS
151132012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15114 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15115
15116 * manual/setjmp.texi (setcontext): Clarify normal process
15117 termination when uc_link is the null pointer.
15118 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15119 exit call.
15120
d0cd7d02
AS
151212012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15122
15123 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15124 preprocessor. Test for each exception mask separately.
15125
dd318934
AJ
151262012-07-16 Andreas Jaeger <aj@suse.de>
15127
15128 * po/ru.po: Update from translation team.
15129
8048311a
JM
151302012-07-15 Joseph Myers <joseph@codesourcery.com>
15131
15132 * conform/data/string.h-data (NULL): Use macro-constant. Require
15133 equal to 0.
15134 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15135 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15136 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15137 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15138 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15139
b637d46e
AJ
151402012-07-13 Andreas Jaeger <aj@suse.de>
15141
15142 * po/fr.po: Update from translation team.
15143
541428fe
MP
151442012-07-12 Marek Polacek <polacek@redhat.com>
15145
15146 [BZ #14173]
15147 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15148 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15149 loop condition.
15150
ec332e94
JM
151512012-07-12 Joseph Myers <joseph@codesourcery.com>
15152
15153 [BZ #13717]
15154 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15155 Change to 2.4.1 where previously 2.4.0.
15156 * sysdeps/unix/sysv/linux/configure: Regenerated.
15157 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15158 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15159 version.
15160 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15161 (__ASSUME_AT_CLKTCK): Remove.
15162 (__ASSUME_AT_PAGESIZE): Likewise.
15163 (__ASSUME_AT_XID): Likewise.
15164 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15165 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15166 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15167 unconditionally.
15168 (HAVE_AUX_PAGESIZE): Likewise.
15169 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15170 [__ASSUME_AT_CLKTCK]: Make code unconditional.
15171 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15172
7b6e99be
JB
151732012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
15174
15175 [BZ #14307]
15176 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15177 the temporary buffer used to invoke __gethostbyname2_r,
15178 __gethostbyaddr_r and gethostbyname4_r to make room for struct
15179 host_data / struct gaih_addrtuple.
15180 * resolv/nss_dns/dns-host.c (global scope): Move definition of
15181 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15182 header file nss/nsswitch.h.
15183 * nss/nsswitch.h (global scope): Add definition of implementation
15184 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15185 resolv/nss_dns/dns-host.c).
15186
608404eb
AJ
151872012-07-11 Andreas Jaeger <aj@suse.de>
15188
15189 * po/fr.po: Update from translation team.
15190
71220aca
AJ
15191 * po/sv.po: Update from translation team
15192 * po/fr.po: Another update from translation team.
15193
28cfe843
AZ
151942012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15195
15196 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15197 for subnormals or multiply small sinh result by itself.
15198 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15199 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15200
6b90f981
DM
152012012-07-11 David S. Miller <davem@davemloft.net>
15202
15203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15204
c6825772
AS
152052012-07-10 Andreas Schwab <schwab@linux-m68k.org>
15206
15207 [BZ #14347]
15208 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15209 (INTERNAL_MARK): Shift it here.
15210
7b8e0d49
MP
152112012-07-10 Marek Polacek <polacek@redhat.com>
15212
15213 [BZ #14151]
15214 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
15215 libc_cv_asm_global_directive with .globl.
15216 * configure: Regenerated.
15217 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15218 with .globl.
15219 * sysdeps/i386/configure: Regenerated.
15220 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15221 with .globl.
15222 * sysdeps/x86_64/configure: Regenerated.
15223 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15224 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15225 * elf/tst-unique2mod2.c: Likewise.
15226 * elf/tst-unique2mod1.c: Likewise.
15227 * elf/tst-unique1mod2.c: Likewise.
15228 * elf/tst-unique1mod1.c: Likewise.
15229 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15230 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15231 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15232 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15233 * sysdeps/mach/sysdep.h: Likewise.
15234 * sysdeps/i386/sysdep.h: Likewise.
15235 * sysdeps/i386/i386-mcount.S: Likewise.
15236 * sysdeps/x86_64/_mcount.S: Likewise.
15237 * sysdeps/x86_64/sysdep.h: Likewise.
15238 * sysdeps/sh/_mcount.S: Likewise.
15239 * sysdeps/sh/sysdep.h: Likewise.
15240 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15241 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15242 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15243 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15244 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15245 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15246 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15247 * locale/localeinfo.h: Likewise.
15248 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15249 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15250
6c55cda3
RM
152512012-07-09 Roland McGrath <roland@hack.frob.com>
15252
15253 [BZ #14336]
15254 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15255 system".
15256 * manual/message.texi (The Uniforum approach): Likewise.
15257 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15258 (glibc iconv Implementation): Likewise.
15259
638a572e
JM
152602012-07-09 Joseph Myers <joseph@codesourcery.com>
15261
15262 [BZ #14337]
15263 * math/s_clog.c (__clog): Avoid scaling a value down where that
15264 could result in underflow.
15265 * math/s_clog10.c (__clog10): Likewise.
15266 * math/s_clog10f.c (__clog10f): Likewise.
15267 * math/s_clog10l.c (__clog10l): Likewise.
15268 * math/s_clogf.c (__clogf): Likewise.
15269 * math/s_clogl.c (__clogl): Likewise.
15270 * math/libm-test.inc (clog_test): Add more tests.
15271 (clog10_test): Likewise.
15272 * sysdeps/i386/fpu/libm-test-ulps: Update.
15273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15274
261f4859
AS
152752012-07-06 Andreas Schwab <schwab@linux-m68k.org>
15276
0abaf3e4
AS
15277 [BZ #14283]
15278 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15279 by 7 not 8 to examine high bit of fractional part.
15280
261f4859
AS
15281 [BZ #14042]
15282 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15283 for call to __mcount_internal.
15284 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15285 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15286 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15287
f17ac40d
JM
152882012-07-06 Joseph Myers <joseph@codesourcery.com>
15289
9ad63c23
JM
15290 [BZ #14154]
15291 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15292 approximation for values within 0x1p-13f of an odd multiple of
15293 pi/4.
15294 * math/libm-test.inc (tan_test): Do not allow spurious underflow
15295 exception. Add more tests.
15296 * sysdeps/i386/fpu/libm-test-ulps: Update.
15297
f17ac40d
JM
15298 [BZ #6778]
15299 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15300 inputs and return -1 for them. Do not check for +Inf in case not
15301 reachable for +Inf.
15302 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15303 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15304 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15305 and return -1 for them. Do not check for +Inf in case not
15306 reachable for +Inf.
15307 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15308 define.
15309 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15310 and return -1 for them. Do not check for +Inf in case not
15311 reachable for +Inf.
15312 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
15313 spurious underflow.
15314 * sysdeps/i386/fpu/libm-test-ulps: Update.
15315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15316
fb21f89b
MF
153172012-07-06 Mike Frysinger <vapier@gentoo.org>
15318
15319 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15320
cdfe2c5e
JM
153212012-07-05 Joseph Myers <joseph@codesourcery.com>
15322
15323 [BZ #14157]
15324 [BZ #14331]
15325 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15326 could result in spurious underflow. Scale down values above
15327 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15328 * math/s_csqrtf.c (__csqrtf): Likewise.
15329 * math/s_csqrtl.c (__csqrtl): Likewise.
15330 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
15331 spurious underflow.
15332 * sysdeps/i386/fpu/libm-test-ulps: Update.
15333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15334
70d35b67
AS
153352012-07-04 Andreas Schwab <schwab@linux-m68k.org>
15336
704bc459
AS
15337 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15338 xopen-msg.sed.
15339 * catgets/xopen-msg.awk: New file.
15340 * catgets/xopen-msg.sed: Removed.
15341
70d35b67
AS
15342 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15343 po2text.sed.
15344 * intl/po2test.awk: New file.
15345 * intl/po2test.sed: Removed.
15346
ca61cf32
JM
153472012-07-04 Joseph Myers <joseph@codesourcery.com>
15348
15349 [BZ #14328]
15350 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15351 or multiply small sinh result by itself.
15352 * math/s_ctanf.c (__ctanf): Likewise.
15353 * math/s_ctanh.c (__ctanh): Likewise.
15354 * math/s_ctanhf.c (__ctanhf): Likewise.
15355 * math/s_ctanhl.c (__ctanhl): Likewise.
15356 * math/s_ctanl.c (__ctanl): Likewise.
15357 * math/libm-test.inc (ctan_test_tonearest): New function.
15358 (ctan_test_towardzero): Likewise.
15359 (ctan_test_downward): Likewise.
15360 (ctan_test_upward): Likewise.
15361 (ctanh_test_tonearest): Likewise.
15362 (ctanh_test_towardzero): Likewise.
15363 (ctanh_test_downward): Likewise.
15364 (ctanh_test_upward): Likewise.
15365 (main): Call these new functions.
15366 * sysdeps/i386/fpu/libm-test-ulps: Update.
15367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15368
ca48a46a
MF
153692012-07-03 Mike Frysinger <vapier@gentoo.org>
15370
15371 * .gitignore: Delete /ports entry.
15372
9d63d37d
AJ
153732012-07-03 Andreas Jaeger <aj@suse.de>
15374
15375 * po/bg.po: Update from translation team.
15376 * po/cs.po: Likewise.
15377 * po/de.po: Likewise.
15378 * po/hr.po: Likewise.
15379 * po/nl.pl: Likewise.
15380 * po/pl.po: Likewise.
15381 * po/vi.po: Likewise.
15382
370ca3d2
JM
153832012-07-03 Joseph Myers <joseph@codesourcery.com>
15384
95f5a9a8
JM
15385 * Makeconfig [!+link] (+link-before-libc): New variable.
15386 [!+link] (+link-after-libc): Likewise.
15387 [!+link] (+link-tests): Likewise.
15388 [!+link] (+link): Define in terms of $(+link-before-libc) and
15389 $(+link-after-libc).
15390 [!+link-static] (+link-static-before-libc): New variable.
15391 [!+link-static] (+link-static-after-libc): Likewise.
15392 [!+link-static] (+link-static-tests): Likewise.
15393 [!+link-static] (+link-static): Define in terms of
15394 $(+link-static-before-libc) and $(+link-static-after-libc).
15395 [build-shared] (link-libc-before-gnulib): New variable.
15396 [build-shared] (link-libc-tests): Likewise.
15397 [build-shared] (link-libc): Define in terms of
15398 $(link-libc-before-gnulib).
15399 [!build-shared] (link-libc-tests): New variable.
15400 (link-libc-static-tests): New variable.
15401 [!gnulib] (gnulib-arch): New variable.
15402 [!gnulib] (gnulib-tests): Likewise.
15403 [!gnulib] (static-gnulib-arch): Likewise.
15404 [!gnulib] (static-gnulib-tests): Likewise.
15405 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
15406 Define with "=" instead of ":=".
15407 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
15408 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
15409 * Rules (binaries-all-notests): New variable.
15410 (binaries-all-tests): Likewise.
15411 (binaries-static-notests): Likewise.
15412 (binaries-static-tests): Likewise.
15413 (binaries-all): Define using $(binaries-all-notests) and
15414 $(binaries-all-tests).
15415 (binaries-static): Define using $(binaries-static-notests) and
15416 $(binaries-static-tests).
15417 (binaries-shared-tests): New variable.
15418 (binaries-shared-notests): Likewise.
15419 (binaries-shared): Remove variable.
15420 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15421 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15422 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15423 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15424 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15425 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15426 * elf/Makefile (sln-modules): New variable.
15427 (extra-objs): Add $(sln-modules:=.o).
15428 (ldconfig-modules): Add static-stubs.
15429 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15430 * elf/static-stubs.c: New file.
15431
7a845b2c
JM
15432 [BZ #14283]
15433 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15434 by 7 not 8 to examine high bit of fractional part. Use volatile
15435 variables when splitting into final array of floats if
15436 __FLT_EVAL_METHOD__ != 0.
15437 * math/libm-test.inc (cos_test): Add another test.
15438 (sin_test): Likewise.
15439 * sysdeps/i386/fpu/libm-test-ulps: Update.
15440
e2283f38
JM
15441 [BZ #14273]
15442 * math/libm-test.inc (cosh_test): Add more tests.
15443
370ca3d2
JM
15444 * version.h (RELEASE): Set to "development".
15445 (VERSION): Set to "2.16.90".
15446
ee9247c3
CD
154472012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
15448
15449 * NEWS: Update copyright. Remove last-updated date.
15450 Mention math library bug fixes and timezone data changes.
15451 * README: Mention GNU/Hurd, x32, and HPPA support status.
15452
4648c381
TS
154532012-06-28 Thomas Schwinge <thomas@codesourcery.com>
15454
15455 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15456
aac78a43
AJ
154572012-06-27 Andreas Jaeger <aj@suse.de>
15458
15459 * manual/contrib.texi (Contributors): Add Samuel Thibault.
15460
ed3dbfad
AJ
154612012-06-25 Andreas Jaeger <aj@suse.de>
15462
15463 * sysdeps/s390/fpu/libm-test-ulps: Update.
15464
4d0ee855
AS
154652012-06-23 Andreas Schwab <schwab@linux-m68k.org>
15466 Thomas Schwinge <thomas@codesourcery.com>
15467
15468 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15469 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15470 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15471 fanotify_mark.
15472
af1bce34
TS
154732012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15474
a9fa33ba
TS
15475 * sysdeps/mach/start.c: Remove file.
15476 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15477 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15478 * sysdeps/sh/init-first.c: Likewise.
15479
58f902b8
TS
15480 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15481 registers for frame unwinding purposes, add CFI directives.
15482 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15483 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15484 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15485 Likewise.
15486
1518f58b
TS
15487 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15488 __fortify_fail returning.
15489 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15490
db9b5059
TS
15491 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15492 sysdeps/sh/____longjmp_chk.S.
15493 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15494 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15495 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15496 (gen-as-const-headers): Append sigaltstack-offsets.sym.
15497
967705fe
TS
15498 * sysdeps/sh/abort-instr.h: New file.
15499 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15500 process in case exit returns.
15501
a9def8c4
TS
15502 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15503 initialize the GOT register before use.
15504
2a649725
TS
15505 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15506 calculation of ARGC > 4.
15507
af1bce34
TS
15508 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15509 meaningful names to some local labels.
15510
d230f50a
KK
155112012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15512 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15513
15514 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15515 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15516 (__arch_compare_and_exchange_val_16_acq): Likewise.
15517 (__arch_compare_and_exchange_val_32_acq): Likewise.
15518 (atomic_exchange_and_add): Fix gUSA sequence.
15519 (atomic_add): Likewise.
15520 (atomic_add_negative): Likewise.
15521 (atomic_add_zero): Likewise.
15522 (atomic_bit_test_set): Likewise.
15523
0479b305
AS
155242012-06-22 Andreas Schwab <schwab@redhat.com>
15525
15526 [BZ #13579]
15527 * include/link.h (struct link_map): Add l_free_initfini.
15528 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15529 l_initfini.
15530 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15531 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15532 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15533 set.
15534
0e3933b9
CD
155352012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15536
15537 * configure.in: Use AC_LANG_SOURCE.
15538 * configure: Regenerate.
15539
4248b1b1
RM
155402012-06-22 Roland McGrath <roland@hack.frob.com>
15541
15542 * configure.in (libc_cv_localstatedir): New substituted variable.
15543 * configure: Regenerated.
15544 * config.make.in (localstatedir): New variable, substituted from
15545 libc_cv_localstatedir.
15546 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15547 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15548 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15549 * sysdeps/gnu/configure: Regenerated.
15550
006dd861
JL
155512012-06-21 Jeff Law <law@redhat.com>
15552
15553 [BZ #14277]
15554 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15555 free. Simplify list management for _LIBC case.
15556
79662d42
JM
155572012-06-21 Joseph Myers <joseph@codesourcery.com>
15558
b7abb4bf
JM
15559 [BZ #14273]
15560 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15561 Clear sign bit of 64-bit integer value before comparing against
15562 overflow value.
15563
79662d42
JM
15564 * sysdeps/mach/configure: Regenerated.
15565
1f150908
L
155662012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15567
15568 [BZ #14278]
15569 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15570
28363bbf
JL
155712012-06-21 Jeff Law <law@redhat.com>
15572
15573 [BZ #13882]
15574 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15575 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 15576 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
15577 * elf/dl-open.c (dl_open_worker): Likewise.
15578
09615db4
CD
155792012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15580
15581 * scripts/list-sources.sh: Scan PORTS for translations.
15582 * po/libc.pot: Regenerated.
15583
2174c6dd
AJ
155842012-06-21 Andreas Jaeger <aj@suse.de>
15585
15586 [BZ #12194]
15587 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15588 warning.
15589 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15590 * bits/byteswap-16.h (__bswap_16): Likewise.
15591 * bits/byteswap.h (__bswap_constant_16): Likewise.
15592
3ee947b1
L
155932012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15594
15595 [BZ #14117]
a2f34833
L
15596 * sysdeps/i386/fpu_control.h: Removed.
15597 * sysdeps/x86_64/fpu_control.h: Moved to ...
15598 * sysdeps/x86/fpu_control.h: Here.
15599
3ee947b1
L
15600 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15601 (_FPU_SETCW): Likewise.
15602
ed1825f8
L
156032012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15604
25f1282a
L
15605 [BZ #14117]
15606 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15607 * sysdeps/x86/fpu/bits/mathinline.h: This.
15608 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15609
ed1825f8
L
15610 [BZ #14050]
15611 [BZ #14117]
15612 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15613 functions if __x86_64__ is defined.
15614
36d54b74
CLT
156152012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15616
15617 * string/endian.h: Add !__ASSEMBLER__ condition for including
15618 conversion interfaces.
15619
10285c21
JM
156202012-06-15 Joseph Myers <joseph@codesourcery.com>
15621
15622 [BZ #14241]
15623 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15624 of ABS(x) in calculating zero to negative powers other than odd
15625 integers.
15626 * math/libm-test.inc (pow_test): Add more tests.
15627
06c5abbd
AJ
156282012-06-15 Andreas Jaeger <aj@suse.de>
15629
15630 * manual/contrib.texi (Contributors): Update entry of Liubov
15631 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15632 Machado Filho.
15633
a3aeac40
CH
156342012-06-15 Cyril Hrubis <metan@ucw.cz>
15635
15636 * string/string.h: Add __wur to GNU version of strerror_r.
15637
49bdf4c1
L
156382012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15639
15640 [BZ #14229]
15641 * string/Makefile (tests): Add tst-strtok_r.
15642 * string/tst-strtok_r.c: New file.
15643 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15644 RAX_LP/RDX_LP on SAVE_PTR.
15645
834f9b8d
RM
156462012-06-14 Roland McGrath <roland@hack.frob.com>
15647
15648 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15649
75fa1921
JM
156502012-06-14 Joseph Myers <joseph@codesourcery.com>
15651
15652 * libm_test.inc (csqrt_test): Allow more spurious underflow
15653 exceptions.
15654 (j0_test): Likewise.
15655 (j1_test): Likewise.
15656 (y0_test): Likewise.
15657 (y1_test): Likewise.
15658
771766df
CD
156592012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15660
15661 * po/Makefile (libc.pot): Use UTF-8 charset.
15662
ceb9e56b
PP
156632012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15664
15665 [BZ #14210]
15666 Suppress sign-conversion warning from FD_SET.
15667 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15668 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15669 not unsigned long int.
15670 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15671
ddb28975
L
156722012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15673
15674 [BZ #14050]
15675 [BZ #14117]
15676 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15677 __extern_always_inline instead of __extern_inline.
15678 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15679 (__signbit): Likewise.
15680 (__signbitl): Support C++ namespace.
15681 (lrintf): New inline function.
15682 (lrint): Likewise.
15683 (llrintf): Likewise.
15684 (llrint): Likewise.
15685 (fmaxf): Likewise.
15686 (fmax): Likewise.
15687 (fminf): Likewise.
15688 (fmin): Likewise.
15689 (rint): Likewise.
15690 (rintf): Likewise.
15691 (ceil): Likewise.
15692 (ceilf): Likewise.
15693 (floor): Likewise.
15694 (floorf): Likewise.
15695 (nearbyint): Likewise.
15696 (nearbyintf): Likewise.
15697
d7b4fb26
TS
156982012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15699
15700 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15701 non-default versions.
15702
eb55f5c2
RM
157032012-06-11 Roland McGrath <roland@hack.frob.com>
15704
15705 [BZ #14218]
15706 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15707
366af02c
TS
157082012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15709
99ff6e5c
TS
15710 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15711 (FE_UPWARD, FE_DOWNWARD): Don't define.
15712 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15713 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15714
366af02c
TS
15715 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15716 reading it.
15717 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15718 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15719
793ea851
KK
157202012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15721
15722 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15723 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15724 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15725 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15726
a728a38f
L
157272012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15728
15729 [BZ #14117]
c08010c7
L
15730 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15731 * sysdeps/i386/fpu/Implies: New file.
15732 * sysdeps/x86_64/fpu/Implies: Likewise.
15733 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15734 * sysdeps/x86/fpu/bits/fenv.h: This.
15735
a728a38f
L
15736 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15737 __SSE_MATH__.
15738
6e230d11
SP
157392012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15740
15741 [BZ #14134]
15742 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15743 character 0xffff that matches the last element of the
15744 conversion table.
15745
1b671feb
AZ
157462012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15747
15748 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15749 fmodl commit.
15750
6043738b
AZ
157512012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15752
15753 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15754 values higher than 25.6283.
15755
34ae0b32
AZ
157562012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15757
15758 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15759 subnormal exponent extraction and add some __builtin_expect.
15760 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15761 Fix for subnormal mantissa calculation.
15762
1214ec8f
MF
157632012-06-04 Mike Frysinger <vapier@gentoo.org>
15764
15765 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15766 cpu2 is -1 and errno is not ENOSYS.
15767
f3d1f93c
L
157682012-06-04 H.J. Lu <hongjiu.lu@intel.com>
15769
15770 [BZ #14117]
0e4a3cd7
L
15771 * sysdeps/i386/i486/bits/string.h: Renamed to ...
15772 * sysdeps/x86/bits/string.h: This.
15773 * sysdeps/x86_64/bits/string.h: Removed.
15774
6704c645
L
15775 * sysdeps/i386/i486/bits/string.h: Define inline functions only
15776 if not compiling for x86-64, but compiling for >= i486.
15777
48495318
L
15778 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15779 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15780
14adcbfc
L
15781 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15782 New macro from Linux kernel 3.4.0.
15783 (FP_XSTATE_MAGIC2): Likewise.
15784 (FP_XSTATE_MAGIC2_SIZE): Likewise.
15785 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15786 (struct _fpx_sw_bytes): New struct.
15787 (struct _xsave_hdr): Likewise.
15788 (struct _ymmh_state): Likewise.
15789 (struct _xstate): Likewise.
15790
68e408ab
L
15791 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15792 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15793 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15794 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15795 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15796 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15797
f3d1f93c
L
15798 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15799 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15800 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15801 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15802 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15803 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15804
d9dc34cd
TMQMF
158052012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15806
15807 [BZ #13743]
15808 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15809 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15810 (sysdep_headers): Include sys/platform/ppc.h.
15811 * sysdeps/powerpc/test-gettimebase.c: Test for
15812 __ppc_get_timebase() to catch future ISA opcode/insn changes.
15813 * manual/Makefile (appendices): Include platform.texi.
15814 * manual/contrib.texi (Contributors): Update @node pointers.
15815 * manual/maint.texi (Maintenance): Likewise.
15816 (Platform): New node.
15817 * manual/platform.texi: New file. Document the new features.
15818
4af3879c
SP
158192012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15820 Jakub Jelinek <jakub@redhat.com>
15821
15822 [BZ #14188]
15823 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15824 where __builtin_expect is unavailable.
15825
2fd6ff13
DM
158262012-06-03 David S. Miller <davem@davemloft.net>
15827
15828 * stdlib/longlong.h: Updated from GCC.
15829
173f7220
AS
158302012-06-02 Andreas Schwab <schwab@linux-m68k.org>
15831
15832 [BZ #14042]
15833 * sysdeps/powerpc/powerpc32/mcount.c: New file.
15834 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15835 __mcount_internal.
15836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15837 (GLIBC_2.16): Likewise.
15838
f34a1c6f
L
158392012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15840
15841 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15842
88a4576f
JM
158432012-06-01 Joseph Myers <joseph@codesourcery.com>
15844
ea32bcdd
JM
15845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15846 (default-abi): New variable.
15847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15848 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15849 variable.
15850 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15851 Likewise.
15852 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15853 Likewise.
15854 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15855 Likewise.
15856
88a4576f
JM
15857 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15858 definition. Document in comment.
15859
402fe938
DM
158602012-06-01 David S. Miller <davem@davemloft.net>
15861
15862 * stdlib/longlong.h: Updated from GCC.
15863
3553723f
L
158642012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15865
15866 [BZ #14117]
3bd872c4
L
15867 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15868 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15869 sys/debugreg.h sys/io.h here.
15870 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15871 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15872 sys/io.h.
15873 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15874 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15875 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15876 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15877 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15878 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15879
3553723f
L
15880 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15881 Define only if __x86_64__ is defined.
15882
4842e4fe
JM
158832012-06-01 Joseph Myers <joseph@codesourcery.com>
15884
c5bfe3d5
JM
15885 [BZ #14048]
15886 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15887 Use int64_t for variable i.
15888 * math/libm-test.inc (fmod_test): Add more tests.
15889
4842e4fe
JM
15890 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15891 z computation is not scheduled after fetestexcept.
15892 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15893 Use math_force_eval instead of asm to ensure calculation scheduled
15894 before exception test.
15895 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15896 Ensure a1 + u.d computation is not scheduled after fetestexcept.
15897
efb73488
AJ
158982012-06-01 Aurelien Jarno <aurelien@aurel32.net>
15899
15900 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15901 computation is not scheduled after fetestexcept.
15902
29bcce7c
L
159032012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15904
15905 [BZ #14117]
15906 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15907 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15908
73a68f94
AZ
159092012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15910
15911 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15912 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15913
67b6df78
L
159142012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15915
edf2933a 15916 [BZ #14117]
ebc64a18
L
15917 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15918 <bits/wordsize.h>.
15919 (__WCHAR_MIN): Support __WORDSIZE == 64.
15920 (__WCHAR_MAX): Likewise.
15921
edf2933a
L
15922 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15923 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15924
57c6cf40
L
15925 [BZ #14183]
15926 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15927 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15928
67b6df78 15929 [BZ #14117]
8eb6281e
L
15930 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15931 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15932
aac639f4
L
15933 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15934 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15935
67b6df78
L
15936 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15937 Defined to 1 if __x86_64__ isn't defined.
15938 (_STAT_VER_LINUX_OLD): New.
15939 (st_atime): Remove duplicate.
15940 (st_mtime): Likewise.
15941 (st_ctime): Likewise.
15942
1c2cfe81
DM
159432012-05-31 David S. Miller <davem@davemloft.net>
15944
15945 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15946 entries.
15947
5be8418c
AS
159482012-06-01 Andreas Schwab <schwab@linux-m68k.org>
15949
e7725326
AS
15950 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15951 gen-libm-test.pl.
15952
5be8418c
AS
15953 [BZ #14132]
15954 * elf/dl-reloc.c: Include <_itoa.h>.
15955 (_dl_reloc_bad_type): Remove use of INTUSE.
15956 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15957 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15958 * stdio-common/psiginfo.c (psiginfo): Likewise.
15959 * stdio-common/psignal.c (psignal): Likewise.
15960 * string/strsignal.c (strsignal): Likewise.
15961 * include/signal.h (_sys_siglist): Declare hidden proto.
15962 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
15963 INTVARDEF with libc_hidden_data_def.
15964 * stdio-common/itoa-udigits.c: Likewise.
15965 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15966 (_itoa_lower_digits_internal): Remove declaration.
15967 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15968 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15969 (_sys_sigabbrev_internal): Remove aliases.
15970 (_sys_siglist): Define hidden alias.
15971
507352f1
MT
159722012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
15973
15974 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15975 bits/sysctl.h.
15976
42bbb1c3
L
159772012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15978
15979 [BZ #14117]
6bd784b6
L
15980 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15981 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15982
8bca20f0
L
15983 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15984 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15985 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15986 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15987 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15988 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15989
f9e890a9
L
15990 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15991 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15992 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15993
471101a1
L
15994 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15995 with __addr.
15996 (insw): Likewise.
15997 (insl): Likewise.
15998 (outsb): Likewise.
15999 (outsw): Likewise.
16000 (outsl): Likewise.
16001
6451c862
L
16002 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16003 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16004 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16005
a254b8c9
L
16006 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16007 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16008 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16009 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16010 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16011 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16012
b8dfdd92
L
16013 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16014 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16015
578cd270
L
16016 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16017 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16018
de662f5f
L
16019 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16020 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16021 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16022
25653439
L
16023 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16024 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16025 to ...
16026 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16027
6bad24a0
L
16028 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16029 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16030 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16031
42bbb1c3
L
16032 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16033 for x86-64.
16034 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16035
2d10d547
JM
160362012-05-31 Joseph Myers <joseph@codesourcery.com>
16037
16038 * math/math.h (M_El): Use two more decimal places.
16039 (M_LOG2El): Likewise.
16040 (M_LOG10El): Likewise.
16041 (M_LN2l): Likewise.
16042 (M_LN10l): Likewise.
16043 (M_PIl): Likewise.
16044 (M_PI_2l): Likewise.
16045 (M_PI_4l): Likewise.
16046 (M_1_PIl): Likewise.
16047 (M_2_PIl): Likewise.
16048 (M_2_SQRTPIl): Likewise.
16049 (M_SQRT2l): Likewise.
16050 (M_SQRT1_2l): Likewise.
16051
f230c29b
DM
160522012-05-31 David S. Miller <davem@davemloft.net>
16053
16054 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16055 values between float registers.
16056 * sysdeps/sparc/sparc64/memset.S: Likewise.
16057 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16058
fed806c3
MF
160592012-05-31 Mike Frysinger <vapier@gentoo.org>
16060
16061 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16062 -D_FORTIFY_SOURCE=1.
16063 (CPPFLAGS-tst-longjmp_chk.c): Define.
16064 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16065 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16066 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16067 CFLAGS-tst-wchar-h.c.
16068
30917259
MP
160692012-05-31 Marek Polacek <polacek@redhat.com>
16070
16071 [BZ #14132]
16072 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16073 __endmntent_internal): Remove declaration.
16074 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16075 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16076 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16077
1c58d5dc
DM
160782012-05-30 David S. Miller <davem@davemloft.net>
16079
16080 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16081 (___Q_simulate_exceptions): Use real FP ops rather than writing
16082 into the %fsr.
16083 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16084 Likewise.
16085
7dc00e0d
L
160862012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16087
16088 [BZ #14117]
0bd53985
L
16089 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16090 * sysdeps/x86/bits/xtitypes.h: This.
16091
3a257e66
L
16092 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16093 * sysdeps/x86/bits/wordsize.h: This.
16094
62f62904
L
16095 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16096 * sysdeps/x86/bits/huge_vall.h: This.
16097
404fe9d9
L
16098 * sysdeps/i386/bits/select.h: Removed.
16099 * sysdeps/x86_64/bits/select.h: Renamed to ...
16100 * sysdeps/x86/bits/select.h: This.
16101
d48d0446
L
16102 * sysdeps/i386/bits/setjmp.h: Removed.
16103 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16104 * sysdeps/x86/bits/setjmp.h: This.
16105
7dc00e0d
L
16106 * sysdeps/i386/bits/mathdef.h: Removed.
16107 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16108 * sysdeps/x86/bits/mathdef.h: This.
16109
03277f8f
AS
161102012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16111
16112 [BZ #14132]
16113 * include/sys/socket.h (__connect_internal)
16114 (__libc_sa_len_internal): Remove declaration.
16115 (__connect, __libc_sa_len): Declare hidden_proto.
16116 (SA_LEN): Remove use of INTUSE.
16117 * socket/connect.c: Add libc_hidden_def.
16118 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16119 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16120 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16121 alias.
16122 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16123 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16124 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16125 of adding _internal alias.
16126
13764867
L
161272012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16128
16129 [BZ #14117]
6bd97696
L
16130 * sysdeps/i386/bits/link.h: Removed.
16131 * sysdeps/i386/bits/linkmap.h: Likewise.
16132 * sysdeps/x86_64/bits/link.h: Renamed to ...
16133 * sysdeps/x86/bits/link.h: This.
16134 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16135 * sysdeps/x86/bits/linkmap.h: This.
16136
f726f0bb
L
16137 * sysdeps/i386/bits/endian.h: Removed.
16138 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16139 * sysdeps/x86/bits/endian.h: This.
16140
13764867
L
16141 * sysdeps/i386/bits/byteswap.h: Removed.
16142 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16143 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16144 * sysdeps/x86/bits/byteswap.h: This.
16145 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16146 * sysdeps/x86/bits/byteswap-16.h: This.
16147 * sysdeps/i386/Implies: Add x86.
16148 * sysdeps/x86_64/Implies: Likewise.
16149
ae251b0b
DM
161502012-05-30 David S. Miller <davem@davemloft.net>
16151
16152 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16153 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16154 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16155 (FP_TRAPPING_EXCEPTIONS): Define.
16156 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16157 (FP_TRAPPING_EXCEPTIONS): Define.
16158 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16159 subnormals only when inexact has been signalled or underflow
16160 exceptions are enabled.
16161 (_FP_PACK_CANONICAL): Likewise.
16162
d5c90867
L
161632012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16164
16165 [BZ #14183]
16166 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16167 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16168
63f1549e
RH
161692012-05-30 Richard Henderson <rth@twiddle.net>
16170
8d8f2279
RH
16171 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16172 with #ifndef NOT_IN_libc.
16173
63f1549e
RH
16174 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
16175 marked to avoid plt entry.
16176
0ab0291b
L
161772012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16178
16179 [BZ #14112]
16180 * Makeconfig (default-abi): New macro.
16181 (abi-includes): Likewise.
16182 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
16183 $(abi-$(default-abi)-lib-soname) for soname if defined.
16184 ($(common-objpfx)gnu/lib-names.stmp): Generate from
16185 abi-variants.
16186 * Makefile (installed-stubs): Likewise.
16187 * include/stubs-biarch.h: Removed.
16188 * scripts/lib-names.awk: Only handle one library at a time.
16189 * scripts/soversions.awk: Remove WORDSIZE support.
16190 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16191 entries.
16192 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16193 Removed.
16194 (syscall-list-default-condition): Likewise.
16195 (syscall-list-default-condition): Likewise.
16196 (syscall-list-includes): Likewise.
16197 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16198 syscall-list-* with abi-*. Handle undefined abi-variants.
16199 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16200 * sysdeps/unix/sysv/linux/i386/Implies: New file.
16201 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16202 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16203 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16204 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16205 Removed.
16206 (syscall-list-32-options): Likewise.
16207 (syscall-list-32-condition): Likewise.
16208 (syscall-list-64-options): Likewise.
16209 (syscall-list-64-condition): Likewise.
16210 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16211 macro.
16212 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16213 Renamed to ...
16214 (abi-*): This.
16215 (abi-64-ld-soname): New macro.
16216 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16217 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16218 Renamed to ...
16219 (abi-*): This.
16220 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16221 * sysdeps/x86_64/x32/shlib-versions: Likewise.
16222
4da0431d
JM
162232012-05-30 Joseph Myers <joseph@codesourcery.com>
16224
3a85279c
JM
16225 * sysdeps/unix/sysv/linux/kernel-features.h
16226 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16227 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16228 include <kernel-features.h>.
16229 [!__NR_ftruncate64]: Remove conditional code.
16230 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16231 [__NR_ftruncate64]: Make code unconditional.
16232 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16233 * sysdeps/unix/sysv/linux/truncate64.c: Do not
16234 include <kernel-features.h>.
16235 [!__NR_ftruncate64]: Remove conditional code.
16236 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16237 [__NR_ftruncate64]: Make code unconditional.
16238 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16240 include <kernel-features.h>.
16241 [!__NR_ftruncate64]: Remove conditional code.
16242 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16243 [__NR_ftruncate64]: Make code unconditional.
16244 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16246 include <kernel-features.h>.
16247 [!__NR_ftruncate64]: Remove conditional code.
16248 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16249 [__NR_ftruncate64]: Make code unconditional.
16250 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16251
4da0431d
JM
16252 * configure.in (libc_cv_fpie): Weaken to a compile test using
16253 LIBC_TRY_CC_OPTION.
16254 * configure: Regenerated.
16255
11ef492c
AK
162562012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16257
16258 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16259 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16260 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16261 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16262 Refreshed.
16263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16264 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16266 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16267 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16268 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16269 Refreshed.
16270
d66ef399
DM
162712012-05-27 David S. Miller <davem@davemloft.net>
16272
16273 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16274 (___Q_zero): New.
16275 (__Q_simulate_exceptions): Return void. Change to simulate
16276 exceptions by writing into the %fsr.
16277 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16278 (__Qp_handle_exceptions): Likewise.
16279 (numbers): Delete.
16280 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16281 __Qp_handle_exceptions.
16282 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16283 __Qp_handle_exceptions.
16284 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16285 as unused and give dummy FP_RND_NEAREST initializer.
16286 (FP_INHIBIT_RESULTS): Define.
16287 (___Q_simulate_exceptions): Update declaration.
16288 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16289 formatting.
16290 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16291 as unused and give dummy FP_RND_NEAREST initializer.
16292 (__Qp_handle_exceptions): Update declaration.
16293 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16294 formatting.
16295
04fb54b5
TS
162962012-05-27 Thomas Schwinge <thomas@codesourcery.com>
16297
16298 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16299 the temporary FPU control word.
16300 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16301 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16302 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16303 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16304 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16305 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16306 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16307 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16308 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16309 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16310 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16311
3f99608f
KK
163122012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16313
16314 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16315 fields.
16316
65a4de4e
CLT
163172012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
16318
16319 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16320 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16321 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16322 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16323 Likewise.
16324 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16325 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16326 Likewise.
16327
15749d40
UD
163282012-05-27 Ulrich Drepper <drepper@gmail.com>
16329
16330 * po/h.po: Update from translation team.
16331
25dbcb27
AS
163322012-05-26 Andreas Schwab <schwab@linux-m68k.org>
16333
3d3f8e55
AS
16334 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16335
25dbcb27
AS
16336 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16337 handling of denormals.
16338 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16339 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16340 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16341 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16342 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16343 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16344 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16345 Likewise.
16346
7ad47a80 163472012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
16348
16349 [BZ #14152]
16350 * math/libm-test.inc (fma_test): Don't always expect underflow
16351 exception.
16352
9c6ea9fa
SP
163532012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16354
16355 [BZ #12416]
16356 * elf/tst-execstack.c: Include stackinfo.h.
16357 (do_test): Adjust test case to ensure that pthread_getattr_np
16358 behaviour remains the same after marking stack executable.
16359
a8239222
JM
163602012-05-25 Joseph Myers <joseph@codesourcery.com>
16361
16362 * sysdeps/unix/sysv/linux/kernel-features.h
16363 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16364 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16365 kernel-features.h.
16366 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16367 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16368 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16369 kernel-features.h.
16370 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16371 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16372
918b5606
L
163732012-05-25 H.J. Lu <hongjiu.lu@intel.com>
16374
16375 * configure.in: Define the default includes to being none.
16376 * configure: Regenerated.
16377
3a097cc7
RM
163782012-05-25 Roland McGrath <roland@hack.frob.com>
16379
8422c9a5
RM
16380 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16381 * sysdeps/x86_64/setjmp.S: Likewise.
16382 * sysdeps/i386/bsd-setjmp.S: Likewise.
16383 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16384 * sysdeps/i386/setjmp.S: Likewise.
16385 * sysdeps/i386/__longjmp.S: Likewise.
16386 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16387 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16388
3a097cc7
RM
16389 * include/stap-probe.h: New file.
16390 * configure.in: Handle --enable-systemtap.
16391 * configure: Regenerated.
16392 * config.h.in (USE_STAP_PROBE): New #undef.
16393 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16394 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16395 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16396
21708942
JM
163972012-05-25 Joseph Myers <joseph@codesourcery.com>
16398
16399 [BZ #13717]
16400 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16401 to 2.4.0 where earlier.
16402 * sysdeps/unix/sysv/linux/configure: Regenerated.
16403 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16404 <kernel-features.h>.
16405 [__ASSUME_32BITUIDS]: Make code unconditional.
16406 [!__ASSUME_32BITUIDS]: Remove conditional code.
16407 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
16408 <kernel-features.h>.
16409 [__ASSUME_32BITUIDS]: Make code unconditional.
16410 [!__ASSUME_32BITUIDS]: Remove conditional code.
16411 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16412 [__ASSUME_32BITUIDS]: Make code unconditional.
16413 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16414 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
16415 <kernel-features.h>.
16416 [__ASSUME_32BITUIDS]: Make code unconditional.
16417 [!__ASSUME_32BITUIDS]: Remove conditional code.
16418 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
16419 <kernel-features.h>.
16420 [__ASSUME_32BITUIDS]: Make code unconditional.
16421 [!__ASSUME_32BITUIDS]: Remove conditional code.
16422 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
16423 <kernel-features.h>.
16424 [__ASSUME_32BITUIDS]: Make code unconditional.
16425 [!__ASSUME_32BITUIDS]: Remove conditional code.
16426 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
16427 <kernel-features.h>.
16428 [__ASSUME_32BITUIDS]: Make code unconditional.
16429 [!__ASSUME_32BITUIDS]: Remove conditional code.
16430 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16431 <kernel-features.h>.
16432 [__ASSUME_32BITUIDS]: Make code unconditional.
16433 [!__ASSUME_32BITUIDS]: Remove conditional code.
16434 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16435 <kernel-features.h>.
16436 [__ASSUME_32BITUIDS]: Make code unconditional.
16437 [!__ASSUME_32BITUIDS]: Remove conditional code.
16438 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
16439 <kernel-features.h>.
16440 [__ASSUME_32BITUIDS]: Make code unconditional.
16441 [!__ASSUME_32BITUIDS]: Remove conditional code.
16442 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16443 <kernel-features.h>.
16444 [__ASSUME_32BITUIDS]: Make code unconditional.
16445 [!__ASSUME_32BITUIDS]: Remove conditional code.
16446 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16447 <kernel-features.h>.
16448 [__ASSUME_32BITUIDS]: Make code unconditional.
16449 [!__ASSUME_32BITUIDS]: Remove conditional code.
16450 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16451 <kernel-features.h>.
16452 [__ASSUME_32BITUIDS]: Make code unconditional.
16453 [!__ASSUME_32BITUIDS]: Remove conditional code.
16454 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16455 <kernel-features.h>.
16456 [__NR_setresgid] (__setresgid): Do not declare.
16457 [__ASSUME_32BITUIDS]: Make code unconditional.
16458 [!__ASSUME_32BITUIDS]: Remove conditional code.
16459 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16460 <kernel-features.h>.
16461 [__NR_setresuid] (__setresuid): Do not declare.
16462 [__ASSUME_32BITUIDS]: Make code unconditional.
16463 [!__ASSUME_32BITUIDS]: Remove conditional code.
16464 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16465 <kernel-features.h>.
16466 [__ASSUME_32BITUIDS]: Make code unconditional.
16467 [!__ASSUME_32BITUIDS]: Remove conditional code.
16468 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16469 <kernel-features.h>.
16470 [__ASSUME_32BITUIDS]: Make code unconditional.
16471 [!__ASSUME_32BITUIDS]: Remove conditional code.
16472 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16473 <kernel-features.h>.
16474 [__ASSUME_32BITUIDS]: Make code unconditional.
16475 [!__ASSUME_32BITUIDS]: Remove conditional code.
16476 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16477 <kernel-features.h>.
16478 [__ASSUME_32BITUIDS]: Make code unconditional.
16479 [!__ASSUME_32BITUIDS]: Remove conditional code.
16480 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16481 <kernel-features.h>.
16482 [__ASSUME_32BITUIDS]: Make code unconditional.
16483 [!__ASSUME_32BITUIDS]: Remove conditional code.
16484 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16485 <kernel-features.h>.
16486 [__ASSUME_32BITUIDS]: Make code unconditional.
16487 [!__ASSUME_32BITUIDS]: Remove conditional code.
16488 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16489 <kernel-features.h>.
16490 [__ASSUME_32BITUIDS]: Make code unconditional.
16491 [!__ASSUME_32BITUIDS]: Remove conditional code.
16492 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16493 <kernel-features.h>.
16494 [__ASSUME_32BITUIDS]: Make code unconditional.
16495 [!__ASSUME_32BITUIDS]: Remove conditional code.
16496 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16497 <kernel-features.h>.
16498 [__ASSUME_32BITUIDS]: Make code unconditional.
16499 [!__ASSUME_32BITUIDS]: Remove conditional code.
16500 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16501 <kernel-features.h>.
16502 [__ASSUME_32BITUIDS]: Make code unconditional.
16503 [!__ASSUME_32BITUIDS]: Remove conditional code.
16504 * sysdeps/unix/sysv/linux/kernel-features.h
16505 (__ASSUME_SETRESUID_SYSCALL): Remove.
16506 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16507 (__ASSUME_32BITUIDS): Likewise.
16508 (__ASSUME_LDT_WORKS): Likewise.
16509 (__ASSUME_O_DIRECTORY): Likewise.
16510 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16511 architecture but not kernel version.
16512 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16513 (__ASSUME_MMAP2_SYSCALL): Likewise.
16514 (__ASSUME_STAT64_SYSCALL): Likewise.
16515 (__ASSUME_IPC64): Likewise.
16516 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16517 <kernel-features.h>.
16518 [__ASSUME_32BITUIDS]: Make code unconditional.
16519 [!__ASSUME_32BITUIDS]: Remove conditional code.
16520 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16521 <kernel-features.h>.
16522 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16523 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16524 132096]: Remove conditional code.
16525 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16526 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16527 <kernel-features.h>.
16528 [__ASSUME_32BITUIDS]: Make code unconditional.
16529 [!__ASSUME_32BITUIDS]: Remove conditional code.
16530 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16531 <kernel-features.h>.
16532 [__ASSUME_32BITUIDS]: Make code unconditional.
16533 [!__ASSUME_32BITUIDS]: Remove conditional code.
16534 * sysdeps/unix/sysv/linux/setegid.c: Do not include
16535 <kernel-features.h>.
16536 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16537 unconditional.
16538 (__setresgid): Do not declare.
16539 [__ASSUME_32BITUIDS]: Make code unconditional.
16540 [!__ASSUME_32BITUIDS]: Remove conditional code.
16541 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16542 <kernel-features.h>.
16543 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16544 unconditional.
16545 (__setresuid): Do not declare.
16546 [__ASSUME_32BITUIDS]: Make code unconditional.
16547 [!__ASSUME_32BITUIDS]: Remove conditional code.
16548 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16549 <kernel-features.h>.
16550 [__ASSUME_32BITUIDS]: Make code unconditional.
16551 [!__ASSUME_32BITUIDS]: Remove conditional code.
16552 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16553 <kernel-features.h>.
16554 [__ASSUME_32BITUIDS]: Make code unconditional.
16555 [!__ASSUME_32BITUIDS]: Remove conditional code.
16556
a386f1cc
RH
165572012-05-25 Richard Henderson <rth@twiddle.net>
16558
16559 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16560 dl_hwcap to ifunc resolver.
16561 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16562 elf_ifunc_invoke.
16563 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16564 dl_hwcap to ifunc resolver.
16565 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16566
b6550497
JM
165672012-05-24 Joseph Myers <joseph@codesourcery.com>
16568
16569 [BZ #14153]
16570 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16571 for |x| <= 2**-26, not 2**-57.
16572 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16573 exception.
16574
b0bc23a1
JL
165752012-05-24 Jeff Law <law@redhat.com>
16576
16577 * stdio-common/Makefile (tests): Add bug25.
16578 * stdio-common/bug25.c: New test.
16579
347c92e9
L
165802012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16581
16582 [BZ #13576]
16583 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16584 multiple of MALLOC_ALIGNMENT in size.
16585 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16586
6bcc8b3f
JM
165872012-05-24 Joseph Myers <joseph@codesourcery.com>
16588
16589 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16590 Require >= 256.
16591 (FILENAME_MAX): Use macro-int-constant.
16592 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16593 (_IOFBF): Use macro-int-constant.
16594 (_IOLBF): Likewise.
16595 (_IONBF): Likewise.
16596 (SEEK_CUR): Likewise.
16597 (SEEK_END): Likewise.
16598 (SEEK_SET): Likewise.
16599 (TMP_MAX): Likewise.
16600 (EOF): Use macro-int-constant. Require < 0.
16601 (NULL): Use macro-constant. Require == 0.
16602 (stdin): Require type to be FILE *.
16603 (stdout): Likewise.
16604 (stderr): Likewise.
16605 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16606 macro-int-constant.
16607 (EXIT_SUCCESS): Likewise.
16608 (NULL): Use macro-constant. Require == 0.
16609 (RAND_MAX): Use macro-int-constant.
16610 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16611 [C99-based standards] (strtof): Require function.
16612 [C99-based standards] (strtold): Likewise.
16613 [C99-based standards] (strtoll): Likewise.
16614 [C99-based standards] (strtoull): Likewise.
16615 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16616 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16617 [ISO || ISO99 || ISO11] (math.h): Likewise.
16618 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16619 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16620 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16621
d18ea0c5
AS
166222012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16623
16624 [BZ #14132]
56d25bb8
AS
16625 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16626 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16627 * intl/dgettext.c (DCGETTEXT): Likewise.
16628 * intl/gettext.c (DCGETTEXT): Likewise.
16629 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16630 * posix/regex_internal.h (gettext): Likewise.
16631 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16632 Remove declaration.
16633 * include/argz.h (__argz_count_internal)
16634 (__argz_stringify_internal): Remove declaration.
16635 (__argz_count, __argz_stringify): Declare hidden proto.
16636 * intl/dcgettext.c: Remove use of INTDEF.
16637 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16638 * string/argz-stringify.c: Likewise.
16639 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16640 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16641 Declare hidden proto.
d18ea0c5
AS
16642 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16643 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16644 Declare hidden proto.
16645 * include/stdio.h (__asprintf_internal): Don't declare.
16646 (__asprintf): Don't define as macro. Declare hidden proto.
16647 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16648 (__fsetlocking): Declare hidden proto.
16649 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16650 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16651 hidden proto.
16652 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16653 (_IO_setlinebuf): Remove use of INTUSE.
16654 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16655 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16656 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16657 Remove declaration.
16658 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16659 (_IO_do_flush): Remove use of INTUSE.
16660 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16661 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16662 (_IO_adjust_column, _IO_least_wmarker)
16663 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16664 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16665 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16666 (_IO_default_doallocate, _IO_wdefault_doallocate)
16667 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16668 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16669 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16670 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16671 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16672 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16673 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16674 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16675 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16676 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16677 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16678 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16679 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16680 proto.
16681 (_IO_flush_all_internal, _IO_adjust_column_internal)
16682 (_IO_default_uflow_internal, _IO_default_finish_internal)
16683 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16684 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16685 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16686 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16687 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16688 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16689 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16690 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16691 (_IO_file_close_internal, _IO_file_close_it_internal)
16692 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16693 (_IO_file_init_internal, _IO_file_attach_internal)
16694 (_IO_file_fopen_internal, _IO_file_read_internal)
16695 (_IO_file_sync_internal, _IO_file_seek_internal)
16696 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16697 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16698 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16699 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16700 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16701 (_IO_list_all_internal, _IO_link_in_internal)
16702 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16703 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16704 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16705 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16706 (_IO_do_write_internal, _IO_padn_internal)
16707 (_IO_getline_info_internal, _IO_getline_internal)
16708 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16709 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16710 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16711 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16712 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16713 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16714 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16715 with libc_hidden_ver, remove use of INTUSE.
16716 * libio/genops.c: Likewise.
16717 * libio/freopen.c: Likewise.
16718 * libio/freopen64.c: Likewise.
16719 * libio/iofclose.c: Likewise.
16720 * libio/iofdopen.c: Likewise.
16721 * libio/iofflush.c: Likewise.
16722 * libio/iofflush_u.c: Likewise.
16723 * libio/iofgets.c: Likewise.
16724 * libio/iofgets_u.c: Likewise.
16725 * libio/iofopen.c: Likewise.
16726 * libio/iofopncook.c: Likewise.
16727 * libio/iofread.c: Likewise.
16728 * libio/iofread_u.c: Likewise.
16729 * libio/ioftell.c: Likewise.
16730 * libio/iofwrite.c: Likewise.
16731 * libio/iogetline.c: Likewise.
16732 * libio/iogets.c: Likewise.
16733 * libio/iogetwline.c: Likewise.
16734 * libio/iopadn.c: Likewise.
16735 * libio/iopopen.c: Likewise.
16736 * libio/ioseekoff.c: Likewise.
16737 * libio/ioseekpos.c: Likewise.
16738 * libio/iosetbuffer.c: Likewise.
16739 * libio/iosetvbuf.c: Likewise.
16740 * libio/ioungetc.c: Likewise.
16741 * libio/ioungetwc.c: Likewise.
16742 * libio/iovdprintf.c: Likewise.
16743 * libio/iovsprintf.c: Likewise.
16744 * libio/iovsscanf.c: Likewise.
16745 * libio/memstream.c: Likewise.
16746 * libio/obprintf.c: Likewise.
16747 * libio/oldfileops.c: Likewise.
16748 * libio/oldiofclose.c: Likewise.
16749 * libio/oldiofdopen.c: Likewise.
16750 * libio/oldiofopen.c: Likewise.
16751 * libio/oldiopopen.c: Likewise.
16752 * libio/oldstdfiles.c: Likewise.
16753 * libio/putc.c: Likewise.
16754 * libio/setbuf.c: Likewise.
16755 * libio/setlinebuf.c: Likewise.
16756 * libio/stdfiles.c: Likewise.
16757 * libio/strops.c: Likewise.
16758 * libio/vasprintf.c: Likewise.
16759 * libio/vscanf.c: Likewise.
16760 * libio/vsnprintf.c: Likewise.
16761 * libio/vswprintf.c: Likewise.
16762 * libio/wfiledoalloc.c: Likewise.
16763 * libio/wfileops.c: Likewise.
16764 * libio/wgenops.c: Likewise.
16765 * libio/wmemstream.c: Likewise.
16766 * libio/wstrops.c: Likewise.
16767 * libio/__fpurge.c: Likewise.
16768 * libio/__fsetlocking.c: Likewise.
16769 * assert/assert.c: Likewise.
16770 * debug/fgets_chk.c: Likewise.
16771 * debug/fgets_u_chk.c: Likewise.
16772 * debug/fread_chk.c: Likewise.
16773 * debug/fread_u_chk.c: Likewise.
16774 * debug/gets_chk.c: Likewise.
16775 * debug/obprintf_chk.c: Likewise.
16776 * debug/vasprintf_chk.c: Likewise.
16777 * debug/vdprintf_chk.c: Likewise.
16778 * debug/vsnprintf_chk.c: Likewise.
16779 * debug/vsprintf_chk.c: Likewise.
16780 * malloc/mtrace.c: Likewise.
16781 * misc/error.c: Likewise.
16782 * misc/syslog.c: Likewise.
16783 * stdio-common/asprintf.c: Likewise.
16784 * stdio-common/fxprintf.c: Likewise.
16785 * stdio-common/getw.c: Likewise.
16786 * stdio-common/isoc99_fscanf.c: Likewise.
16787 * stdio-common/isoc99_scanf.c: Likewise.
16788 * stdio-common/isoc99_vfscanf.c: Likewise.
16789 * stdio-common/isoc99_vscanf.c: Likewise.
16790 * stdio-common/isoc99_vsscanf.c: Likewise.
16791 * stdio-common/printf-prs.c: Likewise.
16792 * stdio-common/printf_fp.c: Likewise.
16793 * stdio-common/printf_fphex.c: Likewise.
16794 * stdio-common/printf_size.c: Likewise.
16795 * stdio-common/putw.c: Likewise.
16796 * stdio-common/scanf.c: Likewise.
16797 * stdio-common/sprintf.c: Likewise.
16798 * stdio-common/tmpfile.c: Likewise.
16799 * stdio-common/vfprintf.c: Likewise.
16800 * stdio-common/vfscanf.c: Likewise.
16801 * stdlib/strfmon_l.c: Likewise.
16802 * sunrpc/openchild.c: Likewise.
16803 * sunrpc/xdr_stdio.c: Likewise.
16804 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16805 * sysdeps/mach/hurd/tmpfile.c: Likewise.
16806
d6c33fda
RM
168072012-05-24 Roland McGrath <roland@hack.frob.com>
16808
c1487492
RM
16809 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16810
16811 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16812 in the third column, to generate for the shared library an IFUNC
16813 that uses _dl_vdso_vsym.
16814 * Makerules (COMPILE.c, compile-stdin.c): New variables.
16815 * Makeconfig (object-suffixes-noshared): New variable.
16816
16817 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16818 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16819 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16820 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16821
d6c33fda
RM
16822 [BZ #14132]
16823 * include/sys/time.h (__gettimeofday): Remove macro.
16824 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16825 * time/gettimeofday.c (__gettimeofday): Remove #undef.
16826 Remove INTDEF.
16827 (__gettimeofday): Add libc_hidden_def.
16828 (gettimeofday): Add libc_hidden_weak.
16829 * sysdeps/mach/gettimeofday.c: Likewise.
16830 * sysdeps/posix/gettimeofday.c: Likewise.
16831 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16832 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16833 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16834 (__gettimeofday_internal): Remove strong_alias.
16835 (__gettimeofday): Add libc_hidden_def.
16836 (gettimeofday): Add libc_hidden_weak.
16837 * sysdeps/unix/syscalls.list (gettimeofday):
16838 Remove __gettimeofday_internal alias.
16839
b5a2bbe6
L
168402012-05-24 Daniel Jacobowitz <drow@false.org>
16841 H.J. Lu <hongjiu.lu@intel.com>
16842
16843 [BZ #12495]
16844 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16845 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16846 (largebin_index_32_big): New.
16847 (largebin_index): Use it for 16-byte alignment.
16848 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
16849 correction with front_misalign.
16850
cfba4fda
L
168512012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16852
7f907421
L
16853 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16854 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16855 Likewise.
16856 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16857 Likewise.
16858 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16859 Likewise.
16860 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16861 Likewise.
16862 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16863 Likewise.
16864 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16865 Likewise.
16866 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16867 Likewise.
16868 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16869 Likewise.
16870 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16871 Likewise.
16872 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16873 Likewise.
16874 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16875 Likewise.
16876 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16877 Likewise.
16878
cfba4fda
L
16879 * scripts/data/c++-types-x32-linux-gnu.data: New file.
16880 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16881
80bad0cc
JM
168822012-05-24 Joseph Myers <joseph@codesourcery.com>
16883
7a25eb06
JM
16884 [BZ #10846]
16885 [BZ #14036]
16886 * math/libm-test.inc (exp_test): Add test from bug 14036.
16887 (pow_test): Add test from bug 10846.
16888
795405f9
JM
16889 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16890 and other flags.
16891 (special_function): Do not include flags in test name.
16892 (parse_args): Likewise.
16893 * sysdeps/i386/fpu/libm-test-ulps: Update.
16894 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16895 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16896 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16898
80bad0cc
JM
16899 * math/gen-libm-test.pl (%beautify): Add entries for underflow
16900 exceptions.
16901 * math/libm-test.inc ("Philosophy"): Update comment about
16902 exception testing.
16903 (UNDERFLOW_EXCEPTION): New macro.
16904 (UNDERFLOW_EXCEPTION_OK): Likewise.
16905 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16906 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16907 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16908 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16909 (INVALID_EXCEPTION_OK): Update value.
16910 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16911 (OVERFLOW_EXCEPTION_OK): Likewise.
16912 (IGNORE_ZERO_INF_SIGN): Likewise.
16913 (test_exceptions): Handle underflow exceptions.
16914 (acos_test): Update for underflow exception expectations.
16915 (cexp_test): Likewise.
16916 (clog_test): Likewise.
16917 (clog10_test): Likewise.
16918 (csqrt_test): Likewise.
16919 (ctan_test): Likewise.
16920 (ctanh_test): Likewise.
16921 (exp_test): Likewise.
16922 (exp10_test): Likewise.
16923 (exp2_test): Likewise.
16924 (expm1_test): Likewise.
16925 (fma_test): Likewise.
16926 (j0_test): Likewise.
16927 (jn_test): Likewise.
16928 (nexttoward_test): Likewise.
16929 (pow_test): Likewise.
16930 (scalbn_test): Likewise.
16931 (scalbln_test): Likewise.
16932 (tan_test): Likewise.
16933 (y1_test): Likewise.
16934 * sysdeps/i386/fpu/libm-test-ulps: Update.
16935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16936
9e0e3d0b
DM
169372012-05-23 David S. Miller <davem@davemloft.net>
16938
16939 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16940 (__libc_sigaction): Remove unused local variables.
16941
ccd0a08f
L
169422012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16943
16944 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16945
62bdf9a6
PE
169462012-05-23 Paul Eggert <eggert@cs.ucla.edu>
16947
f8591f80
PE
16948 mktime: avoid signed integer overflow
16949 * time/mktime.c (__mktime_internal): Do not mishandle the case
16950 where diff == INT_MIN.
16951
94c7d826
PE
16952 mktime: simplify computation of average
16953 * time/mktime.c (ranged_convert): Use new time_t_avg function
16954 instead of rolling our own (probably-slower) code.
16955
ce73d683
PE
16956 mktime: do not assume signed right shift propagates sign bit
16957 * time/mktime.c (isdst_differ): New static function.
16958 (__mktime_internal): No need to normalize tm_isdst now.
16959 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16960 tm_isdst values.
16961
72a22e59
PE
16962 mktime: merge another wrapv change from gnulib
16963 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16964 from some compilers.
16965
68605433
PE
16966 mktime: remove incorrect attempt at unusual arithmetics
16967 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16968 The code didn't really work on such machines anyway.
16969 (TYPE_MINIMUM): Assume two's complement.
16970 (twos_complement_arithmetic): Verify that long_int and time_t
16971 are two's complement (or unsigned, in the latter case).
16972
03cf7fe3
PE
16973 mktime: check signed shifts on long_int and time_t, too
16974 * time/mktime.c (SHR): Check that shifts work as desired
16975 on the types long_int and time_t too, as SHR is used on
16976 such types.
16977
f04dfbc2
PE
16978 mktime: do not assume 'long' is wide enough
16979 * time/mktime.c (verify): Move decl up.
16980 (long_int): New type.
16981 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16982 to remove assumption in the code that 'long' is wide enough to
16983 store year values. This assumption is not true on x32 and on
16984 some non-glibc platforms.
16985
62bdf9a6
PE
16986 mktime: merge wrapv change from gnulib
16987 * time/mktime.c (WRAPV): New macro.
16988 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16989 (guess_time_tm, __mktime_internal): Do not assume that signed
16990 integer overflow wraps around; modern compilers generate code
16991 where this assumption is no longer valid.
16992
5e292e4f
L
169932012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16994
16995 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16996 Replace "jmp L(pseudo_end)" with "ret".
16997 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16998 Likewise.
16999
8caf8c87
AJ
170002012-05-23 Andreas Jaeger <aj@suse.de>
17001
17002 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17003 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17004
1a09dc56
AJ
170052012-05-23 Andreas Jaeger <aj@suse.de>
17006 Maximilian Attems <max@stro.at>
17007
17008 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17009 New macros.
17010
1c87aba0
L
170112012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17012
17013 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17014 code so that pseudo_end is just ret and the stack pointer is
17015 correct also for static library in error case.
17016
40e45bd5
JM
170172012-05-23 Joseph Myers <joseph@codesourcery.com>
17018
c2670533
JM
17019 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17020 move to syscalls.list.
17021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17025
40e45bd5
JM
17026 * manual/install.texi (Running make install): Do not mention Linux
17027 kernel version for which pt_chown is not needed.
17028 (Linux): Do not mention problems with nscd with 2.0 kernels.
17029 * INSTALL: Regenerated.
17030
be08eda5
AJ
170312012-05-23 Andreas Jaeger <aj@suse.de>
17032
17033 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17034 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17035 macro.
17036 * sysdeps/unix/sysv/linux/s390/bits/mman.h
17037 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17038 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17039 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17040 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17041 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17042 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17043 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17044 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17045 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17046 * sysdeps/unix/sysv/linux/bits/in.h
17047 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17048
a6a056bb
RM
170492012-05-22 Roland McGrath <roland@hack.frob.com>
17050
17051 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17052 (PREPARE_VERSION): Just use assert instead, it will be elided
17053 under [NDEBUG] anyway.
17054
c9009328
L
170552012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17056
17057 * sysdeps/unix/sysv/linux/Makefile: Include
17058 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 17059 (sysdep_routines): Remove sysctl.
c9009328
L
17060 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17061 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17062 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17063 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17064 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17065
73338355
AJ
170662012-05-22 Andreas Jaeger <aj@suse.de>
17067
17068 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17069 that pseudo_end is just ret and the stack pointer is correct also
17070 for static library in error case.
17071
d44638b0
PP
170722012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17073
17074 [BZ #14122]
17075 * nss/nsswitch.c (defconfig_entries): New variable.
17076 (__nss_database_lookup): Don't leak defconfig entries.
17077 (nss_parse_service_list): Don't leak on error paths.
17078 (free_database_entries): New function.
17079 (free_defconfig): New function.
17080 (free_mem): Move common code to free_database_entries.
17081
31a39bd8
L
170822012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17083
da0331a8
L
17084 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17085 Add arch_prctl.
17086 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17087
31a39bd8
L
17088 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17089 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17090 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17091 New macro.
17092 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17093 (INTERNAL_SYSCALL_TYPES): Likewise.
17094 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17095 (LOAD_REGS_TYPES_[1-6]): Likewise.
17096 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17097 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17098
45470df3
AZ
170992012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17100
17101 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17102 copysignl for GLIBC_2_0.
17103 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17104 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17105 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17106 logbl for GLIBC_2_0.
17107 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17108 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17109
98a61bcb
L
171102012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17111
a4f6e481
L
17112 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17113 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17114
f63d5db6
L
17115 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17116 Use "neg %eax".
17117
98a61bcb
L
17118 * time/mktime.c: Update copyright years.
17119
95770f14
PE
171202012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17121
6226efbd
PE
17122 mktime: merge comment-quoting-style change from gnulib
17123 * time/mktime.c: Quote 'like this' in comments.
17124 The GNU coding standards suggest that we no longer quote `like this',
17125 as "`" and "'" are typically rendered asymmetrically nowadays.
17126 The typical gnulib style is to quote 'like this' when quoting
17127 code, and "like this" when quoting English.
17128
b99e4f78
PE
17129 * time/mktime.c (compile-command): Add "-I.".
17130
643e01e6
PE
17131 mktime: merge mktime-internal.h change from gnulib
17132 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17133
2554247d
PE
17134 mktime: merge time_r change from gnulib
17135 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17136
826dd0ab
PE
17137 mktime: merge DEBUG change from gnulib
17138 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17139 case system <time.h> has a #define.
17140
bd83aabe
PE
17141 mktime: merge <sys/types.h> change from gnulib
17142 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17143 since <time.t> is now guaranteed to define time_t.
17144
95770f14
PE
17145 mktime: merge HAVE_CONFIG_H change from gnulib
17146 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17147
5e1a27a9
L
171482012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17149
0e44a77e
L
17150 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17151 Use "neg %eax".
17152
5e1a27a9
L
17153 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17154 __rlim_t cast.
17155 (struct rusage): Use anonymous union to pad each field to
17156 __syscall_slong_t.
17157
46259bec
DM
171582012-05-21 David S. Miller <davem@davemloft.net>
17159
17160 * Makefules (o-iterator): Remove .s cases.
17161 (compile-command.s): Delete.
17162 (COMPILE.s): Delete.
17163 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17164
59f0c22e
JM
171652012-05-21 Joseph Myers <joseph@codesourcery.com>
17166
17167 * configure.in (libc_cv_predef_stack_protector): Only consider
17168 "foobar" and "__stack_chk_fail" lines in libc_undefs.
17169 * configure: Regenerated.
17170
20c07380
L
171712012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17172
bbb3154b
L
17173 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17174 New macro. Use R*LP on int and pointer.
17175 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
17176 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17177 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
17178 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17179
20c07380
L
17180 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17181 [__WORDSIZE_TIME64_COMPAT32] instead of
17182 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17183 (struct utmp): Likewise.
17184 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17185 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17186 Renamed to ...
17187 (__WORDSIZE_TIME64_COMPAT32): This.
17188 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17189 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17190 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17191 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17192 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17193 (__WORDSIZE_TIME64_COMPAT32): New macro.
17194
d8d1017e
AJ
171952012-05-21 Andreas Jaeger <aj@suse.de>
17196
17197 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17198 only if [SHARED]. Add prototype for __wcschr_ia32.
17199
6c7fb145
RM
172002012-05-21 Roland McGrath <roland@hack.frob.com>
17201
17202 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17203 of %rbp unmolested in the jmp_buf while mangling the low bits.
17204 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17205 unmolested high bits of %rbp while demangling the low bits.
17206 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17207
66274218
AJ
172082012-05-21 Andreas Jaeger <aj@suse.de>
17209
07c58f8f
AJ
17210 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17211 * sunrpc/svc_simple.c: Use it for registerrpc.
17212 * sunrpc/xcrypt.c: Use it for passwd2des.
17213
66274218
AJ
17214 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17215
61f65140
L
172162012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17217
17218 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17219 Don't define if [__SYSCALL_WORDSIZE != 32].
17220 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17221 New macro.
17222
5fefb436
AJ
172232012-05-21 Bruno Haible <bruno@clisp.org>
17224 Andreas Jaeger <aj@suse.de>
17225
17226 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17227 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17228 inptr and inend for must_buffer_ch.
17229 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17230 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17231 * stdio-common/Makefile (tests): Remove bug15.
17232 (bug15-ENV): Remove macro.
17233 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17234 anymore.
17235
d8e272ab
AJ
172362012-05-19 Andreas Jaeger <aj@suse.de>
17237 Roland McGrath <roland@hack.frob.com>
17238
17239 * manual/contrib.texi: Completely rewritten. It contains now an
17240 alphabetical list of contributors and their contributions.
17241
4a56a162
RH
172422012-05-21 Richard Henderson <rth@twiddle.net>
17243
17244 * misc/getauxval.c (__getauxval): Use unsigned long int.
17245 * misc/sys/auxv.h: Include <sys/cdefs.h>.
17246 (getauxval): Use unsigned long int.
17247
d024d23c
L
172482012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17249
17250 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17251
cbc00a03
RM
172522012-05-21 Roland McGrath <roland@hack.frob.com>
17253
17254 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17255 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17256 __alignof__ (long double).
17257
478143fa
AZ
172582012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17259
17260 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17261
c7683a6d
RH
172622012-05-20 Richard Henderson <rth@twiddle.net>
17263
17264 * misc/getauxval.c: New file.
17265 * misc/sys/auxv.h: New file.
17266 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17267 (routines): Add getauxval.
17268 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17269 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17270 * elf/dl-sysdep.c (_dl_auxv): Remove.
17271 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17272 * elf/dl-support.c (_dl_auxv): New variable.
17273 (_dl_aux_init): Initialize it.
17274 * manual/startup.texi (Auxiliary Vector): New node.
17275 * sysdeps/generic/bits/hwcap.h: New file.
17276 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17277 * sysdeps/powerpc/sysdep.h: ... here. Include it.
17278 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17279 * sysdeps/sparc/sysdep.h: ... here. Include it.
17280 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17281 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
17282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17283 Update.
c7683a6d
RH
17284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17286 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17287 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17288 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17289 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17290 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17291 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17292
a6f1845d
AZ
172932012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17294
17295 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17296
cbcbe830
DM
172972012-05-19 David S. Miller <davem@davemloft.net>
17298
17299 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17300
e0b16cc2
JM
173012012-05-19 Joseph Myers <joseph@codesourcery.com>
17302
17303 [BZ #14123]
17304 * math/s_ccosh.c: Include <float.h>
17305 (__ccosh): Avoid internal overflow calculating sinh and cosh
17306 values before multiplying by sin and cos values.
17307 * math/s_ccoshf.c: Likewise.
17308 * math/s_ccoshl.c: Likewise.
17309 * math/s_csin.c: Likewise.
17310 * math/s_csinf.c: Likewise.
17311 * math/s_csinl.c: Likewise.
17312 * math/s_csinh.c: Likewise.
17313 * math/s_csinhf.c: Likewise.
17314 * math/s_csinhl.c: Likewise.
17315 * math/libm-test.inc (ccos_test): Add more tests.
17316 (ccosh_test): Likewise.
17317 (csin_test): Likewise.
17318 (csinh_test): Likewise.
17319 * sysdeps/i386/fpu/libm-test-ulps: Update.
17320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17321
6ad13e08
L
173222012-05-19 H.J. Lu <hongjiu.lu@intel.com>
17323
f66f0ce8
L
17324 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17325 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17326
6ad13e08
L
17327 * sysdeps/x86_64/x32/_itoa.h: Add comment.
17328
b1d072a7
JM
173292012-05-19 Joseph Myers <joseph@codesourcery.com>
17330
17331 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17332 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17333 * sysdeps/powerpc/soft-fp/Versions: Likewise.
17334 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17335 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17336 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17337 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17338 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17339 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17340 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17341 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17342 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17343 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17344 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17345 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17346 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17347 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17348 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17349 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17350 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17351 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17352 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17353 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17354 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17355 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17356 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17357 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17358 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17359 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17360 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17361 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17362
9eae47cb
AJ
173632012-05-18 Andreas Jaeger <aj@suse.de>
17364
17365 * csu/.gitignore: Delete.
17366
bb07f69f
L
173672012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17368
17369 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17370 (timex): Use __syscall_slong_t.
17371
e6bdb741
AJ
173722012-05-18 Andreas Jaeger <aj@suse.de>
17373 Carlos O'Donell <carlos_odonell@mentor.com>
17374
17375 * manual/install.texi (Configuring and compiling): Update
17376 description about files modified in the source directory.
d6c33fda 17377 * INSTALL: Regenerated.
e6bdb741 17378
1b74487e
L
173792012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17380
17381 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17382 value. Use "or" to set return value to -1.
17383 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17384 negate return value.
17385
a88b64b9
TMQMF
173862012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17387
17388 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17389 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17390 failure if the compiler has Graphite support disabled.
17391 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17392 Likewise.
17393 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17394 CFLAGS-memmove.c): Likewise.
17395 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17396 Likewise.
17397
3707636e
L
173982012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17399
610b8622
L
17400 * sysdeps/x86_64/x32/_itoa.h: New file.
17401
7cd195df
L
17402 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17403 getdents system call only if kernel and user dirents have the
17404 same d_ino and d_off.
17405
94b07d20
L
17406 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17407 LLONG_MAX != LONG_MAX.
17408 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17409 (_fitoa_word): Likewise.
17410
18298070
L
17411 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17412 years.
17413 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17414 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17415 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17416
553c7ea4
L
17417 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17418 include <bits/wordsize.h>. Check __x86_64__ instead of
17419 __WORDSIZE.
17420 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17421 if __x86_64__ is defined. Use anonymous union on fpstate.
17422
3707636e
L
17423 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17424 anonymous union.
17425
b53ef01a
AS
174262012-05-18 Andreas Schwab <schwab@linux-m68k.org>
17427
37fb1dc0
AS
17428 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17429 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17430 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17431 Refer to _rtld_local_ro instead of _rtld_global_ro.
17432 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17433 Likewise.
17434 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17435 Likewise.
17436 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17437 Likewise.
17438 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17439 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17440 of _rtld_global, and rtld_progname instead of _dl_argv[0].
17441
b53ef01a
AS
17442 * sysdeps/powerpc/powerpc32/dl-machine.c
17443 (__elf_machine_runtime_setup) [PROF]: Don't reference
17444 _dl_prof_resolve.
17445
7a185db2
AJ
174462012-05-18 Andreas Jaeger <aj@suse.de>
17447
17448 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17449 function only available for GCCs before 3.4 since GCC 3.4
17450 introduced a builtin.
17451 (lrint): Likewise.
17452 (llrintf): Likewise.
17453 (llrint): Likewise.
17454 (fmaxf): Likewise.
17455 (fmax): Likewise.
17456 (fminf): Likewise.
17457 (fmin): Likewise.
17458 (rint): Likewise.
17459 (rintf): Likewise.
17460 (nearbyint): Likewise.
17461 (nearbyintf): Likewise.
17462 (ceil): Likewise.
17463 (ceilf): Likewise.
17464 (floor): Likewise.
17465 (floorf): Likewise.
17466
3e5aef87
L
174672012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17468
428bd707
L
17469 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17470 on both fields and cast pointer to __syscall_ulong_t.
17471
3e5aef87
L
17472 * bits/types.h (__fsword_t): New type.
17473 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17474 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17475 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17476 (__FSWORD_T_TYPE): Likewise.
17477 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17478 (__FSWORD_T_TYPE): Likewise.
17479 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17480 (__FSWORD_T_TYPE): Likewise.
17481 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17482 (__FSWORD_T_TYPE): Likewise.
17483 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17484 __SWORD_TYPE with __fsword_t.
17485 (statfs64): Likewise.
17486
1ba7c3dc
DM
174872012-05-17 David S. Miller <davem@davemloft.net>
17488
17489 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17490
59910343
AJ
174912012-05-17 Andreas Jaeger <aj@suse.de>
17492
17493 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17494 warning.
17495
2e4c1e9e
L
174962012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17497
17498 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17499
de7f5ce7
AJ
175002012-05-17 Andreas Jaeger <aj@suse.de>
17501
17502 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17503 when it is used.
17504
286abc3d
CM
175052012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17506
17507 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17508
477cc68e
L
175092012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17510
17511 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17512 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17513
1a0994f5
CD
175142012-05-17 Andreas Jaeger <aj@suse.de>
17515 Carlos O'Donell <carlos_odonell@mentor.com>
17516
17517 [BZ #14059]
17518 * sysdeps/x86_64/multiarch/init-arch.h
17519 (bit_YMM_Usable): Rename to...
17520 (bit_AVX_Usable): ... this.
17521 (bit_FMA4_Usable): New macro.
17522 (bit_XMM_state): New macro.
17523 (bit_YMM_state): New macro.
17524 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17525 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17526 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17527 (CPUID_OSXSAVE): New macro.
17528 (CPUID_AVX): New macro.
17529 (CPUID_FMA4): New macro.
17530 (index_YMM_Usable): Rename to...
17531 (index_AVX_Usable): ... this.
17532 (HAS_AVX): Use HAS_ARCH_FEATURE.
17533 (HAS_FMA4): Likewise.
17534 (HAS_YMM_USABLE): Remove.
17535 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17536 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17537 are present.
17538 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17539 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17540 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17541 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17542 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17543
0af797de
CM
175442012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17545
17546 * math/libm-test.c: Support platforms without multiple rounding modes.
17547 * math/bug-nextafter.c: Support platforms without FP exceptions.
17548 * math/bug-nexttoward.c: Likewise.
17549 * math/test-fenv.c: Likewise.
17550 * math/test-misc.c: Likewise.
17551 * stdlib/bug-getcontext.c: Likewise.
17552
e39745ff
AJ
175532012-05-17 Andreas Jaeger <aj@suse.de>
17554
17555 * manual/examples/search.c (critter_cmp): Change signature to
17556 avoid warnings.
17557 * manual/string.texi (Collation Functions): Likewise.
17558
48970aba
L
175592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17560
17561 * bits/types.h: Fold copyright years.
17562 * bits/typesizes.h: Likewise.
17563 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17564 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17565 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17566 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17567 * time/time.h: Likewise.
17568
bedee953
PP
175692012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17570
17571 [BZ #208]
17572 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17573 in instead of returning them. Return void.
17574 (__libc_mallinfo): Accumulate over all arenas.
17575 (__malloc_stats): Adjust for change in int_mallinfo interface.
17576
61653dfb
RM
175772012-05-16 Roland McGrath <roland@hack.frob.com>
17578
30b99d79
RM
17579 [BZ #10375]
17580 * configure.in (NM): Add AC_CHECK_TOOL for it.
17581 (libc_extra_cflags): New substituted variable.
17582 Check for -fstack-protector being used implicitly.
17583 * configure: Regenerated.
17584 * config.make.in (config-extra-cflags): New variable,
17585 gets @libc_extra_cflags@.
17586 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17587
61653dfb
RM
17588 [BZ #10375]
17589 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17590 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17591 * configure: Regenerated.
17592 * config.make.in (CPPUNDEFS): New substituted variable.
17593 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17594 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17595 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17596
661768bb
L
175972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17598
17599 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17600 (mq_attr): Use __syscall_slong_t.
17601
d4261567
L
176022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17603
17604 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17605 Check __x86_64__ instead of __WORDSIZE.
17606 (_STAT_VER_LINUX): Likewise.
17607 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17608 __syscall_ulong_t and __syscall_slong_t.
17609 (stat64): Likewise.
17610
cf3ff365
L
176112012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17612
17613 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17614
76cf3e4d
L
176152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17616
17617 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17618
a637753a
L
176192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17620
17621 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17622 __syscall_ulong_t.
17623
d5e05119
L
17624 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17625 include <bits/wordsize.h>. Check __x86_64__ instead of
17626 __WORDSIZE.
17627 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17628 defined.
17629 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17630
f62ee380
L
17631 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17632 include <bits/wordsize.h>. Check __x86_64__ instead of
17633 __WORDSIZE.
17634 (user_regs_struct): Use "__extension__ unsigned long long"
17635 instead of "unsigned long" if __x86_64__ is defined.
17636 (user): Likewise. Pad after pointer field if __ILP32__ is
17637 defined.
17638
4e124ced
JM
176392012-05-16 Joseph Myers <joseph@codesourcery.com>
17640
6a3951a0
JM
17641 * configure.in (makeinfo): Require version 4.5 or later. Allow
17642 versions 5 to 9.
17643 * configure: Regenerated.
17644 * manual/install.texi (texinfo): Increase version requirement to
17645 4.5 or later.
17646 * INSTALL: Regenerated.
17647
4e124ced
JM
17648 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17649
953ca31a
L
176502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17651
17652 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17653
617aca05
L
17654 * sysdeps/x86_64/x32/ffs.c: New file.
17655
5762f7ae
L
17656 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17657 __syscall_ulong_t.
17658 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17659 defined. Use __syscall_ulong_t.
17660 (shminfo): Use __syscall_ulong_t.
17661 (shm_info): Likewise.
17662
a26b6856
L
17663 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17664 __syscall_ulong_t.
17665
cb2b9ef7
L
17666 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17667 <bits/wordsize.h>.
17668 (msgqnum_t): Use __syscall_ulong_t.
17669 (msglen_t): Likewise.
17670 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17671 __syscall_ulong_t.
17672
34683bb0
L
17673 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17674 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17675
84a68786
L
17676 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17677
48baa5f1
L
17678 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17679 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17680
180be88b
L
17681 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17682 __syscall_slong_t.
17683
5e90c8ad
L
17684 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17685 include <bits/wordsize.h>. Check __x86_64__ instead of
17686 __WORDSIZE.
17687
23dfb58b
L
17688 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17689 "unsigned long long int" if __x86_64__ is defined.
17690 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17691
ce5d54b0
L
17692 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17693 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17694 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17695
13dc9eac
L
17696 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17697 <stdint.h>.
17698 (GET_PC): Cast to uintptr_t first.
17699 (GET_FRAME): Likewise.
17700 (GET_STACK): Likewise.
17701
a7895d15
L
17702 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17703 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17704 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17705 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17706 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17707 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17708 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17709 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17710 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17711 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17712 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17713 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17714 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17715 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17716 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17717 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17718 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17719 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17720 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17721 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17722 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17723 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17724 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17725 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17726 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17727 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17728 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17729 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17730 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17731
656416c9
AS
177322012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17733
5bd66283
AS
17734 * Makerules (+depfiles): Also collect depfiles from .oS in
17735 $(extra-objs).
17736 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17737 .oS, $(libnldbl-routines)).
17738
656416c9
AS
17739 * Makerules (native-compile-mkdep-flags): Define.
17740 * sunrpc/Makefile (extra-objs): Add $(addprefix
17741 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17742 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17743 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17744 calling $(make-target-directory).
17745
a46f2169
L
177462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17747
17748 * bits/types.h (__snseconds_t): Removed.
17749 * time/time.h (struct timespec): Replace __snseconds_t with
17750 __syscall_slong_t.
17751 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17752 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17753 Likewise.
17754 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17755 (__SNSECONDS_T_TYPE): Likewise.
17756 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17757 (__SNSECONDS_T_TYPE): Likewise.
17758 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17759 (__SNSECONDS_T_TYPE): Likewise.
17760
6af6528b
L
177612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17762
17763 * sysdeps/mach/hurd/bits/typesizes.h
17764 (__SYSCALL_SLONG_TYPE): New macro.
17765 (__SYSCALL_ULONG_TYPE): Likewise.
17766
de986b56
L
177672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17768
17769 * bits/types.h (__syscall_slong_t): New type.
17770 (__syscall_ulong_t): Likewise.
17771
17772 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17773 (__SYSCALL_ULONG_TYPE): Likewise.
17774 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17775 (__SYSCALL_SLONG_TYPE): Likewise.
17776 (__SYSCALL_ULONG_TYPE): Likewise.
17777 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17778 (__SYSCALL_SLONG_TYPE): Likewise.
17779 (__SYSCALL_ULONG_TYPE): Likewise.
17780 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17781 (__SYSCALL_SLONG_TYPE): Likewise.
17782 (__SYSCALL_ULONG_TYPE): Likewise.
17783
85736dc7
L
177842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17785
17786 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17787 Add sigaltstack-offsets.sym.
17788 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17789 <sigaltstack-offsets.h>.
17790 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
17791 longjmp_msg pointer.
17792 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
17793 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17794 signal stack.
17795 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17796
cc03b296
JM
177972012-05-15 Joseph Myers <joseph@codesourcery.com>
17798
a9538892
JM
17799 * elf/stackguard-macros.h: Remove file.
17800 * sysdeps/generic/stackguard-macros.h: New file.
17801 * sysdeps/i386/stackguard-macros.h: Likewise.
17802 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17803 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17804 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17805 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17806 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17807 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17808 * sysdeps/x86_64/stackguard-macros.h: Likewise.
17809 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17810 <elf/stackguard-macros.h>.
17811
cc03b296
JM
17812 [BZ #14109]
17813 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17814 __aligned__ in attribute.
17815 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17816 (gregset_t): Likewise.
17817
93171016
L
178182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17819
17820 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17821 * sysdeps/x86_64/64/Implies-after: Here. New file.
17822 * sysdeps/x86_64/x32/Implies-after: New file.
17823
d86813a0
L
178242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17825
17826 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17827 and access return value for _dl_profile_fixup. Use R10_LP to
17828 load frame size.
17829
2953ec75
L
178302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17831
17832 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17833
3b550e9e
L
178342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17835
17836 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17837 * sysdeps/x86_64/x32/sysdep.h: New file.
17838
eda41706
L
178392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17840
17841 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17842 * sysdeps/x86_64/setjmp.S: Likewise.
17843
9ea01d93
AZ
178442012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17845
17846 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17847 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17848 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17849 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17850 remove unused global constant.
17851
02a91938
CM
178522012-05-15 Chris Metcalf <cmetcalf@tilera.com>
17853
17854 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17855 include of <not-cancel.h>.
17856
6540185f
RM
178572012-05-15 Roland McGrath <roland@hack.frob.com>
17858
17859 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17860
509072a0
AJ
178612012-05-15 Jeff Law <law@redhat.com>
17862 Andreas Jaeger <aj@suse.de>
17863
17864 [BZ #13594]
17865 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17866 out from...
17867 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17868 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17869 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17870 code changing __hst_map_handle.map.
17871
ba75122d
RM
178722012-05-15 Roland McGrath <roland@hack.frob.com>
17873
17874 * configure.in (sysnames): Look for Implies-before and Implies-after
17875 files.
17876 * configure: Regenerated.
17877
890d8bd8
L
178782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17879
17880 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17881 8-byte data alignment with LP_SIZE alignment.
17882
f6ee6623
L
178832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17884
17885 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17886 into R10_LP.
17887
ea2626f6
L
178882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17889
17890 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17891
085f715e
L
178922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17893
17894 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17895 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17896 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17897 Likewise.
17898 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17899
be8498fc
L
179002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17901
17902 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17903 (stackinfo_sub_sp): Likewise.
17904
70bc83b9
L
179052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17906
17907 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17908 RAX_LP.
17909
9bc0b730
L
179102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17911
17912 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17913 into R*_LP.
17914
6d2850e7
L
179152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17916
17917 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17918 sizes into R*_LP.
17919
3cb84561
L
179202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17921
17922 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17923
54e2ed81
L
179242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17925
17926 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17927 into R11_LP and load __x86_64_shared_cache_size_half into
17928 R8_LP.
17929
8a17f349
L
179302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17931
17932 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17933 R8_LP.
17934
777b1eea
AZ
179352012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17936
17937 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17938 logb for POWER7.
17939 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17940 logbf for POWER7.
17941 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17942 logbl for POWER7.
17943 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17944 powerpc32/power7/fpu/s_logb.c via #include.
17945 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17946 powerpc32/power7/fpu/s_logbf.c via #include.
17947 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17948 powerpc32/power7/fpu/s_logbl.c via #include.
17949
d20d4ac2
JM
179502012-05-15 Joseph Myers <joseph@codesourcery.com>
17951
17952 * README.libm: Remove file.
17953
6cdef1ab
L
179542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17955
17956 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17957 count for x32. Use R*_LP and omit operand-size suffix.
17958
0b254d8f
L
179592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17960
17961 * shlib-versions: Move x86_64-.*-linux.* entries to ...
17962 * sysdeps/x86_64/64/shlib-versions: Here. New file.
17963 * sysdeps/x86_64/x32/shlib-versions: New file.
17964
ceb809dc
RM
179652012-05-14 Roland McGrath <roland@hack.frob.com>
17966
17967 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17968 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17969 Use _dl_fatal_printf instead.
17970
37f1abd4
JM
179712012-05-14 Joseph Myers <joseph@codesourcery.com>
17972
17973 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17974 set if not set by the user. Do not allow for being unset.
17975 * sysdeps/unix/sysv/linux/configure: Regenerated.
17976
11de3a33
L
179772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17978
17979 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17980 the `q' suffix from lea and replace .quad with ASM_ADDR.
17981
e02f153a
L
179822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17983
17984 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17985 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
17986 instead of $17.
17987 (PTR_DEMANGLE): Likewise.
17988
520ae0fd
L
179892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17990
17991 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17992 (LP_OP): Likewise.
17993 (ASM_ADDR): Likewise.
17994 (RAX_LP): Likewise.
17995 (RBP_LP): Likewise.
17996 (RBX_LP): Likewise.
17997 (RCX_LP): Likewise.
17998 (RDI_LP): Likewise.
17999 (RSI_LP): Likewise.
18000 (RSP_LP): Likewise.
18001 (R8_LP): Likewise.
18002 (R9_LP): Likewise.
18003 (R10_LP): Likewise.
18004 (R10_LP): Likewise.
18005 (R11_LP): Likewise.
18006 (R12_LP): Likewise.
18007 (R13_LP): Likewise.
18008 (R14_LP): Likewise.
18009 (R15_LP): Likewise.
18010
b985be81
L
180112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18012
18013 * sysdeps/x86_64/x32/dl-machine.h: New file.
18014
6a4888ff
AJ
180152012-05-14 Andreas Jaeger <aj@suse.de>
18016
18017 * manual/Makefile (subdir): Remove export of subdir.
18018 (all): Remove target.
18019 (.PHONY): Remove all from list.
18020 (mkinstalldirs): Remove.
18021 (.PHONY): Remove installdirs from list.
18022 ($(inst_infodir)/libc.info): Use make-target-directory.
18023 (installdirs): Remove.
18024 (subdir_%): Remove.
18025 (glibc-targets): Remove.
18026 (lib): Remove.
18027 (stubs): Remove.
18028 ($(objpfx)stubs ../po/manual.pot): Remove.
18029 ($(objpfx)stamp%): Remove.
18030 (make-target-directory): Remove.
18031 (subdir_install): Remove.
18032 (routines): Remove.
18033 (aux): Remove.
18034 (sources): Remove.
18035 (objects): Remove.
18036 (headers): Remove.
18037
18038 [BZ #13750]
18039 * manual/.gitignore: Remove, it's not needed anymore.
18040 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18041 all files in it.
18042 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18043 directory.
18044 (texis): Renamed to $(objpfx)texis.
18045 (texis-path): New, contains path to generated files.
18046 (chapters.%): Use texis-path for complete path, add extra argument
18047 libc-texinfo.sh.
18048 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18049 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18050 (summary,texi, stamp-summary): Use complete path of
18051 files. Generate files in build dir.
18052 (dir-add.texi): Build in build dir.
18053 (libm-err.texi,stamp-libm-err): Likewise.
18054 (version.texi, stamp-version): Likewise.
18055 (.%c.texi): Likewise.
18056 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18057 (mostlyclean): Remove target.
18058 (realclean): Remove target.
18059 (generated): Add new variable with contents from mostlyclean and
18060 realclean, remove entries duplicated in common-mostlyclean, add
18061 stamp-libm-err and stamp-version.
18062 (generated-dirs): Add libc directory.
18063 ($(inst_infodir)/libc.info): Install files from build dir.
18064
18065 * manual/install.texi (Configuring and compiling): Adjust since
18066 the info files are not part of the tar ball anymore.
18067
7ac77294
AJ
180682012-05-14 Andreas Jaeger <aj@suse.de>
18069
18070 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18071 variable.
18072
ffb7875d
JM
180732012-05-14 Joseph Myers <joseph@codesourcery.com>
18074
18075 [BZ #13717]
18076 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18077 to 2.2.0 where earlier.
18078 * sysdeps/unix/sysv/linux/configure: Regenerated.
18079 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18080 Remove conditional code.
18081 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18082 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18083 Remove conditional code.
18084 [!__NR_lchown]: Likewise.
18085 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18086 [__NR_lchown]: Likewise.
18087 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18088 comment referencing __ASSUME_LCHOWN_SYSCALL.
18089 * sysdeps/unix/sysv/linux/i386/sigaction.c
18090 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18091 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18092 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18093 Remove conditional code.
18094 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18095 (__protocol_available): Remove #if 0 code.
18096 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18097 conditional code.
18098 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18099 * sysdeps/unix/sysv/linux/kernel-features.h
18100 (__ASSUME_GETCWD_SYSCALL): Don't define.
18101 (__ASSUME_REALTIME_SIGNALS): Likewise.
18102 (__ASSUME_PREAD_SYSCALL): Likewise.
18103 (__ASSUME_PWRITE_SYSCALL): Likewise.
18104 (__ASSUME_POLL_SYSCALL): Likewise.
18105 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18106 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18107 non-SPARC.
18108 (__ASSUME_SIOCGIFNAME): Don't define.
18109 (__ASSUME_MSG_NOSIGNAL): Likewise.
18110 (__ASSUME_SENDFILE): Define unconditionally.
18111 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18112 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18113 conditional code.
18114 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18115 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18116 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18117 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18118 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18119 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18120 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18122 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18123 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18125 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18126 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18128 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18129 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18131 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18132 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18134 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18135 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18137 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18138 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18140 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18141 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18143 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18144 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18145 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18146 Remove conditional code.
18147 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18148 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18149 Remove conditional code.
18150 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18151 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18152 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18153 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18154 Remove conditional code.
18155 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18156 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18157 Remove conditional code.
18158 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18159 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18160 Remove conditional code.
18161 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18162 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18163 Remove conditional code.
18164 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18165 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18166 Remove conditional code.
18167 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18168 * sysdeps/unix/sysv/linux/sh/pwrite64.c
18169 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18170 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18171 * sysdeps/unix/sysv/linux/sigaction.c
18172 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18173 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18174 * sysdeps/unix/sysv/linux/sigpending.c
18175 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18176 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18177 * sysdeps/unix/sysv/linux/sigprocmask.c
18178 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18179 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18180 * sysdeps/unix/sysv/linux/sigsuspend.c
18181 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18182 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18183 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18184 (__libc_missing_rt_sigs): Remove.
18185 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18186 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18187 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18188 Remove conditional code.
18189 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18190 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18191 return 1.
18192 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18193 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18194 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18195 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18196
1bfb7291
AJ
181972012-05-14 Andreas Jaeger <aj@suse.de>
18198
caae5a81
AJ
18199 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18200 it's not used in glibc.
18201 (__coshm1): Likewise.
18202 (__acosh1p): Likewise.
18203 (__sgn): Likewise.
18204
1bfb7291
AJ
18205 * manual/string.texi (Copying and Concatenation): Add missing
18206 variable in concat example.
18207 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18208
c044d724
L
182092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18210
144c5467 18211 [BZ #14103]
c044d724
L
18212 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18213 __builtin_clzl with __builtin_clzll.
18214
2523c62b
L
182152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18216
18217 [BZ #14104]
18218 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18219 libc_freeres_ptr.
18220
d7bb4c42
LD
182212012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18222
18223 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18224 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18225 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18226 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18227
9dc4e1fb
MF
182282012-05-14 Mike Frysinger <vapier@gentoo.org>
18229
18230 * NEWS: Update ia64 info.
18231
c7df0112
AS
182322012-05-12 Andreas Schwab <schwab@linux-m68k.org>
18233
18234 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18235 used as bcopy.
18236
dc70356c
TS
182372012-05-12 Thomas Schwinge <thomas@codesourcery.com>
18238
18239 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18240 * sysdeps/unix/syscalls.list (dup3): Likewise.
18241 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18242 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18243
9fb1a21f
L
182442012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18245
18246 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18247 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18248
4822a2a5
L
182492012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18250
18251 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18252 thread pointer.
18253 (TLS_IE): Use mov/add instead of movq/addq to load thread
18254 pointer.
18255 (TLS_GD_PREFIX): New.
18256 (TLS_GD): Use it.
18257
842b81d6
DM
182582012-05-11 David S. Miller <davem@davemloft.net>
18259
18260 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18261 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18262 (_FPU_SETCW): Likewise.
18263
1cf463cd
L
182642012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18265
18266 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18267 is 32-byte aligned.
18268
60cc4a18
AS
182692012-05-11 Andreas Schwab <schwab@linux-m68k.org>
18270
18271 [BZ #11837]
18272 * iconvdata/gb18030.c: Update tables.
18273 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
18274 characters specially.
18275 (BODY for TO_LOOP): Add encoding of missing ranges.
18276
febb44a4
TS
182772012-05-11 Thomas Schwinge <thomas@codesourcery.com>
18278
18279 [BZ #13673]
18280 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18281 * sysdeps/mach/hurd/dup3.c: Likewise.
18282 * sysdeps/mach/hurd/readlinkat.c: Likewise.
18283 * sysdeps/powerpc/memmove.c:: Likewise.
18284
0a10fb9e
L
182852012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18286
18287 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18288 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18289
df8a552f
L
182902012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18291
18292 * elf/elf.h (R_X86_64_RELATIVE64): New.
18293 (R_X86_64_NUM): Updated.
18294 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18295 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
18296 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18297 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18298 tst-quad1pie tst-quad2pie
18299 (modules-names): Add tst-quadmod1 tst-quadmod2.
18300 ($(objpfx)tst-quad1): New dependency.
18301 ($(objpfx)tst-quad2): Likewise.
18302 ($(objpfx)tst-quad1pie): Likewise.
18303 ($(objpfx)tst-quad2pie): Likewise.
18304 * sysdeps/x86_64/tst-quad1.c: New file.
18305 * sysdeps/x86_64/tst-quad1pie.c: New file.
18306 * sysdeps/x86_64/tst-quad2.c: Likewise.
18307 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18308 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18309 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18310 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18311 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18312
f34d6f84
ST
183132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18314
f42d41d1
ST
18315 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18316 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18317 * streams/stropts.h (t_scalar_t): Define type.
18318
3c3571fc
ST
18319 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18320 (_PATH_PRESERVE): Set to "/var/lib".
18321 (_PATH_RWHODIR): Set to "/var/spool/rwho".
18322
61f06bd3
ST
18323 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18324 instead of int.
18325
918d4d71
ST
18326 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18327 if __dir_mkfile succeeded.
18328
f34d6f84
ST
18329 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18330 checking for _hurd_dtablesize. Unlock it right after having
18331 finished _hurd_dtable allocation.
18332
10589b4a
TS
183332012-05-10 Thomas Schwinge <thomas@schwinge.name>
18334
674cdbc7
TS
18335 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18336 * sysdeps/mach/hurd/configure: Regenerated.
18337 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18338 special-casing to...
18339 * sysdeps/gnu/configure.in: ... this new file.
18340 * sysdeps/unix/sysv/linux/configure: Regenerated.
18341 * sysdeps/gnu/configure: New generated file.
18342
8e41b99f
TS
18343 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18344 for Linux: use nsec instead of usec, as well as:
18345 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18346 members of type struct timespec.
18347 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18348 New macros.
18349 (struct stat64): Likewise.
18350 (_STATBUF_ST_NSEC): New macro.
18351 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18352
10589b4a
TS
18353 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18354 __strtoul_internal rather than strtoul.
18355
63643c85
PT
183562012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18357
18358 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18359 and reject them.
18360
3faebe6a
ST
183612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18362
18363 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18364 which preserves existing values.
18365 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18366
c6474b07
PT
183672012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18368
18369 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18370 TIMEOUT values. Return EINVAL for NFDS values either negative or
18371 greater than FD_SETSIZE.
18372
1043890b
ST
183732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18374
18375 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18376 allocated, call __vm_protect to finish enabling the existing space, and
18377 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18378 allocate the remainder.
18379
37ed8b9b
PT
183802012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18381
18382 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18383 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
18384
db653660
ST
183852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18386
37ed8b9b
PT
18387 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18388 sysdeps/mach/hurd/readlink.c.
b29d4053 18389
db653660
ST
18390 * posix/tst-sysconf.c (posix_options): Only use
18391 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18392 _POSIX_SYNCHRONIZED_IO when they are defined
18393 * sysdeps/mach/hurd/bits/posix_opt.h:
18394 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18395 (_XOPEN_REALTIME): Undefine macro.
18396 (_XOPEN_REALTIME_THREADS): Undefine macro.
18397 (_XOPEN_SHM): Undefine macro.
18398 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18399 macro to -1.
18400 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18401 macro to -1.
18402 (_POSIX_ASYNC_IO): Undefine macro.
18403 (_POSIX_PRIORITIZED_IO): Undefine macro.
18404 (_POSIX_SPIN_LOCKS): Define macro to -1.
18405
ee16e894
ST
18406 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18407 SA_NODEFER, SA_RESETHAND.
18408 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18409 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18410 F_DUPFD_CLOEXEC.
18411
6103ae3b
TS
184122012-05-10 Thomas Schwinge <thomas@schwinge.name>
18413
18414 * elf/Makefile (pldd-modules): Define unconditionally.
18415
80b4e5f3
TS
184162012-05-10 Thomas Schwinge <thomas@schwinge.name>
18417
18418 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18419
edadcbd6
ST
184202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18421
18422 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18423 Return ENOENT when name is empty.
18424 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18425
80694780
TS
184262012-05-10 Thomas Schwinge <thomas@schwinge.name>
18427
1792c087
TS
18428 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18429
80694780
TS
18430 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18431
6b645f0d
ST
184322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18433
80694780
TS
18434 Fix mlock in all cases except non-readable pages.
18435 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18436 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 18437
6b645f0d
ST
18438 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18439 (__mkdir): When path is `/', just fail with EEXIST.
18440 * sysdeps/mach/hurd/mkdirat.c: Likewise.
18441
e468f8a3
TS
184422012-05-10 Thomas Schwinge <thomas@schwinge.name>
18443
18444 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18445 <sys/uio.h> (for writev).
18446 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18447 and <sys/param.h> (for MIN).
18448
a4186cff
PT
184492012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18450
18451 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18452 REQUESTED_TIME. Properly set the remaining time and return EINTR
18453 if interrupted.
18454
510bbf14
TS
184552012-05-10 Thomas Schwinge <thomas@schwinge.name>
18456
18457 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18458 Depend on against $(link-rpcuserlibs).
18459
5d5722e8
ST
184602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18461
a4186cff
PT
18462 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18463 (__libc_stack_end): Do not use attribute_relro.
18464 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18465 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 18466 to libthread-provided value.
a4186cff
PT
18467 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18468 attribute_relro.
5d5722e8 18469
37233df9
TS
184702012-05-10 Thomas Schwinge <thomas@schwinge.name>
18471
be971a2b
TS
18472 [BZ #3748]
18473 * bits/libc-lock.h (__libc_once_get): New macro.
18474 * sysdeps/mach/bits/libc-lock.h: Likewise.
18475 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18476 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18477 instead of using implementation details.
18478
37233df9
TS
18479 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18480 * libio/freopen.c: Likewise.
18481 * libio/freopen64.c: Likewise.
18482 * misc/syslog.c: Likewise.
18483 * nscd/connections.c: Likewise.
18484 * nscd/netgroupcache.c: Likewise.
18485 * sysdeps/posix/getcwd.c: Likewise.
18486
38de94a5
RM
184872012-05-10 Roland McGrath <roland@hack.frob.com>
18488
18489 * math/w_ilogbf.c: Add #include <limits.h>.
18490
67530489
ST
184912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18492
a4186cff 18493 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
18494 path instead of returning without unlocking.
18495
67530489
ST
18496 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18497 immediate-write ioctls.
18498 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18499
5aa3a74a
TS
185002012-05-10 Thomas Schwinge <thomas@schwinge.name>
18501
18bad2ae
TS
18502 * sysdeps/mach/hurd/i386/init-first.c (init): Use
18503 __builtin_frame_address instead of making assumptions about the
18504 location of the return address relative to DATA. Force early load of
18505 the return address.
18506 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18507 __builtin_frame_address.
18508
5aa3a74a
TS
18509 dup3 for GNU Hurd.
18510 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18511 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18512 implement dup3 and do some further code clean-ups.
18513 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18514 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18515
ecd0de9a
ST
185162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18517
cd9fa985
ST
18518 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18519
a4186cff
PT
18520 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18521 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18522 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18523 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18524 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18525 d->port.lock.
802ca5a5 18526
a4186cff
PT
18527 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18528 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18529 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 18530
bcf55240
TS
185312012-05-10 Thomas Schwinge <thomas@schwinge.name>
18532
6960eb42
TS
18533 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18534 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18535 definitions.
18536
eb43375f
TS
18537 accept4 for GNU Hurd.
18538 * include/sys/socket.h (__libc_accept4): New prototype.
18539 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18540 to implement __libc_accept4.
18541 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18542 __libc_accept4.
18543 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18544
bcf55240
TS
18545 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18546 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18547 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18548 signal-defines.sym.
18549
6178c55b
ST
185502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18551
a4186cff 18552 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 18553
6f080c2f
TS
185542012-05-10 Thomas Schwinge <thomas@schwinge.name>
18555
18556 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18557 assertion on O_CLOEXEC flag.
18558 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18559 * hurd/intern-fd.c: Likewise.
18560 * hurd/port2fd.c: Likewise.
18561
bcfe3a54
ST
185622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18563
18564 [BZ #3906]
18565 * bits/in.h (IPV6_PKTINFO): Define new macro.
18566 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18567
89c9aa49
AZ
185682012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18569
18570 [BZ #13954]
18571 [BZ #13955]
18572 [BZ #13956]
18573 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18574 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18575 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18576 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18577 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18578 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18579 * math/libm-test.inc (logb_test) : Additional logb tests.
18580
021db4be
AJ
185812012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18582 Andreas Jaeger <aj@suse.de>
18583
18584 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18585 * configure: Regenerated.
18586 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18587 * config.make.in (link-obsolete-rpc): New substituted variable.
18588 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18589 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18590 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18591 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18592 so that libc.a contains the symbols.
18593 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18594 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18595 * sunrpc/auth_none.c: Likewise.
18596 * sunrpc/auth_unix.c: Likewise.
18597 * sunrpc/authdes_prot.c: Likewise.
18598 * sunrpc/authuxprot.c: Likewise.
18599 * sunrpc/clnt_gen.c: Likewise.
18600 * sunrpc/clnt_perr.c: Likewise.
18601 * sunrpc/clnt_raw.c: Likewise.
18602 * sunrpc/clnt_simp.c: Likewise.
18603 * sunrpc/clnt_tcp.c: Likewise.
18604 * sunrpc/clnt_udp.c: Likewise.
18605 * sunrpc/clnt_unix.c: Likewise.
18606 * sunrpc/des_crypt.c: Likewise.
18607 * sunrpc/des_soft.c: Likewise.
18608 * sunrpc/get_myaddr.c: Likewise.
18609 * sunrpc/key_call.c: Likewise.
18610 * sunrpc/key_prot.c: Likewise.
18611 * sunrpc/netname.c: Likewise.
18612 * sunrpc/pm_getmaps.c: Likewise.
18613 * sunrpc/pm_getport.c: Likewise.
18614 * sunrpc/pmap_clnt.c: Likewise.
18615 * sunrpc/pmap_prot.c: Likewise.
18616 * sunrpc/pmap_prot2.c: Likewise.
18617 * sunrpc/pmap_rmt.c: Likewise.
18618 * sunrpc/publickey.c: Likewise.
18619 * sunrpc/rpc_cmsg.c: Likewise.
18620 * sunrpc/rpc_common.c: Likewise.
18621 * sunrpc/rpc_dtable.c: Likewise.
18622 * sunrpc/rpc_prot.c: Likewise.
18623 * sunrpc/rpc_thread.c: Likewise.
18624 * sunrpc/rtime.c: Likewise.
18625 * sunrpc/svc.c: Likewise.
18626 * sunrpc/svc_auth.c: Likewise.
18627 * sunrpc/svc_raw.c: Likewise.
18628 * sunrpc/svc_run.c: Likewise.
18629 * sunrpc/svc_tcp.c: Likewise.
18630 * sunrpc/svc_udp.c: Likewise.
18631 * sunrpc/svc_unix.c: Likewise.
18632 * sunrpc/svcauth_des.c: Likewise.
18633 * sunrpc/xcrypt.c: Likewise.
18634 * sunrpc/xdr.c: Likewise.
18635 * sunrpc/xdr_array.c: Likewise.
18636 * sunrpc/xdr_float.c: Likewise.
18637 * sunrpc/xdr_intXX_t.c: Likewise.
18638 * sunrpc/xdr_mem.c: Likewise.
18639 * sunrpc/xdr_rec.c: Likewise.
18640 * sunrpc/xdr_ref.c: Likewise.
18641 * sunrpc/xdr_sizeof.c: Likewise.
18642 * sunrpc/xdr_stdio.c: Likewise.
18643
b5c086a2
RM
186442012-05-10 Roland McGrath <roland@hack.frob.com>
18645
18646 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18647 change. Update copyright years.
18648
6d74dd09
JM
186492012-05-10 Joseph Myers <joseph@codesourcery.com>
18650
18651 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18652
28e72501
MK
186532012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18654 Joseph Myers <joseph@codesourcery.com>
18655 Paul Pluzhnikov <ppluzhnikov@google.com>
18656
18657 [BZ #14012]
18658 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18659 requiring rpcgen.
18660 [cross-compiling] (extra-libs): Likewise.
18661 [cross-compiling] (extra-libs-others): Likewise.
18662 [cross-compiling] (librpcsvc-routines): Likewise.
18663 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18664 [cross-compiling] (omit-deps): Likewise.
18665 (sunrpc-CPPFLAGS): New variable.
18666 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18667 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18668 (cross-rpcgen-objs): New variable.
18669 (extra-objs): Append $(cross-rpcgen-objs).
18670 ($(cross-rpcgen-objs)): New rule.
18671 ($(objpfx)cross-rpcgen): Likewise.
18672 (rpcgen-cmd): Define to use $(built-program-file). Expand
18673 comment.
18674 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18675 ($(objpfx)x%.stmp): Likewise.
18676 * sunrpc/proto.h [IS_IN_build] (_): Define.
18677 [IS_IN_build] (_libc_intl_domainname): Likewise.
18678
c8c59454
L
186792012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18680
18681 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18682 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18683 and R_X86_64_TPOFF64.
18684
6f27cd16
JM
186852012-05-10 Joseph Myers <joseph@codesourcery.com>
18686
18687 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18688 sysdeps/unix/sysv/syscalls.list.
18689 (stime): Likewise.
18690 (utime): Likewise.
18691 * sysdeps/unix/sysv/syscalls.list: Remove file.
18692
02467e1c
PE
186932012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18694
18695 [BZ #3440]
18696 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18697 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18698 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18699 (__LC_IDENTIFICATION): Make these macros useful in #if
18700 expressions, as required by C99.
18701
da392631
AS
187022012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18703
18704 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18705 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18706 after this.
18707
8115f29b
L
187082012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18709
18710 * stdlib/longlong.h: Updated from GCC.
18711
bdd74070
AJ
187122012-05-09 Andreas Jaeger <aj@suse.de>
18713
edfe0dbe
AJ
18714 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18715 default is first entry.
18716 (run_mode): Set type.
18717 (main): Remove informal message about syslog.
18718 (options): Fix typo.
18719
bcfe3a54
ST
18720 [BZ #14053]
18721 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 18722 to asm.
bcfe3a54
ST
18723 (lrint): Likewise.
18724 (llrintf): Likewise.
18725 (llrint): Likewise.
18726 (rint): Likewise.
18727 (rintf): Likewise.
18728 (nearbyint): Likewise.
18729 (nearbyintf): Likewise.
bdd74070 18730
91d8d69e
AJ
187312012-05-09 Andreas Jaeger <aj@suse.de>
18732 Pedro Alves <palves@redhat.com>
18733
18734 * nscd/nscd.c (run_mode): Use enum.
18735 (main): Cleanup coding style issue.
18736
bb90b80b
AJ
187372012-05-09 Alexandre Oliva <aoliva@redhat.com>
18738 Andreas Jaeger <aj@suse.de>
18739
bcfe3a54
ST
18740 * nscd/nscd.c (go_background): Replaced with...
18741 (run_mode): ... this.
bb90b80b 18742 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
18743 (options): Add -F --foreground.
18744 (main): Implement it.
18745 (parse_opt): Parse it.
bb90b80b 18746
1a4b75a1
AJ
187472012-05-09 Andreas Jaeger <aj@suse.de>
18748
18749 [BZ #14083]
18750 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18751 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18752 -Wconversion warning.
18753 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18754 Likewise.
18755
b1cc2472
JM
187562012-05-09 Joseph Myers <joseph@codesourcery.com>
18757
18758 * conform/data/locale.h-data (NULL): Use macro-constant. Require
18759 == 0.
18760 (LC_ALL): Use macro-int-constant.
18761 (LC_COLLATE): Likewise.
18762 (LC_CTYPE): Likewise.
18763 (LC_MESSAGES): Likewise.
18764 (LC_MONETARY): Likewise.
18765 (LC_NUMERIC): Likewise.
18766 (LC_TIME): Likewise.
18767 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18768 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18769 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18770 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18771 Specify type.
18772 [C99-based standards] (float_t): Expect type.
18773 [C99-based standards] (double_t): Expect type.
18774 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
18775 type.
18776 [C99-based standards] (HUGE_VALL): Likewise.
18777 [C99-based standards] (INFINITY): Likewise.
18778 [C99-based standards] (NAN): Likewise.
18779 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18780 [C99-based standards] (FP_NAN): Likewise.
18781 [C99-based standards] (FP_NORMAL): Likewise.
18782 [C99-based standards] (FP_SUBNORMAL): Likewise.
18783 [C99-based standards] (FP_ZERO): Likewise.
18784 [C99-based standards] (FP_FAST_FMA): Use
18785 optional-macro-int-constant. Specify type. Require == 1.
18786 [C99-based standards] (FP_FAST_FMAF): Likewise.
18787 [C99-based standards] (FP_FAST_FMAL): Likewise.
18788 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18789 [C99-based standards] (FP_ILOGBNAN): Likewise.
18790 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18791 Specify type.
18792 [C99-based standards] (MATH_ERREXCEPT): Likewise.
18793 [C99-based standards] (math_errhandling): Specify type.
18794 [ISO99 || ISO11] (signgam): Do not allow.
18795 [non-C99-based standards] (copysignf): Do not allow.
18796 [non-C99-based standards] (exp2f): Likewise.
18797 [non-C99-based standards] (log2f): Likewise.
18798 [non-C99-based standards] (modff): Allow.
18799 [non-C99-based standards] (erff): Do not allow.
18800 [non-C99-based standards] (erfcf): Likewise.
18801 [non-C99-based standards] (gammaf): Likewise.
18802 [non-C99-based standards] (hypotf): Likewise.
18803 [non-C99-based standards] (j0f): Likewise.
18804 [non-C99-based standards] (j1f): Likewise.
18805 [non-C99-based standards] (jnf): Likewise.
18806 [non-C99-based standards] (lgammaf): Likewise.
18807 [non-C99-based standards] (tgammaf): Likewise.
18808 [non-C99-based standards] (y0f): Likewise.
18809 [non-C99-based standards] (y1f): Likewise.
18810 [non-C99-based standards] (ynf): Likewise.
18811 [non-C99-based standards] (isnanf): Likewise.
18812 [non-C99-based standards] (acoshf): Likewise.
18813 [non-C99-based standards] (asinhf): Likewise.
18814 [non-C99-based standards] (atanhf): Likewise.
18815 [non-C99-based standards] (cbrtf): Likewise.
18816 [non-C99-based standards] (expm1f): Likewise.
18817 [non-C99-based standards] (ilogbf): Likewise.
18818 [non-C99-based standards] (log1pf): Likewise.
18819 [non-C99-based standards] (logbf): Likewise.
18820 [non-C99-based standards] (nextafterf): Likewise.
18821 [non-C99-based standards] (remainderf): Likewise.
18822 [non-C99-based standards] (rintf): Likewise.
18823 [non-C99-based standards] (scalbf): Likewise.
18824 [non-C99-based standards] (copysignl): Likewise.
18825 [non-C99-based standards] (exp2l): Likewise.
18826 [non-C99-based standards] (log2l): Likewise.
18827 [non-C99-based standards] (modfl): Allow.
18828 [non-C99-based standards] (erfl): Do not allow.
18829 [non-C99-based standards] (erfcl): Likewise.
18830 [non-C99-based standards] (gammal): Likewise.
18831 [non-C99-based standards] (hypotl): Likewise.
18832 [non-C99-based standards] (j0l): Likewise.
18833 [non-C99-based standards] (j1l): Likewise.
18834 [non-C99-based standards] (jnl): Likewise.
18835 [non-C99-based standards] (lgammal): Likewise.
18836 [non-C99-based standards] (tgammal): Likewise.
18837 [non-C99-based standards] (y0l): Likewise.
18838 [non-C99-based standards] (y1l): Likewise.
18839 [non-C99-based standards] (ynl): Likewise.
18840 [non-C99-based standards] (isnanl): Likewise.
18841 [non-C99-based standards] (acoshl): Likewise.
18842 [non-C99-based standards] (asinhl): Likewise.
18843 [non-C99-based standards] (atanhl): Likewise.
18844 [non-C99-based standards] (cbrtl): Likewise.
18845 [non-C99-based standards] (expm1l): Likewise.
18846 [non-C99-based standards] (ilogbl): Likewise.
18847 [non-C99-based standards] (log1pl): Likewise.
18848 [non-C99-based standards] (logbl): Likewise.
18849 [non-C99-based standards] (nextafterl): Likewise.
18850 [non-C99-based standards] (remainderl): Likewise.
18851 [non-C99-based standards] (rintl): Likewise.
18852 [non-C99-based standards] (scalbl): Likewise.
18853 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18854 [non-C99-based standards] (FP_*): Do not allow.
18855 [C99-based standards] (FP_*): Change to
18856 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18857 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18858 allow.
18859 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18860 (SIG_ERR): Likewise.
18861 [X/Open-based standards] (SIG_HOLD): Likewise.
18862 (SIG_IGN): Likewise.
18863 (SIGABRT): Use macro-int-constant. Specify type. Require
18864 positive value.
18865 (SIGFPE): Likewise.
18866 (SIGILL): Likewise.
18867 (SIGINT): Likewise.
18868 (SIGSEGV): Likewise.
18869 (SIGTER): Likewise.
18870 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18871 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18872 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18873 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18874 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18875 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18876 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18877 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18878 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18879 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18880 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18881 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18882 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18883 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18884 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18885 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18886 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18887 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18888 [X/Open-based standards] (SIGTRAP): Likewise.
18889 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18890 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18891 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18892 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18893 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18894 allow.
18895
b9f1922d
IW
188962012-05-08 Ian Wienand <ianw@vmware.com>
18897
18898 [BZ #14080]
18899 * time/tzset.c (__tzset_parse_tz): Update default rules for
18900 daylight time changes in the Energy Policy Act of 2005.
18901
1db86e88
AJ
189022012-05-09 Andreas Jaeger <aj@suse.de>
18903
18904 [BZ #13983]
18905 * elf/ldconfig.c (parse_conf): Change string to make clear that
18906 ldconfig only issued a warning if ld.so.conf does not exist.
18907
dee4a4e3
DM
189082012-05-08 David S. Miller <davem@davemloft.net>
18909
ee0db190
DM
18910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18911 movxtod instead of popping the value on the stack.
18912
dee4a4e3
DM
18913 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18914
6a43ec98
CD
189152012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
18916
18917 * config.h.in: Add HAVE_ARM_PCS_VFP.
18918
05c2c961
RMG
189192012-05-08 Roland Mc Grath <roland@hack.frob.com>
18920
bcfe3a54
ST
18921 [BZ #13979]
18922 * include/features.h: Warn if user requests __FORTIFY_SOURCE
18923 checking but the checks are disabled for any reason.
05c2c961 18924
4b30f61a
L
189252012-05-08 H.J. Lu <hongjiu.lu@intel.com>
18926
18927 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18928 and ELF64_R_TYPE with ELFW(R_TYPE).
18929
eee2bc67
JM
189302012-05-08 Joseph Myers <joseph@codesourcery.com>
18931
7ea5391a
JM
18932 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18933 (ulimit): Likewise.
18934
eee2bc67
JM
18935 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18936 (settimeofday): Likewise.
18937
abb66a67
MF
189382012-05-08 Mike Frysinger <vapier@gentoo.org>
18939
18940 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
18941 a struct th_u2 inside the union, and move tu_block/tu_code into
18942 a new th_u3 union of tu_block/tu_code inside of that. Move
18943 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
18944 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
18945 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18946 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18947 (th_stuff): Change to th_u1.tu_stuff.
18948 (th_data): Define.
18949 (th_msg): Change to th_u1.th_u2.tu_data.
18950
7f18b530
DM
189512012-05-07 David S. Miller <davem@davemloft.net>
18952
05760585
DM
18953 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18954
7f18b530
DM
18955 [BZ #14074]
18956 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18957 (SETUP_PIC_REG): Use it.
18958 (SETUP_PIC_REG_LEAF): Use it.
18959
495fd99f
JM
189602012-05-07 Joseph Myers <joseph@codesourcery.com>
18961
18962 [BZ #13885]
18963 [BZ #13923]
18964 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18965 USE_AS_EXPM1L.
18966 (EXPL_FINITE): Likewise.
18967 (FLDLOG): Likewise.
18968 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18969 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18970 e_expl.S.
18971 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18972 USE_AS_EXPM1L.
18973 (EXPL_FINITE): Likewise.
18974 (FLDLOG): Likewise.
18975 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18976 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18977 e_expl.S.
18978 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
18979 test of -max_value argument for long double.
18980 * sysdeps/i386/fpu/libm-test-ulps: Update.
18981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18982
6693d694
DM
189832012-05-06 David S. Miller <davem@davemloft.net>
18984
18985 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18986 quad soft-float symbols whose references which are compiler
18987 generated.
18988 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18989
6c23e11c
JM
189902012-05-06 Joseph Myers <joseph@codesourcery.com>
18991
d8b82cad
JM
18992 [BZ #13884]
18993 [BZ #13914]
18994 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18995 USE_AS_EXP10L.
18996 (EXPL_FINITE): Likewise.
18997 (FLDLOG): Likewise.
18998 (c0): Likewise.
18999 (c1): Likewise.
19000 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19001 Adjust comments for base varying.
19002 (__expl_finite): Change alias to EXPL_FINITE.
19003 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19004 e_expl.S.
19005 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19006 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19007 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19008 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19009 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19010 USE_AS_EXP10L.
19011 (EXPL_FINITE): Likewise.
19012 (FLDLOG): Likewise.
19013 (c0): Likewise.
19014 (c1): Likewise.
19015 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19016 Adjust comments for base varying.
19017 (__expl_finite): Change alias to EXPL_FINITE.
19018 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19019 tests for bugs.
19020 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19021
6c23e11c
JM
19022 [BZ #14064]
19023 * math/libm-test.inc (check_float_internal): Correct ulp
19024 calculation for subnormal expected results.
19025
29ba805c
AJ
190262012-05-06 Andreas Jaeger <aj@suse.de>
19027
19028 * Makeconfig (+math-flags): New, set to -frounding-math.
19029 (+cflags): Add +math-flags so that all of glibc gets compiled with
19030 it.
19031
19032 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19033
7b17aeda
JM
190342012-05-05 Joseph Myers <joseph@codesourcery.com>
19035
5779f134
JM
19036 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19037 Disable one test.
19038
41498f4d
JM
19039 [BZ #13787]
19040 [BZ #13922]
19041 [BZ #14036]
19042 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19043 (__ieee754_expl): Allow for and saturate large arguments.
19044 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19045 (u_threshold): Likewise.
19046 (__exp): Call __ieee754_exp before checking for overflow and
19047 underflow.
19048 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19049 (u_threshold): Likewise.
19050 (__expf): Call __ieee754_expf before checking for overflow and
19051 underflow.
19052 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19053 (u_threshold): Likewise.
19054 (__expl): Call __ieee754_expl before checking for overflow and
19055 underflow.
19056 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19057 (__ieee754_expl): Allow for and saturate large arguments.
19058 * math/libm-test.inc (exp_test): Add another test. Do not allow
19059 missing overflow exception on overflow.
19060 (expm1_test): Do not allow missing overflow exception on overflow.
19061
6698b8bf
JM
19062 * sysdeps/i386/fpu/e_expl.c: Move to ...
19063 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19064 rather than using inline asm.
19065 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19066 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19067 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19068
7b17aeda
JM
19069 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19070 (nice): Likewise.
19071 (poll): Likewise.
19072 (signal): Likewise.
19073 (time): Likewise.
19074 (times): Likewise.
19075
f7c85819
JM
190762012-05-04 Joseph Myers <joseph@codesourcery.com>
19077
19078 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19079 sysdeps/unix/common/syscalls.list.
19080 (fchmod): Likewise.
19081 (fchown): Likewise.
19082 (ftruncate): Likewise.
19083 (getrusage): Likewise.
19084 (gettimeofday): Likewise.
19085 (setpgid): Likewise.
19086 (setregid): Likewise.
19087 (setreuid): Likewise.
19088 (sigaction): Likewise.
19089 (truncate): Likewise.
19090 (vhangup): Likewise.
19091 * sysdeps/unix/common/syscalls.list: Remove file.
19092 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19093 * sysdeps/unix/sysv/linux/Implies: Likewise.
19094
336270d0
L
190952012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19096
19097 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19098 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19099 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19100 Moved to ...
19101 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19102 Here.
19103 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19104 to ...
19105 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19106 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19107 to ...
19108 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19109 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19110 to ...
19111 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19112 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19113 to ...
19114 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19115 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19116 to ...
19117 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19118 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19119 to ...
19120 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19121 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19122 to ...
19123 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19124 Here.
19125 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19126 to ...
19127 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19128 Here.
19129 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19130 to ...
19131 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19132 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19133 Moved to ...
19134 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19135 Here.
19136 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19137 to ...
19138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19139
d128e450
JM
191402012-05-04 Joseph Myers <joseph@codesourcery.com>
19141
fa8ee516
JM
19142 * sysdeps/unix/common/bits/dirent.h: Remove file.
19143 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19144
d128e450
JM
19145 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19146 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19147 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19148 * sysdeps/unix/bsd/isatty.c: Likewise.
19149 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19150 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19151 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19152
ff8faaf0 191532012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 19154
62881be4 19155 [BZ #13563]
31dc8730
AZ
19156 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19157 long double comparison inaccuracies.
19158 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19159 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19160
6fef930c
AS
191612012-05-04 Andreas Schwab <schwab@linux-m68k.org>
19162
19163 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19164 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19165
8f203e6c
JM
191662012-05-04 Joseph Myers <joseph@codesourcery.com>
19167
19168 [BZ #14049]
19169 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19170 nonzero digits before rounding a hex value.
19171 * stdlib/tst-strtod.c (tests): Add another test.
19172
5197d9c2
AK
191732012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19174
19175 * sysdeps/s390/fpu/libm-test-ulps: Update.
19176
f0c1dedf
AJ
191772012-05-03 Andreas Jaeger <aj@suse.de>
19178
19179 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19180 does not get optimized out.
19181 (malloc_opt_barrier): New.
19182
a65ef2ae 191832012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 19184 Roland McGrath <roland@hack.frob.com>
a65ef2ae 19185
2b942cb7 19186 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 19187 intermediate file deletion.
2b942cb7 19188 (generated): Add .symlist files.
a65ef2ae 19189
54b71e02
JM
191902012-05-03 Joseph Myers <joseph@codesourcery.com>
19191
19192 [BZ #13775]
19193 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19194 Redirect under this condition.
19195 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19196 [__USE_GNU] (__dprintf_chk): Not under this condition.
19197 [__USE_GNU] (__vdprintf_chk): Likewise.
19198 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19199 under this condition.
19200 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19201 [__USE_XOPEN2K8] (dprintf): Define under this condition.
19202 [__USE_XOPEN2K8] (vdprintf): Likewise.
19203 [__USE_GNU] (__dprintf_chk): Not under this condition.
19204 [__USE_GNU] (__vdprintf_chk): Likewise.
19205 [__USE_GNU] (dprintf): Likewise.
19206 [__USE_GNU] (vdprintf): Likewise.
19207
d3dfcc41
RM
192082012-05-03 Roland McGrath <roland@hack.frob.com>
19209
19210 * elf/Makefile (common-generated): Set this instead of generated for
19211 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
19212 $(all-built-dso)-derived lists.
19213
7ac30cc5
AJ
192142012-05-03 Andreas Jaeger <aj@suse.de>
19215
0c51e550
AJ
19216 * sysdeps/i386/fpu/libm-test-ulps: Update.
19217
7ac30cc5
AJ
19218 * FAQ: Removed.
19219 * FAQ.in: Likewise.
19220 * scripts/gen-FAQ.pl: Likewise.
19221 * manual/install.texi (Installation): Point to online location of
19222 FAQ.
19223 * Makefile (files-for-dist): Remove FAQ.
19224 (FAQ): Remove.
19225
d4c2917f
AM
192262012-05-02 Allan McRae <allan@archlinux.org>
19227
19228 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19229 (LDFLAGS-reldepmod5.so): Likewise.
19230 (LDFLAGS-reldep6mod1.so): Likewise.
19231 (LDFLAGS-reldep6mod4.so): Likewise.
19232 (LDFLAGS-reldep8mod3.so): Likewise.
19233 (LDFLAGS-unload4mod1.so): Likewise.
19234 (LDFLAGS-unload4mod2.so): Likewise.
19235 (LDFLAGS-tst-initorder): Likewise.
19236 (LDFLAGS-tst-initordera2.so): Likewise.
19237 (LDFLAGS-tst-initordera3.so): Likewise.
19238 (LDFLAGS-tst-initordera4.so): Likewise.
19239 (LDFLAGS-tst-initorderb2.so): Likewise.
19240 (LDFLAGS-noload): Likewise.
19241 (LDFLAGS-next): Likewise.
19242 (LDFLAGS-order2mod1.so): Likewise.
19243 (LDFLAGS-order2mod2.so): Likewise.
19244 (LDFLAGS-tst-initorder2): Likewise.
19245 (LDFLAGS-tst-initorder2a.so): Likewise.
19246 (LDFLAGS-tst-initorder2b.so): Likewise.
19247 (LDFLAGS-tst-initorder2c.so): Likewise.
19248 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19249
d77f993f
DM
192502012-05-02 David S. Miller <davem@davemloft.net>
19251
19252 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19253
171a70b4
PP
192542012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
19255
19256 [BZ #14055]
19257 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19258
0be196ad
AJ
192592012-05-02 Andreas Jaeger <aj@suse.de>
19260
19261 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19262 since we manipulate rounding mode.
19263 (CPPFLAGS-test-idouble.c): Likewise.
19264 (CPPFLAGS-test-ifloat.c): Likewise.
19265 (CFLAGS-test-ldouble.c): Likewise.
19266 (CFLAGS-test-double.c): Likewise.
19267 (CFLAGS-test-float.c): Likewise.
19268 (CFLAGS-test-misc.c): Likewise.
19269 (CFLAGS-test-test-fenv.c): Likewise.
19270
4f9d04aa
AZ
192712012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19272
2b942cb7
RM
19273 [BZ #2550]
19274 [BZ #2570]
19275 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19276 comparisons to determine direction to adjust input.
4f9d04aa 19277
82a79e7d
RM
192782012-05-01 Roland McGrath <roland@hack.frob.com>
19279
f5a01ca9
RM
19280 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19281 output to the target.
19282
90fe4186
RM
19283 * scripts/localplt.awk: New file.
19284 * elf/Makefile ($(objpfx)check-localplt): Target removed.
19285 (check-localplt-CFLAGS): Variable removed.
19286 ($(all-built-dso:=.jmprel)): New static pattern rule.
19287 (generated): Add those targets.
19288 (localplt-built-dso): New variable.
19289 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19290
19291 * elf/check-localplt.c: File removed.
19292
82397ed6
RM
19293 * scripts/check-execstack.awk: New file.
19294 * elf/Makefile ($(objpfx)check-execstack): Target removed.
19295 (check-execstack-CFLAGS): Variable removed.
19296 ($(objpfx)check-execstack.h): Target removed.
19297 ($(objpfx)execstack-default): New target.
19298 (generated): Add that instead of check-execstack.h.
19299 ($(all-built-dso:=.phdr)): New static pattern rule.
19300 (generated): Add those targets.
19301 * elf/check-execstack.c: File removed.
19302
82a79e7d
RM
19303 * scripts/check-textrel.awk: New file.
19304 * elf/Makefile ($(objpfx)check-textrel): Target removed.
19305 (check-textrel-CFLAGS): Variable removed.
19306 (all-built-dso): Use := to define.o
19307 ($(all-built-dso:=.dyn)): New static pattern rule.
19308 (generated): Add those targets.
19309 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19310 * config.make.in (READELF): New substituted variable.
19311 * elf/check-textrel.c: File removed.
19312
62fde54f 193132012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 19314
615605c9
JM
19315 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19316 allow.
19317 * conform/data/ctype.h-data [C99-based standards] (isblank):
19318 Expect function.
19319 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19320 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19321 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19322 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19323 Specify type. Require positive value.
19324 (EILSEQ): Likewise.
19325 (ERANGE): Likewise.
19326 [ISO || POSIX] (EILSEQ): Do not expect.
19327 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19328 Specify type. Require positive value.
19329 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19330 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19331 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19332 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19333 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19334 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19335 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19336 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19337 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19338 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19339 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19340 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19341 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19342 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19343 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19344 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19345 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19346 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19347 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19348 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19349 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19350 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19351 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19352 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19353 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19354 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19355 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19356 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19357 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19358 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19359 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19360 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19361 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19362 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19363 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19364 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19365 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19366 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19367 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19368 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19369 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19370 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19371 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19372 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19373 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19374 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19375 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19376 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19377 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19378 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19379 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19380 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19381 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19382 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19383 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19384 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19385 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19386 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19387 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19388 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19389 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19390 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19391 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19392 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19393 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19394 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19395 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19396 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19397 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19398 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19399 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19400 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19401 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19402 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19403 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19404 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19405 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19406 Require >= 2.
19407 (FLT_ROUNDS): Expect as macro, not constant.
19408 (FLT_MANT_DIG): Use macro-int-constant.
19409 (DBL_MANT_DIG): Likewise.
19410 (LDBL_MANT_DIG): Likewise.
19411 (FLT_DIG): Likewise.
19412 (DBL_DIG): Likewise.
19413 (LDBL_DIG): Likewise.
19414 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
19415 (DBL_MIN_EXP): Likewise.
19416 (LDBL_MIN_EXP): Likewise.
19417 (FLT_MAX_EXP): Use macro-int-constant.
19418 (DBL_MAX_EXP): Likewise.
19419 (LDBL_MAX_EXP): Likewise.
19420 (FLT_MAX_10_EXP): Likewise.
19421 (DBL_MAX_10_EXP): Likewise.
19422 (LDBL_MAX_10_EXP): Likewise.
19423 (FLT_MAX): Use macro-constant.
19424 (DBL_MAX): Likewise.
19425 (LDBL_MAX): Likewise.
19426 (FLT_EPSILON): Use macro-constant. Give upper bound.
19427 (DBL_EPSILON): Likewise.
19428 (LDBL_EPSILON): Likewise.
19429 (FLT_MIN): Likewise.
19430 (DBL_MIN): Likewise.
19431 (LDBL_MIN): Likewise.
19432 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19433 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19434 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19435 [ISO11] (FLT_HAS_SUBNORM): Likewise.
19436 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19437 [ISO11] (DBL_DECIMAL_DIG): Likewise.
19438 [ISO11] (FLT_DECIMAL_DIG): Likewise.
19439 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19440 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19441 [ISO11] (FLT_TRUE_MIN): Likewise.
19442 [ISO11] (LDBL_TRUE_MIN): Likewise.
19443 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19444 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19445 (SCHAR_MIN): Use macro-int-constant. Specify type.
19446 (SCHAR_MAX): Likewise.
19447 (UCHAR_MAX): Likewise.
19448 (CHAR_MIN): Likewise.
19449 (CHAR_MAX): Likewise.
19450 (MB_LEN_MAX): Use macro-int-constant.
19451 (SHRT_MIN): Use macro-int-constant. Specify type.
19452 (SHRT_MAX): Likewise.
19453 (USHRT_MAX): Likewise.
19454 (INT_MAX): Likewise.
19455 (INT_MIN): Use macro-int-constant. Specify type. Make upper
19456 bound negative.
19457 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
19458 bound with "U".
19459 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19460 bound with "L".
19461 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
19462 bound negative. Suffix upper bound with "L".
19463 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19464 bound with "UL".
19465 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19466 Specify type.
19467 [C99-based standards] (LLONG_MAX): Likewise.
19468 [C99-based standards] (ULLONG_MAX): Likewise.
19469 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
19470 == 0.
19471 [ISO11] (max_align_t): Require type.
19472 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19473
c9140a62
JM
19474 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19475 from $CFLAGS, without defining away __attribute__ calls.
19476 (checknamespace): Use $CFLAGS_namespace.
19477
9af0bf29
JM
19478 * conform/conformtest.pl (@keywords): Only include C99 keywords
19479 for standards based on C99 or C11.
19480
343222a2
JM
19481 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19482 Disable tests.
19483 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19484 UNIX98]: Likewise.
19485
661f8cf0
JM
19486 * conform/conformtest.pl: Handle "macro-int-constant" and test for
19487 usability of symbols in #if.
19488
ee74b9cb
JM
19489 * conform/conformtest.pl: If macro or constant types start
19490 "promoted:", expect the symbol to be of the following type
19491 promoted by the integer promotions.
62fde54f 19492
aafc49b3
JM
19493 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19494 in one place. Also handle "macro-constant".
19495
fefdf574
JM
19496 * conform/conformtest.pl: Only accept expected macro values with
19497 "==". Parse all "macro" lines in one place.
19498 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19499
f2d922fe
JM
19500 * conform/conformtest.pl: Handle braced types on "constant" lines
19501 instead of handling "typed-constant".
19502 * conform/data/signal.h-data: Use "constant" instead of
19503 "typed-constant".
19504
d22956c9
JM
19505 * conform/conformtest.pl: Handle "optional-" at start of lines in
19506 one place rather than duplicating several cases. Handle each
19507 format of "macro" line with initial "optional-".
19508
028e2e38
JM
19509 * conform/conformtest.pl: Only accept expected constant or
19510 optional-constant values with "==". Parse all "constant" lines in
19511 one place. Parse all "optional-constant" lines in one place.
19512 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19513 * conform/data/fmtmsg.h-data: Likewise.
19514 * conform/data/netinet/in.h-data: Likewise.
19515 * conform/data/tar.h-data: Likewise.
19516 * conform/data/limits.h-data: Use "==" form on "constant" and
19517 "optional-constant" lines.
19518
1b8f2850
JM
19519 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19520 Use -std=c99 for XOPEN2K.
19521 (@knownproblems): Remove.
19522 (newtoken): Don't check %isknown.
19523
a05a144b
JM
19524 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19525 Do not expect macro.
19526 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19527 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19528 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19529 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19530 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19531 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19532 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19533 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19534 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19535 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19536 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19537 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19538 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19539 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19540 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19541 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19542 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19543 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19544 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19545 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19546 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19547 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19548 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19549 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19550 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19551 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19552 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19553 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19554 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19555 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19556 [XPG3] (acosh): Likewise.
19557 [XPG3] (asinh): Likewise.
19558 [XPG3] (atanh): Likewise.
19559 [XPG3] (cbrt): Likewise.
19560 [XPG3] (expm1): Likewise.
19561 [XPG3] (ilogb): Likewise.
19562 [XPG3] (log1p): Likewise.
19563 [XPG3] (logb): Likewise.
19564 [XPG3] (nextafter): Likewise.
19565 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19566 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19567 [XPG3] (remainder): Likewise.
19568 [XPG3] (rint): Likewise.
19569 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19570 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19571 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19572 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19573 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19574 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19575 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19576 [UNIX98 || XOPEN2K] (scalb): Expect.
19577 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19578 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19579 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19580 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19581 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19582 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19583 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19584 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19585 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19586 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19587 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19588 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19589 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19590 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19591 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19592 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19593 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19594 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19595 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19596 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19597 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19598 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19599 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19600 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19601 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19602 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19603 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19604 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19605 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19606 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19607 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19608 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19609 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19610 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19611 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19612 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19613 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19614 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19615 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19616 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19617 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19618 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19619 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19620 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19621 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19622 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19623 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19624 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19625 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19626 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19627 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19628 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19629 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19630 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19631 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19632 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19633 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19634 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19635 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19636 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19637 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19638 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19639 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19640 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19641 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19642 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19643 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19644 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19645 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19646 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19647 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19648 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19649 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19650 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19651 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19652 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19653 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19654 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19655 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19656 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19657 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19658 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19659 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19660 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19661 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19662 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19663 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19664 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19665 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19666 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19667 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19668 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19669 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19670 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19671 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19672 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19673 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19674 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19675 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19676 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19677 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19678 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19679 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19680 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19681 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19682 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19683 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19684 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19685 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19686 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19687 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19688 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19689 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19690 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19691 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19692 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19693 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19694 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19695 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19696 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19697 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19698 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19699 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19700 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19701 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19702 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19703 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19704 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19705 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19706 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19707 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19708 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19709 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19710 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19711 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19712 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19713 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19714
73c5ebe3
JM
19715 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19716 _XOPEN_SOURCE_EXTENDED for XPG4.
19717
39c33b6c
JM
19718 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19719
62fde54f
JM
19720 * Makeconfig (localtime): Remove variable.
19721 (inst_localtime-file): Likewise.
19722
0741d64c
AS
197232012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19724
19725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19726 Update.
19727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19728 Update.
19729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19730 Update.
19731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19732 Update.
19733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19734 Update.
19735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19736 Update.
19737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19738 Update.
19739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19740 Update.
19741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19742 Update.
19743
7cb029ee
JM
197442012-05-01 Joseph Myers <joseph@codesourcery.com>
19745
19746 [BZ #2550]
19747 [BZ #2570]
19748 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19749 comparisons to determine direction to adjust input.
19750 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19751 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19752 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19753 Likewise.
19754 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19755 Likewise.
19756 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19757 Likewise.
19758 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19759 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19760 Likewise.
19761 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19762 Likewise.
19763 * math/libm-test.inc (nexttoward_test): Add more tests.
19764
412bd966
AS
197652012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19766
19767 [BZ #14040]
19768 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19769 in version GLIBC_2.1, not GLIBC_2.0.
19770 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19771 Likewise.
19772
9568c0c2
JM
197732012-04-30 Joseph Myers <joseph@codesourcery.com>
19774
adfbc8ac
JM
19775 [BZ #13942]
19776 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19777 (1 - x) * (1 + x).
19778 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19779 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19780 * math/libm-test.inc (acos_test): Add more tests.
19781 (asin_test): Likewise.
19782 * sysdeps/i386/fpu/libm-test-ulps: Update.
19783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19784
5ba3cc69
JM
19785 [BZ #14034]
19786 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19787 of square root.
19788 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19789 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19790 * math/libm-test.inc (acos_test_tonearest): New function.
19791 (acos_test_towardzero): Likewise.
19792 (acos_test_downward): Likewise.
19793 (acos_test_upward): Likewise.
19794 (asin_test_tonearest): Likewise.
19795 (asin_test_towardzero): Likewise.
19796 (asin_test_downward): Likewise.
19797 (asin_test_upward): Likewise.
19798 (main): Call the new functions.
19799 * sysdeps/i386/fpu/libm-test-ulps: Update.
19800 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19801
9568c0c2
JM
19802 [BZ #13884]
19803 [BZ #13924]
19804 * math/e_exp10.c: Include <float.h>.
19805 (__ieee754_exp10): Handle underflow here rather than multiplying
19806 large negative argument by M_LN10.
19807 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19808 of __ieee754_expf.
19809 * math/e_exp10l.c: Include <float.h>.
19810 (__ieee754_exp10l): Handle underflow here rather than multiplying
19811 large negative argument by M_LN10l.
19812 * math/libm-test.inc (exp10_test): Add another test. Do not allow
19813 spurious overflow exception on underflow.
19814
5ac3ea17
MP
198152012-04-29 Marek Polacek <polacek@redhat.com>
19816
19817 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19818 (__fortify_function): New macro.
19819 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19820 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19821 __extern_always_inline.
19822 * libio/bits/stdio2.h: Likewise.
19823 * libio/bits/stdio.h: Likewise.
19824 * string/string.h: Likewise.
19825 * string/bits/string3.h: Likewise.
19826 * include/stdio.h: Likewise.
19827 * stdlib/bits/stdlib.h: Likewise.
19828 * stdlib/stdlib.h: Likewise.
19829 * rt/bits/mqueue2.h: Likewise.
19830 * rt/mqueue.h: Likewise.
19831 * posix/bits/unistd.h: Likewise.
19832 * posix/unistd.h: Likewise.
19833 * io/bits/poll2.h: Likewise.
19834 * io/bits/fcntl2.h: Likewise.
19835 * io/fcntl.h: Likewise.
19836 * io/sys/poll.h: Likewise.
19837 * misc/bits/syslog.h: Likewise.
19838 * misc/bits/syslog-ldbl.h: Likewise.
19839 * misc/sys/syslog.h: Likewise.
19840 * socket/bits/socket2.h: Likewise.
19841 * socket/sys/socket.h: Likewise.
19842 * debug/tst-chk1.c: Likewise.
19843 * wcsmbs/bits/wchar2.h: Likewise.
19844 * wcsmbs/bits/wchar-ldbl.h: Likewise.
19845 * wcsmbs/wchar.h: Likewise.
19846
ecf0ebfb
AJ
198472012-04-29 Andreas Jaeger <aj@suse.de>
19848
19849 * Makerules (tests): Remove enable-check-abi protection.
19850 (check-abi-warn): Remove.
19851 (check-abi-%): Remove check-abi-warn usage.
19852
19853 * configure.in: Remove check-abi configure option.
19854 * configure: Regenerated.
19855 * config.make.in (enable-check-abi): Remove.
19856
6d5c57fa
AS
198572012-04-28 Andreas Schwab <schwab@linux-m68k.org>
19858
24c5d07e 19859 [BZ #14033]
ded5180a
AS
19860 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19861 double functions to double *_finite functions.
19862
7e0d315d
AS
19863 [BZ #13941]
19864 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19865 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19866 LDBL_MIN_EXP.
19867 * stdio-common/Makefile (tests): Add tst-sprintf3.
19868 * stdio-common/tst-sprintf3.c: New file.
19869
6d5c57fa
AS
19870 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19871 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19872
0749ff8b
JM
198732012-04-28 Joseph Myers <joseph@codesourcery.com>
19874
19875 * conform/conformtest.pl: Remove duplicate typed-constant
19876 handling.
19877
8dbd5d7b
DM
198782012-04-28 David S. Miller <davem@davemloft.net>
19879
19880 * Makerules (%.abilist): Add vpath on sysdep_dirs.
19881 (check-abi-%): Remove AWK script prerequisite and explicit
19882 abilist directory.
19883 (check-abi): Rewrite to just diff the symlist with the abilist.
19884 (config-tls, config-abi-config): Delete, no longer used.
19885 (update-abi-%): Remove AWK script and explicit abilist directory.
19886 (update-abi): Rewrite to simply compare and conditionally copy the
19887 symlist and the sysdep abilist file. Remove update-abi-config
19888 checks.
19889 * abilist/ld.abilist: Remove.
19890 * abilist/libBrokenLocale.abilist: Remove.
19891 * abilist/libanl.abilist: Remove.
19892 * abilist/libcrypt.abilist: Remove.
19893 * abilist/libdl.abilist: Remove.
19894 * abilist/librt.abilist: Remove.
19895 * abilist/libthread_db.abilist: Remove.
19896 * abilist/libutil.abilist: Remove.
19897 * scripts/extract-abilist.awk: Remove.
19898 * scripts/merge-abilist.awk: Remove.
19899 * sysdeps/generic/libcidn.abilist: New file.
19900 * sysdeps/generic/libnss_compat.abilist: New file.
19901 * sysdeps/generic/libnss_db.abilist: New file.
19902 * sysdeps/generic/libnss_dns.abilist: New file.
19903 * sysdeps/generic/libnss_files.abilist: New file.
19904 * sysdeps/generic/libnss_hesiod.abilist: New file.
19905 * sysdeps/generic/libnss_nis.abilist: New file.
19906 * sysdeps/generic/libnss_nisplus.abilist: New file.
19907 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19908 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19909 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19910 file.
19911 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19912 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19913 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19914 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19915 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19916 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19917 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19918 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19919 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19920 file.
19921 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19922 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19923 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19924 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19925 file.
19926 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19927 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19928 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19929 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19930 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19931 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19932 file.
19933 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19934 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19935 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19936 file.
19937 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19938 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19939 New file.
19940 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19941 New file.
19942 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19943 New file.
19944 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19945 New file.
19946 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19947 New file.
19948 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19949 New file.
19950 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19951 New file.
19952 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19953 New file.
19954 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19955 New file.
19956 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19957 New file.
19958 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19959 New file.
19960 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19961 New file.
19962 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19963 New file.
19964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19965 file.
19966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19967 New file.
19968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19969 New file.
19970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19971 file.
19972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19973 New file.
19974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19975 New file.
19976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19977 file.
19978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19979 New file.
19980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19981 New file.
19982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19983 New file.
19984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19985 New file.
19986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19987 New file.
19988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19989 New file.
19990 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19991 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19992 file.
19993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19994 New file.
19995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19996 file.
19997 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19998 file.
19999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20000 file.
20001 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20002 file.
20003 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20004 file.
20005 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20006 New file.
20007 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20008 file.
20009 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20010 file.
20011 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20012 New file.
20013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20014 file.
20015 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20016 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20017 file.
20018 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20019 New file.
20020 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20021 file.
20022 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20023 file.
20024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20025 file.
20026 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20027 file.
20028 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20029 file.
20030 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20031 New file.
20032 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20033 file.
20034 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20035 file.
20036 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20037 New file.
20038 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20039 file.
20040 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20041 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20042 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20043 file.
20044 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20045 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20046 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20047 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20048 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20049 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20050 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20051 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20052 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20053 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20054 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20055 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20056 file.
20057 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20058 New file.
20059 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20060 file.
20061 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20062 file.
20063 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20064 file.
20065 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20066 file.
20067 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20068 file.
20069 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20070 New file.
20071 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20072 New file.
20073 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20074 file.
20075 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20076 New file.
20077 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20078 file.
20079 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20080 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20081 file.
20082 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20083 New file.
20084 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20085 file.
20086 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20087 file.
20088 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20089 file.
20090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20091 file.
20092 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20093 file.
20094 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20095 New file.
20096 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20097 New file.
20098 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20099 file.
20100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20101 New file.
20102 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20103 file.
20104
41d73a1b
JM
201052012-04-28 Joseph Myers <joseph@codesourcery.com>
20106
20107 * conform/conformtest.pl: Fix typo in handling typed-constant from
20108 allow-header.
20109
28aeeda4
JM
201102012-04-27 Joseph Myers <joseph@codesourcery.com>
20111
adae8f5e
JM
20112 * README: Cut down references to pre-2.6 Linux kernels and
20113 Linuxthreads. Update lists of configurations in libc and ports
20114 and sort alphabetically. Say "or newer" with Linux kernel version
20115 requirements.
20116
28aeeda4
JM
20117 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20118
a462cb63
RA
201192012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20120
20121 [BZ #887]
20122 * math/libm-test.inc (logb_test_downward): New test to expose
20123 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20124 rounding mode.
20125
6ad3493e
JM
201262012-04-27 Joseph Myers <joseph@codesourcery.com>
20127
20128 [BZ #14027]
20129 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20130 to be done.
20131 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20132 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20133
2ce4f015
JM
201342012-04-26 Joseph Myers <joseph@codesourcery.com>
20135
5aeb141a
JM
20136 * sysdeps/unix/i386/brk.S: Remove file.
20137 * sysdeps/unix/i386/dl-brk.S: Likewise.
20138 * sysdeps/unix/i386/pipe.S: Likewise.
20139 * sysdeps/unix/i386/sigreturn.S: Likewise.
20140 * sysdeps/unix/i386/syscall.S: Likewise.
20141 * sysdeps/unix/i386/vfork.S: Likewise.
20142 * sysdeps/unix/i386/wait.S: Likewise.
20143
7143acae
JM
20144 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20145 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20146
2ce4f015
JM
20147 * configure.in (arm*-none*): Do not allow without
20148 --enable-hacker-mode.
20149 (netbsd*): Remove case setting base_os.
20150 (386bsd*): Likewise.
20151 (freebsd*): Likewise.
20152 (bsdi*): Likewise.
20153 (osf*): Likewise.
20154 (sunos*): Likewise.
20155 (ultrix*): Likewise.
20156 (newsos*): Likewise.
20157 (dynix*): Likewise.
20158 (*bsd*): Likewise.
20159 (sysv*): Likewise.
20160 (isc*): Likewise.
20161 (esix*): Likewise.
20162 (sco*): Likewise.
20163 (minix*): Likewise.
20164 (irix4*): Likewise.
20165 (irix6*): Likewise.
20166 (solaris[2-9]*): Likewise.
20167 (none): Likewise.
20168 * configure: Regenerated.
20169
0ac229c8
AZ
201702012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20171
20172 [BZ #11521]
20173 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20174 overflow or cancellation in calculating denominator.
20175 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20176 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20177 down expression to avoid unexpected rounding in newer GCCs.
20178 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20179
33f244f4
DM
201802012-04-26 David S. Miller <davem@davemloft.net>
20181
20182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20183 long-double compat symbols.
20184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20190 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20197
cfa1f3e8
DM
201982012-04-25 David S. Miller <davem@davemloft.net>
20199
20200 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20201 HWCAP_* values only after the memory barriers have been defined.
20202 (atomic_full_barrier): Define.
20203 (atomic_read_barrier): Define.
20204 (atomic_write_barrier): Define.
20205
6e236b92
SP
202062012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20207
20208 * shlib-versions: Add libgcc_s version information.
20209 * sysdeps/generic/libgcc_s.h: Remove.
20210 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20211 libgcc_s.h.
20212 * sysdeps/gnu/unwind-resume.c: Likewise.
20213 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20214
aab39a09
DM
202152012-04-25 David S. Miller <davem@davemloft.net>
20216
20217 * sysdeps/unix/sparc/brk.S: Delete.
20218 * sysdeps/unix/sparc/dl-brk.S: Delete.
20219 * sysdeps/unix/sparc/pipe.S: Delete.
20220 * sysdeps/unix/sparc/sysdep.S: Delete.
20221 * sysdeps/unix/sparc/sysdep.h: Delete.
20222 * sysdeps/unix/sparc/vfork.S: Delete.
20223 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20224 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20225 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20226 ret_ERRVAL, r0, r1, MOVE): Define.
20227 (JUMPTARGET): Remove.
20228 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20229 sysdeps/unix/sparc/sysdep.h
20230 (ENTRY, END): Remove.
20231 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20232
a3cc4f48
JM
202332012-04-25 Joseph Myers <joseph@codesourcery.com>
20234
2ed8cda2
JM
20235 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20236 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20237 -DIS_IN_build.
20238
35d76d59
JM
20239 * timezone/README: Update upstream location and email address for
20240 tzcode and tzdata.
20241 * timezone/zdump.c: Update from tzcode 2012b.
20242 * timezone/zic.c: Likewise.
20243
a3cc4f48
JM
20244 * configure.in (libc_cv_as_needed): Remove test.
20245 * configure: Regenerated.
20246 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20247 conditional definition.
20248 [$(have-as-needed) != yes] (no-as-needed): Likewise.
20249 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20250 * config.make.in (have-as-needed): Remove variable.
20251
ceab42c3
SP
202522012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20253 Paul Pluzhnikov <ppluzhnikov@google.com>
20254
20255 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20256 strings correctly.
20257
3ce2865f
CLT
202582012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
20259
20260 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20261 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20262 * sysdeps/sh/strlen.S: Likewise.
20263
f37e0d68
JM
202642012-04-24 Joseph Myers <joseph@codesourcery.com>
20265
ae186e9a
JM
20266 * sysdeps/unix/fork.S: Remove file.
20267 * sysdeps/unix/i386/fork.S: Likewise.
20268 * sysdeps/unix/sparc/fork.S: Likewise.
20269
b96914af
JM
20270 * sysdeps/unix/system.c: Remove file.
20271 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20272
f37e0d68
JM
20273 * sysdeps/unix/getegid.S: Remove file.
20274 * sysdeps/unix/geteuid.S: Likewise.
20275
87ef29ca
RM
202762012-04-24 Roland McGrath <roland@hack.frob.com>
20277
83bcd236
RM
20278 * scripts/check-localplt.awk: New file.
20279 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20280 of diff.
20281 * scripts/data/localplt-generic.data: Add a comment.
20282
87ef29ca
RM
20283 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20284 NODE when __dir_mkfile failed.
20285 * sysdeps/mach/hurd/symlinkat.c: Likewise.
20286 Reported by Ludovic Courtès <ludo@gnu.org>.
20287
e5a6e567
AJ
202882012-04-24 Andreas Jaeger <aj@suse.de>
20289
20290 * Makerules (common-clean): Also remove gen-as-const-headers
20291 files.
20292
c1820385
JM
202932012-04-24 Joseph Myers <joseph@codesourcery.com>
20294
20295 * Makerules (native-compile): Do not change working directory for
20296 build. Use $(OUTPUT_OPTION) in command.
20297 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20298
94e02fc4
AZ
202992012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20300
20301 [BZ #13886]
20302 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20303 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20304 * math/libm-test.inc (floor_test): Add more tests.
20305 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20306
3a533ca3
JM
203072012-04-24 Joseph Myers <joseph@codesourcery.com>
20308
940ab4b3
JM
20309 * sysdeps/unix/getdents.c: Remove file.
20310 * sysdeps/unix/sysv/getdents.c: Likewise.
20311 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20312
90e037bd
JM
20313 * sysdeps/unix/syscalls.list (madvise): Add syscall from
20314 sysdeps/unix/mman/syscalls.list.
20315 (mmap): Likewise.
20316 (mprotect): Likewise.
20317 (msync): Likewise.
20318 (munmap): Likewise.
20319 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20320 * sysdeps/unix/mman/syscalls.list: Remove.
20321 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20322
3a533ca3
JM
20323 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20324 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20325 * configure: Regenerated.
20326 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20327 $(libgcc_s_suffix).
20328 * config.make.in (libgcc_s_suffix): Remove variable.
20329
1ad743de
JM
203302012-04-23 Joseph Myers <joseph@codesourcery.com>
20331
4ad451e2
JM
20332 * sysdeps/unix/sysv/gethostname.c: Move to ...
20333 * sysdeps/posix/gethostname.c: ... here.
20334
5e37ce39
JM
20335 * sysdeps/unix/execve.S: Remove file.
20336
1ad743de
JM
20337 * sysdeps/unix/_exit.S: Remove file.
20338
4e681b5b
AJ
203392012-04-23 Andreas Jaeger <aj@suse.de>
20340
20341 [BZ #13739]
20342 * manual/Makefile: Remove make dist support, there's no
20343 need for a stand-alone documentation tar ball.
20344 (TEXI2DVI): Define always, it's not in Makeconfig.
20345 (dist): Removed.
20346 (tar-it): Removed.
20347 (edition): Removed.
20348 (glibc-doc-$(edition).tar): Removed
20349 (%.Z): Removed.
20350 (%.gz): Removed.
20351 (%.uu): Removed.
20352 (ETAGS): Remove, it's in Makeconfig.
20353 (move-if-change): Remove, it's in Makeconfig.
20354
38686a03 203552012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
20356
20357 [BZ #13970]
20358 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20359 (strtod, strtof, strtold, strtol, strtoul, strtoq)
20360 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20361 (strtod_l, strtof_l, strtold_l): Remove __wur.
20362 It is not necessarily an error to ignore strtol's return value.
20363 One can reliably look at the stored endptr to decide whether
20364 the number had valid syntax.
20365
7c0616fa
AJ
203662012-04-21 Andreas Jaeger <aj@suse.de>
20367
803cb6b7 20368 [BZ #13739]
7c0616fa
AJ
20369 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20370
b0fe253f
JM
203712012-04-21 Joseph Myers <joseph@codesourcery.com>
20372
20373 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20374 * sysdeps/unix/sysv/Versions: Remove file.
20375
8280f22d
MT
203762012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
20377
20378 [BZ #13927]
20379 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20380
75ce411f 203812012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
20382
20383 [BZ #7064]
20384 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20385 version from __vm86.
20386
097d59fa
JM
203872012-04-20 Joseph Myers <joseph@codesourcery.com>
20388
a90f3bcb
JM
20389 * sysdeps/unix/common/lxstat.c: Remove file.
20390 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20391
edc7ea78
JM
20392 * sysdeps/unix/sysv/Makefile: Remove file.
20393
cb78c221
JM
20394 * sysdeps/unix/sysv/direct.h: Remove file.
20395
efa6a45f
JM
20396 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20397 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20398 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20399 * sysdeps/unix/sysv/bits/signum.h: Likewise.
20400 * sysdeps/unix/sysv/bits/stat.h: Likewise.
20401 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20402 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20403
9c9f2d0c
JM
20404 * sysdeps/unix/sysv/setrlimit.c: Remove file.
20405
4541c83b
JM
20406 * sysdeps/unix/xmknod.c: Remove file.
20407 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20408
f5d153a0
JM
20409 * sysdeps/unix/sysv/settimeofday.c: Remove file.
20410
aa746595
JM
20411 * sysdeps/unix/sysv/i386/time.S: Remove file.
20412
cce5905e
JM
20413 * sysdeps/unix/fxstat.c: Remove file.
20414 * sysdeps/unix/xstat.c: Likewise.
20415 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20416
37fa3841
JM
20417 * sysdeps/unix/sysv/sigaction.c: Remove file.
20418
ff1962a3
JM
20419 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20420 (sysdep_headers): Remove variable.
20421 [termio.h not in sysdep_headers] (generated): Likewise.
20422 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20423 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20424 * sysdeps/unix/sysv/tcdrain.c: Likewise.
20425 * sysdeps/unix/sysv/tcflow.c: Likewise.
20426 * sysdeps/unix/sysv/tcflush.c: Likewise.
20427 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20428 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20429 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20430 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20431 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20432
e7740d31
JM
20433 * sysdeps/unix/siglist.c: Remove file.
20434
ee06f18b
JM
20435 * sysdeps/unix/getppid.S: Remove file.
20436
097d59fa
JM
20437 * sysdeps/unix/mkdir.c: Remove file.
20438 * sysdeps/unix/rmdir.c: Likewise.
20439
ff3d51ec
AS
204402012-04-19 Andreas Schwab <schwab@linux-m68k.org>
20441
20442 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20443 ERR_MAX value.
20444 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20445 errlist-compat value.
20446
50f81fd7
DM
204472012-04-18 David S. Miller <davem@davemloft.net>
20448
20449 * sysdeps/generic/memcopy.h (reg_char): Delete.
20450 * debug/strcat_chk.c: Use char, not reg_char.
20451 * debug/strcpy_chk.c: Likewise.
20452 * debug/strncat_chk.c: Likewise.
20453 * debug/strncpy_chk.c: Likewise.
20454 * string/memchr.c: Likewise.
20455 * string/memrchr.c: Likewise.
20456 * string/rawmemchr.c: Likewise.
20457 * string/strcat.c: Likewise.
20458 * string/strchr.c: Likewise.
20459 * string/strchrnul.c: Likewise.
20460 * string/strcmp.c: Likewise.
20461 * string/strcpy.c: Likewise.
20462 * string/strncat.c: Likewise.
20463 * string/strncmp.c: Likewise.
20464 * string/strncpy.c: Likewise.
20465
8ff41c46
WS
204662012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20467
20468 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20469 __builtin_memcopy is called when src and dest ranges are known to not
20470 overlap.
20471
6b652f46
WS
204722012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20473
20474 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20475 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20476 fwd_align_merge macro call.
20477 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20478 bwd_align_merge macro call.
20479 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20480
b282631e
WS
204812012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20482
20483 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20484 bwd_align_merge macros.
20485 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20486 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20487 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20488
95aa737c
DM
204892012-04-18 David S. Miller <davem@davemloft.net>
20490
20491 * sysdeps/sparc/sparc64/memcopy.h: Delete.
20492
7a99a614
AJ
204932012-04-18 Andreas Jaeger <aj@suse.de>
20494
20495 [BZ# 6794]
20496 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20497 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20498 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20499
20500 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20501 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20502 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20503
20504 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20505 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20506 Adjust for changed ldbl-128 files.
20507
20508 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20509 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20510 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20511
e5270c23
DM
205122012-04-17 David S. Miller <davem@davemloft.net>
20513
20514 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20515
fb5e92c9
AS
205162012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20517
20518 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20519 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20520 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20521 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20522 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20523 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20524
76da7265
AZ
205252012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20526
20527 [BZ #6794]
20528 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20529 * math/libm-test.inc: Add ilogb errno and exception tests.
20530 * math/w_ilogb.c: New file: ilogb wrapper.
20531 * math/w_ilogbf.c: New file: ilogbf wrapper.
20532 * math/w_ilogbl.c: New file: ilogbl wrapper.
20533 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20534 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20535 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20536 exception being thrown with 0.0 as argument.
20537 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20538 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20539 exception being thrown with 0.0 as argument.
20540 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20541 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20542 exception being thrown with 0.0 as argument.
20543 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20544 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20545 exception being thrown with 0.0 as argument.
20546 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20547 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 20548 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
20549 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20550 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20551 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20552 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20553 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20554 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20555
0396e69d
PB
205562012-04-17 Petr Baudis <pasky@ucw.cz>
20557
20558 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20559 with altivec.
20560
750b5926
MP
205612012-04-16 Marek Polacek <polacek@redhat.com>
20562
20563 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20564
751728a1
MP
205652012-04-16 Marek Polacek <polacek@redhat.com>
20566
20567 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20568 operands of fdivp instruction.
20569
34a27407
L
205702012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20571
20572 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20573 * elf/tst-auditmod3b.c: Likewise.
20574 * elf/tst-auditmod4b.c: Likewise.
20575 * elf/tst-auditmod5b.c: Likewise.
20576 * elf/tst-auditmod6b.c: Likewise.
20577 * elf/tst-auditmod6c.c: Likewise.
20578 * elf/tst-auditmod7b.c: Likewise.
20579 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20580 * sysdeps/x86_64/preconfigure.in: Likewise.
20581 * sysdeps/x86_64/preconfigure: Regenerated.
20582
7e73e17d
L
205832012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20584
20585 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20586 __ILP32__.
20587
c7a6ab72
AB
205882012-04-13 Antoine Balestrat <merkil33@gmail.com>
20589
20590 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20591 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20592
a9e8e0e0
CL
205932012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20594
20595 [BZ #13973]
20596 * locale/iso-639.def: Fix gl language name. Spotted by
20597 Yaron Shahrabani.
20598
ec98af7d
RM
205992012-04-12 Roland McGrath <roland@hack.frob.com>
20600
20601 [BZ #2074]
20602 * libio/libio.h (__io_write_fn): Update comment.
20603
247c3ede
PB
206042012-04-12 Petr Baudis <pasky@ucw.cz>
20605
20606 [BZ #2074]
20607 * stdio.texi (Hook Functions): The user provided writer function
20608 is not allowed to return -1.
20609
55939d6d
DM
206102012-04-11 David S. Miller <davem@davemloft.net>
20611
20612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20613
90020f5a
MF
206142012-04-11 Mike Frysinger <vapier@gentoo.org>
20615
20616 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20617 Add a leading slash to rtkaio.
20618
288f9098
JM
206192012-04-11 Jim Meyering <meyering@redhat.com>
20620
90020f5a
MF
20621 [BZ #11959]
20622 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20623 It is not necessarily an error to ignore fwrite's return
20624 value. One can reliably use ferror to test for errors after
20625 the fact.
288f9098 20626
4be2b570
L
206272012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20628
20629 * bits/types.h (__snseconds_t): New type.
20630 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20631
20632 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20633 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20634 (__SNSECONDS_T_TYPE): Likewise.
20635 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20636 (__SNSECONDS_T_TYPE): Likewise.
20637 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20638 (__SNSECONDS_T_TYPE): Likewise.
20639
288f9098 206402012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
20641
20642 [BZ #2636]
20643 * manual/time.texi (Processor Time): Return type of times is
20644 elapsed real time since an arbitrary point in the past.
20645 (CPU Time): Move CLK_TCK from here...
20646 (Processor Time): ...to here. Correct description.
20647 * manual/conf.texi (Constants for Sysconf): Correct description of
20648 _SC_CLK_TCK.
20649
d7dd4413
DM
206502012-04-10 David S. Miller <davem@davemloft.net>
20651
20652 [BZ #13967]
20653 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20654 where the is a gap between DT_REL(A) and DT_JMPREL.
20655
b46068fc
L
206562012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20657
20658 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20659 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20660 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20661
73d65cc3
SP
206622012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20663
20664 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20665 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20666 (dl_main): Handle --inhibit-cache.
20667 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20668 _dl_inhibit_cache.
20669 * elf/dl-load.c (_dl_map_object): Use it.
20670 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20671
bcc8d661
JM
206722012-04-09 Joseph Myers <joseph@codesourcery.com>
20673
8f9a2fae
JM
20674 [BZ #13872]
20675 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20676 (__ieee754_powl): Saturate large exponents rather than testing for
20677 overflow of y*log2(x).
20678 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20679 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20680 exceptions.
20681
bcc8d661
JM
20682 [BZ #11521]
20683 * math/s_ctan.c: Include <float.h>.
20684 (__ctan): Avoid internal overflow or cancellation in calculating
20685 denominator.
20686 * math/s_ctanf.c: Likewise.
20687 * math/s_ctanl.c: Likewise.
20688 * math/s_ctanh.c: Likewise.
20689 * math/s_ctanhf.c: Likewise.
20690 * math/s_ctanhl.c: Likewise.
20691 * math/libm-test.inc (ctan_test): Add more tests.
20692 (ctanh_test): Likewise.
20693 * sysdeps/i386/fpu/libm-test-ulps: Update.
20694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20695
823fbbb4
AJ
206962012-04-09 Andreas Jaeger <aj@suse.de>
20697
03879793
AJ
20698 [BZ #6894]
20699 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20700 is an optional BSD extension.
20701
823fbbb4
AJ
20702 [BZ #10254]
20703 * manual/stdio.texi (Opening Streams): Document additional fopen
20704 parameters.
20705
8de131cb
RM
207062012-04-09 Roland McGrath <roland@hack.frob.com>
20707
20708 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20709 %eax without telling the compiler.
20710
c0ed9d7d
CD
207112012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20712
20713 [BZ # 13963]
20714 * manual/install.texi: Use sourceware.org.
20715
c483f6b4
JM
207162012-04-09 Joseph Myers <joseph@codesourcery.com>
20717
d7dd9453
JM
20718 [BZ #13873]
20719 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20720 (__ieee754_pow): Generate overflow and underflow using huge*huge
20721 and tiny*tiny rather than just returning constant infinity or zero
20722 for large exponents.
20723 * math/libm-test.inc (pow_test): Require overflow exceptions for
20724 applicable cases of large exponents.
20725
c483f6b4
JM
20726 [BZ #706]
20727 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20728 (__ieee754_pow): Use iterative multiplication algorithm only for
20729 integer exponents with absolute value below 1024. Check for odd
20730 integer exponents when using algorithm for real exponents.
20731 * math/libm-test.inc (pow_test): Add more tests.
20732 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20733
d2de7579
JM
207342012-04-08 Joseph Myers <joseph@codesourcery.com>
20735
20736 [BZ #13705]
20737 * math/libm-test.inc (exp_test): Do not allow overflow exception
20738 on underflow test.
20739
f77f1232
AJ
207402012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20741
20742 [BZ #13705]
20743 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20744 instead of __kernel_standard_f.
20745
3884932b
MF
207462012-04-08 Mike Frysinger <vapier@gentoo.org>
20747
20748 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20749 * sysdeps/x86_64/memset_chk.S: Likewise.
20750
54472e9c
AJ
207512012-04-08 Andreas Jaeger <aj@suse.de>
20752
6ab0fbfc
AJ
20753 [BZ #10153]
20754 * manual/startup.texi (Environment Access): Describe return value
20755 for putenv and setenv.
20756
61efba8c
AJ
20757 [BZ #6895]
20758 * manual/filesys.texi (Directory Entries): Add description for
20759 DT_LNK.
20760
95c3f29a
AJ
20761 [BZ #6890]
20762 * manual/filesys.texi (Directory Entries): Clarify that it's file
20763 system not operating system in the description of DT_UNKNOWN.
20764
54472e9c
AJ
20765 [BZ #6578]
20766 * manual/syslog.texi (closelog): Fix reference, it's openlog.
20767
624254b1
SC
207682012-04-08 Stephen Compall <s11@member.fsf.org>
20769
20770 [BZ #6649]
20771 * manual/llio.texi (Opening and Closing Files): Add cross
20772 reference to explain mode argument.
20773
1e4920e0
MF
207742012-04-07 Mike Frysinger <vapier@gentoo.org>
20775
20776 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20777 * sysdeps/x86_64/memset_chk.S: Likewise.
20778
5ed848f3
DM
207792012-04-07 David S. Miller <davem@davemloft.net>
20780
20781 * elf/elf.h (R_SPARC_WDISP10): Define.
20782 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20783 R_SPARC_SIZE32.
20784 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20785 R_SPARC_SIZE64 and R_SPARC_H34.
20786
96154cd8
CD
207872012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
20788
20789 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20790 conditions and remove no longer applicable assertion.
20791
9904dc47
L
207922012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20793
20794 * bits/byteswap.h: Include <features.h>.
20795 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20796 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20797
f8887d0a
L
207982012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20799
20800 * bits/byteswap.h (__bswap_16): Removed.
20801 Include <bits/byteswap-16.h> to get __bswap_16.
20802 * sysdeps/i386/bits/byteswap.h: Likewise.
20803 * sysdeps/s390/bits/byteswap.h: Likewise.
20804 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20805 * bits/byteswap-16.h: New file.
20806 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20807 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20808 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20809 * string/Makefile (headers): Add bits/byteswap-16.h.
20810
62470f60
PP
208112012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20812
20813 [BZ #13895]
20814 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20815 extra indirection.
20816 * nss/Makefile (tests-static, tests): Add tst-nss-static.
20817 * nss/tst-nss-static.c: New.
20818
4dad7bab
RM
208192012-04-06 Robert Millan <rmh@gnu.org>
20820
20821 [BZ #6486]
20822 * manual/llio.texi (File Position Primitive): lseek
20823 refers to WHENCE when it really means OFFSET.
20824
e9142a17
AJ
208252012-04-06 Andreas Jaeger <aj@suse.de>
20826
2c040eff
AJ
20827 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20828 strncmp declarations.
20829
e9142a17
AJ
20830 * abilist/libc.abilist: Add __poll and __ppoll.
20831
ff9f1c5f
DM
208322012-04-05 David S. Miller <davem@davemloft.net>
20833
dcd2ae90
DM
20834 * scripts/check-local-headers.sh: Accept a host triplet in the
20835 path matched by the exclude regexp.
20836
993eb054
DM
20837 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20838 definition.
20839 * sysdeps/powerpc/powerpc32/dl-machine.h
20840 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20841 * sysdeps/s390/s390-32/dl-machine.h
20842 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20843 * sysdeps/sparc/sparc32/dl-machine.h
20844 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20845 * sysdeps/sparc/sparc64/dl-machine.h
20846 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20847
ff9f1c5f
DM
20848 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20849 lazy binding.
48e2e132 20850 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
20851 undefined symbol errors.
20852
48e2e132 20853 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
20854 DT_NEEDED entries.
20855
e80d6f94
MM
208562012-04-05 Michael Matz <matz@suse.de>
20857
20858 [BZ #13592]
20859 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20860
349fa79f
AJ
208612012-04-05 Andreas Jaeger <aj@suse.de>
20862
20863 [BZ #13908]
20864 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20865 comment.
20866
f402708f
KK
208672012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20868
20869 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20870 which ROUND is no valid rounding mode.
20871
2ecccfc9
KK
208722012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20873
20874 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20875 read again.
20876 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20877
8a53f50f
KK
208782012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20879
20880 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20881 an exception using FPU order intentionally.
20882
208832012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20884
20885 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20886 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20887 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20888 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20889
d653abb7
SJ
208902012-04-05 Simon Josefsson <simon@josefsson.org>
20891
20892 [BZ #12340]
20893 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20894 EINVAL when BUFLEN is too smal.
20895
c3b1bf7d
TS
208962012-04-05 Thomas Schwinge <thomas@codesourcery.com>
20897
20898 [BZ #13553]
20899 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20900 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20901
b1aa60f3
AJ
209022012-04-03 Andreas Jaeger <aj@suse.de>
20903
c3b1bf7d 20904 [BZ #13938]
67f60a26
AJ
20905 * manual/setjmp.texi (System V contexts): Fix sentence.
20906
b1aa60f3
AJ
20907 [BZ #13926]
20908 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20909 New macro for this case.
20910 [!__GNUC__] (__bswap_64): New inline function for this case.
20911 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20912 * bits/byteswap.h: Likewise.
20913 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20914 ull, guard with __GLIBC_HAVE_LONG_LONG.
20915
20916 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20917 __GLIBC_HAVE_LONG_LONG.
20918
20919 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20920 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20921
39c59c35
TMQMF
209222012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20923
20924 [BZ #13691]
20925 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20926 inptr and inend, rather than using last_ch.
20927
135ffda8
DM
209282012-04-02 David S. Miller <davem@davemloft.net>
20929
20930 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20931 * stdio-common/printf-parse.h (read_int): Change return type to
20932 'int', return -1 on INT_MAX overflow.
20933 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20934 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
20935 overflows INT_MAX. Check for overflow of in-format-string precision
20936 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
20937 SIZE_MAX not INT_MAX for integer overflow test.
20938 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20939 skip the construct in the format string but do not record anything.
20940 * stdio-common/bug22.c: Adjust to test both width/prevision
20941 INT_MAX overflow as well as total length INT_MAX overflow. Check
20942 explicitly for proper errno values.
20943
228c019e
TS
209442012-04-02 Thomas Schwinge <thomas@codesourcery.com>
20945
302cadd3
TS
20946 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20947 CHAR_MAX.
20948 * string/test-strcmp.c [! WIDE]: Likewise.
20949 * time/tst-mktime2.c: Likewise for INT_MAX.
20950 * string/test-string.h: #include <sys/param.h> for MIN.
20951
228c019e
TS
20952 * csu/init-first.c (__libc_init_first): Call __ctype_init.
20953 * sysdeps/i386/init-first.c (init): Likewise.
20954 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20955 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20956 * sysdeps/sh/init-first.c (init): Likewise.
20957
cfa633f5
UD
209582012-04-01 Ulrich Drepper <drepper@gmail.com>
20959
20960 * po/ru.po: Update from translation team.
d1635ef8 20961 * po/vi.po: Likewise.
cfa633f5 20962
6cd0a5ea
SP
209632012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20964
20965 * resolv/nss_dns/dns-host.c: Merge copyright years.
20966
4b43400f
LD
209672012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20968
20969 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20970 Optimize memcpy with prefetch if
20971 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
20972 src, dst pointers have unequal 16 byte alignments.
20973
48c41d04
SP
209742012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20975
20976 [BZ #13928]
20977 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20978 from a CNAME entry and return the minimum ttl for the query.
20979 (gaih_getanswer_slice): Likewise.
20980
b8dc394d
JL
209812012-03-30 Jeff Law <law@redhat.com>
20982
20983 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20984 due to long keys.
20985 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20986 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20987
2f5a5ed0
JL
20988 * resolv/nss_dns/dns-host.c: Update copyright year.
20989
1d39e359
UD
209902012-03-30 Ulrich Drepper <drepper@gmail.com>
20991
c030f70c 20992 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 20993 requests to save a system call. Fix check that all bytes are sent.
c030f70c 20994
1d39e359
UD
20995 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20996 comments for sendmmsg.
20997
209982012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
20999
21000 [BZ #13691]
21001 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21002 with only 1 character between 0x0041 and 0x01b0.
21003 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21004 * wcsmbs/tst-mbsnrtowcs.c: New file.
21005
20fde227
DM
210062012-03-29 David S. Miller <davem@davemloft.net>
21007
21008 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21009 small copies by hand.
21010
984a4237
JL
210112012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21012
21013 [BZ #13761]
21014 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21015 _nss_compat_initgroups_dyn): Fall back to malloc/free
21016 for large group memberships.
21017
18c9d62b
DM
210182012-03-28 David S. Miller <davem@davemloft.net>
21019
88d85d4f
DM
21020 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21021 that branches into memcpy.
21022 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21023 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21024 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21025 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21026 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21027 bits.
21028 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21029 implementation too.
21030 * sysdeps/sparc/mempcpy.S: New file.
21031
e5aa83e1
DM
21032 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21033 the IFUNC routine in the libc case.
21034 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21035
88570753
DM
21036 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21037 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21038 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21039 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21040 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21041 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21042 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21043 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21044
249d7567
DM
21045 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21046 loop to 256 bytes instead of 64 bytes and fix test signedness.
21047
18c9d62b
DM
21048 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21049 * sysdeps/sparc/sparc32/Makefile: rather than here...
21050 * sysdeps/sparc/sparc64/Makefile: and here.
21051
05f3d1f6
UD
210522012-03-28 Ulrich Drepper <drepper@gmail.com>
21053
21054 * malloc/mallocbug.c: Avoid warnings about unused variables.
21055
86ae07a8
JL
210562012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21057
21058 [BZ #13760]
21059 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21060 in the right place. Discard and retry query if response is
21061 larger than input buffer size.
21062
41bf21a1
JM
210632012-03-28 Joseph Myers <joseph@codesourcery.com>
21064
d6270972
JM
21065 [BZ #369]
21066 [BZ #2678]
21067 [BZ #3866]
21068 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21069 x for large integer exponent.
21070 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21071 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21072 sign of result as needed afterwards.
21073 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21074 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21075 result for underflowing pow the same as for overflow.
21076 (__kernel_standard_l): Handle powl overflow and underflow here
21077 rather than calling __kernel_standard.
21078 * math/libm-test.inc (pow_test): Add more tests.
21079
414fca03 21080 [BZ #3868]
41bf21a1
JM
21081 [BZ #13879]
21082 [BZ #13910]
21083 [BZ #13911]
21084 [BZ #13912]
21085 [BZ #13913]
21086 [BZ #13915]
21087 [BZ #13916]
21088 [BZ #13917]
21089 [BZ #13918]
21090 [BZ #13919]
21091 [BZ #13920]
21092 [BZ #13921]
21093 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21094 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21095 (__kernel_standard_l): New function.
21096 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21097 __kernel_standard.
21098 * math/w_acosl.c (__acosl): Likewise.
21099 * math/w_asinl.c (__asinl): Likewise.
21100 * math/w_atan2l.c (__atan2l): Likewise.
21101 * math/w_atanhl.c (__atanhl): Likewise.
21102 * math/w_coshl.c (__coshl): Likewise.
21103 * math/w_exp10l.c (__exp10l): Likewise.
21104 * math/w_exp2l.c (__exp2l): Likewise.
21105 * math/w_fmodl.c (__fmodl): Likewise.
21106 * math/w_hypotl.c (__hypotl): Likewise.
21107 * math/w_j0l.c (__j0l, __y0l): Likewise.
21108 * math/w_j1l.c (__j1l, __y1l): Likewise.
21109 * math/w_jnl.c (__jnl, __ynl): Likewise.
21110 * math/w_lgammal.c (__lgammal): Likewise.
21111 * math/w_log10l.c (__log10l): Likewise.
21112 * math/w_log2l.c (__log2l): Likewise.
21113 * math/w_logl.c (__logl): Likewise.
21114 * math/w_powl.c (__powl): Likewise.
21115 * math/w_remainderl.c (__remainderl): Likewise.
21116 * math/w_scalbl.c (sysv_scalbl): Likewise.
21117 * math/w_sinhl.c (__sinhl): Likewise.
21118 * math/w_sqrtl.c (__sqrtl): Likewise.
21119 * math/w_tgammal.c (__tgammal): Likewise.
21120 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21121 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21122 * math/libm-test.inc (acos_test): Add more tests.
21123 (acosh_test): Likewise.
21124 (asin_test): Likewise.
21125 (atanh_test): Likewise.
21126 (exp_test): Likewise.
21127 (exp10_test): Likewise.
21128 (exp2_test): Likewise.
21129 (expm1_test): Likewise.
21130 (lgamma_test): Likewise.
21131 (log_test): Likewise.
21132 (log10_test): Likewise.
21133 (log1p_test): Likewise.
21134 (log2_test): Likewise.
21135 (pow_test): Do not allow some spurious overflow exceptions.
21136 (sqrt_test): Add more tests.
21137 (tgamma_test): Likewise.
21138 (y0_test): Likewise.
21139 (y1_test): Likewise.
21140 (yn_test): Likewise.
21141
dd62fda6
AB
211422012-03-27 Anton Blanchard <anton@samba.org>
21143
21144 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21145 MAP_HUGETLB.
21146 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21147 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21148 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21149
1e3cdfda
AJ
211502012-03-27 David S. Miller <davem@davemloft.net>
21151
b855ab85
DM
21152 * conform/Makefile: Run run-conformtest.sh using $(BASH).
21153
1e3cdfda
AJ
21154 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21155 have-as-vis3 check.
21156
211572012-03-27 Andreas Jaeger <aj@suse.de>
21158
21159 * sysdeps/x86_64/elf/configure.in: Moved to ...
21160 * sysdeps/x86_64/configure.in: ... here.
21161 * sysdeps/x86_64/elf/start.S: Moved to ...
21162 * sysdeps/x86_64/start.S: ... here.
21163 * sysdeps/x86_64/elf/configure: Delete.
21164
21165 * sysdeps/x86_64/configure.in: Merge contents from
21166 sysdeps/i386/configure.in (without i686 check).
21167
21168 * sysdeps/i386/elf/Versions: Merge into ...
21169 * sysdeps/i386/Versions: ... this.
21170 * sysdeps/i386/elf/Versions: Delete file.
21171 * sysdeps/i386/elf/start.S: Moved to ...
21172 * sysdeps/i386/start.S: ...here.
21173 * sysdeps/i386/elf/configure.in: Merge into...
21174 * sysdeps/i386/configure.in: ...here.
21175 * sysdeps/i386/elf/configure.in: Delete file.
21176 * sysdeps/i386/elf/configure: Delete file.
21177
21178 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21179 * debug/backtracesyms.c: ... here.
21180 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21181 * debug/backtracesymsfd.c: ... here.
21182 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21183 * sysdeps/generic/ifunc-sel.h: ... here.
21184
21185 * sysdeps/unix/i386/start.c: Delete file.
21186 * sysdeps/unix/sparc/start.c: Delete file.
21187 * sysdeps/unix/start.c: Delete file.
21188
21189 * sysdeps/sh/elf/configure.in: Moved to ...
21190 * sysdeps/sh/configure.in: ... here.
21191 * sysdeps/sh/elf/start.S: Moved to ...
21192 * sysdeps/sh/start.S: ... here.
21193 * sysdeps/sh/elf/configure: Delete file.
21194
21195 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21196 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21197 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21198 * sysdeps/powerpc/powerpc64/entry.h: ... here.
21199 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21200 * sysdeps/powerpc/powerpc64/start.S: here.
21201 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21202 * sysdeps/powerpc/powerpc64/Makefile: ... this.
21203 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21204 * sysdeps/powerpc/powerpc64/configure.in: ... this.
21205 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21206
21207 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21208 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21209 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21210 * sysdeps/powerpc/powerpc32/start.S: ... here.
21211 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21212 * sysdeps/powerpc/powerpc32/configure.in: ... this.
21213 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21214
21215 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21216 * sysdeps/powerpc/ifunc-sel.h: ... here.
21217 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21218 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21219
21220 * sysdeps/sparc/elf/configure.in: Moved to ...
21221 * sysdeps/sparc/configure.in: ... here.
21222 * sysdeps/sparc/elf/configure: Delete file.
21223 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21224 * sysdeps/sparc/sparc32/start.S: ... here.
21225 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21226 * sysdeps/sparc/sparc64/start.S: ... here.
21227 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21228 * sysdeps/sparc/sparc32/Makefile: ... this.
21229 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21230 * sysdeps/sparc/sparc64/Makefile: ... this.
21231
21232 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21233 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21234 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21235 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21236 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21237 * sysdeps/s390/s390-32/setjmp.S: ... here.
21238 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21239 * sysdeps/s390/s390-32/configure.in: ... here.
21240 * sysdeps/s390/s390-32/elf/configure: Delete file.
21241 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21242 * sysdeps/s390/s390-32/start.S: ... here.
21243
21244 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21245 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21246 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21247 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21248 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21249 * sysdeps/s390/s390-64/setjmp.S: ... here.
21250 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21251 * sysdeps/s390/s390-64/configure.in: ... here
21252 * sysdeps/s390/s390-64/elf/configure: Delete file.
21253 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21254 * sysdeps/s390/s390-64/start.S: ... here.
21255 * sysdeps/s390/s390-64/elf/configure: Delete.
21256
21257 * configure.in: Remove support for elf directories in sysdeps.
21258
21259 * configure: Regenerated.
21260 * sysdeps/i386/configure: Regenerated.
21261 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21262 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21263 * sysdeps/s390/s390-32/configure: Regenerated.
21264 * sysdeps/s390/s390-64/configure: Regenerated.
21265 * sysdeps/sh/configure: Regenerated.
21266 * sysdeps/sparc/configure: Regenerated.
21267 * sysdeps/x86_64/configure: Regenerated.
21268
a3f61311
AS
212692012-03-26 Andreas Schwab <schwab@linux-m68k.org>
21270
c876e002
AS
21271 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21272
a3f61311
AS
21273 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21274 denormal result into account.
21275
ac4c54f0
RM
212762012-03-25 Roland McGrath <roland@hack.frob.com>
21277
21278 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21279 Reported by Allan McRae <allan@archlinux.org>.
21280
6a9b9c02
JL
212812012-03-23 Jeff Law <law@redhat.com>
21282
21283 * nss/getnssent.c (__nss_getent): Fix typo.
21284
4c42a0c1
DM
212852012-03-23 David S. Miller <davem@davemloft.net>
21286
21287 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21288
1532c7ac
L
212892012-03-23 H.J. Lu <hongjiu.lu@intel.com>
21290
21291 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21292 to pad to uint64_t for each field.
21293 (dl_tls_index): Replace unsigned long with uint64_t.
21294
3ff42526
PP
212952012-03-23 Daniel Jacobowitz <dmj@google.com>
21296 Paul Pluzhnikov <ppluzhnikov@google.com>
21297
21298 [BZ #6528]
21299 * grp/Makefile (otherlibs): Don't set it.
21300 * inet/Makefile (otherlibs): Likewise.
21301 * login/Makefile (otherlibs): Likewise.
21302 * nscd/Makefile (otherlibs): Likewise.
21303 * posix/Makefile (otherlibs): Likewise.
21304 * pwd/Makefile (otherlibs): Likewise.
21305 * rt/Makefile (otherlibs): Likewise.
21306 * sunrpc/Makefile (otherlibs): Likewise.
21307 * nss/Makefile (otherlibs): Likewise.
21308 Add libnss_files to routines and static-only-routines.
21309 ($(objpfx)getent): Remove rule.
21310 * resolv/Makefile: Add libnss_dns and libresolv to routines and
21311 static-only-routines.
21312
7c69cd14
JM
213132012-03-22 Joseph Myers <joseph@codesourcery.com>
21314
21315 [BZ #13892]
21316 * math/s_cexp.c: Include <float.h>.
21317 (__cexp): Handle exp result overflowing not necessarily
21318 overflowing both real and imaginary parts of result.
21319 * math/s_cexpf.c: Likewise.
21320 * math/s_cexpl.c: Likewise.
21321 * math/libm-test.inc (cexp_test): Add more tests.
21322 * sysdeps/i386/fpu/libm-test-ulps: Update.
21323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21324
81b035fe
L
213252012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21326
21327 * include/link.h (ELFW): New macro.
21328 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21329 Replace ELF64_R_TYPE with ELFW(R_TYPE).
21330
1da7940c
L
213312012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21332
21333 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21334 with uint64_t.
21335
b749dbb9
L
213362012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21337
21338 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21339 declaration.
21340 (struct La_x32_retval): Likewise.
21341
2ff87f3f
L
213422012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21343
21344 * sysdeps/x86_64/preconfigure.in: New file.
21345 * sysdeps/x86_64/preconfigure: New generated file.
21346
c0df8e69
JM
213472012-03-22 Joseph Myers <joseph@codesourcery.com>
21348
48e44791
JM
21349 [BZ #13824]
21350 * math/e_exp2l.c: Include <float.h>.
21351 (__ieee754_exp2l): Handle overflow and underflow cases
21352 separately. Only pass fractional part of argument to
21353 __ieee754_expl.
21354 * math/libm-test.inc (exp2_test): Add more tests.
21355
c0df8e69
JM
21356 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21357 negating x to take absolute value.
21358 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21359 Likewise.
21360 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21361 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21362 Likewise.
21363 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21364 computing low part if x was negated.
21365 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21366
c8e43ba7
L
213672012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21368
21369 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21370 la_x32_gnu_pltexit.
21371 (pltexit): Cast int_retval to ptrdiff_t.
21372 * elf/tst-auditmod3b.c: Likewise.
21373 * elf/tst-auditmod4b.c: Likewise.
21374 * elf/tst-auditmod5b.c: Likewise.
21375 * elf/tst-auditmod6b.c: Likewise.
21376 * elf/tst-auditmod6c.c: Likewise.
21377 * elf/tst-auditmod7b.c: Likewise.
21378
21379 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21380 and x32_gnu_pltexit.
21381
21382 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21383 __ELF_NATIVE_CLASS.
21384 (La_x32_regs): New macro.
21385 (La_x32_retval): Likewise.
21386 (la_x32_gnu_pltenter): New function prototype.
21387 (la_x32_gnu_pltexit): Likewise.
21388
7998fa78
AS
213892012-03-21 Andreas Schwab <schwab@linux-m68k.org>
21390
dcb33988
AS
21391 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21392 exponent.
21393
233fc563
AS
21394 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21395
7998fa78
AS
21396 * configure.in (libc_cv_cc_nofma): Check for option to disable
21397 generation of FMA instructions.
21398 * configure: Regenerate.
21399 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21400 * sysdeps/ieee754/dbl-64/Makefile: New file.
21401 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21402 Remove brandred-fma4.
21403 (CFLAGS-brandred-fma4.c): Remove.
21404 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21405 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21406 define.
21407 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21408 define.
21409
8e95c99a
L
214102012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21411
21412 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21413 LLONG_MAX != LONG_MAX.
21414 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21415 (_fitoa_word): Likewise.
21416 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21417 LLONG_MAX != LONG_MAX.
21418 * stdio-common/_itowa.h: Include <_itoa.h>.
21419 (_itowa_word): Use _ITOA_WORD_TYPE on value.
21420 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
21421 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
21422 only if not defined.
21423 (_ITOA_WORD_TYPE): Likewise.
21424 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21425 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21426
6f4db457
DM
214272012-03-21 David S. Miller <davem@davemloft.net>
21428
21429 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21430
7785fe5a
L
214312012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21432
21433 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21434 of x86_64 when setting libc_cv_slibdir, libdir and
21435 libc_cv_localedir.
21436 * sysdeps/unix/sysv/linux/configure: Regenerated.
21437
4535cd55
JM
214382012-03-21 Joseph Myers <joseph@codesourcery.com>
21439
21440 * manual/lang.texi (Old Varargs): Remove section.
21441 (How Variadic): Update menu.
21442 (va_start): Do not mention varargs.h.
21443
17228132
TS
214442012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21445 Joseph Myers <joseph@codesourcery.com>
21446
21447 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21448 link test.
21449 * configure: Regenerated.
21450
8149f976
TS
214512012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21452
05f3d1f6
UD
21453 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21454 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21455 conformtest.pl
8149f976 21456
1a4ac776
JM
214572012-03-21 Joseph Myers <joseph@codesourcery.com>
21458
be22ce65
JM
21459 * NOTES: Remove.
21460 * Makefile (files-for-dist): Remove NOTES.
21461 (NOTES): Remove rule.
21462 * README: Don't refer to NOTES.
21463 * manual/creature.texi: Don't include macros.texi.
21464 * manual/intro.texi (creature.texi): Remove comment referring to
21465 NOTES.
21466
40b601fb
JM
21467 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21468 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21469 * configure: Regenerated.
21470 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21471 LIBC_TRY_CC_OPTION.
21472 (libc_cv_as_i686): Likewise.
21473 (libc_cv_cc_avx): Likewise.
21474 (libc_cv_cc_sse2avx): Likewise.
21475 (libc_cv_cc_fma4): Likewise.
21476 (libc_cv_cc_novzeroupper): Likewise.
21477 * sysdeps/i386/configure: Regenerated.
21478
1a4ac776
JM
21479 [BZ #13883]
21480 * sysdeps/i386/fpu/s_cexp.S: Remove.
21481 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21482 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21483 * math/libm-test.inc (cexp_test): Add more tests.
21484 * sysdeps/i386/fpu/libm-test-ulps: Update.
21485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21486
a458e7fe
AM
214872012-03-21 Allan McRae <allan@archlinux.org>
21488
21489 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21490
0cb7efc5
JM
214912012-03-21 Joseph Myers <joseph@codesourcery.com>
21492
21493 [BZ #13871]
21494 * math/w_exp2.c: Do not include <float.h>.
21495 (o_threshold, u_threshold): Remove.
21496 (__exp2): Calculate result before checking finiteness and calling
21497 __kernel_standard.
21498 * math/w_exp2f.c: Likewise.
21499 * math/w_exp2l.c: Likewise.
21500 * math/libm-test.inc (exp2_test): Require overflow exception for
21501 1e6 input.
2460d3aa
JM
21502
21503 [BZ #3866]
21504 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21505 range of signed 64-bit integers before using fistpll. Remove
21506 checks for whether integers fit in mantissa bits.
21507 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21508 the range of signed 32-bit integers before using fistpl. Remove
21509 checks for whether integers fit in mantissa bits.
21510 * sysdeps/i386/fpu/e_powl.S (p64): New object.
21511 (__ieee754_powl): Test for y outside the range of signed 64-bit
21512 integers before using fistpll. Reduce 64-bit values to 63-bit
21513 ones as needed.
21514 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21515 divide-by-zero is raised for zero to large negative powers.
21516 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21517 (__ieee754_powl): Test for y outside the range of signed 64-bit
21518 integers before using fistpll. Reduce 64-bit values to 63-bit
21519 ones as needed.
21520 * math/libm-test.inc (pow_test): Add more tests.
21521
eb96ffb0
L
215222012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21523
21524 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21525 <stdio-common/_itoa.h>.
21526 * debug/segfault.c: Likewise.
21527 * elf/dl-cache.c: Likewise.
21528 * elf/dl-minimal.c: Likewise.
21529 * elf/dl-misc.c: Likewise.
21530 * elf/dl-sysdep.c: Likewise.
21531 * elf/dl-version.c: Likewise.
21532 * elf/rtld.c: Likewise.
21533 * hurd/hurdsock.c: Likewise.
21534 * hurd/lookup-retry.c: Likewise.
21535 * malloc/malloc.c: Likewise.
21536 * malloc/mtrace.c: Likewise.
21537 * nscd/nscd_getgr_r.c: Likewise.
21538 * nscd/nscd_getpw_r.c: Likewise.
21539 * nscd/nscd_getserv_r.c: Likewise.
21540 * posix/getopt_init.c: Likewise.
21541 * posix/wordexp.c: Likewise.
21542 * stdio-common/_itoa.c: Likewise.
21543 * stdio-common/printf_fphex.c: Likewise.
21544 * stdio-common/vfprintf.c: Likewise.
21545 * string/_strerror.c: Likewise.
21546 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21547 * sysdeps/i386/i686/hp-timing.h: Likewise.
21548 * sysdeps/mach/_strerror.c: Likewise.
21549 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21550 * sysdeps/mach/hurd/sethostid.c: Likewise.
21551 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21552 * sysdeps/mach/xpg-strerror.c: Likewise.
21553 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21554 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21555 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21556 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21557 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21558 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21559 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21560 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21561 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21562 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21563 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21564 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21565 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21566 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21567 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21568 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21569 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21570 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21571 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21572 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21573 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21574
21575 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21576
21577 * stdio-common/_itoa.h: Moved to ...
21578 * sysdeps/generic/_itoa.h: Here.
21579
21580 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21581
21582 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21583 instead of "_itoa.h" and "_itowa.h".
21584 * stdio-common/vfprintf.: Likewise.
21585
d1af992d
L
215862012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21587
21588 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21589 <bits/wordsize.h>.
21590 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21591 (__signbit): Likwise.
21592 (llrintf): Likwise.
21593 (llrint): Likwise.
21594
114883e0
L
215952012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21596
21597 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21598 __WORDSIZE != 64.
21599
c135cc1b
JM
216002012-03-20 Joseph Myers <joseph@codesourcery.com>
21601
21602 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21603 OVERFLOW_EXCEPTION_OK.
21604 * math/libm-test.inc ("Philosophy"): Update comment about
21605 exception testing.
21606 (OVERFLOW_EXCEPTION): Define.
21607 (OVERFLOW_EXCEPTION_OK): Likewise.
21608 (INVALID_EXCEPTION_OK): Renumber.
21609 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21610 (IGNORE_ZERO_INF_SIGN): Likewise.
21611 (test_exceptions): Handle FE_OVERFLOW.
21612 (exp10_test): Expect overflow exceptions.
21613 (exp2_test): Likewise.
21614 (expm1_test): Likewise.
21615 (nextafter_test): Likewise.
21616 (pow_test): Likewise.
21617 (scalbn_test): Likewise.
21618 (scalbln_test): Likewise.
21619
95443d88
L
216202012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21621
21622 * sysdeps/x86_64/bits/atomic.h
21623 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21624 64bit integer.
21625 (atomic_exchange_acq): Likewise.
21626 (__arch_exchange_and_add_body): Likewise.
21627 (__arch_add_body): Likewise.
21628 (atomic_add_negative): Likewise.
21629 (atomic_add_zero): Likewise.
21630
490df6c4
L
216312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21632
c2722551 21633 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
21634 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21635
5e52b189
L
216362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21637
21638 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21639 Check __x86_64__ instead of __WORDSIZE.
21640
a9879d4c
L
216412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21642
21643 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21644
5df98260
DM
216452012-03-19 David S. Miller <davem@davemloft.net>
21646
e1497744
DM
21647 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21648
5df98260
DM
21649 * sysdeps/sparc/fpu/fenv_private.h: New file.
21650 * sysdeps/sparc/fpu/math_private.h: Use it.
21651 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21652 Remove.
21653 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21654 (libc_feholdexcept_setroundl): Remove.
21655 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21656 Remove.
21657 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21658 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21659
b4c35121
L
216602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21661
21662 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21663 int64_t instead of long int.
21664 (INSERT_WORDS64): Likwise.
21665
56965fd7
L
216662012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21667
21668 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21669 _Unwind_GetCFA return to _Unwind_Ptr first.
21670
83d1aec8
JM
216712012-03-19 Joseph Myers <joseph@codesourcery.com>
21672
1897ad44
JM
21673 [BZ #13629]
21674 * math/s_clog.c: Include <float.h>.
21675 (__clog): Scale large or subnormal inputs.
21676 * math/s_clogf.c: Likewise.
21677 * math/s_clogl.c: Likewise.
21678 * math/s_clog10.c: Include <float.h>.
21679 (M_LOG10_2): Define.
21680 (__clog10): Scale large or subnormal inputs.
21681 * math/s_clog10f.c: Likewise.
21682 * math/s_clog10l.c: Likewise.
21683 * math/libm-test.inc (clog_test): Add more tests.
21684 (clog10_test): Likewise.
21685 * sysdeps/i386/fpu/libm-test-ulps: Update.
21686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21687
7726d6a9
JM
21688 [BZ #11451]
21689 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21690 x and y.
21691 * math/libm-test.inc (atan2_test): Add another test.
21692
83d1aec8
JM
21693 * Makerules (common-objdir-compile): Remove.
21694 * sysdeps/unix/Makefile (config-generated): Do not add
21695 $(unix-generated) to variable.
21696 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21697 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21698 Remove rule.
21699 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21700 Likewise.
21701 [generic bits/local_lim.h] (before-compile): Do not append to
21702 variable.
21703 [generic bits/local_lim.h] (common-generated): Likewise.
21704 [generic sys/param.h] (before-compile): Do not append to variable.
21705 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21706 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21707 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21708 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21709 include.
21710 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21711 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21712 [generic sys/param.h] ($(addprefix
21713 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21714 [generic sys/param.h] (common-generated): Do not append to
21715 variable.
21716 [generic sys/param.h] (sysdep_headers): Likewise.
21717 [generic bits/errno.h] (before-compile): Do not append to
21718 variable.
21719 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21720 rule.
21721 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21722 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21723 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21724 [generic bits/errno.h] (common-generated): Do not append to
21725 variable.
21726 [generic bits/ioctls.h] (before-compile): Do not append to
21727 variable.
21728 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21729 rule.
21730 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21731 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21732 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21733 rule.
21734 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21735 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21736 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21737 [generic bits/ioctls.h] (common-generated): Do not append to
21738 variable.
21739 [generic sys/syscall.h] (syscall.h): Remove variable.
21740 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21741 rule.
21742 [generic sys/syscall.h] (before-compile): Do not append to
21743 variable.
21744 [generic sys/syscall.h] (common-generated): Likewise.
21745 * sysdeps/unix/errnos-tmpl.c: Remove file.
21746 * sysdeps/unix/errnos.awk: Likewise.
21747 * sysdeps/unix/ioctls-tmpl.c: Likewise.
21748 * sysdeps/unix/ioctls.awk: Likewise.
21749 * sysdeps/unix/mk-local_lim.c: Likewise.
21750 * sysdeps/unix/snarf-ioctls: Likewise.
21751
4851a949
RH
217522012-03-19 Richard Henderson <rth@twiddle.net>
21753
bd37f2ee
RH
21754 * sysdeps/i386/fpu/fenv_private.h: New file.
21755 * sysdeps/i386/fpu/math_private.h: Use it.
21756 (math_opt_barrier, math_force_eval): Remove.
21757 (libc_feholdexcept_setround_53bit): Remove.
21758 (libc_feupdateenv_53bit): Remove.
21759 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21760 (math_opt_barrier, math_force_eval): Remove.
21761 (libc_feholdexcept): Remove.
21762 (libc_feholdexcept_setround): Remove.
21763 (libc_fetestexcept, libc_fesetenv): Remove.
21764 (libc_feupdateenv_test): Remove.
21765 (libc_feupdateenv, libc_feholdsetround): Remove.
21766 (libc_feresetround): Remove.
21767
d0adc922
RH
21768 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21769 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21770
0fe0f1f8
RH
21771 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21772 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21773 (libc_feupdateenv_testl): New.
21774 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21775 (libc_feupdateenv_testf): New.
21776 (libc_feupdateenv): Use libc_feupdateenv_test.
21777 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21778 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21779
eb92c487
RH
21780 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21781 (libc_feholdsetroundf, libc_feholdsetroundl): New.
21782 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21783 (libc_feresetround_noex): New.
21784 (libc_feresetround_noexf): New.
21785 (libc_feresetround_noexl): New.
21786 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21787 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21788 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21789 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21790 SET_RESTORE_ROUND.
21791 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21792 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21793 (__cos): Likewise.
21794 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21795 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21796 SET_RESTORE_ROUND_NOEX.
21797 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21798 SET_RESTORE_ROUND_NOEXF.
21799 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21800 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21801 (libc_feholdsetroundf): New.
21802 (libc_feresetround, libc_feresetroundf): New.
21803
7d2e8012
RH
21804 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21805 (libc_feholdexcept_setround_53bit): Convert from macro to function.
21806 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
21807
b4dabbb4
RH
21808 * sysdeps/generic/math_private.h: Include <fenv.h>.
21809 (default_libc_feholdexcept): New.
21810 (default_libc_feholdexcept_setround): New.
21811 (default_libc_fesetenv, default_libc_feupdateenv): New.
21812 (libc_feholdexcept): Only define if undefined.
21813 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21814 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21815 (libc_feholdexcept_setroundl): Likewise.
21816 (libc_feholdexcept_setround_53bit): Likewise.
21817 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21818 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21819 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21820 (libc_feupdateenv_53bit): Likewise.
21821 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21822 (libc_feholdexcept): Convert from macro to inline function.
21823 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21824 (libc_fesetenv, libc_feupdateenv): Likewise.
21825
4851a949
RH
21826 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21827 not previously defined.
21828 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21829 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21830 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21831 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21832 * sysdeps/ieee754/flt-32/math_private.h: New file.
21833 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21834 math_private.h below SET_FLOAT_WORD.
21835 (__isnan, __isinf_ns, __finite): Remove.
21836 (__isnanf, __isinf_nsf, __finitef): Remove.
21837
e79d442e
AS
218382012-03-18 Andreas Schwab <schwab@linux-m68k.org>
21839
21840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21841
90b80344
DM
218422012-03-17 David S. Miller <davem@davemloft.net>
21843
21844 [BZ #6471]
21845 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21846 for 2.16.
21847
edc21804
DM
218482012-03-16 David S. Miller <davem@davemloft.net>
21849
77e927af
DM
21850 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21851 warnings.
21852
374976dd
DM
21853 [BZ #6471]
21854 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21855 properly.
21856 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21857 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21858 sysdep_routines when subdir is sysvipc.
21859 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21860 __getshmlba helper.
21861
edc21804
DM
21862 * sysdeps/sparc/fpu/libm-test/ulps: Update.
21863
473c3ef3
L
218642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21865
21866 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21867 [__LP64__].
21868
eb0f39b6
L
218692012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21870
21871 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21872 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21873 (__lround): Renamed to ...
21874 (__llround): This. Replace long int with long long int.
21875 Define lround functions as aliases of llround functions.
21876 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21877
6b6cd74b
L
218782012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21879
21880 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21881 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
21882 adresses to uintptr_t. Replace "long int" and "unsigned long
21883 int" with "greg_t" on va_arg.
21884
f1a77b01
L
218852012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21886
21887 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21888 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21889
21890 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21891 Move e_machine check before EI_CLASS check. Handle x32
21892 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21893 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21894 SKIP_EM_IA_64 and include
21895 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21896
21897 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21898 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21899 (add_system_dir): New macro.
21900
21901 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21902 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21903
11b90b9f
JM
219042012-03-16 Joseph Myers <joseph@codesourcery.com>
21905
c36e1d23
JM
21906 [BZ #2551]
21907 [BZ #2552]
21908 [BZ #2553]
21909 [BZ #2554]
21910 [BZ #2562]
21911 [BZ #2563]
21912 [BZ #2565]
21913 [BZ #2566]
21914 [BZ #2576]
21915 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21916 (y0): Likewise.
21917 * math/w_j0f.c (j0f): Likewise.
21918 (y0f): Likewise.
21919 * math/w_j0l.c (__j0l): Likewise.
21920 (__y0l): Likewise.
21921 * math/w_j1.c (j1): Likewise.
21922 (y1): Likewise.
21923 * math/w_j1f.c (j1f): Likewise.
21924 (y1f): Likewise.
21925 * math/w_j1l.c (__j1l): Likewise.
21926 (__y1l): Likewise.
21927 * math/w_jn.c (jn): Likewise.
21928 (yn): Likewise.
21929 * math/w_jnf.c (jnf): Likewise.
21930 (ynf): Likewise.
21931 * math/w_jnl.c (__jnl): Likewise.
21932 (__ynl): Likewise.
21933 * math/libm-test.inc (j0_test): Add more tests.
21934 (j1_test): Likewise.
21935 (jn_test): Likewise. Add trailing semicolon to existing test.
21936 (y0_test): Likewise.
21937 (y1_test): Likewise.
21938 * sysdeps/i386/fpu/libm-test-ulps: Update.
21939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21940
11b90b9f
JM
21941 [BZ #13851]
21942 [BZ #13854]
21943 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21944 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21945 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21946 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21947 (__tanl): Set errno for infinite argument.
21948 * sysdeps/i386/fpu/mptan.c: Remove.
21949 * sysdeps/i386/fpu/s_tan.S: Likewise.
21950 * sysdeps/i386/fpu/s_tanl.S: Likewise.
21951 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21952 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21953 * math/libm-test.inc (tan_test): Add more tests and enable more
21954 tests for double and long double.
21955 * sysdeps/i386/fpu/libm-test-ulps: Update.
21956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21957
6a1bd2a1
JK
219582012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21959
21960 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21961 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21962
10a803e0
RM
219632012-03-16 Roland McGrath <roland@hack.frob.com>
21964
21965 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21966 * configure.in: Use it for both main tree and add-ons.
21967 * configure: Regenerated.
21968
f196c7f7
L
219692012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21970
21971 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21972
8848d99d
JM
219732012-03-16 Joseph Myers <joseph@codesourcery.com>
21974
96cbe7f4
JM
21975 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21976 in comment.
21977
8848d99d
JM
21978 [BZ #13851]
21979 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21980 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21981 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21982 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21983 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21984 infinite argument.
21985 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21986 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21987 != 0 for prec == 2.
21988 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21989 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21990 * sysdeps/i386/fpu/s_cosl.S: Likewise.
21991 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21992 * sysdeps/i386/fpu/s_sinl.S: Likewise.
21993 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21994 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21995 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21996 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21997 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21998 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21999 * math/libm-test.inc (cos_test): Add more tests and enable more
22000 tests for long double.
22001 (sin_test): Likewise.
22002 (sincos_test): Likewise.
22003 * sysdeps/i386/fpu/libm-test-ulps: Update.
22004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22005
dd7f4703
DM
220062012-03-16 David S. Miller <davem@davemloft.net>
22007
22008 * sysdeps/sparc/fpu/math_private.h: New file.
22009
006f1daa
DM
220102012-03-15 David S. Miller <davem@davemloft.net>
22011
c0c83bc8
DM
22012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22013 file.
e6a62e18 22014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
22015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22016 file.
e6a62e18
DM
22017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22018 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22019 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22020 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22021 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22022 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22023 sysdep routines.
22024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22025
88cb87d9
DM
22026 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22027 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22028
006f1daa 22029 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
22030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22031 sparc-ifunc.h
006f1daa 22032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
22033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22034 Likewise.
22035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22036 Likewise.
006f1daa
DM
22037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
22040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22041 Likewise.
006f1daa
DM
22042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
22046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22047 Likewise.
22048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22049 Likewise.
006f1daa
DM
22050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22054 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22055 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22056 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22057 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22058 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22059 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22060 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22061 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22062 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22063 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22064 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22065 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22066 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22067 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22068 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22069 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22070 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22071 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22072 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22073 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22074
11e0098e
AS
220752012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22076
22077 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22078 scaling.
22079 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22080
e85b09d0
AJ
220812012-03-15 Andreas Jaeger <aj@suse.de>
22082
22083 [BZ #13852]
22084 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22085 ieee754/flt-32 implementation for sin, cos and sincos.
22086 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22087 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22088 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22089 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22090 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22091 ieee754/flt-32 implementation for tan.
22092
22093 * math/libm-test.inc (cos_test): Enable some large input tests for
22094 float as well
22095 (sin_test): Likewise.
22096 (sincos_test): Likewise.
22097 (tan_test): Add tests for large input.
22098
22099 * sysdeps/i386/fpu/libm-test-ulps: Update.
22100
81c64153
AJ
221012012-03-15 Andreas Jaeger <aj@suse.de>
22102
22103 [BZ #13658]
22104 * math/libm-test.inc (cos_test): Add more test cases.
22105 (sin_test): Likewise.
22106 (sincos_test): Likewise.
22107
7bbfa5c6
AJ
221082012-03-15 Andreas Jaeger <aj@suse.de>
22109
22110 [BZ #13837]
22111 * math/libm-test.inc (cos_test): Add a test case for large input
22112 value.
22113 (sin_test): Likewise.
22114 (sincos_test): Likewise.
22115
221162012-03-15 Andreas Jaeger <aj@suse.de>,
22117 Joseph Myers <joseph@codesourcery.com>
22118
22119 [BZ #13658]
0671f479 22120 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
22121 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22122 * sysdeps/i386/fpu/branred.c: Likewise.
22123 * sysdeps/i386/fpu/dosincos.c: Likewise.
22124 * sysdeps/i386/fpu/mpa.c: Likewise.
22125 * sysdeps/i386/fpu/s_cos.S: Likewise.
22126 * sysdeps/i386/fpu/s_sin.S: Likewise.
22127 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22128 * sysdeps/i386/fpu/sincos32.c: Likewise.
22129
22130 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22131 Define.
22132 (libc_feupdateenv_53bit): Define.
22133 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22134 Define.
22135 (libc_feupdateenv_53bit): Define.
22136
22137 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22138 53 bit (without extend i386 double precision).
22139
22140 * math/libm-test.inc (sincos_test): Add tests for large input.
22141 (sin): Likewise.
22142 (cos): Likewise.
22143
22144 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22145
9cad04ea
AS
221462012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22147
22148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22149
f7062b9a
DM
221502012-03-15 David S. Miller <davem@davemloft.net>
22151
22152 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22153 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22154 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22155 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22160 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22161 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22162 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22163 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22164 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22165 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22166 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
22167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22168 file.
f7062b9a 22169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
22170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22171 file.
f7062b9a 22172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
22173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22174 file.
f7062b9a 22175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
22176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22177 file.
f7062b9a
DM
22178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22179 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22180 fmin/fmax sysdep routines.
22181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22182
7bd951ff
DM
221832012-03-14 David S. Miller <davem@davemloft.net>
22184
559398ab
DM
22185 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22186 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22187 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22188 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22189 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22190 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22191 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22192 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22193 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22194 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22195 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22196 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22197 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22198 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22199 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22200 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22201 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22202 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22203 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22204 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22205 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22206 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22207 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22208 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22209 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22210 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22211 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22212 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22213 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22214 routines.
22215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22216 file.
559398ab 22217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
22218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22219 file.
559398ab 22220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
22221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22222 file.
559398ab 22223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
22224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22225 file.
559398ab 22226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
22227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22228 file.
559398ab 22229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
22230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22231 file.
22232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22233 file.
22234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22235 file.
22236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22237 file.
22238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22239 New file.
22240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22241 file.
22242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22243 file.
559398ab 22244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
22245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22246 file.
559398ab 22247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22249 file.
559398ab 22250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
22251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22252 file.
559398ab 22253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
22254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22255 VIS3 routines.
559398ab
DM
22256
22257 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22258 New file.
22259
5a1c1e32
DM
22260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22261
eae47a36
DM
22262 * sysdeps/sparc/configure.in: New file.
22263 * sysdeps/sparc/configure: Generate.
22264 * configure.in (libc_cv_sparc_as_vis3): Substitute.
22265 * configure: Regenerate.
22266 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22267 * config.make.in (have-as-vis3): New.
22268 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22269 available use -Av9d instead of -Av9a.
22270 * sysdeps/sparc/sparc64/Makefile: Likewise.
22271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
22272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22273 New file.
22274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22275 file.
22276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22277 New file.
22278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22279 file.
eae47a36
DM
22280 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22281 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22282 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22283 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22284 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22285
c0c83bc8
DM
22286 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22287 fzeros/fnegs to load 0x80000000 into a float register instead of
22288 using the stack.
7bd951ff
DM
22289 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22290
bd951ccb
JM
222912012-03-14 Joseph Myers <joseph@codesourcery.com>
22292
22293 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22294 bits/syscall.h.
22295 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22296 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22297 ($(inst_includedir)/bits/syscall.h): Remove rule.
22298 ($(objpfx)bits/syscall.d): Include instead of
22299 $(objpfx)syscall-list.d.
22300 (generated): Change syscall-list.h and syscall-list.d to
22301 bits/syscall.h and bits/syscall.d.
22302
bb4e6db2
RM
223032012-03-14 Roland McGrath <roland@hack.frob.com>
22304
22305 [BZ #13846]
22306 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22307
aa4a2ae1
JM
223082012-03-14 Joseph Myers <joseph@codesourcery.com>
22309
e456826d
JM
22310 [BZ #13841]
22311 * math/s_csqrt.c: Include <float.h>.
22312 (__csqrt): Scale large or subnormal inputs.
22313 * math/s_csqrtf.c: Likewise.
22314 * math/s_csqrtl.c: Likewise.
22315 * math/libm-test.inc (csqrt_test): Add more tests.
22316 * sysdeps/i386/fpu/libm-test-ulps: Update.
22317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22318
aa4a2ae1
JM
22319 [BZ #13840]
22320 * math/libm-test.inc (hypot_test): Add more tests.
22321
7c10fd35
DM
223222012-03-13 David S. Miller <davem@davemloft.net>
22323
22324 [BZ #13840]
22325 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22326 double-precision for the calculation instead of scaling.
22327
f453b98b
JM
223282012-03-13 Joseph Myers <joseph@codesourcery.com>
22329
22330 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22331 manipulate bits before adding and subtracting TWO52[sx].
22332 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22333 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22334 Likewise.
22335 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22336
09a3453f
DM
223372012-03-13 David S. Miller <davem@davemloft.net>
22338
8e59da90
DM
22339 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22340 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22341 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22342 rtld-global-offsets.h
22343 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22344
2a8ab7f2
DM
22345 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22346 large parameters.
22347
10f62770
DM
22348 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22349
5f0bdb18
DM
22350 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22351 'err' in the ifdef scope in which it is actually used.
22352
09a3453f
DM
22353 * nss/nss_db/db-init.c: Include string.h
22354
b4b2eb5e
DM
223552012-03-12 David S. Miller <davem@davemloft.net>
22356
98bb2f1c
DM
22357 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22358 masking out of the most significant byte of random value used.
22359 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22360 Fix coding style in previous change.
22361
b4b2eb5e
DM
22362 * sysdeps/unix/sysv/linux/kernel-features.h
22363 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22364 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22365 expression.
22366 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22367 later.
22368
6e226b09
DM
223692012-03-11 David S. Miller <davem@davemloft.net>
22370
a1bcbd40
DM
22371 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22372 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22373 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22374 for 'resultvar' otherwise things get truncated on 64-bit.
22375
cb9d6174
DM
22376 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22377 Fix masking out of the most significant byte of random value used.
22378
6e226b09
DM
22379 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22380
058c132d
AS
223812012-03-10 Andreas Schwab <schwab@linux-m68k.org>
22382
22383 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22384
2d2cd515
DM
223852012-03-09 David S. Miller <davem@davemloft.net>
22386
22387 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22388 variables with appropriate CPP guards.
22389 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22390 frame pointer, not the stack pointer. Correct layout comments. Fix test
22391 on resulting framesize and the management of the outregs buffer for pltexit.
22392 Preserve floating point return values across _dl_call_pltexit call.
22393 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22394 framesize and the management of the outregs buffer for pltexit.
22395 Preserve floating point return values across _dl_call_pltexit
22396 call.
22397 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22398 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22399 (print_exit): Fix format string for return register value.
22400
9a07f9d0
JM
224012012-03-10 Joseph Myers <joseph@codesourcery.com>
22402
22403 * sunrpc/Makefile (others): Add rpcgen.
22404 ($(objpfx)rpcgen): Remove special build rule and dependency on
22405 libc.
22406 * sunrpc/rpcgen.c: New file.
22407
547b5e30
PE
224082012-03-09 Paul Eggert <eggert@cs.ucla.edu>
22409
c524201a
PE
22410 [BZ #13673]
22411 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22412 * stdio-common/bug-vfprintf-nargs.c: Likewise.
22413 * sysdeps/i386/crti.S: Likewise.
22414 * sysdeps/i386/crtn.S: Likewise.
22415 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22416 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22417 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22418 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22419 * sysdeps/sh/crti.S: Likewise.
22420 * sysdeps/sh/crtn.S: Likewise.
22421 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22422
7b6235f2
PE
22423 [BZ #13673]
22424 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22425 with URL.
22426 * locale/programs/locfile-kw.gperf: Likewise.
22427 * locale/programs/charmap-kw.h: Regenerated.
22428 * locale/programs/locfile-kw.h: Likewise.
22429
547b5e30
PE
22430 [BZ #13673]
22431 * intl/plural.y: Replace FSF snail mail address with URL.
22432 * intl/plural.c: Regenerated.
22433
5f0a5dae
RH
224342012-03-09 Richard Henderson <rth@twiddle.net>
22435
22436 * include/math_private.h: Remove file.
22437 * math/math_private.h: Move file ...
22438 * sysdeps/generic/math_private.h: ... here.
22439
b8c03620
RH
22440 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22441 * sysdeps/powerpc/fpu/math_private.h: Likewise.
22442 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22443
4e234f5d 22444 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
22445 and <math_private.h>.
22446 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22447 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22448 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22449 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22450 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22451 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22452 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22453 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22454 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22455 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22456 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22457 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22458 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22459 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22460 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22461 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22462 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22463 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22464 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22465 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22466 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22467 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22468 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22469 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22470 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22471 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22472 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22473 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22474 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22475 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22476 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22477 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22478 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22479 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22480 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22481 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22482 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22483 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22484 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22485 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22486 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22487 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22488 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22489 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22490 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22491 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22492 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22493 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22494 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22495 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22496 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22497 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22498 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22499 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22500 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22501 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22502 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22503 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22504 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22505 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22506 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22507 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22508 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22509 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22510 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22511 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22512 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22513 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22514 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22515 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22516 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22517 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22518 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22519 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22520 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22521 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22522 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22523 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22524 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22525 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22526 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22527 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22528 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22529 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22530 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22531 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22532 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22533 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22534 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22535 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22536 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22537 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22538 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22539 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22540 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22541 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22542 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22543 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22544 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22545 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22546 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22547 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22548 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22549 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22550 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22551 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22552 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22553 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22554 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22555 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22556 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22557 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22558 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22559 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22560 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22561 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22562 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22563 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22564 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22565 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22566 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22567 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22568 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22569 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22570 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22571 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22572 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22573 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22574 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22575 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22576 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22577 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22578 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22579 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22580 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22581 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22582 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22583 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22584 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22585 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22586 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22587 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22588 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22589 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22590 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22591 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22592 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22593 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22594 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22595 * sysdeps/ieee754/k_standard.c: Likewise.
22596 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22597 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22598 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22599 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22600 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22601 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22602 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22603 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22604 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22605 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22606 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22607 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22608 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22609 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22610 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22611 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22612 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22613 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22614 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22615 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22616 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22617 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22618 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22619 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22620 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22621 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22622 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22623 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22624 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22625 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22626 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22627 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22628 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22629 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22630 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22631 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22632 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22633 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22634 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22635 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22636 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22637 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22638 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22639 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22640 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22641 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22642 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22643 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22644 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22645 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22646 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22647 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22648 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22649 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22650 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22651 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22652 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22653 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22654 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22655 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22656 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22657 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22658 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22659 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22660 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22661 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22662 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22663 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22664 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22665 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22666 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22667 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22668 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22669 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22670 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22671 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22672 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22673 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22674 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22675 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22676 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22677 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22678 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22679 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22680 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22681 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22682 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22683 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22684 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22685 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22686 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22687 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22688 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22689 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22690 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22691 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22692 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22693 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22694 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22695 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22696 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22697 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22698 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22699 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22700 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22701 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22702 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22703 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22704 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22705 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22706 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22707 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22708 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22709 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22710 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22711 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22712 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22713 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22714 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22715 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22716 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22717 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22718 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22719 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22720 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22721 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22722 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22723 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22724 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22725 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22726 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22727 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22728 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22729 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22730 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22731 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22732 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22733 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22734 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22735 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22736 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22737 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22738 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22739 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22740 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22741 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22742 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22743 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22744 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22745 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22746 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22747 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22748 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22749 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22750 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22751 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22752 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22753 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22754 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22755 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22756 * sysdeps/ieee754/s_lib_version.c: Likewise.
22757 * sysdeps/ieee754/s_matherr.c: Likewise.
22758 * sysdeps/ieee754/s_signgam.c: Likewise.
22759 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22760 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22761 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22762 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22763 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22764 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22765 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22766 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22767 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22768 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22769 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22770 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22771 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22772 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22773 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22774 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22775 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22776 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22777 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22778 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22779 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 22780
1991fa03
JM
227812012-03-09 Joseph Myers <joseph@codesourcery.com>
22782
22783 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22784 * sunrpc/rpc_main.c: Likewise.
22785 * sunrpc/rpc_svcout.c: Likewise.
22786
60d6f5a6
DM
227872012-03-09 David S. Miller <davem@davemloft.net>
22788
22789 * include/math_private.h: New file.
22790
4962050e
JM
227912012-03-09 Joseph Myers <joseph@codesourcery.com>
22792
02a6f887
JM
22793 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22794 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22795 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22796 from <bits/socket_type.h>.
22797 (enum __socket_type): Don't define here.
22798 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22799 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22800 bits/socket_type.h.
22801
c6e013c1
JM
22802 [BZ #13566]
22803 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22804 checking __USE_GNU.
22805
4962050e
JM
22806 * Makerules ($(inst_includedir)/%.h): New rule.
22807 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22808 (install-others): Remove variable setting.
22809 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22810
38842f45
RH
228112012-03-08 Richard Henderson <rth@twiddle.net>
22812
67bb6da6
RH
22813 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22814 from macro to inline function; merge with the
22815 !__LIBC_INTERNAL_MATH_INLINES version.
22816 (__ieee754_sqrtf): Likewise.
22817
15194b4b
RH
22818 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22819 to inline function.
22820 (__rintf, __floor, __floorf): Likewise.
22821
64e21ede
RH
22822 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22823 macro to inline function.
22824 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22825
38842f45
RH
22826 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22827 not <math/math_private.h>.
22828
c64bf5fe
DM
228292012-03-08 David S. Miller <davem@davemloft.net>
22830
22831 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22832 copyright year.
22833 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22834
82d86f28
TS
228352012-03-08 Thomas Schwinge <thomas@codesourcery.com>
22836
22837 * resolv/gai_misc.c (handle_requests): Fix struct timespec
22838 normalization.
22839 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22840 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22841
aea5d727
UD
228422012-03-08 Ulrich Drepper <drepper@gmail.com>
22843
22844 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
22845 be defined individually, they must be defined as a block. Define
22846 S for printing a string instead of hidint the different by using a
22847 macro for adding the 'l'.
22848 * stdio-common/tst-fphex-wide.c: Adjust.
22849
70bca0a3
MP
228502012-03-07 Marek Polacek <polacek@redhat.com>
22851
22852 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22853
65b81130
MP
228542012-03-08 Marek Polacek <polacek@redhat.com>
22855
22856 [BZ #13806]
22857 * stdio-common/Makefile (tests): Add tst-fphex-wide.
22858 * stdio-common/tst-fphex.c: Define a few macros to make the
22859 test reusable. Use them.
22860 * stdio-common/tst-fphex-wide.c: New file.
22861
07037eeb
JM
228622012-03-08 Joseph Myers <joseph@codesourcery.com>
22863
a7a93d50
JM
22864 [BZ #6911]
22865 * manual/macros.texi (gnusystems): New macro.
22866 (nongnusystems): Likewise.
22867 (gnulinuxhurdsystems): Likewise.
22868 (gnuhurdsystems): Likewise..
22869 (gnulinuxsystems): Likewise.
22870 * manual/charset.texi: Use new macros or @theglibc{} to refer to
22871 variants of the GNU system, not "GNU system".
22872 * manual/conf.texi: Likewise.
22873 * manual/errno.texi: Likewise. Update example of errno macro
22874 expansion.
22875 * manual/filesys.texi: Likewise.
22876 (getumask): Document as specific to GNU/Hurd.
22877 * manual/install.texi: Likewise. Reword some references to
22878 GNU/Linux.
22879 * manual/intro.texi: Likewise.
22880 * manual/io.texi: Likewise.
22881 (File Name Portability): Detail which constraints are inapplicable
22882 to all GNU systems and which are only inapplicable to GNU/Hurd.
22883 * manual/job.texi: Likewise.
22884 * manual/llio.texi: Likewise.
22885 (O_NOCTTY): Document as present on GNU/Linux.
22886 * manual/maint.texi: Likewise.
22887 * manual/memory.texi: Likewise.
22888 * manual/pattern.texi: Likewise.
22889 * manual/pipe.texi: Likewise.
22890 * manual/process.texi: Likewise.
22891 * manual/resource.texi: Likewise.
22892 (RUSAGE_CHILDREN): Remove statement about specifying a particular
22893 child on GNU/Hurd.
22894 * manual/setjmp.texi: Likewise.
22895 * manual/signal.texi: Likewise.
22896 * manual/startup.texi: Likewise.
22897 * manual/stdio.texi: Likewise.
22898 * manual/terminal.texi: Likewise.
22899 (ONLCR): Document as POSIX.
22900 (OXTABS): Document availability on GNU/Linux as XTABS.
22901 (ONOEOT): Document availability separately from other bits.
22902 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22903 * manual/time.texi: Likewise.
22904 * manual/users.texi: Likewise.
22905 * INSTALL: Regenerated.
22906 * sysdeps/gnu/errlist.c: Regenerated.
22907
07037eeb
JM
22908 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22909 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22910 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
22911 puts.
22912 * configure: Regenerated.
22913
d1d3431a
JM
229142012-03-07 Joseph Myers <joseph@codesourcery.com>
22915
af6a1e37
JM
22916 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22917 default includes instead of AC_HEADER_CHECK.
22918 * sysdeps/i386/configure: Regenerated.
22919
d1d3431a
JM
22920 [BZ #10716]
22921 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22922 * math/s_cacoshf.c (__cacoshf): Likewise.
22923 * math/s_cacoshl.c (__cacoshl): Likewise.
22924 * math/s_casinh.c (__casinh): Set signs of result from argument.
22925 * math/s_casinhf.c (__casinhf): Likewise.
22926 * math/s_casinhl.c (__casinhl): Likewise.
22927 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22928 (casinh_test): Add more tests.
22929 * sysdeps/i386/fpu/libm-test-ulps: Update.
22930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22931
482ff4da
UD
229322012-03-07 Ulrich Drepper <drepper@gmail.com>
22933
872fda05
UD
22934 * po/zh_TW.po: Update from translation team.
22935
a4300c7a
UD
22936 * login/Makefile (distribute): Remove variable.
22937 * catgets/Makefile: Likewise.
22938 * mach/Makefile: Likewise.
22939 * malloc/Makefile: Likewise.
22940 * misc/Makefile: Likewise.
22941 * iconv/Makefile: Likewise.
22942 * nscd/Makefile: Likewise.
22943 * hurd/Makefile: Likewise.
22944 * manual/Makefile: Likewise.
22945 * locale/Makefile: Likewise.
22946 * intl/Makefile: Likewise.
22947 * conform/Makefile: Likewise.
22948 * nss/Makefile: Likewise.
22949 * time/Makefile: Likewise.
22950 * soft-fp/Makefile: Likewise.
22951 * dirent/Makefile: Likewise.
22952 * gmon/Makefile: Likewise.
22953 * po/Makefile: Likewise.
22954 * rt/Makefile: Likewise.
22955 * socket/Makefile: Likewise.
22956 * math/Makefile: Likewise.
22957 * signal/Makefile: Likewise.
22958 * debug/Makefile: Likewise.
22959 * elf/Makefile: Likewise.
22960 * timezone/Makefile: Likewise.
22961 * stdlib/Makefile: Likewise.
22962 * iconvdata/Makefile: Likewise.
22963 * sunrpc/Makefile: Likewise.
22964 * io/Makefile: Likewise.
22965 * argp/Makefile: Likewise.
22966 * inet/Makefile: Likewise.
22967 * hesiod/Makefile: Likewise.
22968 * grp/Makefile: Likewise.
22969 * csu/Makefile: Likewise.
22970 * wctype/Makefile: Likewise.
22971 * crypt/Makefile: Likewise.
22972 * libio/Makefile: Likewise.
22973 * string/Makefile: Likewise.
22974 * nis/Makefile: Likewise.
22975 * resolv/Makefile: Likewise.
22976 * stdio-common/Makefile: Likewise.
22977 * wcsmbs/Makefile: Likewise.
22978 * dlfcn/Makefile: Likewise.
22979 * posix/Makefile: Likewise.
22980
3b7c4e74 22981 [BZ #6959]
482ff4da
UD
22982 * timezone/Makefile: Don't install timezone files, just the programs
22983 and scripts.
22984
f72ed77d
UD
229852012-03-06 Ulrich Drepper <drepper@gmail.com>
22986
a000466f
UD
22987 * nss/databases.def: Add missing gshadow entry.
22988
f72ed77d
UD
22989 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
22990
a53b7a4e
MP
229912012-03-06 Marek Polacek <polacek@redhat.com>
22992
22993 [BZ #13726]
22994 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22995 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22996 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22997 * stdio-common/tst-long-dbl-fphex.c: New file.
22998
e9258400
DM
229992012-03-06 David S. Miller <davem@davemloft.net>
23000
23001 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23002 (set_obp_int): New function.
23003 (get_obp_int): New function.
23004 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
23005 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23006 Avoid unused variable warnings on 'val' and use builtin_expect.
23007 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23008 __builtin_expect.
e9258400
DM
23009 (INLINE_CLONE_SYSCALL): Likewise.
23010
3bd2c723
DM
230112012-03-05 David S. Miller <davem@davemloft.net>
23012
23013 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23014
bbb78d03
AS
230152012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23016
884c5db4
AS
23017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23018
bbb78d03
AS
23019 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23020 only for |x| >= 40.
23021 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23022
1c9f702a 230232012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
23024
23025 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23026 Replace gettimeofday with __vdso_gettimeofday.
23027
7be16f82
RM
23028 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23029 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23030 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
23031
23032 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23033 time with __vdso_time.
23034
ed58a00f
JM
230352012-03-05 Joseph Myers <joseph@codesourcery.com>
23036
23037 * manual/lang.texi (size_t): Note types to which size_t may be
23038 equivalent with the GNU C Library, but do not describe when
23039 differences between them are significant.
23040
30ee4ced
AJ
230412012-03-05 Andreas Jaeger <aj@suse.de>
23042
23043 * sysdeps/i386/fpu/libm-test-ulps: Update.
23044
b7cd39e8
JM
230452012-03-05 Joseph Myers <joseph@codesourcery.com>
23046
23047 [BZ #3976]
23048 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23049 (__ieee754_pow): Save and restore rounding mode and use
23050 round-to-nearest for main computations.
23051 * math/libm-test.inc (pow_test_tonearest): New function.
23052 (pow_test_towardzero): Likewise.
23053 (pow_test_downward): Likewise.
23054 (pow_test_upward): Likewise.
23055 (main): Call the new functions.
23056 * sysdeps/i386/fpu/libm-test-ulps: Update.
23057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
23058
23059 [BZ #3976]
23060 * math/libm-test.inc (cosh_test_tonearest): New function.
23061 (cosh_test_towardzero): Likewise.
23062 (cosh_test_downward): Likewise.
23063 (cosh_test_upward): Likewise.
23064 (sinh_test_tonearest): Likewise.
23065 (sinh_test_towardzero): Likewise.
23066 (sinh_test_downward): Likewise.
23067 (sinh_test_upward): Likewise.
23068 (main): Call the new functions.
23069 * sysdeps/i386/fpu/libm-test-ulps: Update.
23070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23071
6c6a98c9
TV
230722012-03-05 Tom de Vries <tom@codesourcery.com>
23073
23074 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23075 default stack guard is set in last bytes.
23076 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23077
21bb2d2e 230782012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 23079
21bb2d2e 23080 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 23081
21bb2d2e
AJ
23082 [BZ #13656]
23083 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23084 possibly allocate from heap instead of stack.
23085 * stdio-common/bug-vfprintf-nargs.c: New file.
23086 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 23087
c6922934
AS
230882012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23089
23090 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23091
bc957d53
MP
230922012-03-03 Marek Polacek <polacek@redhat.com>
23093
23094 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23095 * math/math_private.h: Likewise.
23096 * stdlib/tst-strtod.c: Likewise.
23097 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23098 * sysdeps/x86_64/bits/atomic.h: Likewise.
23099
6358490d
DM
231002012-03-02 David S. Miller <davem@davemloft.net>
23101
23102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23106 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23107 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23108 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23109 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23110
01ae168d
RM
231112012-03-02 Roland McGrath <roland@hack.frob.com>
23112
d9a17c07
RM
23113 [BZ #13792]
23114 * manual/examples/README: New file, says the example source files
23115 can be used under GPL>=2.
23116 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23117 line containing just "*/".
23118 * manual/examples/add.c: Add copyright header (GPL>=2).
23119 * manual/examples/argp-ex1.c: Likewise.
23120 * manual/examples/argp-ex2.c: Likewise.
23121 * manual/examples/argp-ex3.c: Likewise.
23122 * manual/examples/argp-ex4.c: Likewise.
23123 * manual/examples/atexit.c: Likewise.
23124 * manual/examples/db.c: Likewise.
23125 * manual/examples/dir.c: Likewise.
23126 * manual/examples/dir2.c: Likewise.
23127 * manual/examples/execinfo.c: Likewise.
23128 * manual/examples/filecli.c: Likewise.
23129 * manual/examples/filesrv.c: Likewise.
23130 * manual/examples/fmtmsgexpl.c: Likewise.
23131 * manual/examples/genpass.c: Likewise.
23132 * manual/examples/inetcli.c: Likewise.
23133 * manual/examples/inetsrv.c: Likewise.
23134 * manual/examples/isockad.c: Likewise.
23135 * manual/examples/longopt.c: Likewise.
23136 * manual/examples/memopen.c: Likewise.
23137 * manual/examples/memstrm.c: Likewise.
23138 * manual/examples/mkfsock.c: Likewise.
23139 * manual/examples/mkisock.c: Likewise.
23140 * manual/examples/mygetpass.c: Likewise.
23141 * manual/examples/pipe.c: Likewise.
23142 * manual/examples/popen.c: Likewise.
23143 * manual/examples/rprintf.c: Likewise.
23144 * manual/examples/search.c: Likewise.
23145 * manual/examples/select.c: Likewise.
23146 * manual/examples/setjmp.c: Likewise.
23147 * manual/examples/sigh1.c: Likewise.
23148 * manual/examples/sigusr.c: Likewise.
23149 * manual/examples/stpcpy.c: Likewise.
23150 * manual/examples/strdupa.c: Likewise.
23151 * manual/examples/strftim.c: Likewise.
23152 * manual/examples/strncat.c: Likewise.
23153 * manual/examples/subopt.c: Likewise.
23154 * manual/examples/swapcontext.c: Likewise.
23155 * manual/examples/termios.c: Likewise.
23156 * manual/examples/testopt.c: Likewise.
23157 * manual/examples/testpass.c: Likewise.
23158 * manual/examples/timeval_subtract.c: Likewise.
23159
01ae168d
RM
23160 [BZ #13792]
23161 * manual/time.texi (Elapsed Time): Move timeval_subtract example
23162 function to ...
23163 * manual/timeval_subtract.c.texi: ... here, new file.
23164
49efa33d
DM
231652012-03-02 David S. Miller <davem@davemloft.net>
23166
23167 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23168
28afd92d
JM
231692012-03-02 Joseph Myers <joseph@codesourcery.com>
23170
804360ed
JM
23171 [BZ #3976]
23172 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23173 (__sin): Save and restore rounding mode and use round-to-nearest
23174 for all computations.
23175 (__cos): Save and restore rounding mode and use round-to-nearest
23176 for all computations.
23177 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23178 <fenv.h>.
23179 (tan): Save and restore rounding mode and use round-to-nearest for
23180 all computations.
23181 * math/libm-test.inc (cos_test_tonearest): New function.
23182 (cos_test_towardzero): Likewise.
23183 (cos_test_downward): Likewise.
23184 (cos_test_upward): Likewise.
23185 (sin_test_tonearest): Likewise.
23186 (sin_test_towardzero): Likewise.
23187 (sin_test_downward): Likewise.
23188 (sin_test_upward): Likewise.
23189 (tan_test_tonearest): Likewise.
23190 (tan_test_towardzero): Likewise.
23191 (tan_test_downward): Likewise.
23192 (tan_test_upward): Likewise.
23193 (main): Call the new functions.
23194 * sysdeps/i386/fpu/libm-test-ulps: Update.
23195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23196
a6d06d7b
JM
23197 [BZ #10135]
23198 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23199 small n, then large n, before computing and testing k+n.
23200 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23201 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23202 Likewise.
23203 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23204 Likewise.
23205 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23206 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23207 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23208 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23209 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23210 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23211 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23212 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23213 * math/libm-test.inc (scalbn_test): Add more tests.
23214 (scalbln_test): Likewise.
23215
07e12bb3
JM
23216 * manual/filesys.texi (mode_t): Describe constraints on size and
23217 signedness, not exact equivalence to a particular type.
23218 (ino_t): Likewise.
23219 (ino64_t): Likewise.
23220 (dev_t): Likewise.
23221 (nlink_t): Likewise.
23222 (blkcnt_t): Likewise.
23223 (blkcnt64_t): Likewise.
23224 * manual/llio.texi (off_t): Likewise.
23225
28afd92d
JM
23226 [BZ #3976]
23227 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23228 (__ieee754_exp): Save and restore rounding mode and use
23229 round-to-nearest for all computations.
23230 * math/libm-test.inc (exp_test_tonearest): New function.
23231 (exp_test_towardzero): Likewise.
23232 (exp_test_downward): Likewise.
23233 (exp_test_upward): Likewise.
23234 (main): Call the new functions.
23235 * sysdeps/i386/fpu/libm-test-ulps: Update.
23236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23237
b1eeb65d
CD
232382012-03-01 Chris Demetriou <cgd@google.com>
23239
23240 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23241 have predictable order.
23242
53362a4b
DM
232432012-03-01 David S. Miller <davem@davemloft.net>
23244
3c969083
DM
23245 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23246
759707de
DM
23247 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23248 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23249 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23250 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23251
dfdb8ff2
DM
23252 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23253 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23254 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23256 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23257 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23258 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23259 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23260 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23261
ead89f96
DM
23262 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23263
7f66bd07
DM
23264 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23265 * sysdeps/sparc/fpu/libm-test-ulps: to here.
23266 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23267
53362a4b
DM
23268 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23269 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23270 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23271 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23272 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23273 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23274 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23275 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23276 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23277 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23278 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23279 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23280 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23281 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23282 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23283 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23284 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23285 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23286 * sysdeps/sparc/elf/configure: Regenerated.
23287
7b1902cb
JM
232882012-03-01 Joseph Myers <joseph@codesourcery.com>
23289
bec039bc
JM
23290 * configure.in (AS, LD): Require binutils 2.20 or later.
23291 * configure: Regenerated.
23292 * manual/install.texi (Tools for Compilation): Give binutils 2.20
23293 as required minimum version.
23294 * INSTALL: Regenerated.
23295
7b1902cb
JM
23296 [BZ #2541]
23297 [BZ #4108]
23298 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23299 before squaring exponent.
23300 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23301 bottom long double and 27 bits of top long double before squaring
23302 exponent.
23303 * math/libm-test.inc (erfc_test): Add more tests.
23304 * sysdeps/i386/fpu/libm-test-ulps: Update.
23305 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23307
f775c276
KT
233082012-03-01 Kai Tietz <ktietz@redhat.com>
23309
23310 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23311 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23312 containing bit-fields.
23313 * soft-fp/extended.h (_FP_UNION_E): Likewise.
23314 * soft-fp/single.h (_FP_UNION_S): Likewise.
23315 * soft-fp/double.h (_FP_UNION_D): Likewise.
23316
5b8a4d4a
JM
233172012-02-29 Joseph Myers <joseph@codesourcery.com>
23318
0bab47b6
JM
23319 [BZ #13786]
23320 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23321 not include ../strcmp.S.
23322 [USE_AS_STRNCASECMP_L]: Likewise.
23323 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23324 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23325 * sysdeps/i386/i686/multiarch/strncase_l-c.c
23326 (__strncasecmp_l_ia32): Define as alias to
23327 __strncasecmp_l_nonascii.
23328
0fcad3e2
JM
23329 [BZ #5794]
23330 * math/libm-test.inc (expm1_test): Add test for bug 5794.
23331 * sysdeps/i386/fpu/libm-test-ulps: Update.
23332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23333
5b8a4d4a
JM
23334 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23336
8fdceb2e
JL
233372012-02-29 Jeff Law <law@redhat.com>
23338
23339 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23340 out of bounds read.
23341
1f393a11
MP
233422012-02-29 Marek Polacek <polacek@redhat.com>
23343
23344 [BZ #13706]
23345 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23346 * elf/Makefile: Add rules to run tst-unused-dep.out.
23347
8847f037
DM
233482012-02-28 David S. Miller <davem@davemloft.net>
23349
23350 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23351 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23352 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23353 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23354 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23355 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23356
169d7f11
JM
233572012-02-29 Joseph Myers <joseph@codesourcery.com>
23358
23359 * math/libm-test.inc (llround_test): Move one test from
23360 lround_test. Use TEST_f_L in moved test.
23361 (lround_test): Move misplaced test to llround_test. Add testcase
23362 from bug 2561.
23363
39adf059
UD
233642012-02-28 Ulrich Drepper <drepper@gmail.com>
23365
23366 * sysdeps/x86_64/fpu/e_expf.S: New file.
23367 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23368
71b5d1c5
SB
233692012-02-28 Stanislav Brabec <sbrabec@suse.cz>
23370
23371 [BZ #13637]
23372 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23373 of remain_len that may cause incomplete multi-byte character and
23374 false match.
23375 * posix/bug-regex33.c: New file.
23376 * posix/Makefile (tests): Add bug-regex33.
23377
1f77f049
JM
233782012-02-28 Joseph Myers <joseph@codesourcery.com>
23379
23380 * manual/macros.texi: New file.
23381 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23382 * manual/libc.texinfo: Include macros.texi.
23383 * manual/creatute.texi: Likewise.
23384 * manual/install.texi: Likewise.
23385 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23386 @glibcadj{} in references to the GNU C Library.
23387 * manual/charset.texi: Likewise.
23388 * manual/conf.texi: Likewise.
23389 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
23390 when not using those macros.
23391 * manual/creature.texi: Likewise.
23392 * manual/crypt.texi: Likewise.
23393 * manual/errno.texi: Likewise.
23394 * manual/filesys.texi: Likewise.
23395 * manual/header.texi: Likewise.
23396 * manual/install.texi: Likewise.
23397 * manual/intro.texi: Likewise.
23398 * manual/io.texi: Likewise.
23399 * manual/job.texi: Likewise.
23400 * manual/lang.texi: Likewise.
23401 * manual/libc.texiinfo: Likewise.
23402 * manual/llio.texi: Likewise.
23403 * manual/locale.texi: Likewise.
23404 * manual/maint.texi: Likewise.
23405 * manual/math.texi: Likewise.
23406 * manual/memory.texi: Likewise.
23407 * manual/message.texi: Likewise.
23408 * manual/nss.texi: Likewise.
23409 * manual/pattern.texi: Likewise.
23410 * manual/process.texi: Likewise.
23411 * manual/resource.texi: Likewise.
23412 * manual/search.texi: Likewise.
23413 * manual/setjmp.texi: Likewise.
23414 * manual/signal.texi: Likewise.
23415 * manual/socket.texi: Likewise.
23416 * manual/startup.texi: Likewise.
23417 * manual/stdio.texi: Likewise.
23418 * manual/string.texi: Likewise.
23419 * manual/sysinfo.texi: Likewise.
23420 * manual/syslog.texi: Likewise.
23421 * manual/terminal.texi: Likewise.
23422 * manual/time.texi: Likewise.
23423 * manual/users.texi: Likewise.
23424 * INSTALL: Regenerated.
23425 * NOTES: Regenerated.
d40c5d54 23426 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 23427
450bf206
AS
234282012-02-28 Andreas Schwab <schwab@linux-m68k.org>
23429
23430 * include/dirent.h: Include <dirstream.h> before
23431 <dirent/dirent.h>.
23432
741a235b
DM
234332012-02-28 David S. Miller <davem@davemloft.net>
23434
23435 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23436 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23437 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23438 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23439
d6b5aa58
DM
234402012-02-27 David S. Miller <davem@davemloft.net>
23441
1aff59a3
DM
23442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23444 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23445 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23446
d6b5aa58
DM
23447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23448 frame pointer instead of stack pointer relative arg slot.
23449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23450 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23451 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23452
433f48bf
CD
234532012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
23454
23455 [BZ #3992]
23456 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23457
d674b76d
DM
234582012-02-27 David S. Miller <davem@davemloft.net>
23459
23460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23463 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23464 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23465 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23466 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23467 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23468
0e7727f7
JM
234692012-02-27 Joseph Myers <joseph@codesourcery.com>
23470
23471 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23472 later. Allow versions 5-9.
43be4ca2 23473 * configure: Regenerated.
0e7727f7
JM
23474 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23475 required minimum version and 4.6 as recommended version. Do not
23476 mention bugs in GCC 2.7 and 2.8.
43be4ca2 23477 * INSTALL: Regenerated.
0e7727f7 23478
a78bc654
DM
234792012-02-27 David S. Miller <davem@davemloft.net>
23480
428d5830
DM
23481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23485 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23486 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23487 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23488 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23489
a78bc654
DM
23490 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23491 manipulate bits before adding and subtracting TWO112[sx].
23492 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23493
4579f81c
RM
234942012-02-27 Roland McGrath <roland@hack.frob.com>
23495
36c8acb4
RM
23496 [BZ #13775]
23497 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23498 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23499 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23500 being in POSIX, because they are in 1003.1-2008.
23501
84ad622b
RM
23502 * rt/tst-aio.c: Include <fcntl.h>.
23503 * rt/tst-aio7.c: Likewise.
23504 * rt/tst-aio64.c: Likewise.
23505
4579f81c
RM
23506 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23507
abd923db
JM
235082012-02-27 Joseph Myers <joseph@codesourcery.com>
23509
23510 * manual/install.texi (--with-headers): Describe headers as
23511 interface headers, not private headers.
23512 (Specific advice for GNU/Linux systems): Describe use of headers
23513 from "make headers_install", not private headers from older
23514 kernels.
43be4ca2 23515 * INSTALL: Regenerated.
abd923db
JM
23516 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23517 Change to 2.6.19.
23518 * sysdeps/unix/sysv/linux/configure: Regenerated.
23519
6664049b
JM
23520 * manual/llio.texi (fclean): Remove documentation.
23521
bb8b6697
JM
23522 * manual/Makefile (libc-texi-generated): New variable. Include
23523 version.texi.
23524 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23525 $(libc-texi-generated), not duplicated list of files.
23526 (version.texi, stamp-version): New rules.
23527 (realclean): Remove $(libc-texi-generated), not individual files
23528 from that list. Do not remove dir-add.texinfo.
23529 * manual/libc.texinfo: Comment out uses of edition numbers and
23530 references to printed manual. Remove last-updated dates.
23531 (EDITION): Comment out.
23532 (ISBN): Likewise.
23533 (VERSION, UPDATED): Remove.
23534 (version.texi): Include.
23535
12e5c3b9
AS
235362012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23537
23538 * sysdeps/posix/spawni.c: Include <signal.h>.
23539 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23540 * sysdeps/pthread/aio_fsync.c: Likewise.
23541
4efeffc1 235422012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 23543
ba63ba08
UD
23544 * conform/Makefile (tests): Run only when not cross-compiling and
23545 when fast-check is not defined.
23546
d94a4670
UD
23547 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23548 * conform/data/limits.h-data: Fixes for POSIX2008.
23549 * conform/run-conformtest.sh: Run all tests.
23550 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23551 headers.
23552 * include/bits/dlfcn.h: Likewise.
23553 * include/langinfo.h: Likewise.
23554 * include/monetary.h: Likewise.
23555 * include/sys/poll.h: Likewise.
23556
23557 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23558 for __USE_GNU.
23559 * posix/spawn.h: Define __need_sigset_t.
23560 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23561 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23562 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23563 to get sigevent_t only.
23564 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23565 only for __USE_GNU.
23566 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23567 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23568 process_vm_writev only for __USE_GNU.
23569 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
23570
23571 * conform/Makefile: For now ignore errors from run-conformtest.
23572 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23573 POSIX to avoid namespace pollution. Don't prepend headers.
23574 * conform/data/aio.h-data: Fixes for POSIX testing.
23575 * conform/data/fcntl.h-data: Likewise.
23576 * conform/data/glob.h-data: Likewise.
23577 * conform/data/grp.h-data: Likewise.
23578 * conform/data/pthread.h-data: Likewise.
23579 * conform/data/pwd.h-data: Likewise.
23580 * conform/data/signal.h-data: Likewise.
23581 * conform/data/spawn.h-data: Likewise.
23582 * conform/data/stdio.h-data: Likewise.
23583 * conform/data/stdlib.h-data: Likewise.
23584 * conform/data/stropts.h-data: Likewise.
23585 * conform/data/sys/mman.h-data: Likewise.
23586 * conform/data/sys/stat.h-data: Likewise.
23587 * conform/data/sys/types.h-data: Likewise.
23588 * conform/data/sys/wait.h-data: Likewise.
23589 * conform/data/time.h-data: Likewise.
23590 * conform/data/unistd.h-data: Likewise.
23591 * conform/data/utime.h-data: Likewise.
23592
23593 * io/sys/stat.h: fchmod was always in POSIX.
23594 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23595 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23596 * rt/aio.h: Define __need_timespec before including <time.h>.
23597 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23598 struct. Add forward declaration of pthread_attr_t and use it in
23599 sigevent.
23600 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23601 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23602 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23603 always remove CLK_TCK definition.
23604
c20105c3
AS
236052012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23606
23607 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23608
7a270350
UD
236092012-02-25 Ulrich Drepper <drepper@gmail.com>
23610
31341567
UD
23611 * conform/run-conformtest.sh: New file.
23612 * conform/Makefile: Run run-conformtest for tests.
23613 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23614 support.
23615
23616 * conform/data/uchar.h-data: New file.
23617 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23618 * conform/data/arpa/inet.h-data: Likewise.
23619 * conform/data/assert.h-data: Likewise.
23620 * conform/data/complex.h-data: Likewise.
23621 * conform/data/cpio.h-data: Likewise.
23622 * conform/data/ctype.h-data: Likewise.
23623 * conform/data/dirent.h-data: Likewise.
23624 * conform/data/dlfcn.h-data: Likewise.
23625 * conform/data/errno.h-data: Likewise.
23626 * conform/data/fcntl.h-data: Likewise.
23627 * conform/data/float.h-data: Likewise.
23628 * conform/data/fmtmsg.h-data: Likewise.
23629 * conform/data/fnmatch.h-data: Likewise.
23630 * conform/data/ftw.h-data: Likewise.
23631 * conform/data/glob.h-data: Likewise.
23632 * conform/data/grp.h-data: Likewise.
23633 * conform/data/iconv.h-data: Likewise.
23634 * conform/data/inttypes.h-data: Likewise.
23635 * conform/data/langinfo.h-data: Likewise.
23636 * conform/data/libgen.h-data: Likewise.
23637 * conform/data/limits.h-data: Likewise.
23638 * conform/data/locale.h-data: Likewise.
23639 * conform/data/math.h-data: Likewise.
23640 * conform/data/monetary.h-data: Likewise.
23641 * conform/data/mqueue.h-data: Likewise.
23642 * conform/data/ndbm.h-data: Likewise.
23643 * conform/data/net/if.h-data: Likewise.
23644 * conform/data/netdb.h-data: Likewise.
23645 * conform/data/netinet/in.h-data: Likewise.
23646 * conform/data/nl_types.h-data: Likewise.
23647 * conform/data/poll.h-data: Likewise.
23648 * conform/data/pthread.h-data: Likewise.
23649 * conform/data/pwd.h-data: Likewise.
23650 * conform/data/regex.h-data: Likewise.
23651 * conform/data/sched.h-data: Likewise.
23652 * conform/data/search.h-data: Likewise.
23653 * conform/data/semaphore.h-data: Likewise.
23654 * conform/data/setjmp.h-data: Likewise.
23655 * conform/data/signal.h-data: Likewise.
23656 * conform/data/spawn.h-data: Likewise.
23657 * conform/data/stdarg.h-data: Likewise.
23658 * conform/data/stdio.h-data: Likewise.
23659 * conform/data/stdlib.h-data: Likewise.
23660 * conform/data/string.h-data: Likewise.
23661 * conform/data/strings.h-data: Likewise.
23662 * conform/data/stropts.h-data: Likewise.
23663 * conform/data/sys/ipc.h-data: Likewise.
23664 * conform/data/sys/mman.h-data: Likewise.
23665 * conform/data/sys/msg.h-data: Likewise.
23666 * conform/data/sys/resource.h-data: Likewise.
23667 * conform/data/sys/select.h-data: Likewise.
23668 * conform/data/sys/sem.h-data: Likewise.
23669 * conform/data/sys/shm.h-data: Likewise.
23670 * conform/data/sys/socket.h-data: Likewise.
23671 * conform/data/sys/stat.h-data: Likewise.
23672 * conform/data/sys/statvfs.h-data: Likewise.
23673 * conform/data/sys/time.h-data: Likewise.
23674 * conform/data/sys/timeb.h-data: Likewise.
23675 * conform/data/sys/times.h-data: Likewise.
23676 * conform/data/sys/types.h-data: Likewise.
23677 * conform/data/sys/uio.h-data: Likewise.
23678 * conform/data/sys/un.h-data: Likewise.
23679 * conform/data/sys/utsname.h-data: Likewise.
23680 * conform/data/sys/wait.h-data: Likewise.
23681 * conform/data/syslog.h-data: Likewise.
23682 * conform/data/tar.h-data: Likewise.
23683 * conform/data/termios.h-data: Likewise.
23684 * conform/data/utime.h-data: Likewise.
23685 * conform/data/utmpx.h-data: Likewise.
23686 * conform/data/varargs.h-data: Likewise.
23687 * conform/data/wchar.h-data: Likewise.
23688 * conform/data/wctype.h-data: Likewise.
23689 * conform/data/wordexp.h-data: Likewise.
23690
23691 * include/stropts.h: New file.
23692 * include/uchar.h: New file.
23693 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23694 * include/assert.h: Likewise.
23695 * include/ctype.h: Likewise.
23696 * include/dirent.h: Likewise.
23697 * include/dlfcn.h: Likewise.
23698 * include/fcntl.h: Likewise.
23699 * include/fnmatch.h: Likewise.
23700 * include/glob.h: Likewise.
23701 * include/grp.h: Likewise.
23702 * include/libio.h: Likewise.
23703 * include/locale.h: Likewise.
23704 * include/math.h: Likewise.
23705 * include/net/if.h: Likewise.
23706 * include/netdb.h: Likewise.
23707 * include/netinet/in.h: Likewise.
23708 * include/pthread.h: Likewise.
23709 * include/pwd.h: Likewise.
23710 * include/regex.h: Likewise.
23711 * include/sched.h: Likewise.
23712 * include/search.h: Likewise.
23713 * include/setjmp.h: Likewise.
23714 * include/signal.h: Likewise.
23715 * include/stdio.h: Likewise.
23716 * include/stdlib.h: Likewise.
23717 * include/string.h: Likewise.
23718 * include/sys/cdefs.h: Likewise.
23719 * include/sys/mman.h: Likewise.
23720 * include/sys/msg.h: Likewise.
23721 * include/sys/resource.h: Likewise.
23722 * include/sys/select.h: Likewise.
23723 * include/sys/socket.h: Likewise.
23724 * include/sys/stat.h: Likewise.
23725 * include/sys/statvfs.h: Likewise.
23726 * include/sys/time.h: Likewise.
23727 * include/sys/times.h: Likewise.
23728 * include/sys/uio.h: Likewise.
23729 * include/sys/utsname.h: Likewise.
23730 * include/sys/wait.h: Likewise.
23731 * include/termios.h: Likewise.
23732 * include/time.h: Likewise.
23733 * include/ulimit.h: Likewise.
23734 * include/unistd.h: Likewise.
23735 * include/utime.h: Likewise.
23736 * include/wchar.h: Likewise.
23737 * include/wctype.h: Likewise.
23738 * include/wordexp.h: Likewise.
23739
23740 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23741
7a270350
UD
23742 * time/time.h: TIME_UTC must be a macro.
23743 Make timespec_get available for ISO C11 only as well.
23744
7724defc
UD
237452012-02-24 Ulrich Drepper <drepper@gmail.com>
23746
23747 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23748 Reported by Peng Haitao <penght@cn.fujitsu.com>.
23749
6b1d1d46
JM
237502012-02-24 Joseph Myers <joseph@codesourcery.com>
23751
23752 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 23753
0f8bbd69
JM
237542012-02-24 Joseph Myers <joseph@codesourcery.com>
23755
23756 * manual/texinfo.tex: Update to version 2012-01-19.16.
23757
66ab80bc
JM
237582012-02-24 Joseph Myers <joseph@codesourcery.com>
23759
23760 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23761
74981cc5
RM
237622012-02-24 Roland McGrath <roland@hack.frob.com>
23763
ee968201
RM
23764 [BZ #13738]
23765 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23766 * manual/fdl-1.3.texi: New file.
23767 * manual/fdl-1.1.texi: File removed.
23768
74981cc5
RM
23769 [BZ #13738]
23770 * manual/libc.texinfo (FDL_VERSION): New @set.
23771 Use it for mention of FDL in cover text.
23772 (Documentation License): Use it in @include file name.
23773
7bb764bc
JM
237742012-02-22 Joseph Myers <joseph@codesourcery.com>
23775 Roland McGrath <roland@hack.frob.com>
23776
23777 [BZ #5461]
23778 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23779 not LONG_LONG_MAX and LONG_LONG_MIN.
23780 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23781 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
23782 name.
23783 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23784
6cbeae47
JM
237852012-02-22 Joseph Myers <joseph@codesourcery.com>
23786
23787 [BZ #2547]
23788 [BZ #11365]
23789 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23790 manipulate bits before adding and subtracting TWO23[sx].
23791 * math/libm-test.inc (nearbyint_test): Add more tests.
23792
fe45ce09
JM
237932012-02-22 Joseph Myers <joseph@codesourcery.com>
23794
23795 [BZ #2548]
23796 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23797 bits before adding and subtracting TWO23[sx].
23798 * math/libm-test.inc (rint_test): Add more tests.
23799 (rint_test_tonearest): Likewise.
23800 (rint_test_towardzero): Likewise.
23801 (rint_test_downward): Likewise.
23802 (rint_test_upward: Likewise.
23803
ff3b3d82
JM
238042012-02-22 Joseph Myers <joseph@codesourcery.com>
23805
23806 [BZ #10110]
23807 * include/stdc-predef.h: New file. Extracted from features.h.
23808 * include/features.h: Include stdc-predef.h.
23809 * Makefile (headers): Add stdc-predef.h.
23810 * CONFORMANCE (Compiler limitations): Update.
23811
ef0aab35
JM
238122012-02-22 Joseph Myers <joseph@codesourcery.com>
23813
23814 * manual/libc.texinfo (VERSION, UPDATED): Revert.
23815
58639409
DM
238162012-02-21 David S. Miller <davem@davemloft.net>
23817
23818 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23819 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23820
c0e70b25
DM
238212012-02-20 David S. Miller <davem@davemloft.net>
23822
23823 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23824 using a normal save/restore sequence, rather than allocating a
23825 dummy stack frame just to store a frame pointer and restore.
23826 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23827
fb06851d
JM
238282012-02-21 Joseph Myers <joseph@codesourcery.com>
23829
23830 * manual/install.texi: Fix stray word in line-wrapped comment.
23831
7a8b71c3
DM
238322012-02-20 David S. Miller <davem@davemloft.net>
23833
d510c123
DM
23834 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23835 both binutils and gcc support GOTDATA.
23836
0722d7c2
DM
23837 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23838 "rd %pc" in the PIC register setup sequences.
23839
3d2b3019
DM
23840 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23841 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23842 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23843 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23844 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23845 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23846 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23847 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23848 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23849 (SYSCALL_ERROR_HANDLER): Likewise.
23850 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23851 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23852 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23853 (SYSCALL_ERROR_HANDLER): Likewise.
23854
c80098a9
DM
23855 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23856 (HAVE_GCC_GOTDATA): New.
23857 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23858 relocation support in both binutils and gcc.
23859 * sysdeps/sparc/elf/configure: Regenerate.
23860
3a2545a0
DM
23861 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23862 * sysdeps/sparc/sparc32/elf/configure: Delete.
23863 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23864 * sysdeps/sparc/sparc64/elf/configure: Delete.
23865 * sysdeps/sparc/elf/configure.in: New file.
23866 * sysdeps/sparc/elf/configure: Generate.
23867
7a8b71c3
DM
23868 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23869 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23870 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23871 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23872 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23873
f1e86fca
JM
238742012-02-21 Joseph Myers <joseph@codesourcery.com>
23875
23876 * manual/install.texi: Do not mention specific glibc version
23877 numbers.
23878 * manual/libc.texinfo (VERSION, UPDATED): Update.
23879 (@copying): Use @copyright{} and range of years.
23880
0e7dfaef
JM
238812012-02-21 Joseph Myers <joseph@codesourcery.com>
23882
23883 [BZ #13695]
23884 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23885 [crti.S not in sysdirs] (generated): Do not append.
23886 [crti.S not in sysdirs] (omit-deps): Likewise.
23887 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23888 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23889 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23890 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23891 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23892 Likewise.
23893 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23894 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23895 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23896 * csu/defs.awk: Remove file.
23897 * sysdeps/generic/initfini.c: Likewise.
23898 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23899 variable.
23900 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23901 Likewise.
23902
599af3ca
JM
239032012-02-20 Joseph Myers <joseph@codesourcery.com>
23904
23905 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23906 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23907 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23908 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23909 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23910 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23911 <bits/epoll.h>.
23912 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23913 (__EPOLL_PACKED): Define to empty if not defined by
23914 <bits/epoll.h>.
23915 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23916 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23917 bits/epoll.h.
23918
0e499750
JM
239192012-02-20 Joseph Myers <joseph@codesourcery.com>
23920
23921 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23922 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23923 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23924 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23925 <bits/timerfd.h>.
23926 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23927 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23928 bits/timerfd.h.
23929
5ad91f6e
JM
239302012-02-20 Joseph Myers <joseph@codesourcery.com>
23931
23932 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23933 in C locale.
23934 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23935 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23936 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23938
06b99b02
AJ
239392012-02-20 Aurelien Jarno <aurelien@aurel32.net>
23940
23941 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23942 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23943
7638c0fd
AS
239442012-02-19 Andreas Schwab <schwab@linux-m68k.org>
23945
23946 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23947 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23948 defined.
23949 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23950 Likewise.
23951 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23952 entry for 2.16.
23953
92221550
AJ
239542012-02-19 Aurelien Jarno <aurelien@aurel32.net>
23955
23956 * math/w_acos.c: Use non-signaling floating-point comparisons.
23957 * math/w_acosf.c: Likewise.
23958 * math/w_acosh.c: Likewise.
23959 * math/w_acoshf.c: Likewise.
23960 * math/w_acoshl.c: Likewise.
23961 * math/w_acosl.c: Likewise.
23962 * math/w_asin.c: Likewise.
23963 * math/w_asinf.c: Likewise.
23964 * math/w_asinl.c: Likewise.
23965 * math/w_atanh.c: Likewise.
23966 * math/w_atanhf.c: Likewise.
23967 * math/w_atanhl.c: Likewise.
23968 * math/w_exp2.c: Likewise.
23969 * math/w_exp2f.c: Likewise.
23970 * math/w_exp2l.c: Likewise.
23971 * math/w_j0.c: Likewise.
23972 * math/w_j0f.c: Likewise.
23973 * math/w_j0l.c: Likewise.
23974 * math/w_j1.c: Likewise.
23975 * math/w_j1f.c: Likewise.
23976 * math/w_j1l.c: Likewise.
23977 * math/w_jn.c: Likewise.
23978 * math/w_jnf.c: Likewise.
23979 * math/w_log.c: Likewise.
23980 * math/w_log10.c: Likewise.
23981 * math/w_log10f.c: Likewise.
23982 * math/w_log10l.c: Likewise.
23983 * math/w_log2.c: Likewise.
23984 * math/w_log2f.c: Likewise.
23985 * math/w_log2l.c: Likewise.
23986 * math/w_logf.c: Likewise.
23987 * math/w_logl.c: Likewise.
23988 * math/w_sqrt.c: Likewise.
23989 * math/w_sqrtf.c: Likewise.
23990 * math/w_sqrtl.c: Likewise.
23991 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23992 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23993 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23994 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23995 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23996
ebaf36eb
JM
239972012-02-19 Joseph Myers <joseph@codesourcery.com>
23998
23999 [BZ #9739]
24000 * manual/string.texi (strnlen): Use correct parameter name in
24001 equivalent expression.
24002
71c254a6
JM
240032012-02-19 Joseph Myers <joseph@codesourcery.com>
24004
24005 [BZ #11174]
24006 * manual/users.texi (seteuid): Consistently use neweuid for
24007 argument name.
24008
16d2c631
JM
240092012-02-19 Joseph Myers <joseph@codesourcery.com>
24010
24011 [BZ #13704]
24012 * manual/nss.texi (Services in the NSS configuration): Correct
24013 list of services in example configuration file.
24014
cd837b09
NB
240152012-02-19 Nick Bowler <nbowler@draconx.ca>
24016
24017 [BZ #11322]
24018 * manual/arith.texi: Remove statements about negative zero
24019 behaving identically to zero.
24020
02c4bbad
JM
240212012-02-18 Joseph Myers <joseph@codesourcery.com>
24022
24023 [BZ #5993]
24024 * manual/install.texi: Do not document upgrading from libc5.
24025
366842e7
JM
240262012-02-18 Joseph Myers <joseph@codesourcery.com>
24027
24028 [BZ #4596]
24029 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24030
dd54084d
DM
240312012-02-18 David S. Miller <davem@davemloft.net>
24032
24033 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24034 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24035 %o7 across the call.
24036 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24037 instead.
24038 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24039 SETUP_PIC_REG_LEAF.
24040 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24041 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24042 * sysdeps/sparc/crtn.S: Likewise.
24043
2bcc53a3
UD
240442012-02-17 Ulrich Drepper <drepper@gmail.com>
24045
24046 * aout/Makefile: Remove.
24047
09c093b5
RK
240482012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24049
24050 [BZ #13058]
24051 * manual/examples/argp-ex1.c (main): Format definition in GNU
24052 style.
24053 * manual/examples/argp-ex2.c (main): Likewise.
24054 * manual/examples/argp-ex3.c (main): Likewise.
24055 * manual/examples/argp-ex4.c (main): Likewise.
24056 * manual/examples/longopt.c (main): Use new-style prototype
24057 definition.
24058 * manual/examples/strncat.c (main): Specify return type and use
24059 (void) for arguments.
24060 * manual/examples/subopt.c (main): Use char **argv argument.
24061
2ee633a2
JM
240622012-02-17 Joseph Myers <joseph@codesourcery.com>
24063
24064 [BZ #5077]
24065 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24066 rounding modes.
24067
0520adde
FB
240682012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24069
24070 [BZ #6907]
24071 * manual/string.texi (strchr): Change when strchrnul is
24072 recommended.
24073
3f4081cd
DGM
240742012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24075
24076 [BZ #174]
24077 * manual/locale.texi (setlocale): Document LOCPATH.
24078
d1b10e78
JM
240792012-02-17 Joseph Myers <joseph@codesourcery.com>
24080
24081 [BZ #10210]
24082 * manual/process.texi (execle): Move @dots{} before last argument.
24083
79c6869c
PB
240842012-02-17 Paul Bolle <pebolle@tiscali.nl>
24085
24086 [BZ #12047]
24087 * manual/charset.texi (Generic Charset Conversion): Fix typo
24088 (LC_TYPE -> LC_CTYPE).
24089
cc6e48bc
NB
240902012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24091
24092 [BZ #5805]
24093 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24094 (scalbnf): Likewise.
24095 (scalbnl): Likewise.
24096 (scalbln): Likewise.
24097 (scalblnf): Likewise.
24098 (scalblnl): Likewise.
24099 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24100 (vwarnx): Likewise.
24101 (verr): Likewise.
24102 (verrx): Likewise.
24103 * manual/filesys.texi (telldir): Use braces around return type.
24104 * manual/llio.texi (mmap): Add space after comma.
24105 (mmap64): Likewise.
24106 * manual/math.texi (jn): Use @var{} on parameter names.
24107 (jnf): Likewise.
24108 (jnl): Likewise.
24109 (yn): Likewise.
24110 (ynf): Likewise.
24111 (ynl): Likewise.
24112 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24113 line.
24114 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24115 "...".
24116 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24117 (sched_get_priority_max): Likewise.
24118 * manual/signal.texi (sigvec): Add space after comma.
24119 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24120 names.
24121 (if_indextoname): Likewise.
24122 (if_freenameindex): Likewise.
24123 (sendto): Use ',' instead of '.' in prototype.
24124 * manual/startup.texi (syscall): Use @dots{} instead of literal
24125 "...".
24126 * manual/stdio.texi (__fpending): Separate initial words of
24127 paragraph from @deftypefun line.
24128 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24129 "...".
24130 (vsyslog): Use @var{} on parameter names.
24131 * manual/terminal.texi (stty): Use @var{} on parameter names.
24132 * manual/users.texi (getutmp): Use @var{} on parameter names.
24133 (getutmpx): Likewise.
24134
5b23062f
JM
241352012-02-17 Joseph Myers <joseph@codesourcery.com>
24136
24137 [BZ #6884]
24138 * manual/stdio.texi (fopen): Fix typos in description of
24139 ",ccs=STRING".
24140
8dee4833
AJ
241412012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24142
24143 [BZ #4026]
24144 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24145 get clock_id definition.
24146
9078ce93
TS
241472012-02-17 Thomas Schwinge <thomas@schwinge.name>
24148
24149 [BZ #4822]
24150 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24151 (madvise): Cast every argument to void on its own.
24152
3835c55f
JM
241532012-02-17 Joseph Myers <joseph@codesourcery.com>
24154
24155 [BZ #9902]
24156 * manual/startup.texi (Exit Status): Fix typo.
24157
35c47e37
JM
241582012-02-17 Joseph Myers <joseph@codesourcery.com>
24159
24160 [BZ #10140]
24161 * manual/examples/argp-ex1.c: Include <stdlib.h>.
24162 * manual/examples/argp-ex2.c: Likewise.
24163 * manual/examples/argp-ex3.c: Likewise.
24164
e3b69ca7
RH
241652012-02-16 Richard Henderson <rth@redhat.com>
24166
24167 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24168 * sysdeps/s390/s390-32/initfini.c: Remove.
24169 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24170 * sysdeps/s390/s390-64/initfini.c: Remove.
24171
df83af67
KK
241722012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24173
24174 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24175 compiler output for sysdeps/generic/initfini.c.
24176 * sysdeps/sh/elf/initfini.c: Remove file.
24177
f63f3380
DM
241782012-02-16 David S. Miller <davem@davemloft.net>
24179
fb59b3a4
DM
24180 [BZ #11494]
24181 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24182
f63f3380
DM
24183 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24184 * sysdeps/sparc/crti.S: New file.
24185 * sysdeps/sparc/crtn.S: New file.
24186 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24187 * sysdeps/sparc/sparc64/Makefile: Likewise.
24188
df6a4a4a
MF
241892012-02-15 Mike Frysinger <vapier@gentoo.org>
24190
6dd8f3dc 24191 [BZ #3335]
df6a4a4a
MF
24192 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24193
1cac7236
RM
241942012-02-15 Roland McGrath <roland@hack.frob.com>
24195
d2c736f8
RM
24196 [BZ #4822]
24197 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24198
1cac7236
RM
24199 * mach/devstream.c (cookie_io_functions_t): Macro removed.
24200 (write, read, close): Likewise.
24201 Patch by Aurelien Jarno <aurelien@aurel32.net>.
24202
8e475601
JM
242032012-02-15 Joseph Myers <joseph@codesourcery.com>
24204
24205 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24206 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24207 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24208 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24209 <bits/signalfd.h>.
24210 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24211 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24212 bits/signalfd.h.
24213
ed656b40
MP
242142012-02-14 Marek Polacek <polacek@redhat.com>
24215
24216 * sysdeps/x86_64/crti.S: New file.
24217 * sysdeps/x86_64/crtn.S: New file.
24218 * sysdeps/x86_64/elf/initfini.c: Remove file.
24219
2a979d3a
JM
242202012-02-13 Joseph Myers <joseph@codesourcery.com>
24221
24222 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24223 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24224 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24225 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24226 <bits/inotify.h>.
24227 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24228 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24229 bits/inotify.h.
24230
2a418ac3
JM
242312012-02-13 Joseph Myers <joseph@codesourcery.com>
24232
24233 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24234 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24235 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24236 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24237 <bits/eventfd.h>.
24238 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24239 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24240 bits/eventfd.h.
24241
fb779be7
TS
242422012-02-10 Thomas Schwinge <thomas@codesourcery.com>
24243
e19e83c5
RM
24244 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24245 __feraiseexcept instead of feraiseexcept.
7c35ffed 24246
fb779be7
TS
24247 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24248 nanosleep invocations.
24249 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24250 strings, and add error checking for a nanosleep invocations.
24251
59ba27a6
PE
242522012-02-09 Paul Eggert <eggert@cs.ucla.edu>
24253
24254 Replace FSF snail mail address with URLs, as per GNU coding standards.
24255 Most of the snail mail addresses were wrong anyway, and omitting
24256 them makes the source code easier to maintain. Almost all of the
24257 changes are to license notices and to locale LC_IDENTIFICATION
24258 addresses, except for this one:
24259 * manual/libc.texinfo: In "Published by", give the FSF's URL,
24260 not its snail mail address.
24261
57b957eb
RH
242622012-02-09 Richard Henderson <rth@twiddle.net>
24263
af850b1c
RH
24264 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24265 of kernel-features.h.
24266
57b957eb
RH
24267 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24268
6b73181a
MP
242692012-02-08 Marek Polacek <polacek@redhat.com>
24270
24271 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24272 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24273 * sysdeps/gnu/_G_config.h: Likewise.
24274 * sysdeps/generic/_G_config.h: Likewise.
24275
26ecc33a
AS
242762012-02-08 Andreas Schwab <schwab@linux-m68k.org>
24277
6c6dbc63
AS
24278 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24279 tests.
24280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24281
e216c012
AS
24282 * sysdeps/powerpc/powerpc32/crti.S: New file.
24283 * sysdeps/powerpc/powerpc32/crtn.S: New file.
24284 * sysdeps/powerpc/powerpc64/crti.S: New file.
24285 * sysdeps/powerpc/powerpc64/crtn.S: New file.
24286
26ecc33a
AS
24287 * Makeconfig (have-initfini): Don't set.
24288 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24289 * configure.in (nopic_initfini): Don't substitute.
24290 * config.h.in (HAVE_INITFINI): Don't #undef.
24291 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24292 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24293
3add8e13
JM
242942012-02-08 Joseph Myers <joseph@codesourcery.com>
24295
24296 Support crti.S and crtn.S provided directly by architectures.
24297 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24298 [crti.S in sysdirs] (omit-deps): Likewise.
24299 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24300 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24301 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24302 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24303 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24304 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24305 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24306 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24307 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24308 compiler output for sysdeps/generic/initfini.c.
24309 * sysdeps/i386/elf/Makefile: Remove file.
24310 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24311
a22f12b4
MP
243122012-02-07 Marek Polacek <polacek@redhat.com>
24313
24314 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24315 * sysdeps/gnu/_G_config.h: Likewise.
24316 * sysdeps/mach/hurd/_G_config.h: Likewise.
24317
148cf100
MP
243182012-02-07 Marek Polacek <polacek@redhat.com>
24319
24320 * math/Makefile (tests): Add tst-CMPLX2.
24321 * math/tst-CMPLX2.c: New file.
24322
cfdc0dd7
AS
243232012-02-07 Andreas Schwab <schwab@linux-m68k.org>
24324
84ba42c4
AS
24325 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24326
cfdc0dd7
AS
24327 * math/libm-test.inc (jn_test): Add missing L suffix.
24328
622c86f4
MP
243292012-02-06 Marek Polacek <polacek@redhat.com>
24330
24331 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24332 * sysdeps/i386/fpu/e_powf.S: Likewise.
24333 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24334 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24335 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24336 * sysdeps/i386/fpu/e_pow.S: Likewise.
24337 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24338 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24339 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24340 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24341 * sysdeps/i386/fpu/e_log2.S: Likewise.
24342 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24343 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24344 * sysdeps/i386/fpu/e_powl.S: Likewise.
24345 * sysdeps/i386/fpu/s_log1p.S: Likewise.
24346 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24347 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24348 * sysdeps/i386/fpu/e_logl.S: Likewise.
24349 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24350 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24351 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24352 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24353 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24354 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24355 * sysdeps/i386/fpu/e_log.S: Likewise.
24356 * sysdeps/i386/fpu/s_cexp.S: Likewise.
24357 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24358 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24359 * sysdeps/i386/fpu/e_logf.S: Likewise.
24360 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24361 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24362 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24363 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24364 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24365 * sysdeps/i386/fpu/e_log10.S: Likewise.
24366 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24367 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24368 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24369 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24370 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24371 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24372 * sysdeps/i386/asm-syntax.h: Likewise.
24373 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24374 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24375 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24376 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24377 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24378 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24379 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24380 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24381 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24382 * sysdeps/powerpc/sysdep.h: Likewise.
24383 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24384 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24385
d4a54ac6
JM
243862012-02-06 Joseph Myers <joseph@codesourcery.com>
24387
24388 [BZ #411]
24389 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24390
314054ea
JM
243912012-02-06 Joseph Myers <joseph@codesourcery.com>
24392
24393 * sysdeps/i386/sysdep.h: Include <features.h>.
24394 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24395 version.
24396
d8e0ca50
JM
243972012-02-05 Joseph Myers <joseph@codesourcery.com>
24398
24399 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24400 Define.
24401 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24402 LOAD_PIC_REG_STR.
24403
b1da7dd9
JM
244042012-02-03 Joseph Myers <joseph@codesourcery.com>
24405
24406 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24407 (SETUP_PIC_REG): Use GET_PC_THUNK.
24408 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24409 macro.
24410
9a1d9254
JM
244112012-02-03 Joseph Myers <joseph@codesourcery.com>
24412
24413 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24414 for non-PIC compilation.
24415 (SETUP_PIC_REG): Add .p2align directive.
24416 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24417 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24418 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24419 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24420 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24421 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24422 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24423 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24424 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24425 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24426 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24427 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24428 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24429 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24430 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24431 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24432 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24433 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24434 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24435 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24436 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24437 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24438 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24439 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24440 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24441 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24442 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24443 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24444 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24445 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24446 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24447 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24448 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24449 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24450 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24451 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24452 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24453 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24454 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24455 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24456 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24457
65dc3b75
JM
244582012-02-03 Joseph Myers <joseph@codesourcery.com>
24459
24460 * math/tst-CMPLX.c: Include <stdio.h>.
24461
d55bf177
JM
244622012-01-31 Joseph Myers <joseph@codesourcery.com>
24463
24464 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24465 float.
24466 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24467 * sysdeps/sparc/bits/mathdef.h: Likewise.
24468
69db4f8f
MP
244692012-01-31 Marek Polacek <polacek@redhat.com>
24470
24471 * libio/libio.h: Don't define _PARAMS.
24472 * locale/programs/config.h: Don't define PARAMS.
24473 * stdlib/strtol_l.c: Likewise.
24474 (__strtol_l): Remove PARAMS from the prototype.
24475
41b81892
UD
244762012-01-31 Ulrich Drepper <drepper@gmail.com>
24477
3b49edc0
UD
24478 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24479 names. Just use the correct names. Remove unnecessary wrapper
24480 functions.
24481 * malloc/arena.c: Likewise.
24482 * malloc/hooks.c: Likewise.
24483
41b81892
UD
24484 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24485 ARENA_TEST says not to. Simplify test for creation of a new arena.
24486 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24487
27a25b6e
UD
244882012-01-30 Ulrich Drepper <drepper@gmail.com>
24489
24490 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24491 into tail calls.
24492 (update_get_addr): New function.
24493 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24494 GET_ADDR_MODULE parameter.
24495
c8a89e7d
JM
244962012-01-30 Joseph Myers <joseph@codesourcery.com>
24497
24498 * crypt/cert.c: Remove __STDC__ conditionals.
24499 * crypt/crypt-entry.c: Likewise.
24500 * crypt/crypt_util.c: Likewise.
24501 * libio/filedoalloc.c: Likewise.
24502 * libio/fileops.c: Likewise.
24503 * libio/genops.c: Likewise.
24504 * libio/iofclose.c: Likewise.
24505 * libio/iofdopen.c: Likewise.
24506 * libio/iofopen.c: Likewise.
24507 * libio/iofopen64.c: Likewise.
24508 * libio/iogetdelim.c: Likewise.
24509 * libio/iopopen.c: Likewise.
24510 * libio/obprintf.c: Likewise.
24511 * libio/oldfileops.c: Likewise.
24512 * libio/oldiofclose.c: Likewise.
24513 * libio/oldiofdopen.c: Likewise.
24514 * libio/oldiofopen.c: Likewise.
24515 * libio/oldiopopen.c: Likewise.
24516 * libio/wfiledoalloc.c: Likewise.
24517 * libio/wgenops.c: Likewise.
24518 * locale/programs/xmalloc.c: Likewise.
24519 * misc/syslog.c: Likewise.
24520 * stdio-common/xbug.c: Likewise.
24521 * string/memchr.c: Likewise.
24522 * string/memcmp.c: Likewise.
24523 * string/memrchr.c: Likewise.
24524 * string/rawmemchr.c: Likewise.
24525 * sysdeps/posix/getcwd.c: Likewise.
24526 * time/strftime_l.c: Likewise.
24527
3b100462
JM
245282012-01-30 Joseph Myers <joseph@codesourcery.com>
24529
24530 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
24531 * config.make.in (config-cflags-sse2avx): Define.
24532 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24533 Fix typo.
24534
607998af
CM
245352012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24536
24537 * scripts/config.guess: Update from upstream config git repository.
24538 * scripts/config.sub: Likewise.
24539
3601428f
CM
245402012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24541
3ac8b282
CM
24542 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24543 (EM_NUM): Update.
24544 (R_TILEPRO_*, R_TILEGX_*): New macros.
24545
e034841e
CM
24546 * scripts/firstversions.awk: Fix bug in version range handling.
24547
540d7568
CM
24548 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24549
3601428f
CM
24550 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24551
463de862
CM
24552 * include/sys/epoll.h: New file.
24553 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24554 libc_hidden_def.
24555
73139a76
UD
245562012-01-28 Ulrich Drepper <drepper@gmail.com>
24557
96bc5b45
UD
24558 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24559 Avoid unnecessary __WORDSIZE == 64 test.
24560 (fmaxf): Use VEX format if possible.
24561 (fmax): Likewise.
24562 (fminf): Likewise.
24563 (fmin): Likewise.
24564
56f6f6a2
UD
24565 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24566 * math/math_private.h: Remove libc_fegetround* and
24567 libc_fesetround*.
24568 * sysdeps/i386/configure.in: Check for -msse2avx.
24569 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24570 also if SSE2AVX is defined.
24571 Remove libc_fegetround* and libc_fesetround*.
24572 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24573 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24574 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24575 of HAS_YMM_USABLE.
24576 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24577 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24578 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24579 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24580 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24581
73139a76
UD
24582 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24583
d73f93a4
AZ
245842012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24585
24586 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24587 size is not set.
24588 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24589
6ee65ed6
UD
245902012-01-27 Ulrich Drepper <drepper@gmail.com>
24591
24592 [BZ #13618]
24593 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24594 relocation.
24595 * Makeconfig (libm): Define.
24596 * elf/Makefile: Add rules to build and run tst-relsort1.
24597 * elf/tst-relsort1.c: New file.
24598 * elf/tst-relsort1mod1.c: New file.
24599 * elf/tst-relsort1mod2.c: New file.
24600
8db21882
JM
246012012-01-27 Joseph Myers <joseph@codesourcery.com>
24602
24603 * math/s_ldexp.c: Remove __STDC__ conditionals.
24604 * math/s_ldexpf.c: Likewise.
24605 * math/s_ldexpl.c: Likewise.
24606 * math/s_nextafter.c: Likewise.
24607 * math/s_nexttowardf.c: Likewise.
24608 * math/s_significand.c: Likewise.
24609 * math/s_significandf.c: Likewise.
24610 * math/s_significandl.c: Likewise.
24611 * math/w_jnl.c: Likewise.
24612 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24613 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24614 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24615 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24616 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24617 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24618 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24619 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24620 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24621 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24622 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24623 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24624 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24625 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24626 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24627 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24628 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24629 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24630 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24631 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24632 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24633 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24634 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24635 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24636 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24637 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24638 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24639 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24640 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24641 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24642 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24643 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24644 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24645 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24646 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24647 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24648 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24649 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24650 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24651 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24652 * sysdeps/ieee754/k_standard.c: Likewise.
24653 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24654 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24655 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24656 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24657 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24658 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24659 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24660 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24661 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24662 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24663 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24664 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24665 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24666 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24667 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24668 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24669 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24670 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24671 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24672 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24673 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24674 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24675 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24676 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24677 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24678 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24679 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24680 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24681 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24682 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24683 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24684 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24685 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24686 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24687 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24688 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24689 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24690 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24691 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24692 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24693 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24694 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24695 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24696 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24697 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24698 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24699 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24700 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24701 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24702 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24703 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24704 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24705 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24706 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24707 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24708 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24709 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24710 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24711 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24712 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24713 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24714 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24715 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24716 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24717 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24718 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24719 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24720 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24721 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24722 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24723 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24724 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24725 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24726 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24727 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24728 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24729 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24730 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24731 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24732 * sysdeps/ieee754/s_matherr.c: Likewise.
24733 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24734 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24735 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24736 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24737
965a54a4
JM
247382012-01-26 Joseph Myers <joseph@codesourcery.com>
24739
24740 * crypt/md5.h: Remove __STDC__ conditionals.
24741 * libio/libioP.h: Likewise.
24742 * locale/programs/config.h: Likewise.
24743 * sysdeps/generic/sysdep.h: Likewise.
24744 * sysdeps/i386/asm-syntax.h: Likewise.
24745 * sysdeps/s390/asm-syntax.h: Likewise.
24746 * sysdeps/unix/sysdep.h: Likewise.
24747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24749
7071ad79
JM
247502012-01-26 Joseph Myers <joseph@codesourcery.com>
24751
24752 * libio/libio.h: Remove __STDC__ conditionals.
24753 * malloc/obstack.h: Likewise.
24754 * math/complex.h: Likewise.
24755 * math/math.h: Likewise.
24756 * sysdeps/generic/_G_config.h: Likewise.
24757 * sysdeps/gnu/_G_config.h: Likewise.
24758 * sysdeps/mach/hurd/_G_config.h: Likewise.
24759 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24760 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24761 * sysdeps/sparc/bits/mathdef.h: Likewise.
24762
afc5ed09
UD
247632012-01-26 Ulrich Drepper <drepper@gmail.com>
24764
24765 [BZ #13583]
24766 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 24767 Clean up HAS_* macros.
afc5ed09 24768 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
24769 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24770 possible.
24771 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24772 HAS_AVX.
24773 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24774 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24775 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24776 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24777 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 24778
bdb6de1d
JM
247792012-01-25 Joseph Myers <joseph@codesourcery.com>
24780
24781 * elf/tst-unique3.cc (gets): Remove declaration.
24782 * elf/tst-unique3lib.cc (gets): Likewise.
24783 * elf/tst-unique3lib2.cc (gets): Likewise.
24784 * elf/tst-unique4.cc (gets): Likewise.
24785
b15549e6
UD
247862012-01-24 Ulrich Drepper <drepper@gmail.com>
24787
24788 * include/stdio.h: Add C++ protection. Add gets declarations and
24789 definitions.
24790 * debug/tst-chk1.c: Don't declare gets here.
24791 * stdio-common/tst-gets.c: Likewise.
24792
a037381f
JM
247932012-01-24 Joseph Myers <joseph@codesourcery.com>
24794
24795 * posix/glob: Remove directory.
24796
f1d4aa75
JM
247972012-01-24 Joseph Myers <joseph@codesourcery.com>
24798
24799 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24800
81c0c964
PT
248012012-01-22 Pino Toscano <toscano.pino@tiscali.it>
24802
24803 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24804 of the non-standard EPFNOSUPPORT.
24805
0ea698ae
ST
248062011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
24807
24808 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24809 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24810 ANYWHERE set to 1 only on KERN_NO_SPACE error.
24811
d220b117
UD
248122012-01-21 Ulrich Drepper <drepper@gmail.com>
24813
24814 * wcsmbs/uchar.h: Test __STDC_VERSION__.
24815
3e1aa84e
UD
248162012-01-20 Ulrich Drepper <drepper@gmail.com>
24817
24818 * nscd/aicache.c (addhstaiX): Do not cache negative results of
24819 transient errors.
24820 * nscd/grpcache.c (cache_addgr): Likewise.
24821 * nscd/hstcache.c (cache_addhst): Likewise.
24822 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24823 * nscd/pwdcache.c (cache_addpw): Likewise.
24824 * nscd/servicescache.c (cache_addserv): Likewise.
24825
400aa020
UD
248262012-01-16 Ulrich Drepper <drepper@gmail.com>
24827
d77e7869
UD
24828 * malloc/malloc.c: Various cleanups.
24829 * malloc/hooks.c: Likewise.
24830
400aa020
UD
24831 * stdlib/Makefile (tests): Add bug-fmtmsg1.
24832 * stdlib/bug-fmtmsg1.c: New file.
24833
24834 * stdlib/fmtmsg.c (init): Add missing unlock.
24835 Patch by Peng Haitao <penght@cn.fujitsu.com>.
24836
e0a309cf
MP
248372012-01-12 Marek Polacek <polacek@redhat.com>
24838
24839 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24840 and _GNU_SOURCE.
24841
929d11c7
WS
248422012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24843
24844 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24845 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24846 macro to ensure uniqueness of label name.
24847 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24848 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24849
41d0e869
UD
248502012-01-11 Ulrich Drepper <drepper@gmail.com>
24851
0cc5ed3b
UD
24852 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24853
41d0e869
UD
24854 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24855 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24856 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24857 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24858
a47a831a
UD
248592012-01-10 Ulrich Drepper <drepper@gmail.com>
24860
daa891c0
UD
24861 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24862
24863 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24864 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24865 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24866
e58ef0f2
UD
24867 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24868
a47a831a 24869 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
24870 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24871 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 24872 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
24873
24874 * math/bits/math-finite.h: Add ldexp support.
24875
a0bfc9c7
MP
248762012-01-10 Marek Polacek <polacek@redhat.com>
24877
24878 * locale/programs/localedef.h (show_archive_content): Add noreturn
24879 attribute.
24880
d6e97a1d
UD
248812012-01-09 Ulrich Drepper <drepper@gmail.com>
24882
24883 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24884
d5835c26
UD
248852012-01-08 Ulrich Drepper <drepper@gmail.com>
24886
e5f484c6
UD
24887 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24888
d5835c26
UD
24889 * io/Makefile (headers): Add bits/poll2.h.
24890
d1f741e9
WS
248912011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
24892
24893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24894 typo #include statement.
24895
ec09c1c4
UD
248962012-01-08 Ulrich Drepper <drepper@gmail.com>
24897
24898 * include/sys/cdefs.h: Define __attribute_alloc_size.
24899 * catgets/gencat.c: Add alloc_size attribute and apply consistently
24900 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24901 * elf/pldd.c: Likewise.
24902 * iconv/iconv_charmap.c: Likewise.
24903 * iconv/iconvconfig.c: Likewise.
24904 * iconv/strtab.c: Likewise.
24905 * locale/programs/locale.c: Likewise.
24906 * locale/programs/localedef.h: Likewise.
24907 * locale/programs/simple-hash.c: Likewise.
24908 * nscd/nscd.h: Likewise.
24909 * nss/makedb.c: Likewise.
24910 * sysdeps/generic/ldconfig.h: Likewise.
24911 * locale/programs/localedef.c: Remove xmalloc prototype.
24912 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24913
20b38e03
PP
249142012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24915
24916 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24917 appropriate.
24918
a0da5fe1
UD
249192012-01-08 Ulrich Drepper <drepper@gmail.com>
24920
1d5a644a 24921 * math/Makefile (tests): Add tst-CMPLX.
669704fd 24922 * math/tst-CMPLX.c: New file.
1d5a644a 24923
8784a6db
UD
24924 * math/complex.h (CMPLXL): Fix typo.
24925
d9a216c0
UD
24926 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24927 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24928 GLIBC_2.16.
24929 * debug/tst-chk1.c: Add poll and ppoll tests.
24930 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24931 * include/sys/poll.h: Add hidden proto for ppoll.
24932 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24933 * sysdeps/mach/hurd/ppoll.c: Likewise.
24934 * io/ppoll.c: Likewise.
24935 * debug/poll_chk.c: New file.
24936 * debug/ppoll_chk.c: New file.
24937 * include/bits/poll2.h: New file.
24938 * io/bits/poll2.h: New file.
24939
ac097f5c
UD
24940 [BZ #1350]
24941 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24942
2119dcfa
UD
24943 * configure.in: static is always set to yes. Remove.
24944 * config.make.in: Don't set build-static.
24945 * Makeconfig: Remove use of build-static.
24946 * dlfcn/Makefile: Likewise.
24947 * elf/Makefile: Likewise.
24948 * math/Makefile: Likewise.
24949 * misc/Makefile: Likewise.
24950 * nptl/Makefile: Likewise.
24951 * sysdeps/mach/hurd/Makefile: Likewise.
24952
121766a9
UD
24953 * configure.in: PWD_P is not used anymore.
24954 * config.make.in: Remove PWD_P entry.
24955
51a1d39c 24956 * configure.in: Remove last remnants of RANLIB.
8720d066 24957 No need to check for signed size_t anymore.
215f4bdc
UD
24958 Don't set libc_commonpagesize and libc_relro_required here for Alpha
24959 and IA-64.
3857022a 24960 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
24961 * aclocal.m4: Likewise.
24962
d3ed7225
UD
24963 * wcsmbs/mbrtoc16.c: Implement using towc function.
24964 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24965 * wcsmbs/wcsmbsload.c: Likewise.
24966 * iconv/gconv_simple.c: Likewise.
24967 * iconv/gconv_int.h: Likewise.
24968 * iconv/gconv_builtin.h: Likewise.
24969 * iconv/iconv_prog.c: Remove CHAR16 handling.
24970
24971 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24972
24973 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24974
a0da5fe1
UD
24975 * configure.in: Remove --with-elf and --enable-bounded options.
24976 Dont set base_machine for ia64. More non-ELF conditions removed.
24977 Remove testing and setting of leading underscore information.
24978 * config.make.in (build-bounded): Set to no.
24979 * config.h.in: Remove NO_UNDERSCORES entry.
24980 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
24981 them.
24982 * csu/start.c: Remove !NO_UNDERSCORE code.
24983 * locale/localeinfo.h: Likewise.
24984 * sysdeps/generic/machine-gmon.h: Likewise.
24985 * sysdeps/generic/sysdep.h: Likewise.
24986 * sysdeps/i386/sysdep.h: Likewise.
24987 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24988 * sysdeps/mach/sysdep.h: Likewise.
24989 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24990 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24991 * sysdeps/sh/sysdep.h: Likewise.
24992 * sysdeps/sparc/sparc32/alloca.S: Likewise.
24993 * sysdeps/unix/i386/sysdep.S: Likewise.
24994 * sysdeps/unix/sparc/start.c: Likewise.
24995 * sysdeps/unix/sparc/sysdep.S: Likewise.
24996 * sysdeps/unix/sparc/sysdep.h: Likewise.
24997 * sysdeps/unix/start.c: Likewise.
24998 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24999 * sysdeps/x86_64/sysdep.h: Likewise.
25000
df78418a
UD
250012012-01-07 Ulrich Drepper <drepper@gmail.com>
25002
a784e502
UD
25003 [BZ #13553]
25004 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25005 for non-gcc.
25006 * argp/argp-fmtstream.h: Use const instead __const.
25007 * argp/argp.h: Likewise.
25008 * assert/assert.h: Likewise.
25009 * bits/fenv.h: Likewise.
25010 * bits/sched.h: Likewise.
25011 * bits/sigset.h: Likewise.
25012 * bits/sigthread.h: Likewise.
25013 * catgets/nl_types.h: Likewise.
25014 * conform/data/pthread.h-data: Likewise.
25015 * crypt/crypt-private.h: Likewise.
25016 * crypt/crypt.h: Likewise.
25017 * crypt/crypt_util.c: Likewise.
25018 * ctype/ctype.h: Likewise.
25019 * debug/execinfo.h: Likewise.
25020 * debug/mbsnrtowcs_chk.c: Likewise.
25021 * debug/mbsrtowcs_chk.c: Likewise.
25022 * debug/wcsnrtombs_chk.c: Likewise.
25023 * debug/wcsrtombs_chk.c: Likewise.
25024 * debug/wcstombs_chk.c: Likewise.
25025 * dirent/dirent.h: Likewise.
25026 * dlfcn/dlfcn.h: Likewise.
25027 * elf/neededtest4.c: Likewise.
25028 * grp/grp.h: Likewise.
25029 * gshadow/gshadow.h: Likewise.
25030 * iconv/gconv.h: Likewise.
25031 * iconv/gconv_int.h: Likewise.
25032 * iconv/gconv_simple.c: Likewise.
25033 * iconv/iconv.h: Likewise.
25034 * iconv/loop.c: Likewise.
25035 * iconv/skeleton.c: Likewise.
25036 * include/aio.h: Likewise.
25037 * include/aliases.h: Likewise.
25038 * include/argz.h: Likewise.
25039 * include/arpa/inet.h: Likewise.
25040 * include/assert.h: Likewise.
25041 * include/dirent.h: Likewise.
25042 * include/dlfcn.h: Likewise.
25043 * include/execinfo.h: Likewise.
25044 * include/fcntl.h: Likewise.
25045 * include/fenv.h: Likewise.
25046 * include/glob.h: Likewise.
25047 * include/grp.h: Likewise.
25048 * include/libintl.h: Likewise.
25049 * include/mntent.h: Likewise.
25050 * include/netdb.h: Likewise.
25051 * include/pwd.h: Likewise.
25052 * include/rpc/netdb.h: Likewise.
25053 * include/sched.h: Likewise.
25054 * include/search.h: Likewise.
25055 * include/shadow.h: Likewise.
25056 * include/signal.h: Likewise.
25057 * include/stdio.h: Likewise.
25058 * include/stdlib.h: Likewise.
25059 * include/string.h: Likewise.
25060 * include/sys/socket.h: Likewise.
25061 * include/sys/stat.h: Likewise.
25062 * include/sys/statfs.h: Likewise.
25063 * include/sys/statvfs.h: Likewise.
25064 * include/sys/syslog.h: Likewise.
25065 * include/sys/time.h: Likewise.
25066 * include/sys/uio.h: Likewise.
25067 * include/time.h: Likewise.
25068 * include/unistd.h: Likewise.
25069 * include/utmp.h: Likewise.
25070 * include/wchar.h: Likewise.
25071 * include/wctype.h: Likewise.
25072 * inet/aliases.h: Likewise.
25073 * inet/arpa/inet.h: Likewise.
25074 * inet/netinet/ether.h: Likewise.
25075 * inet/netinet/in.h: Likewise.
25076 * intl/libintl.h: Likewise.
25077 * io/bits/fcntl2.h: Likewise.
25078 * io/fcntl.h: Likewise.
25079 * io/ftw.h: Likewise.
25080 * io/sys/poll.h: Likewise.
25081 * io/sys/stat.h: Likewise.
25082 * io/sys/statfs.h: Likewise.
25083 * io/sys/statvfs.h: Likewise.
25084 * io/utime.h: Likewise.
25085 * libio/bits/stdio.h: Likewise.
25086 * libio/bits/stdio2.h: Likewise.
25087 * libio/libio.h: Likewise.
25088 * libio/libioP.h: Likewise.
25089 * libio/stdio.h: Likewise.
25090 * locale/lc-ctype.c: Likewise.
25091 * locale/locale.h: Likewise.
25092 * login/utmp.h: Likewise.
25093 * malloc/arena.c: Likewise.
25094 * malloc/malloc.c: Likewise.
25095 * malloc/malloc.h: Likewise.
25096 * malloc/mcheck.c: Likewise.
25097 * malloc/mtrace.c: Likewise.
25098 * math/bits/mathcalls.h: Likewise.
25099 * math/fenv.h: Likewise.
25100 * math/math_private.h: Likewise.
25101 * misc/bits/error.h: Likewise.
25102 * misc/bits/syslog.h: Likewise.
25103 * misc/err.h: Likewise.
25104 * misc/error.h: Likewise.
25105 * misc/fstab.h: Likewise.
25106 * misc/mntent.h: Likewise.
25107 * misc/regexp.h: Likewise.
25108 * misc/search.h: Likewise.
25109 * misc/sgtty.h: Likewise.
25110 * misc/sys/mman.h: Likewise.
25111 * misc/sys/syslog.h: Likewise.
25112 * misc/sys/uio.h: Likewise.
25113 * misc/sys/xattr.h: Likewise.
25114 * misc/ttyent.h: Likewise.
25115 * nis/rpcsvc/ypclnt.h: Likewise.
25116 * nss/nss.h: Likewise.
25117 * posix/bits/unistd.h: Likewise.
25118 * posix/fnmatch.h: Likewise.
25119 * posix/glob.h: Likewise.
25120 * posix/sched.h: Likewise.
25121 * posix/spawn.h: Likewise.
25122 * posix/sys/wait.h: Likewise.
25123 * posix/unistd.h: Likewise.
25124 * posix/wordexp.h: Likewise.
25125 * pwd/pwd.h: Likewise.
25126 * resolv/netdb.h: Likewise.
25127 * resource/sys/resource.h: Likewise.
25128 * rt/aio.h: Likewise.
25129 * rt/bits/mqueue2.h: Likewise.
25130 * rt/mqueue.h: Likewise.
25131 * shadow/shadow.h: Likewise.
25132 * signal/signal.h: Likewise.
25133 * socket/send.c: Likewise.
25134 * socket/sendto.c: Likewise.
25135 * socket/sys/socket.h: Likewise.
25136 * stdio-common/printf.h: Likewise.
25137 * stdlib/bits/stdlib.h: Likewise.
25138 * stdlib/fmtmsg.h: Likewise.
25139 * stdlib/monetary.h: Likewise.
25140 * stdlib/stdlib.h: Likewise.
25141 * stdlib/ucontext.h: Likewise.
25142 * streams/stropts.h: Likewise.
25143 * string/argz.h: Likewise.
25144 * string/bits/string2.h: Likewise.
25145 * string/string.h: Likewise.
25146 * string/strings.h: Likewise.
25147 * sunrpc/rpc/auth.h: Likewise.
25148 * sunrpc/rpc/auth_des.h: Likewise.
25149 * sunrpc/rpc/clnt.h: Likewise.
25150 * sunrpc/rpc/netdb.h: Likewise.
25151 * sunrpc/rpc/pmap_clnt.h: Likewise.
25152 * sunrpc/rpc/xdr.h: Likewise.
25153 * sysdeps/generic/inttypes.h: Likewise.
25154 * sysdeps/generic/net/if.h: Likewise.
25155 * sysdeps/generic/sys/swap.h: Likewise.
25156 * sysdeps/gnu/net/if.h: Likewise.
25157 * sysdeps/gnu/utmpx.h: Likewise.
25158 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25159 * sysdeps/i386/i486/bits/string.h: Likewise.
25160 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25161 * sysdeps/s390/bits/string.h: Likewise.
25162 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25163 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25164 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25165 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25166 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25167 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25168 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25169 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25170 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25171 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25172 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25173 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25174 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25175 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25176 * sysdeps/unix/sysv/linux/readv.c: Likewise.
25177 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25178 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25179 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25180 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25181 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25182 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25183 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25184 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25185 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25186 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25187 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25188 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25189 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25190 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25191 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25192 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25193 * sysvipc/sys/ipc.h: Likewise.
25194 * sysvipc/sys/msg.h: Likewise.
25195 * sysvipc/sys/sem.h: Likewise.
25196 * sysvipc/sys/shm.h: Likewise.
25197 * termios/termios.h: Likewise.
25198 * time/sys/time.h: Likewise.
25199 * time/time.h: Likewise.
25200 * wcsmbs/bits/wchar2.h: Likewise.
25201 * wcsmbs/uchar.h: Likewise.
25202 * wcsmbs/wchar.h: Likewise.
25203 * wctype/wctype.h: Likewise.
25204
0269750c
UD
25205 [BZ #13551]
25206 * Makeconfig: Remove all but ELF support including AIX support.
25207 * Makerules: Likewise.
25208 * config.h.in: Likewise.
25209 * config.make.in: Likewise.
25210 * configure: Likewise.
25211 * configure.in: Likewise.
25212 * csu/Makefile: Likewise.
25213 * csu/version.c: Likewise.
25214 * debug/Makefile: Likewise.
25215 * dlfcn/Makefile: Likewise.
25216 * elf/Makefile: Likewise.
25217 * extra-lib.mk: Likewise.
25218 * iconv/Makefile: Likewise.
25219 * include/libc-symbols.h: Likewise.
25220 * include/shlib-compat.h: Likewise.
25221 * resolv/Makefile: Likewise.
25222 * resolv/res_libc.c: Likewise.
25223 * rt/Makefile: Likewise.
25224 * sysdeps/i386/asm-syntax.h: Likewise.
25225 * sysdeps/i386/sysdep.h: Likewise.
25226 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25227 * sysdeps/mach/sysdep.h: Likewise.
25228 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25229 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25230 * sysdeps/s390/asm-syntax.h: Likewise.
25231 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25232 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25233 * sysdeps/sh/sysdep.h: Likewise.
25234 * sysdeps/unix/sparc/sysdep.h: Likewise.
25235 * sysdeps/wordsize-32/divdi3.c: Likewise.
25236 * sysdeps/x86_64/sysdep.h: Likewise.
25237
00bbd29b
UD
25238 * argp/Versions: Remove _argp_unlock_xxx.
25239
25240 [BZ #13559]
25241 * abilist/ld.abilist: Update. Adjust for removal of tls option.
25242 * abilist/libBrokenLocale.abilist: Likewise.
25243 * abilist/libanl.abilist: Likewise.
25244 * abilist/libc.abilist: Likewise.
25245 * abilist/libcrypt.abilist: Likewise.
25246 * abilist/libdl.abilist: Likewise.
25247 * abilist/libm.abilist: Likewise.
25248 * abilist/libnsl.abilist: Likewise.
25249 * abilist/libpthread.abilist: Likewise.
25250 * abilist/libresolv.abilist: Likewise.
25251 * abilist/librt.abilist: Likewise.
25252 * abilist/libthread_db.abilist: Likewise.
25253 * abilist/libutil.abilist: Likewise.
25254 * abilist/libnss_db.abilist: New file.
25255
25256 * scripts/abilist.awk: Add support for indirect functions.
25257
a2693a0e
UD
25258 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25259
3f05895f
UD
25260 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25261
ecb6fb48
UD
25262 * shlib-versions: Remove entries for ports architectures.
25263
664f8cb9
UD
25264 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
25265 files in ports.
25266 * elf/stackguard-macros.h: Remove support for IA-64.
25267 * elf/tst-auditmod1.c: Likewise.
25268 * sysdeps/generic/ldsodefs.h: Likewise.
25269
7ae81d88
UD
25270 * sysdeps/unix/sysv/linux/configure.in: Ports should define
25271 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25272 configure files.
25273
bdeba135
UD
25274 [BZ #13552]
25275 * configure.in: Remove --enable-omitfp support.
25276 * FAQ.in: Adjust.
25277 * config.make.in: Likewise.
25278 * Makeconfig: Likewise.
25279 * manual/install.texi: Likewise.
25280
d75a0a62
UD
25281 In case anyone cares, the IA-64 architecture could move to ports.
25282 * sysdeps/ia64/*: Removed.
25283 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 25284 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 25285
dcc9756b
UD
25286 [BZ #13555]
25287 * configure.in: Remove entries for unsupported architectures.
25288
d3761ebc 25289 [BZ #13533]
9954432e
UD
25290 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25291 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
25292 routines.
25293 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25294 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25295 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
25296 fall back to using wcrtomb.
25297 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25298 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
25299 renaming.
25300 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25301 * wcsmbs/tst-c16c32-1.c: New file.
25302
25303 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25304 local variable.
25305
c3a87236
UD
25306 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25307
28926a1b
UD
25308 * elf/tst-unique3.cc: Add explicit declaration of gets.
25309 * elf/tst-unique3lib.cc: Likewise.
25310 * elf/tst-unique3lib2.cc: Likewise.
25311 * elf/tst-unique4.cc: Likewise.
25312
df78418a
UD
25313 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25314
8ecd6b2a
JM
253152012-01-06 Joseph Myers <joseph@codesourcery.com>
25316
25317 [BZ #13566]
25318 * assert/assert.h (static_assert): Don't define for C++.
25319 * libio/stdio.h (gets): Do declare for C++ <= C++11.
25320 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25321
9f115170
UD
253222012-01-03 Ulrich Drepper <drepper@gmail.com>
25323
5e0d0300
UD
25324 * iconv/loop.c (single loop): Fix assertion in storing of
25325 remaining bytes.
25326
9f115170
UD
25327 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25328
81fb02b0
UD
253292012-01-01 Ulrich Drepper <drepper@gmail.com>
25330
25331 * posix/getconf.c: Update copyright year.
25332 * nss/getent.c: Likewise.
a316c1f6 25333 * nss/makedb.c: Likewise.
81fb02b0
UD
25334 * iconv/iconvconfig.c: Likewise.
25335 * iconv/iconv_prog.c: Likewise.
25336 * elf/ldconfig.c: Likewise.
a316c1f6
UD
25337 * elf/pldd.c: Likewise.
25338 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
25339 * catgets/gencat.c: Likewise.
25340 * csu/version.c: Likewise.
25341 * elf/ldd.bash.in: Likewise.
25342 * elf/sprof.c (print_version): Likewise.
25343 * locale/programs/locale.c: Likewise.
25344 * locale/programs/localedef.c: Likewise.
a316c1f6 25345 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
25346 * nscd/nscd.c (print_version): Likewise.
25347 * debug/xtrace.sh: Likewise.
25348 * malloc/memusage.sh: Likewise.
25349 * malloc/mtrace.pl: Likewise.
25350 * debug/catchsegv.sh: Likewise.
25351
2ba92745
JJ
253522011-12-30 Jakub Jelinek <jakub@redhat.com>
25353
25354 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25355 pure attribute.
25356
dadebdae
UD
253572011-12-24 Ulrich Drepper <drepper@gmail.com>
25358
d3761ebc 25359 [BZ #13533]
db6af3eb
UD
25360 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25361 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25362 transformations.
25363 * iconv/gconv_int.h: Likewise.
25364 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25365 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25366 from libc for GLIBC_2.16.
25367 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25368 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25369 * wcsmbs/uchar.h: Really define mbstate_t.
25370 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25371 * wcsmbs/c16rtomb.c: New file.
25372 * wcsmbs/mbrtoc16.c: New file.
25373 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25374 for C/POSIX locale.
25375 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25376 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25377
dadebdae
UD
25378 * wcsmbs/wchar.h: Add missing __restrict.
25379
67371b56
UD
253802011-12-23 Ulrich Drepper <drepper@gmail.com>
25381
74033a25
UD
25382 [BZ #13532]
25383 * time/Makefile (routines): Add timespec_get.
25384 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25385 * time/time.h: Define TIME_UTC and declare timespec_get. Define
25386 timespec for ISO C11.
25387 * time/timespec_get.c: New file.
25388 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25389 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25390
380d7e87
UD
25391 [BZ #13531]
25392 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25393 * stdlib/stdlib.h: Declare aligned_alloc.
25394 * Versions.def: Add GLIBC_2.16 for libc.
25395 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25396
4e9e7a35
UD
25397 [BZ 13527]
25398 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25399 ISO C11.
25400
380d7e87 25401 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
25402 code.
25403
03a71829
UD
25404 [BZ #13528]
25405 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25406
839e283e
UD
25407 [BZ #13529]
25408 * assert/assert.h (static_assert): Define.
25409
ce5294e2 25410 * version.h: Update for 2.16 development version.
90fa7312 25411
8d44e150 25412 [BZ #13526]
d7809905
UD
25413 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25414 _ISOC11_SOURCE.
25415
c0da14cd
UD
25416 * version.h (RELEASE): Bump for 2.15 release.
25417 * include/features.h (__GLIBC_MINOR__): Bump to 15.
25418
530a3249
MP
25419 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25420 Patch by Marek Polacek <mpolacek@redhat.com>.
25421
67371b56
UD
25422 * bits/byteswap.h: Protect long long constants with __extension__.
25423 * sysdeps/i386/bits/byteswap.h: Likewise.
25424 * sysdeps/ia64/bits/byteswap.h: Likewise.
25425 * sysdeps/s390/bits/byteswap.h: Likewise.
25426 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25427
15db4de1
LD
254282011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25429
25430 [BZ #13540]
bbe315ea
LD
25431 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25432 destination buffer.
15db4de1
LD
25433 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25434
2b2596b1
MP
254352011-12-23 Marek Polacek <polacek@redhat.com>
25436
25437 * elf/dl-addr.c (determine_info): Add inline keyword.
25438 * elf/tst-auditmod4b.c (check_avx): Likewise.
25439 * elf/tst-auditmod6b.c (check_avx): Likewise.
25440 * elf/tst-auditmod6c.c (check_avx): Likewise.
25441 * elf/tst-auditmod7b.c (check_avx): Likewise.
25442
70c6c246
UD
254432011-12-23 Ulrich Drepper <drepper@gmail.com>
25444
25445 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25446 !__SSE_MATH__.
25447
c044cf14
LD
254482011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25449
15db4de1 25450 [BZ #13540]
c044cf14
LD
25451 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25452 processing for last bytes.
25453
6b13d9d9
BH
254542011-08-06 Bruno Haible <bruno@clisp.org>
25455
d455f537
BH
25456 [BZ #13061]
25457 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25458 U+0385, not to U+1FEE.
25459
6b13d9d9
BH
25460 [BZ #13062]
25461 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25462 entry for U+00A5 U+0301.
25463
db910efd
UD
254642011-12-22 Ulrich Drepper <drepper@gmail.com>
25465
27deeafc
UD
25466 [BZ #13166]
25467 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25468 buffer for the output is too small.
25469
aed9d171
UD
25470 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25471 optimization.
25472
db910efd
UD
25473 [BZ #13185]
25474 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25475 SSE flags if possible.
25476
2bd779ae
LD
254772011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25478
e7f9dac3 25479 [BZ #13540]
2bd779ae
LD
25480 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25481 processing for last bytes.
25482
154bfc16
JM
254832011-12-22 Joseph Myers <joseph@codesourcery.com>
25484
25485 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25486 (syscall-list-default-options, syscall-list-default-condition)
25487 (syscall-list-includes): Define.
25488 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25489 list of ABIs and options and #if conditions for each ABI. Do not
25490 handle common syscalls between ABIs specially.
25491 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25492 Remove.
25493 (syscall-list-variants, syscall-list-32bit-options)
25494 (syscall-list-32bit-condition, syscall-list-64bit-options)
25495 (syscall-list-64bit-condition): Define.
25496 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25497 (syscall-list-variants, syscall-list-32bit-options)
25498 (syscall-list-32bit-condition, syscall-list-64bit-options)
25499 (syscall-list-64bit-condition): Define.
25500 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25501 Remove.
25502 (syscall-list-variants, syscall-list-32bit-options)
25503 (syscall-list-32bit-condition, syscall-list-64bit-options)
25504 (syscall-list-64bit-condition): Define.
25505 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25506 Remove.
25507 (syscall-list-variants, syscall-list-32bit-options)
25508 (syscall-list-32bit-condition, syscall-list-64bit-options)
25509 (syscall-list-64bit-condition): Define.
25510
21eaf3a5
UD
255112011-12-22 Ulrich Drepper <drepper@gmail.com>
25512
16c6f992
UD
25513 * locale/iso-639.def: Add brx entry.
25514
41043168
UD
25515 [BZ #13328]
25516 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25517 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25518
21eaf3a5
UD
25519 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25520 __feraiseexcept_renamed.
25521
e3a851a2
UD
255222011-12-21 Ulrich Drepper <drepper@gmail.com>
25523
4920765e
UD
25524 [BZ #13538]
25525 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25526 EPOLLET with unsigned values.
25527 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25528 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25529
e3a851a2
UD
25530 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25531 to large cancellation.
25532 * math/s_cacoshf.c: Likewise.
25533 * math/s_cacoshl.c: Likewise.
25534
b27e24b8
RK
255352011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25536
25537 [BZ #13305]
aebefeee 25538 [BZ #12786]
b27e24b8
RK
25539 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25540 * math/s_cacoshf.c: Likewise.
25541 * math/s_cacoshl.c: Likewise.
25542
ee190f67
UD
255432011-12-21 Ulrich Drepper <drepper@gmail.com>
25544
25545 [BZ #13439]
25546 * iconv/gconv.h: Define __GCONV_SWAP.
25547 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25548 * iconvdata/utf-16.c: Likewise.
25549 * iconvdata/utf-32.c: Likewise.
25550
707f25df
AS
255512011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25552
25553 [BZ #13524]
25554 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25555 numerator after shifting it by one limb.
25556
d2daaa1e
RÁE
255572011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25558
25559 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25560 under [__USE_EXTERN_INLINES].
25561
a4647e72
UD
255622011-12-17 Ulrich Drepper <drepper@gmail.com>
25563
25564 [BZ #13446]
25565 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25566
f0b264f1
AZ
255672011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25568
25569 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25570 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25571 optimized code.
25572 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25573 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25574 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25575 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25576 for strncasecmp/strncasecmp_l compilation.
25577 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25578 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25579
8ef4f244
MP
255802011-12-08 Marek Polacek <mpolacek@redhat.com>
25581
25582 [BZ #13484]
25583 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25584 of __asm__.
25585
97ac2654
UD
255862011-12-17 Ulrich Drepper <drepper@gmail.com>
25587
25588 [BZ #13506]
25589 * time/tzfile.c (__tzfile_read): Check values from file header.
25590
91d2a845
WS
255912011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25592
25593 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25594 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25595 * powerpc/powerpc32/dl-start.S: Likewise.
25596 * powerpc/powerpc32/elf/start.S: Likewise.
25597 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25598 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25599 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25600 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25601 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25602 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25603 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25604 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25605 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25606 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25607 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25608 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25609 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25610 * powerpc/powerpc32/memset.S: Likewise.
25611 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25612 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25613 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25614 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25615 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25616 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25617 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25618 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25619 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25620 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25621 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25622 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25623 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25624
a1267ba1
AZ
256252011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25626
25627 * math/libm-test.inc: Added more nearbyint tests.
25628 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25629 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25630 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25631 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25632
ad8ac1bd
RL
256332011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25634
25635 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25636 FD_CLOEXEC.
25637
1d3e4b61
UD
256382011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25639
25640 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25641 Add wcscpy-ssse3 wcscpy-c.
25642 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25643 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25644 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25645 * sysdeps/x86_64/wcschr.S: New file.
25646 * sysdeps/x86_64/wcsrchr.S: New file.
25647 * string/test-strcmp.c: Remove checking of wcscmp function for
25648 wrong alignments.
25649 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25650 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25651 wcsrchr-sse2 wcsrchr-c.
25652 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25653 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25654 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25655 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25656 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25657 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25658 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25659 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25660 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25661 * wcsmbc/wcschr.c (WCSCHR): New macro.
25662
5b330a2d
UD
256632011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25664
25665 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25666 * wcsmbs/test-wcsrchr.c: New file.
25667 * string/test-strrchr.c: Add wcsrchr support.
25668 (WIDE): New macro.
25669 * wcsmbs/test-wcscpy.c: New file.
25670 * string/test-strcpy.c: Add wcscpy support.
25671 (WIDE): New macro.
26428b7c 25672
f039c043
UD
256732011-12-10 Ulrich Drepper <drepper@gmail.com>
25674
25675 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25676 the inner loop.
25677
850fb039
AS
256782011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25679
25680 [BZ #13472]
25681 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25682
4efbd5cb
UD
256832011-12-04 Ulrich Drepper <drepper@gmail.com>
25684
52ff5dd0 25685 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 25686 Minor optimizations.
52ff5dd0 25687
4efbd5cb
UD
25688 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25689 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25690 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25691
8a426e12
UD
256922011-12-03 Ulrich Drepper <drepper@gmail.com>
25693
aff2453d
UD
25694 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25695 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25696 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25697 for gcc to avoid warnings.
25698 * inet/Makefile (tests): Add tst-checks.
25699 * inet/tst-checks.c: New file.
25700
25701 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25702 warning.
25703
25704 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25705 __wmemcmp_sse2.
25706
25707 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25708 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25709
8a426e12
UD
25710 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25711
9bea3473
UD
257122011-12-02 Ulrich Drepper <drepper@gmail.com>
25713
3a965496
UD
25714 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25715 problem.
25716
9bea3473
UD
25717 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25718
f101631b
UD
257192011-11-29 Joseph Myers <joseph@codesourcery.com>
25720
25721 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25722 conditional on GCC version.
25723 (__arch_compare_and_exchange_val_8_acq)
25724 (__arch_compare_and_exchange_val_16_acq)
25725 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25726 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25727 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25728
a98275aa
UD
257292011-12-02 Joseph Myers <joseph@codesourcery.com>
25730
25731 * sysdeps/sh/backtrace.c: New file.
25732
d4cc29a2
AS
257332011-12-02 Andreas Schwab <schwab@redhat.com>
25734
25735 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25736 parenthesis.
25737
6257af2d
AS
257382011-12-01 Andreas Schwab <schwab@redhat.com>
25739
25740 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25741 falling back to utime.
25742
b5f44c1a
AS
257432011-11-30 Andreas Schwab <schwab@redhat.com>
25744
25745 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25746 expectations for float.
25747
f3a6cc0a
AS
257482011-11-29 Andreas Schwab <schwab@redhat.com>
25749
25750 * locale/weight.h (findidx): Add parameter len.
25751 * locale/weightwc.h (findidx): Likewise.
25752 * posix/fnmatch_loop.c (FCT): Adjust caller.
25753 * posix/regcomp.c (build_equiv_class): Likewise.
25754 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25755 * posix/regexec.c (check_node_accept_bytes): Likewise.
25756 * string/strcoll_l.c (STRCOLL): Likewise.
25757 * string/strxfrm_l.c (STRXFRM): Likewise.
25758
9d65ea3a
UD
257592011-11-17 Ulrich Drepper <drepper@gmail.com>
25760
25761 * Makefile.in: Remove CVSOPT handling.
25762 * configure.in: Remove use of AC_REVISION.
25763 * iconvdata/Makefile (distribute): No need to filter out CVS.
25764 * scripts/list-sources.sh: Remove CVS, subversion and monotone
25765 handling.
25766
5583a086
AS
257672011-11-16 Andreas Schwab <schwab@redhat.com>
25768
25769 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25770 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25771 [USE_AS_STRNCASECMP_L]: Likewise.
25772 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25773 NO_TLS_DIRECT_SEG_REFS.
25774 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25775 Fix argument offsets for non-PIC.
25776 [USE_AS_STRNCASECMP_L]: Likewise.
25777 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25778 NO_TLS_DIRECT_SEG_REFS.
25779
d62a8200
UD
257802011-11-15 Ulrich Drepper <drepper@gmail.com>
25781
9d65ea3a 25782 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
25783 O_CLOEXEC.
25784 * locale/loadlocale.c (_nl_load_locale): Likewise.
25785
09f93bd3
AS
257862011-11-15 Andreas Schwab <schwab@redhat.com>
25787
446514f9
AS
25788 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25789 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25790 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25791 (SYSCALL_GETTIME): Set errno on error.
25792
09f93bd3
AS
25793 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25794 count references to noai6ai_cached.
25795
312be3f9
UD
257962011-11-15 Ulrich Drepper <drepper@gmail.com>
25797
25798 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25799
25800 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25801 FD_CLOEXEC for /proc/self/maps.
25802
25803 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25804 FD_CLOEXEC for /proc/meminfo.
25805
25806 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25807 gai.conf.
25808
25809 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
25810 FD_CLOEXEC for given file.
25811
25812 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25813
25814 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25815 FD_CLOEXEC for /etc/hosts.
25816 (_gethtent): Likewise.
25817
25818 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25819
25820 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25821 cancellation and set FD_CLOEXEC for /etc/netgroup.
25822
25823 * nss/nss_files/files-key.c (search): Don't allow cancellation when
25824 reading /etc/publickey.
25825
25826 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25827 allow cancellation when reading /etc/group.
25828
25829 * nss/nss_files/files-alias.c (internal_setent): Don't allow
25830 cancellation.
25831 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
25832
25833 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25834 when using data file.
25835
25836 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25837
25838 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25839 (write_nis_obj): Use "c" and "e" in fopen.
25840
25841 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25842
25843 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25844
25845 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25846
25847 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25848
25849 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25850 locale.alias.
25851
25852 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25853
25854 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25855
25856 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25857
25858 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25859 file parsing and set FD_CLOEXEC.
25860
82af0fa8
UD
258612011-11-14 Ulrich Drepper <drepper@gmail.com>
25862
25863 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25864
a5fb313c
AS
258652011-11-14 Andreas Schwab <schwab@redhat.com>
25866
25867 * malloc/arena.c (arena_get2): Don't call reused_arena when
25868 _int_new_arena failed.
25869
6abf3465
UD
258702011-11-14 Ulrich Drepper <drepper@gmail.com>
25871
25872 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25873 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25874 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25875 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25876 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25877 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25878 to compile strcasecmp and strncasecmp.
25879 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25880 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25881
25882 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25883
76e3966e
UD
258842011-11-13 Ulrich Drepper <drepper@gmail.com>
25885
25886 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25887 locale-defines.sym to gen-as-const-headers.
25888 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25889 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25890 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25891 to compile strcasecmp and strncasecmp.
25892 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25893 strcasecmp_l and strncasecmp_l.
25894 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25895 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25896 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25897 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25898 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25899 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25900 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25901 * sysdeps/i386/i686/multiarch/strncase.S: New file.
25902 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25903 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25904 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25905
ab26144e
UD
259062011-11-12 Ulrich Drepper <drepper@gmail.com>
25907
7edb22ef
UD
25908 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25909 result of SYSDEP_GETTIME_CPU to retval.
25910 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25911 parameter list to macro. Remove trailing semicolon. Adjust users.
25912
9694fc44
UD
25913 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25914 variable.
25915
8ad89ef8
UD
25916 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25917 mantissa words.
25918 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25919
0c822ef9
UD
25920 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25921 from unused variable.
25922
874e0564
UD
25923 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25924 DWARF definitions.
25925 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25926 for assembling.
25927
3a2edc79
UD
25928 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25929 over namespaces.
25930
f3c2577f
UD
25931 * sunrpc/rpc_prot.c (rejected): Fix case value.
25932
294ce126
UD
25933 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25934 unsigned long long int to avoid warnings in shift.
25935
5e2b63c6
UD
25936 * posix/regex_internal.c (re_string_reconstruct): Actually use result
25937 of use of trans.
25938 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25939 variable tmp.
25940
e7f4b08e
UD
25941 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25942 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25943 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25944
ab26144e
UD
25945 * nis/nis_table.c (nis_list): Use variable of correct type for
25946 result of __follow_path call.
25947
8a6d5255
AZ
259482011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25949
25950 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25951 of math functions ceil, trunc, floor, round, and sqrt, when
25952 avaliable on the platform.
25953 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25954 name clash.
25955 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25956 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25957 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25958
aaddc98c
MP
259592011-10-30 Marek Polacek <mpolacek@redhat.com>
25960
25961 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25962 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25963
95b7042b
RM
259642011-11-11 Roland McGrath <roland@hack.frob.com>
25965
25966 * include/unistd.h: Fix __readlink return type.
25967 Reported by Chris Metcalf <cmetcalf@tilera.com>.
25968
57769839
UD
259692011-11-11 Ulrich Drepper <drepper@gmail.com>
25970
25971 * stdlib/ucontext.h: Undo last change for makecontext.
25972
edc5984d
AS
259732011-11-11 Andreas Schwab <schwab@redhat.com>
25974
98591e58
AS
25975 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25976
edc5984d
AS
25977 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25978 * setjmp/setjmp.h: Mark functions as non-leaf.
25979 * setjmp/bits/setjmp2.h: Likewise.
25980 * stdlib/ucontext.h: Likewise.
25981
77cdc054
AS
259822011-11-10 Andreas Schwab <schwab@redhat.com>
25983
25984 * malloc/arena.c (_int_new_arena): Don't increment narenas.
25985 (reused_arena): Don't check arena limit.
25986 (arena_get2): Atomically check arena limit.
25987
fe72eebd
UD
259882011-11-08 Ulrich Drepper <drepper@gmail.com>
25989
5f078c32
UD
25990 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25991 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25992
fe72eebd
UD
25993 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25994 instructions.
25995
ae1bc2fa
AS
259962011-11-07 Andreas Schwab <schwab@redhat.com>
25997
7583a88d
AS
25998 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25999 handler when locking.
26000
ae1bc2fa
AS
26001 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26002 Fix size of allocated buffer.
26003
10fb0bfa
AS
260042011-11-04 Andreas Schwab <schwab@redhat.com>
26005
998832a4
AS
26006 [BZ #10103]
26007 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26008 declarations for long double functions.
26009 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26010
10fb0bfa
AS
26011 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26012
3d7ba52b
AS
260132011-11-03 Andreas Schwab <schwab@redhat.com>
26014
a9ae54a1
AS
26015 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26016 installed.
26017
3d7ba52b
AS
26018 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26019 is disabled.
26020
bc8db248
ST
260212011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26022
26023 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26024
45b96dd6
AS
260252011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26026
647776f6
AS
26027 * include/alloca.h (stackinfo_alloca_round): Define.
26028 (extend_alloca): Use it.
26029 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26030 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26031 here.
26032
d91a8b93
AS
26033 * scripts/check-local-headers.sh: Ignore libaudit.h.
26034
45b96dd6
AS
26035 * nscd/Makefile (extra-objs): Make recursively expanded.
26036
432d41ce
UD
260372011-11-01 Ulrich Drepper <drepper@gmail.com>
26038
34372fc6
UD
26039 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26040 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26041
fadb59f8
UD
26042 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26043 * posix/tst-rfc3484-2.c: Likewise.
26044 * posix/tst-rfc3484-3.c: Likewise.
26045
78239589
UD
26046 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26047 process_vm_writev.
26048 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26049 process_vm_writev.
26050 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26051 process_vm_writev from libc using GLIBC_2.15 version.
26052
432d41ce
UD
26053 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26054
02f9c6cf
PP
260552011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26056
26057 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26058 stack usage.
26059
3a2c0242
UD
260602011-10-31 Ulrich Drepper <drepper@gmail.com>
26061
f4ec4833
UD
26062 [BZ #13367]
26063 * nss/getent.c (initgroups_keys): Show error message in case no group
26064 names are given.
26065
3a2c0242
UD
26066 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26067 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26068 __bump_nl_timestamp.
26069 * nscd/connections (nscd_init): When host database is served open
26070 netlink socket and request notification about configuration changes.
26071 (main_loop_poll): Track netlink file descriptor and bump timestamp
26072 in case data becomes available.
26073 (main_loop_epoll): Likewise.
26074 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26075 (database_pers_head): Add extra_data fileds.
26076 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26077 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26078 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26079 Adjust caller.
26080 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26081 in6ai data, call __free_in6ai.
26082 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26083 Add -DHAVE_NETLINK.
26084 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26085 interface information. Reuse previous data if netlink timestamp
26086 is not changed.
26087 (__bump_nl_timestamp): New function.
26088 (__free_in6ai): New function.
26089
636064eb
UD
260902011-10-30 Ulrich Drepper <drepper@gmail.com>
26091
26092 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26093 close_not_cancel_no_status here.
26094 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26095
9beb2334
UD
260962011-10-29 Ulrich Drepper <drepper@gmail.com>
26097
6ef76f3b
UD
26098 [BZ #13276]
26099 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26100 return value.
26101
0ffc4f3e 26102 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
26103 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26104 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26105
cb95113e
UD
261062011-07-03 Andreas Jaeger <aj@suse.de>
26107
26108 [BZ #10709]
26109 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26110 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26111 * math/libm-test.inc (sin_test): Add test case.
26112
a1b560ff
UD
261132011-10-29 Ulrich Drepper <drepper@gmail.com>
26114
c9aaface
UD
26115 [BZ #13337]
26116 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26117 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26118
d272e7f1
UD
26119 * elf/chroot_canon.c (chroot_canon): Cleanups.
26120
1bc33071
UD
26121 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26122
1760874d
TJ
26123 [BZ #13335]
26124 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26125 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26126
51d91b18
UD
26127 * string/test-strchr.c: Make usable for strchrnul testing.
26128 * string/test-strchrnul.c: New file.
26129 * string/Makefile (strop-tests): Add strchrnul.
26130
a1b560ff 26131 * po/it.po: Update from translation team.
b611fb81 26132 * po/es.po: Likewise.
a1b560ff 26133
a5b81e1f
UD
261342011-10-28 Ulrich Drepper <drepper@gmail.com>
26135
fd52bc6d
UD
26136 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26137 the three constants needed as parameters. Drop the others.
26138 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26139 __m128i_strloadu_tolower.
52e4b9eb
UD
26140 Create and initialize variable zero and use it in all the places
26141 where _mm_setzero_si128 was used.
fd52bc6d 26142
a5b81e1f
UD
26143 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26144 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26145 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26146 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26147 anymore.
26148 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26149 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26150 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26151 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26152 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26153 __mpranred, __mptan.
26154 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26155 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26156 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26157 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26158 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26159 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26160 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26161 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26162 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26163
b4343346
AS
261642011-10-28 Andreas Schwab <schwab@redhat.com>
26165
0c92d8a8
AS
26166 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26167 redefine if SHARED.
26168 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26169
b4343346
AS
26170 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26171 wide char related routines to wcsmbs subdir.
26172
3871f58f
AS
261732011-10-27 Andreas Schwab <schwab@redhat.com>
26174
26175 [BZ #13344]
26176 * misc/sys/cdefs.h (__THROWNL): Define.
26177 * posix/unistd.h: Use __THREADNL instead of __THREAD
26178 for memory synchronization functions.
26179
94d44d9f
RM
261802011-10-26 Roland McGrath <roland@hack.frob.com>
26181
21b64b15 26182 [BZ #13349]
94d44d9f
RM
26183 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26184 doesn't exist.
26185 * manual/stdio.texi (Obstack Streams): Node removed.
26186
f6ce9294
AS
261872011-10-26 Andreas Schwab <schwab@redhat.com>
26188
80479147
AS
26189 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26190 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26191 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26192
f6ce9294
AS
26193 * math/math_private.h (math_force_eval): Allow non-addressable
26194 arguments.
26195 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26196
618280a1
UD
261972011-10-25 Ulrich Drepper <drepper@gmail.com>
26198
e0016b11
UD
26199 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26200 file is not needed.
26201
26202 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26203 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26204 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26205 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26206 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26207 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26208 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26209 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26210 Add AVX variants.
26211 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26212 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26213 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26214 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26215 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26216 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26217 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26218 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26219 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26220 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26221 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26222 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26223 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26224 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26225 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26226 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26227 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26228 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26229 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26230
26231 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26232 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
26233
618280a1
UD
26234 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26235 place. Use VEX encoding when compiling for AVX.
26236
37822576
AS
262372011-10-25 Andreas Schwab <schwab@redhat.com>
26238
1f1e1947
AS
26239 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26240 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26241
37822576
AS
26242 * string/test-strchr.c (do_test): Don't generate NUL bytes.
26243
31ea014d
UD
262442011-10-25 Ulrich Drepper <drepper@gmail.com>
26245
d7826aa1 26246 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 26247 useless if() expression.
d7826aa1
UD
26248 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26249 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26250 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26251 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26252 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26253 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26254 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26255 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26256 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26257 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26258 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26259 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26260 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26261 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26262 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26263 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26264 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26265 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26266 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26267
31ea014d
UD
26268 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26269
16437fec
AS
262702011-10-25 Andreas Schwab <schwab@redhat.com>
26271
26272 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26273 condition.
26274 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26275
31d3cc00
UD
262762011-10-25 Ulrich Drepper <drepper@gmail.com>
26277
26278 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26279 .text section. Avoid duplicate constants.
26280 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26281 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26282 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26283 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26284 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26285 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26286 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26287 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26288 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26289 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26290 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26291 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26292 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26293 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26294 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26295 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26296 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26297 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26298 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26299 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26300 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26301 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26302 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26303 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26304 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26305 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26306 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26307 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26308 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26309 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26310 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26311 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26312 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26313 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26314 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26315 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26316 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26317 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26318 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26319 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26320 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26321 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26322 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26323 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26324 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26325
58985aa9
UD
263262011-10-24 Ulrich Drepper <drepper@gmail.com>
26327
202c9deb
UD
26328 * sysdeps/x86_64/dla.h: Move to ...
26329 * sysdeps/x86_64/fpu/dla.h: ...here.
26330 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26331 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 26332
af968f62
UD
26333 * config.make.in: Add have-mfma4 entry.
26334 * configure.in: Substitute libc_cv_cc_fma4.
26335 * math/Makefile (dbl-only-routines): Add sincostab.
26336 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26337 Use __sincostab not sincos.
26338 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26339 name is a macro.
26340 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26341 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26342 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26343 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
26344 using __copysign.
26345 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
26346 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
26347 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26348 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26349 and __inv.
26350 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26351 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26352 __copysign.
26353 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
26354 define aliases when function name is a macro.
26355 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26356 sysdeps/ieee754/dbl-64/sincos.tbl.
26357 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26358 fma4-enabled routines.
26359 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26360 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26361 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26362 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26363 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26364 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26365 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26366 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26367 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26368 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26369 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26370 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26371 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26372 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26373 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26374 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26375 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26376 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26377 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26378 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26379 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26380 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26381 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26382 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26383 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26384 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26385 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26386 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26387 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26388 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26389
58985aa9
UD
26390 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26391 rename.
26392 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26393 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26394 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26395 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26396 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26397 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26398 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26399 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26400
a201fbcf
AS
264012011-10-24 Andreas Schwab <schwab@redhat.com>
26402
26403 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26404
fc2ee42a
LD
264052011-10-23 Ulrich Drepper <drepper@gmail.com>
26406
bb3129bd
UD
26407 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26408
0275fff8
UD
26409 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26410 prediction.
26411 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26412
2fa2ae85
UD
26413 * string/strnlen.c: Don't define STRNLEN, reverse logic.
26414 Remove unused variable magic_bits.
26415 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26416
fc2ee42a
LD
26417 * string/strnlen.c: Define and use STRNLEN macro.
26418 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26419 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26420 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26421 * wcsmbs/wcslen.c: Define and use WCSLEN.
26422 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26423 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26424 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26425 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26426 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26427 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26428 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26429
ce7dd29f
LD
264302011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26431
26432 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26433 strnlen-sse2-no-bsf.
26434 Rename strlen-no-bsf to strlen-sse2-no-bsf.
26435 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26436 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26437 Add strnlen support.
26438 (USE_AS_STRNLEN): New macro.
26439 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26440 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26441 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26442 * sysdeps/x86_64/wcslen.S: New file.
26443
979c70a3
MZ
264442011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
26445
26446 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26447 XMM-moves are used for copying on small sizes.
26448
2d09f82f
LD
264492011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26450
26451 * wcsmbs/Makefile (strop-tests): Add wcschr.
26452 * wcsmbs/test-wcschr.c: New file.
26453 * string/test-strchr.c: Update.
26454 Add wcschr support.
26455 (WIDE): New macro.
26456
619fccca
LD
264572011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26458
2d09f82f 26459 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
26460 * wcsmbs/test-wcslen.c: New file.
26461 * string/test-strlen.c: Update.
26462 Add wcslen support.
26463 (WIDE): New macro.
26464
09f699ea
UD
264652011-10-23 Ulrich Drepper <drepper@gmail.com>
26466
26467 * po/it.po: Update from translation team.
26468
95584d3b
LD
264692011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26470
26471 * sysdeps/x86_64/wcscmp.S: Update.
26472 Fix wrong comparison semantics.
26473 wcscmp shall use signed comparison not unsigned.
26474 Don't use substraction to avoid overflow bug.
26475 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26476 * wcsmbc/wcscmp.c: Likewise.
26477 * string/test-strcmp.c: Likewise.
26478 Add new tests to check cases with negative values.
26479
c8b3296b
UD
264802011-10-23 Ulrich Drepper <drepper@gmail.com>
26481
26482 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26483 * sysdeps/x86_64/dla.h: ...here. New file.
26484 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26485 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26486 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26487 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26488 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26489 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26490 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26491 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26492 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26493
246ad57a
AS
264942011-10-23 Andreas Schwab <schwab@linux-m68k.org>
26495
26496 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26497 __ynl_finite aliases.
26498
a1a87169
UD
264992011-10-22 Ulrich Drepper <drepper@gmail.com>
26500
0d355eb7
UD
26501 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26502
a1a87169
UD
26503 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26504 define DLA_FMA.
26505 [DLA_FMA] (EMULV): Use DLA_FMA.
26506 [DLA_FMA] (MUL12): Use EMULV.
26507 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26508 that are not needed.
26509 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26510 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26511 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26512 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26513 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26514 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26515 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26516
ee2aafe0
AS
265172011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26518
26519 * math/s_nan.c: Undef __nan.
26520 * math/s_nanf.c: Undef __nanf.
26521 * math/s_nanl.c: Undef __nanl.
26522 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26523 "math_private.h".
26524
bc62c2fb
UD
265252011-10-22 Ulrich Drepper <drepper@gmail.com>
26526
77425c63
UD
26527 * math/s_catan.c: Add branch predictions.
26528 * math/s_catanf.c: Likewise.
26529 * math/s_catanh.c: Likewise.
26530 * math/s_catanhf.c: Likewise.
26531 * math/s_catanhl.c: Likewise.
26532 * math/s_catanl.c: Likewise.
26533 * math/s_cexp.c: Likewise.
26534 * math/s_cexpf.c: Likewise.
26535 * math/s_cexpl.c: Likewise.
26536 * math/s_clog.c: Likewise.
26537 * math/s_clog10.c: Likewise.
26538 * math/s_clog10f.c: Likewise.
26539 * math/s_clog10l.c: Likewise.
26540 * math/s_clogf.c: Likewise.
26541 * math/s_clogl.c: Likewise.
26542 * math/s_csqrt.c: Likewise.
26543 * math/s_csqrtf.c: Likewise.
26544 * math/s_csqrtl.c: Likewise.
26545 * math/s_ctanf.c: Likewise.
26546 * math/s_ctanh.c: Likewise.
26547 * math/s_ctanhf.c: Likewise.
26548 * math/s_ctanhl.c: Likewise.
26549 * math/s_ctanl.c: Likewise.
26550
bc62c2fb
UD
26551 * math/math_private.h: Define __nan, __nanf, __nanl.
26552 * math/s_cacosh.c: Include <math_private.h>.
26553 * math/s_cacoshl.c: Likewise.
26554 * math/s_casinh.c: Likewise.
26555 * math/s_casinhf.c: Likewise.
26556 * math/s_casinhl.c: Likewise.
26557 * math/s_ccos.c: Rely entire on ccosh.
26558 * math/s_ccosf.c: Rely entire on ccoshf.
26559 * math/s_ccosl.c: Rely entirely on ccoshl.
26560 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26561 Remove tests for FE_INVALID.
26562 * math/s_ccoshf.c: Likewise.
26563 * math/s_ccoshl.c: Likewise.
26564 * math/s_csin.c: Likewise.
26565 * math/s_csinf.c: Likewise.
26566 * math/s_csinh.c Likewise.
26567 * math/s_csinhf.c: Likewise.
26568 * math/s_csinhl.c: Likewise.
26569 * math/s_csinl.c: Likewise.
26570 * math/s_ctan.c: Likewise.
26571 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26572 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26573 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26574
8ec250a4
UD
265752011-10-21 Ulrich Drepper <drepper@gmail.com>
26576
c196fed8
UD
26577 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26578 compilation problems.
26579
8ec250a4
UD
26580 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26581 __builtin_expect.
26582
8d4f46c6
UD
265832011-10-20 Ulrich Drepper <drepper@gmail.com>
26584
ed72b654
UD
26585 * sysdeps/i386/configure.in: Test for -mfma4 option.
26586 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26587 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26588 COMMON_CPUID_INDEX_80000001.
26589 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26590 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26591 use it if FMA3 is not supported.
26592 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26593
8d4f46c6
UD
26594 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26595 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26596
d45c60c2
AS
265972011-10-20 Andreas Schwab <schwab@redhat.com>
26598
26599 [BZ #12892]
26600 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26601 it would create a cycle with a link time dependency.
26602
d9a4d2ab
UD
266032011-10-19 Ulrich Drepper <drepper@gmail.com>
26604
855d1560
UD
26605 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26606 instruction.
26607 * string/Makefile (strop-tests): Add rawmemchr.
26608 * string/test-rawmemchr.c: New file.
26609
d9a4d2ab
UD
26610 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26611 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26612 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26613 when compiling str{,n}casecmp and when AVX is available. Hook up
26614 new optimized code in initializers.
26615
8f3b1ffe
AS
266162011-10-19 Andreas Schwab <schwab@redhat.com>
26617
26618 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26619 __feraiseexcept instead of feraiseexcept.
26620
d38f1dba
UD
266212011-10-18 Ulrich Drepper <drepper@gmail.com>
26622
d9a8d0ab
UD
26623 * math/math_private.h: Define defaults for libc_fetestexcept and
26624 libc_feupdateenv.
26625 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26626 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26627 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26628 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26629 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26630 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26631 libc_fetestexcept and libc_feupdateenv.
26632
4855e3dd
UD
26633 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26634 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26635 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26636 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26637 libc_feholdexcept_setround.
26638
581d30e3
UD
26639 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26640 Add s_nearbyint-c and s_nearbyintf-c.
26641 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26642 nearbyintf inlines.
26643 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26644 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26645 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26646 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26647
d38f1dba
UD
26648 * math/math_private.h: Define defaults for libc_fegetround,
26649 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26650 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26651 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26652 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26653 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26654 standard functions.
26655 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26656 Remove comments and hacks for old compiler versions.
26657 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26658 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26659 libc_feholdexceptl.
26660
caa6c9d8
AS
266612011-10-18 Andreas Schwab <schwab@redhat.com>
26662
26663 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
26664 (__feraiseexcept_renamed): Add __NTH.
26665 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
26666 namespace violations.
26667
97c066e6
UD
266682011-10-17 Ulrich Drepper <drepper@gmail.com>
26669
99ce7b04
UD
26670 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26671
1004d182
UD
26672 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26673
228a984d
UD
26674 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26675 recently added interfaces.
26676 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26677
c8553a6a
UD
26678 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26679 about macro parameter expansion.
26680
ed22dcf6
UD
26681 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26682 __NO_MATH_INLINES is defined. Cleanups.
26683
26684 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26685 and __floorf is target has SSE4.1.
26686 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26687 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26688 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26689 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26690
b171c137
UD
26691 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26692 name.
26693 (floorf): Likewise.
26694
97c066e6
UD
26695 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26696
629f62ef
AS
266972011-10-17 Andreas Schwab <schwab@redhat.com>
26698
49a43d80
AS
26699 * misc/sys/cdefs.h: Fix last change.
26700
629f62ef
AS
26701 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26702 database lookup.
26703
e453f6cd
UD
267042011-10-16 Ulrich Drepper <drepper@gmail.com>
26705
aa78043a
UD
26706 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26707
ad0f5cad
UD
26708 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26709 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26710 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26711 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26712 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26713 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26714 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26715 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26716 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26717 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26718 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26719 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26720 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26721 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26722 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26723 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26724 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26725 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26726 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26727 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26728 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26729 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26730
26731 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26732 ceil, ceilf, floor, floorf.
26733
26734 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26735 Perform IRELATIVE relocations last.
26736
e453f6cd
UD
26737 * elf/do-rel.h: Add another parameter nrelative, replacing the
26738 local variable with the same name. Change name of the function
26739 to end in Rel or Rela (uppercase).
26740 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26741 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26742 elf_dynamic_do_##reloc function.
26743
fd5bdc09
UD
267442011-10-15 Ulrich Drepper <drepper@gmail.com>
26745
79b195b5
UD
26746 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26747 is sufficient, at least on modern CPUs.
26748
d4a28569
UD
26749 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26750
b61099b5
UD
26751 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26752 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26753
bcf01e6d
UD
26754 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26755 __expl_finite.
26756 * math/bits/math-finite.h: Add entries for exp.
26757 * math/e_expl.c: Add __*_finite alias.
26758 * sysdeps/i386/fpu/e_exp.S: Likewise.
26759 * sysdeps/i386/fpu/e_expf.S: Likewise.
26760 * sysdeps/i386/fpu/e_expl.c: Likewise.
26761 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26762 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26763 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26764 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26765 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26766 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26767 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26768
ba1a0d59
UD
26769 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26770 is sufficient, at least on modern CPUs.
26771
fd5bdc09
UD
26772 * ctype/ctype-info.c (__ctype_init): Define.
26773 * include/ctype.h (__ctype_init): Declare.
26774 (__ctype_b_loc): The variable is always initialized.
26775 (__ctype_toupper_loc): Likewise.
26776 (__ctype_tolower_loc): Likewise.
26777 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26778 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26779
7872cfb0
AS
267802011-10-15 Andreas Schwab <schwab@linux-m68k.org>
26781
b468825a
AS
26782 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26783
7872cfb0
AS
26784 * configure.in: Also look in $cxxmachine/include for C++ system
26785 headers.
26786
be13f7bf
LD
267872011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26788
26789 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26790 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26791 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26792 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
26793 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26794 (USE_AS_WMEMCMP): New macro.
26795 Fixing indents.
26796 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26797 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26798 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26799 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26800 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26801 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26802 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26803 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26804 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26805 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26806 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26807 (USE_AS_WMEMCMP): New macro.
26808 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26809 * sysdeps/string/test-memcmp.c: Update.
26810 Fix simple_wmemcmp.
26811 Add new tests.
26812 * wcsmbs/wmemcmp.c: Update.
26813 (WMEMCMP): New macro.
26814 Fix overflow bug.
26815
556a2007
AJ
268162011-10-12 Andreas Jaeger <aj@suse.de>
26817
26818 [BZ #13268]
26819 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26820
538faaa7
UD
268212011-10-15 Ulrich Drepper <drepper@gmail.com>
26822
ab6737ff
UD
26823 * libio/iofwide.c (do_length): Avoid warning.
26824
538faaa7
UD
26825 * ctype/ctype.h (__isctype_f): Add missing __THROW.
26826
396a21b1
UD
268272011-10-14 Ulrich Drepper <drepper@gmail.com>
26828
cdf2901f
UD
26829 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26830
38ad40ce
UD
26831 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26832 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26833 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26834 * sysdeps/i386/i686/fpu/e_log.S: New file.
26835 * sysdeps/i386/i686/fpu/e_logf.S: New file.
26836 * sysdeps/i386/i686/fpu/e_logl.S: New file.
26837
396a21b1
UD
26838 * ctype/ctype.h: Add support for inlined isXXX functions when
26839 compiling C++ code.
26840
6b1f68c9
AS
268412011-10-14 Andreas Schwab <schwab@redhat.com>
26842
349290c0
AS
26843 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26844
6b1f68c9
AS
26845 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26846
f2282d42
RM
268472011-10-13 Roland McGrath <roland@hack.frob.com>
26848
26849 [BZ #13291]
26850 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26851
5298ffa8
AS
268522011-10-13 Andreas Schwab <schwab@redhat.com>
26853
714fad23
AS
26854 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26855 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26856 feraiseexcept.
26857
81dcc7fb
AS
26858 * sysdeps/x86_64/memrchr.S: Check for zero size.
26859
5298ffa8
AS
26860 * string/stratcliff.c: Add memrchr tests.
26861
951fbcec
LD
268622011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26863
26864 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26865 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26866 rawmemchr-sse2 rawmemchr-sse2-bsf.
26867 * sysdeps/i386/i686/multiarch/memchr.S: New file.
26868 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26869 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26870 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26871 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26872 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26873 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26874 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26875 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26876 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26877 * string/memrchr.c (MEMRCHR): New macro.
26878
0ac5ae23
UD
268792011-10-12 Ulrich Drepper <drepper@gmail.com>
26880
26881 Add integration with gcc's -ffinite-math-only and optimize wrapper
26882 functions in libm.
26883 * Versions.def: Define GLIBC_2.15 version for libm.
26884 * math/Makefile (headers): Add bits/math-finite.h.
26885 * math/bits/math-finite.h: New file.
26886 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26887 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26888 * math/e_acoshl.c: Add __*_finite alias.
26889 * math/e_acosl.c: Likewise.
26890 * math/e_asinl.c: Likewise.
26891 * math/e_atan2l.c: Likewise.
26892 * math/e_atanhl.c: Likewise.
26893 * math/e_coshl.c: Likewise.
26894 * math/e_exp10.c: Likewise.
26895 * math/e_exp10f.c: Likewise.
26896 * math/e_exp10l.c: Likewise.
26897 * math/e_exp2l.c: Likewise.
26898 * math/e_fmodl.c: Likewise.
26899 * math/e_gammal_r.c: Likewise.
26900 * math/e_hypotl.c: Likewise.
26901 * math/e_j0l.c: Likewise.
26902 * math/e_j1l.c: Likewise.
26903 * math/e_jnl.c: Likewise.
26904 * math/e_lgammal_r.c: Likewise.
26905 * math/e_log10l.c: Likewise.
26906 * math/e_log2l.c: Likewise.
26907 * math/e_logl.c: Likewise.
26908 * math/e_powl.c: Likewise.
26909 * math/e_sinhl.c: Likewise.
26910 * math/e_sqrtl.c: Likewise.
26911 * math/e_scalb.c: Completely rewritten and optimized.
26912 * math/e_scalbf.c: Likewise.
26913 * math/e_scalbl.c: Likewise.
26914 * math/w_acos.c: Likewise.
26915 * math/w_acosf.c: Likewise.
26916 * math/w_acosl.c: Likewise.
26917 * math/w_acosh.c: Likewise.
26918 * math/w_acoshf.c: Likewise.
26919 * math/w_acoshl.c: Likewise.
26920 * math/w_asin.c: Likewise.
26921 * math/w_asinf.c: Likewise.
26922 * math/w_asinl.c: Likewise.
26923 * math/w_atan2.c: Likewise.
26924 * math/w_atan2f.c: Likewise.
26925 * math/w_atan2l.c: Likewise.
26926 * math/w_atanh.c: Likewise.
26927 * math/w_atanhf.c: Likewise.
26928 * math/w_atanhl.c: Likewise.
26929 * math/w_exp10.c: Likewise.
26930 * math/w_exp10f.c: Likewise.
26931 * math/w_exp10l.c: Likewise.
26932 * math/w_fmod.c: Likewise.
26933 * math/w_fmodf.c: Likewise.
26934 * math/w_fmodl.c: Likewise.
26935 * math/w_j0.c: Likewise.
26936 * math/w_j0f.c: Likewise.
26937 * math/w_j0l.c: Likewise.
26938 * math/w_j1.c: Likewise.
26939 * math/w_j1f.c: Likewise.
26940 * math/w_j1l.c: Likewise.
26941 * math/w_jn.c: Likewise.
26942 * math/w_jnf.c: Likewise.
26943 * math/w_log.c: Likewise.
26944 * math/w_logf.c: Likewise.
26945 * math/w_logl.c: Likewise.
26946 * math/w_log10.c: Likewise.
26947 * math/w_log10f.c: Likewise.
26948 * math/w_log10l.c: Likewise.
26949 * math/w_log2.c: Likewise.
26950 * math/w_log2f.c: Likewise.
26951 * math/w_log2l.c: Likewise.
26952 * math/w_pow.c: Likewise.
26953 * math/w_powf.c: Likewise.
26954 * math/w_powl.c: Likewise.
26955 * math/w_remainder.c: Likewise.
26956 * math/w_remainderf.c: Likewise.
26957 * math/w_remainderl.c: Likewise.
26958 * math/w_scalb.c: Likewise.
26959 * math/w_scalbf.c: Likewise.
26960 * math/w_scalbl.c: Likewise.
26961 * math/w_sqrt.c: Likewise.
26962 * math/w_sqrtf.c: Likewise.
26963 * math/w_sqrtl.c: Likewise.
26964 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26965 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
26966 used.
26967 * math/math_private.h: Declare __kernel_standard_f.
26968 * math/w_cosh.c: Remove cruft and optimize a bit.
26969 * math/w_coshf.c: Likewise.
26970 * math/w_coshl.c: Likewise.
26971 * math/w_exp2.c: Likewise.
26972 * math/w_exp2f.c: Likewise.
26973 * math/w_exp2l.c: Likewise.
26974 * math/w_hypot.c: Likewise.
26975 * math/w_hypotf.c: Likewise.
26976 * math/w_hypotl.c: Likewise.
26977 * math/w_lgamma.c: Likewise.
26978 * math/w_lgamma_r.c: Likewise.
26979 * math/w_lgammaf.c: Likewise.
26980 * math/w_lgammaf_r.c: Likewise.
26981 * math/w_lgammal.c: Likewise.
26982 * math/w_lgammal_r.c: Likewise.
26983 * math/w_sinh.c: Likewise.
26984 * math/w_sinhf.c: Likewise.
26985 * math/w_sinhl.c: Likewise.
26986 * math/w_tgamma.c: Likewise.
26987 * math/w_tgammaf.c: Likewise.
26988 * math/w_tgammal.c: Likewise.
26989 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26990 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26991 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26992 Minor optimizations. Pretty printing. Remove cruft.
26993 * sysdeps/i386/fpu/e_acosf.S: Likewise.
26994 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26995 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26996 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26997 * sysdeps/i386/fpu/e_acosl.c: Likewise.
26998 * sysdeps/i386/fpu/e_asin.S: Likewise.
26999 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27000 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27001 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27002 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27003 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27004 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27005 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27006 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27007 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27008 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27009 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27010 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27011 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27012 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27013 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27014 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27015 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27016 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27017 * sysdeps/i386/fpu/e_log.S: Likewise.
27018 * sysdeps/i386/fpu/e_log10.S: Likewise.
27019 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27020 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27021 * sysdeps/i386/fpu/e_log2.S: Likewise.
27022 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27023 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27024 * sysdeps/i386/fpu/e_logf.S: Likewise.
27025 * sysdeps/i386/fpu/e_logl.S: Likewise.
27026 * sysdeps/i386/fpu/e_pow.S: Likewise.
27027 * sysdeps/i386/fpu/e_powf.S: Likewise.
27028 * sysdeps/i386/fpu/e_powl.S: Likewise.
27029 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27030 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27031 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27032 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27033 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27034 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27035 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27036 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27037 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27038 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27039 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27040 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27041 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27042 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27043 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27044 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27045 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27046 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27047 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27048 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27049 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27050 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27051 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27052 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27053 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27054 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27055 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27056 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27057 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27058 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27059 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27060 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27061 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27062 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27063 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27064 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27065 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27066 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27067 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27068 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27069 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27070 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27071 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27072 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27073 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27074 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27075 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27076 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27077 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27078 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27079 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27080 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27081 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27082 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27083 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27084 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27085 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27086 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27087 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27088 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27089 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27090 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27091 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27092 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27093 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27094 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27095 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27096 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27097 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27098 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27099 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27100 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27101 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27102 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27103 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27104 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27105 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27106 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27107 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27108 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27109 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27110 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27111 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27112 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27113 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27114 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27115 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27116 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27117 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27118 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27119 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27120 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27121 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27122 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27123 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27124 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27125 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27126 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27127 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27128 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27129 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27130 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27131 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27132 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27133 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27134 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27135 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27136 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27137 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27138 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27139 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27140 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27141 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27142 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27143 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27144 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27145 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27146 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27147 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27148 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27149 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27150 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27151 (__isnanf): Likewise.
27152 (__isinf_ns): Likewise.
27153 (__isinf_nsf): Likewise.
27154 (__finite): Likewise.
27155 (__finitef): Likewise.
27156 (__ieee754_sqrt): Define as macro.
27157 (__ieee754_sqrtf): Define as macro.
27158 (__ieee754_sqrtl): Define as macro.
27159 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27160 inlined copy.
27161 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27162 __FINITE_MATH_ONLY__ consistent.
27163 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27164
12cc2fcd
AS
271652011-10-10 Andreas Schwab <schwab@linux-m68k.org>
27166
a843a204
AS
27167 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27168 of rawmemchr.
27169
12cc2fcd
AS
27170 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27171
c853acd5
UD
271722011-10-09 Ulrich Drepper <drepper@gmail.com>
27173
27174 * po/ja.po: Update from translation team.
27175
c658d255
RM
271762011-10-08 Roland McGrath <roland@hack.frob.com>
27177
110946e4
RM
27178 * locale/programs/locarchive.c (prepare_address_space): New function.
27179 (create_archive, enlarge_archive, open_archive): Use it.
27180
50604220
RM
27181 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27182 inside [SHARED], where it is used.
27183
c658d255
RM
27184 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27185
27186 * nss/getent.c (netgroup_keys): Remove unused variable.
27187 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27188
6a621eb7
UD
271892011-10-08 Ulrich Drepper <drepper@gmail.com>
27190
7edb55ce
UD
27191 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27192 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27193 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27194 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27195 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27196 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27197 * math/Makefile (libm-calls): Add s_isinf_ns.
27198 * math/divtc3.c: Use __isinf_nsl instead of isinf.
27199 * math/multc3.c: Likewise.
27200 * math/s_casin.c: Likewise.
27201 * math/s_casinf.c: Likewise.
27202 * math/s_casinl.c: Likewise.
27203 * math/s_ccos.c: Likewise.
27204 * math/s_ccosf.c: Likewise.
27205 * math/s_ccosl.c: Likewise.
27206 * math/s_ctan.c: Likewise.
27207 * math/s_ctanf.c: Likewise.
27208 * math/s_ctanh.c: Likewise.
27209 * math/s_ctanhf.c: Likewise.
27210 * math/s_ctanhl.c: Likewise.
27211 * math/s_ctanl.c: Likewise.
27212 * math/w_fmod.c: Likewise.
27213 * math/w_fmodf.c: Likewise.
27214 * math/w_fmodl.c: Likewise.
27215 * math/w_remainder.c: Likewise.
27216 * math/w_remainderf.c: Likewise.
27217 * math/w_remainderl.c: Likewise.
27218 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27219 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27220 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27221 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27222 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27223 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27224 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27225 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27226
187da0ae
UD
27227 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27228 of the number.
27229 * stdio-common/printf_fphex.c: Likewise.
27230 * stdio-common/printf_size.c: Likewise.
27231
9277c064
UD
27232 * math/e_exp10.c: Include math_private.h using <...> not "...".
27233 * math/e_exp10f.c: Likewise.
27234 * math/e_exp10l.c: Likewise.
27235 * math/e_exp2l.c: Likewise.
27236 * math/e_j0l.c: Likewise.
27237 * math/e_j1l.c: Likewise.
27238 * math/e_jnl.c: Likewise.
27239 * math/e_lgammal_r.c: Likewise.
27240 * math/e_rem_pio2l.c: Likewise.
27241 * math/e_scalb.c: Likewise.
27242 * math/e_scalbf.c: Likewise.
27243 * math/e_scalbl.c: Likewise.
27244 * math/k_cosl.c: Likewise.
27245 * math/k_sinl.c: Likewise.
27246 * math/k_tanl.c: Likewise.
27247 * math/s_cacoshf.c: Likewise.
27248 * math/s_catan.c: Likewise.
27249 * math/s_catanf.c: Likewise.
27250 * math/s_catanh.c: Likewise.
27251 * math/s_catanhf.c: Likewise.
27252 * math/s_catanhl.c: Likewise.
27253 * math/s_catanl.c: Likewise.
27254 * math/s_ccosh.c: Likewise.
27255 * math/s_ccoshf.c: Likewise.
27256 * math/s_ccoshl.c: Likewise.
27257 * math/s_cexp.c: Likewise.
27258 * math/s_cexpf.c: Likewise.
27259 * math/s_cexpl.c: Likewise.
27260 * math/s_clog.c: Likewise.
27261 * math/s_clog10.c: Likewise.
27262 * math/s_clog10f.c: Likewise.
27263 * math/s_clog10l.c: Likewise.
27264 * math/s_clogf.c: Likewise.
27265 * math/s_clogl.c: Likewise.
27266 * math/s_csin.c: Likewise.
27267 * math/s_csinf.c: Likewise.
27268 * math/s_csinh.c: Likewise.
27269 * math/s_csinhf.c: Likewise.
27270 * math/s_csinhl.c: Likewise.
27271 * math/s_csinl.c: Likewise.
27272 * math/s_csqrt.c: Likewise.
27273 * math/s_csqrtf.c: Likewise.
27274 * math/s_csqrtl.c: Likewise.
27275 * math/s_ctan.c: Likewise.
27276 * math/s_ctanf.c: Likewise.
27277 * math/s_ctanh.c: Likewise.
27278 * math/s_ctanhf.c: Likewise.
27279 * math/s_ctanhl.c: Likewise.
27280 * math/s_ctanl.c: Likewise.
27281 * math/s_ldexp.c: Likewise.
27282 * math/s_ldexpf.c: Likewise.
27283 * math/s_ldexpl.c: Likewise.
27284 * math/s_significand.c: Likewise.
27285 * math/s_significandf.c: Likewise.
27286 * math/s_significandl.c: Likewise.
27287 * math/w_acos.c: Likewise.
27288 * math/w_acosf.c: Likewise.
27289 * math/w_acosh.c: Likewise.
27290 * math/w_acoshf.c: Likewise.
27291 * math/w_acoshl.c: Likewise.
27292 * math/w_acosl.c: Likewise.
27293 * math/w_asin.c: Likewise.
27294 * math/w_asinf.c: Likewise.
27295 * math/w_asinl.c: Likewise.
27296 * math/w_atan2.c: Likewise.
27297 * math/w_atan2f.c: Likewise.
27298 * math/w_atan2l.c: Likewise.
27299 * math/w_atanh.c: Likewise.
27300 * math/w_atanhf.c: Likewise.
27301 * math/w_atanhl.c: Likewise.
27302 * math/w_cosh.c: Likewise.
27303 * math/w_coshf.c: Likewise.
27304 * math/w_coshl.c: Likewise.
27305 * math/w_dremf.c: Likewise.
27306 * math/w_exp10.c: Likewise.
27307 * math/w_exp10f.c: Likewise.
27308 * math/w_exp10l.c: Likewise.
27309 * math/w_exp2.c: Likewise.
27310 * math/w_exp2f.c: Likewise.
27311 * math/w_fmod.c: Likewise.
27312 * math/w_fmodf.c: Likewise.
27313 * math/w_fmodl.c: Likewise.
27314 * math/w_hypot.c: Likewise.
27315 * math/w_hypotf.c: Likewise.
27316 * math/w_hypotl.c: Likewise.
27317 * math/w_j0.c: Likewise.
27318 * math/w_j0f.c: Likewise.
27319 * math/w_j0l.c: Likewise.
27320 * math/w_j1.c: Likewise.
27321 * math/w_j1f.c: Likewise.
27322 * math/w_j1l.c: Likewise.
27323 * math/w_jn.c: Likewise.
27324 * math/w_jnf.c: Likewise.
27325 * math/w_jnl.c: Likewise.
27326 * math/w_lgamma.c: Likewise.
27327 * math/w_lgamma_r.c: Likewise.
27328 * math/w_lgammaf.c: Likewise.
27329 * math/w_lgammaf_r.c: Likewise.
27330 * math/w_lgammal.c: Likewise.
27331 * math/w_lgammal_r.c: Likewise.
27332 * math/w_log.c: Likewise.
27333 * math/w_log10.c: Likewise.
27334 * math/w_log10f.c: Likewise.
27335 * math/w_log10l.c: Likewise.
27336 * math/w_log2.c: Likewise.
27337 * math/w_log2f.c: Likewise.
27338 * math/w_log2l.c: Likewise.
27339 * math/w_logf.c: Likewise.
27340 * math/w_logl.c: Likewise.
27341 * math/w_pow.c: Likewise.
27342 * math/w_powf.c: Likewise.
27343 * math/w_powl.c: Likewise.
27344 * math/w_remainder.c: Likewise.
27345 * math/w_remainderf.c: Likewise.
27346 * math/w_remainderl.c: Likewise.
27347 * math/w_scalb.c: Likewise.
27348 * math/w_scalbf.c: Likewise.
27349 * math/w_scalbl.c: Likewise.
27350 * math/w_sinh.c: Likewise.
27351 * math/w_sinhf.c: Likewise.
27352 * math/w_sinhl.c: Likewise.
27353 * math/w_sqrt.c: Likewise.
27354 * math/w_sqrtf.c: Likewise.
27355 * math/w_sqrtl.c: Likewise.
27356 * math/w_tgamma.c: Likewise.
27357 * math/w_tgammaf.c: Likewise.
27358 * math/w_tgammal.c: Likewise.
27359
6a621eb7
UD
27360 * po/ja.po: Update from translation team.
27361
bf582445
AJ
273622011-09-29 Andreas Jaeger <aj@suse.de>
27363
f9efbf3a
AJ
27364 [BZ #13179]
27365 * sunrpc/netname.c (netname2host): Fix logic.
27366
bf582445
AJ
27367 [BZ #6779]
27368 [BZ #6783]
27369 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27370 correctly.
27371 * math/w_remainder.c (__remainder): Likewise.
27372 * math/w_remainderf.c (__remainderf): Likewise.
27373 * math/libm-test.inc (remainder_test): Add test cases.
27374
48693bea
AK
273752011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27376
27377 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
27378 sdiv_qrnnd.
27379
42622229
LD
273802011-10-07 Ulrich Drepper <drepper@gmail.com>
27381
27382 * string/test-memcmp.c: Avoid unncessary #defines.
27383 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27384
093ecf92
LD
273852011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27386
27387 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27388 Use new sse2 version for core i3 - i7 as it's faster
27389 than sse42 version.
27390 (bit_Prefer_PMINUB_for_stringop): New.
27391 * sysdeps/x86_64/rawmemchr.S: Update.
27392 Replace with faster SSE2 version.
27393 * sysdeps/x86_64/memrchr.S: New file.
27394 * sysdeps/x86_64/memchr.S: Update.
27395 Replace with faster SSE2 version.
27396
fde56e5c
MP
273972011-09-12 Marek Polacek <mpolacek@redhat.com>
27398
27399 * elf/dl-load.c (lose): Add cast to avoid warning.
27400
21fd49a9
UD
274012011-10-07 Ulrich Drepper <drepper@gmail.com>
27402
5a06e643
UD
27403 * po/ca.po: Update from translation team.
27404
684ae515
UD
27405 * inet/getnetgrent_r.c: Hook up nscd.
27406 * nscd/Makefile (routines): Add nscd_netgroup.
27407 (nscd-modules): Add netgroupcache.
27408 (CFLAGS-netgroupcache.c): Define.
27409 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27410 (cache_search): Add const to second parameter.
27411 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27412 INNETGR.
27413 (dbs): Add netgrdb entry.
27414 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27415 (verify_persistent_db): Handle netgrdb.
27416 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27417 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27418 GETFDNETGR.
27419 (netgroup_response_header): Define.
27420 (innetgroup_response_header): Define.
27421 (datahead): Add netgroup_response_header and innetgroup_response_header
27422 elements.
27423 * nscd/nscd.conf: Add entries for netgroup cache.
27424 * nscd/nscd.h (dbtype): Add netgrdb.
27425 (_PATH_NSCD_NETGROUP_DB): Define.
27426 (netgroup_iov_disabled): Declare.
27427 (xmalloc, xcalloc, xrealloc): Move declarations here.
27428 (cache_search): Adjust prototype.
27429 Add netgroup-related prototypes.
27430 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27431 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27432 (__nscd_innetgr): Declare.
27433 * nscd/selinux.c (perms): Use access_vector_t as element type and
27434 add netgroup-related initializers.
27435 * nscd/netgroupcache.c: New file.
27436 * nscd/nscd_netgroup.c: New file.
27437 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27438 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27439 For four parameters use innetgr.
27440 * nss/nss_files/files-init.c: Add definition and callback for netgr.
27441 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27442 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27443 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27444
21fd49a9
UD
27445 * nscd/connections.c (register_traced_file): Don't register file
27446 for disabled databases.
27447
054c0457
UD
274482011-10-06 Ulrich Drepper <drepper@gmail.com>
27449
32b63198
UD
27450 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27451
054c0457
UD
27452 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27453 from tree and freeing node.
27454
64031225
JO
274552011-09-25 Jiri Olsa <jolsa@redhat.com>
27456
27457 * nss/nsswitch.c (__nss_database_lookup): Handle
27458 nss_parse_service_list out of memory case.
27459
0490345c
JO
274602011-09-15 Jiri Olsa <jolsa@redhat.com>
27461
27462 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27463 out of memory case.
27464
3a62d00d
AS
274652011-10-04 Andreas Schwab <schwab@redhat.com>
27466
27467 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27468 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27469 pass it down.
27470 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27471 elf_machine_rela, elf_machine_lazy_rel.
27472 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27473 (ELF_DYNAMIC_DO_REL): Likewise.
27474 (ELF_DYNAMIC_DO_RELA): Likewise.
27475 (ELF_DYNAMIC_RELOCATE): Likewise.
27476 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27477 to ELF_DYNAMIC_DO_REL.
27478 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27479 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27480 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27481 elf_machine_rela.
27482 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27483 skip_ifunc, don't call ifunc function if non-zero.
27484 (elf_machine_rela): Likewise.
27485 (elf_machine_lazy_rel): Likewise.
27486 (elf_machine_lazy_rela): Likewise.
27487 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27488 (elf_machine_lazy_rel): Likewise.
27489 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27490 Likewise.
27491 (elf_machine_lazy_rel): Likewise.
27492 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27493 Likewise.
27494 (elf_machine_lazy_rel): Likewise.
27495 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27496 (elf_machine_lazy_rel): Likewise.
27497 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27498 (elf_machine_lazy_rel): Likewise.
27499 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27500 (elf_machine_lazy_rel): Likewise.
27501 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27502 (elf_machine_lazy_rel): Likewise.
27503 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27504 (elf_machine_lazy_rel): Likewise.
27505 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27506 (elf_machine_lazy_rel): Likewise.
27507
68577918
UD
275082011-09-28 Ulrich Drepper <drepper@gmail.com>
27509
27510 * nss/nss_files/files-init.c (_nss_files_init): Use static
27511 initialization for all the *_traced_file variables.
27512
68822d74
AS
275132011-09-28 Andreas Schwab <schwab@redhat.com>
27514
27515 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27516
2056100b
RM
275172011-09-27 Roland McGrath <roland@hack.frob.com>
27518
27519 [BZ #13226]
27520 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27521
32c76b63
AS
275222011-09-27 Andreas Schwab <schwab@redhat.com>
27523
27524 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27525 Reread the line before reparsing it.
27526
bf972c9d
AS
275272011-09-26 Andreas Schwab <schwab@redhat.com>
27528
27529 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27530
e057a1b5
JM
275312011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27532 Maxim Kuvyrkov <maxim@codesourcery.com>
27533 Joseph Myers <joseph@codesourcery.com>
27534
27535 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27536 if needed for __stack_chk_guard.
27537
bc7e1c36
RM
275382011-09-19 Roland McGrath <roland@hack.frob.com>
27539
ecb1482f
RM
27540 * sysdeps/posix/spawni.c (script_execute): Always define it.
27541 It will be optimized away if unused.
27542 (maybe_script_execute): New function.
27543 (__spawni): Call it.
27544
bc7e1c36
RM
27545 * Makerules: Don't include tls.make.
27546 (config-tls): Always set to thread.
27547 * tls.make.c: File removed.
27548
1c3b002b
MF
275492011-09-19 Mike Frysinger <vapier@gentoo.org>
27550
27551 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27552 * config.make.in (CPPFLAGS-config): New substituted variable.
27553
2840865d
UD
275542011-09-15 Ulrich Drepper <drepper@gmail.com>
27555
88738eb6
UD
27556 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27557
cbf645a6 27558 [BZ #13192]
2840865d
UD
27559 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27560 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27561
b402e91a
RM
275622011-09-15 Roland McGrath <roland@hack.frob.com>
27563
27564 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27565 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27566 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27567 (CALL_FAIL): Likewise.
27568 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27569 (CALL_FAIL): Macro removed.
27570 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27571
4c1a1f71
UD
275722011-09-15 Ulrich Drepper <drepper@gmail.com>
27573
27574 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27575 for __FINITE_MATH_ONLY__ == 1.
27576
edc121be
AS
275772011-09-15 Andreas Schwab <schwab@redhat.com>
27578
27579 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27580 __ieee754_sqrt instead of sqrt.
27581 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27582 __ieee754_sqrtf instead of sqrtf.
27583 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27584 __floorf instead of floorf.
27585 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27586 __floorf, __truncf instead of floorf, truncf.
27587
cd205654
UD
275882011-09-14 Ulrich Drepper <drepper@gmail.com>
27589
ee4d0315
UD
27590 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27591
cd205654
UD
27592 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27593 __extern_always_inline.
27594 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27595 32-bit.
27596
48b67d71
AS
275972011-09-14 Andreas Schwab <schwab@redhat.com>
27598
27599 * elf/rtld.c (dl_main): Also relocate in dependency order when
27600 doing symbol dependency testing.
27601
1ae12c75
AS
276022011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27603
27604 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27605 Always define `refsym'.
27606
995a80df
AS
276072011-09-13 Andreas Schwab <schwab@redhat.com>
27608
e529793b
AS
27609 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27610 (__FD_ELT): Renamed from __FDELT.
27611 * misc/bits/select2.h (__FD_ELT): Likewise.
27612 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27613 __FD_MASK instead of __FDELT, __FDMASK.
27614 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27615 Likewise.
27616 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27617 Likewise.
27618
52d4fef8
AS
27619 * elf/Makefile (gen-ldd): Fix pattern.
27620
995a80df
AS
27621 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27622 (init_tls): Likewise.
27623
8682f8b0
UD
276242011-09-12 Ulrich Drepper <drepper@gmail.com>
27625
27626 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27627
de82006d
AS
276282011-09-12 Andreas Schwab <schwab@redhat.com>
27629
a7c8e6a1
AS
27630 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27631 `struct cmsghdr *' instead of `void *'.
27632 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27633 Likewise.
27634
0f31fe77
AS
276352011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27636
27637 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27638 if non-absolute.
27639 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27640 ldd_rewrite_script.
0f31fe77 27641
32b4c839
UD
276422011-09-11 Ulrich Drepper <drepper@gmail.com>
27643
83cd1420
UD
27644 * configure.in: Remove --with-tls option.
27645 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27646 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27647 out in case it is missing.
27648 * sysdeps/ia64/elf/configure.in: Likewise.
27649 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27650 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27651 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27652 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27653 * sysdeps/sh/elf/configure.in: Likewise.
27654 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27655 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27656 * sysdeps/x86_64/elf/configure.in: Likewise.
27657 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27658 * sysdeps/mach/hurd/tls.h: Likewise.
27659
633f745d
UD
27660 [BZ #13067]
27661 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27662
f318beb8
UD
27663 [BZ #13090]
27664 * configure.in: Fix use of AC_INIT.
27665
32b4c839
UD
27666 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27667
3ce1f295
UD
276682011-09-10 Ulrich Drepper <drepper@gmail.com>
27669
bb016596
UD
27670 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27671 __set_errno.
8e58439c
UD
27672 * malloc/hooks.c: Likewise.
27673
aebae053 27674 [BZ #11929]
02d46fc4
UD
27675 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27676 variables statically.
27677 (narenas): Initialize.
27678 (list_lock): Initialize.
bb016596
UD
27679 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27680 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
27681 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27682 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27683 Add initializers to main_arena and mp_.
27684 (malloc_state): Remove pagesize member. Change all users to use
27685 GLRO(dl_pagesize).
27686
27687 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27688 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27689 is always initialized.
27690
22a89187
UD
27691 * malloc/malloc.c: Removed unused configurations and dead code.
27692 * malloc/arena.c: Likewise.
27693 * malloc/hooks.c: Likewise.
02d46fc4 27694 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 27695
d063d164
UD
27696 * include/tls.h: Removed. USE___THREAD must always be defined.
27697 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27698 * elf/dl-libc.c: Likewise.
27699 * elf/dl-tsd.c: Likewise.
27700 * include/errno.h: Likewise.
27701 * include/netdb.h: Likewise.
27702 * include/resolv.h: Likewise.
27703 * inet/herrno-loc.c: Likewise.
27704 * inet/herrno.c: Likewise.
27705 * malloc/arena.c: Likewise.
27706 * malloc/hooks.c: Likewise.
27707 * malloc/malloc.c: Likewise.
27708 * resolv/res-state.c: Likewise.
27709 * resolv/res_libc.c: Likewise.
27710 * sysdeps/i386/dl-machine.h: Likewise.
27711 * sysdeps/ia64/dl-machine.h: Likewise.
27712 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27713 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27714 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27715 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27716 * sysdeps/sh/dl-machine.h: Likewise.
27717 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27718 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27719 * sysdeps/unix/i386/sysdep.S: Likewise.
27720 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27721 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27722 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27723 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27724 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27725 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27726 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27727 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27728 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27729 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27730 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27731 * sysdeps/x86_64/dl-machine.h: Likewise.
27732 * tls.make.c: Likewise.
27733
3ce1f295
UD
27734 * configure.in: Remove --with-__thread option. Make tests for
27735 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27736 tls_model attribute fail if no support is available. Remove
27737 USE_IN_LIBIO.
27738 * Makeconfig: Adjust for dropped configure option. All features are
27739 now mandatory.
27740 * Makerules: Likewise.
27741 * Versions.def: Likewise.
27742 * argp/argp-fmtstream.c: Likewise.
27743 * argp/argp-fmtstream.h: Likewise.
27744 * argp/argp-help.c: Likewise.
27745 * assert/assert.c: Likewise.
27746 * config.h.in: Likewise.
27747 * config.make.in: Likewise.
27748 * configure: Likewise.
27749 * configure.in: Likewise.
27750 * csu/Versions: Likewise.
27751 * csu/init.c: Likewise.
27752 * elf/tst-audit2.c: Likewise.
27753 * elf/tst-tls10.c: Likewise.
27754 * elf/tst-tls10.h: Likewise.
27755 * elf/tst-tls11.c: Likewise.
27756 * elf/tst-tls12.c: Likewise.
27757 * elf/tst-tls14.c: Likewise.
27758 * elf/tst-tlsmod11.c: Likewise.
27759 * elf/tst-tlsmod12.c: Likewise.
27760 * elf/tst-tlsmod13.c: Likewise.
27761 * elf/tst-tlsmod13a.c: Likewise.
27762 * elf/tst-tlsmod14a.c: Likewise.
27763 * elf/tst-tlsmod15b.c: Likewise.
27764 * elf/tst-tlsmod16a.c: Likewise.
27765 * elf/tst-tlsmod16b.c: Likewise.
27766 * elf/tst-tlsmod7.c: Likewise.
27767 * elf/tst-tlsmod8.c: Likewise.
27768 * elf/tst-tlsmod9.c: Likewise.
27769 * gmon/gmon.c: Likewise.
27770 * grp/fgetgrent_r.c: Likewise.
27771 * grp/putgrent.c: Likewise.
27772 * hurd/fopenport.c: Likewise.
27773 * include/libc-symbols.h: Likewise.
27774 * include/tls.h: Likewise.
27775 * intl/gettextP.h: Likewise.
27776 * intl/loadinfo.h: Likewise.
27777 * locale/global-locale.c: Likewise.
27778 * locale/localeinfo.h: Likewise.
27779 * mach/devstream.c: Likewise.
27780 * malloc/arena.c: Likewise.
27781 * malloc/set-freeres.c: Likewise.
27782 * misc/err.c: Likewise.
27783 * misc/getttyent.c: Likewise.
27784 * misc/mntent_r.c: Likewise.
27785 * posix/getopt.c: Likewise.
27786 * posix/wordexp.c: Likewise.
27787 * pwd/fgetpwent_r.c: Likewise.
27788 * resolv/Versions: Likewise.
27789 * resolv/res_hconf.c: Likewise.
27790 * shadow/fgetspent_r.c: Likewise.
27791 * shadow/putspent.c: Likewise.
27792 * stdio-common/printf_fphex.c: Likewise.
27793 * stdio-common/tmpfile.c: Likewise.
27794 * stdlib/abort.c: Likewise.
27795 * stdlib/fmtmsg.c: Likewise.
27796 * sunrpc/auth_unix.c: Likewise.
27797 * sunrpc/clnt_perr.c: Likewise.
27798 * sunrpc/clnt_tcp.c: Likewise.
27799 * sunrpc/clnt_udp.c: Likewise.
27800 * sunrpc/clnt_unix.c: Likewise.
27801 * sunrpc/openchild.c: Likewise.
27802 * sunrpc/svc_simple.c: Likewise.
27803 * sunrpc/svc_tcp.c: Likewise.
27804 * sunrpc/svc_udp.c: Likewise.
27805 * sunrpc/svc_unix.c: Likewise.
27806 * sunrpc/xdr.c: Likewise.
27807 * sunrpc/xdr_array.c: Likewise.
27808 * sunrpc/xdr_rec.c: Likewise.
27809 * sunrpc/xdr_ref.c: Likewise.
27810 * sunrpc/xdr_stdio.c: Likewise.
27811
1248c1c4
PB
278122011-09-09 Ulrich Drepper <drepper@gmail.com>
27813
27814 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27815
278162011-07-03 Andreas Jaeger <aj@suse.de>
27817
27818 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27819 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27820 regenerate with gen-libm-tests.pl.
27821
278222010-05-12 Petr Baudis <pasky@suse.cz>
27823
27824 [BZ #11589]
27825 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27826 around j0() zero points by switching to j1().
27827 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27828 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27829 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27830 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27831
f22e1074
UD
278322011-09-09 Ulrich Drepper <drepper@gmail.com>
27833
f19009c1
UD
27834 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27835 instead of 0.
27836 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 27837 instead of 0.
f19009c1
UD
27838 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27839 Patch in part by Pavel Roskin <proski@gnu.org>.
27840
3f8cc204
UD
27841 [BZ #13138]
27842 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27843 realloc.
27844 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
27845 Free memory block if necessary.
27846
f22e1074
UD
27847 [BZ #12847]
27848 * libio/genops.c (INTDEF): For string streams the _lock pointer can
27849 be NULL. Don't lock in this case.
27850
0a2349f9
RM
278512011-09-09 Roland McGrath <roland@hack.frob.com>
27852
27853 * elf/elf.h (ELFOSABI_GNU): New macro.
27854 (ELFOSABI_LINUX): Define to that.
27855
f3cdd467
DZ
278562011-07-29 Denis Zaitceff <zaitceff@gmail.com>
27857
27858 * string/strncat.c (strncat): Undef the symbol in case it has been
27859 defined in bits/string.h.
27860
74718d13
UD
278612011-09-09 Ulrich Drepper <drepper@gmail.com>
27862
633e9e0f
UD
27863 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27864
0a2349f9 27865 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
27866 link map.
27867
f9924780
AJ
278682011-08-17 Andreas Jaeger <aj@suse.de>
27869
27870 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27871
7f5517aa
PP
278722011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27873 Ian Lance Taylor <iant@google.com>
27874
27875 * math/libm-test.inc (lround_test): New testcase.
27876 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27877
762011fe
UD
278782011-09-08 Ulrich Drepper <drepper@gmail.com>
27879
92963737
UD
27880 * Makefile: Remove support for automatic cvs check-ins.
27881 * Makerules: Likewise.
27882 * config.make.in: Likewise.
27883 * configure.in: Likewise.
27884 * intl/Makefile: Likewise.
27885 * locale/Makefile: Likewise.
27886 * po/Makefile: Likewise.
27887 * posix/Makefile: Likewise.
27888 * sysdeps/gnu/Makefile: Likewise.
27889 * sysdeps/mach/hurd/Makefile: Likewise.
27890 * sysdeps/sparc/sparc32/Makefile: Likewise.
27891
b0727fd8
JS
27892 [BZ #13118]
27893 * posix/Makefile (bug-regex32-ENV): Define.
27894 Patch by John Stanley <jpsinthemix@verizon.net>.
27895
a0f33f99
UD
27896 * misc/Makefile (headers): Add bits/select2.h.
27897 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27898 * misc/bits/select2.h: New file.
27899 * include/bits/select2.h: New file.
27900 * debug/Makefile (routines): Add fdelt_chk.
27901 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27902 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27903 FD_ISSET.
27904 * debug/fdelt_chk.c: New file.
27905
762011fe
UD
27906 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
27907 * wcsmbs/test-wmemcmp.c: Likewise.
27908 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 27909 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
27910
279112011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27912
27913 * string/Makefile (strop-tests): Add memcmp.
27914 * string/test-wmemcmp.c: New file.
27915 * string/test-memcmp.c: Add wmemcmp support.
27916
7f513ec8
RM
279172011-09-08 Roland McGrath <roland@hack.frob.com>
27918
0442afb4
RM
27919 [BZ #13153]
27920 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27921 2011-07-19 change.
27922
7f513ec8
RM
27923 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27924 garbage value in a __mach_port_mod_refs call in the cases of the
27925 task-self and thread-self ports.
27926
a12b2239
ST
279272011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27928
27929 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27930
610f9ab4
AS
279312011-09-08 Andreas Schwab <schwab@redhat.com>
27932
7f513ec8 27933 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 27934
48882a1a
LD
279352011-09-07 Ulrich Drepper <drepper@gmail.com>
27936
b49865be
UD
27937 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27938
fdc86bc9
UD
27939 * elf/dl-libc.c (dlerror_run): Pass back error code from
27940 dl_catch_error.
27941
c966526a
UD
27942 [BZ #13123]
27943 * elf/dl-load.c (lose): Free l_origin if it is valid.
27944
48882a1a
LD
27945 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27946 names.
27947 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27948 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27949 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27950 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27951 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27952 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27953
77a2a8b4
AZ
279542011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27955
27956 * sysdeps/powerpc/fpu/e_hypot.c: New file.
27957 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27958 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27959 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27960 * sysdeps/powerpc/fpu/k_cosf.c: New file.
27961 * sysdeps/powerpc/fpu/k_sinf.c: New file.
27962 * sysdeps/powerpc/fpu/s_cosf.c: New file.
27963 * sysdeps/powerpc/fpu/s_sinf.c: New file.
27964 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27965 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27966
24f579d8
AM
279672011-08-15 Alan Modra <amodra@gmail.com>
27968
27969 [BZ #13092]
27970 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27971 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27972 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
27973 ppc_mcount to static-only-routines.
27974 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27975 __mcount_internal.
27976 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27977 __mcount_internal with usual JUMPTARGET. Remove useless nop.
27978
3d4837df
UD
279792011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
27980
27981 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27982 for finite and infinity parameters.
27983
22700377
WS
279842011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27985
27986 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27987 and add nop instructions for throughput optimization.
27988 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27989
5025581e
WS
279902011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
27991
27992 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27993 aligned copy for power7 with vector-scalar instructions.
27994 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27995
08a300c9
L
279962011-07-24 H.J. Lu <hongjiu.lu@intel.com>
27997
27998 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27999 AVX check.
28000
59178ef9
AS
280012011-09-07 Andreas Schwab <schwab@redhat.com>
28002
28003 [BZ #13144]
28004 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28005 last change.
28006
e38ba7ab
UD
280072011-09-07 Ulrich Drepper <drepper@gmail.com>
28008
28009 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28010 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28011 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28012 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28013 clock_gettime.
28014
d53a73ac
UD
280152011-09-06 Ulrich Drepper <drepper@gmail.com>
28016
fc8bffcc
UD
28017 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28018 Forgot to demangle the pointer.
28019
ceaa0c5d
UD
28020 * sysdeps/i386/sysdep.h: Define atom_text_section.
28021 * sysdeps/x86_64/sysdep.h: Likewise.
28022 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28023 section with atom_text_section.
28024 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28025 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28026 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28027 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28028 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28029
a77d3c17
UD
28030 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28031 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28032 already be defined. Change to take two parameters and don't assign
28033 result to variable. Adjust all users.
28034 Define INTERNAL_GETTIME if not already defined.
28035 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28036 call.
28037 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28038 HAVE_CLOCK_GETTIME_VSYSCALL.
28039 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28040
d53a73ac
UD
28041 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28042 gettimeofday vsyscall, just use time.
28043
a8f84144
AS
280442011-09-06 Andreas Schwab <schwab@redhat.com>
28045
28046 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28047 <errno.h>.
28048
ef606249
UD
280492011-09-06 Ulrich Drepper <drepper@gmail.com>
28050
28051 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28052 syscall on x86-64.
28053 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28054 syscall.
28055 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28056 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28057 syscall if possible.
28058
6585cb60
UD
280592011-09-05 Ulrich Drepper <drepper@gmail.com>
28060
28061 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28062 e_ident. Don't pass to find_mapsXX.
28063 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28064
a5f524e4
LD
280652011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28066
28067 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28068 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28069 * sysdeps/x86_64/multiarch/strchr.S: Update.
28070 Check bit_slow_BSF bit.
28071 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28072 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28073 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28074
554881ef
UD
280752011-09-05 Ulrich Drepper <drepper@gmail.com>
28076
d96de963
UD
28077 [BZ #13134]
28078 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28079 before glibc 2.15.
28080 (tryshell): Define.
28081 (__spawni): Change last parameter to be flag. Test
28082 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28083 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28084 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28085 * posix/spawni.c: Likewise.
28086 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28087 * posix/spawnp.c: Likewise. Change normal version to use
28088 SPAWN_XFLAGS_USE_PATH.
28089 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28090 SPAWN_XFLAGS_TRY_SHELL.
28091
d48e5868
UD
28092 [BZ #13150]
28093 * posix/glob.h: Remove gcc 1.x support.
28094
554881ef
UD
28095 [BZ #13068]
28096 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28097
693fb948
LD
280982011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28099
28100 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28101 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28102 strrchr-sse2-bsf
28103 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28104 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28105 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28106 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28107 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28108 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28109
1b48c537
UD
281102011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28111
49d42c37
UD
28112 * sysdeps/x86_64/wcscmp.S: New file.
28113
1b48c537
UD
28114 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28115 wcscmp-c wcscmp-sse2
28116 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28117 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28118 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28119 * wcsmbs/wcscmp.c: Allow renaming.
28120
15c95c5d
DM
281212011-09-05 David S. Miller <davem@davemloft.net>
28122
28123 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28124 stack slot, rather than the struct return pointer slot.
28125 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28126 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28128 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28129
2f0ad8f3
UD
281302011-09-05 Ulrich Drepper <drepper@gmail.com>
28131
d88ae418
UD
28132 * po/ja.po: Update from translation team.
28133
2f0ad8f3
UD
28134 [BZ #13144]
28135 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28136 kernel in 64-bit binaries.
28137
5f4318d1
DM
281382011-09-01 David S. Miller <davem@davemloft.net>
28139
28140 * elf/elf.h (HWCAP_SPARC_*): Move to..
28141 * sysdeps/sparc/sysdep.h: this new file and add new values.
28142 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28143 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28144 _DL_HWCAP_COUNT to 24.
28145 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28146 entries.
28147 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28148 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28149 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28150 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28151 instead of magic constants.
28152 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28153
3ba57516
DM
281542011-08-31 David S. Miller <davem@davemloft.net>
28155
28156 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28157 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28158 Reimplement to do errno handling inline.
28159 (SYSCALL_ERROR_HANDLER): New macro.
28160 (__SYSCALL_STRING): Do not do errno handling in asm.
28161 (__CLONE_SYSCALL_STRING): Delete.
28162 (__INTERNAL_SYSCALL_STRING): Delete.
28163 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28164 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28165 (PSEUDO): Reimplement to do errno handling inline.
28166 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28167 (SYSCALL_ERROR_HANDLER): New macro.
28168 (__SYSCALL_STRING): Do not do errno handling in asm.
28169 (__CLONE_SYSCALL_STRING): Delete.
28170 (__INTERNAL_SYSCALL_STRING): Delete.
28171 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28172 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28173 i386.
28174 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28175 (inline_syscall*): Add 'err' argument.
28176 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28177 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28178 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28179 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28180
28181 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28182 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28183
2bc17433
AS
281842011-08-30 Andreas Schwab <schwab@redhat.com>
28185
28186 * elf/rtld.c (dl_main): Relocate objects in dependency order.
28187
fbeb5f4d
JO
281882011-08-29 Jiri Olsa <jolsa@redhat.com>
28189
28190 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28191 directive.
28192
ad69cc26
DM
281932011-08-24 David S. Miller <davem@davemloft.net>
28194
28195 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28196
39dd69df
AS
281972011-08-24 Andreas Schwab <schwab@redhat.com>
28198
28199 * elf/Makefile: Add rules to build and run unload8 test.
28200 * elf/unload8.c: New file.
28201 * elf/unload8mod1.c: New file.
28202 * elf/unload8mod1x.c: New file.
28203 * elf/unload8mod2.c: New file.
28204 * elf/unload8mod3.c: New file.
28205
28206 * elf/dl-close.c (_dl_close_worker): Reset private search list if
28207 it wasn't used.
28208
2c0b250a
DM
282092011-08-23 David S. Miller <davem@davemloft.net>
28210
28211 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28212 subtract stack bias.
28213 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28214 %sp not %fp in calculations.
28215 (_JMPBUF_UNWINDS_ADJ): Likewise.
28216
22044b48
DM
28217 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28218 (aio_suspend): Call it to force an exception region around the
28219 AIO_MISC_WAIT() invocation.
28220
2cae4995
AS
282212011-08-23 Andreas Schwab <schwab@redhat.com>
28222
28223 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28224 backslash.
28225
873a772e
AJ
282262011-07-04 Aurelien Jarno <aurelien@aurel32.net>
28227
28228 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28229 protection macro.
28230 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28231 and <dl-machine.h>.
28232 (Elf64_FuncDesc): Remove.
28233
25ad0df1
DM
282342011-08-22 David S. Miller <davem@davemloft.net>
28235
28236 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28237 sigaltstack check, add missing cfi directives.
28238 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28239 missing cfi directives, and sigaltstack handling.
28240
e888bcbe
AS
282412011-08-16 Andreas Schwab <schwab@redhat.com>
28242
28243 [BZ #11724]
28244 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28245 object is seen twice.
28246 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28247
28248 * elf/Makefile (distribute): Add tst-initorder2.c.
28249 (tests): Add tst-initorder2.
28250 (modules-names): Add tst-initorder2a tst-initorder2b
28251 tst-initorder2c tst-initorder2d. Add rules to build them.
28252 ($(objpfx)tst-initorder2.out): New rule.
28253 * elf/tst-initorder2.c: New file.
28254 * elf/tst-initorder2.exp: New file.
28255
87162f46
AS
282562011-08-22 Andreas Schwab <schwab@redhat.com>
28257
70538b7f
AS
28258 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28259
f55ffe58
AS
28260 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28261 dependencies back to end of function.
28262
87162f46
AS
28263 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28264 $(elfobjdir)/ld.so.
28265
91b392a4
UD
282662011-08-21 Ulrich Drepper <drepper@gmail.com>
28267
28268 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28269 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28270 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28271 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28272 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28273 of __vdso_gettimeofday.
28274 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28275 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
28276 attribute_hidden.
28277 (_libc_vdso_platform_setup): Remove initialization of
28278 __vdso_gettimeofday and __vdso_time.
28279
5c43483f
UD
282802011-08-20 Ulrich Drepper <drepper@gmail.com>
28281
775a77e7
UD
28282 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28283 and fgetc_unlocked.
28284 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28285 getc_unlocked.
89f447ed 28286
49c74ba9
UD
28287 * elf/dl-open.c (add_to_global): Report additions to the global scope
28288 for LD_DEBUG=scopes.
28289 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 28290 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 28291
5c43483f
UD
28292 [BZ #13114]
28293 * stdio-common/Makefile (tests): Add bug24.
28294 * stdio-common/bug24.c: New file.
28295
a101b025
AJ
282962011-08-19 Andreas Jaeger <aj@suse.de>
28297
28298 [BZ #13114]
28299 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28300 non-existant file when using close-on-exec mode.
28301
c88f1766
UD
283022011-08-20 Ulrich Drepper <drepper@gmail.com>
28303
0276a718
UD
28304 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28305 the very first instruction.
28306
c88f1766
UD
28307 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28308 the CFI state in the end.
28309 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28310 inclusion of dl-trampoline.h.
28311 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28312
51ccffa0
AS
283132011-08-19 Andreas Schwab <schwab@redhat.com>
28314
94d7165f
AS
28315 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28316 expectations for long double.
28317
51ccffa0
AS
28318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28319 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28320
fd708658 283212011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
28322
28323 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28324 artificual limit depends upon the system page size.
28325
44f0a71e
UD
283262011-08-17 Ulrich Drepper <drepper@gmail.com>
28327
28328 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28329 * resolv/Makefile: Define CFLAGS-libresolv.
28330
8de79a24
AS
283312011-08-17 Andreas Schwab <schwab@redhat.com>
28332
28333 * nss/makedb.c (compute_tables): Make variables used in nested
28334 function static.
28335
27724598
UD
283362011-08-17 Ulrich Drepper <drepper@gmail.com>
28337
c5305d88
UD
28338 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28339 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28340 if buffer was too small.
28341
27724598
UD
28342 * elf/pldd.c (main): Attach to all threads in the process.
28343 Rewrite /proc handling to use *at functions.
28344
076fe015
UD
283452011-08-16 Ulrich Drepper <drepper@gmail.com>
28346
174baab3
UD
28347 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28348 specifies first scope to show.
28349 (dl_open_worker): Update callers. Move printing scope of new
28350 object to before the relocation.
44f0a71e 28351 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
28352 * sysdeps/generic/ldsodefs.h: Update declaration.
28353
076fe015
UD
28354 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28355 string for the scope number.
28356
a60df2c3
UD
283572011-08-14 Ulrich Drepper <drepper@gmail.com>
28358
28359 * nscd/servicescache.c (cache_addserv): Make sure written is always
28360 initialized.
28361
5e4287d1
RM
283622011-08-14 Roland McGrath <roland@hack.frob.com>
28363
85ae0589
RM
28364 * sysdeps/i386/i486/bits/atomic.h
28365 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28366 statement expression, so as to suppress "set but not used" warning.
28367 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28368
69f63097
RM
28369 * string/strncat.c (STRNCAT): Use prototype definition.
28370
675456ef
RM
28371 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28372 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28373 -Iprograms here.
28374 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28375 (localedef-modules): Add localedef.
28376 (locale-modules): Add locale.
28377
5e4287d1
RM
28378 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28379 * elf/rtld.c (dl_main): Invert order of assignment in last change,
28380 to avoid a warning.
28381
9c96ff23
DM
283822011-08-14 David S. Miller <davem@davemloft.net>
28383
28384 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28385 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28386
f9ddf089
UD
283872011-08-13 Ulrich Drepper <drepper@gmail.com>
28388
44f0a71e 28389 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
28390 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28391 * elf/rtld.c (dl_main): Set l_name of vDSO.
28392 Call _dl_show_scope when DL_DEBUG_SCOPES.
28393 (process_dl_debug): Recognize scopes flag and also set it for all.
28394 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28395 Declare _dl_show_scope.
28396
1dc27704
UD
28397 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28398 (do_dlopen): Pass caller_dlopen to dl_open.
28399 (__libc_dlopen_mode): Initialize caller_dlopen.
28400
f9ddf089
UD
28401 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28402 of libc. Make tolower call locale-independent. Optimize a bit by
28403 using isdigit instead of isalnum.
28404 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28405
9ac533d3
UD
284062011-08-12 Ulrich Drepper <drepper@gmail.com>
28407
28408 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28409 was a dependency or dynamically loaded.
28410
89edf2e9
UD
284112011-08-11 Ulrich Drepper <drepper@gmail.com>
28412
8e999d29
UD
28413 * intl/l10nflist.c: Allow architecture-specific pop function.
28414 * sysdeps/x86_64/l10nflist.c: New file.
28415
89edf2e9
UD
28416 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28417 classification.
28418
14d96785
AS
284192011-08-10 Andreas Schwab <schwab@redhat.com>
28420
28421 * include/dirent.h: Add libc_hidden_proto for scandirat and
28422 scandirat64. Don't declare __scandirat64.
28423 * dirent/scandirat.c: Add libc_hidden_def.
28424 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28425 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28426
6761ac04
DM
284272011-08-10 David S. Miller <davem@davemloft.net>
28428
28429 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28430 enum.
28431 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28432 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28433 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28434
c55fbd1e
UD
284352011-08-09 Ulrich Drepper <drepper@gmail.com>
28436
28437 * Versions.def [libc]: Add GLIBC_2.15.
28438 * dirent/Makefile (routines): Add scandirat and scandirat64.
28439 * dirent/Versions [libc]: Export scandirat and scandirat64 for
28440 GLIBC_2.15.
28441 * dirent/dirent.h: Declare scandirat and scandirat64.
28442 * dirent/scandirat.c: New file.
28443 * dirent/scandirat64.c: New file.
28444 * sysdeps/wordsize-64/scandirat.c: New file.
28445 * sysdeps/wordsize-64/scandirat64.c: New file.
28446 * dirent/opendir.c: Define opendirat.
28447 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
28448 using scandirat.
28449 * dirent/scandir64.c: Adjust for scandir.c change.
28450 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
28451 __scandirat64, and __scandir_cancel_handler.
28452 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
28453 additional parameter and use openat instead of open (outside of ld.so).
28454 Add new __opendir as wrapper around __opendirat.
28455 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28456 here without requiring old scandirat implementation.
28457
879165f2
UD
284582011-08-08 Ulrich Drepper <drepper@gmail.com>
28459
28460 * dirent/scandir.c (cancel_handler): Renamed to
28461 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
28462 defined. Adjust users.
28463 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28464 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28465
cb7e923b
UD
284662011-08-04 Ulrich Drepper <drepper@gmail.com>
28467
16292edd
UD
28468 * string/test-string.h (IMPL): Use __STRING to expand name and then
28469 stringify it.
28470
cb7e923b
UD
28471 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28472 of cleanups.
28473
cff82933
LD
284742011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28475
28476 * string/Makefile: Update.
28477 (strop-tests): Append strncat.
28478 * string/test-wcscmp.c: New file.
28479 New comprehensive test for wcscmp.
28480 * string/test-strcmp.c: Update.
28481 (WIDE): New define.
28482
9be9bfcc
AS
284832011-07-22 Andreas Schwab <schwab@redhat.com>
28484
28485 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28486 line.
28487
2e96f1c7
AS
284882011-07-26 Andreas Schwab <schwab@redhat.com>
28489
28490 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28491 encoding to ACE if AI_IDN.
28492
85188888
JJ
284932011-08-01 Jakub Jelinek <jakub@redhat.com>
28494
28495 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28496 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28497
5fa16e9b
LD
284982011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28499
28500 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28501 Fix overflow bug in strncat.
28502 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28503
28504 * string/test-strncat.c: Update.
28505 Add new tests for checking overflow bugs.
28506
285072011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28508
28509 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28510 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28511 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28512 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28513 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28514 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28515 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28516 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28517 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28518
28519 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28520 (USE_AS_STRCAT): Define.
28521 Add strcat and strncat support.
28522 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28523
8c1a459f
AS
285242011-07-25 Andreas Schwab <schwab@redhat.com>
28525
28526 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28527 __n bigger than INT_MAX+1.
28528 (__strncmp_g): Likewise.
28529
bba33c28
UD
285302011-07-23 Ulrich Drepper <drepper@gmail.com>
28531
798be72d
UD
28532 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28533 * libio/stido.h: Likewise.
28534
8accd4dc
UD
28535 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28536 (AF_NFC): Define.
28537 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28538 (AF_NFC): Define.
28539
cbff0d96
UD
28540 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28541 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28542 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28543 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28544 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28545
9191c04a
UD
28546 [BZ #13021]
28547 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28548 installed.
28549
bba33c28
UD
28550 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28551 typo.
28552 (_dl_x86_64_save_sse): Likewise.
28553
90f139dd
UD
285542011-07-22 Ulrich Drepper <drepper@gmail.com>
28555
1aae088a
UD
28556 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28557 OSXSAVE.
28558 (_dl_x86_64_save_sse): Likewise.
28559
8e2045f5
UD
28560 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28561
90f139dd
UD
28562 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28563
1d002f25
AS
285642011-07-21 Andreas Schwab <schwab@redhat.com>
28565
28566 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28567 change.
28568 (_dl_x86_64_save_sse): Use correct AVX check.
28569
21137f89
UD
285702011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28571
28572 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28573 bug in strncpy/strncat.
28574 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28575
a65c0b7a
UD
285762011-07-21 Ulrich Drepper <drepper@gmail.com>
28577
28578 * string/tester.c (test_strcat): Add tests for different alignments
28579 of source and destination.
28580 (test_strncat): Likewise.
28581
6986b98a
UD
285822011-07-20 Ulrich Drepper <drepper@gmail.com>
28583
90bb2039
UD
28584 [BZ #12852]
28585 * posix/glob.c (glob): Check passed in values before using them in
28586 expressions to avoid some overflows.
28587 (glob_in_dir): Likewise.
28588
5644ef54
UD
28589 [BZ #13007]
28590 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28591 check for AVX enablement so that we don't crash with old kernels and
28592 new hardware.
28593 * elf/tst-audit4.c: Add same checks here.
28594 * elf/tst-audit6.c: Likewise.
28595
28596 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 28597
bfc9dc9b
AS
285982011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28599
28600 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28601
702e64bb
UD
286022011-07-20 Ulrich Drepper <drepper@gmail.com>
28603
28604 * po/cs.po: Update from translation team.
28605 * po/bg.po: Likewise.
28606
295e904f
MP
286072011-07-12 Marek Polacek <mpolacek@redhat.com>
28608
28609 * misc/sys/cdefs.h: Add support for const attribute.
28610 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28611 to gnu_dev_{major,minor,makedev} functions.
28612
3ff94596
MP
286132011-07-20 Marek Polacek <mpolacek@redhat.com>
28614
28615 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28616
28b59fca
AS
286172011-07-20 Andreas Schwab <schwab@redhat.com>
28618
28619 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28620 strlen results.
28621
19df733e
AK
286222011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28623
28624 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28625 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28626 register in order to avoid conflicts with the soft frame pointer
28627 being held in r11 when necessary.
28628 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28629 (INTERNAL_VSYSCALL_NCS): Likewise.
28630
c8835729
MP
286312011-07-14 Marek Polacek <mpolacek@redhat.com>
28632
28633 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28634 * elf/dl-fini.c (_dl_fini): Adjust caller.
28635 * elf/dl-close.c (_dl_close_worker): Likewise.
28636 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28637
b902330c
MP
286382011-07-15 Marek Polacek <mpolacek@redhat.com>
28639
8991e135
MP
28640 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28641 "aux_cache->nlibs < 0".
28642
b902330c
MP
28643 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28644 in the reload-count case.
28645
99710781
LD
286462011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28647
28648 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28649 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28650 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28651 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28652 * sysdeps/x86_64/multiarch/strcat.S: New file.
28653 * sysdeps/x86_64/multiarch/strncat.S: New file.
28654 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28655 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28656 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28657 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28658 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28659 (USE_AS_STRCAT): Define.
28660 Add strcat and strncat support.
28661 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28662 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28663 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28664 * string/strncat.c: Update.
28665 (USE_AS_STRNCAT): Define.
28666 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28667 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28668 and i7.
28669 * sysdeps/x86_64/multiarch/init-arch.h
28670 (bit_Prefer_PMINUB_for_stringop): New.
28671 (index_Prefer_PMINUB_for_stringop): Likewise.
28672 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28673 bit_Prefer_PMINUB_for_stringop.
28674
7dc6bd90
UD
286752011-07-19 Ulrich Drepper <drepper@gmail.com>
28676
28677 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28678 buffer64.
28679 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28680 of casting of buffer.
28681 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28682 buffer32 and buffer64.
28683 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28684 writes instead of casting of buffer.
28685 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28686 buffer32.
28687 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28688 casting of buffer.
28689
e0e72284
AS
286902011-07-19 Andreas Schwab <schwab@redhat.com>
28691
28692 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28693
feb1eb0b
UD
286942011-07-19 Ulrich Drepper <drepper@gmail.com>
28695
28696 * nscd/nscd.c (termination_handler): Don't do anything for a database
28697 if it has not yet been initialized.
28698
298711ff
UD
286992011-07-18 Ulrich Drepper <drepper@gmail.com>
28700
28701 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28702
287032011-07-15 Marek Polacek <mpolacek@redhat.com>
28704
28705 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28706
f9d68389
UD
287072011-07-18 Ulrich Drepper <drepper@gmail.com>
28708
28709 * po/nl.po: Update from translation team.
28710 * po/sv.po: Likewise.
28711
db290cf5
RM
287122011-07-16 Roland McGrath <roland@hack.frob.com>
28713
28714 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28715 now disallowed by GCC.
5c550700 28716
fd5e21c7
RM
28717 * configure.in (use-default-link): Default to yes if a test -shared
28718 link meets our qualifications.
28719 * configure: Regenerated.
28720
5c550700
RM
28721 * config.make.in (output-format): New variable.
28722 * configure.in: Check for ld --print-output-format support.
28723 * configure: Regenerated.
28724 * Makerules ($(common-objpfx)format.lds)
28725 [$(output-format) != unknown]: Just use $(output-format),
28726 instead of the linker-script munging.
28727
9fa2c032
RM
287282011-07-14 Roland McGrath <roland@hack.frob.com>
28729
a6928d51
RM
28730 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28731 of $(common-objpfx)shlib.lds.
28732 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28733
661607b3
RM
28734 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28735 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28736
9fa2c032
RM
28737 * configure.in (-z relro check): Adjust test code to add a large
28738 writable data section after it.
28739 * configure: Regenerated.
28740
defe9061
RM
287412011-07-11 Roland McGrath <roland@hack.frob.com>
28742
28743 * configure.in (-z relro check): Fix test code to make the variable
28744 truly const.
28745 * configure: Regenerated.
28746
319b9ad4
UD
287472011-07-11 Ulrich Drepper <drepper@gmail.com>
28748
28749 * nscd/nscd.h (struct traced_file): Define.
28750 (struct database_dyn): Remove inotify_descr, reset_res, and filename
28751 elements. Add traced_files.
28752 (inotify_fd): Declare.
28753 (register_traced_file): Declare.
28754 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28755 (inotify_fd): Export.
28756 (resolv_conf_descr): Remove.
28757 (nscd_init): Move inotify descriptor creation to main.
28758 Don't register files for notification here.
28759 (register_traced_file): New function.
28760 (invalidate_cache): Don't use reset_res to determine whether to call
28761 res_init, go through the list of registered files.
28762 (main_loop_poll): The inotify descriptors are now stored in the
28763 structures for the traced files.
28764 (main_loop_epoll): Likewise
28765 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
28766 to __nss_disable_nscd.
28767 * nscd/cache.c (prune_cache): There is no single inotify descriptor
28768 for a database anymore. Check the records for all the registered
28769 files instead.
28770 * nss/Makefile (libnss_files-routines): Add files-init.
28771 (libnss_db-routines): Add db-init.
28772 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28773 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28774 * nss/nss_db/db-init.c: New file.
28775 * nss/nss_files/files-init.c: New file.
28776 * nss/nsswitch.c (nss_load_library): New function. Broken out of
28777 __nss_lookup_function.
28778 (__nss_lookup_function): Call nss_load_library.
28779 (nss_load_all_libraries): New function.
28780 (__nss_disable_nscd): Take parameter with callback function for files
28781 to register. Set is_nscd. Load all the DSOs for the NSS modules
28782 used for the cached services.
28783 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28784 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28785 options for features to all the files in nscd.
28786
28787 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28788
23bee3e8
RM
287892011-07-10 Roland McGrath <roland@hack.frob.com>
28790
28791 * csu/elf-init.c (__libc_csu_init): Comment typo.
28792
46a5b7f0
UD
287932011-07-09 Ulrich Drepper <drepper@gmail.com>
28794
28795 * po/pl.po: Update from translation team.
28796 * po/ja.po: Likewise.
28797 * po/ru.po: Likewise.
28798 * po/ko.po: Likewise.
28799 * po/fr.po: Likewise.
28800
d30cf5bb
RM
288012011-07-09 Roland McGrath <roland@hack.frob.com>
28802
113ddea4
RM
28803 * configure.in (.ctors/.dtors header and trailer check):
28804 Use an empirical test on a built program.
28805 * configure: Regenerated.
28806
574920b4
RM
28807 * configure.in (-z relro check): Use an empirical test on a built DSO.
28808 Detect, but do not require, on ia64.
28809 * configure: Regenerated.
28810
d30cf5bb
RM
28811 * configure.in (READELF): Find it with AC_CHECK_TOOL.
28812 Update tests that use readelf to use $READELF instead.
28813 * configure: Regenerated.
28814
8538fdb3
UD
288152011-07-08 Ulrich Drepper <drepper@gmail.com>
28816
28817 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28818 if the result is not used.
28819
04d08991
AJ
288202011-07-05 Andreas Jaeger <aj@suse.de>
28821
28822 [BZ#9696]
28823 * stdlib/tst-strtod.c: Add testcase.
28824
de283087
AD
288252011-07-07 Ulrich Drepper <drepper@gmail.com>
28826
4e5f31c8 28827 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 28828 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
28829 The latter has a higher limit. Take additional parameter to pass to
28830 the new function.
28831 (__pathconf): Pass file to __statfs_link_max.
28832 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28833 __statfs_link_max.
28834 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28835 __statfs_link_max.
28836
de283087
AD
28837 [BZ #12868]
28838 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28839 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28840 Handle Lustre.
28841 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28842 (__statfs_filesize_max): Likewise.
28843 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28844
c75fa153
AJ
288452011-07-05 Andreas Jaeger <aj@suse.de>
28846
28847 * resolv/res_comp.c (dn_skipname): Remove unused variable.
28848
1a544854
UD
288492011-07-06 Marek Polacek <mpolacek@redhat.com>
28850
28851 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28852 `status' variable.
28853 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28854 Likewise.
28855
6f0eec67
UD
288562011-07-04 H.J. Lu <hongjiu.lu@intel.com>
28857
28858 * Makefile (strop-tests): Add strncat.
28859 * string/test-strncat.c: New file.
28860
aae30307
UD
288612011-06-30 Marek Polacek <mpolacek@redhat.com>
28862
28863 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28864
c0cfb5eb
UD
288652011-06-21 Andreas Jaeger <aj@suse.de>
28866
28867 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28868 Copy rule from iconvdata/Makefile.
28869
01636b21
UD
288702011-07-06 Ulrich Drepper <drepper@gmail.com>
28871
28872 [BZ #12922]
28873 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28874 but no long options are defined, just return 'W'.
28875
9895c8bc
UD
288762011-06-22 Marek Polacek <mpolacek@redhat.com>
28877
28878 [BZ #9696]
28879 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28880
5d4cf042
UD
288812011-07-06 Ulrich Drepper <drepper@gmail.com>
28882
28883 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28884 netgroups to read.
960e5535 28885 (innetgr): Likewise.
5d4cf042 28886
751eb97e
RM
288872011-07-05 Roland McGrath <roland@hack.frob.com>
28888
28889 * config.make.in (install_root): Default to $(DESTDIR).
28890
f15f1e45
UD
288912011-07-05 Ulrich Drepper <drepper@gmail.com>
28892
28893 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28894
4e34ac6a
RM
288952011-07-02 Roland McGrath <roland@hack.frob.com>
28896
5e9b6af4
RM
28897 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28898
84f9ea0f
RM
28899 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28900 containing directory rather than embedding absolute directory names.
28901
ea5ee9f7
RM
28902 * scripts/check-local-headers.sh: Rewritten using awk.
28903 Match by word, not by line. Print error messages for matches.
28904 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28905
1b74661a
RM
28906 * Makerules [shlib-lds-flags empty]:
28907 ($(common-objpfx)libc_pic.opts): New target.
28908 ($(common-objpfx)libc_pic.os.clean): New target.
28909 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28910
28911 * config.make.in (OBJCOPY): New variable.
28912 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28913 * configure: Regenerated.
28914
f781ef40
RM
28915 * config.make.in (use-default-link): New variable.
28916 * configure.in (use_default_link): Grok --with-default-link to set it.
28917 * configure: Regenerated.
28918 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28919 (shlib-lds, shlib-lds-flags): Define to empty.
28920
2d4fa81e
RM
28921 * Makerules (shlib-lds): New variable.
28922 (shlib-lds-flags): New variable.
28923 (build-shlib, build-moduile, build-module-asneeded): Use it.
28924 ($(common-objpfx)libc.so): Use $(shlib-lds).
28925 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28926 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28927
31fffa6b
RM
28928 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28929 DT_FLAGS/DT_FLAGS_1 with zero flags.
28930
4e34ac6a
RM
28931 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28932 linker script munging.
28933
fcfc776b
UD
289342011-07-02 Ulrich Drepper <drepper@gmail.com>
28935
28936 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28937 as 128-bit value.
28938 * crypt/sha512.c (sha512_process_block): Perform total addition using
28939 128-bit if possible.
28940 (__sha512_finish_ctx): Likewise.
28941 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28942 as 64-bit value.
28943 * crypt/sha256.c (SWAP64): Define.
28944 (sha256_process_block): Perform total addition using 64-bit if
28945 possible.
28946 (__sha256_finish_ctx): Likewise.
28947
99231d9a
UD
289482011-07-01 Ulrich Drepper <drepper@gmail.com>
28949
28950 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
28951 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28952 * nscd/hstcache.c (cache_addhst): Likewise.
28953 * nscd/grpcache.c (cache_addgr): Likewise.
28954 * nscd/aicache.c (addhstaiX): Likewise
28955 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28956
445b4a53
TK
289572011-07-01 Thorsten Kukuk <kukuk@suse.de>
28958
28959 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28960 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28961 * nscd/hstcache.c (cache_addhst): Likewise.
28962 * nscd/grpcache.c (cache_addgr): Likewise.
28963 * nscd/aicache.c (addhstaiX): Likewise
28964
6d4d8e8e
AS
289652011-07-01 Andreas Schwab <schwab@redhat.com>
28966
28967 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28968 domain only when needed.
28969
89f654c5
AS
289702011-06-30 Andreas Schwab <schwab@redhat.com>
28971
28972 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28973 is always restored.
28974
cf3b23ff
UD
289752011-06-29 Ulrich Drepper <drepper@gmail.com>
28976
28977 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28978 are re-adding the entry.
28979 * nscd/servicescache.c (cache_addserv): Likewise.
28980
751626f9
AJ
289812011-06-30 Aurelien Jarno <aurelien@aurel32.net>
28982
28983 * sysdeps/generic/dl-irel.h: fix protection against multiple
28984 inclusions.
28985 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28986
9113ea1f
UD
289872011-06-28 Ulrich Drepper <drepper@gmail.com>
28988
5c0b8d90
UD
28989 [BZ #12935]
28990 * malloc/memusage.sh: Fix quoting in message.
28991 * debug/xtrace.sh: Likewise.
28992
9113ea1f
UD
28993 * configure.in: Remove support for --experimental-malloc option, make
28994 it the default.
28995 * config.make.in: Likewise.
28996 * malloc/Makefile: Likewise.
28997
a4172181
AS
289982011-06-27 Andreas Schwab <schwab@redhat.com>
28999
29000 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29001 two-byte characters.
29002
78a7eee7
RM
290032011-06-27 Roland McGrath <roland@hack.frob.com>
29004
62bede13
RM
29005 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29006 AC_CACHE_CHECK invocation.
29007 * configure: Regenerated.
29008
78a7eee7
RM
29009 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29010
5ce33a62
UD
290112011-06-27 Ulrich Drepper <drepper@gmail.com>
29012
034807a9
UD
29013 [BZ #12350]
29014 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29015 bit from old_res_options.
29016
4902da17
UD
29017 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29018
5ce33a62
UD
29019 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29020 value type for setfct.
29021
c2344f56
L
290222011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29023
29024 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29025 __gettimeofday instead of gettimeofday.
29026
68468076
UD
290272011-06-26 Ulrich Drepper <drepper@gmail.com>
29028
29029 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29030
acb0d739
L
290312011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29032
29033 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29034
29035 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29036 info.
29037
8912479f
L
290382011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29039
29040 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29041 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29042 strcpy-sse2-unaligned strncpy-sse2-unaligned
29043 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29044 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29045 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29046 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29047 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29048 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29049 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29050 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29051 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29052 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29053 (STRCPY): Support SSE2 and SSSE3 versions.
29054
d5495a11
UD
290552011-06-24 Ulrich Drepper <drepper@gmail.com>
29056
29057 [BZ #12874]
29058 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29059 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29060 kernels which artificially limit size of requests.
29061
0b1cbaae
L
290622011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29063
29064 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29065 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29066 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29067 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29068 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29069 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29070 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29071 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29072 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29073 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29074 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29075 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29076 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29077 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29078 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29079 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29080 Enable unaligned load optimization for Intel Core i3, i5 and i7
29081 processors.
29082 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29083 Define.
29084 (index_Fast_Unaligned_Load): Define.
29085 (HAS_FAST_UNALIGNED_LOAD): Define.
29086
07f494a0
MP
290872011-06-23 Marek Polacek <mpolacek@redhat.com>
29088
29089 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29090
fa3fc0fe
UD
290912011-06-22 Ulrich Drepper <drepper@gmail.com>
29092
29093 [BZ #12907]
29094 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29095 until it is clear that the information is realy needed.
29096 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29097
e12df166
AS
290982011-06-22 Andreas Schwab <schwab@redhat.com>
29099
29100 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29101
852eb34d
UD
291022011-06-22 Ulrich Drepper <drepper@gmail.com>
29103
84e2a551
UD
29104 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29105 /sys/devices/system/cpu/online if it is usable.
29106
852eb34d
UD
29107 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29108 reading the information from the /proc filesystem to once a second.
29109
6e502e19
UD
291102011-06-21 Andreas Jaeger <aj@suse.de>
29111
29112 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29113 NULL after inclusion of kernel headers.
29114
75d39ff2
UD
291152011-06-21 Ulrich Drepper <drepper@gmail.com>
29116
51f9aa6a
UD
29117 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29118 calls to internal_setent.
29119
c0244a9d
UD
29120 [BZ #12885]
29121 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29122 addresses using gethostbyname4_r ignore IPv4 addresses.
29123
c5e3c2ae
UD
29124 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29125 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29126
75d39ff2
UD
29127 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29128
42675c6f
DM
291292011-06-20 David S. Miller <davem@davemloft.net>
29130
29131 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29132 inclusions.
29133 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29134
29135 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29136 (elf_irel): Use it.
29137 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29138 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29139 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29140 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29141 * sysdeps/x86_64/dl-irel.h: Likewise.
29142
29143 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29144 * elf/dl-sym.c: Likewise.
29145
57912a71
UD
291462011-06-15 Ulrich Drepper <drepper@gmail.com>
29147
29148 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29149 need to dereference resplen2.
29150
ee22793d
AS
291512011-06-14 Andreas Schwab <schwab@redhat.com>
29152
29153 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29154
a9e836b0
UD
291552011-06-15 Ulrich Drepper <drepper@gmail.com>
29156
77fb9117
UD
29157 * Makeconfig: Define vardbdir and inst_vardbdir.
29158 * nss/Makefile: Add rules to install db-Makefile.
29159
40c1b22c
UD
29160 * nss/nss_db/db-XXX.c: Cleanup.
29161
9f2da732
UD
29162 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29163 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29164 GLIBC_PRIVATE.
29165 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29166 * nss/makedb.c: Implement -g option to specify that value strings
29167 are generated and should not be added to table iterated over for
29168 get*ent calls.
29169 * nss/nss_db/db-initgroups.c: New file.
29170
82e9a1f7
UD
29171 * nss/getent.c: Add support for initgroups lookups through getgrouplist
29172 interface.
29173
c41af17e
UD
29174 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29175 (internal_getgrouplist): Adjust to name change.
29176 Update use_initgroups_entry if this is not the first call.
29177 * nss/databases.def: Add initgroups entry.
29178
a9e836b0
UD
29179 * nss/makedb.c (compute_tables): Check result of multiple hash table
29180 sizes to minimize maximum chain length.
29181
2666d441
UD
291822011-06-14 Ulrich Drepper <drepper@gmail.com>
29183
29184 * Versions.def: Add entry for libnss_db.
29185 * shlib-versions: Likewise.
29186 * nss/Makefile: Add rules to build libnss_db.
29187 * nss/Versions: Add libnss_db information. Organize libnss_files
29188 entries better.
29189 * nss/db-Makefile: Add gshadow support. Change rules for the new
29190 makedb progra. Some minor improvements to generate smaller files.
29191 * nss/nss_db/nss_db.h: Move NSS database header data structures to
29192 here from...
29193 * nss/makedb.c: ...here.
29194 Improve database format to be smaller and require less memory at
29195 runtime.
29196 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
29197 db anymore.
29198 * nss/nss_db/db-netgrp.c: Likewise.
29199 * nss/nss_db/db-open.c: Likewise.
29200 * nss/nss_files/flies-XXX.x: Adjust comments.
29201 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29202 * nss/nss_files/files-grp.c: Likewise.
29203 * nss/nss_files/files-hosts.c: Likewise.
29204 * nss/nss_files/files-network.c: Likewise.
29205 * nss/nss_files/files-proto.c: Likewise.
29206 * nss/nss_files/files-pwd.c: Likewise.
29207 * nss/nss_files/files-rpc.c: Likewise.
29208 * nss/nss_files/files-service.c: Likewise.
29209 * nss/nss_files/files-sgrp.c: Likewise.
29210 * nss/nss_files/files-spwd.c: Likewise.
29211 * nss/nss_db/db-alias.c: Removed.
29212 * nss/nss_db/dummy-db.h: Removed.
29213
9ee76b5a
UD
292142011-06-02 Ulrich Drepper <drepper@gmail.com>
29215
29216 * nss/makedb.c: Rewritten to not use database library.
29217 * nss/Makefile: Update to build new makedb program.
29218
c71ca1f8
AJ
292192011-06-14 Andreas Jaeger <aj@suse.de>
29220
29221 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29222 memset declaration.
29223
3154bfb8
UD
292242011-06-10 Andreas Schwab <schwab@redhat.com>
29225
29226 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29227 tmpbuf.
29228
b350afab
RM
292292011-06-10 Roland McGrath <roland@hack.frob.com>
29230
decd4e50
RM
29231 * Makerules (shlib.lds): Fail if the linker script comes out empty.
29232 * elf/Makefile ($(objpfx)ld.so): Likewise.
29233
5615eaf2
RM
29234 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29235 Don't list ld.so twice in dependencies.
29236
29237 * posix/bug-regex31.c: Include <stdlib.h>.
29238
29239 * nscd/hstcache.c (cache_addhst): Remove unused variable.
29240
29241 * nis/nss_compat/compat-spwd.c
29242 (getspent_next_nss_netgr): Remove unused variable.
29243 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29244
29245 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29246 nonmembers" output to use the right array.
29247
29248 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29249
29250 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29251
29252 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29253 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29254 * catgets/gencat.c (read_input_file): Likewise.
29255 * locale/programs/locarchive.c (enlarge_archive): Likewise.
29256
29257 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29258 variable definition inside #if's controlling its use.
29259
29260 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29261
29262 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29263
29264 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29265
29266 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29267 unreachable code.
29268
29269 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29270
b68e08db
RM
29271 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29272 * configure: Regenerated.
29273
b350afab
RM
29274 * Makerules: Revert last change.
29275 * elf/Makefile: Likewise.
29276
28368601
RM
292772011-06-09 Roland McGrath <roland@hack.frob.com>
29278
29279 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29280 * elf/Makefile ($(objpfx)librtld.os): Likewise.
29281 (reloc-link): Likewise.
29282
11988f8f
UD
292832011-06-09 Ulrich Drepper <drepper@gmail.com>
29284
29285 * elf/Makefile: Add rules to build pldd.
29286 * elf/pldd.c: New file.
29287 * elf/pldd-xx.c: New file.
29288
e80fab37
UD
292892011-06-07 Ulrich Drepper <drepper@gmail.com>
29290
29291 * version.h: Update for 2.15 development version.
29292
9b849836
DM
292932011-06-07 David S. Miller <davem@davemloft.net>
29294
29295 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29296 ifuncs.
29297 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29298 elf_machine_lazy_rel): Likewise.
29299 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29300 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29301 elf_machine_lazy_rel): Likewise.
29302 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29303 dl_hwcap via passed in argument.
29304 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29305 Likewise.
29306
5a31b283
AK
293072011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29308
29309 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
29310
069e52f8
RM
293112011-06-06 Roland McGrath <roland@hack.frob.com>
29312
29313 [BZ #12849]
29314 * manual/fdl-1.1.texi: New file, verbatim from:
29315 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29316 * manual/lgpl-2.1.texi: New file, verbatim from:
29317 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29318 * manual/Makefile (licenses): New variable, list those new file names.
29319 (texis): Use it.
29320 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29321
29322 * manual/fdl.texi: File removed.
29323 * manual/lesser.texi: File removed.
29324 * manual/libc.texinfo (Copying, Documentation License):
29325 Use new @include file names, put @appendix directive before @include.
29326
f16846a5
JJ
293272011-06-04 Jakub Jelinek <jakub@redhat.com>
29328
29329 [BZ #12841]
29330 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29331 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29332 (mq_open): Add __NTH.
29333
3d29045b
L
293342011-06-02 H.J. Lu <hongjiu.lu@intel.com>
29335
29336 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29337 Assume Intel Core i3/i5/i7 processor if AVX is available.
29338
8c297311
UD
293392011-05-31 Ulrich Drepper <drepper@gmail.com>
29340
29341 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29342 typo.
29343
c8fc0c91
UD
293442011-05-31 Andreas Schwab <schwab@redhat.com>
29345
29346 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29347 memory. Use alloca_account. Fix memory leak when retrying.
29348
5b27a807
UD
293492011-05-31 Ulrich Drepper <drepper@gmail.com>
29350
356f8bc6
UD
29351 * version.h (RELEASE): Bump for 2.14 release.
29352 * include/features.h (__GLIBC_MINOR__): Bump to 14.
29353
5b27a807
UD
29354 * config.make.in (RANLIB): Remove entry.
29355
01f16ab0
UD
293562011-05-30 Ulrich Drepper <drepper@gmail.com>
29357
41fce8bd
UD
29358 * po/Makefile (po-sed-cmd): Add ksh to extensions.
29359 (libc.pot): Work around missing support for .ksh extension in xgettext.
29360
4769ae77
UD
29361 [BZ #12684]
29362 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29363 if both request failed.
29364 (send_dg): In case of server errors clear resplen or *resplen2.
29365
6b1e7d19
UD
29366 [BZ #12454]
29367 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29368 when there are multiple maps.
29369 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29370 (_dl_fini): Remove test here.
29371
01f16ab0
UD
29372 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29373
b1ebd700
UD
293742011-05-29 Ulrich Drepper <drepper@gmail.com>
29375
7ae22829
UD
29376 [BZ #12350]
29377 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29378 bit from old_res_options.
29379 (gaih_inet): Likewise.
29380
553149f6 29381 [BZ #11099]
18a84741 29382 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
29383 as signed.
29384
652ffab1
UD
29385 * resolv/res_init.c (res_setoptions): Make the code more compact.
29386
16985fd0
UD
29387 [BZ #11558]
29388 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29389 set RES_USEVC.
29390
0464f746
UD
29391 [BZ #11634]
29392 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29393
7d17596c
UD
29394 * malloc/malloc.h: Mark malloc hook variables as deprecated.
29395
cf6bbbd7
UD
29396 [BZ #11781]
29397 * malloc/malloc.h: Declare malloc hook variables as volatile.
29398
13f1ab36
UD
29399 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29400 in last patch.
29401
b1ebd700
UD
29402 [BZ #11799]
29403 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 29404 raise in the comment.
80e2212d
UD
29405 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29406 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29407 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 29408
ce67228d
UD
294092011-05-28 Ulrich Drepper <drepper@gmail.com>
29410
8887a920
UD
29411 [BZ #12811]
29412 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29413 grow the buffers more if it already has to be sufficient.
29414 (build_wcs_upper_buffer): Likewise.
29415 * posix/regexec.c (check_matching): Likewise.
29416 (clean_state_log_if_needed): Likewise.
29417 (extend_buffers): Don't enlarge buffers beyond size of the input
29418 buffer.
29419 Patches mostly by Emil Wojak <emil@wojak.eu>.
29420 * posix/bug-regex32.c: New file.
29421 * posix/Makefile (tests): Add bug-regex32.
29422
4f031072
UD
29423 * locale/findlocale.c (_nl_find_locale): Return right away if
29424 _nl_explode_name failed.
29425 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29426
d0478f0c
UD
29427 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29428
de81b246
UD
29429 * debug/xtrace.sh: Unify messages.
29430 * malloc/memusage.sh: Likewise.
29431
c738465a
UD
29432 [BZ #12813]
29433 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29434 time symbol from vDSO. Substitute with vsyscall if not available.
29435 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29436 __vdso_time.
29437
f1f929d7
UD
29438 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29439 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29440 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29441 Add sendmmsg and internal_sendmmsg.
29442 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29443 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29444 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29445
ce67228d
UD
29446 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29447 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29448 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29449
e57420c6
UD
294502011-05-27 Ulrich Drepper <drepper@gmail.com>
29451
a8509ca5
UD
29452 [BZ #12813]
29453 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29454 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
29455 available.
29456 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29457 __vdso_getcpu.
29458
e57420c6
UD
29459 [BZ #12814]
29460 * iconvdata/Makefile (tests): Add bug-iconv9.
29461 * iconvdata/bug-iconv9.c: New file.
29462
4d07db15
AS
294632011-05-27 Andreas Schwab <schwab@redhat.com>
29464
29465 [BZ #12814]
29466 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29467
ea486f69
JJ
294682011-05-25 Jakub Jelinek <jakub@redhat.com>
29469
29470 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29471 (struct user_regs_struct): Change intcs field back to cs.
29472
6f038433
UD
294732011-05-25 Ulrich Drepper <drepper@gmail.com>
29474
29475 * po/ja.po: Update from translation team.
29476
67f86a25
UD
294772011-05-23 Ulrich Drepper <drepper@gmail.com>
29478
29479 [BZ #12795]
29480 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29481 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29482
def7fbd6
AS
294832011-05-20 Andreas Schwab <schwab@redhat.com>
29484
29485 * stdlib/longlong.h: Update from GCC.
29486
f50ef8f1
AS
294872011-05-23 Andreas Schwab <schwab@redhat.com>
29488
29489 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29490 parameter name.
29491 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29492 Add parameter name.
29493 (__sysconf): Pass it down.
29494
de7ce8f1
UD
294952011-05-22 Ulrich Drepper <drepper@gmail.com>
29496
f2962a71
UD
29497 [BZ #12671]
29498 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29499 some situations.
29500 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29501 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29502 add in in __libc_use_alloca calls. Adjust callers.
29503 (glob): Use malloc in some situations.
29504
de7ce8f1
UD
29505 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29506 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29507 pltexit.
29508
aec84f53
UD
295092011-05-21 Ulrich Drepper <drepper@gmail.com>
29510
05bb4a68
UD
29511 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29512 and CLOCK_BOOTTIME_ALARM.
29513
7ea72f99
UD
29514 [BZ #12782]
29515 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29516 is returned.
29517
7e4afad5
UD
29518 * string/_strerror.c (__strerror_r): Print negative errors as signed
29519 numbers.
29520
8e211fec
UD
29521 [BZ #12777]
29522 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29523 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29524 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29525
f7d82dc9
UD
29526 * configure.in: Fix typo in redirection and correct removal of test
29527 files in two cases.
29528
cc9e536d
UD
29529 [BZ #12788]
29530 * locale/setlocale.c (new_composite_name): Fix test to check for
29531 identical name of all categories.
29532
aec84f53
UD
29533 [BZ #12792]
29534 * libio/filedoalloc.c (local_isatty): New function.
29535 (_IO_file_doallocate): Use local_isatty.
29536 * stdio-common/perror.c (perror): In case a new stream is used
29537 forward the stream error.
29538 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29539 error flag.
29540
78e64fdc
RT
295412011-05-20 Ulrich Drepper <drepper@gmail.com>
29542
34a9094f
UD
29543 [BZ #11869]
29544 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29545 alloca.
29546 * include/alloca.h (extend_alloca_account): Define.
29547
78e64fdc
RT
29548 [BZ #11857]
29549 * posix/regex.h: Fix comments with documentation of user-accessible
29550 fields after compilation and describe correct free'ing of pattern
29551 after re_compile_pattern.
29552 Patch by Reuben Thomas <rrt@sc3d.org>.
29553
457bddfc
RA
295542011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29555
29556 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29557 and -mno-altivec to prevent the compiler from using Altivec and/or
29558 VSX instructions when the corresponding registers are not available.
29559
a4527b51
AS
295602011-05-19 Andreas Schwab <schwab@redhat.com>
29561
29562 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29563
ed690b2f
UD
295642011-05-19 Ulrich Drepper <drepper@gmail.com>
29565
29566 * libio/freopen.c (freopen): Use __dup2, not dup2.
29567 * libio/freopen64.c (freopen64): Likewise.
29568
8db73634
L
295692011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29570
29571 [BZ #12775]
29572 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29573 * math/Makefile (tests): Add test-powl.
29574 (CFLAGS-test-powl.c): Define.
29575 * math/test-powl.c: New file.
29576
0a197a9d
L
295772011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29578
29579 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29580
ee30c380
UD
295812011-05-17 Ulrich Drepper <drepper@gmail.com>
29582
29583 [BZ #11837]
29584 * iconvdata/gb18030.c: Update to GB18020-2005.
29585
6ce75379
UD
295862011-05-16 Ulrich Drepper <drepper@gmail.com>
29587
a4b89fd8
AR
29588 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29589 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29590 Patch by Aharon Robbins <arnold@skeeve.com>.
29591
ea389b12
UD
29592 [BZ #11892]
29593 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29594 on the stack.
29595
68a3f91f
UD
29596 [BZ #11895]
29597 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29598 through underflows.
29599
15cc7dd1
UD
29600 [BZ #12766]
29601 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29602 point to strings before performing equality test for error_one_per_line
29603 mode.
29604
f3799213
UD
29605 [BZ #11697]
29606 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29607
d79a9c94
UD
29608 [BZ #11820]
29609 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29610 (struct user_fpregs_struct): Avoid __uint*_t types.
29611
56e5eb46
UD
29612 [BZ #6420]
29613 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29614 symbol info. Use it instead of calling _dl_addr locally.
29615 (lock_and_info): New function.
29616 (tr_freehook): Call lock_and_info and pass symbol info as additional
29617 parameter to tr_where.
29618 (tr_mallochook): Likewise.
29619 (tr_reallochook): Likewise.
29620 (tr_memalignhook): Likewise.
29621
6ce75379
UD
29622 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29623 used and couldn't be at all thread-safe.
29624
f8a3b5bf
UD
296252011-05-15 Ulrich Drepper <drepper@gmail.com>
29626
94b7cc37
UD
29627 * libio/freopen.c (freopen): Don't close old file descriptor
29628 before the new one is opened. Instead dup the new file descriptor
29629 to the old one after the new stream is created.
29630 * libio/freopen64.c (freopen64): Likewise.
29631 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29632 * libio/fileops.c (_IO_new_file_close_it): Handle new
29633 _IO_FLAGS2_NOCLOSE flag.
29634 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29635 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29636 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29637 _IO_FLAGS2_NOCLOSE flag.
29638 * include/unistd.h: Add hidden_proto for dup3.
29639 Define __have_dup3.
29640 * io/dup3.c: Define hidden symbol.
29641 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29642
bd25564e
UD
29643 [BZ #7101]
29644 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29645 when an incomplete long option is used.
29646 * posix/tst-getopt_long1.c: New file.
29647 * posix/Makefile (tests): Add tst-getopt_long1.
29648
c84cfef4
UD
29649 [BZ #10138]
29650 * scripts/config.guess: Update from autoconf-2.68.
29651 * scripts/config.sub: Likewise.
29652
3b85df27
UD
29653 [BZ #10157]
29654 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29655 tests into ...
29656 (has_cpuclock): ...this. New function.
29657 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29658 macro here based on has_cpuclock code.
29659
15a856b1
UD
29660 [BZ #10149]
29661 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29662 First byte (not low byte) is now always NUL.
29663 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29664
05f399e6
UD
29665 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29666 Use non-cancelable interfaces.
29667
10a52685 29668 [BZ #9809]
94ecc67d
UD
29669 * locale/iso-639.def: Add entry for Sorani.
29670
f8a3b5bf
UD
29671 [BZ #11901]
29672 * include/stdlib.h: Move include protection to the right place.
29673 Define abort_msg_s. Declare __abort_msg with it.
29674 * stdlib/abort.c (__abort_msg): Adjust type.
29675 * assert/assert.c (__assert_fail_base): New function. Majority
29676 of code from __assert_fail. Allocate memory for __abort_msg with
29677 mmap.
29678 (__assert_fail): Now call __assert_fail_base.
29679 * assert/assert-perr.c: Remove bulk of implementation. Use
29680 __assert_fail_base.
29681 * include/assert.hL Declare __assert_fail_base.
29682 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29683 mmap.
29684 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29685
1af4e298
UD
296862011-05-14 Ulrich Drepper <drepper@gmail.com>
29687
f8a3b5bf 29688 [BZ #11952]
d26dfc60
MG
29689 [BZ #12453]
29690 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29691 until all modules are registered in the DTV.
29692 * elf/Makefile: Add rules to build and run tst-tls19.
29693 * elf/tst-tls19.c: New file.
29694 * elf/tst-tls19mod1.c: New file.
29695 * elf/tst-tls19mod2.c: New file.
29696 * elf/tst-tls19mod3.c: New file.
29697 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29698
2fc54d6f
UD
29699 [BZ #12083]
29700 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29701 correctly.
29702
98d76b46
UD
29703 [BZ #12601]
29704 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29705 two-byte sequence errors.
29706 * iconvdata/Makefile (tests): Add bug-iconv8.
29707 * iconvdata/bug-iconv8.c: New file.
29708
da3c19ef
UD
29709 [BZ #12626]
29710 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29711 buf2 definition.
29712
ca408c15
UD
29713 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29714
d6f67f7d
UD
29715 [BZ #12432]
29716 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29717 (dummy_getcfa): New function.
29718 (init): Get _Unwind_GetCFA address, use dummy if not found.
29719 (backtrace_helper): In recursion check, also check whether CFA changes.
29720 (__backtrace): Completely initialize arg.
29721
1af4e298 29722 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
29723 storing incomplete byte sequence in state object. Avoid testing for
29724 guaranteed too small input if we know there is enough data available.
1af4e298 29725
da62f81b
AS
297262011-05-11 Andreas Schwab <schwab@redhat.com>
29727
29728 * Makeconfig (+link-pie): Indent.
29729 * Rules (binaries-pie): Define if $(have-fpie) and
29730 $(build-shared).
29731 (binaries-shared): Also filter out $(binaries-pie).
29732 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29733 * nscd/Makefile (others-pie): Add nscd.
29734 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29735 ($(objpfx)nscd): Remove command override.
29736 * login/Makefile (others-pie): Add pt_chown.
29737 ($(objpfx)pt_chown): Remove command override.
29738 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29739 remove command overrides.
29740
fcabc0f8
UD
297412011-05-13 Ulrich Drepper <drepper@gmail.com>
29742
20030ae6
UD
29743 * libio/tst_putwc.c: Fix error messages.
29744
fcabc0f8
UD
29745 [BZ #12724]
29746 * libio/fileops.c (_IO_new_file_close_it): Always flush when
29747 currently writing and seek to current position when not.
29748 * libio/Makefile (tests): Add bug-fclose1.
29749 * libio/bug-fclose1.c: New file.
29750
320a5dc0
PB
297512011-05-12 Ulrich Drepper <drepper@gmail.com>
29752
29753 [BZ #12511]
29754 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29755 don't set DF_1_NODELETE here.
29756 (do_lookup_x): When entering new entry test for copy relocation
29757 and if necessary set DF_1_NODELETE flag.
29758 * elf/tst-unique4.cc: New file.
29759 * elf/tst-unique4.h: New file.
29760 * elf/tst-unique4lib.cc: New file.
29761 * elf/Makefile: Add rules to build and run tst-unique4.
29762 Patch by Piotr Bury <pbury@goahead.com>.
29763
22836f52
UD
297642011-05-11 Ulrich Drepper <drepper@gmail.com>
29765
f574184a
UD
29766 [BZ #12052]
29767 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29768
e1fb097f
UD
29769 [BZ #12625]
29770 * misc/mntent_r.c (addmntent): Flush the stream after the output
29771
22836f52
UD
29772 [BZ #12393]
29773 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29774 (is_trusted_path_normalize): Skip initial colon. Append slash
29775 to empty buffer. Duplicate is_trusted_path code but allow
29776 constructed patch to be prefix.
29777 (is_dst): Allow $ORIGIN followed by /.
29778 (_dl_dst_substitute): Correct clearing of check_for_trusted.
29779 Correct testing of result of is_trusted_path_normalize
29780 (decompose_rpath): Fix warning.
29781
7b3b0b2a
UD
297822011-05-10 Ulrich Drepper <drepper@gmail.com>
29783
29784 [BZ #11257]
29785 * grp/initgroups.c (internal_getgrouplist): When we found the service
29786 list through the initgroups entry in nsswitch.conf do not always
29787 continue on a successful lookup. Don't always use the
eac80ce2 29788 __nss_group_database value if it is set.
7b3b0b2a
UD
29789 * nss/nsswitch.conf (initgroups): Change action for successful db
29790 lookup to continue for compatibility.
29791
2a81eaa5
UD
297922011-05-09 Ulrich Drepper <drepper@gmail.com>
29793
be97a69e
UD
29794 [BZ #11532]
29795 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29796 and CP774 modules.
29797 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29798 and CP774 modules.
29799 * iconvdata/tst-tables.sh: Likewise.
29800 * iconvdata/cp770.c: New file.
29801 * iconvdata/cp771.c: New file.
29802 * iconvdata/cp772.c: New file.
29803 * iconvdata/cp773.c: New file.
29804 * iconvdata/cp774.c: New file.
29805 * iconvdata/testdata/CP770: New file.
29806 * iconvdata/testdata/CP770..UTF8: New file.
29807 * iconvdata/testdata/CP771: New file.
29808 * iconvdata/testdata/CP771..UTF8: New file.
29809 * iconvdata/testdata/CP772: New file.
29810 * iconvdata/testdata/CP772..UTF8: New file.
29811 * iconvdata/testdata/CP773: New file.
29812 * iconvdata/testdata/CP773..UTF8: New file.
29813 * iconvdata/testdata/CP774: New file.
29814 * iconvdata/testdata/CP774..UTF8: New file.
29815
29816 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29817 END CHARMAP line.
29818 * iconvdata/gen-8bit-gap.sh: Likewise.
29819 * iconvdata/gen-8bit.sh: Likewise.
29820
c1e9e399
UD
29821 * locale/iso-639.def: Add ary entry.
29822
24c55fb3 29823 [BZ #11258]
96b4b1b0
UD
29824 * locale/C-translit.h.in: Add U20A1 transliteration.
29825
bdc2f971
KB
29826 [BZ #12178]
29827 * locale/iso-639.def: Add wae entry.
29828 Patch by Kevin Bortis <bortis@translate-wae.ch>.
29829
2952b117
UD
29830 [BZ #12545]
29831 * locale/programs/localedef.c (construct_output_path): Use ssize_t
29832 for n.
29833
2a81eaa5
UD
29834 [BZ #12711]
29835 * locale/C-translit.h.in: Add entry for U20B9.
29836 Patch by pravin.d.s@gmail.com.
29837
28377d1b
UD
298382011-05-08 Ulrich Drepper <drepper@gmail.com>
29839
7fb90fb8
UD
29840 [BZ #12713]
29841 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29842 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
29843 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
29844 in rtld. Use *stat64.
7fb90fb8 29845 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 29846 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 29847 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
29848 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29849 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29850 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29851 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29852 __fstatat64 macros.
7fb90fb8
UD
29853 * include/dirent.h: Add libc_hidden_proto for rewinddir.
29854 * dirent/rewinddir.c: Add libc_hidden_def.
29855 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 29856 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 29857
28377d1b
UD
29858 * include/dirent.h (__alloc_dir): Add flags parameter.
29859 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29860 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29861 __alloc_dir.
29862 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
29863 from fdopendir if O_CLOEXEC is already set.
29864
66bdbaa4
AM
298652011-03-15 Alan Modra <amodra@gmail.com>
29866
29867 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29868 l_tls_firstbyte_offset non-zero. Save padding offset in
29869 l_tls_firstbyte_offset for later use.
29870 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29871 freeing static tls block.
29872
95721191
JN
298732011-03-05 Jonathan Nieder <jrnieder@gmail.com>
29874
29875 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29876 where #ifdef was intended. The intent is to prevent ARG_MAX from
29877 being defined by the kernel headers.
29878
f87dfb1f
UD
298792011-05-07 Ulrich Drepper <drepper@gmail.com>
29880
29881 [BZ #12734]
29882 * resolv/resolv.h: Define RES_NOTLDQUERY.
29883 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29884 no-tld-query and set RES_NOTLDQUERY.
29885 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29886 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29887 modern BIND to search name as TLD unless forbidden.
29888
47c3cd7a
UD
298892011-05-07 Petr Baudis <pasky@suse.cz>
29890 Ulrich Drepper <drepper@gmail.com>
29891
29892 [BZ #12393]
29893 * elf/dl-load.c (fillin_rpath): Move trusted path check...
29894 (is_trusted_path): ...to here.
c1e9ea35 29895 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 29896 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 29897 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 29898
8a35c912
PP
298992011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29900
29901 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29902 __BEGIN/__END_DECLS.
29903
acd41f47
UD
299042011-05-06 Ulrich Drepper <drepper@gmail.com>
29905
29906 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29907 NSS_STATUS_NOTFOUND if no record was found.
29908
597df647
AS
299092011-05-05 Andreas Schwab <schwab@redhat.com>
29910
29911 * sunrpc/Makefile (headers): Add rpc/netdb.h.
29912 (headers-not-in-tirpc): Remove rpc/netdb.h
29913 * resolv/netdb.h: Revert last change.
29914
b9af1301
PP
299152011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29916
29917 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29918 circular dependency between libgcc.a and libc.a.
29919
4e34d5f5
AS
299202011-05-05 Andreas Schwab <schwab@redhat.com>
29921
29922 * resolv/netdb.h: Don't include <rpc/netdb.h>.
29923 * nis/Makefile: Don't install rpcsvc/*.
29924 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29925 instead of <rpc/types.h>.
29926 (MAXHOSTNAMELEN): Define.
29927
00ee369c
AS
299282011-05-03 Andreas Schwab <schwab@redhat.com>
29929
29930 * elf/ldconfig.c (add_dir): Don't crash on empty path.
29931
0b592a30
MB
299322011-04-28 Maciej Babinski <mbabinski@google.com>
29933
29934 [BZ #12714]
29935 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29936 gethostbyname4_r when IPv6 results are possible.
29937
6e04cbbe
UD
299382011-05-02 Ulrich Drepper <drepper@gmail.com>
29939
29940 [BZ #12723]
29941 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29942 _PC_PIPE_BUF handling.
29943
e4ecafe0
BH
299442011-04-30 Bruno Haible <bruno@clisp.org>
29945
29946 [BZ #12717]
29947 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29948 * resolv/netdb.h (getnameinfo): Change type of flags parameter
29949 to 'int'.
29950 * inet/getnameinfo.c (getnameinfo): Likewise.
29951
125ee683
UD
299522011-04-29 Ulrich Drepper <drepper@gmail.com>
29953
29954 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29955 to groups setting in database lookup.
29956 * nss/nsswitch.conf: Add initgroups entry.
29957
b722481a
EB
299582011-04-22 Ulrich Drepper <drepper@gmail.com>
29959
29960 [BZ #12685]
29961 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29962 mode string.
29963 Patch by Eric Blake <eblake@redhat.com>.
29964
4df46dbd
L
299652011-04-20 H.J. Lu <hongjiu.lu@intel.com>
29966
29967 * sunrpc/Makefile (need-export-routines): Add svc_run.
29968 (routines): Remove svc_run.
29969 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29970 * sunrpc/clnt_perr.c (clnt_perrno): Export.
29971 * sunrpc/svc_run.c (svc_run): Likewise.
29972 * sunrpc/svc_udp.c (svcudp_create): Likewise.
29973
e84142d2
UD
299742011-04-21 Ulrich Drepper <drepper@gmail.com>
29975
29976 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29977 problem in reallocation in last patch.
29978
877175d8
UD
299792011-04-20 Ulrich Drepper <drepper@gmail.com>
29980
29981 * sunrpc/Makefile: Move inclusion of Rules.
29982
ab8eed78
UD
299832011-04-19 Ulrich Drepper <drepper@gmail.com>
29984
29985 * nss/nss_files/files-initgroups.c: New file.
29986 * nss/Makefile (libnss_files-routines): Add files-initgroups.
29987 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29988 _nss_files_initgroups_dyn.
29989
e3d8f584
RS
299902011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
29991
29992 * elf/elf.h (R_ARM_IRELATIVE): Define.
29993
af190f45
UD
299942011-04-19 Ulrich Drepper <drepper@gmail.com>
29995
29996 * po/ru.po: Update from translation team.
29997
53cf59ef
UD
299982011-04-17 Ulrich Drepper <drepper@gmail.com>
29999
30000 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30001 dependencies.
30002
4c559bcd
MF
300032011-02-06 Mike Frysinger <vapier@gentoo.org>
30004
30005 [BZ #12653]
30006 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30007 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30008 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30009 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30010 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30011
4420675c
AS
300122011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30013
30014 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30015 differing bytes.
30016 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30017 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30018 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30019
75ea32ab
UD
300202011-04-17 Ulrich Drepper <drepper@gmail.com>
30021
30022 [BZ #12420]
30023 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30024 storing it.
30025 * stdlib/bug-getcontext.c: New file.
30026 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30027
27390476
AK
300282011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30029
30030 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30031 instructions into .machine "z9-109".
30032 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30033 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30034
10442705
AK
300352011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30036
30037 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30038 between environment variables and auxiliary vector.
30039
7b57bfe5
UD
300402011-04-16 Ulrich Drepper <drepper@gmail.com>
30041
30042 * Makefile: Add rules to build linkobj/libc.so.
30043 * include/libc-symbols.h: Define libc_hidden_nolink.
30044 * include/rpc/auth.h: Mark functions which are to be hidden.
30045 * include/rpc/auth_des.h: Likewise.
30046 * include/rpc/auth_unix.h: Likewise.
30047 * include/rpc/clnt.h: Likewise.
30048 * include/rpc/des_crypt.h: Likewise.
30049 * include/rpc/key_prot.h: Likewise.
30050 * include/rpc/pmap_clnt.h: Likewise.
30051 * include/rpc/pmap_prot.h: Likewise.
30052 * include/rpc/pmap_rmt.h: Likewise.
30053 * include/rpc/rpc_msg.h: Likewise.
30054 * include/rpc/svc.h: Likewise.
30055 * include/rpc/svc_auth.h: Likewise.
30056 * include/rpc/xdr.h: Likewise.
30057 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30058 * nss/Makefile: Likewise.
30059 * sunrpc/Makefile: Don't install headers. Build library with normal
30060 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30061 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30062 for the compat linking library. Remove use of INTDEF/INTUSE.
30063 * sunrpc/auth_none.c: Likewise.
30064 * sunrpc/auth_unix.c: Likewise.
30065 * sunrpc/authdes_prot.c: Likewise.
30066 * sunrpc/authuxprot.c: Likewise.
30067 * sunrpc/clnt_gen.c: Likewise.
30068 * sunrpc/clnt_perr.c: Likewise.
30069 * sunrpc/clnt_raw.c: Likewise.
30070 * sunrpc/clnt_simp.c: Likewise.
30071 * sunrpc/clnt_tcp.c: Likewise.
30072 * sunrpc/clnt_udp.c: Likewise.
30073 * sunrpc/clnt_unix.c: Likewise.
30074 * sunrpc/des_crypt.c: Likewise.
30075 * sunrpc/des_soft.c: Likewise.
30076 * sunrpc/get_myaddr.c: Likewise.
30077 * sunrpc/key_call.c: Likewise.
30078 * sunrpc/key_prot.c: Likewise.
30079 * sunrpc/netname.c: Likewise.
30080 * sunrpc/pm_getmaps.c: Likewise.
30081 * sunrpc/pm_getport.c: Likewise.
30082 * sunrpc/pmap_clnt.c: Likewise.
30083 * sunrpc/pmap_prot.c: Likewise.
30084 * sunrpc/pmap_prot2.c: Likewise.
30085 * sunrpc/pmap_rmt.c: Likewise.
30086 * sunrpc/publickey.c: Likewise.
30087 * sunrpc/rpc_cmsg.c: Likewise.
30088 * sunrpc/rpc_common.c: Likewise.
30089 * sunrpc/rpc_dtable.c: Likewise.
30090 * sunrpc/rpc_prot.c: Likewise.
30091 * sunrpc/rpc_thread.c: Likewise.
30092 * sunrpc/rtime.c: Likewise.
30093 * sunrpc/svc.c: Likewise.
30094 * sunrpc/svc_auth.c: Likewise.
30095 * sunrpc/svc_authux.c: Likewise.
30096 * sunrpc/svc_raw.c: Likewise.
30097 * sunrpc/svc_run.c: Likewise.
30098 * sunrpc/svc_simple.c: Likewise.
30099 * sunrpc/svc_tcp.c: Likewise.
30100 * sunrpc/svc_udp.c: Likewise.
30101 * sunrpc/svc_unix.c: Likewise.
30102 * sunrpc/svcauth_des.c: Likewise.
30103 * sunrpc/xcrypt.c: Likewise.
30104 * sunrpc/xdr.c: Likewise.
30105 * sunrpc/xdr_array.c: Likewise.
30106 * sunrpc/xdr_float.c: Likewise.
30107 * sunrpc/xdr_intXX_t.c: Likewise.
30108 * sunrpc/xdr_mem.c: Likewise.
30109 * sunrpc/xdr_rec.c: Likewise.
30110 * sunrpc/xdr_ref.c: Likewise.
30111 * sunrpc/xdr_sizeof.c: Likewise.
30112 * sunrpc/xdr_stdio.c: Likewise.
30113
e6c61494
UD
301142011-04-10 Ulrich Drepper <drepper@gmail.com>
30115
30116 [BZ #12650]
30117 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30118 * sysdeps/ia64/dl-tls.h: Likewise.
30119 * sysdeps/powerpc/dl-tls.h: Likewise.
30120 * sysdeps/s390/dl-tls.h: Likewise.
30121 * sysdeps/sh/dl-tls.h: Likewise.
30122 * sysdeps/sparc/dl-tls.h: Likewise.
30123 * sysdeps/x86_64/dl-tls.h: Likewise.
30124 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30125
34fe483e
AS
301262011-03-14 Andreas Schwab <schwab@redhat.com>
30127
30128 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30129 rpath element also skip the following colon.
30130 (expand_dynamic_string_token): Add is_path parameter and pass
30131 down to DL_DST_REQUIRED and _dl_dst_substitute.
30132 (decompose_rpath): Call expand_dynamic_string_token with
30133 non-zero is_path. Ignore empty rpaths.
30134 (_dl_map_object_from_fd): Call expand_dynamic_string_token
30135 with zero is_path.
30136
f12a32e6
AS
301372011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30138
30139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30140 Make cancelable.
30141
38a7d692
UD
301422011-04-09 Ulrich Drepper <drepper@gmail.com>
30143
30144 [BZ #12655]
30145 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30146 Patch by Filipe David Manana <fdmanana@apache.org>.
30147
e451d22b
AS
301482011-04-07 Andreas Schwab <schwab@redhat.com>
30149
30150 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30151 Maintain aligned stack.
30152 (CHECK_RSP): Remove unused macro.
30153
dedc7c7b
UD
301542011-04-03 Ulrich Drepper <drepper@gmail.com>
30155
30156 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30157 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30158
94521213
UD
301592011-04-02 Ulrich Drepper <drepper@gmail.com>
30160
30161 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30162
8cb700c0 30163 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 30164
0354e355
L
301652011-03-26 H.J. Lu <hongjiu.lu@intel.com>
30166
30167 [BZ #12518]
30168 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30169 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30170 * sysdeps/x86_64/memmove.c: New file.
30171 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30172 (memcpy): Renamed to ...
30173 (__new_memcpy): This.
30174 (memcpy): Provide GLIBC_2_14 memcpy.
30175 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30176 (memcpy): Provide GLIBC_2_2_5 memcpy.
30177
8593482f
UD
301782011-04-01 Ulrich Drepper <drepper@gmail.com>
30179
30180 [BZ #12631]
30181 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30182
81a5726b
AS
301832011-03-30 Andreas Schwab <schwab@redhat.com>
30184
30185 * misc/syncfs.c: New file.
30186 * misc/Makefile (routines): Add syncfs.
30187 * posix/unistd.h: Declare syncfs.
30188 * sysdeps/unix/syscalls.list: Add syncfs.
30189
00e5419f
AS
301902011-04-01 Andreas Schwab <schwab@redhat.com>
30191
30192 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30193 open_by_handle_at.
30194 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30195 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30196 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30197 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30198 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30199 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30200 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30201
748876bf
UD
302022011-04-01 Ulrich Drepper <drepper@gmail.com>
30203
658e451d
UD
30204 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30205 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30206 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30207 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30208 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30209 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30210 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30211
748876bf
UD
30212 * io/Makefile: Compile fallocate.c, fallocate64.c, and
30213 sync_file_range.c with -fexceptions.
30214 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30215 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30216 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30217 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30218 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30219 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30220 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
30221 sync_file_range as cancellation point
30222 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
30223 now a wrapper around __call_sync_file_range with cancellation handling.
30224 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30225 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
30226 function name to __call_sync_file_range.
30227 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30228 Add call_sync_file_range.
748876bf 30229
6e63d5e1
AS
302302011-04-01 Andreas Schwab <schwab@redhat.com>
30231
30232 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 30233 bits/timex.h.
6e63d5e1 30234
46998f74
UD
302352011-04-01 Ulrich Drepper <drepper@gmail.com>
30236
4c1423ed
UD
30237 * iconv/iconv.h: Fix typo in comment.
30238 * io/fcntl.h: Likewise.
30239 * libio/stdio.h: Likewise.
30240 * posix/spawn.h: Likewise.
30241 * posix/unistd.h: Likewise.
30242 * stdlib/stdlib.h: Likewise.
30243 * time/time.h: Likewise.
30244 * wcsmbs/wchar.h: Likewise.
30245
158648c0
UD
30246 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30247 open_by_handle): Add.
30248 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30249 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
30250 Augment a few comments.
30251 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30252 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30253 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30254 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30255 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30256 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30257 open_by_handle.
30258
46998f74
UD
30259 * io/fcntl.h (AT_EMPTY_PATH): Define.
30260
83fe108b
UD
302612011-03-30 Ulrich Drepper <drepper@gmail.com>
30262
30263 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30264 * sysdeps/unix/sysv/linux/bits/time.h: New file.
30265 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30266 to...
30267 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
30268 * Versions.def: Add GLIBC_2.14.
30269 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30270 Export.
83fe108b 30271
bb242059
UD
302722011-03-22 Ulrich Drepper <drepper@gmail.com>
30273
30274 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30275 round counter.
30276 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30277
c97a1282
L
302782011-03-20 H.J. Lu <hongjiu.lu@intel.com>
30279
30280 [BZ #12597]
30281 * string/test-strncmp.c (do_page_test): New function.
30282 (check2): Likewise.
30283 (test_main): Call check2.
30284 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30285
2a115601
UD
302862011-03-20 Ulrich Drepper <drepper@gmail.com>
30287
30288 [BZ #12587]
30289 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30290 Handle cache information in CPU leaf 4.
30291 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30292
8126d904
UD
302932011-03-18 Ulrich Drepper <drepper@gmail.com>
30294
042c49c6 30295 [BZ #12583]
8126d904
UD
30296 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30297 character representation.
30298 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30299
ccfe366e
RA
303002011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
30301
30302 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30303 END(__isnan) to END(__isnanf) to match function entry point/label
30304 EALIGN(__isnanf,...).
30305
c6e13027
JJ
303062011-03-10 Jakub Jelinek <jakub@redhat.com>
30307
30308 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30309
33f85a3f
UD
303102011-03-10 Ulrich Drepper <drepper@gmail.com>
30311
028478fa
UD
30312 [BZ #12510]
30313 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30314 copy from the symbol referenced in the relocation to initialize the
30315 used variable.
30316 Patch by Piotr Bury <pbury@goahead.com>.
30317 * elf/Makefile: Add rules to build and tst-unique3.
30318 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30319 * elf/tst-unique3.cc: New file.
30320 * elf/tst-unique3.h: New file.
30321 * elf/tst-unique3lib.cc: New file.
30322 * elf/tst-unique3lib2.cc: New file.
30323
33f85a3f
UD
30324 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30325
03592fc7
MF
303262011-03-10 Mike Frysinger <vapier@gentoo.org>
30327
30328 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30329 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
30330 to _start.
03592fc7 30331
6a5ee102
UD
303322011-03-06 Ulrich Drepper <drepper@gmail.com>
30333
30334 * elf/dl-load.c (_dl_map_object): If we are looking for the first
30335 to-be-loaded object along a path to loader is ld.so.
30336
7e4ba49c
HJ
303372011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30338 Ulrich Drepper <drepper@gmail.com>
30339
30340 * sysdeps/x86_64/memset.S: After aligning destination, code
30341 branches to different locations depending on the value of
30342 misalignment, when multiarch is enabled. Fix this.
30343
303442011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30345
30346 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30347 Set _x86_64_preferred_memory_instruction for AMD processsors.
30348 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30349 Set bit_Prefer_SSE_for_memop for AMD processors.
30350
13a804de
UD
303512011-03-04 Ulrich Drepper <drepper@gmail.com>
30352
30353 * libio/fmemopen.c (fmemopen): Optimize a bit.
30354
9d25c392
AS
303552011-03-03 Andreas Schwab <schwab@redhat.com>
30356
30357 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30358
a5543c6a
RM
303592011-03-03 Roland McGrath <roland@redhat.com>
30360
30361 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30362
012d35f7
DM
303632011-02-28 Aurelien Jarno <aurelien@aurel32.net>
30364
7e4ba49c 30365 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
30366 __bzero_ultra1 instead of __memset_ultra1.
30367
4bff6e01
AS
303682011-02-23 Andreas Schwab <schwab@redhat.com>
30369 Ulrich Drepper <drepper@gmail.com>
30370
30371 [BZ #12509]
30372 * include/link.h (struct link_map): Add l_orig_initfini.
30373 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30374 returning unsuccessfully.
30375 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30376 close of a file loaded at startup, restore the original l_initfini
30377 list.
30378 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30379 list, store the pointer.
30380 * elf/Makefile ($(objpfx)noload-mem): New rule.
30381 (noload-ENV): Define.
30382 (tests): Add $(objpfx)noload-mem.
30383 * elf/noload.c: Include <memcheck.h>.
30384 (main): Call mtrace. Close all opened handles.
30385
f2092faf
AS
303862011-02-17 Andreas Schwab <schwab@redhat.com>
30387
30388 [BZ #12454]
30389 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30390 dependencies are missing.
30391
6c8a2e88
ST
303922011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30393
f2092faf 30394 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
30395 Hurd needs munmap.
30396 * sysdeps/mach/hurd/ifreq.h: New file.
30397
84a42118
PB
303982011-01-27 Petr Baudis <pasky@suse.cz>
30399 Ulrich Drepper <drepper@gmail.com>
30400
071f805e 30401 [BZ 12445]#
84a42118
PB
30402 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30403 to extend_alloca().
30404 * stdio-common/bug23.c: New file.
30405 * stdio-common/Makefile (tests): Add bug23.
30406
e23fe25b
AS
304072010-09-28 Andreas Schwab <schwab@redhat.com>
30408 Ulrich Drepper <drepper@gmail.com>
30409
30410 [BZ #12489]
30411 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30412 before performing relro protection. At old place add assertion
30413 to make sure nothing changed.
30414
d3f02e10
NS
304152011-02-17 Nathan Sidwell <nathan@codesourcery.com>
30416 Glauber de Oliveira Costa <glommer@gmail.com>
30417
30418 * elf/elf.h: Add new ARM TLS relocs.
30419
d55fd7a5
RA
304202011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
30421
30422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30423 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30424 cast from r3.
30425 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
30426 'tests' variable.
30427 * sysdeps/wordsize-64/tst-writev.c: New file.
30428
2206397e
RA
304292011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
30430
30431 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30432 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30433 insns in _dl_start to prevent a TOC reference before relocs are
30434 resolved.
30435
e9433893
UD
304362011-02-15 Ulrich Drepper <drepper@gmail.com>
30437
30438 [BZ #12469]
30439 * Makeconfig: Remove RANLIB definition.
30440 * Makerules: Don't use RANLIB.
30441 * aclocal.m4: Remove ranlib test.
30442 * configure.in: No need to check for ranlib.
30443 * elf/rtld-Rules: Don't use RANLIB.
30444
f75286c6
ST
304452011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30446
8e31c82d
ST
30447 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30448 protection macro.
30449 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30450 inclusion protection macro.
30451
f75286c6
ST
30452 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30453 SIGRTMIN and SIGRTMAX and print information in that case only when
30454 SIGRTMIN is defined.
30455
c1d0e639
JJ
304562011-02-11 Jakub Jelinek <jakub@redhat.com>
30457
30458 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30459 arginfo fn returning -1.
30460
30461 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30462 and thousands string is zero terminated.
30463
edf9294e
AS
304642011-02-03 Andreas Schwab <schwab@redhat.com>
30465
30466 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30467 sysdeps/unix/sysv/linux/bits/socket.h.
30468
2b7e92df
ST
304692011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
30470
edf9294e
AS
30471 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30472 (__CPU_COUNT): Remove old macros.
30473 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30474 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30475 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
30476 (__sched_cpualloc, __sched_cpufree): Add declarations.
30477
a4c7ea7b
UD
304782011-02-05 Ulrich Drepper <drepper@gmail.com>
30479
30480 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30481 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30482 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30483 (readdhstai): Return value of addhstaiX call.
30484 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30485 (addgrbyX): Return value returned by cache_addgr.
30486 (readdgrbyname): Return value returned by addgrbyX.
30487 (readdgrbygid): Likewise.
30488 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30489 (addpwbyX): Return value returned by cache_addpw.
30490 (readdpwbyname): Return value returned by addhstbyX.
30491 (readdpwbyuid): Likewise.
30492 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30493 (addservbyX): Return value returned by cache_addserv.
30494 (readdservbyname): Return value returned by addservbyX:
30495 (readdservbyport): Likewise.
30496 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30497 (addhstbyX): Return value returned by cache_addhst.
30498 (readdhstbyname): Return value returned by addhstbyX.
30499 (readdhstbyaddr): Likewise.
30500 (readdhstbynamev6): Likewise.
30501 (readdhstbyaddrv6): Likewise.
30502 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30503 (readdinitgroups): Return value returned by addinitgroupsX.
30504 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30505 (prune_cache): Keep track of timeout value of re-added entries.
30506 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30507 * nscd/nscd.h: Adjust prototypes of readd* functions.
30508
a0bf67cc
RM
305092011-02-04 Roland McGrath <roland@redhat.com>
30510
30511 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30512 (nis_stats): Likewise.
30513 * nis/nis_modify.c (nis_modify): Likewise.
30514 * nis/nis_remove.c (nis_remove): Likewise.
30515 * nis/nis_add.c (nis_add): Likewise.
30516
30517 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30518
30519 * posix/fnmatch_loop.c: Add some consts.
30520
30521 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30522
435b95eb
L
305232011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30524
30525 [BZ #12460]
30526 * config.make.in (config-cflags-novzeroupper): Define.
30527 * configure.in: Substitute libc_cv_cc_novzeroupper.
30528 * elf/Makefile (AVX-CFLAGS): Define.
30529 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30530 (CFLAGS-tst-auditmod4a.c): Likewise.
30531 (CFLAGS-tst-auditmod4b.c): Likewise.
30532 (CFLAGS-tst-auditmod6b.c): Likewise.
30533 (CFLAGS-tst-auditmod6c.c): Likewise.
30534 (CFLAGS-tst-auditmod7b.c): Likewise.
30535 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30536
8517b15e
UD
305372011-02-02 Ulrich Drepper <drepper@gmail.com>
30538
30539 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30540 function to the callback.
30541 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30542
10a656fe
AS
305432011-02-02 Andreas Schwab <schwab@redhat.com>
30544
30545 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30546 of errno.
30547
968dad0a
UD
305482011-01-19 Ulrich Drepper <drepper@gmail.com>
30549
9f94d2ea 30550 [BZ #11724]
968dad0a
UD
30551 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30552 of constructors.
30553 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30554 of destructors.
30555 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30556
30557 [BZ #11724]
30558 * elf/Makefile: Add rules to build and run new test.
30559 * elf/tst-initorder.c: New file.
30560 * elf/tst-initorder.exp: New file.
30561 * elf/tst-initordera1.c: New file.
30562 * elf/tst-initordera2.c: New file.
30563 * elf/tst-initordera3.c: New file.
30564 * elf/tst-initordera4.c: New file.
30565 * elf/tst-initorderb1.c: New file.
30566 * elf/tst-initorderb2.c: New file.
30567 * elf/tst-order-a1.c: New file.
30568 * elf/tst-order-a2.c: New file.
30569 * elf/tst-order-a3.c: New file.
30570 * elf/tst-order-a4.c: New file.
30571 * elf/tst-order-b1.c: New file.
30572 * elf/tst-order-b2.c: New file.
30573 * elf/tst-order-main.c: New file.
30574 New test case by George Gensure <werkt0@gmail.com>.
30575
86e92359
UD
305762010-10-01 Andreas Schwab <schwab@redhat.com>
30577
30578 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30579 decoding ACE if AI_CANONIDN.
30580
5d5732b0
UD
305812011-01-18 Ulrich Drepper <drepper@gmail.com>
30582
30583 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30584
a77e8cbc
UD
305852011-01-17 Ulrich Drepper <drepper@gmail.com>
30586
6392473f
UD
30587 * version.h (RELEASE): Bump for 2.13 release.
30588 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30589
620a0529
UD
30590 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30591
18ba70a5
UD
30592 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30593 MADV_NOHUGEPAGE.
32465c3e
UD
30594 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30595 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30596 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30597 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30598 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30599 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30600
c0dafcf1
UD
30601 * posix/getconf.c: Update copyright year.
30602 * catgets/gencat.c: Likewise.
30603 * csu/version.c: Likewise.
30604 * debug/catchsegv.sh: Likewise.
30605 * debug/xtrace.sh: Likewise.
30606 * elf/ldconfig.c: Likewise.
30607 * elf/ldd.bash.in: Likewise.
30608 * elf/sprof.c (print_version): Likewise.
30609 * iconv/iconv_prog.c: Likewise.
30610 * iconv/iconvconfig.c: Likewise.
30611 * locale/programs/locale.c: Likewise.
30612 * locale/programs/localedef.c: Likewise.
30613 * malloc/memusage.sh: Likewise.
30614 * malloc/mtrace.pl: Likewise.
30615 * nscd/nscd.c (print_version): Likewise.
30616 * nss/getent.c: Likewise.
30617
a77e8cbc
UD
30618 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30619 PF_CAIF, and PF_ALG.
30620 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30621
77e8bddf
AS
306222011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30623
1f20b93a
AS
30624 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30625 (modules-names): Use them.
30626 (ifunc-test-modules, ifunc-pie-tests): Define.
30627 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30628 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30629 (test-extras): Likewise.
30630 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30631 $(compile-command.c).
30632 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30633 (all-built-dso): Define.
30634 (check-textrel.out, check-execstack.out): Depend on it.
30635
77e8bddf
AS
30636 * configure.in: Don't override --enable-multi-arch.
30637
bc425b33
UD
306382011-01-15 Ulrich Drepper <drepper@gmail.com>
30639
30640 [BZ #6812]
30641 * nscd/hstcache.c (tryagain): Define.
30642 (cache_addhst): Return tryagain not notfound for temporary errors.
30643 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30644 failed.
30645
794c3ad3
UD
306462011-01-14 Ulrich Drepper <drepper@gmail.com>
30647
70181fdd
UD
30648 [BZ #10563]
30649 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30650 to make the syscall.
30651 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30652
794c3ad3
UD
30653 [BZ #12378]
30654 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30655 and fall back to matching as normal character if the string ends before
30656 the matching ']' is found. This is what POSIX requires.
30657 * posix/testfnm.c: Adjust test result.
30658 * posix/globtest.sh: Adjust test result. Add new test.
30659 * posix/tst-fnmatch.input: Likewise.
30660 * posix/tst-fnmatch2.c: Add new test.
30661
68dc9497
AS
306622010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30663
30664 * elf/Makefile (check-execstack): Revert last change. Depend on
30665 check-execstack.h.
30666 (check-execstack.h): New target.
30667 (generated): Add check-execstack.h.
30668 * elf/check-execstack.c: Include "check-execstack.h".
30669 (main): Revert last change.
30670 (handle_file): Return zero if GNU_STACK is absent and
30671 DEFAULT_STACK_PERMS doesn't include PF_X.
30672
451f001b
UD
306732011-01-13 Ulrich Drepper <drepper@gmail.com>
30674
cfa28e56
UD
30675 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30676 in child fails because the descriptor is already closed.
8cf8ce17
UD
30677 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30678 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30679 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 30680
1086d70d
UD
30681 [BZ #12397]
30682 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30683 syscall.
30684
451f001b
UD
30685 [BZ #10484]
30686 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30687 temporary buffer used to handle multi lookups locally.
a85b5cb4 30688 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 30689
08769175
UD
306902011-01-12 Ulrich Drepper <drepper@gmail.com>
30691
30692 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30693 loader is ld.so.
30694
5e49c52e
UD
306952011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30696
30697 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30698 alignment for SSE2.
30699
60522a5f
UD
307002011-01-12 Ulrich Drepper <drepper@gmail.com>
30701
30702 [BZ #12394]
30703 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30704 characters. When rounding increased number of integer digits recompute
30705 number of groups.
30706 * stdio-common/tst-grouping.c: New file.
30707 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30708
f257bbd7
UD
307092011-01-09 Ulrich Drepper <drepper@gmail.com>
30710
30711 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30712 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30713
30714 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30715 void.
30716 * bits/select.h: Likewise.
30717
fa9c15cb
UD
307182011-01-08 Ulrich Drepper <drepper@gmail.com>
30719
30720 * po/ja.po: Update from translation team.
30721
16c2895f
DM
307222011-01-04 David S. Miller <davem@sunset.davemloft.net>
30723
30724 [BZ #11155]
30725 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30726 implementation just like for lxstat, fxstatat, et al.
30727
2543fef2
JM
307282010-12-27 Jim Meyering <meyering@redhat.com>
30729
30730 [BZ #12348]
30731 * posix/regexec.c (build_trtable): Return failure indication upon
30732 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30733
98727dbe
UD
307342010-12-25 Ulrich Drepper <drepper@gmail.com>
30735
5bd6dc5c
UD
30736 [BZ #12201]
30737 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30738 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30739 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30740 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30741
97983464
UD
30742 [BZ #12207]
30743 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30744
98727dbe
UD
30745 [BZ #12204]
30746 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30747 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30748
4a531bb0
L
307492010-12-15 H.J. Lu <hongjiu.lu@intel.com>
30750
30751 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30752 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30753 script has SORT_BY_INIT_PRIORITY.
30754 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30755 NO_CTORS_DTORS_SECTIONS is defined.
30756 * elf/soinit.c: Likewise.
30757 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30758 NO_CTORS_DTORS_SECTIONS is defined.
30759 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30760 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30761 * sysdeps/sh/init-first.c: Likewise.
30762 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30763
07eb4b71
UD
307642010-12-24 Ulrich Drepper <drepper@gmail.com>
30765
30766 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30767 always use the slow path.
30768
30950a5f
RA
307692010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
30770
30771 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30772 similar rule which adds the sysdep directories to the header search in
30773 order to pick up the correct platform stackinfo.h.
30774 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30775 perform test if it is, otherwise return successfully without testing.
30776 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30777 DEFAULT_STACK_PERMS define in stackinfo.h.
30778 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30779 defined in stackinfo.h.
30780 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30781 DEFAULT_STACK_PERMS defined in stackinfo.h.
30782 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30783 * sysdeps/ia64/stackinfo.h: Likewise.
30784 * sysdeps/s390/stackinfo.h: Likewise.
30785 * sysdeps/sh/stackinfo.h: Likewise.
30786 * sysdeps/sparc/stackinfo.h: Likewise.
30787 * sysdeps/x86_64/stackinfo.h: Likewise.
30788 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30789 PF_X for powerpc64. Retain PF_X for powerpc32.
30790
db753e2c
UD
307912010-12-19 Ulrich Drepper <drepper@gmail.com>
30792
14b697f7
UD
30793 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30794 accurately.
db753e2c
UD
30795 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30796 GETDENTS_64BIT_ALIGNED.
30797
28300719
UD
307982010-12-14 Ulrich Drepper <dreper@gmail.com>
30799
14b697f7 30800 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 30801
4f197237
AS
308022010-12-10 Andreas Schwab <schwab@redhat.com>
30803
dbb0472f
AS
30804 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30805 _GNU_SOURCE.
30806
4f197237
AS
30807 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30808 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30809 Remove __restrict.
30810 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30811 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30812
fb88ac72
UD
308132010-12-09 Ulrich Drepper <drepper@gmail.com>
30814
30815 [BZ #11655]
30816 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30817 are initialized.
30818
42acbb92
JJ
308192010-12-09 Jakub Jelinek <jakub@redhat.com>
30820
30821 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30822
c038d98d
UD
308232010-12-03 Ulrich Drepper <drepper@gmail.com>
30824
30825 * po/it.po: Update from translation team.
30826
3a4a2499
L
308272010-12-01 H.J. Lu <hongjiu.lu@intel.com>
30828
30829 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30830 unused codes.
30831
1e24cf6e
UD
308322010-11-30 Ulrich Drepper <drepper@gmail.com>
30833
30834 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30835
a7690819
AS
308362010-11-24 Andreas Schwab <schwab@redhat.com>
30837
30838 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30839 specially.
30840 (gaih_getanswer_slice): Likewise.
30841
3bf8d1b1
JJ
308422010-10-20 Jakub Jelinek <jakub@redhat.com>
30843
30844 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30845
6db52fbb
PB
308462010-05-31 Petr Baudis <pasky@suse.cz>
30847
30848 [BZ #11149]
30849 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30850 silently even in the chroot mode.
30851
eaca7569
UD
308522010-11-22 Ulrich Drepper <drepper@gmail.com>
30853
30854 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30855 last patch a bit. Pretty printing
30856
3056dcdb
UD
308572010-05-31 Petr Baudis <pasky@suse.cz>
30858
30859 [BZ #10085]
30860 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30861 initialization of skip_initgroups_dyn.
30862
cf7c9078
UD
308632010-11-19 Ulrich Drepper <drepper@gmail.com>
30864
30865 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30866 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30867
a1fb5e3e
UD
308682010-11-16 Ulrich Drepper <drepper@gmail.com>
30869
30870 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30871
3540d66b
AS
308722010-11-11 Andreas Schwab <schwab@redhat.com>
30873
30874 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30875 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30876 (tst-fnmatch-ENV): Set MALLOC_TRACE.
30877 ($(objpfx)tst-fnmatch-mem): New rule.
30878 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30879 * posix/tst-fnmatch.c (main): Call mtrace.
30880
13b69574
L
308812010-11-11 H.J. Lu <hongjiu.lu@intel.com>
30882
30883 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30884 Support Intel processor model 6 and model 0x2c.
30885
da93d214
LM
308862010-11-10 Luis Machado <luisgpm@br.ibm.com>
30887
30888 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30889 signed comparison.
30890
8ca52c6e
L
308912010-11-09 H.J. Lu <hongjiu.lu@intel.com>
30892
30893 [BZ #12205]
30894 * string/test-strncasecmp.c (check_result): New function.
30895 (do_one_test): Use it.
30896 (check1): New function.
30897 (test_main): Use it.
30898 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30899 Support strcasecmp and strncasecmp.
30900
69da074d
UD
309012010-11-08 Ulrich Drepper <drepper@gmail.com>
30902
30903 [BZ #12194]
30904 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30905 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30906
ff02d528
L
309072010-11-07 H.J. Lu <hongjiu.lu@intel.com>
30908
30909 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30910 IFUNC support.
30911 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30912 memset-x86-64.
30913 * sysdeps/x86_64/multiarch/bzero.S: New file.
30914 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30915 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30916 * sysdeps/x86_64/multiarch/memset.S: New file.
30917 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30918 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30919 Set bit_Prefer_SSE_for_memop for Intel processors.
30920 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30921 Define.
30922 (index_Prefer_SSE_for_memop): Define.
30923 (HAS_PREFER_SSE_FOR_MEMOP): Define.
30924
344d0b54
LM
309252010-11-04 Luis Machado <luisgpm@br.ibm.com>
30926
30927 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30928 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30929
c0dde15b
UD
309302010-11-03 H.J. Lu <hongjiu.lu@intel.com>
30931
30932 [BZ #12191]
30933 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30934 (__x86_64_raw_data_cache_size_half): Likewise.
30935 (__x86_64_raw_shared_cache_size): Likewise.
30936 (__x86_64_raw_shared_cache_size_half): Likewise.
30937
30938 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30939 (__x86_64_raw_data_cache_size_half): Likewise.
30940 (__x86_64_raw_shared_cache_size): Likewise.
30941 (__x86_64_raw_shared_cache_size_half): Likewise.
30942 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30943 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30944 and __x86_64_raw_shared_cache_size_half. Round
30945 __x86_64_data_cache_size_half, __x86_64_data_cache_size
30946 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30947 to multiple of 256 bytes.
30948
0e516e0e
MS
309492010-11-03 Ulrich Drepper <drepper@gmail.com>
30950
30951 [BZ #12167]
30952 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30953 of inacessible symlinks. Verify result of symlink before returning it.
30954 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30955 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30956
0e012e87
ER
309572010-10-28 Erich Ritz <erichritz@gmail.com>
30958
30959 * math/math.h (isinf): Fix typo in comment.
30960
de0ff7bc
UD
309612010-11-01 Ulrich Drepper <drepper@gmail.com>
30962
30963 * po/da.po: Update from translation team.
30964
fa41c84d
UD
309652010-10-26 Ulrich Drepper <drepper@gmail.com>
30966
30967 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30968 is added to the list.
30969
f0967738
AK
309702010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30971 Ulrich Drepper <drepper@gmail.com>
30972
30973 * elf/dl-object.c (_dl_new_object): Don't append the new object to
30974 the global list here. Move code to...
30975 (_dl_add_to_namespace_list): ...here. New function.
30976 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30977 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30978 * elf/dl-load.c (lose): Don't remove the element from the list.
30979 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30980 (_dl_map_object): Likewise.
30981
309822010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
30983
30984 [BZ #12159]
30985 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30986 into all bytes of SSE register.
30987 Patch by Richard Li <richardpku@gmail.com>.
30988
f0967738 309892010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
30990
30991 [BZ #12140]
30992 * malloc/malloc.c (_int_free): Fill correct number of bytes when
30993 perturbing.
30994
d0b9e94f
MB
309952010-10-20 Michael B. Brutman <brutman@us.ibm.com>
30996
30997 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30998 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30999 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31000 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31002 submachine.
31003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31004
8e9f92e9
AS
310052010-10-22 Andreas Schwab <schwab@redhat.com>
31006
31007 * include/dlfcn.h (__RTLD_SECURE): Define.
31008 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31009 mode & __RTLD_SECURE instead.
31010 (open_path): Rename preloaded parameter to secure.
31011 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31012 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31013 * elf/dl-deps.c (openaux): Likewise.
31014 * elf/rtld.c (struct map_args): Remove is_preloaded.
31015 (map_doit): Don't use it.
31016 (dl_main): Likewise.
31017 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31018 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31019
bc96fbda
AS
310202010-09-09 Andreas Schwab <schwab@redhat.com>
31021
31022 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31023 (sysd-rules-targets): Remove duplicates.
31024 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31025 rtld-%.$o dependency.
31026
22cd1c9b
AS
310272010-10-18 Andreas Schwab <schwab@redhat.com>
31028
31029 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31030 _dl_map_object do it.
31031
18edac48
UD
310322010-10-19 Ulrich Drepper <drepper@gmail.com>
31033
31034 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31035 fast fma builtins, define the macros in the C99 standard.
31036 (FP_FAST_FMAF): Likewise.
31037 (FP_FAST_FMAL): Likewise.
31038 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31039
31040 * bits/mathdef.h: Update copyright year.
31041 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31042
d2050124
MM
310432010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31044
31045 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31046 builtins, define the macros in the C99 standard.
31047 (FP_FAST_FMAF): Likewise.
31048 (FP_FAST_FMAL): Likewise.
31049 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31050 multiply/add.
31051 (FP_FAST_FMAF): Likewise.
31052
475facd1
JJ
310532010-10-15 Jakub Jelinek <jakub@redhat.com>
31054
31055 [BZ #3268]
31056 * math/libm-test.inc (fma_test): Some new testcases.
31057 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31058 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31059 y and infinite z. Do multiplication by C already in long double.
31060 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31061 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31062 y and infinite z. Do bitwise or of inexact bit into u.d.
31063 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31064 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31065 * sysdeps/i386/fpu/s_fma.S: Removed.
31066 * sysdeps/i386/fpu/s_fmal.S: Removed.
31067
7c08a05c
JJ
310682010-10-16 Jakub Jelinek <jakub@redhat.com>
31069
31070 [BZ #3268]
31071 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31072 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31073 computation is not scheduled after fetestexcept. Fix value
31074 of minimum denormal long double.
31075
f3f7372d
JJ
310762010-10-14 Jakub Jelinek <jakub@redhat.com>
31077
31078 [BZ #3268]
31079 * math/libm-test.inc (fma_test): Add some more tests.
31080 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31081 correctly.
31082
14d43591
AS
310832010-10-15 Andreas Schwab <schwab@redhat.com>
31084
31085 * scripts/data/localplt-s390-linux-gnu.data: New file.
31086 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31087
5e908464
JJ
310882010-10-13 Jakub Jelinek <jakub@redhat.com>
31089
31090 [BZ #3268]
31091 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31092 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31093 instead of dbl-64.
31094 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31095 inlines.
31096 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31097 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31098 if one of x and y is very large and the other is subnormal.
31099 * sysdeps/s390/fpu/s_fmaf.c: New file.
31100 * sysdeps/s390/fpu/s_fma.c: New file.
31101 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31102 * sysdeps/powerpc/fpu/s_fma.S: New file.
31103 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31104 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31105 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31106
311072010-10-12 Jakub Jelinek <jakub@redhat.com>
31108
31109 [BZ #3268]
31110 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31111 fma tests.
31112 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31113 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31114 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31115 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31116 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31117 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31118 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31119
b833d51f
UD
311202010-10-12 Ulrich Drepper <drepper@redhat.com>
31121
31122 [BZ #12078]
31123 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31124 * posix/bug-regex31.input: Add test case.
31125
1751705d
UD
311262010-10-11 Ulrich Drepper <drepper@gmail.com>
31127
e9b9cbf5
UD
31128 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31129 * posix/bug-regex31.input: New file.
31130
31131 [BZ #12078]
31132 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31133 (parse_sub_exp): Fix last change, use postorder.
31134
ef06edbe
UD
31135 * posix/bug-regex31.c: New file.
31136 * posix/Makefile: Add rules to build and run bug-regex31.
31137
a129c80d
UD
31138 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31139
31140 [BZ #12078]
31141 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31142
b76b818e
UD
31143 [BZ #12108]
31144 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31145 to have entries in sys_siglist.
31146
1751705d
UD
31147 [BZ #12093]
31148 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31149 be NULL.
31150
9ff8d36f
JJ
311512010-10-07 Jakub Jelinek <jakub@redhat.com>
31152
31153 [BZ #3268]
31154 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31155 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31156 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31157 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31158 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31159 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31160 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31161 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31162 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31163 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31164 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31165 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31166 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31167 * math/ftestexcept.c (fetestexcept): Likewise.
31168 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31169 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31170 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31171 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31172 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31173 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31174 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31175
af325969
UD
311762010-10-11 Ulrich Drepper <drepper@gmail.com>
31177
c579b202 31178 [BZ #12107]
af325969
UD
31179 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31180 newline.
31181
67a67b95
UD
311822010-10-06 Ulrich Drepper <drepper@gmail.com>
31183
31184 * string/bug-strstr1.c: New file.
31185 * string/Makefile: Add rules to build and run bug-strstr1.
31186
5fb308bc
EB
311872010-10-05 Eric Blake <eblake@redhat.com>
31188
31189 [BZ #12092]
31190 * string/str-two-way.h (two_way_long_needle): Always clear memory
31191 when skipping input due to the shift table.
31192
45db99c7
UD
311932010-10-03 Ulrich Drepper <drepper@gmail.com>
31194
3b111893
UD
31195 [BZ #12005]
31196 * malloc/mcheck.c: Handle large requests.
31197
45db99c7
UD
31198 [BZ #12077]
31199 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31200 for strncmp and strncasecmp.
31201 * string/stratcliff.c: Add tests for strcmp and strncmp.
31202 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31203
cf7a1eb8
NI
312042010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31205
31206 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31207 __set_fpscr.
31208
6484ba5e
AJ
312092010-09-30 Andreas Jaeger <aj@suse.de>
31210
31211 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31212 (CGROUP_SUPER_MAGIC): Define.
31213 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31214 Handle btrfs and cgroup file systems.
31215 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31216 Likewise.
31217
91c42559
LM
312182010-09-27 Luis Machado <luisgpm@br.ibm.com>
31219
31220 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31221 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31222
87a97932
AK
312232010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31224
31225 [BZ #12067]
31226 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31227 trying to locate the ELF header.
31228
c21cc9bc
AS
312292010-09-27 Andreas Schwab <schwab@redhat.com>
31230
31231 [BZ #11611]
31232 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31233 Mask out sign-bit copies when constructing f_fsid.
31234
315970f6
PB
312352010-09-24 Petr Baudis <pasky@suse.cz>
31236
31237 * debug/stack_chk_fail_local.c: Add missing licence exception.
31238 * debug/warning-nop.c: Likewise.
31239
1ac7a2c7
JM
312402010-09-15 Joseph Myers <joseph@codesourcery.com>
31241
31242 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31243 implementing getdents64 using getdents syscall, set d_type if
31244 __ASSUME_GETDENTS32_D_TYPE.
31245
56801c50
AS
312462010-09-16 Andreas Schwab <schwab@redhat.com>
31247
31248 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31249 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31250
dda51327
UD
312512010-09-21 Ulrich Drepper <drepper@redhat.com>
31252
31253 [BZ #12037]
31254 * posix/unistd.h: Undo change of feature selection for ftruncate from
31255 2010-01-11.
31256
8ffcee4a
UD
312572010-09-20 Ulrich Drepper <drepper@redhat.com>
31258
a545ecd9 31259 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
31260 detection.
31261
e24f0a8b
AS
312622010-09-20 Andreas Schwab <schwab@redhat.com>
31263
31264 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31265 fanotify_mark.
31266 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31267
7291c56f
AS
312682010-09-14 Andreas Schwab <schwab@redhat.com>
31269
31270 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31271 variables after CHECK_SP call.
31272 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31273
bc5fb037
AS
312742010-09-13 Andreas Schwab <schwab@redhat.com>
31275 Ulrich Drepper <drepper@redhat.com>
31276
31277 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31278 re-relocationg ld.so.
31279 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31280 _dl_init_paths call.
31281 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
31282 here anymore.
31283
e66e7419
UD
312842010-09-14 Ulrich Drepper <drepper@redhat.com>
31285
31286 * resolv/res_init.c (__res_vinit): Count the default server we added.
31287
c044aa75
CLT
312882010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
31289 Ulrich Drepper <drepper@redhat.com>
31290
31291 [BZ #11968]
31292 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31293 (____longjmp_chk): Use %ebx for saving value across system call.
31294 Add unwind info.
31295
32cf4069
AS
312962010-09-06 Andreas Schwab <schwab@redhat.com>
31297
31298 * manual/Makefile: Don't mix pattern rules with normal rules.
31299
817328ee
AS
313002010-09-05 Andreas Schwab <schwab@linux-m68k.org>
31301
31302 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31303 operation.
31304 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31305 * libio/iofopncook.c (_IO_cookie_init): Likewise.
31306 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31307 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31308 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31309 Likewise.
31310
29fddf61
UD
313112010-09-04 Ulrich Drepper <drepper@redhat.com>
31312
31313 [BZ #11979]
31314 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31315 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31316
0959ffc9
UD
313172010-09-02 Ulrich Drepper <drepper@redhat.com>
31318
31319 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31320 * sysdeps/x86_64/addmul_1.S: Likewise.
31321 * sysdeps/x86_64/lshift.S: Likewise.
31322 * sysdeps/x86_64/mul_1.S: Likewise.
31323 * sysdeps/x86_64/rshift.S: Likewise.
31324 * sysdeps/x86_64/sub_n.S: Likewise.
31325 * sysdeps/x86_64/submul_1.S: Likewise.
31326
ece29840
ST
313272010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
31328
0959ffc9
UD
31329 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31330 Define __sched_param instead of SCHED_* and sched_param when
ece29840 31331 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 31332 * bits/sched.h [__need_schedparam]
ece29840 31333 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
31334 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31335 (__defined_schedparam): Define to 1.
ece29840
ST
31336 (__sched_param): New structure, identical to sched_param.
31337 (__need_schedparam): Undefine.
31338
e53a31fe
MF
313392010-08-31 Mike Frysinger <vapier@gentoo.org>
31340
fdc0c10d
MF
31341 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31342 (epoll_create1): Declare.
31343
e53a31fe
MF
31344 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31345
a726d796
AS
313462010-08-31 Andreas Schwab <schwab@redhat.com>
31347
31348 [BZ #7066]
31349 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31350 shifting retval into place.
31351
2f3e3dc7
UD
313522010-09-01 Ulrich Drepper <drepper@redhat.com>
31353
f2933da9
UD
31354 * nis/rpcsvc/nis.h: Update copyright notice.
31355 * nis/rpcsvc/nis.x: Likewise.
31356 * nis/rpcsvc/nis_callback.h: Likewise.
31357 * nis/rpcsvc/nis_callback.x: Likewise.
31358 * nis/rpcsvc/nis_object.x: Likewise.
31359 * nis/rpcsvc/nis_tags.h: Likewise.
31360 * nis/rpcsvc/yp.h: Likewise.
31361 * nis/rpcsvc/yp.x: Likewise.
31362 * nis/rpcsvc/ypupd.h: Likewise.
31363 * nis/yp_xdr.c: Likewise.
31364 * nis/ypupdate_xdr.c: Likewise.
31365
2f3e3dc7
UD
31366 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
31367 mainly the body of pmap_getport. Add parameters to specify timeouts.
31368 (pmap_getport): Use __libc_rpc_getport.
31369 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31370 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31371 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31372
f3dcc2f9
AS
313732010-08-31 Andreas Schwab <schwab@linux-m68k.org>
31374
31375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31376 fanotify_mark.
31377
6d34eb5b
RM
313782010-08-27 Roland McGrath <roland@redhat.com>
31379
31380 * sysdeps/i386/i686/multiarch/Makefile
31381 (CFLAGS-varshift.c): New variable.
31382
9ea3de11
UD
313832010-08-27 Ulrich Drepper <drepper@redhat.com>
31384
c96d23fc
UD
31385 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31386 * sysdeps/i386/i686/multiarch/varshift.c: New file.
31387
9ea3de11
UD
31388 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31389
31390 * sysdeps/x86_64/strlen.S: Minimal code improvement.
31391
623aac7f
L
313922010-08-26 H.J. Lu <hongjiu.lu@intel.com>
31393
31394 * sysdeps/x86_64/strlen.S: Unroll the loop.
31395 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31396 strlen-sse2 strlen-sse2-bsf.
31397 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31398 __strlen_no_bsf if bit_Slow_BSF is set.
31399 (__strlen_sse42): Removed.
31400 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31401 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31402
8b2b7715
RM
314032010-08-25 Roland McGrath <roland@redhat.com>
31404
31405 * sysdeps/x86_64/multiarch/varshift.S: File removed.
31406 * sysdeps/x86_64/multiarch/varshift.c: New file.
31407 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31408 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31409 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31410 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31411
e73015f2
L
314122010-08-25 H.J. Lu <hongjiu.lu@intel.com>
31413
31414 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31415 strlen-sse2 strlen-sse2-bsf.
31416 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31417 __strlen_sse2_bsf if bit_Slow_BSF is unset.
31418 (__strlen_sse2): Removed.
31419 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31420 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31421 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31422 bit_Slow_BSF for Atom.
31423 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31424 (index_Slow_BSF): Define.
31425 (HAS_SLOW_BSF): Define.
31426
df24a73e
UD
314272010-08-25 Ulrich Drepper <drepper@redhat.com>
31428
31429 [BZ #10851]
31430 * resolv/res_init.c (__res_vinit): When no server address at all
31431 is given default to loopback.
31432
f2ac4868
RM
314332010-08-24 Roland McGrath <roland@redhat.com>
31434
09055553
RM
31435 * configure.in: Remove config-name.h generation.
31436 * configure: Regenerated.
31437 * config-name.in: File removed.
31438 * scripts/config-uname.sh: New file.
31439 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31440 ($(objdir)config-name.h): New target.
31441
f2ac4868
RM
31442 * sunrpc/rpc_parse.h: Avoid nested comment.
31443
73f27d5e
RH
314442010-08-24 Richard Henderson <rth@redhat.com>
31445 Ulrich Drepper <drepper@redhat.com>
31446 H.J. Lu <hongjiu.lu@intel.com>
31447
31448 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31449 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31450 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31451 Replace _mm_srli_si128 with __m128i_shift_right. Replace
31452 _mm_alignr_epi8 with _mm_loadu_si128.
31453 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31454 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31455 (__m128i_shift_right): Removed.
31456 * sysdeps/i386/i686/multiarch/varshift.h: New file.
31457 * sysdeps/i386/i686/multiarch/varshift.S: New file.
31458 * sysdeps/x86_64/multiarch/varshift.h: New file.
31459 * sysdeps/x86_64/multiarch/varshift.S: New file.
31460
84b9230c
MF
314612010-08-21 Mike Frysinger <vapier@gentoo.org>
31462
31463 * configure.in: Move assembler checks to before sysdep dir checking.
31464
9bbd0ddc
PB
314652010-08-20 Petr Baudis <pasky@suse.cz>
31466
31467 * LICENSES: Sync the sunrpc license.
31468
9da4bb31
UD
314692010-08-19 Ulrich Drepper <drepper@redhat.com>
31470
a7ab6ec8
UD
31471 * sunrpc/auth_des.c: Update copyright notice once again.
31472 * sunrpc/auth_none.c: Likewise.
31473 * sunrpc/auth_unix.c: Likewise.
31474 * sunrpc/authdes_prot.c: Likewise.
31475 * sunrpc/authuxprot.c: Likewise.
31476 * sunrpc/bindrsvprt.c: Likewise.
31477 * sunrpc/clnt_gen.c: Likewise.
31478 * sunrpc/clnt_perr.c: Likewise.
31479 * sunrpc/clnt_raw.c: Likewise.
31480 * sunrpc/clnt_simp.c: Likewise.
31481 * sunrpc/clnt_tcp.c: Likewise.
31482 * sunrpc/clnt_udp.c: Likewise.
31483 * sunrpc/clnt_unix.c: Likewise.
31484 * sunrpc/des_crypt.c: Likewise.
31485 * sunrpc/des_soft.c: Likewise.
31486 * sunrpc/get_myaddr.c: Likewise.
31487 * sunrpc/getrpcport.c: Likewise.
31488 * sunrpc/key_call.c: Likewise.
31489 * sunrpc/key_prot.c: Likewise.
31490 * sunrpc/openchild.c: Likewise.
31491 * sunrpc/pm_getmaps.c: Likewise.
31492 * sunrpc/pm_getport.c: Likewise.
31493 * sunrpc/pmap_clnt.c: Likewise.
31494 * sunrpc/pmap_prot.c: Likewise.
31495 * sunrpc/pmap_prot2.c: Likewise.
31496 * sunrpc/pmap_rmt.c: Likewise.
31497 * sunrpc/rpc/auth.h: Likewise.
31498 * sunrpc/rpc/auth_unix.h: Likewise.
31499 * sunrpc/rpc/clnt.h: Likewise.
31500 * sunrpc/rpc/des_crypt.h: Likewise.
31501 * sunrpc/rpc/key_prot.h: Likewise.
31502 * sunrpc/rpc/netdb.h: Likewise.
31503 * sunrpc/rpc/pmap_clnt.h: Likewise.
31504 * sunrpc/rpc/pmap_prot.h: Likewise.
31505 * sunrpc/rpc/pmap_rmt.h: Likewise.
31506 * sunrpc/rpc/rpc.h: Likewise.
31507 * sunrpc/rpc/rpc_des.h: Likewise.
31508 * sunrpc/rpc/rpc_msg.h: Likewise.
31509 * sunrpc/rpc/svc.h: Likewise.
31510 * sunrpc/rpc/svc_auth.h: Likewise.
31511 * sunrpc/rpc/types.h: Likewise.
31512 * sunrpc/rpc/xdr.h: Likewise.
31513 * sunrpc/rpc_clntout.c: Likewise.
31514 * sunrpc/rpc_cmsg.c: Likewise.
31515 * sunrpc/rpc_common.c: Likewise.
31516 * sunrpc/rpc_cout.c: Likewise.
31517 * sunrpc/rpc_dtable.c: Likewise.
31518 * sunrpc/rpc_hout.c: Likewise.
31519 * sunrpc/rpc_main.c: Likewise.
31520 * sunrpc/rpc_parse.c: Likewise.
31521 * sunrpc/rpc_parse.h: Likewise.
31522 * sunrpc/rpc_prot.c: Likewise.
31523 * sunrpc/rpc_sample.c: Likewise.
31524 * sunrpc/rpc_scan.c: Likewise.
31525 * sunrpc/rpc_scan.h: Likewise.
31526 * sunrpc/rpc_svcout.c: Likewise.
31527 * sunrpc/rpc_tblout.c: Likewise.
31528 * sunrpc/rpc_util.c: Likewise.
31529 * sunrpc/rpc_util.h: Likewise.
31530 * sunrpc/rpcinfo.c: Likewise.
31531 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31532 * sunrpc/rpcsvc/key_prot.x: Likewise.
31533 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31534 * sunrpc/rpcsvc/mount.x: Likewise.
31535 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31536 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31537 * sunrpc/rpcsvc/rex.x: Likewise.
31538 * sunrpc/rpcsvc/rstat.x: Likewise.
31539 * sunrpc/rpcsvc/rusers.x: Likewise.
31540 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31541 * sunrpc/rpcsvc/spray.x: Likewise.
31542 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31543 * sunrpc/rtime.c: Likewise.
31544 * sunrpc/svc.c: Likewise.
31545 * sunrpc/svc_auth.c: Likewise.
31546 * sunrpc/svc_authux.c: Likewise.
31547 * sunrpc/svc_raw.c: Likewise.
31548 * sunrpc/svc_run.c: Likewise.
31549 * sunrpc/svc_simple.c: Likewise.
31550 * sunrpc/svc_tcp.c: Likewise.
31551 * sunrpc/svc_udp.c: Likewise.
31552 * sunrpc/svc_unix.c: Likewise.
31553 * sunrpc/svcauth_des.c: Likewise.
31554 * sunrpc/xcrypt.c: Likewise.
31555 * sunrpc/xdr.c: Likewise.
31556 * sunrpc/xdr_array.c: Likewise.
31557 * sunrpc/xdr_float.c: Likewise.
31558 * sunrpc/xdr_mem.c: Likewise.
31559 * sunrpc/xdr_rec.c: Likewise.
31560 * sunrpc/xdr_ref.c: Likewise.
31561 * sunrpc/xdr_sizeof.c: Likewise.
31562 * sunrpc/xdr_stdio.c: Likewise.
31563
9da4bb31
UD
31564 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31565 handling.
31566
bdaa77bc
AS
315672010-08-19 Andreas Schwab <schwab@redhat.com>
31568
31569 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31570
fe2f79db
LM
315712010-08-19 Luis Machado <luisgpm@br.ibm.com>
31572
31573 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31574 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31575 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31576 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31577 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31578 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31579 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31580 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31581 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31582 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31583 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31584 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31585 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31586 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31587
b9b42ee0
AB
315882010-07-26 Anton Blanchard <anton@samba.org>
31589
31590 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31591 * malloc/arena.c (heap_trim): Likewise.
31592
1c06ba31
UD
315932010-08-16 Ulrich Drepper <drepper@redhat.com>
31594
31595 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31596 here. Not...
31597 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31598 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31599
f8392f40
L
316002010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31601
31602 * sysdeps/i386/elf/Makefile: New file.
31603
3162f12e
AS
316042010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31605
31606 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31607 from fanotify_init.
31608 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31609 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31610
28c90b2c
UD
316112010-08-15 Ulrich Drepper <drepper@redhat.com>
31612
31613 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31614 of strncasecmp_l.
1feccb6c 31615 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 31616
ca6bb004
UD
316172010-08-14 Ulrich Drepper <drepper@redhat.com>
31618
e9f82e0d
UD
31619 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31620 strncase_l-nonascii.
31621 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31622 Add strncase_l-ssse3.
31623 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31624 * sysdeps/x86_64/strcmp.S: Likewise.
31625 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31626 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31627 * sysdeps/x86_64/strncase.S: New file.
31628 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31629 * sysdeps/x86_64/strncase_l.S: New file.
31630 * string/Makefile (strop-tests): Add strncasecmp.
31631 * string/test-strncasecmp.c: New file.
31632
31633 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31634 warning.
31635
ca6bb004
UD
31636 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31637 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31638
052fa7b3
AS
316392010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31640
31641 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31642
962dba78
UD
316432010-08-12 Ulrich Drepper <drepper@redhat.com>
31644
31645 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31646 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31647 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31648
bebff237
AM
316492010-05-01 Alan Modra <amodra@gmail.com>
31650
31651 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31652 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31653 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31654 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31655 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31656 tidying. Don't tail-call __sigjmp_save for static lib.
31657 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31658 save location.
31659 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31660 (CALL_MCOUNT): Add eh info, and nop after bl.
31661 (TAIL_CALL_SYSCALL_ERROR): New macro.
31662 (PSEUDO_RET): Use it.
31663 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31664 Correct save location of integer regs and cr.
31665 (_dl_profile_resolve): Correct cr save location. Delete nops
31666 after bl when SHARED. Reduce cfi size a little by better
31667 placement of cfi directives.
31668 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31669 make a stack frame. Instead use parm save area as a temp.
31670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31671 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31673 Don't make a stack frame for parent, use parm save area.
31674 Increase child stack frame to 112 bytes. Don't save unused reg,
31675 and adjust reg usage. Set up cfi on error recovery and
31676 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31678 (__makecontext): Add dummy nop after jump to exit.
31679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31680 Use correct parm save area and cr save, reduce stack frame.
31681 Correct cfi for possible PSEUDO_RET frame setup.
31682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31683 Branch to local label emitted by PSEUDO_RET rather than
31684 __syscall_error.
31685
02637374
AS
316862010-08-12 Andreas Schwab <schwab@redhat.com>
31687
31688 [BZ #11904]
31689 * locale/programs/locale.c (print_assignment): New function.
31690 (show_locale_vars): Use it.
31691
c3e2f19b
UD
316922010-08-11 Ulrich Drepper <drepper@redhat.com>
31693
3cdaa6ad
UD
31694 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31695 field.
31696 (struct statfs64): Likewise.
31697 (_STATFS_F_FLAGS): Define.
31698 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31699 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31700 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31701 (ST_VALID): Define locally.
31702 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31703 __statvfs_getflags, use the provided value.
31704 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31705 __ASSUME_STATFS_F_FLAGS.
31706
754f7da3
UD
31707 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31708
10b3bedc
UD
31709 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31710 Add sys/fanotify.h.
31711 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31712 fanotify_mask for GLIBC_2.13.
31713 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31714 fanotify_init and fanotify_mark.
31715 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31716 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31717
c08fb0d7
UD
31718 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31719 Add prlimit.
31720 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31721 prlimit64 for GLIBC_2.13.
31722 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31723 prlimit64.
31724 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31725 syscall.
31726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31727 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31728 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31729 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31730 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31731 add prlimit alias.
31732 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31733
15bac72b
UD
31734 [BZ #11903]
31735 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31736 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31737
c3e2f19b
UD
31738 * nss/Makefile: Add rules to build and run tst-nss-test1.
31739 * shlib-versions: Add entry for libnss_test1.
31740 * nss/nss_test1.c: New file.
31741 * nss/tst-nss-test1.c: New file.
31742
31743 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31744 (__nss_configure_lookup): Set appropriate entry in
31745 __nss_configure_lookup to true.
31746 * nss/nsswitch.h: Define enum with indeces of databases in
31747 databases and __nss_database_custom arrays. Declare
31748 __nss_database_custom.
31749 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31750 to avoid using nscd when custom rules are installed.
31751 * nss/getXXbyYY_r.c: Likewise.
31752 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31753
31754 * nss/nss_files/files-parse.c: Whitespace fixes.
31755
f15ce4d8
UD
317562010-08-09 Ulrich Drepper <drepper@redhat.com>
31757
31758 [BZ #11883]
31759 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31760 * posix/fnmatch_loop.c: Likewise.
31761
d22e4cc9
AK
317622010-07-17 Andi Kleen <ak@linux.intel.com>
31763
31764 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31765 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31766 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31767 * Versions.def [GLIBC_2.13]: Add.
31768
805bc17d
UD
317692010-08-06 Ulrich Drepper <drepper@redhat.com>
31770
31771 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31772 Also fail if tpwd after pwuid call is NULL.
31773
5a42321d
ST
317742010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
31775
31776 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31777 when converting to ms.
31778
fd3ebeda
ST
317792010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31780
31781 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31782 EOPNOTSUPP errors with ENOTTY.
31783 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31784 EOPNOTSUPP errors with ENOTTY.
31785
73507d3a
UD
317862010-07-31 Ulrich Drepper <drepper@redhat.com>
31787
31788 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31789 Add strcasecmp_l-ssse3.
31790 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31791 strcasecmp.
31792 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31793 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31794 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31795
fe36dd02
UD
317962010-07-30 Ulrich Drepper <drepper@redhat.com>
31797
66f6765a
UD
31798 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31799
42e08a54
UD
31800 * string/Makefile (strop-tests): Add strcasecmp.
31801 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31802 strcasecmp_l-nonascii.
31803 (gen-as-const-headers): Add locale-defines.sym.
31804 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31805 * sysdeps/x86_64/strcasecmp.S: New file.
31806 * sysdeps/x86_64/strcasecmp_l.S: New file.
31807 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31808 * sysdeps/x86_64/locale-defines.sym: New file.
31809 * string/test-strcasecmp.c: New file.
31810
fe36dd02
UD
31811 * string/test-strcasestr.c: Test both ends of the range of characters.
31812 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31813
48cbc0d6
RM
318142010-07-29 Roland McGrath <roland@redhat.com>
31815
76e6d6bc 31816 [BZ #11856]
48cbc0d6
RM
31817 * manual/locale.texi (Yes-or-No Questions): Fix example code.
31818
880113d9
UD
318192010-07-27 Ulrich Drepper <drepper@redhat.com>
31820
31821 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31822 for ld.so.
31823
deb9cabb
AS
318242010-07-27 Andreas Schwab <schwab@redhat.com>
31825
31826 * manual/memory.texi (Malloc Tunable Parameters): Document
31827 M_PERTURB.
31828
1c7570ff
RM
318292010-07-26 Roland McGrath <roland@redhat.com>
31830
31831 [BZ #11840]
31832 * configure.in (-fgnu89-inline check): Set and substitute
31833 gnu89_inline, not libc_cv_gnu89_inline.
31834 * configure: Regenerated.
31835 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31836
24fb0f88
UD
318372010-07-26 Ulrich Drepper <drepper@redhat.com>
31838
31839 * string/test-strnlen.c: New file.
31840 * string/Makefile (strop-tests): Add strnlen.
31841 * string/tester.c (test_strnlen): Add a few more test cases.
31842 * string/tst-strlen.c: Better error reporting.
31843
31844 * sysdeps/x86_64/strnlen.S: New file.
31845
8e96b93a
UD
318462010-07-24 Ulrich Drepper <drepper@redhat.com>
31847
31848 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31849 lower-latency instructions.
31850
dbc676d4
UD
318512010-07-23 Ulrich Drepper <drepper@redhat.com>
31852
31853 * string/test-strcasestr.c: New file.
31854 * string/test-strstr.c: New file.
31855 * string/Makefile (strop-tests): Add strstr and strcasestr.
31856 * string/str-two-way.h: Don't undefine MAX.
31857 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31858
f6a31e0e
AS
318592010-07-21 Andreas Schwab <schwab@redhat.com>
31860
31861 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31862 strcasestr-nonascii.
31863 (CFLAGS-strcasestr-nonascii.c): Define.
31864 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31865 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31866 Remove unused attribute.
31867
5dbc3b6c
RM
318682010-07-20 Roland McGrath <roland@redhat.com>
31869
31870 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31871 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
31872 ld.so.cache was broken. With it, there is no way to disable dsocaps
31873 like LD_HWCAP_MASK can disable hwcaps.
31874
23d101d8
EPM
318752010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31876
31877 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31878
cc9f2e47
UD
318792010-07-16 Ulrich Drepper <drepper@redhat.com>
31880
31881 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31882 call in strcasestr.
31883 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31884 __strcasestr_sse42_nonascii.
31885 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31886 strcasestr-nonascii.c.
31887 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31888
77c1b069
LM
318892010-06-15 Luis Machado <luisgpm@br.ibm.com>
31890
31891 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31892 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31893 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31894 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31895
440566c3
UD
318962010-07-09 Ulrich Drepper <drepper@redhat.com>
31897
31898 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31899 fcntl.
31900
5be9d05d
AS
319012010-07-06 Andreas Schwab <schwab@redhat.com>
31902
c30b7ee2 31903 [BZ #11577]
5be9d05d
AS
31904 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31905 dl_signal_cerror.
31906
8a492a67
UD
319072010-07-06 Ulrich Drepper <drepper@redhat.com>
31908
31909 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31910 _PC_PIPE_BUF using F_GETPIPE_SZ.
31911
713df3d5
RM
319122010-07-05 Roland McGrath <roland@redhat.com>
31913
31914 * manual/arith.texi (Rounding Functions): Fix rint description
31915 implicit in round description.
31916
702e8f14
UD
319172010-07-02 Ulrich Drepper <drepper@redhat.com>
31918
31919 * elf/Makefile: Fix linking for a few tests to make recent linker
31920 happy.
31921
52ed8be9
AS
319222010-06-30 Andreas Schwab <schwab@redhat.com>
31923
31924 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31925 $(common-objpfx)libc_nonshared.a.
31926
f47c9a11
LM
319272010-06-21 Luis Machado <luisgpm@br.ibm.com>
31928
31929 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31930 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31931 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31932 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31933 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31934 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31935 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31936 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31951 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31952 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31953 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31954 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31955 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31956 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31957 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31958 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31959 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31960 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31961 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31962 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31977
6fb8cbcb
L
319782010-06-25 H.J. Lu <hongjiu.lu@intel.com>
31979
31980 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31981 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
31982 * string/memmove.c (memmove): Renamed to ...
31983 (MEMMOVE): ...this. Default to memmove.
31984 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31985 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31986 (END_CHK): Define.
31987 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31988 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31989 mempcpy-ssse3-back memmove-ssse3-back.
31990 * sysdeps/x86_64/multiarch/bcopy.S: New file .
31991 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31992 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31993 * sysdeps/x86_64/multiarch/memcpy.S: New file.
31994 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31995 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31996 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31997 * sysdeps/x86_64/multiarch/memmove.c: New file.
31998 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31999 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32000 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32001 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32002 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32003 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32004 Define.
32005 (index_Fast_Copy_Backward): Define.
32006 (HAS_ARCH_FEATURE): Define.
32007 (HAS_FAST_REP_STRING): Define.
32008 (HAS_FAST_COPY_BACKWARD): Define.
32009
4e733bac 320102010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
32011
32012 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32013 Restore proper fallback handling.
32014
63c4ed22
UD
320152010-06-19 Ulrich Drepper <drepper@redhat.com>
32016
ac2b484c
UD
32017 [BZ #11701]
32018 * posix/group_member.c (__group_member): Correct checking loop.
32019
63c4ed22
UD
32020 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32021 OOM in getpwuid_r correctly. Return error number when the caller
32022 should return, otherwise -1.
32023 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32024 call returning > 0 value.
32025 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32026
765ade4b
AS
320272010-06-07 Andreas Schwab <schwab@redhat.com>
32028
32029 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32030 libc_nonshared.a from targets in modules-names.
32031
80da2e09
KS
320322010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32033
32034 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32035 requires it.
32036
158db122
LM
320372010-06-10 Luis Machado <luisgpm@br.ibm.com>
32038
32039 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32040 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32041 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32042 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32043
caa78cf8
AS
320442010-06-02 Andreas Schwab <schwab@redhat.com>
32045
32046 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32047
b2ef2c01
UD
320482010-06-14 Ulrich Drepper <drepper@redhat.com>
32049
32050 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32051 and F_GETPIPE_SZ.
32052 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32053 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32054 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32055 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32056 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32057 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32058
fbd643b6
RM
320592010-06-14 Roland McGrath <roland@redhat.com>
32060
32061 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32062
f32f2869
JJ
320632010-06-07 Jakub Jelinek <jakub@redhat.com>
32064
32065 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32066 __REDIRECT followed by __THROW.
32067 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32068 * posix/getopt.h (getopt): Likewise.
32069
2a50c078
EPM
320702010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32071
32072 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32073 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32074 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32075 in AT_FLAGS.
32076 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32077 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32078
eb5ad2eb
LM
320792010-05-28 Luis Machado <luisgpm@br.ibm.com>
32080
32081 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32082
3c88fe1e
L
320832010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32084
32085 [BZ #11640]
32086 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32087 Properly check family and model.
32088
d2f73151
TY
320892010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32090
32091 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32092
ebd2e13d
LM
320932010-05-24 Luis Machado <luisgpm@br.ibm.com>
32094
32095 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32096
b32b8b45
UD
320972010-05-21 Ulrich Drepper <drepper@redhat.com>
32098
32099 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32100 symbol reference.
32101
9acbe24d
AS
321022010-05-19 Andreas Schwab <schwab@redhat.com>
32103
32104 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32105 symbol reference.
32106
f0ccf6ea
AS
321072010-05-21 Andreas Schwab <schwab@redhat.com>
32108
3d04ff3a
AS
32109 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32110 and internal_recvmmsg.
32111 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32112 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32113 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32114 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32115
f0ccf6ea
AS
32116 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32117 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32118 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32119
5b08ac57
AS
321202010-05-20 Andreas Schwab <schwab@redhat.com>
32121
32122 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32123
4828935d
LM
321242010-05-17 Luis Machado <luisgpm@br.ibm.com>
32125
32126 POWER7 optimizations.
32127 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32128 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32129
373d545e
UD
321302010-05-19 Ulrich Drepper <drepper@redhat.com>
32131
32132 * version.h: Update for 2.13 development version.
32133
21a2b1ae
AS
321342010-05-12 Andrew Stubbs <ams@codesourcery.com>
32135
32136 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32137 exceptions. Return 0.
32138
3f7dcb2b
RM
321392010-05-07 Roland McGrath <roland@redhat.com>
32140
32141 * elf/ldconfig.c (main): Add a const.
32142
5f24d53a 321432010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 32144
a160f8d8
UD
32145 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32146 (args_options): Add no-idn option.
32147 (ahosts_keys_int): Add idn_flags to ai_flags.
32148 (parse_option): Handle 'i' option to clear idn_flags.
32149
5f24d53a
UD
32150 * malloc/malloc.c (_int_free): Possible race in the most recently
32151 added check. Only act on the data if no current modification
32152 happened.
265bb1ce
UD
32153
32154See ChangeLog.17 for earlier changes.