]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix O_RSYNC
[thirdparty/glibc.git] / ChangeLog
CommitLineData
b4b4c296
AJ
12012-10-22 Andreas Jaeger <aj@suse.de>
2
3 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
4 __O_RSYNC if it exists, otherwise to O_SYNC.
5
6fb54a22
JB
62012-10-22 Jim Blandy <jimb@codesourcery.com>
7 Joseph Myers <joseph@codesourcery.com>
8
9 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
10 /dev/null.
11 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12 from /dev/null
13 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14 /dev/null.
15
481b90b9
AJ
162012-10-22 Andreas Jaeger <aj@suse.de>
17
2a0e2669
AJ
18 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
19 Define always.
20 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
21
76e38f9a
AJ
22 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23 bits/fcntl-linux.h.
24
7cd37b43
AJ
25 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27
481b90b9
AJ
28 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29 to __O_LARGEFILE.
30 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
31 to __O_LARGEFILE.
32
aba75984
JB
332012-10-21 Jim Blandy <jimb@codesourcery.com>
34 Joseph Myers <joseph@codesourcery.com>
35
36 * config.make.in (NM): New variable.
37
88d4247f
AJ
382012-10-21 Andreas Jaeger <aj@suse.de>
39
40 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
41 definitions and declarations that are provided by
42 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43
f2eed205
L
442012-10-20 H.J. Lu <hongjiu.lu@intel.com>
45
46 [BZ #14683]
47 * elf/Makefile (tests-static): Add tst-leaks1-static.
48 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
49 ($(objpfx)tst-leaks1-static): New rule.
50 ($(objpfx)tst-leaks1-static-mem): Likewise.
51 (tst-leaks1-static-ENV): New macro.
52 * elf/dl-open.c (dl_open_worker): Check the main application
53 only if SHARED is defined.
54 * elf/tst-leaks1-static.c: New file.
55
335e6931
AJ
562012-10-20 Andreas Jaeger <aj@suse.de>
57
58 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
59 generic values for Linux.
60 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
61 and declarations that are provided by <bits/fcntl-linux.h> and
62 include <bits/fcntl-linux.h>.
63 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65
ac5c94d3
RM
662012-10-20 Roland McGrath <roland@hack.frob.com>
67
68 * io/fcntl.h: Move include of <bits/types.h> to the top and
69 include it unconditionally.
70
de54b33a
L
712012-10-20 H.J. Lu <hongjiu.lu@intel.com>
72
228cfb01
L
73 * wcsmbs/Makefile (tests-ifunc): New variable.
74 (tests): Add $(tests-ifunc).
75 * wcsmbs/test-wcschr-ifunc.c: New file.
76 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
77 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
78 * wcsmbs/test-wcslen-ifunc.c: Likewise.
79 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
80 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
81
69f07e5f
L
82 * string/Makefile (tests-ifunc): New variable.
83 (tests): Add $(tests-ifunc).
84 * string/test-memccpy.c (TEST_NAME): New macro.
85 * string/test-memchr.c (TEST_NAME): Likewise.
86 * string/test-memcmp.c (TEST_NAME): Likewise.
87 * string/test-memcpy.c (TEST_NAME): Likewise.
88 * string/test-memmem.c (TEST_NAME): Likewise.
89 * string/test-memmove.c (TEST_NAME): Likewise.
90 * string/test-memset.c (TEST_NAME): Likewise.
91 * string/test-rawmemchr.c (TEST_NAME): Likewise.
92 * string/test-stpcpy.c (TEST_NAME): Likewise.
93 * string/test-stpncpy.c (TEST_NAME): Likewise.
94 * string/test-strcasecmp.c (TEST_NAME): Likewise.
95 * string/test-strcasestr.c (TEST_NAME): Likewise.
96 * string/test-strcat.c (TEST_NAME): Likewise.
97 * string/test-strchr.c (TEST_NAME): Likewise.
98 * string/test-strcmp.c(TEST_NAME): Likewise.
99 * string/test-strcpy.c (TEST_NAME): Likewise.
100 * string/test-strcspn.c (TEST_NAME): Likewise.
101 * string/test-strlen.c (TEST_NAME): Likewise.
102 * string/test-strncasecmp.c (TEST_NAME): Likewise.
103 * string/test-strncmp.c (TEST_NAME): Likewise.
104 * string/test-strncpy.c (TEST_NAME): Likewise.
105 * string/test-strnlen.c (TEST_NAME): Likewise.
106 * string/test-strpbrk.c (TEST_NAME): Likewise.
107 * string/test-strrchr.c (TEST_NAME): Likewise.
108 * string/test-strspn.c (TEST_NAME): Likewise.
109 * string/test-strstr.c (TEST_NAME): Likewise.
110 * string/test-bcopy-ifunc.c: New file.
111 * string/test-bzero-ifunc.c: Likewise.
112 * string/test-memccpy-ifunc.c: Likewise.
113 * string/test-memchr-ifunc.c: Likewise.
114 * string/test-memcmp-ifunc.c: Likewise.
115 * string/test-memcpy-ifunc.c: Likewise.
116 * string/test-memmem-ifunc.c: Likewise.
117 * string/test-memmove-ifunc.c: Likewise.
118 * string/test-mempcpy-ifunc.c: Likewise.
119 * string/test-memset-ifunc.c: Likewise.
120 * string/test-rawmemchr-ifunc.c: Likewise.
121 * string/test-stpcpy-ifunc.c: Likewise.
122 * string/test-stpncpy-ifunc.c: Likewise.
123 * string/test-strcasecmp-ifunc.c: Likewise.
124 * string/test-strcasestr-ifunc.c: Likewise.
125 * string/test-strcat-ifunc.c: Likewise.
126 * string/test-strchr-ifunc.c: Likewise.
127 * string/test-strchrnul-ifunc.c: Likewise.
128 * string/test-strcmp-ifunc.c: Likewise.
129 * string/test-strcpy-ifunc.c: Likewise.
130 * string/test-strcspn-ifunc.c: Likewise.
131 * string/test-strlen-ifunc.c: Likewise.
132 * string/test-strncasecmp-ifunc.c: Likewise.
133 * string/test-strncat-ifunc.c: Likewise.
134 * string/test-strncmp-ifunc.c: Likewise.
135 * string/test-strncpy-ifunc.c: Likewise.
136 * string/test-strnlen-ifunc.c: Likewise.
137 * string/test-strpbrk-ifunc.c: Likewise.
138 * string/test-strrchr-ifunc.c: Likewise.
139 * string/test-strspn-ifunc.c: Likewise.
140 * string/test-strstr-ifunc.c: Likewise.
141
de54b33a
L
142 * debug/Makefile (tests-ifunc): New variable.
143 (tests): Add $(tests-ifunc).
144 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
145 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
146 * debug/test-stpcpy_chk-ifunc.c: New file.
147 * debug/test-strcpy_chk-ifunc.c: Likewise.
148
88481c16
SP
1492012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
150
151 [BZ #13601]
152 * elf/dl-load.c (open_verify): Retry read if the entire ELF
153 header is not read in.
154
135948bd
JM
1552012-10-19 Joseph Myers <joseph@codesourcery.com>
156
89f1c388
JM
157 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
158 script to $(SHELL) as $<. Pass $(common-objpfx) to script
159 directly. Pass built executable to script as
160 $(built-program-cmd).
161 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
162 $testprogram without using LD_LIBRARY_PATH and $ldso.
163
e40a0d21
JM
164 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
165 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
166 $(rtld-installed-name).
167 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
168 (rtld_installed_name): Likewise.
169 (library_path): Likewise.
170 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
171 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
172 $(run-program-prefix) to tst-tables.sh.
173 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
174 it to run tst-table-from and tst-table-to.
175 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
176 Pass it to tst-table.sh.
177 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
178 $(run-program-prefix) to tst-gettext.sh.
179 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
180 tst-translit.sh.
181 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
182 tst-gettext2.sh.
183 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
184 to run tst-gettext.
185 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
186 to run tst-gettext2.
187 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
188 to run tst-translit.
189 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
190 $(run-program-prefix) to tst-mtrace.sh.
191 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
192 to run tst-mtrace.
193 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
194 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
195 $(rtld-installed-name).
196 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
197 (rtld_installed_name): Likewise.
198 (run_program_prefix): New variable. Use it to run wordexp-test.
199
728e272a
JM
200 * Makeconfig (ARCH): Remove all definitions.
201 (machine): Likewise.
202 [ARCH]: Remove conditional code.
203 [!objdir]: Give error.
204 [!objdir] (objpfx): Remove.
205 [!objdir] (common-objpfx): Likewise.
206 [!objdir] (common-objdir): Likewise.
207 * configure.in (config_makefile): Remove. Hardcode Makefile in
208 AC_CONFIG_FILES call.
209 * configure: Regenerated.
210
d528cdcf
JM
211 [BZ #13888]
212 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
213 or TMPDIR.
214 (testout): Likewise.
215
135948bd
JM
216 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
217 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
218 $(rtld-installed-name).
219 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
220 (rtld_installed_name): Likwise.
221 (runit): Remove function.
222 (run_getconf): New variable, Use it for running getconf binary.
223
38c78296
L
2242012-10-18 H.J. Lu <hongjiu.lu@intel.com>
225
226 [BZ #14716]
227 * string/test-memmem.c (check_result): New function.
228 (do_one_test): Use it.
229 (check1): New function.
230 (test_main): Use it.
231
d077f65f
MT
2322012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
233
234 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
235
ced52c71
JM
2362012-10-18 Joseph Myers <joseph@codesourcery.com>
237
238 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
239 (_G_LSEEK64): Likewise.
240 (_G_MMAP64): Likewise.
241 (_G_FSTAT64): Likewise.
242 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
243 (_G_LSEEK64): Likewise.
244 (_G_MMAP64): Likewise.
245 (_G_FSTAT64): Likewise.
246 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
247 unconditional. Call __mmap64 directly.
248 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
249 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
250 __lseek64 directly.
251 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
252 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
253 __mmap64 directly.
254 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
255 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
256 __lseek64 directly.
257 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
258 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
259 __lseek64 directly.
260 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
261 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
262 __lseek64 directly.
263 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
264 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
265 __fxstat64 directly.
266 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
267 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
268 unconditional.
269 (freopen64) [!_G_OPEN64]: Remove conditional code.
270 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
271 unconditional.
272 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
273 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
274 unconditional.
275 (ftello64) [!_G_LSEEK64]: Remove conditional code.
276 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
277 unconditional.
278 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
279 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
280 unconditional.
281 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
282 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
283 unconditional.
284 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
285 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
286 unconditional.
287 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
288 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
289 unconditional.
290 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
291
b741de23
SP
2922012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
293
294 [BZ #12140]
295 * manual/memory.texi (Malloc Tunable Parameters): Add note
296 about free list pointers overwriting some perturb bytes.
297 Wording suggested by Roland McGrath.
298
f9b9d9c9
JM
2992012-10-17 Joseph Myers <joseph@codesourcery.com>
300
301 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
302 (lgamma_test): Likewise.
303 (tgamma_test): Likewise.
304
172a631a
FW
3052012-10-16 Florian Weimer <fweimer@redhat.com>
306
307 [BZ #14700]
308 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
309 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
310
e9f37252
MK
3112012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
312
313 * NEWS: Mention BZ #14716.
314 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
315 when removing AVAILABLE1_USES_J macro.
316
d394eb74
L
3172012-10-12 H.J. Lu <hongjiu.lu@intel.com>
318
319 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
320 (__bswap_64): __uint64_t for unsigned 64-bit int.
321
ca38dc17
AS
3222012-10-12 Andreas Schwab <schwab@linux-m68k.org>
323
324 * include/string.h (memmem): Declare libc hidden alias.
325 * string/memmem.c (memmem): Define libc hidden alias.
326 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
327 __read, __close instead of open, read, close.
328
9a387d1f
L
3292012-10-11 H.J. Lu <hongjiu.lu@intel.com>
330
ac49ecaf
L
331 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
332 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
333 global and hidden.
334 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
335 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
336 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
337 Likewise.
338 (__rawmemchr_sse2): Likewise.
339 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
340 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
341 (__strchr_sse2): Likewise.
342 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
343 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
344 (__strcasecmp_sse2): Likewise.
345 (__strncasecmp_sse2): Likewise.
346 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
347 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
348 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
349 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
350 (__strrchr_sse2): Likewise.
351 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
352 ifunc-impl-list.c.
353 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
354 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
355 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
356 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
357 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
358 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
359 * sysdeps/x86_64/multiarch/memset.S: Likewise.
360 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
361 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
362 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
363 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
364 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
365 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
366 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
367 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
368 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
369 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
370 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
371 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
372 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
373 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
374 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
375 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
376 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
377 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
378 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
379 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
380 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
381 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
382 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
383
b090e8ea
L
384 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
385 global and hidden.
386 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
387 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
388 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
389 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
390 Likewise.
391 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
392 Likewise.
393 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
394 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
395 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
396 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
397 ifunc-impl-list.c.
398 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
399 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
400 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
401 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
402 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
403 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
404 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
405 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
406 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
407 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
408 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
409 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
410 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
411 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
412 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
413 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
414 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
415 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
416 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
417 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
418 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
419 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
420 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
421 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
422 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
423 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
424 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
425 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
426 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
427 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
428 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
429 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
430 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
431 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
432 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
433 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
434 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
435 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
436 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
437 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
438 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
439
11dd4af6
L
440 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
441 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
442 * include/ifunc-impl-list.h: New file.
443 * misc/ifunc-impl-list.c: Likewise.
444 * misc/Makefile (routines): Add ifunc-impl-list.
445 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
446 * string/test-string.h: Include <ifunc-impl-list.h>.
447 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
448 impl_array): New variables.
449 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
450 are defined.
451 (test_init): Call __libc_ifunc_impl_list to initialize
452 func_list if TEST_IFUNC and TEST_NAME are defined.
453
9a387d1f
L
454 * string/Makefile (strop-tests): Add bcopy and bzero.
455 * string/test-bcopy.c: New file.
456 * string/test-bzero.c: Likewise.
457 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
458 defined.
459 * string/test-memset.c: Support bzero test if TEST_BZERO is
460 defined.
461 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
462 __libc_memmove.
463 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
464 __libc_memset.
465 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
466 of memset.
467
472371b9
JM
4682012-10-10 Joseph Myers <joseph@codesourcery.com>
469
1e4a9536
JM
470 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
471 * configure: Regenerated.
472
d173d12e
JM
473 * Makeconfig (+link-static-before-libc): Don't include
474 $(link-static-libc).
475
472371b9
JM
476 * libio/libio.h (_IO_pos_t): Remove.
477
89a3ad0b
AO
4782012-10-10 Alexandre Oliva <aoliva@redhat.com>
479
480 * NEWS: Add note about FIPS mode. Wording suggested by Roland
481 McGrath.
482
e7451425
AO
4832012-10-10 Alexandre Oliva <aoliva@redhat.com>
484
485 * crypt/crypt-entry.c: Include fips-private.h.
486 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
487 * crypt/md5c-test.c (main): Tolerate disabled MD5.
488 * sysdeps/unix/sysv/linux/fips-private.h: New file.
489 * sysdeps/generic/fips-private.h: New file, dummy fallback.
490
4ba74a35
AO
4912012-10-10 Alexandre Oliva <aoliva@redhat.com>
492
493 * crypt/crypt-private.h: Include stdbool.h.
494 (_ufc_setup_salt_r): Return bool.
495 * crypt/crypt-entry.c: Include errno.h.
496 (__crypt_r): Return NULL with EINVAL for bad salt.
497 * crypt/crypt_util.c (bad_for_salt): New.
498 (_ufc_setup_salt_r): Check that salt is long enough and within
499 the specified alphabet.
500 * crypt/badsalttest.c: New file.
501 * crypt/Makefile (tests): Add it.
502 ($(objpfx)badsalttest): New.
503
f96f1242
MK
5042012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
505
506 * NEWS: Add entry for BZ #14602.
507
0e8e0c1c
JM
5082012-10-09 Joseph Myers <joseph@codesourcery.com>
509
510 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
511 type-generic.
512 * math/libm-test.inc: Update comment listing what functions and
513 macros are tested.
514 (isgreater_test): New function.
515 (isgreaterequal_test): Likewise.
516 (isless_test): Likewise.
517 (islessequal_test): Likewise.
518 (islessgreater_test): Likewise.
519 (isunordered_test): Likewise.
520 (main): Call the new functions.
521
273edc5e
RM
5222012-10-09 Roland McGrath <roland@hack.frob.com>
523
b8493de0
RM
524 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
525 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
526 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
527 * sysdeps/i386/configure: Regenerated.
528 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
529 * sysdeps/mach/configure: Regenerated.
530 * sysdeps/mach/hurd/configure: Regenerated.
531 * sysdeps/powerpc/configure: Regenerated.
532 * sysdeps/powerpc/powerpc32/configure: Regenerated.
533 * sysdeps/powerpc/powerpc64/configure: Regenerated.
534 * sysdeps/s390/s390-32/configure: Regenerated.
535 * sysdeps/s390/s390-64/configure: Regenerated.
536 * sysdeps/sh/configure: Regenerated.
537 * sysdeps/sparc/configure: Regenerated.
538 * sysdeps/unix/sysv/linux/configure: Regenerated.
539 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
540 * sysdeps/x86_64/configure: Regenerated.
541
273edc5e
RM
542 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
543 defined. Don't check if MAP is NULL.
544
c8450f70
JM
5452012-10-09 Joseph Myers <joseph@codesourcery.com>
546
547 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
548 (_G_stat64): Likewise.
549 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
550 (_G_stat64): Likewise.
551 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
552 instead of struct _G_stat64.
553 * libio/fileops.c (mmap_remap_check): Likewise.
554 (decide_maybe_mmap): Likewise.
555 (_IO_new_file_seekoff): Likewise.
556 (_IO_file_stat): Likewise.
557 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
558 _G_off64_t.
559 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
560 instead of struct _G_stat64.
561 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
562
57e605ba
MK
5632012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
564
565 [BZ #14602]
566 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
567 Replace with ...
568 (CHECK_EOL): New macro.
569 (two_way_short_needle): Check beginning of haystack for EOL. Use
570 CHECK_EOL.
571 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
572 Replace with CHECK_EOL.
573 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
574 Replace with CHECK_EOL.
575
ef1bb361
JM
5762012-10-08 Joseph Myers <joseph@codesourcery.com>
577
578 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
579 type-generic.
580 * math/libm-test.inc: Update comment listing what functions and
581 macros are tested.
582 (finite_test): New function.
583 (isinf_test): Likewise.
584 (isnan_test): Likewise.
585 (fpclassify_test): Test subnormal input.
586 (isfinite_test): Likewise.
587 (isnormal_test): Likewise.
588 (main): Call the new functions.
589
55f11534
JN
5902012-10-08 Jonathan Nieder <jrnieder@gmail.com>
591
592 [BZ #14660]
593 * Makerules (%.dynsym): Force C locale when running
594 $(OBJDUMP) --dynamic-syms.
595
1ab29350
AS
5962012-10-08 Andreas Schwab <schwab@linux-m68k.org>
597
598 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
599 <stdint.h>.
600
f1ecb7ef
DM
6012012-10-06 David S. Miller <davem@davemloft.net>
602
603 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
604 upper 32-bits of the length value in %o2 since we use branch-on-register
605 tests which consider the entire 64-bit register.
606
5d41d91a
L
6072012-10-06 H.J. Lu <hongjiu.lu@intel.com>
608
609 * string/test-strstr.c (check2): Add a test for page boundary.
610
3baddb72
DM
6112012-10-05 David S. Miller <davem@davemloft.net>
612
613 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
614 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
615 file.
616 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
617 sysdep_routines.
618 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
619 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
620 and bzero when HWCAP_SPARC_CRYPTO is present.
621
9cee5585
L
6222012-10-05 H.J. Lu <hongjiu.lu@intel.com>
623
d7e0dab9
L
624 [BZ #14602]
625 * string/test-strstr.c (check2): New function.
626 (test_main): Call check2.
627
03759f47
L
628 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
629 and bug-strchr1.
630 * string/bug-strcasestr1.c (do_test): Moved to ...
631 * string/test-strcasestr.c (check1): Here. New function.
632 (do_one_test): Break out result checking code into ...
633 (check_result): This. New function.
634 (do_one_test): Call check_result.
635 (test_main): Call check1.
636 * string/bug-strchr1.c (do_test): Moved to ...
637 * string/test-strchr.c (check1): Here. New function.
638 (do_one_test): Break out result checking code into ...
639 (check_result): This. New function.
640 (do_one_test): Call check_result.
641 (test_main): Call check1.
642 * string/bug-strstr1.c (main): Moved to ...
643 * string/test-strchr.c (check1): Here. New function.
644 (do_one_test): Break out result checking code into ...
645 (check_result): This. New function.
646 (do_one_test): Call check_result.
647 (test_main): Call check1.
648 * string/bug-strcasestr1.c: Removed.
649 * string/bug-strchr1.c: Likewise.
650 * string/bug-strstr1.c: Likewise.
651
53cea63e
L
652 * elf/Makefile (dl-routines): Add hwcaps.
653 * elf/dl-support.c (_dl_important_hwcaps): Removed.
654 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
655 (_dl_important_hwcaps): Moved to ...
656 * elf/dl-hwcaps.c: Here. New file.
657 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
658
9cee5585 659 [BZ #14557]
bb859b06
L
660 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
661 if IS_IN_rtld isn't defined.
662
9cee5585
L
663 * elf/dl-support.c (_dl_sysinfo_map): New.
664 Include "get-dynamic-info.h" and "setup-vdso.h".
665 (_dl_non_dynamic_init): Call setup_vdso.
666 * elf/dynamic-link.h: Don't include <assert.h>.
667 (elf_get_dynamic_info): Moved to ...
668 * elf/get-dynamic-info.h: Here. New file.
669 * elf/dynamic-link.h: Include "get-dynamic-info.h".
670 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
671 * elf/setup-vdso.h: Here. New file.
672 * elf/rtld.c: Include "setup-vdso.h".
673 (dl_main): Call setup_vdso.
674
23c31b76
JM
6752012-10-05 Joseph Myers <joseph@codesourcery.com>
676
28234b07
JM
677 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
678 creal in comment listing functions tested. List finite, isinf,
679 isnan, isless, islessequal, isgreater, isgreaterequal,
680 islessgreater, isunordered, lgamma_r and pow10 as functions and
681 macros not tested. Mention which functions not tested are aliases
682 for other functions. Fix typo. Note that signs of NaNs are not
683 tested.
684
23c31b76
JM
685 * scripts/config.guess: Update from config.git.
686 * scripts/config.sub: Likewise.
687
9043e228
RM
6882012-10-04 Roland McGrath <roland@hack.frob.com>
689
690 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
691 * misc/madvise.c (madvise): Renamed to __madvise.
692 Make madvise a weak alias.
693 * include/sys/mman.h: Declare __madvise.
694 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
695 * sysdeps/unix/syscalls.list
696 (madvise): Make __madvise the strong name, and madvise a weak alias.
697 * sysdeps/unix/sysv/linux/syscalls.list
698 (madvise, mmap): Remove redundant entries.
699 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
700 * malloc/malloc.c (mtrim): Likewise.
701 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
702
f57f8055
RM
7032012-10-03 Roland McGrath <roland@hack.frob.com>
704
705 * sysdeps/mach/hurd/dl-cache.c: File removed.
706 * config.h.in (USE_LDCONFIG): New #undef.
707 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
708 * configure: Regenerated.
709 * elf/Makefile (dl-routines): Add dl-cache only under
710 [$(use-ldconfig) = yes].
711 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
712 cache on [USE_LDCONFIG].
713 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
714 [USE_LDCONFIG].
715 * elf/rtld.c (dl_main): Likewise.
716
5bb0c10a
PT
7172012-10-03 Pino Toscano <toscano.pino@tiscali.it>
718
719 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
720 _SC_LEVEL4_CACHE_LINESIZE.
721
010188c6
RM
7222012-10-03 Roland McGrath <roland@hack.frob.com>
723
724 * sysdeps/unix/bsd/confstr.h: File removed.
725
b6c5ec07
AO
7262012-10-02 Alexandre Oliva <aoliva@redhat.com>
727
728 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
729 sys/sdt-config.h.
730
408223d4
RM
7312012-10-02 Roland McGrath <roland@hack.frob.com>
732
733 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
734 Make 'mapoff' field ElfW(Off) rather than off_t.
735
bb9510dc
DL
7362012-10-02 Dmitry V. Levin <ldv@altlinux.org>
737
fc997c6e
DL
738 * nscd/Makefile: Remove nscd-cflags and all its users.
739 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
740 (CFLAGS-nonlib): Add compiler flags for nscd modules.
741
bb9510dc
DL
742 [BZ #10631]
743 * malloc.c (malloc_printerr): Clarify error message.
744
05699367
L
7452012-10-02 H.J. Lu <hongjiu.lu@intel.com>
746
747 [BZ #14648]
748 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
749 Set bit_FMA_Usable if FMA is supported.
750 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
751 macro.
752 (bit_FMA4_Usable): Updated.
753 (index_FMA_Usable): New macro.
754 (CPUID_FMA): Likewise
755 (HAS_FMA): Defined with bit_FMA_Usable.
756
51367701
RM
7572012-10-01 Roland McGrath <roland@hack.frob.com>
758
759 * bits/types.h (__swblk_t): Type removed.
760 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
761 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
762 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
763 (__SWBLK_T_TYPE): Likewise.
764 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
765 (__SWBLK_T_TYPE): Likewise.
766 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
767 (__SWBLK_T_TYPE): Likewise.
768 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
769 (__SWBLK_T_TYPE): Likewise.
770
4d57bf63
JL
7712012-10-01 Patsy Franklin <pfrankli@redhat.com>
772 Honza Horak <hhorak@redhat.com>
773
774 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
775 (xdr_mapname): Use YPMAXMAP as maxsize.
776 (xdr_peername): Use YPMAXPEER as maxsize.
777 (xdr_keydat): Use YPAXRECORD as maxsize.
778 (xdr_valdat): Use YPMAXRECORD as maxsize.
779
93c65d43
RM
7802012-10-01 Roland McGrath <roland@hack.frob.com>
781
497a03d6
RM
782 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
783
93c65d43
RM
784 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
785 * csu/init-first.c: ... here.
786 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
787 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
788 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
789 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
790 * sysdeps/i386/init-first.c: File removed.
791 * sysdeps/sh/init-first.c: File removed.
792
bec749fd
JM
7932012-10-01 Joseph Myers <joseph@codesourcery.com>
794
795 [BZ #14645]
796 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
797 if x * y might underflow to zero and z is zero.
798 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
799 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
800 * math/libm-test.inc (min_subnorm_value): New variable.
801 (fma_test): Add more tests.
802 (fma_test_towardzero): Likewise.
803 (fma_test_downward): Likewise
804 (fma_test_upward): Likewise.
805 (initialize): Set min_subnorm_value.
806
8ec5b013
JM
8072012-09-29 Joseph Myers <joseph@codesourcery.com>
808
809 [BZ #14638]
810 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
811 0 + 0.
812 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
813 mode for addition resulting in exact zero.
814 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
815 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
816 exact 0 + 0.
817 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
818 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
819 * math/libm-test.inc (fma_test): Add more tests.
820 (fma_test_towardzero): New function.
821 (fma_test_downward): Likewise.
822 (fma_test_upward): Likewise.
823 (main): Call the new functions.
824
b1fa802e
DM
8252012-09-28 David S. Miller <davem@davemloft.net>
826
827 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
828
d3b9fd9e
RM
8292012-09-28 Roland McGrath <roland@hack.frob.com>
830
ea4d37b3
RM
831 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
832 instead of SIGALRM.
833
ac51c949
RM
834 * sysdeps/gnu/_G_config.h: Moved to ...
835 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
836 * sysdeps/mach/hurd/_G_config.h: Moved to ...
837 * sysdeps/generic/_G_config.h: ... here.
838
28c195f7
RM
839 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
840
848917f9
RM
841 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
842
6bacf05b
RM
843 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
844 Conditionalize target on [libnss_test1.so-version].
845
91363dbb
RM
846 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
847
cc87f7d8
RM
848 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
849 (elfobjdir): Move out of conditionals.
850
b1c608fe
RM
851 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
852 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
853 (__nss_lookup_function): Conditionalize label remove_from_tree on
854 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 855
1d9a6d96
DM
8562012-09-28 David S. Miller <davem@davemloft.net>
857
858 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
859 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
860 file.
861 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
862 sysdep_routines.
863 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
864 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
865 when HWCAP_SPARC_CRYPTO is present.
866
72581615
PT
8672012-09-28 Pino Toscano <toscano.pino@tiscali.it>
868
869 * io/tst-mknodat.c: Create a FIFO instead of a socket.
870
715a900c
JL
8712012-09-28 Andreas Schwab <schwab@linux-m68k.org>
872
873 [BZ #6530]
874 * stdio-common/vfprintf.c (process_string_arg): Revert
875 2000-07-22 change.
876
8772011-09-28 Jonathan Nieder <jrnieder@gmail.com>
878
879 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
880 for testcase.
881 * stdio-common/tst-sprintf.c: Include <locale.h>
882 (main): Test sprintf's handling of incomplete multibyte
883 characters.
884
9bac1d86
L
8852012-09-28 H.J. Lu <hongjiu.lu@intel.com>
886
887 * elf/dl-runtime.c (VERSYMIDX): Removed.
888 * elf/dl-version.c (VERSYMIDX): Likewise.
889 * elf/do-rel.h (VERSYMIDX): Likewise.
890 (VALIDX): Likewise.
891 * elf/dynamic-link.h (VERSYMIDX): Likewise.
892 * elf/rtld.c (VALIDX): Likewise.
893 (ADDRIDX): Likewise.
9bac1d86
L
894 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
895 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
896 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
897 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
898 (VALIDX): Likewise.
899 (ADDRIDX): Likewise.
9bac1d86 900
b31606c0
PT
9012012-09-28 Pino Toscano <toscano.pino@tiscali.it>
902
903 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
904
11541177
JL
9052012-09-28 Dmitry V. Levin <ldv@altlinux.org>
906
907 [BZ #11438]
908 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
909 to global scope.
910 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
911 addresses are in the same scope as 192.0.2/24.
912 * posix/gai.conf: Document new scope table defaults.
913
adb26fae
SP
9142012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
915
916 [BZ #5298]
917 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
918 for ftell. Compute offsets from write pointers instead.
919 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
920
4573c6b0
SP
9212012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
922
923 [BZ #14543]
924 * libio/Makefile (tests): New test case tst-fseek.
925 * libio/tst-fseek.c: New test case to verify that fseek/ftell
926 combination works in wide mode.
927 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
928 state when the external buffer state changes.
929
aa9bbfe6
DM
9302012-09-27 David S. Miller <davem@davemloft.net>
931
932 [BZ #14376]
933 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
934 pass reloc->r_addend in as the 'high' argument to
935 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
936
784421e7
DM
937 * sysdeps/sparc/fpu/libm-test-ulps: Update.
938
c39bc8b8
PT
9392012-09-28 Pino Toscano <toscano.pino@tiscali.it>
940
941 * rt/tst-aio2.c: Include <pthread.h>.
942 * rt/tst-aio3.c: Likewise.
943
1ccc2399
SE
9442012-09-27 Steve Ellcey <sellcey@mips.com>
945
946 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
947
31ed4153
L
9482012-09-27 H.J. Lu <hongjiu.lu@intel.com>
949
25f5f885
L
950 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
951 contents on [SHARED].
31ed4153 952
b7bfe116
MP
9532012-09-26 Marek Polacek <polacek@redhat.com>
954
955 [BZ #14530]
956 [BZ #13741]
957 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
958 for C++ and GCC <4.3 as well as for non GCC compilers.
959
43c4edba
MT
9602012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
961
962 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
963
6a1bf82f
RM
9642012-09-25 Roland McGrath <roland@hack.frob.com>
965
966 * Makefile.in (all, install): Declare with .PHONY.
967 Reported by Michael Hope <michael.hope@linaro.org>.
968
8ad11b9a
TMQMF
9692012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
970
971 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
972 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
973 system header.
974 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
975 Likewise.
976 (sydep_routines): Add the new and the internal functions.
977 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
978 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
980 (GLIBC_2.17): Add the new function.
981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
982 (GLIBC_2.17): Likewise.
983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
984 (GLIBC_2.17): Likewise.
985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
986 (GLIBC_2.17): Likewise.
987 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
988
7e2fca8d
AM
9892012-09-25 Alan Modra <amodra@gmail.com>
990
991 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
992 Add release barrier before setting once_control to say
993 initialisation is done. Add hints on lwarx. Use macro in
994 place of isync.
995 (clear_once_control): Add release barrier.
996
b87c4b24
JM
9972012-09-25 Joseph Myers <joseph@codesourcery.com>
998
d032e0d2
JM
999 [BZ #13629]
1000 * math/s_clog.c (__clog): Handle more values close to |z| = 1
1001 specially.
1002 * math/s_clog10.c (__clog10): Likewise.
1003 * math/s_clog10f.c (__clog10f): Likewise.
1004 * math/s_clog10l.c (__clog10l): Likewise.
1005 * math/s_clogf.c (__clogf): Likewise.
1006 * math/s_clogl.c (__clogl): Likewise.
1007 * math/Makefile (libm-calls): Add x2y2m1.
1008 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
1009 (__x2y2m1): Likewise.
1010 (__x2y2m1l): Likewise.
1011 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
1012 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
1013 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1014 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1015 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1016 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
1017 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
1018 * sysdeps/i386/fpu/libm-test-ulps: Update.
1019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1020
b87c4b24
JM
1021 [BZ #14621]
1022 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
1023 int as type of variable DEPTH.
1024 (glob): Use size_t instead of int as type of variables NEWCOUNT
1025 and OLD_PATHC.
1026
6d3bf199
LD
10272012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1028
22bf5c17
LD
1029 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1030 Add s_sincosf-sse2.
1031 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
1032 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
1033 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
1034 macros for using routine as __sincosf_ia32.
1035 Use macro for function declaration and weak_alias.
1036 * sysdeps/i386/fpu/libm-test-ulps: Update.
1037
1038 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
1039 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1040
1041 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
1042 subnormal argument.
1043 * math/s_cexpf.c (__cexpf): Likewise.
1044 * math/s_csinf.c (__csinf): Likewise.
1045 * math/s_csinhf.c (__csinhf): Likewise.
1046 * math/s_ctanf.c (__ctanf): Likewise.
1047 * math/s_ctanhf.c (__ctanhf): Likewise.
1048 * math/s_ccosh.c (__ccoshf): Likewise.
1049 * math/s_cexp.c (__cexpl): Likewise.
1050 * math/s_csin.c (__csin): Likewise.
1051 * math/s_csinh.c (__csinh): Likewise.
1052 * math/s_ctan.c (__ctan): Likewise.
1053 * math/s_ctanh.c (ctanh): Likewise.
1054 * math/s_ccoshl.c (__ccoshl): Likewise.
1055 * math/s_cexpl.c (__cexpl): Likewise.
1056 * math/s_csinl.c (__csinl): Likewise.
1057 * math/s_csinhl.c (__csinhl): Likewise.
1058 * math/s_ctanl.c (__ctanl): Likewise.
1059 * math/s_ctanhl.c (__ctanhl): Likewise.
1060
203e5603
JM
10612012-09-25 Joseph Myers <joseph@codesourcery.com>
1062
1063 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
1064 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
1065 (_IO_off_t): Define to __off_t, not _G_off_t.
1066 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
1067 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
1068 (_IO_wint_t): Define to wint_t, not _G_wint_t.
1069 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
1070 type of __dummy and __dummy2 fields.
1071 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
1072 (_G_ssize_t): Likewise.
1073 (_G_off_t): Likewise.
1074 (_G_pid_t): Likewise.
1075 (_G_uid_t): Likewise.
1076 (_G_wchar_t): Likewise.
1077 (_G_wint_t): Likewise.
1078 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
1079 (_G_ssize_t): Likewise.
1080 (_G_off_t): Likewise.
1081 (_G_pid_t): Likewise.
1082 (_G_uid_t): Likewise.
1083 (_G_wchar_t): Likewise.
1084 (_G_wint_t): Likewise.
1085 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
1086 (_G_ssize_t): Likewise.
1087 (_G_off_t): Likewise.
1088 (_G_pid_t): Likewise.
1089 (_G_uid_t): Likewise.
1090 (_G_wchar_t): Likewise.
1091 (_G_wint_t): Likewise.
1092
9fab36eb
SP
10932012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1094
1095 * malloc/arena.c: Include malloc-sysdep.h.
1096 (shrink_heap): Use check_may_shrink_heap to decide if madvise
1097 is sufficient to shrink the heap or an unmap is needed.
1098 * sysdeps/generic/malloc-sysdep.h: New file. Define
1099 new function check_may_shrink_heap.
1100 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
1101 new function check_may_shrink_heap.
1102
2b4f00d1
SP
11032012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1104
1105 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
1106 comments.
1107
9a9028b1
DL
11082012-09-24 Dmitry V. Levin <ldv@altlinux.org>
1109
57c69bef
DL
1110 * catgets/test-gencat.sh: Add "set -e".
1111 * elf/tst-pathopt.sh: Likewise.
1112 * grp/tst_fgetgrent.sh: Likewise.
1113 * iconvdata/run-iconv-test.sh: Likewise.
1114 * intl/tst-gettext.sh: Likewise.
1115 * intl/tst-gettext2.sh: Likewise.
1116 * intl/tst-gettext4.sh: Likewise.
1117 * intl/tst-gettext6.sh: Likewise.
1118 * intl/tst-translit.sh: Likewise.
1119 * io/ftwtest-sh: Likewise.
1120 * libio/test-freopen.sh: Likewise.
1121 * malloc/tst-mtrace.sh: Likewise.
1122 * posix/globtest.sh: Likewise.
1123 * posix/tst-getconf.sh: Likewise.
1124 * posix/wordexp-tst.sh: Likewise.
1125 * stdio-common/tst-printf.sh: Likewise.
1126 * stdio-common/tst-unbputc.sh: Likewise.
1127 * stdlib/tst-fmtmsg.sh: Likewise.
1128 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1129 * catgets/Makefile: Do not specify -e option when running
1130 testsuite shell scripts.
1131 * elf/Makefile: Likewise.
1132 * grp/Makefile: Likewise.
1133 * iconvdata/Makefile: Likewise.
1134 * intl/Makefile: Likewise.
1135 * io/Makefile: Likewise.
1136 * libio/Makefile: Likewise.
1137 * malloc/Makefile: Likewise.
1138 * posix/Makefile: Likewise.
1139 * stdio-common/Makefile: Likewise.
1140 * stdlib/Makefile: Likewise.
1141 * sysdeps/x86_64/Makefile: Likewise.
1142
9a9028b1
DL
1143 * io/ftwtest-sh: Add copyright header.
1144 * posix/globtest.sh: Likewise.
1145 * posix/tst-getconf.sh: Likewise.
1146 * posix/wordexp-tst.sh: Likewise.
1147 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1148
ced6f16e
L
11492012-09-24 H.J. Lu <hongjiu.lu@intel.com>
1150
94b32c39
L
1151 [BZ #13679]
1152 * Makeconfig (+link): Defined as $(+link-static) if
1153 $(build-shared) isn't yes.
1154 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
1155 isn't yes.
1156 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
1157
189e935b
L
1158 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
1159
ced6f16e
L
1160 [BZ #14562]
1161 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
1162 new chunk size with MALLOC_ALIGN_MASK.
1163
a9f8e53a
JM
11642012-09-24 Joseph Myers <joseph@codesourcery.com>
1165
1166 [BZ #5044]
1167 * stdio-common/printf_fphex.c: Include <stdbool.h> and
1168 <rounding-mode.h>.
1169 (__printf_fphex): Determine rounding using get_rounding_mode and
1170 round_away.
1171 * stdio-common/tst-printf-round.c (struct hex_test): New
1172 structure.
1173 (hex_tests): New variable.
1174 (test_hex_in_one_mode): New function.
1175 (do_test): Also run tests for hex float output.
1176
43153109
JM
11772012-09-21 Joseph Myers <joseph@codesourcery.com>
1178
1179 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1180 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1181 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
1182 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1183 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1184 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
1185 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1186 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1187
8a26625d
JM
11882012-09-20 Joseph Myers <joseph@codesourcery.com>
1189
1190 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
1191 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
1192 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
1193 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
1194
f3fd569c
DL
11952012-09-19 Dmitry V. Levin <ldv@altlinux.org>
1196
1197 [BZ #14579]
1198 * elf/rtld.c (dl_main): Limit the check for self loading to normal
1199 mode only.
1200 * elf/tst-rtld-load-self.sh: New test.
1201 * elf/Makefile: Run it.
1202
63bbedd4
JM
12032012-09-18 Joseph Myers <joseph@codesourcery.com>
1204
1205 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
1206 (tst-writev-ENV): Remove.
1207 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
1208
626f8b6a
CM
12092012-09-17 Chris Metcalf <cmetcalf@tilera.com>
1210
1211 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
1212
b7aaa4d6
JM
12132012-09-17 Joseph Myers <joseph@codesourcery.com>
1214
1215 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
1216 unconditional.
1217 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
1218 Likewise.
1219 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
1220 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
1221 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
1222 Likewise.
1223
65513990
L
12242012-09-14 H.J. Lu <hongjiu.lu@intel.com>
1225
1226 [BZ #14587]
1227 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
1228 * config.make.in (have-cpp-asm-debuginfo): Removed.
1229 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
1230 * configure: Regenerated.
1231
784761be
JM
12322012-09-14 Joseph Myers <joseph@codesourcery.com>
1233
1234 [BZ #5044]
1235 * stdio-common/printf_fp.c: Include <stdbool.h> and
1236 <rounding-mode.h>.
1237 (___printf_fp): Determine rounding using get_rounding_mode and
1238 round_away.
1239 * stdio-common/tst-printf-round.c: New file.
1240 * stdio-common/Makefile (tests): Add tst-printf-round.
1241 (link-libm): New variable.
1242 ($(objpfx)tst-printf-round): Depend in $(link-libm).
1243
9503345f
L
12442012-09-13 H.J. Lu <hongjiu.lu@intel.com>
1245
1246 [BZ #14576]
1247 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
1248 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
1249 Likewise.
1250 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
1251 Likewise.
1252
ad35fc00
JM
12532012-09-13 Joseph Myers <joseph@codesourcery.com>
1254
1255 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
1256 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1257 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1258 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1259
6c9b0f68
JM
12602012-09-12 Joseph Myers <joseph@codesourcery.com>
1261
1262 [BZ #14518]
1263 * include/rounding-mode.h: New file.
1264 * sysdeps/generic/get-rounding-mode.h: Likewise.
1265 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
1266 * stdlib/strtod_l.c: Include <rounding-mode.h>.
1267 (MAX_VALUE): New macro.
1268 (MIN_VALUE): Likewise.
1269 (overflow_value): New function.
1270 (underflow_value): Likewise.
1271 (round_and_return): Use overflow_value and underflow_value to
1272 determine return values in overflow and underflow cases. Use
1273 round_away to determine rounding depending on rounding mode.
1274 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
1275 determine return values in overflow and underflow cases.
1276 * stdlib/tst-strtod-round.c: Include <fenv.h>.
1277 (struct test_results): New structure.
1278 (struct test): Use struct test_results to store expected results
1279 for all rounding modes.
1280 (TEST): Include expected results for all rounding modes.
1281 (test_in_one_mode): New function.
1282 (do_test): Use test_in_one_mode to compute and check results.
1283 Check results for all rounding modes.
1284 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
1285 $(link-libm).
1286
19fcedd5
AM
12872012-12-09 Allan McRae <allan@archlinux.org>
1288
1289 * sysdeps/i386/fpu/libm-test-ulps: Update
1290
8bbfd2f1
JM
12912012-09-11 Joseph Myers <joseph@codesourcery.com>
1292
1293 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
1294 (_G_int32_t): Likewise.
1295 (_G_uint16_t): Likewise.
1296 (_G_uint32_t): Likewise.
1297 (_G_HAVE_BOOL): Likewise.
1298 (_G_HAVE_ATEXIT): Likewise.
1299 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1300 (_G_HAVE_IO_FILE_OPEN): Likewise.
1301 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
1302 (_G_int32_t): Likewise.
1303 (_G_uint16_t): Likewise.
1304 (_G_uint32_t): Likewise.
1305 (_G_HAVE_BOOL): Likewise.
1306 (_G_HAVE_ATEXIT): Likewise.
1307 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1308 (_G_HAVE_IO_FILE_OPEN): Likewise.
1309 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
1310 (_G_int32_t): Likewise.
1311 (_G_uint16_t): Likewise.
1312 (_G_uint32_t): Likewise.
1313 (_G_HAVE_BOOL): Likewise.
1314 (_G_HAVE_ATEXIT): Likewise.
1315 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1316 (_G_HAVE_IO_FILE_OPEN): Likewise.
1317
b1dc5912
L
13182012-09-11 H.J. Lu <hongjiu.lu@intel.com>
1319
1320 * csu/libc-tls.c: Update copyright years.
1321
0e886ef9
JM
13222012-09-10 Joseph Myers <joseph@codesourcery.com>
1323
28361c5e
JM
1324 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
1325 [!_G_USING_THUNKS]: Remove conditional code.
1326 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
1327 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
1328
0e886ef9
JM
1329 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
1330 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
1331 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1332 (_G_VTABLE_LABEL_PREFIX): Likewise.
1333 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1334 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1335 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1336 (_G_VTABLE_LABEL_PREFIX): Likewise.
1337 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1338 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1339 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1340 (_G_VTABLE_LABEL_PREFIX): Likewise.
1341 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1342
bcba7aa2
L
13432012-09-10 H.J. Lu <hongjiu.lu@intel.com>
1344
1345 * libio/Makefile: Include ../Makeconfig before tests.
1346 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
1347 only if $(build-shared) is yes.
1348
06585ee8
L
1349 * iconv/gconv_db.c: Update copyright years.
1350
80ccd52c
LD
13512012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1352
1353 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
1354 unwind info if defined PIC. Fix special cases description.
1355 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
1356
1357 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
1358 DP_HI_MASK entry.
1359 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
1360
691bc9c1
L
13612012-09-07 H.J. Lu <hongjiu.lu@intel.com>
1362
3d9b46b3
L
1363 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
1364
de2139a9
L
1365 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
1366 is NULL.
1367
5ca78dd0
L
1368 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
1369 (LDLIBS-tst-chk4): This.
1370 (LDFLAGS-tst-chk5): Renamed to ...
1371 (LDLIBS-tst-chk5): This.
1372 (LDFLAGS-tst-chk6): Renamed to ...
1373 (LDLIBS-tst-chk6): This.
1374 (LDFLAGS-tst-lfschk4): Renamed to ...
1375 (LDLIBS-tst-lfschk4): This.
1376 (LDFLAGS-tst-lfschk5): Renamed to ...
1377 (LDLIBS-tst-lfschk5): This.
1378 (LDFLAGS-tst-lfschk6): Renamed to ...
1379 (LDLIBS-tst-lfschk6): This.
1380
691bc9c1
L
1381 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
1382 on $(common-objpfx)soversions.mk.
1383
65cafb1c
JM
13842012-09-07 Joseph Myers <joseph@codesourcery.com>
1385
1386 [BZ #10014]
1387 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
1388 example host name.
1389
c78ab094
SP
13902012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1391
1392 * malloc/arena.c (arena_get_retry): New function that gets
1393 another arena for the caller to try its request on.
1394 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
1395 current arena cannot fulfill the request.
1396 (__libc_memalign): Likewise.
1397 (__libc_memalign): Likewise.
1398 (__libc_pvalloc): Likewise.
1399 (__libc_calloc): Likewise.
1400
01f49f59
JT
14012012-09-05 John Tobey <john.tobey@gmail.com>
1402
1403 [BZ #13542]
1404 * manual/arith.texi (Operations on Complex): Fix description
1405 of carg branch cut.
1406
4c23fed5
JM
14072012-09-06 Joseph Myers <joseph@codesourcery.com>
1408
1d3c8572
JM
1409 [BZ #10014]
1410 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
1411 host name.
1412
4c23fed5
JM
1413 [BZ #10038]
1414 * manual/memory.texi (Memory): Make order of menu items match
1415 order of sections.
1416
04570aaa
L
14172012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1418
1419 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
1420 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
1421 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
1422
b80af2f4
L
14232012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1424
1425 * csu/libc-tls.c (static_dtv): Renamed to ...
1426 (_dl_static_dtv): This. Make it global.
1427 (_dl_initial_dtv): Removed.
1428 (__libc_setup_tls): Updated.
1429 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
1430 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
1431 DL_INITIAL_DTV.
1432
2abe9f15
PM
14332012-09-06 Petr Machata <pmachata@redhat.com>
1434
1435 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
1436 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
1437 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
1438 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
1439
0948c3af
L
14402012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1441
1442 [BZ #14545]
1443 * csu/libc-tls.c (_dl_initial_dtv): New variable.
1444 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
1445 freeing dtv[-1].
1446
a5055ad1
L
14472012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1448
1449 [BZ #14544]
1450 * Makeconfig (link-static-before-libc): Replace $(+prector)
1451 with $(+prectorT).
1452 (link-static-after-libc): Replace $(+postctor) with
1453 $(+postctorT).
1454 (link-bounded): Replace $(+prector)/$(+postctor) with
1455 $(+prectorT)/$(+postctorT).
1456 (+prectorT): New macro.
1457 (+postctorT): Likewise.
1458
ed8c2ecd
JM
14592012-09-06 Joseph Myers <joseph@codesourcery.com>
1460
1461 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
1462 (round_str): Handle values above the maximum for IBM long double
1463 as inexact.
1464 * stdlib/tst-strtod-round.c (tests): Regenerated.
1465
14c996c8
AK
14662012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1467
1468 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
1469 assembler flag.
1470 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
1471 zarch_nohighgprs around the zarch optimized routines.
1472 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1473 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1474 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
1475 for zarch.
1476
430d6ce6
DM
14772012-09-05 David S. Miller <davem@davemloft.net>
1478
1479 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1480
ff04dda4
DM
1481 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
1482 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
1483 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
1484 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
1485 entries.
1486
24d4e01b
AO
14872012-09-05 Alexandre Oliva <aoliva@redhat.com>
1488
1489 * malloc/arena.c: Fold copyright years.
1490 * malloc/mcheck.c, malloc/memusage.c: Likewise.
1491
61d58174
AO
14922012-09-05 Alexandre Oliva <aoliva@redhat.com>
1493
1494 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
1495
20196a5e
AO
14962012-09-05 Alexandre Oliva <aoliva@redhat.com>
1497
1498 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
1499
5c447383
AO
15002012-09-05 Alexandre Oliva <aoliva@redhat.com>
1501
1502 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
1503 change internal state upon failure.
1504
fad64255
AO
15052012-09-05 Alexandre Oliva <aoliva@redhat.com>
1506
1507 * malloc/mcheck.c (mcheck_check_all): Fix typo.
1508 * malloc/memusage.c (mmap): Likewise.
1509 (mmap64, mremap): Likewise. Adjust name in comment.
1510
1ffb8c90
SP
15112012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1512
1513 * libio/fileops.c: Fix typos in comments.
1514 * libio/oldfileops.c: Likewise.
1515 * libio/wfileops.c: Likewise.
1516
6ef9cc37
SP
15172012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1518
1519 [BZ #1349]
1520 * malloc/Makefile (tests): Add tst-malloc-usable test case.
1521 (tst-malloc-usable-ENV): Set environment for test case.
1522 * malloc/hooks.c (malloc_check_get_size): New function to get
1523 requested size.
1524 * malloc/malloc.c (musable): Use malloc_check_get_size.
1525 * malloc/tst-malloc-usable.c: New test case.
1526
4d038ae3
AS
15272012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1528
1529 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
1530
c4e85184
AM
15312012-09-05 Allan McRae <allan@archlinux.org>
1532
b9dafc56 1533 [BZ #13966]
c4e85184
AM
1534 * configure.in (CXX_SYSINCLUDES): Use compiler output to
1535 determine header location.
1536 * configure: Regenerated.
1537
e1343020
AS
15382012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1539
1540 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
1541 float format.
1542 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
1543 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
1544 format.
e1343020
AS
1545 (test): Regenerate.
1546
0a9f1987
DM
15472012-09-04 David S. Miller <davem@davemloft.net>
1548
1549 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
1550 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
1551 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
1552
29237804
FW
15532012-09-04 Florian Weimer <fweimer@redhat.com>
1554
1555 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
1556 failures.
1557
edb3cb88
FW
1558 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
1559
60160d83
JM
15602012-09-04 Joseph Myers <joseph@codesourcery.com>
1561
1562 [BZ #9914]
1563 * libio/iogetdelim.c: Include <limits.h>.
1564 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
1565 + len + 1 would overflow.
1566
bcd6c8dc
AJ
15672012-09-03 Andreas Jaeger <aj@suse.de>
1568
1569 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1570 * sysdeps/i386/fpu/libm-test-ulps: Update.
1571
4ffffbd2
LD
15722012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1573
1574 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1575 Add s_sinf-sse2, s_conf-sse2.
1576
1577 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
1578 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
1579 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
1580 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
1581
1582 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
1583 for using routine as __sinf_ia32.
1584 Use macro for function declaration and weak_alias.
1585 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
1586 for using routine as __cosf_ia32.
1587 Use macro for function declaration and weak_alias.
1588
1589 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
1590 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
1591
1592 * sysdeps/x86_64/fpu/s_sinf.S: New file.
1593 * sysdeps/x86_64/fpu/s_cosf.S: New file.
1594 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1595
1596 * math/libm-test.inc (cos_test): Add more test cases.
1597 (sin_test): Likewise.
1598 (sincos_test): Likewise.
1599
511fa286
AK
16002012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1601
1602 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1603 (IFUNC_RESOLVE): Make pointers to the specialized implementations
1604 hidden.
1605 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1606
5f30cfec
L
16072012-09-02 H.J. Lu <hongjiu.lu@intel.com>
1608
1609 [BZ #14538]
1610 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
1611 first element of the GOT.
1612 (elf_machine_load_address): Return the difference between
1613 the runtime address of _DYNAMIC and elf_machine_dynamic ().
1614
0786794f
AM
16152012-09-01 Allan McRae <allan@archlinux.org>
1616
5f30cfec
L
1617 [BZ #13412]
1618 * configure.in (AWK): Require gawk version 3.0 or later.
1619 * configure: Regenerated.
0786794f 1620
26889eac
JM
16212012-09-01 Joseph Myers <joseph@codesourcery.com>
1622
1623 * sysdeps/unix/sysv/linux/kernel-features.h
1624 (__ASSUME_POSIX_CPU_TIMERS): Remove.
1625 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1626 [__NR_clock_getres]: Make code unconditional.
1627 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
1628 (clock_getcpuclockid): Remove code left unreachable by removal of
1629 conditionals.
1630 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
1631 code unconditional.
1632 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1633 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1634 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
1635 Make code unconditional.
1636 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1637 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1638 * sysdeps/unix/sysv/linux/clock_settime.c
1639 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
1640 conditional code.
1641 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
1642 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1643
d22e28b0
L
16442012-08-29 H.J. Lu <hongjiu.lu@intel.com>
1645
1646 [BZ #14476]
1647 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
1648 scripts/test-installation.pl.
1649
1650 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
1651 and $ld_so_version if it is set.
1652
050af9c4
SP
16532012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1654
1655 [BZ #14516]
1656 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
1657 failure if reading from procfs failed.
1658 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
1659
ad845c0b
JM
16602012-08-27 Joseph Myers <joseph@codesourcery.com>
1661
1662 * sysdeps/unix/sysv/linux/kernel-features.h
1663 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
1664 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1665 Remove conditional code.
1666 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1667 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
1668 Remove conditional code.
1669 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1670 * sysdeps/unix/sysv/linux/i386/fxstat.c
1671 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1672 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1673 * sysdeps/unix/sysv/linux/i386/fxstatat.c
1674 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1675 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1676 * sysdeps/unix/sysv/linux/i386/lxstat.c
1677 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1678 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1679 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
1680 Remove conditional code.
1681 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1682 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1683 Remove conditional code.
1684 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1685 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
1686 <kernel-features.h>.
1687 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
1688 Remove.
1689 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
1690 Remove conditional code.
1691 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1692 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
1693 Remove conditional.
1694
5dbf56af
MF
16952012-08-27 Mike Frysinger <vapier@gentoo.org>
1696
1697 [BZ #5400]
1698 * NEWS: Add fixed bug number.
1699
d6e70f43
JM
17002012-08-27 Joseph Myers <joseph@codesourcery.com>
1701
7efb4737
JM
1702 [BZ #14519]
1703 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
1704 underflowing exponent in case of negative sign.
1705 * stdlib/tst-strtod-round-data: Add more tests.
1706 * stdlib/tst-strtod-round.c (tests): Regenerated.
1707
af92131a
JM
1708 [BZ #3479]
1709 * stdlib/strtod_l.c (NDIG): Remove.
1710 (HEXNDIG): Likewise.
1711 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
1712 smallest representable value.
1713 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
1714 lie within an exact representation of 1/2 ulp of the result.
1715 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
1716 unconditionally.
1717 (TENS_P9_IDX): Define unconditionally.
1718 (TENS_P9_SIZE): Likewise.
1719 (TENS_P10_IDX): Likewise.
1720 (TENS_P10_SIZE): Likewise.
1721 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
1722 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
1723 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
1724 entries for 10^2^13 and 10^2^14.
1725 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
1726 (TENS_P13_IDX): Define.
1727 (TENS_P13_SIZE): Likewise.
1728 (TENS_P14_IDX): Likewise.
1729 (TENS_P14_SIZE): Likewise.
1730 (_fpioconst_pow10): Change array size to
1731 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
1732 unconditional.
1733 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
1734 1024]: Add entries for 10^2^13 and 10^2^14.
1735 [LAST_POW10 > _LAST_POW10]: Remove #error.
1736 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
1737 (_fpioconst_pow10): Change array size to
1738 FPIOCONST_POW10_ARRAY_SIZE.
1739 * stdlib/gen-fpioconst.c: New file.
1740 * stdlib/gen-tst-strtod-round.c: Likewise.
1741 * stdlib/tst-strtod-round-data: Likewise.
1742 * stdlib/tst-strtod-round.c: Likewise.
1743 * stdlib/Makefile (tests): Add tst-strtod-round.
1744
d6e70f43
JM
1745 [BZ #14459]
1746 * stdlib/strtod_l.c: Include <stdint.h>.
1747 (NDEBUG): Do not define.
1748 (round_and_return): Change EXPONENT parameter to type intmax_t.
1749 Rearrange calculations to avoid internal overflow possibilities.
1750 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
1751 Rearrange calculations to avoid internal overflow possibilities.
1752 Assert that number fits inside MPNSIZE limbs.
1753 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
1754 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
1755 calculations and add assertions to avoid internal overflow
1756 possibilities. Add casts to avoid signed/unsigned operations.
1757 * stdlib/tst-strtod-overflow.c: New file.
1758 * stdlib/Makefile (tests): Add tst-strtod-overflow.
1759
1f529f7d
MP
17602012-08-25 Marek Polacek <polacek@redhat.com>
1761
1762 * time/time.h: Fix some typos in comments.
1763
59a629f1
RM
17642012-08-23 Roland McGrath <roland@hack.frob.com>
1765
1766 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
1767 * posix/tst-rfc3484-2.c: Likewise.
1768 * posix/tst-rfc3484-3.c: Likewise.
1769
d3bafbc9
SM
17702012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
1771
1772 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
1773 (EF_ARM_ABI_FLOAT_HARD): Likewise.
1774
4efcc022
JM
17752012-08-23 Joseph Myers <joseph@codesourcery.com>
1776
1777 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
1778 #include of fxstatat64.c.
1779
3cc3ef96
RM
17802012-08-22 Roland McGrath <roland@hack.frob.com>
1781
f04e2132
RM
1782 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
1783 * shadow/getspent_r.c: Likewise.
1784 * shadow/getspnam.c: Likewise.
1785 * shadow/getspnam_r.c: Likewise.
1786 * gshadow/getsgent.c: Likewise.
1787 * gshadow/getsgent_r.c: Likewise.
1788 * gshadow/getsgnam.c: Likewise.
1789 * gshadow/getsgnam_r.c: Likewise.
1790 * inet/getnetbyad.c: Likewise.
1791 * inet/getnetbyad_r.c: Likewise.
1792 * inet/getnetbynm.c: Likewise.
1793 * inet/getnetbynm_r.c: Likewise.
1794 * inet/getnetent.c: Likewise.
1795 * inet/getnetent_r.c: Likewise.
1796 * inet/getproto.c: Likewise.
1797 * inet/getproto_r.c: Likewise.
1798 * inet/getprtent.c: Likewise.
1799 * inet/getprtent_r.c: Likewise.
1800 * inet/getprtname.c: Likewise.
1801 * inet/getprtname_r.c: Likewise.
1802 * inet/getrpcbyname.c: Likewise.
1803 * inet/getrpcbyname_r.c: Likewise.
1804 * inet/getrpcbynumber.c: Likewise.
1805 * inet/getrpcbynumber_r.c: Likewise.
1806 * inet/getrpcent.c: Likewise.
1807 * inet/getrpcent_r.c: Likewise.
1808 * inet/getaliasent.c: Likewise.
1809 * inet/getaliasent_r.c: Likewise.
1810 * inet/getaliasname.c: Likewise.
1811 * inet/getaliasname_r.c: Likewise.
1812 * nscd/getgrgid_r.c: Likewise.
1813 * nscd/getgrnam_r.c: Likewise.
1814 * nscd/gethstbyad_r.c: Likewise.
1815 * nscd/gethstbynm3_r.c: Likewise.
1816 * nscd/getpwnam_r.c: Likewise.
1817 * nscd/getpwuid_r.c: Likewise.
1818 * nscd/getsrvbynm_r.c: Likewise.
1819 * nscd/getsrvbypt_r.c: Likewise.
1820 * nscd/gai.c: Likewise.
1821
c53d909c
RM
1822 * configure.in (build_nscd): New substituted variable, set
1823 by --disable-build-nscd and defaults to $use_nscd.
1824 * configure: Regenerated.
1825 * config.make.in (build-nscd): New substituted variable.
1826 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
1827 Change conditional to require [$(build-nscd) = yes] as well.
1828 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
1829
3cc3ef96
RM
1830 [BZ# 13696]
1831 * configure.in (use_nscd): New substituted variable, set by
1832 --disable-nscd. If enabled, define USE_NSCD.
1833 * configure: Regenerated.
1834 * config.h.in: Add USE_NSCD.
1835 * config.make.in (use-nscd): New substituted variable.
1836 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
1837 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
1838 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
1839 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
1840 (CFLAGS-getgrnam_r.c): Likewise.
1841 (CFLAGS-initgroups.c): Likewise.
1842 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
1843 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
1844 Variables removed.
1845 * inet/getnetgrent_r.c
1846 (nscd_setnetgrent): New function, broken out of ...
1847 (setnetgrent): ... here. Call it.
1848 (innetgr): Conditionalize nscd bits on [USE_NSCD].
1849 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
1850 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
1851 * nscd/Makefile (routines, aux): Move definitions after include of
1852 Makeconfig. Conditionalize on [$(use-nscd) != no].
1853 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
1854 Conditionalize on [USE_NSCD].
1855 (is_nscd, nscd_init_cb): Likewise.
1856 (nss_load_library): Conditionalize init callback on [USE_NSCD].
1857 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
1858 * nss/nss_db/db-init.c: Likewise.
1859 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
1860 [USE_NSCD].
1861 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
1862 (make_request): Use it.
1863 (cache_valid_p): New function.
1864 (__check_pf): Use it.
1865 * NEWS: Add item for --disable-nscd.
1866
07e51550
DL
18672012-08-22 Dmitry V. Levin <ldv@altlinux.org>
1868
1869 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
1870 to support sed >= 4.2.1-20-ga9bf076.
1871 * configure: Regenerated.
1872
35a5b08b
RM
18732012-08-22 Roland McGrath <roland@hack.frob.com>
1874
1875 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
1876 Conditionalize whole body on [IREL].
1877
8479f23a
JL
18782012-08-22 Jeff Law <law@redhat.com>
1879
1880 [BZ #14505]
1881 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
1882 if the family is PF_UNSPEC.
1883
48da0b21
MF
18842012-08-22 Mike Frysinger <vapier@gentoo.org>
1885
1886 * Makerules (lib-version): Rename from V.
1887 (install-lib-nosubdir): Change V to lib-version.
1888
15d0da8c
WS
18892012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
1890
1891 [BZ #14252]
1892 * powerpc32/power6/wcschr.c: New file.
1893 * powerpc32/power6/wcscpy.c: New file.
1894 * powerpc32/power6/wcsrchr.c: New file.
1895 * powerpc64/power6/wcschr.c: New file.
1896 * powerpc64/power6/wcscpy.c: New file.
1897 * powerpc64/power6/wcsrchr.c: New file.
1898
bcca0895
MK
18992012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1900
1901 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
1902 (two_way_short_needle): Use it.
5a4aaa33
RM
1903 * string/strstr.c (AVAILABLE1_USES_J): Define.
1904 * string/strcasestr.c: Likewise.
99677e57
MK
1905
1906 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
1907 array references.
1908 * string/strcasestr.c (TOLOWER): Make side-effect safe.
1909
400726de
MK
1910 [BZ #11607]
1911 * NEWS: Add an entry.
1912 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
1913 define their defaults.
1914 (two_way_short_needle): Detect end-of-string on-the-fly.
1915 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
1916 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
1917 * string/bug-strcasestr1.c: New test.
1918 * string/Makefile: Run it.
1919
20a71f2c
MK
19202012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1921
1922 [BZ #11607]
1923 * string/str-two-way.h (two_way_short_needle): Optimize matching of
1924 the first character.
1925
21ad0558
RM
19262012-08-21 Roland McGrath <roland@hack.frob.com>
1927
1928 * csu/elf-init.c (__libc_csu_irel): Function removed.
1929 * csu/libc-start.c (apply_irel): New function.
1930 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
1931
0e1d9911
JM
19322012-08-21 Joseph Myers <joseph@codesourcery.com>
1933
1934 * sysdeps/unix/sysv/linux/kernel-features.h
1935 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
1936 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1937 <kernel-features.h>.
1938 [__NR_fadvise64_64]: Make code unconditional.
1939 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
1940 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1941 !__NR_fadvise64_64)]: Likewise.
1942 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1943 !__NR_fadvise64_64))]: Likewise.
1944 [__NR_fadvise64]: Make code unconditional.
1945 [!__NR_fadvise64]: Remove conditional code.
1946 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
1947 <kernel-features.h>.
1948 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1949 unconditional.
1950 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1951 conditional code.
1952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
1953 not include <kernel-features.h>.
1954 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1955 unconditional.
1956 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1957 conditional code.
1958 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
1959 include <kernel-features.h>.
1960 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1961 unconditional.
1962 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1963 conditional code.
1964
14a50c9d
WS
19652012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
1966
1967 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
1968 slight instruction rearrangements per scrollpipe analysis.
1969 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1970
c0f4faf0
RM
19712012-08-20 Roland McGrath <roland@hack.frob.com>
1972
696da859
RM
1973 * manual/syslog.texi (syslog; vsyslog, closelog):
1974 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
1975 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
1976
c0f4faf0
RM
1977 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
1978 DSOCAPS to match condition on defining it.
1979
348363b2
JM
19802012-08-20 Joseph Myers <joseph@codesourcery.com>
1981
a35cbf28
JM
1982 * sysdeps/unix/sysv/linux/kernel-features.h
1983 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
1984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
1985 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1986 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
1988 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1989 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
1991 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1992 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1993
445f7ecd
JM
1994 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
1995 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
1996
348363b2
JM
1997 * sysdeps/unix/sysv/linux/kernel-features.h
1998 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
1999 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
2000 unconditional.
2001 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2002 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
2003 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2004 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2005 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
2006 Make code unconditional.
2007 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2008 (__mmap64) [!__NR_mmap2]: Likewise.
2009 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
2010 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2011 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2012 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
2013 [__NR_mmap2]: Make code unconditional.
2014 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2015 (__mmap64) [!__NR_mmap2]: Likewise.
2016
bc5bc0e5
AK
20172012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2018
2019 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
2020
88d506de
AJ
20212012-08-18 Andreas Jaeger <aj@suse.de>
2022
2023 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
2024
493387d2
MF
20252012-08-18 Mike Frysinger <vapier@gentoo.org>
2026
2027 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
2028 * include/unistd.h (__have_sock_cloexec): Likewise.
2029 (__have_pipe2): Likewise.
2030 (__have_dup3): Likewise.
2031
a277af22
MF
20322012-08-18 Mike Frysinger <vapier@gentoo.org>
2033
2034 [BZ #9685]
2035 * include/unistd.h (__have_pipe2): Change define into an extern int.
2036 (__have_dup3): Likewise.
2037 * socket/have_sock_cloexec.c: Include fcntl.h.
2038 (__have_pipe2): New variable.
2039 (__have_dup3): Likewise.
2040
fdab8fd3
MF
20412012-08-17 Mike Frysinger <vapier@gentoo.org>
2042
2043 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
2044
31035e80
MP
20452012-08-17 Marek Polacek <polacek@redhat.com>
2046
2047 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
2048 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
2049
3bd9e993
RM
20502012-08-17 Roland McGrath <roland@hack.frob.com>
2051
c91c505f
RM
2052 * configure.in: Add AC_SUBST for sysheaders.
2053 * configure: Regenerated.
2054 * config.make.in (sysheaders): New substituted variable.
2055
7c6f9d53
RM
2056 * sysdeps/unix/mkfifo.c: Moved ...
2057 * sysdeps/posix/mkfifo.c: ... here.
2058 * sysdeps/unix/mkfifoat.c: Moved ...
2059 * sysdeps/posix/mkfifoat.c: ... here.
2060
2061 * sysdeps/unix/utime.c: Moved ...
2062 * sysdeps/posix/utime.c: ... here.
2063
2064 * sysdeps/unix/time.c: Moved ...
2065 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
2066 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
2067 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
2068
2069 * sysdeps/unix/nice.c: Moved ...
2070 * sysdeps/posix/nice.c: ... here.
2071
2072 * sysdeps/unix/alarm.c: Moved ...
2073 * sysdeps/posix/alarm.c: ... here.
2074
3bd9e993
RM
2075 * intl/Makefile ($(codeset_mo)): Depend on the input file.
2076
d1f09384
JL
20772012-08-17 Jeff Law <law@redhat.com>
2078
2079 * intl/Makefile (codeset_mo): New variable.
2080 ($(codeset_mo)): New target.
2081 (tst-codeset.out): Depend on that. Remove explicit rule.
2082 (tst-gettext3.out, tst-gettext5.out): Likewise.
2083 (LOCPATH-ENV, tst-codeset-ENV): New variables.
2084 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
2085 * intl/tst-codeset.sh: Remove.
2086 * intl/tst-gettext3.sh: Likewise.
2087 * intl/tst-gettext5.sh: Likewise.
2088
2ae1ae5c
RM
20892012-08-17 Roland McGrath <roland@hack.frob.com>
2090
c31fdb83
RM
2091 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
2092 * sysdeps/unix/syscalls.list: ... here.
2093
a0844057
RM
2094 * sysdeps/posix/getaddrinfo.c
2095 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
2096 (gaiconf_init, gaiconf_reload): Use them.
2097 [!_STATBUF_ST_NSEC]
2098 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
2099 Define using time_t rather than struct timespec.
2100
750c1f2a
RM
2101 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
2102 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
2103 Macros removed.
2104 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
2105 [!NO_THREADS].
2106 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
2107 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
2108 Likewise.
2109
2ae1ae5c
RM
2110 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
2111 __libc_cleanup_push argument.
2112
e66a42f5
RM
2113 * bits/param.h: New file.
2114 * misc/sys/param.h: New file.
2115 * include/sys/param.h: New file.
2116 * misc/Makefile (headers): Add bits/param.h.
2117 * sysdeps/generic/sys/param.h: File removed.
2118 * sysdeps/unix/sysv/linux/bits/param.h: New file.
2119 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
2120 * sysdeps/mach/hurd/bits/param.h: New file.
2121 * sysdeps/mach/hurd/sys/param.h: New file.
2122
b7c08a66
RM
2123 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
2124 last change.
2125
b2e1c562
RM
2126 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
2127 [_IO_MTSAFE_IO].
2128 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
2129 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
2130 New macros.
2131
c75ccd4c
RM
2132 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
2133 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
2134 rather than -D_IO_MTSAFE_IO conditionally.
2135 * stdio-common/Makefile (CPPFLAGS): Likewise.
2136 * wcsmbs/Makefile (CPPFLAGS): Likewise.
2137 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
2138 Use $(libio-mtsafe).
2139 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
2140 of -D_IO_MTSAFE_IO.
2141 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
2142 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
2143 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
2144 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
2145 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
2146 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
2147 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
2148 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
2149 (CFLAGS-fread_u_chk.c): Likewise.
2150 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
2151 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
2152 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
2153 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
2154 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
2155 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
2156 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
2157 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
2158 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
2159
2160 * libio/Makefile: Test [$(libc-reentrant) = yes]
2161 instead of [$(filter %REENTRANT, $(defines)) nonempty].
2162
2163 * Makeconfig
2164 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
2165 * sysdeps/pthread/configure: File removed.
2166 * sysdeps/pthread/Makeconfig: New file.
2167 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
2168 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
2169
d9195db8
GB
21702012-08-16 Gary Benson <gbenson@redhat.com>
2171
2172 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
2173 unmapping the first object in a namespace.
2174
86466cd9
RM
21752012-08-16 Roland McGrath <roland@hack.frob.com>
2176
2177 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
2178 (__internal_setnetgrent): ... this. Add internal_function to
2179 definition. Add libc_hidden_def.
2180 (setnetgrent): Update caller.
2181 (internal_endnetgrent): Renamed to ...
2182 (__internal_endnetgrent): ... this. Add internal_function to
2183 definition. Add libc_hidden_def.
2184 (endnetgrent): Update caller.
2185 (internal_getnetgrent_r): Renamed to ...
2186 (__internal_getnetgrent_r): ... this. Add internal_function to
2187 definition. Add libc_hidden_def.
2188 (__getnetgrent_r): Update caller.
2189 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
2190
c3c8283c
JM
21912012-08-16 Joseph Myers <joseph@codesourcery.com>
2192
2193 * stdlib/longlong.h: Update from GCC.
2194
db1ee0a8
RM
21952012-08-16 Roland McGrath <roland@hack.frob.com>
2196
2197 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
2198 on _QL, which is set by umul_ppmm but never used.
2199 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
2200 variables, which are set by GMP macros but never used.
2201 * stdio-common/_itowa.c (_itowa): Likewise.
2202 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
2203 * stdlib/mod_1.c (mpn_mod_1): Likewise.
2204
30f69637
CD
22052012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
2206
2207 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
2208 struct La_sh_regs is not constant.
2209 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
2210 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
2211 and struct La_sparc64_regs are not constant.
2212
93a78ac4
JM
22132012-08-16 Joseph Myers <joseph@codesourcery.com>
2214
2215 * sysdeps/unix/sysv/linux/kernel-features.h
2216 (__ASSUME_POSIX_TIMERS): Remove.
2217 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2218 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2219 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
2220 Make code unconditional.
2221 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2222 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
2223 Make code unconditional.
2224 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2225 * sysdeps/unix/sysv/linux/clock_nanosleep.c
2226 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
2227 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2228 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
2229 Make code unconditional.
2230 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2231 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
2232 (__libc_missing_posix_timers): Remove.
2233
dd924cd7
RM
22342012-08-15 Roland McGrath <roland@hack.frob.com>
2235
4b4f2771
RM
2236 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
2237 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
2238
601c888b
RM
2239 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
2240
176790a7
RM
2241 * elf/dl-sym.c: Include <stdlib.h>.
2242
329bc018
RM
2243 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
2244 constants, which avoids warnings in 32-bit builds.
2245
e04e272d
RM
2246 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
2247 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
2248
952bf94a
RM
2249 * misc/lseek.c: File moved to ...
2250 * io/lseek.c: ... here.
2251
7c99b50a
RM
2252 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
2253
dd924cd7
RM
2254 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
2255 shifting LEN more than 31 bits at once.
2256
b3f479a8
LD
22572012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2258
2259 [BZ #14195]
8c4ae0d4
RM
2260 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
2261 segmentation fault for a case of two empty input strings.
b3f479a8
LD
2262 * string/test-strncasecmp.c (check1): Renamed to...
2263 (bz12205): ...this.
2264 (bz14195): Add new testcase for two empty input strings and N > 0.
2265 (test_main): Call new testcase, adapt for renamed function.
2266
9c55864e
AJ
22672012-08-15 Andreas Jaeger <aj@suse.de>
2268
2269 [BZ #14090]
2270 * crypt/md5test2.c: New test, based on test supplied by Serge
2271 Belyshev <belyshev@depni.sinp.msu.ru>.
2272 * crypt/Makefile (xtests): Add md5test-giant..
2273 * crypt/Makefile ($(objpfx)md5test-giant): Add.
2274
02dcb6c5
PE
22752012-08-15 Paul Eggert <eggert@cs.ucla.edu>
2276
2277 [BZ #14090]
2278 * crypt/md5.c (md5_process_block): Don't assume the buffer
2279 length is less than 2**32.
2280 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
2281 length is less than 2**64.
2282
a3f95dcc
RM
22832012-08-15 Roland McGrath <roland@hack.frob.com>
2284
be75d758
RM
2285 * string/str-two-way.h: Include <sys/param.h>.
2286 (MAX): Macro removed.
2287
7312ca90
RM
2288 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
2289 Move #define and #undef of memmove to just before and after
2290 including <string.h>.
2291
9a0a5486
RM
2292 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
2293 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
2294 and after including <string.h>. Move declarations of
2295 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
2296 to before #include "string/memmove.c".
2297
67cc348d
RM
2298 * include/dirent.h: Declare __getdirentries.
2299
a3f95dcc
RM
2300 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
2301 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
2302
ca98e171
MF
23032012-08-14 Mike Frysinger <vapier@gentoo.org>
2304
2305 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
2306 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
2307 * sysdeps/i386/configure: Regenerated.
2308 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
2309 STABS_CURRENT_FILE, and STABS_FUN.
2310 (END): Remove call to STABS_FUN_END.
2311 (STABS_CURRENT_FILE1): Delete.
2312 (STABS_CURRENT_FILE): Likewise.
2313 (STABS_FUN): Likewise.
2314 (STABS_FUN_END): Likewise.
2315 (STABS_FUN2): Likewise.
2316 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
2317 * sysdeps/x86_64/configure: Regenerated.
2318
5908bf46
RM
23192012-08-14 Roland McGrath <roland@hack.frob.com>
2320
2321 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 2322 * elf/dl-lookup.c: Likewise.
5908bf46 2323
f2c05b9e
JM
23242012-08-14 Joseph Myers <joseph@codesourcery.com>
2325
2326 * sysdeps/unix/sysv/linux/kernel-features.h
2327 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
2328 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
2329 unconditionally.
2330 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
2331 unconditionally.
2332 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
2333 condition on __ASSUME_CLONE_THREAD_FLAGS.
2334
e11f5155
AJ
23352012-08-14 Andreas Jaeger <aj@suse.de>
2336
2337 * sysdeps/i386/fpu/libm-test-ulps: Update.
2338
51a9ba86
MK
23392012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
2340
2fdd4f78
AJ
2341 * include/atomic.h (atomic_exchange_and_add): Split into ...
2342 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
2343 New atomic macros.
51a9ba86 2344
ba6cba9e
MT
23452012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
2346
2347 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2348
42443a47
JL
23492012-08-13 Jeff Law <law@redhat.com>
2350
2351 * manual/stdio.texi (snprintf): Clarify handling of the trailing
2352 null byte in the output string.
2353
121dce05
JM
23542012-08-10 Joseph Myers <joseph@codesourcery.com>
2355
2356 * sysdeps/unix/sysv/linux/kernel-features.h
2357 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
2358 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
2359 (__ASSUME_ARG_MAX_STACK_BASED): Define.
2360 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2361 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
2362 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
2363 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
2364
bf51f568
JL
23652012-08-09 Jeff Law <law@redhat.com>
2366
2367 [BZ #13939]
2368 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
2369 When avoid_arena is set, don't retry in the that arena. Pick the
2370 next one, whatever it might be.
2371 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
2372 (arena_lock): Pass in new parameter to arena_get2.
2373 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
2374 arena_get2.
2375 (__libc_malloc): Unify retrying after main arena failure with
2376 __libc_memalign version.
2377 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
2378
f85fa270
L
23792012-08-09 H.J. Lu <hongjiu.lu@intel.com>
2380
2381 [BZ #14166]
2382 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
2383 to __redirect_strstr.
2384 (__strstr_sse42): Use typeof __redirect_strstr.
2385 (__strstr_ia32): Likewise.
2386 (__libc_strstr): New prototype.
2387 (strstr): Renamed to ...
2388 (__libc_strstr): This.
2389 (strstr): New strong alias of __libc_strstr.
2390 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2391 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
2392 __redirect_time.
2393 Include <time.h>.
2394 (__libc_time): New prototype.
2395 (time_ifunc): Replace time with __libc_time.
2396 (time): New strong alias and hidden definition of __libc_time.
2397 (__GI_time): Remove strong alias.
2398 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
2399 Include <stddef.h>.
2400 (memmove): Redefined to __redirect_memmove.
2401 (__memmove_sse2): Use typeof __redirect_memmove.
2402 (__memmove_ssse3): Likewise.
2403 (__memmove_ssse3_back): Likewise.
2404 (__libc_memmove): New prototype.
2405 (memmove): Renamed to ...
2406 (__libc_memmove): This.
2407 (memmove): New strong alias of __libc_memmove.
2408
33b4a91e
MS
24092012-08-08 Mark Salter <msalter@redhat.com>
2410
2411 * elf/elf.h
2412 (R_MN10300_TLS_GD): Define.
2413 (R_MN10300_TLS_LD): Likewise.
2414 (R_MN10300_TLS_LDO): Likewise.
2415 (R_MN10300_TLS_GOTIE): Likewise.
2416 (R_MN10300_TLS_IE): Likewise.
2417 (R_MN10300_TLS_LE): Likewise.
2418 (R_MN10300_TLS_DTPMOD): Likewise.
2419 (R_MN10300_TLS_DTPOFF): Likewise.
2420 (R_MN10300_TLS_TPOFF): Likewise.
2421 (R_MN10300_SYM_DIFF): Likewise.
2422 (R_MN10300_ALIGN): Likewise.
2423 (R_MN10300_NUM): Update.
2424
b36137f1
JM
24252012-08-08 Joseph Myers <joseph@codesourcery.com>
2426
2427 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
2428 Remove.
2429
cdd915fd
RM
24302012-08-08 Roland McGrath <roland@hack.frob.com>
2431
a2433aac
RM
2432 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
2433
cdd915fd
RM
2434 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
2435 sysdeps/unix -> sysdeps/posix move.
2436 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2437
bf9b740a
AM
24382012-08-07 Allan McRae <allan@archlinux.org>
2439
2440 [BZ #14303]
2441 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
2442 (SUNOS_CPP): Likewise.
2443 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
2444 not found.
2445 (open_input): Call CPP using execvp.
2446
93df14ee
JM
24472012-08-07 Joseph Myers <joseph@codesourcery.com>
2448
2449 * sysdeps/unix/sysv/linux/kernel-features.h
2450 (__ASSUME_PROT_GROWSUPDOWN): Remove.
2451 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2452 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2453 (__ASSUME_WAITID_SYSCALL): Likewise.
2454 * sysdeps/unix/sysv/linux/dl-execstack.c
2455 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
2456 code unconditional.
2457 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
2458 conditional code.
2459 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
2460 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
2461 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
2462 code.
2463 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
2464 unconditional.
2465 [__ASSUME_WAITID_SYSCALL]: Likewise.
2466 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
2467
d34689de
RM
24682012-08-07 Roland McGrath <roland@hack.frob.com>
2469
a281decc
RM
2470 * sysdeps/unix/closedir.c: Renamed to ...
2471 * sysdeps/posix/closedir.c: ... here.
2472 * sysdeps/unix/dirfd.c: Renamed to ...
2473 * sysdeps/posix/dirfd.c: ... here.
2474 * sysdeps/unix/dirstream.h: Renamed to ...
2475 * sysdeps/posix/dirstream.h: ... here.
2476 * sysdeps/unix/fdopendir.c: Renamed to ...
2477 * sysdeps/posix/fdopendir.c: ... here.
2478 * sysdeps/unix/opendir.c: Renamed to ...
2479 * sysdeps/posix/opendir.c: ... here.
2480 * sysdeps/unix/readdir.c: Renamed to ...
2481 * sysdeps/posix/readdir.c: ... here.
2482 * sysdeps/unix/readdir_r.c: Renamed to ...
2483 * sysdeps/posix/readdir_r.c: ... here.
2484 * sysdeps/unix/rewinddir.c: Renamed to ...
2485 * sysdeps/posix/rewinddir.c: ... here.
2486 * sysdeps/unix/seekdir.c: Renamed to ...
2487 * sysdeps/posix/seekdir.c: ... here.
2488 * sysdeps/unix/telldir.c: Renamed to ...
2489 * sysdeps/posix/telldir.c: ... here.
2490 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
2491 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2492 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
2493 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
2494
22895b47
RM
2495 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
2496 * bits/fcntl.h: ... here.
2497
707a53b6
RM
2498 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
2499 not 0.
2500 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
2501 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
2502 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
2503 (struct flock): Move l_start, l_len to the beginning.
2504 Use __pid_t for l_pid.
2505 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
2506 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
2507 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
2508 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
2509 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
2510 [__USE_LARGEFILE64] (struct flock64): New type.
2511 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
2512
f0bd3e25
RM
2513 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
2514 * bits/dirent.h: ... here.
2515
d34689de
RM
2516 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
2517 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
2518
6dad2c06
JM
25192012-08-07 Joseph Myers <joseph@codesourcery.com>
2520
2521 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2522 Change from 2.6.0 to 2.6.16.
2523 * sysdeps/unix/sysv/linux/configure: Regenerated.
2524 * sysdeps/unix/sysv/linux/kernel-features.h
2525 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
2526 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
2527 version.
2528 (__ASSUME_UTIMES): Likewise.
2529 (__ASSUME_CLONE_STOPPED): Remove.
2530 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
2531 architectures, not kernel version.
2532 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
2533 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2534 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2535 (__ASSUME_WAITID_SYSCALL): Likewise.
2536 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
2537 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
2538 * README: State 2.6.16 as minimum Linux kernel version. Do not
2539 refer to older versions.
2540
03af9520
RM
25412012-08-06 Roland McGrath <roland@hack.frob.com>
2542
8e49df1d
RM
2543 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
2544 Define alphasort64 as an alias.
2545 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
2546 Define versionsort64 as an alias.
2547 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
2548 Define scandir64 as an alias.
2549 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
2550 Define scandirat64 as an alias.
2551 * dirent/alphasort64.c (alphasort64):
2552 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
2553 * dirent/versionsort64.c: Likewise.
2554 * dirent/scandir64.c: Likewise.
2555 * dirent/scandirat64.c: Likewise.
2556 * sysdeps/wordsize-64/alphasort.c: File removed.
2557 * sysdeps/wordsize-64/alphasort64.c: File removed.
2558 * sysdeps/wordsize-64/scandir.c: File removed.
2559 * sysdeps/wordsize-64/scandir64.c: File removed.
2560 * sysdeps/wordsize-64/scandirat.c: File removed.
2561 * sysdeps/wordsize-64/scandirat64.c: File removed.
2562 * sysdeps/wordsize-64/versionsort.c: File removed.
2563 * sysdeps/wordsize-64/versionsort64.c: File removed.
2564 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
2565 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
2566 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
2567 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
2568 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
2569 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
2570 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
2571 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
2572
2573 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
2574 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2575 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
2576 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2577 [defined __arch64__ || defined __sparcv9]
2578 (__INO_T_MATCHES_INO64_T): New macro.
2579 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2580 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
2581 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
2582 * sysdeps/unix/sysv/linux/bits/dirent.h
2583 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
2584 (_DIRENT_MATCHES_DIRENT64): New macro.
2585
03af9520
RM
2586 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
2587 Define lockf64 as an alias.
2588 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
2589 Define fseeko64 as an alias.
2590 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
2591 Define ftello64 as an alias.
2592 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
2593 Define _IO_fgetpos64 and fgetpos64 as aliases.
2594 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
2595 Define _IO_fsetpos64 and fsetpos64 as aliases.
2596 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
2597 Conditionalize body on this.
2598 * libio/fseeko64.c: Likewise.
2599 * libio/ftello64.c: Likewise.
2600 * libio/iofgetpos64.c: Likewise.
2601 * libio/iofsetpos64.c: Likewise.
2602 * sysdeps/wordsize-64/lockf.c: File removed.
2603 * sysdeps/wordsize-64/lockf64.c: File removed.
2604 * sysdeps/wordsize-64/fseeko.c: File removed.
2605 * sysdeps/wordsize-64/fseeko64.c: File removed.
2606 * sysdeps/wordsize-64/ftello.c: File removed.
2607 * sysdeps/wordsize-64/ftello64.c: File removed.
2608 * sysdeps/wordsize-64/iofgetpos.c: File removed.
2609 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
2610 * sysdeps/wordsize-64/iofsetpos.c: File removed.
2611 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
2612 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
2613 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
2614 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
2615 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
2616 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
2617 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
2618 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
2619 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
2620 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
2621 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
2622
2623 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2624 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2625 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
2626 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2627 [defined __arch64__ || defined __sparcv9]
2628 (__OFF_T_MATCHES_OFF64_T): New macro.
2629 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2630 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2631 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2632 (__OFF_T_MATCHES_OFF64_T): New macro.
2633
c5757acd
L
26342012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2635
2636 * stdlib/secure-getenv.c (__secure_getenv): Replace
2637 GLIBC_2_16 with GLIBC_2_17.
2638
3a31811e
L
26392012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2640
2641 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
2642 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2643
faa2bccb
DM
26442012-08-03 David S. Miller <davem@davemloft.net>
2645
2646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2647
85fe1997
JM
26482012-08-03 Joseph Myers <joseph@codesourcery.com>
2649
2650 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
2651 Remove.
2652 (__ASSUME_CORRECT_SI_PID): Likewise.
2653 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
2654 (__ASSUME_TMPFS_NAME): Likewise.
2655 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
2656 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
2657 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
2658 (HAVE_AUX_SECURE): Make definition unconditional.
2659 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
2660 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
2661
4f75b7a0
RM
26622012-08-03 Roland McGrath <roland@hack.frob.com>
2663
2664 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
2665 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
2666 * sysdeps/mach/hurd/eloop-threshold.h: New file.
2667 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2668 __eloop_threshold instead of SYMLOOP_MAX.
2669
2670 * sysdeps/generic/eloop-threshold.h: New file.
2671 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
2672 of MAXSYMLINKS.
2673 * elf/chroot_canon.c (chroot_canon): Likewise.
2674
7aab07e4
JM
26752012-08-03 Joseph Myers <joseph@codesourcery.com>
2676
2677 [BZ #13717]
2678 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2679 Change to 2.6.0 everywhere.
2680 * sysdeps/unix/sysv/linux/configure: Regenerated.
2681 * sysdeps/unix/sysv/linux/kernel-features.h
2682 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
2683 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
2684 kernel versions.
2685 (__ASSUME_POSIX_TIMERS): Define unconditionally.
2686 (__ASSUME_FUTEX_REQUEUE): Remove.
2687 (__ASSUME_STATFS64): Define unconditionally.
2688 (__ASSUME_AT_SECURE): Likewise.
2689 (__ASSUME_CORRECT_SI_PID): Likewise.
2690 (__ASSUME_TGKILL): Define without depending on kernel version for
2691 i386.
2692 (__ASSUME_UTIMES): Likewise.
2693 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
2694 kernel version.
2695 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
2696 (__ASSUME_TMPFS_NAME): Likewise.
2697 * README: Update reference to Linux kernel versions.
2698
b67e9372
MP
26992012-08-02 Marek Polacek <polacek@redhat.com>
2700
1f529f7d 2701 [BZ# 14150]
b67e9372
MP
2702 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
2703 libc_cv_asm_type_prefix with %.
2704 * configure: Regenerated.
d2441631
RM
2705 * include/libc-symbols.h: Remove comment about
2706 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
2707 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
2708 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
2709 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
2710 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
2711 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2712 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
2713 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
2714 * elf/tst-unique2mod1.c: Likewise.
2715 * elf/tst-unique1mod2.c: Likewise.
2716 * elf/tst-unique1mod1.c: Likewise.
2717 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
2718 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
2719 Replace ASM_TYPE_DIRECTIVE with .type.
2720 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2721 * sysdeps/i386/sysdep.h: Likewise.
2722 * sysdeps/x86_64/sysdep.h: Likewise.
2723 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
2724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2725 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 2726 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
2727 * sysdeps/powerpc/powerpc32/sysdep.h:
2728 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
2729 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2730 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2731 * sysdeps/i386/fpu/e_powf.S: Likewise.
2732 * sysdeps/i386/fpu/e_expl.S: Likewise.
2733 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2734 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2735 * sysdeps/i386/fpu/e_pow.S: Likewise.
2736 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2737 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2738 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2739 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2740 * sysdeps/i386/fpu/e_log2.S: Likewise.
2741 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2742 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2743 * sysdeps/i386/fpu/e_powl.S: Likewise.
2744 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2745 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2746 * sysdeps/i386/fpu/e_logl.S: Likewise.
2747 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2748 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2749 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2750 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2751 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2752 * sysdeps/i386/fpu/e_log.S: Likewise.
2753 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2754 * sysdeps/i386/fpu/e_logf.S: Likewise.
2755 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2756 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2757 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2758 * sysdeps/i386/fpu/e_log10.S: Likewise.
2759 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2760 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2761 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2762 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2763 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2764 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
2765 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2766 * sysdeps/i386/i686/strtok.S: Likewise.
2767 * sysdeps/i386/i386-mcount.S: Likewise.
2768 * sysdeps/i386/strtok.S: Likewise.
2769 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
2770 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2771 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2772 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2773 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2774 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2775 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2776 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2777 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2778 * sysdeps/x86_64/_mcount.S: Likewise.
2779 * sysdeps/x86_64/strtok.S: Likewise.
2780 * sysdeps/sh/_mcount.S: Likewise.
2781
2747bf9a
RM
27822012-08-01 Roland McGrath <roland@hack.frob.com>
2783
2784 * libio/iofopen.c: Include <fcntl.h>.
2785 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
2786 (_IO_fopen64, fopen64): Define as aliases.
2787 * libio/iofopen64.c: Include <fcntl.h>.
2788 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
2789 Conditionalize body on this.
2790 * sysdeps/wordsize-64/iofopen.c: File removed.
2791 * sysdeps/wordsize-64/iofopen64.c: File removed.
2792
3fb791b8
MP
27932012-08-01 Marek Polacek <polacek@redhat.com>
2794
2795 * libc/Makeconfig: Use elf in place of binfmt-subdir.
2796 Use dlfcn directly instead of a variable.
2797 (binfmt-subdir): Do not define.
2798 (dlfcn): Likewise.
2799
a9f1039f
JM
28002012-08-01 Joseph Myers <joseph@codesourcery.com>
2801
23bddc06
JM
2802 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2803 Remove all definitions.
2804 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
2805 <kernel-features.h>.
2806 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2807 (miss_F_GETOWN_EX): Remove all definitions.
2808 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
2809 macro definition.
2810 [!__ASSUME_FCNTL64]: Remove conditional code.
2811 [__ASSUME_FCNTL64]: Make code unconditional.
2812 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
2813 <kernel-features.h>.
2814 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2815 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
2816 (lockf64) [__NR_fcntl64]: Make code unconditional.
2817 (lockf64) [__ASSUME_FCNTL64]: Likewise.
2818
a9f1039f
JM
2819 * sysdeps/unix/sysv/linux/kernel-features.h
2820 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
2821 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
2822 Make code unconditional.
2823 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2824 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
2826 [__NR_vfork]: Make code unconditional.
2827 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2828 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
2830 [__NR_vfork]: Make code unconditional.
2831 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2832 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2833
09c0ee5f
RM
28342012-08-01 Roland McGrath <roland@hack.frob.com>
2835
48aec5b9
RM
2836 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
2837 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
2838
cd97c966
RM
2839 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2840 Define mkstemp64 as an alias.
3f55550c
RM
2841 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2842 Define mkstemps64 as an alias.
cd97c966
RM
2843 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2844 Define mkostemp64 as an alias.
b8625cfc
RM
2845 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2846 Define mkostemps64 as an alias.
cd97c966
RM
2847 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
2848 Conditionalize body on this.
2849 * misc/mkostemp64.c: Likewise.
b8625cfc 2850 * misc/mkostemps64.c: Likewise.
3f55550c 2851 * misc/mkstemps64.c: Likewise.
cd97c966
RM
2852 * sysdeps/wordsize-64/mkstemp64.c: File removed.
2853 * sysdeps/wordsize-64/mkostemp64.c: File removed.
2854 * sysdeps/wordsize-64/mkostemp.c: File removed.
2855 * sysdeps/wordsize-64/mkstemp.c: File removed.
2856 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
2857 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
2858 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
2859 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
2860
09c0ee5f
RM
2861 [BZ #14138]
2862 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
2863 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
2864 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
2865 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
2866
2867 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
2868 compat_symbol macros from <shlib-compat.h> rather than the underlying
2869 default_symbol_version and symbol_version macros, so that DEFAULT
2870 lines in shlib-versions are respected.
2871 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
2872
7e66ee51
FW
28732012-08-01 Florian Weimer <fweimer@redhat.com>
2874
2875 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
2876 Declare with warn_unused_result.
2877 (setgid, setregid, setegid, setresgid): Likewise.
2878 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
2879 Likewise.
2880 * WUR-REPORT: Remove set*id functions.
2881
d2a54255
PT
28822012-07-31 Pino Toscano <toscano.pino@tiscali.it>
2883
2884 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
2885
7ecdb005
RM
28862012-07-31 Roland McGrath <roland@hack.frob.com>
2887
789bd351
RM
2888 * include/sys/socket.h (__libc_accept, __libc_accept4):
2889 Add attribute_hidden.
2890 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
2891
40ce302d
RM
2892 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
2893 use of PTR_MANGLE.
2894 * inet/getnetgrent_r.c (setup): Likewise.
2895
7ecdb005
RM
2896 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
2897
e2eabb2c
DM
28982012-07-31 David S. Miller <davem@davemloft.net>
2899
2900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2901
d0419dbf
JM
29022012-07-31 Joseph Myers <joseph@codesourcery.com>
2903
2904 [BZ #13629]
2905 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
2906 value between 1.0 and 2.0 and smaller part has absolute value less
2907 than 1.0.
2908 * math/s_clog10.c (__clog10): Likewise.
2909 * math/s_clog10f.c (__clog10f): Likewise.
2910 * math/s_clog10l.c (__clog10l): Likewise.
2911 * math/s_clogf.c (__clogf): Likewise.
2912 * math/s_clogl.c (__clogl): Likewise.
2913 * math/libm-test.inc (clog_test): Add more tests.
2914 (clog10_test): Likewise.
2915 * sysdeps/i386/fpu/libm-test-ulps: Update.
2916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2917
2bc13872
FW
29182012-07-31 Florian Weimer <fweimer@redhat.com>
2919
2920 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
2921 Exit with zero in case no suitable GID is found, and write a
2922 message to standard error.
2923
bea9b193
RM
29242012-07-30 Roland McGrath <roland@hack.frob.com>
2925
2926 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
2927 rather than to 1.
2928 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
2929 (MAXPATHLEN): Removed.
2930 (NOGROUP, NODEV): New macros.
2931 (setbit, clrbit, isset, isclr): New macros.
2932 (howmany, roundup, powerof2): New macros.
2933 (DEV_BSIZE): New macro.
2934
2935 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
2936 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
2937
2938 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
2939 definition on [!__NO_LONG_DOUBLE_MATH].
2940
2941 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
2942 PTR_MANGLE and PTR_DEMANGLE.
2943
2944 * socket/accept4.c (accept4): Rename to __libc_accept4.
2945 Define accept4 as a weak alias.
2946
2947 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
2948 on [_DIRENT_HAVE_D_TYPE].
2949 * io/ftw.c (ftw_dir): Likewise.
2950
2951 * io/xmknod.c (__xmknod): Don't check PATH for being null.
2952
2953 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
2954
2955 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
2956 Use the BSD numbers rather than the arbitrary ones we had.
2957 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
2958 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
2959 (SIGXCPU, SIGXFSZ): New macros.
2960 (_NSIG): Now 32.
2961
2962 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
2963 initializer on [_LIBC_REENTRANT].
2964
2965 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
2966 definitions inside [_POSIX_MAPPED_FILES].
2967
2968 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
2969
2970 * dirent/opendir.c: Include <fcntl.h>.
2971
2972 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
2973 (__libc_getspecific): Likewise.
2974 (__libc_key_create): Likewise.
2975
2976 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
2977 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
2978 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
2979 (tmpfile64): Define as alias.
2980 * sysdeps/wordsize-64/tmpfile.c: File removed.
2981 * sysdeps/wordsize-64/tmpfile64.c: File removed.
2982 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
2983 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
2984
2985 * stdio-common/vfscanf.c: Include <stdbool.h>.
2986 * nss/makedb.c: Likewise.
2987 * stdio-common/_i18n_number.h: Likewise.
2988 * argp/argp-help.c: Likewise.
2989 * posix/wordexp.c: Likewise.
2990 * sysdeps/posix/spawni.c: Likewise.
2991 * nss/nss_files/files-initgroups.c: Likewise.
2992 * stdio-common/reg-modifier.c: Include <stdlib.h>.
2993 * nss/nss_files/files-initgroups.c: Likewise.
2994 * nss/nss_db/db-netgrp.c: Likewise.
2995 * nss/nss_db/db-initgroups.c: Likewise.
2996 * io/fchmodat.c: Include <sys/stat.h>.
2997
2998 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
2999 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
3000
3001 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
3002 [HAVE_MMAP].
3003
3004 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
3005 Add multiple inclusion protection.
3006
e5abc686
DM
30072012-07-27 David S. Miller <davem@davemloft.net>
3008
3009 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3010
815e6fa3
GB
30112012-07-27 Gary Benson <gbenson@redhat.com>
3012
3013 [BZ #14298]
3014 * elf/rtld.c: Include <stap-probe.h>.
3015 (dl_main): Added static probes "init_start" and "init_complete".
3016 * elf/dl-load.c: Include <stap-probe.h>.
3017 (lose): Take new parameter "nsid".
3018 Added static probe "map_failed".
3019 (_dl_map_object_from_fd): Pass namespace id to lose.
3020 Added static probe "map_start".
3021 (open_verify): Pass namespace id to lose.
3022 * elf/dl-open.c: Include <stap-probe.h>.
3023 (dl_open_worker) Added static probes "map_complete", "reloc_start"
3024 and "reloc_complete".
3025 * elf/dl-close.c: Include <stap-probe.h>.
3026 (_dl_close_worker): Added static probes "unmap_start" and
3027 "unmap_complete".
3028 * elf/rtld-debugger-interface.txt: New file documenting the above.
3029
9f98c16c
RM
30302012-07-26 Roland McGrath <roland@hack.frob.com>
3031
3032 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
3033 rather than a string variable.
3034 * sunrpc/rpc_main.c (h_output): Likewise.
3035 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
3036
f3c22df3
PT
30372012-07-26 Pino Toscano <toscano.pino@tiscali.it>
3038
3039 * inet/check_native.c: New file.
3040
3129cfc6
JM
30412012-07-26 Joseph Myers <joseph@codesourcery.com>
3042
da865e95
JM
3043 [BZ #13629]
3044 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
3045 if larger part has absolute value 1.0.
3046 * math/s_clog10.c (__clog10): Likewise.
3047 * math/s_clog10f.c (__clog10f): Likewise.
3048 * math/s_clog10l.c (__clog10l): Likewise.
3049 * math/s_clogf.c (__clogf): Likewise.
3050 * math/s_clogl.c (__clogl): Likewise.
3051 * math/libm-test.inc (clog_test): Add more tests.
3052 (clog10_test): Likewise.
3053 * sysdeps/i386/fpu/libm-test-ulps: Update.
3054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3055
3129cfc6
JM
3056 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
3057 (pltexit): Likewise.
3058 (La_regs): Likewise.
3059 (La_retval): Likewise.
3060 (int_retval): Likewise.
3061 Update #error for removed macros to refer only to definitions in
3062 tst-audit.h.
3063 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
3064 macro.
3065 (pltexit): Likewise.
3066 (La_regs): Likewise.
3067 (La_retval): Likewise.
3068 (int_retval): Likewise.
3069 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
3070 macro.
3071 (pltexit): Likewise.
3072 (La_regs): Likewise.
3073 (La_retval): Likewise.
3074 (int_retval): Likewise.
3075 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
3076 macro.
3077 (pltexit): Likewise.
3078 (La_regs): Likewise.
3079 (La_retval): Likewise.
3080 (int_retval): Likewise.
3081 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
3082 macro.
3083 (pltexit): Likewise.
3084 (La_regs): Likewise.
3085 (La_retval): Likewise.
3086 (int_retval): Likewise.
3087 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
3088 macro.
3089 (pltexit): Likewise.
3090 (La_regs): Likewise.
3091 (La_retval): Likewise.
3092 (int_retval): Likewise.
3093 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
3094 macro.
3095 (pltexit): Likewise.
3096 (La_regs): Likewise.
3097 (La_retval): Likewise.
3098 (int_retval): Likewise.
3099 * sysdeps/generic/tst-audit.h: Update comment to refer only to
3100 macro definitions in tst-audit.h.
3101 * sysdeps/i386/tst-audit.h: New file.
3102 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
3103 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
3104 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
3105 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
3106 * sysdeps/sh/tst-audit.h: Likewise.
3107 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
3108 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
3109 * sysdeps/x86_64/tst-audit.h: Likewise.
3110
bfc07087
AJ
31112012-07-26 Andreas Jaeger <aj@suse.de>
3112
b1b2aaf8
AJ
3113 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
3114 ptrace.
3115
3116 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
3117 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
3118 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
3119 PTRACE_O_MASK.
3120 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
3121 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
3122 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
3123
bfc07087
AJ
3124 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
3125 value.
3126
3127 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
3128 _sigsys.
3129 (si_call_addr, si_syscall, si_arch): Define new macro.
3130 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
3131 _sigsys.
3132 (si_call_addr, si_syscall, si_arch): Define new marcro.
3133 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
3134 _sigsys.
3135 (si_call_addr, si_syscall, si_arch): Define new macro.
3136 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
3137 _sigsys.
3138 (si_call_addr, si_syscall, si_arch): Define new macro.
3139
89b4b02f
JM
31402012-07-25 Joseph Myers <joseph@codesourcery.com>
3141
3142 [BZ #13717]
3143 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3144 Change to 2.4.21 where previously 2.4.1.
3145 * sysdeps/unix/sysv/linux/configure: Regenerated.
3146 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
3147 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
3148 Linux kernel version.
3149 (__ASSUME_STD_AUXV): Remove.
3150 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
3151 kernel version.
3152 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
3153 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
3154 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
3155 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
3156 (__ASSUME_NETLINK_SUPPORT): Likewise.
3157 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
3158 (__no_netlink_support): Remove conditional definition.
3159 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
3160 Remove.
3161 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3162 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
3163 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
3164 (if_nameindex_ioctl): Remove.
3165 (if_nameindex_netlink): Do not handle __no_netlink_support.
3166 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3167 code.
3168 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
3169 Remove conditional code.
3170 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3171 code.
3172 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
3173 unconditional.
3174 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3175 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
3176 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
3177 Remove.
3178 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3179 [!__ASSUME_STD_AUXV]: Remove conditional code.
3180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
3181 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
3182 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
3183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
3184 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
3185 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3186 code.
3187 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3189 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
3190 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3191 conditional code.
3192 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3194 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3195 code.
3196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3197 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3198 conditional code.
3199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
3200 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3201 code unconditional.
3202 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3203 conditional code.
3204 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3205 unconditional.
3206 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3207 conditional code.
3208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3209 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3210 unconditional.
3211 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3212 conditional code.
3213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3214 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3215 code unconditional.
3216 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3217 conditional code.
3218 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3219 unconditional.
3220 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3221 conditional code.
3222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3223 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3224 code unconditional.
3225 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3226 conditional code.
3227 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3228 unconditional.
3229 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3230 conditional code.
3231
842a39cd
AS
32322012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3233
3234 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
3235 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
3236 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3237 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
3238 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
3239 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3240 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3241 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3242 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
3243 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3244 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
3245 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3246 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
3247 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3248 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3249 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
3250 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
3251 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
3252 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
3253 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
3254 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
3255 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3256 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3257
84b3fd84
FW
32582012-07-25 Florian Weimer <fweimer@redhat.com>
3259
3260 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
3261 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
3262 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
3263 Introduce __libc_secure_getenv.
0c7936d5
FW
3264 * stdlib/Versions (2.17): Add secure_getenv
3265 (GLIBC_PRIVATE): Add __libc_secure_getenv.
3266 * stdlib/secure-getenv.c: Rename __secure_getenv to
3267 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
3268 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
3269 * stdlib/tst-secure-getenv.c: New.
3270 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
3271 * manual/startup.texi (Environment Access): Document
3272 secure_getenv.
84b3fd84
FW
3273 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
3274 __libc_secure_getenv.
3275 * inet/ruserpass.c (ruserpass): Likewise.
3276 * malloc/mtrace.c (mtrace): Likewise.
3277 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 3278 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
3279 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
3280 * sysdeps/posix/tempname.c: Likewise. Evaluate
3281 HAVE_SECURE_GETENV.
3282 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 3283 __secure_getenv to __libc_secure_getenv.
84b3fd84 3284 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
3285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3286 Likewise.
3287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3288 Likewise.
3289 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3290 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3291 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3292 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3293 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3294 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3295 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 3296
56e49b71
JM
32972012-07-25 Joseph Myers <joseph@codesourcery.com>
3298
3299 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
3300 (struct La_i86_retval): Likewise.
3301 (struct La_x86_64_regs): Likewise.
3302 (struct La_x86_64_retval): Likewise.
3303 (struct La_x32_regs): Likewise.
3304 (struct La_x32_retval): Likewise.
3305 (struct La_ppc32_regs): Likewise.
3306 (struct La_ppc32_retval): Likewise.
3307 (struct La_ppc64_regs): Likewise.
3308 (struct La_ppc64_retval): Likewise.
3309 (struct La_sh_regs): Likewise.
3310 (struct La_sh_retval): Likewise.
3311 (struct La_s390_32_regs): Likewise.
3312 (struct La_s390_32_retval): Likewise.
3313 (struct La_s390_64_regs): Likewise.
3314 (struct La_s390_64_retval): Likewise.
3315 (struct La_sparc32_regs): Likewise.
3316 (struct La_sparc32_retval): Likewise.
3317 (struct La_sparc64_regs): Likewise.
3318 (struct La_sparc64_retval): Likewise.
3319 (struct audit_ifaces): Remove architecture-specific pltenter and
3320 pltexit members.
3321 * sysdeps/i386/ldsodefs.h: New file.
3322 * sysdeps/powerpc/ldsodefs.h: Likewise.
3323 * sysdeps/s390/ldsodefs.h: Likewise.
3324 * sysdeps/sh/ldsodefs.h: Likewise.
3325 * sysdeps/sparc/ldsodefs.h: Likewise.
3326 * sysdeps/x86_64/ldsodefs.h: Likewise.
3327
354691b7
MP
33282012-07-25 Marek Polacek <polacek@redhat.com>
3329
3330 [BZ #6808]
3331 * math/libm-test.inc (yn_test): Add another test.
3332 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
3333 to ERANGE when the result is +-Inf.
3334 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3335 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3336 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
3337 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
3338
bf9e2071
JM
33392012-07-24 Joseph Myers <joseph@codesourcery.com>
3340
3341 * conform/data/time.h-data (NULL): Use macro-constant. Require
3342 equal to 0.
3343 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
3344 clock_t.
3345 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
3346
57633811
TS
33472012-07-23 Thomas Schwinge <thomas@codesourcery.com>
3348
3349 * configure.in <sysdeps resolving>: Correct printing
3350 Implies_before.
3351 * configure: Regenerate.
3352
c23c33b0
TS
33532012-07-22 Thomas Schwinge <thomas@codesourcery.com>
3354
3355 * math/w_ilogb.c: Include <limits.h>.
3356 * math/w_ilogbl.c: Likewise.
3357
b5982523
JM
33582012-07-20 Joseph Myers <joseph@codesourcery.com>
3359
3360 * manual/lang.texi (__va_copy): Document primarily as ISO C99
3361 va_copy. Document allowing for unavailable va_copy only as
3362 pre-C99 compatibility.
3363 * manual/string.texi (Copying and Concatenation): Use va_copy
3364 instead of __va_copy in concat example.
3365
ac4ea442
PT
33662012-07-20 Pino Toscano <toscano.pino@tiscali.it>
3367
3368 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
3369 (__sendto): Use create_address_port. Initialize APORT and deallocate
3370 it if not null.
3371
f98eafbd
PT
3372 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
3373 with O_NOLINK passed to __file_name_lookup.
3374
898c7aab
PT
3375 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
3376 with O_NOLINK passed to __file_name_lookup.
3377
0ced335a
PT
3378 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
3379 negative N or less than NGIDS.
3380
b3404dbd
PT
3381 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
3382 type to string_t. Set ERANGE as errno and return it if NAME is not big
3383 enough. Use memcpy instead of strncpy.
3384
0f48659e
JM
33852012-07-20 Joseph Myers <joseph@codesourcery.com>
3386
3387 * elf/Makefile (check-data): Remove.
3388 (localplt.data): New vpath directive.
3389 ($(objpfx)check-localplt.out): Use localplt.data from vpath
3390 instead of $(check-data).
3391 * scripts/data/localplt-generic.data: Move to ...
3392 * sysdeps/generic/localplt.data: ... here.
3393 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
3394 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
3395 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
3396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3397 ... here.
3398 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
3399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3400 ... here.
3401 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
3402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
3403 ... here.
3404 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
3405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3406 ... here.
3407 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
3408 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
3409 ... here.
3410 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
3411 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
3412 ... here.
3413
d37cbdaa
AZ
34142012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3415
3416 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
3417 PPC32 and PPC64 files.
3418 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
3419 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
3420
46f85fc2
AK
34212012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3422
3423 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
3424 __makecontext_ret to ...
3425 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3426 ... here and call exit if uc_link is NULL. New file.
3427 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
3428 __makecontext_ret.S.
3429 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
3430 __makecontext_ret to ...
3431 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3432 ... here and call exit if uc_link is NULL. New file.
3433 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
3434 __makecontext_ret.S.
3435
08f43f9b
AK
34362012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3437
3438 * elf/elf.h (R_390_IRELATIVE): New definition.
3439 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
3440 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
3441 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
3442 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3443 (elf_machine_lazy_rel): Likewise.
3444 * sysdeps/s390/dl-irel.h: New file.
3445 * sysdeps/s390/s390-64/memcpy.S: New asm code.
3446 * sysdeps/s390/s390-64/memset.S: New asm code.
3447 * sysdeps/s390/s390-64/memcmp.S: New asm code.
3448 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
3449 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
3450 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
3451 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
3452 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
3453 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
3454 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
3455 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
3456 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
3457 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
3458 * sysdeps/s390/s390-32/memcpy.S: New asm code.
3459 * sysdeps/s390/s390-32/memset.S: New asm code.
3460 * sysdeps/s390/s390-32/memcmp.S: New asm code.
3461
3b05db33
MP
34622012-07-17 Marek Polacek <polacek@redhat.com>
3463
3464 [BZ #14349]
3465 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
3466 * sysdeps/s390/s390-64/configure.in: Likewise.
3467 * sysdeps/sparc/configure.in: Likewise.
3468 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
3469 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
3470 * sysdeps/i386/configure.in: Likewise.
3471 * sysdeps/x86_64/configure.in: Likewise.
3472 * sysdeps/sh/configure.in: Likewise.
3473 * sysdeps/s390/s390-32/configure: Regenerated.
3474 * sysdeps/s390/s390-64/configure: Likewise.
3475 * sysdeps/x86_64/configure: Likewise.
3476 * sysdeps/sh/configure: Likewise.
3477 * sysdeps/powerpc/powerpc64/configure: Likewise.
3478 * sysdeps/powerpc/powerpc32/configure: Likewise.
3479 * sysdeps/sparc/configure: Likwise.
3480 * sysdeps/i386/configure: Likewise.
3481
a66877c6
MP
3482 * elf/dl-open.c: Comment fixes.
3483
cfc82fd8
JM
34842012-07-17 Joseph Myers <joseph@codesourcery.com>
3485
bd29910a
JM
3486 * Makefile [CXX] (check-data): Remove.
3487 [CXX] (c++-types.data): New vpath directive.
3488 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
3489 vpath. Do not allow for C++ type data being missing.
3490 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
3491 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
3492 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
3493 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
3494 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
3495 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
3496 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
3497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3498 ... here.
3499 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
3500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3501 ... here.
3502 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
3503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
3504 ... here.
3505 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
3506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
3507 ... here.
3508 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
3509 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
3510 ... here.
3511 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
3512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
3513 ... here.
3514 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
3515 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
3516 ... here.
3517 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
3518 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
3519
cfc82fd8
JM
3520 * elf/tls-macros.h (TLS_LE): Move architecture-specific
3521 definitions to architecture-specific files.
3522 (TLS_IE): Likewise.
3523 (TLS_LD): Likewise.
3524 (TLS_GD): Likewise.
3525 * sysdeps/i386/tls-macros.h: New file.
3526 * sysdeps/powerpc/tls-macros.h: Likewise.
3527 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3528 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3529 * sysdeps/sh/tls-macros.h: Likewise.
3530 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
3531 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
3532 * sysdeps/x86_64/tls-macros.h: Likewise.
3533
f7db3170
TS
35342012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3535
07cbfc23
TS
3536 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
3537 zero value for regular exit case.
3538
f7db3170
TS
3539 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3540 (__start_context): Preserve zero value for regular exit case.
3541
dc97c227
TS
35422012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3543 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3544
3545 * manual/setjmp.texi (setcontext): Clarify normal process
3546 termination when uc_link is the null pointer.
3547 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
3548 exit call.
3549
d0cd7d02
AS
35502012-07-16 Andreas Schwab <schwab@linux-m68k.org>
3551
3552 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
3553 preprocessor. Test for each exception mask separately.
3554
dd318934
AJ
35552012-07-16 Andreas Jaeger <aj@suse.de>
3556
3557 * po/ru.po: Update from translation team.
3558
8048311a
JM
35592012-07-15 Joseph Myers <joseph@codesourcery.com>
3560
3561 * conform/data/string.h-data (NULL): Use macro-constant. Require
3562 equal to 0.
3563 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3564 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3565 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
3566 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
3567 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3568
b637d46e
AJ
35692012-07-13 Andreas Jaeger <aj@suse.de>
3570
3571 * po/fr.po: Update from translation team.
3572
541428fe
MP
35732012-07-12 Marek Polacek <polacek@redhat.com>
3574
3575 [BZ #14173]
3576 * math/libm-test.inc (yn_test): Add test for BZ #14173.
3577 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
3578 loop condition.
3579
ec332e94
JM
35802012-07-12 Joseph Myers <joseph@codesourcery.com>
3581
3582 [BZ #13717]
3583 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3584 Change to 2.4.1 where previously 2.4.0.
3585 * sysdeps/unix/sysv/linux/configure: Regenerated.
3586 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
3587 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
3588 version.
3589 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
3590 (__ASSUME_AT_CLKTCK): Remove.
3591 (__ASSUME_AT_PAGESIZE): Likewise.
3592 (__ASSUME_AT_XID): Likewise.
3593 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
3594 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
3595 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
3596 unconditionally.
3597 (HAVE_AUX_PAGESIZE): Likewise.
3598 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
3599 [__ASSUME_AT_CLKTCK]: Make code unconditional.
3600 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
3601
7b6e99be
JB
36022012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
3603
3604 [BZ #14307]
3605 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
3606 the temporary buffer used to invoke __gethostbyname2_r,
3607 __gethostbyaddr_r and gethostbyname4_r to make room for struct
3608 host_data / struct gaih_addrtuple.
3609 * resolv/nss_dns/dns-host.c (global scope): Move definition of
3610 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
3611 header file nss/nsswitch.h.
3612 * nss/nsswitch.h (global scope): Add definition of implementation
3613 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
3614 resolv/nss_dns/dns-host.c).
3615
608404eb
AJ
36162012-07-11 Andreas Jaeger <aj@suse.de>
3617
3618 * po/fr.po: Update from translation team.
3619
71220aca
AJ
3620 * po/sv.po: Update from translation team
3621 * po/fr.po: Another update from translation team.
3622
28cfe843
AZ
36232012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3624
3625 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
3626 for subnormals or multiply small sinh result by itself.
3627 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3628 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3629
6b90f981
DM
36302012-07-11 David S. Miller <davem@davemloft.net>
3631
3632 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3633
c6825772
AS
36342012-07-10 Andreas Schwab <schwab@linux-m68k.org>
3635
3636 [BZ #14347]
3637 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
3638 (INTERNAL_MARK): Shift it here.
3639
7b8e0d49
MP
36402012-07-10 Marek Polacek <polacek@redhat.com>
3641
3642 [BZ #14151]
3643 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
3644 libc_cv_asm_global_directive with .globl.
3645 * configure: Regenerated.
3646 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
3647 with .globl.
3648 * sysdeps/i386/configure: Regenerated.
3649 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
3650 with .globl.
3651 * sysdeps/x86_64/configure: Regenerated.
3652 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
3653 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
3654 * elf/tst-unique2mod2.c: Likewise.
3655 * elf/tst-unique2mod1.c: Likewise.
3656 * elf/tst-unique1mod2.c: Likewise.
3657 * elf/tst-unique1mod1.c: Likewise.
3658 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3659 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3660 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3661 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3662 * sysdeps/mach/sysdep.h: Likewise.
3663 * sysdeps/i386/sysdep.h: Likewise.
3664 * sysdeps/i386/i386-mcount.S: Likewise.
3665 * sysdeps/x86_64/_mcount.S: Likewise.
3666 * sysdeps/x86_64/sysdep.h: Likewise.
3667 * sysdeps/sh/_mcount.S: Likewise.
3668 * sysdeps/sh/sysdep.h: Likewise.
3669 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
3670 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
3671 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
3672 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3673 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
3674 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
3675 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
3676 * locale/localeinfo.h: Likewise.
3677 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
3678 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
3679
6c55cda3
RM
36802012-07-09 Roland McGrath <roland@hack.frob.com>
3681
3682 [BZ #14336]
3683 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
3684 system".
3685 * manual/message.texi (The Uniforum approach): Likewise.
3686 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
3687 (glibc iconv Implementation): Likewise.
3688
638a572e
JM
36892012-07-09 Joseph Myers <joseph@codesourcery.com>
3690
3691 [BZ #14337]
3692 * math/s_clog.c (__clog): Avoid scaling a value down where that
3693 could result in underflow.
3694 * math/s_clog10.c (__clog10): Likewise.
3695 * math/s_clog10f.c (__clog10f): Likewise.
3696 * math/s_clog10l.c (__clog10l): Likewise.
3697 * math/s_clogf.c (__clogf): Likewise.
3698 * math/s_clogl.c (__clogl): Likewise.
3699 * math/libm-test.inc (clog_test): Add more tests.
3700 (clog10_test): Likewise.
3701 * sysdeps/i386/fpu/libm-test-ulps: Update.
3702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3703
261f4859
AS
37042012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3705
0abaf3e4
AS
3706 [BZ #14283]
3707 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
3708 by 7 not 8 to examine high bit of fractional part.
3709
261f4859
AS
3710 [BZ #14042]
3711 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
3712 for call to __mcount_internal.
3713 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
3714 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
3715 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
3716
f17ac40d
JM
37172012-07-06 Joseph Myers <joseph@codesourcery.com>
3718
9ad63c23
JM
3719 [BZ #14154]
3720 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
3721 approximation for values within 0x1p-13f of an odd multiple of
3722 pi/4.
3723 * math/libm-test.inc (tan_test): Do not allow spurious underflow
3724 exception. Add more tests.
3725 * sysdeps/i386/fpu/libm-test-ulps: Update.
3726
f17ac40d
JM
3727 [BZ #6778]
3728 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
3729 inputs and return -1 for them. Do not check for +Inf in case not
3730 reachable for +Inf.
3731 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
3732 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
3733 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3734 and return -1 for them. Do not check for +Inf in case not
3735 reachable for +Inf.
3736 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
3737 define.
3738 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3739 and return -1 for them. Do not check for +Inf in case not
3740 reachable for +Inf.
3741 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
3742 spurious underflow.
3743 * sysdeps/i386/fpu/libm-test-ulps: Update.
3744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3745
fb21f89b
MF
37462012-07-06 Mike Frysinger <vapier@gentoo.org>
3747
3748 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
3749
cdfe2c5e
JM
37502012-07-05 Joseph Myers <joseph@codesourcery.com>
3751
3752 [BZ #14157]
3753 [BZ #14331]
3754 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
3755 could result in spurious underflow. Scale down values above
3756 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
3757 * math/s_csqrtf.c (__csqrtf): Likewise.
3758 * math/s_csqrtl.c (__csqrtl): Likewise.
3759 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
3760 spurious underflow.
3761 * sysdeps/i386/fpu/libm-test-ulps: Update.
3762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3763
70d35b67
AS
37642012-07-04 Andreas Schwab <schwab@linux-m68k.org>
3765
704bc459
AS
3766 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
3767 xopen-msg.sed.
3768 * catgets/xopen-msg.awk: New file.
3769 * catgets/xopen-msg.sed: Removed.
3770
70d35b67
AS
3771 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
3772 po2text.sed.
3773 * intl/po2test.awk: New file.
3774 * intl/po2test.sed: Removed.
3775
ca61cf32
JM
37762012-07-04 Joseph Myers <joseph@codesourcery.com>
3777
3778 [BZ #14328]
3779 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
3780 or multiply small sinh result by itself.
3781 * math/s_ctanf.c (__ctanf): Likewise.
3782 * math/s_ctanh.c (__ctanh): Likewise.
3783 * math/s_ctanhf.c (__ctanhf): Likewise.
3784 * math/s_ctanhl.c (__ctanhl): Likewise.
3785 * math/s_ctanl.c (__ctanl): Likewise.
3786 * math/libm-test.inc (ctan_test_tonearest): New function.
3787 (ctan_test_towardzero): Likewise.
3788 (ctan_test_downward): Likewise.
3789 (ctan_test_upward): Likewise.
3790 (ctanh_test_tonearest): Likewise.
3791 (ctanh_test_towardzero): Likewise.
3792 (ctanh_test_downward): Likewise.
3793 (ctanh_test_upward): Likewise.
3794 (main): Call these new functions.
3795 * sysdeps/i386/fpu/libm-test-ulps: Update.
3796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3797
ca48a46a
MF
37982012-07-03 Mike Frysinger <vapier@gentoo.org>
3799
3800 * .gitignore: Delete /ports entry.
3801
9d63d37d
AJ
38022012-07-03 Andreas Jaeger <aj@suse.de>
3803
3804 * po/bg.po: Update from translation team.
3805 * po/cs.po: Likewise.
3806 * po/de.po: Likewise.
3807 * po/hr.po: Likewise.
3808 * po/nl.pl: Likewise.
3809 * po/pl.po: Likewise.
3810 * po/vi.po: Likewise.
3811
370ca3d2
JM
38122012-07-03 Joseph Myers <joseph@codesourcery.com>
3813
95f5a9a8
JM
3814 * Makeconfig [!+link] (+link-before-libc): New variable.
3815 [!+link] (+link-after-libc): Likewise.
3816 [!+link] (+link-tests): Likewise.
3817 [!+link] (+link): Define in terms of $(+link-before-libc) and
3818 $(+link-after-libc).
3819 [!+link-static] (+link-static-before-libc): New variable.
3820 [!+link-static] (+link-static-after-libc): Likewise.
3821 [!+link-static] (+link-static-tests): Likewise.
3822 [!+link-static] (+link-static): Define in terms of
3823 $(+link-static-before-libc) and $(+link-static-after-libc).
3824 [build-shared] (link-libc-before-gnulib): New variable.
3825 [build-shared] (link-libc-tests): Likewise.
3826 [build-shared] (link-libc): Define in terms of
3827 $(link-libc-before-gnulib).
3828 [!build-shared] (link-libc-tests): New variable.
3829 (link-libc-static-tests): New variable.
3830 [!gnulib] (gnulib-arch): New variable.
3831 [!gnulib] (gnulib-tests): Likewise.
3832 [!gnulib] (static-gnulib-arch): Likewise.
3833 [!gnulib] (static-gnulib-tests): Likewise.
3834 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
3835 Define with "=" instead of ":=".
3836 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
3837 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
3838 * Rules (binaries-all-notests): New variable.
3839 (binaries-all-tests): Likewise.
3840 (binaries-static-notests): Likewise.
3841 (binaries-static-tests): Likewise.
3842 (binaries-all): Define using $(binaries-all-notests) and
3843 $(binaries-all-tests).
3844 (binaries-static): Define using $(binaries-static-notests) and
3845 $(binaries-static-tests).
3846 (binaries-shared-tests): New variable.
3847 (binaries-shared-notests): Likewise.
3848 (binaries-shared): Remove variable.
3849 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
3850 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
3851 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
3852 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
3853 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
3854 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
3855 * elf/Makefile (sln-modules): New variable.
3856 (extra-objs): Add $(sln-modules:=.o).
3857 (ldconfig-modules): Add static-stubs.
3858 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
3859 * elf/static-stubs.c: New file.
3860
7a845b2c
JM
3861 [BZ #14283]
3862 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
3863 by 7 not 8 to examine high bit of fractional part. Use volatile
3864 variables when splitting into final array of floats if
3865 __FLT_EVAL_METHOD__ != 0.
3866 * math/libm-test.inc (cos_test): Add another test.
3867 (sin_test): Likewise.
3868 * sysdeps/i386/fpu/libm-test-ulps: Update.
3869
e2283f38
JM
3870 [BZ #14273]
3871 * math/libm-test.inc (cosh_test): Add more tests.
3872
370ca3d2
JM
3873 * version.h (RELEASE): Set to "development".
3874 (VERSION): Set to "2.16.90".
3875
ee9247c3
CD
38762012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
3877
3878 * NEWS: Update copyright. Remove last-updated date.
3879 Mention math library bug fixes and timezone data changes.
3880 * README: Mention GNU/Hurd, x32, and HPPA support status.
3881
4648c381
TS
38822012-06-28 Thomas Schwinge <thomas@codesourcery.com>
3883
3884 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
3885
aac78a43
AJ
38862012-06-27 Andreas Jaeger <aj@suse.de>
3887
3888 * manual/contrib.texi (Contributors): Add Samuel Thibault.
3889
ed3dbfad
AJ
38902012-06-25 Andreas Jaeger <aj@suse.de>
3891
3892 * sysdeps/s390/fpu/libm-test-ulps: Update.
3893
4d0ee855
AS
38942012-06-23 Andreas Schwab <schwab@linux-m68k.org>
3895 Thomas Schwinge <thomas@codesourcery.com>
3896
3897 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
3898 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
3899 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
3900 fanotify_mark.
3901
af1bce34
TS
39022012-06-23 Thomas Schwinge <thomas@codesourcery.com>
3903
a9fa33ba
TS
3904 * sysdeps/mach/start.c: Remove file.
3905 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
3906 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
3907 * sysdeps/sh/init-first.c: Likewise.
3908
58f902b8
TS
3909 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
3910 registers for frame unwinding purposes, add CFI directives.
3911 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3912 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
3913 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
3914 Likewise.
3915
1518f58b
TS
3916 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
3917 __fortify_fail returning.
3918 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3919
db9b5059
TS
3920 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
3921 sysdeps/sh/____longjmp_chk.S.
3922 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
3923 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
3924 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
3925 (gen-as-const-headers): Append sigaltstack-offsets.sym.
3926
967705fe
TS
3927 * sysdeps/sh/abort-instr.h: New file.
3928 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
3929 process in case exit returns.
3930
a9def8c4
TS
3931 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
3932 initialize the GOT register before use.
3933
2a649725
TS
3934 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
3935 calculation of ARGC > 4.
3936
af1bce34
TS
3937 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
3938 meaningful names to some local labels.
3939
d230f50a
KK
39402012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3941 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3942
3943 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
3944 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
3945 (__arch_compare_and_exchange_val_16_acq): Likewise.
3946 (__arch_compare_and_exchange_val_32_acq): Likewise.
3947 (atomic_exchange_and_add): Fix gUSA sequence.
3948 (atomic_add): Likewise.
3949 (atomic_add_negative): Likewise.
3950 (atomic_add_zero): Likewise.
3951 (atomic_bit_test_set): Likewise.
3952
0479b305
AS
39532012-06-22 Andreas Schwab <schwab@redhat.com>
3954
3955 [BZ #13579]
3956 * include/link.h (struct link_map): Add l_free_initfini.
3957 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
3958 l_initfini.
3959 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
3960 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
3961 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
3962 set.
3963
0e3933b9
CD
39642012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
3965
3966 * configure.in: Use AC_LANG_SOURCE.
3967 * configure: Regenerate.
3968
4248b1b1
RM
39692012-06-22 Roland McGrath <roland@hack.frob.com>
3970
3971 * configure.in (libc_cv_localstatedir): New substituted variable.
3972 * configure: Regenerated.
3973 * config.make.in (localstatedir): New variable, substituted from
3974 libc_cv_localstatedir.
3975 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
3976 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
3977 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
3978 * sysdeps/gnu/configure: Regenerated.
3979
006dd861
JL
39802012-06-21 Jeff Law <law@redhat.com>
3981
3982 [BZ #14277]
3983 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
3984 free. Simplify list management for _LIBC case.
3985
79662d42
JM
39862012-06-21 Joseph Myers <joseph@codesourcery.com>
3987
b7abb4bf
JM
3988 [BZ #14273]
3989 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3990 Clear sign bit of 64-bit integer value before comparing against
3991 overflow value.
3992
79662d42
JM
3993 * sysdeps/mach/configure: Regenerated.
3994
1f150908
L
39952012-06-21 H.J. Lu <hongjiu.lu@intel.com>
3996
3997 [BZ #14278]
3998 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
3999
28363bbf
JL
40002012-06-21 Jeff Law <law@redhat.com>
4001
4002 [BZ #13882]
4003 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
4004 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 4005 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
4006 * elf/dl-open.c (dl_open_worker): Likewise.
4007
09615db4
CD
40082012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
4009
4010 * scripts/list-sources.sh: Scan PORTS for translations.
4011 * po/libc.pot: Regenerated.
4012
2174c6dd
AJ
40132012-06-21 Andreas Jaeger <aj@suse.de>
4014
4015 [BZ #12194]
4016 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
4017 warning.
4018 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
4019 * bits/byteswap-16.h (__bswap_16): Likewise.
4020 * bits/byteswap.h (__bswap_constant_16): Likewise.
4021
3ee947b1
L
40222012-06-18 H.J. Lu <hongjiu.lu@intel.com>
4023
4024 [BZ #14117]
a2f34833
L
4025 * sysdeps/i386/fpu_control.h: Removed.
4026 * sysdeps/x86_64/fpu_control.h: Moved to ...
4027 * sysdeps/x86/fpu_control.h: Here.
4028
3ee947b1
L
4029 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
4030 (_FPU_SETCW): Likewise.
4031
ed1825f8
L
40322012-06-15 H.J. Lu <hongjiu.lu@intel.com>
4033
25f1282a
L
4034 [BZ #14117]
4035 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
4036 * sysdeps/x86/fpu/bits/mathinline.h: This.
4037 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
4038
ed1825f8
L
4039 [BZ #14050]
4040 [BZ #14117]
4041 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
4042 functions if __x86_64__ is defined.
4043
36d54b74
CLT
40442012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
4045
4046 * string/endian.h: Add !__ASSEMBLER__ condition for including
4047 conversion interfaces.
4048
10285c21
JM
40492012-06-15 Joseph Myers <joseph@codesourcery.com>
4050
4051 [BZ #14241]
4052 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
4053 of ABS(x) in calculating zero to negative powers other than odd
4054 integers.
4055 * math/libm-test.inc (pow_test): Add more tests.
4056
06c5abbd
AJ
40572012-06-15 Andreas Jaeger <aj@suse.de>
4058
4059 * manual/contrib.texi (Contributors): Update entry of Liubov
4060 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
4061 Machado Filho.
4062
a3aeac40
CH
40632012-06-15 Cyril Hrubis <metan@ucw.cz>
4064
4065 * string/string.h: Add __wur to GNU version of strerror_r.
4066
49bdf4c1
L
40672012-06-14 H.J. Lu <hongjiu.lu@intel.com>
4068
4069 [BZ #14229]
4070 * string/Makefile (tests): Add tst-strtok_r.
4071 * string/tst-strtok_r.c: New file.
4072 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
4073 RAX_LP/RDX_LP on SAVE_PTR.
4074
834f9b8d
RM
40752012-06-14 Roland McGrath <roland@hack.frob.com>
4076
4077 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
4078
75fa1921
JM
40792012-06-14 Joseph Myers <joseph@codesourcery.com>
4080
4081 * libm_test.inc (csqrt_test): Allow more spurious underflow
4082 exceptions.
4083 (j0_test): Likewise.
4084 (j1_test): Likewise.
4085 (y0_test): Likewise.
4086 (y1_test): Likewise.
4087
771766df
CD
40882012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
4089
4090 * po/Makefile (libc.pot): Use UTF-8 charset.
4091
ceb9e56b
PP
40922012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4093
4094 [BZ #14210]
4095 Suppress sign-conversion warning from FD_SET.
4096 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
4097 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
4098 not unsigned long int.
4099 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
4100
ddb28975
L
41012012-06-12 H.J. Lu <hongjiu.lu@intel.com>
4102
4103 [BZ #14050]
4104 [BZ #14117]
4105 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
4106 __extern_always_inline instead of __extern_inline.
4107 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
4108 (__signbit): Likewise.
4109 (__signbitl): Support C++ namespace.
4110 (lrintf): New inline function.
4111 (lrint): Likewise.
4112 (llrintf): Likewise.
4113 (llrint): Likewise.
4114 (fmaxf): Likewise.
4115 (fmax): Likewise.
4116 (fminf): Likewise.
4117 (fmin): Likewise.
4118 (rint): Likewise.
4119 (rintf): Likewise.
4120 (ceil): Likewise.
4121 (ceilf): Likewise.
4122 (floor): Likewise.
4123 (floorf): Likewise.
4124 (nearbyint): Likewise.
4125 (nearbyintf): Likewise.
4126
d7b4fb26
TS
41272012-06-12 Thomas Schwinge <thomas@codesourcery.com>
4128
4129 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
4130 non-default versions.
4131
eb55f5c2
RM
41322012-06-11 Roland McGrath <roland@hack.frob.com>
4133
4134 [BZ #14218]
4135 * manual/argp.texi (Argp): Reword argp_parse description slightly.
4136
366af02c
TS
41372012-06-09 Thomas Schwinge <thomas@codesourcery.com>
4138
99ff6e5c
TS
4139 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
4140 (FE_UPWARD, FE_DOWNWARD): Don't define.
4141 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
4142 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4143
366af02c
TS
4144 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
4145 reading it.
4146 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4147 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4148
793ea851
KK
41492012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4150
4151 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4152 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
4153 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
4154 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
4155
a728a38f
L
41562012-06-06 H.J. Lu <hongjiu.lu@intel.com>
4157
4158 [BZ #14117]
c08010c7
L
4159 * sysdeps/i386/fpu/bits/fenv.h: Removed.
4160 * sysdeps/i386/fpu/Implies: New file.
4161 * sysdeps/x86_64/fpu/Implies: Likewise.
4162 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
4163 * sysdeps/x86/fpu/bits/fenv.h: This.
4164
a728a38f
L
4165 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
4166 __SSE_MATH__.
4167
6e230d11
SP
41682012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4169
4170 [BZ #14134]
4171 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
4172 character 0xffff that matches the last element of the
4173 conversion table.
4174
1b671feb
AZ
41752012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4176
4177 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
4178 fmodl commit.
4179
6043738b
AZ
41802012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4181
4182 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
4183 values higher than 25.6283.
4184
34ae0b32
AZ
41852012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4186
4187 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
4188 subnormal exponent extraction and add some __builtin_expect.
4189 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
4190 Fix for subnormal mantissa calculation.
4191
1214ec8f
MF
41922012-06-04 Mike Frysinger <vapier@gentoo.org>
4193
4194 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
4195 cpu2 is -1 and errno is not ENOSYS.
4196
f3d1f93c
L
41972012-06-04 H.J. Lu <hongjiu.lu@intel.com>
4198
4199 [BZ #14117]
0e4a3cd7
L
4200 * sysdeps/i386/i486/bits/string.h: Renamed to ...
4201 * sysdeps/x86/bits/string.h: This.
4202 * sysdeps/x86_64/bits/string.h: Removed.
4203
6704c645
L
4204 * sysdeps/i386/i486/bits/string.h: Define inline functions only
4205 if not compiling for x86-64, but compiling for >= i486.
4206
48495318
L
4207 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
4208 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
4209
14adcbfc
L
4210 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
4211 New macro from Linux kernel 3.4.0.
4212 (FP_XSTATE_MAGIC2): Likewise.
4213 (FP_XSTATE_MAGIC2_SIZE): Likewise.
4214 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
4215 (struct _fpx_sw_bytes): New struct.
4216 (struct _xsave_hdr): Likewise.
4217 (struct _ymmh_state): Likewise.
4218 (struct _xstate): Likewise.
4219
68e408ab
L
4220 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
4221 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
4222 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
4223 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
4224 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
4225 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
4226
f3d1f93c
L
4227 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
4228 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
4229 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
4230 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
4231 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
4232 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
4233
d9dc34cd
TMQMF
42342012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4235
4236 [BZ #13743]
4237 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
4238 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
4239 (sysdep_headers): Include sys/platform/ppc.h.
4240 * sysdeps/powerpc/test-gettimebase.c: Test for
4241 __ppc_get_timebase() to catch future ISA opcode/insn changes.
4242 * manual/Makefile (appendices): Include platform.texi.
4243 * manual/contrib.texi (Contributors): Update @node pointers.
4244 * manual/maint.texi (Maintenance): Likewise.
4245 (Platform): New node.
4246 * manual/platform.texi: New file. Document the new features.
4247
4af3879c
SP
42482012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4249 Jakub Jelinek <jakub@redhat.com>
4250
4251 [BZ #14188]
4252 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
4253 where __builtin_expect is unavailable.
4254
2fd6ff13
DM
42552012-06-03 David S. Miller <davem@davemloft.net>
4256
4257 * stdlib/longlong.h: Updated from GCC.
4258
173f7220
AS
42592012-06-02 Andreas Schwab <schwab@linux-m68k.org>
4260
4261 [BZ #14042]
4262 * sysdeps/powerpc/powerpc32/mcount.c: New file.
4263 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
4264 __mcount_internal.
4265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4266 (GLIBC_2.16): Likewise.
4267
f34a1c6f
L
42682012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4269
4270 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
4271
88a4576f
JM
42722012-06-01 Joseph Myers <joseph@codesourcery.com>
4273
ea32bcdd
JM
4274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4275 (default-abi): New variable.
4276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
4277 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
4278 variable.
4279 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
4280 Likewise.
4281 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
4282 Likewise.
4283 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
4284 Likewise.
4285
88a4576f
JM
4286 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
4287 definition. Document in comment.
4288
402fe938
DM
42892012-06-01 David S. Miller <davem@davemloft.net>
4290
4291 * stdlib/longlong.h: Updated from GCC.
4292
3553723f
L
42932012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4294
4295 [BZ #14117]
3bd872c4
L
4296 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
4297 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
4298 sys/debugreg.h sys/io.h here.
4299 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
4300 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
4301 sys/io.h.
4302 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
4303 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
4304 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
4305 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
4306 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
4307 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
4308
3553723f
L
4309 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
4310 Define only if __x86_64__ is defined.
4311
4842e4fe
JM
43122012-06-01 Joseph Myers <joseph@codesourcery.com>
4313
c5bfe3d5
JM
4314 [BZ #14048]
4315 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
4316 Use int64_t for variable i.
4317 * math/libm-test.inc (fmod_test): Add more tests.
4318
4842e4fe
JM
4319 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
4320 z computation is not scheduled after fetestexcept.
4321 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
4322 Use math_force_eval instead of asm to ensure calculation scheduled
4323 before exception test.
4324 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
4325 Ensure a1 + u.d computation is not scheduled after fetestexcept.
4326
efb73488
AJ
43272012-06-01 Aurelien Jarno <aurelien@aurel32.net>
4328
4329 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
4330 computation is not scheduled after fetestexcept.
4331
29bcce7c
L
43322012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4333
4334 [BZ #14117]
4335 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
4336 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
4337
73a68f94
AZ
43382012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4339
4340 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
4341 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4342
67b6df78
L
43432012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4344
edf2933a 4345 [BZ #14117]
ebc64a18
L
4346 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
4347 <bits/wordsize.h>.
4348 (__WCHAR_MIN): Support __WORDSIZE == 64.
4349 (__WCHAR_MAX): Likewise.
4350
edf2933a
L
4351 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
4352 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
4353
57c6cf40
L
4354 [BZ #14183]
4355 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
4356 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
4357
67b6df78 4358 [BZ #14117]
8eb6281e
L
4359 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
4360 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
4361
aac639f4
L
4362 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
4363 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
4364
67b6df78
L
4365 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
4366 Defined to 1 if __x86_64__ isn't defined.
4367 (_STAT_VER_LINUX_OLD): New.
4368 (st_atime): Remove duplicate.
4369 (st_mtime): Likewise.
4370 (st_ctime): Likewise.
4371
1c2cfe81
DM
43722012-05-31 David S. Miller <davem@davemloft.net>
4373
4374 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
4375 entries.
4376
5be8418c
AS
43772012-06-01 Andreas Schwab <schwab@linux-m68k.org>
4378
e7725326
AS
4379 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
4380 gen-libm-test.pl.
4381
5be8418c
AS
4382 [BZ #14132]
4383 * elf/dl-reloc.c: Include <_itoa.h>.
4384 (_dl_reloc_bad_type): Remove use of INTUSE.
4385 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
4386 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
4387 * stdio-common/psiginfo.c (psiginfo): Likewise.
4388 * stdio-common/psignal.c (psignal): Likewise.
4389 * string/strsignal.c (strsignal): Likewise.
4390 * include/signal.h (_sys_siglist): Declare hidden proto.
4391 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
4392 INTVARDEF with libc_hidden_data_def.
4393 * stdio-common/itoa-udigits.c: Likewise.
4394 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
4395 (_itoa_lower_digits_internal): Remove declaration.
4396 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
4397 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
4398 (_sys_sigabbrev_internal): Remove aliases.
4399 (_sys_siglist): Define hidden alias.
4400
507352f1
MT
44012012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
4402
4403 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4404 bits/sysctl.h.
4405
42bbb1c3
L
44062012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4407
4408 [BZ #14117]
6bd784b6
L
4409 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
4410 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
4411
8bca20f0
L
4412 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
4413 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
4414 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
4415 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
4416 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
4417 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
4418
f9e890a9
L
4419 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
4420 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
4421 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
4422
471101a1
L
4423 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
4424 with __addr.
4425 (insw): Likewise.
4426 (insl): Likewise.
4427 (outsb): Likewise.
4428 (outsw): Likewise.
4429 (outsl): Likewise.
4430
6451c862
L
4431 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
4432 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
4433 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
4434
a254b8c9
L
4435 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
4436 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
4437 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
4438 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
4439 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
4440 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
4441
b8dfdd92
L
4442 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
4443 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
4444
578cd270
L
4445 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
4446 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
4447
de662f5f
L
4448 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
4449 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
4450 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
4451
25653439
L
4452 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
4453 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
4454 to ...
4455 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
4456
6bad24a0
L
4457 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
4458 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
4459 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
4460
42bbb1c3
L
4461 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
4462 for x86-64.
4463 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4464
2d10d547
JM
44652012-05-31 Joseph Myers <joseph@codesourcery.com>
4466
4467 * math/math.h (M_El): Use two more decimal places.
4468 (M_LOG2El): Likewise.
4469 (M_LOG10El): Likewise.
4470 (M_LN2l): Likewise.
4471 (M_LN10l): Likewise.
4472 (M_PIl): Likewise.
4473 (M_PI_2l): Likewise.
4474 (M_PI_4l): Likewise.
4475 (M_1_PIl): Likewise.
4476 (M_2_PIl): Likewise.
4477 (M_2_SQRTPIl): Likewise.
4478 (M_SQRT2l): Likewise.
4479 (M_SQRT1_2l): Likewise.
4480
f230c29b
DM
44812012-05-31 David S. Miller <davem@davemloft.net>
4482
4483 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
4484 values between float registers.
4485 * sysdeps/sparc/sparc64/memset.S: Likewise.
4486 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4487
fed806c3
MF
44882012-05-31 Mike Frysinger <vapier@gentoo.org>
4489
4490 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
4491 -D_FORTIFY_SOURCE=1.
4492 (CPPFLAGS-tst-longjmp_chk.c): Define.
4493 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
4494 (CPPFLAGS-tst-longjmp_chk2.c): Define.
4495 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
4496 CFLAGS-tst-wchar-h.c.
4497
30917259
MP
44982012-05-31 Marek Polacek <polacek@redhat.com>
4499
4500 [BZ #14132]
4501 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
4502 __endmntent_internal): Remove declaration.
4503 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
4504 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
4505 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
4506
1c58d5dc
DM
45072012-05-30 David S. Miller <davem@davemloft.net>
4508
4509 * sysdeps/sparc/sparc32/soft-fp/q_util.c
4510 (___Q_simulate_exceptions): Use real FP ops rather than writing
4511 into the %fsr.
4512 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
4513 Likewise.
4514
7dc00e0d
L
45152012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4516
4517 [BZ #14117]
0bd53985
L
4518 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
4519 * sysdeps/x86/bits/xtitypes.h: This.
4520
3a257e66
L
4521 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
4522 * sysdeps/x86/bits/wordsize.h: This.
4523
62f62904
L
4524 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
4525 * sysdeps/x86/bits/huge_vall.h: This.
4526
404fe9d9
L
4527 * sysdeps/i386/bits/select.h: Removed.
4528 * sysdeps/x86_64/bits/select.h: Renamed to ...
4529 * sysdeps/x86/bits/select.h: This.
4530
d48d0446
L
4531 * sysdeps/i386/bits/setjmp.h: Removed.
4532 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
4533 * sysdeps/x86/bits/setjmp.h: This.
4534
7dc00e0d
L
4535 * sysdeps/i386/bits/mathdef.h: Removed.
4536 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
4537 * sysdeps/x86/bits/mathdef.h: This.
4538
03277f8f
AS
45392012-05-30 Andreas Schwab <schwab@linux-m68k.org>
4540
4541 [BZ #14132]
4542 * include/sys/socket.h (__connect_internal)
4543 (__libc_sa_len_internal): Remove declaration.
4544 (__connect, __libc_sa_len): Declare hidden_proto.
4545 (SA_LEN): Remove use of INTUSE.
4546 * socket/connect.c: Add libc_hidden_def.
4547 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
4548 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
4549 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
4550 alias.
4551 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4552 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4553 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
4554 of adding _internal alias.
4555
13764867
L
45562012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4557
4558 [BZ #14117]
6bd97696
L
4559 * sysdeps/i386/bits/link.h: Removed.
4560 * sysdeps/i386/bits/linkmap.h: Likewise.
4561 * sysdeps/x86_64/bits/link.h: Renamed to ...
4562 * sysdeps/x86/bits/link.h: This.
4563 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
4564 * sysdeps/x86/bits/linkmap.h: This.
4565
f726f0bb
L
4566 * sysdeps/i386/bits/endian.h: Removed.
4567 * sysdeps/x86_64/bits/endian.h: Renamed to ...
4568 * sysdeps/x86/bits/endian.h: This.
4569
13764867
L
4570 * sysdeps/i386/bits/byteswap.h: Removed.
4571 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4572 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
4573 * sysdeps/x86/bits/byteswap.h: This.
4574 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
4575 * sysdeps/x86/bits/byteswap-16.h: This.
4576 * sysdeps/i386/Implies: Add x86.
4577 * sysdeps/x86_64/Implies: Likewise.
4578
ae251b0b
DM
45792012-05-30 David S. Miller <davem@davemloft.net>
4580
4581 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
4582 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
4583 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4584 (FP_TRAPPING_EXCEPTIONS): Define.
4585 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4586 (FP_TRAPPING_EXCEPTIONS): Define.
4587 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
4588 subnormals only when inexact has been signalled or underflow
4589 exceptions are enabled.
4590 (_FP_PACK_CANONICAL): Likewise.
4591
d5c90867
L
45922012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4593
4594 [BZ #14183]
4595 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
4596 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
4597
63f1549e
RH
45982012-05-30 Richard Henderson <rth@twiddle.net>
4599
8d8f2279
RH
4600 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
4601 with #ifndef NOT_IN_libc.
4602
63f1549e
RH
4603 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
4604 marked to avoid plt entry.
4605
0ab0291b
L
46062012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4607
4608 [BZ #14112]
4609 * Makeconfig (default-abi): New macro.
4610 (abi-includes): Likewise.
4611 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
4612 $(abi-$(default-abi)-lib-soname) for soname if defined.
4613 ($(common-objpfx)gnu/lib-names.stmp): Generate from
4614 abi-variants.
4615 * Makefile (installed-stubs): Likewise.
4616 * include/stubs-biarch.h: Removed.
4617 * scripts/lib-names.awk: Only handle one library at a time.
4618 * scripts/soversions.awk: Remove WORDSIZE support.
4619 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
4620 entries.
4621 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
4622 Removed.
4623 (syscall-list-default-condition): Likewise.
4624 (syscall-list-default-condition): Likewise.
4625 (syscall-list-includes): Likewise.
4626 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
4627 syscall-list-* with abi-*. Handle undefined abi-variants.
4628 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
4629 * sysdeps/unix/sysv/linux/i386/Implies: New file.
4630 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
4631 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
4632 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
4633 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
4634 Removed.
4635 (syscall-list-32-options): Likewise.
4636 (syscall-list-32-condition): Likewise.
4637 (syscall-list-64-options): Likewise.
4638 (syscall-list-64-condition): Likewise.
4639 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
4640 macro.
4641 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
4642 Renamed to ...
4643 (abi-*): This.
4644 (abi-64-ld-soname): New macro.
4645 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
4646 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
4647 Renamed to ...
4648 (abi-*): This.
4649 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
4650 * sysdeps/x86_64/x32/shlib-versions: Likewise.
4651
4da0431d
JM
46522012-05-30 Joseph Myers <joseph@codesourcery.com>
4653
3a85279c
JM
4654 * sysdeps/unix/sysv/linux/kernel-features.h
4655 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
4656 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
4657 include <kernel-features.h>.
4658 [!__NR_ftruncate64]: Remove conditional code.
4659 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4660 [__NR_ftruncate64]: Make code unconditional.
4661 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4662 * sysdeps/unix/sysv/linux/truncate64.c: Do not
4663 include <kernel-features.h>.
4664 [!__NR_ftruncate64]: Remove conditional code.
4665 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4666 [__NR_ftruncate64]: Make code unconditional.
4667 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
4669 include <kernel-features.h>.
4670 [!__NR_ftruncate64]: Remove conditional code.
4671 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4672 [__NR_ftruncate64]: Make code unconditional.
4673 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4675 include <kernel-features.h>.
4676 [!__NR_ftruncate64]: Remove conditional code.
4677 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4678 [__NR_ftruncate64]: Make code unconditional.
4679 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4680
4da0431d
JM
4681 * configure.in (libc_cv_fpie): Weaken to a compile test using
4682 LIBC_TRY_CC_OPTION.
4683 * configure: Regenerated.
4684
11ef492c
AK
46852012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4686
4687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
4688 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
4689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
4690 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4691 Refreshed.
4692 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
4693 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
4694 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
4695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
4696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
4697 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4698 Refreshed.
4699
d66ef399
DM
47002012-05-27 David S. Miller <davem@davemloft.net>
4701
4702 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
4703 (___Q_zero): New.
4704 (__Q_simulate_exceptions): Return void. Change to simulate
4705 exceptions by writing into the %fsr.
4706 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
4707 (__Qp_handle_exceptions): Likewise.
4708 (numbers): Delete.
4709 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
4710 __Qp_handle_exceptions.
4711 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
4712 __Qp_handle_exceptions.
4713 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4714 as unused and give dummy FP_RND_NEAREST initializer.
4715 (FP_INHIBIT_RESULTS): Define.
4716 (___Q_simulate_exceptions): Update declaration.
4717 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
4718 formatting.
4719 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4720 as unused and give dummy FP_RND_NEAREST initializer.
4721 (__Qp_handle_exceptions): Update declaration.
4722 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
4723 formatting.
4724
04fb54b5
TS
47252012-05-27 Thomas Schwinge <thomas@codesourcery.com>
4726
4727 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
4728 the temporary FPU control word.
4729 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4730 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
4731 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4732 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4733 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4734 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4735 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4736 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4737 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4738 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
4739 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4740
3f99608f
KK
47412012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4742
4743 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
4744 fields.
4745
65a4de4e
CLT
47462012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
4747
4748 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
4749 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
4750 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
4751 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
4752 Likewise.
4753 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
4754 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
4755 Likewise.
4756
15749d40
UD
47572012-05-27 Ulrich Drepper <drepper@gmail.com>
4758
4759 * po/h.po: Update from translation team.
4760
25dbcb27
AS
47612012-05-26 Andreas Schwab <schwab@linux-m68k.org>
4762
3d3f8e55
AS
4763 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
4764
25dbcb27
AS
4765 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
4766 handling of denormals.
4767 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4768 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4769 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4770 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4771 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4772 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
4773 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
4774 Likewise.
4775
7ad47a80 47762012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
4777
4778 [BZ #14152]
4779 * math/libm-test.inc (fma_test): Don't always expect underflow
4780 exception.
4781
9c6ea9fa
SP
47822012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4783
4784 [BZ #12416]
4785 * elf/tst-execstack.c: Include stackinfo.h.
4786 (do_test): Adjust test case to ensure that pthread_getattr_np
4787 behaviour remains the same after marking stack executable.
4788
a8239222
JM
47892012-05-25 Joseph Myers <joseph@codesourcery.com>
4790
4791 * sysdeps/unix/sysv/linux/kernel-features.h
4792 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
4793 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
4794 kernel-features.h.
4795 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4796 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4797 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
4798 kernel-features.h.
4799 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4800 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4801
918b5606
L
48022012-05-25 H.J. Lu <hongjiu.lu@intel.com>
4803
4804 * configure.in: Define the default includes to being none.
4805 * configure: Regenerated.
4806
3a097cc7
RM
48072012-05-25 Roland McGrath <roland@hack.frob.com>
4808
8422c9a5
RM
4809 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
4810 * sysdeps/x86_64/setjmp.S: Likewise.
4811 * sysdeps/i386/bsd-setjmp.S: Likewise.
4812 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4813 * sysdeps/i386/setjmp.S: Likewise.
4814 * sysdeps/i386/__longjmp.S: Likewise.
4815 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4816 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
4817
3a097cc7
RM
4818 * include/stap-probe.h: New file.
4819 * configure.in: Handle --enable-systemtap.
4820 * configure: Regenerated.
4821 * config.h.in (USE_STAP_PROBE): New #undef.
4822 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
4823 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
4824 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4825
21708942
JM
48262012-05-25 Joseph Myers <joseph@codesourcery.com>
4827
4828 [BZ #13717]
4829 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4830 to 2.4.0 where earlier.
4831 * sysdeps/unix/sysv/linux/configure: Regenerated.
4832 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4833 <kernel-features.h>.
4834 [__ASSUME_32BITUIDS]: Make code unconditional.
4835 [!__ASSUME_32BITUIDS]: Remove conditional code.
4836 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
4837 <kernel-features.h>.
4838 [__ASSUME_32BITUIDS]: Make code unconditional.
4839 [!__ASSUME_32BITUIDS]: Remove conditional code.
4840 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
4841 [__ASSUME_32BITUIDS]: Make code unconditional.
4842 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
4843 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
4844 <kernel-features.h>.
4845 [__ASSUME_32BITUIDS]: Make code unconditional.
4846 [!__ASSUME_32BITUIDS]: Remove conditional code.
4847 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
4848 <kernel-features.h>.
4849 [__ASSUME_32BITUIDS]: Make code unconditional.
4850 [!__ASSUME_32BITUIDS]: Remove conditional code.
4851 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
4852 <kernel-features.h>.
4853 [__ASSUME_32BITUIDS]: Make code unconditional.
4854 [!__ASSUME_32BITUIDS]: Remove conditional code.
4855 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
4856 <kernel-features.h>.
4857 [__ASSUME_32BITUIDS]: Make code unconditional.
4858 [!__ASSUME_32BITUIDS]: Remove conditional code.
4859 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4860 <kernel-features.h>.
4861 [__ASSUME_32BITUIDS]: Make code unconditional.
4862 [!__ASSUME_32BITUIDS]: Remove conditional code.
4863 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4864 <kernel-features.h>.
4865 [__ASSUME_32BITUIDS]: Make code unconditional.
4866 [!__ASSUME_32BITUIDS]: Remove conditional code.
4867 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
4868 <kernel-features.h>.
4869 [__ASSUME_32BITUIDS]: Make code unconditional.
4870 [!__ASSUME_32BITUIDS]: Remove conditional code.
4871 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4872 <kernel-features.h>.
4873 [__ASSUME_32BITUIDS]: Make code unconditional.
4874 [!__ASSUME_32BITUIDS]: Remove conditional code.
4875 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4876 <kernel-features.h>.
4877 [__ASSUME_32BITUIDS]: Make code unconditional.
4878 [!__ASSUME_32BITUIDS]: Remove conditional code.
4879 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
4880 <kernel-features.h>.
4881 [__ASSUME_32BITUIDS]: Make code unconditional.
4882 [!__ASSUME_32BITUIDS]: Remove conditional code.
4883 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
4884 <kernel-features.h>.
4885 [__NR_setresgid] (__setresgid): Do not declare.
4886 [__ASSUME_32BITUIDS]: Make code unconditional.
4887 [!__ASSUME_32BITUIDS]: Remove conditional code.
4888 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
4889 <kernel-features.h>.
4890 [__NR_setresuid] (__setresuid): Do not declare.
4891 [__ASSUME_32BITUIDS]: Make code unconditional.
4892 [!__ASSUME_32BITUIDS]: Remove conditional code.
4893 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
4894 <kernel-features.h>.
4895 [__ASSUME_32BITUIDS]: Make code unconditional.
4896 [!__ASSUME_32BITUIDS]: Remove conditional code.
4897 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
4898 <kernel-features.h>.
4899 [__ASSUME_32BITUIDS]: Make code unconditional.
4900 [!__ASSUME_32BITUIDS]: Remove conditional code.
4901 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
4902 <kernel-features.h>.
4903 [__ASSUME_32BITUIDS]: Make code unconditional.
4904 [!__ASSUME_32BITUIDS]: Remove conditional code.
4905 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
4906 <kernel-features.h>.
4907 [__ASSUME_32BITUIDS]: Make code unconditional.
4908 [!__ASSUME_32BITUIDS]: Remove conditional code.
4909 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
4910 <kernel-features.h>.
4911 [__ASSUME_32BITUIDS]: Make code unconditional.
4912 [!__ASSUME_32BITUIDS]: Remove conditional code.
4913 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
4914 <kernel-features.h>.
4915 [__ASSUME_32BITUIDS]: Make code unconditional.
4916 [!__ASSUME_32BITUIDS]: Remove conditional code.
4917 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
4918 <kernel-features.h>.
4919 [__ASSUME_32BITUIDS]: Make code unconditional.
4920 [!__ASSUME_32BITUIDS]: Remove conditional code.
4921 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
4922 <kernel-features.h>.
4923 [__ASSUME_32BITUIDS]: Make code unconditional.
4924 [!__ASSUME_32BITUIDS]: Remove conditional code.
4925 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
4926 <kernel-features.h>.
4927 [__ASSUME_32BITUIDS]: Make code unconditional.
4928 [!__ASSUME_32BITUIDS]: Remove conditional code.
4929 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4930 <kernel-features.h>.
4931 [__ASSUME_32BITUIDS]: Make code unconditional.
4932 [!__ASSUME_32BITUIDS]: Remove conditional code.
4933 * sysdeps/unix/sysv/linux/kernel-features.h
4934 (__ASSUME_SETRESUID_SYSCALL): Remove.
4935 (__ASSUME_SETRESGID_SYSCALL): Likewise.
4936 (__ASSUME_32BITUIDS): Likewise.
4937 (__ASSUME_LDT_WORKS): Likewise.
4938 (__ASSUME_O_DIRECTORY): Likewise.
4939 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
4940 architecture but not kernel version.
4941 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4942 (__ASSUME_MMAP2_SYSCALL): Likewise.
4943 (__ASSUME_STAT64_SYSCALL): Likewise.
4944 (__ASSUME_IPC64): Likewise.
4945 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
4946 <kernel-features.h>.
4947 [__ASSUME_32BITUIDS]: Make code unconditional.
4948 [!__ASSUME_32BITUIDS]: Remove conditional code.
4949 * sysdeps/unix/sysv/linux/opendir.c: Do not include
4950 <kernel-features.h>.
4951 [__ASSUME_O_DIRECTORY]: Make code unconditional.
4952 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
4953 132096]: Remove conditional code.
4954 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
4955 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4956 <kernel-features.h>.
4957 [__ASSUME_32BITUIDS]: Make code unconditional.
4958 [!__ASSUME_32BITUIDS]: Remove conditional code.
4959 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4960 <kernel-features.h>.
4961 [__ASSUME_32BITUIDS]: Make code unconditional.
4962 [!__ASSUME_32BITUIDS]: Remove conditional code.
4963 * sysdeps/unix/sysv/linux/setegid.c: Do not include
4964 <kernel-features.h>.
4965 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
4966 unconditional.
4967 (__setresgid): Do not declare.
4968 [__ASSUME_32BITUIDS]: Make code unconditional.
4969 [!__ASSUME_32BITUIDS]: Remove conditional code.
4970 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
4971 <kernel-features.h>.
4972 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
4973 unconditional.
4974 (__setresuid): Do not declare.
4975 [__ASSUME_32BITUIDS]: Make code unconditional.
4976 [!__ASSUME_32BITUIDS]: Remove conditional code.
4977 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4978 <kernel-features.h>.
4979 [__ASSUME_32BITUIDS]: Make code unconditional.
4980 [!__ASSUME_32BITUIDS]: Remove conditional code.
4981 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
4982 <kernel-features.h>.
4983 [__ASSUME_32BITUIDS]: Make code unconditional.
4984 [!__ASSUME_32BITUIDS]: Remove conditional code.
4985
a386f1cc
RH
49862012-05-25 Richard Henderson <rth@twiddle.net>
4987
4988 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
4989 dl_hwcap to ifunc resolver.
4990 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
4991 elf_ifunc_invoke.
4992 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
4993 dl_hwcap to ifunc resolver.
4994 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
4995
b6550497
JM
49962012-05-24 Joseph Myers <joseph@codesourcery.com>
4997
4998 [BZ #14153]
4999 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
5000 for |x| <= 2**-26, not 2**-57.
5001 * math/libm-test.inc (acos_test): Do not allow spurious underflow
5002 exception.
5003
b0bc23a1
JL
50042012-05-24 Jeff Law <law@redhat.com>
5005
5006 * stdio-common/Makefile (tests): Add bug25.
5007 * stdio-common/bug25.c: New test.
5008
347c92e9
L
50092012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5010
5011 [BZ #13576]
5012 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
5013 multiple of MALLOC_ALIGNMENT in size.
5014 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
5015
6bcc8b3f
JM
50162012-05-24 Joseph Myers <joseph@codesourcery.com>
5017
5018 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
5019 Require >= 256.
5020 (FILENAME_MAX): Use macro-int-constant.
5021 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
5022 (_IOFBF): Use macro-int-constant.
5023 (_IOLBF): Likewise.
5024 (_IONBF): Likewise.
5025 (SEEK_CUR): Likewise.
5026 (SEEK_END): Likewise.
5027 (SEEK_SET): Likewise.
5028 (TMP_MAX): Likewise.
5029 (EOF): Use macro-int-constant. Require < 0.
5030 (NULL): Use macro-constant. Require == 0.
5031 (stdin): Require type to be FILE *.
5032 (stdout): Likewise.
5033 (stderr): Likewise.
5034 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
5035 macro-int-constant.
5036 (EXIT_SUCCESS): Likewise.
5037 (NULL): Use macro-constant. Require == 0.
5038 (RAND_MAX): Use macro-int-constant.
5039 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
5040 [C99-based standards] (strtof): Require function.
5041 [C99-based standards] (strtold): Likewise.
5042 [C99-based standards] (strtoll): Likewise.
5043 [C99-based standards] (strtoull): Likewise.
5044 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5045 [ISO || ISO99 || ISO11] (limits.h): Likewise.
5046 [ISO || ISO99 || ISO11] (math.h): Likewise.
5047 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
5048 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5049 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5050
d18ea0c5
AS
50512012-05-24 Andreas Schwab <schwab@linux-m68k.org>
5052
5053 [BZ #14132]
56d25bb8
AS
5054 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
5055 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
5056 * intl/dgettext.c (DCGETTEXT): Likewise.
5057 * intl/gettext.c (DCGETTEXT): Likewise.
5058 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
5059 * posix/regex_internal.h (gettext): Likewise.
5060 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
5061 Remove declaration.
5062 * include/argz.h (__argz_count_internal)
5063 (__argz_stringify_internal): Remove declaration.
5064 (__argz_count, __argz_stringify): Declare hidden proto.
5065 * intl/dcgettext.c: Remove use of INTDEF.
5066 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
5067 * string/argz-stringify.c: Likewise.
5068 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5069 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5070 Declare hidden proto.
d18ea0c5
AS
5071 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5072 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5073 Declare hidden proto.
5074 * include/stdio.h (__asprintf_internal): Don't declare.
5075 (__asprintf): Don't define as macro. Declare hidden proto.
5076 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
5077 (__fsetlocking): Declare hidden proto.
5078 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
5079 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
5080 hidden proto.
5081 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
5082 (_IO_setlinebuf): Remove use of INTUSE.
5083 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
5084 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
5085 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
5086 Remove declaration.
5087 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
5088 (_IO_do_flush): Remove use of INTUSE.
5089 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
5090 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
5091 (_IO_adjust_column, _IO_least_wmarker)
5092 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
5093 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
5094 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
5095 (_IO_default_doallocate, _IO_wdefault_doallocate)
5096 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
5097 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
5098 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
5099 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
5100 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
5101 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
5102 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
5103 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
5104 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
5105 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
5106 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
5107 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
5108 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
5109 proto.
5110 (_IO_flush_all_internal, _IO_adjust_column_internal)
5111 (_IO_default_uflow_internal, _IO_default_finish_internal)
5112 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
5113 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
5114 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
5115 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
5116 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
5117 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
5118 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
5119 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
5120 (_IO_file_close_internal, _IO_file_close_it_internal)
5121 (_IO_file_underflow_internal, _IO_file_overflow_internal)
5122 (_IO_file_init_internal, _IO_file_attach_internal)
5123 (_IO_file_fopen_internal, _IO_file_read_internal)
5124 (_IO_file_sync_internal, _IO_file_seek_internal)
5125 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
5126 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
5127 (_IO_str_underflow_internal, _IO_str_overflow_internal)
5128 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
5129 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
5130 (_IO_list_all_internal, _IO_link_in_internal)
5131 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
5132 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
5133 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
5134 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
5135 (_IO_do_write_internal, _IO_padn_internal)
5136 (_IO_getline_info_internal, _IO_getline_internal)
5137 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
5138 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
5139 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
5140 (_IO_vfscanf_internal, _IO_vfprintf_internal)
5141 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
5142 (_IO_init_internal, _IO_un_link_internal): Don't declare.
5143 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
5144 with libc_hidden_ver, remove use of INTUSE.
5145 * libio/genops.c: Likewise.
5146 * libio/freopen.c: Likewise.
5147 * libio/freopen64.c: Likewise.
5148 * libio/iofclose.c: Likewise.
5149 * libio/iofdopen.c: Likewise.
5150 * libio/iofflush.c: Likewise.
5151 * libio/iofflush_u.c: Likewise.
5152 * libio/iofgets.c: Likewise.
5153 * libio/iofgets_u.c: Likewise.
5154 * libio/iofopen.c: Likewise.
5155 * libio/iofopncook.c: Likewise.
5156 * libio/iofread.c: Likewise.
5157 * libio/iofread_u.c: Likewise.
5158 * libio/ioftell.c: Likewise.
5159 * libio/iofwrite.c: Likewise.
5160 * libio/iogetline.c: Likewise.
5161 * libio/iogets.c: Likewise.
5162 * libio/iogetwline.c: Likewise.
5163 * libio/iopadn.c: Likewise.
5164 * libio/iopopen.c: Likewise.
5165 * libio/ioseekoff.c: Likewise.
5166 * libio/ioseekpos.c: Likewise.
5167 * libio/iosetbuffer.c: Likewise.
5168 * libio/iosetvbuf.c: Likewise.
5169 * libio/ioungetc.c: Likewise.
5170 * libio/ioungetwc.c: Likewise.
5171 * libio/iovdprintf.c: Likewise.
5172 * libio/iovsprintf.c: Likewise.
5173 * libio/iovsscanf.c: Likewise.
5174 * libio/memstream.c: Likewise.
5175 * libio/obprintf.c: Likewise.
5176 * libio/oldfileops.c: Likewise.
5177 * libio/oldiofclose.c: Likewise.
5178 * libio/oldiofdopen.c: Likewise.
5179 * libio/oldiofopen.c: Likewise.
5180 * libio/oldiopopen.c: Likewise.
5181 * libio/oldstdfiles.c: Likewise.
5182 * libio/putc.c: Likewise.
5183 * libio/setbuf.c: Likewise.
5184 * libio/setlinebuf.c: Likewise.
5185 * libio/stdfiles.c: Likewise.
5186 * libio/strops.c: Likewise.
5187 * libio/vasprintf.c: Likewise.
5188 * libio/vscanf.c: Likewise.
5189 * libio/vsnprintf.c: Likewise.
5190 * libio/vswprintf.c: Likewise.
5191 * libio/wfiledoalloc.c: Likewise.
5192 * libio/wfileops.c: Likewise.
5193 * libio/wgenops.c: Likewise.
5194 * libio/wmemstream.c: Likewise.
5195 * libio/wstrops.c: Likewise.
5196 * libio/__fpurge.c: Likewise.
5197 * libio/__fsetlocking.c: Likewise.
5198 * assert/assert.c: Likewise.
5199 * debug/fgets_chk.c: Likewise.
5200 * debug/fgets_u_chk.c: Likewise.
5201 * debug/fread_chk.c: Likewise.
5202 * debug/fread_u_chk.c: Likewise.
5203 * debug/gets_chk.c: Likewise.
5204 * debug/obprintf_chk.c: Likewise.
5205 * debug/vasprintf_chk.c: Likewise.
5206 * debug/vdprintf_chk.c: Likewise.
5207 * debug/vsnprintf_chk.c: Likewise.
5208 * debug/vsprintf_chk.c: Likewise.
5209 * malloc/mtrace.c: Likewise.
5210 * misc/error.c: Likewise.
5211 * misc/syslog.c: Likewise.
5212 * stdio-common/asprintf.c: Likewise.
5213 * stdio-common/fxprintf.c: Likewise.
5214 * stdio-common/getw.c: Likewise.
5215 * stdio-common/isoc99_fscanf.c: Likewise.
5216 * stdio-common/isoc99_scanf.c: Likewise.
5217 * stdio-common/isoc99_vfscanf.c: Likewise.
5218 * stdio-common/isoc99_vscanf.c: Likewise.
5219 * stdio-common/isoc99_vsscanf.c: Likewise.
5220 * stdio-common/printf-prs.c: Likewise.
5221 * stdio-common/printf_fp.c: Likewise.
5222 * stdio-common/printf_fphex.c: Likewise.
5223 * stdio-common/printf_size.c: Likewise.
5224 * stdio-common/putw.c: Likewise.
5225 * stdio-common/scanf.c: Likewise.
5226 * stdio-common/sprintf.c: Likewise.
5227 * stdio-common/tmpfile.c: Likewise.
5228 * stdio-common/vfprintf.c: Likewise.
5229 * stdio-common/vfscanf.c: Likewise.
5230 * stdlib/strfmon_l.c: Likewise.
5231 * sunrpc/openchild.c: Likewise.
5232 * sunrpc/xdr_stdio.c: Likewise.
5233 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5234 * sysdeps/mach/hurd/tmpfile.c: Likewise.
5235
d6c33fda
RM
52362012-05-24 Roland McGrath <roland@hack.frob.com>
5237
c1487492
RM
5238 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5239
5240 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
5241 in the third column, to generate for the shared library an IFUNC
5242 that uses _dl_vdso_vsym.
5243 * Makerules (COMPILE.c, compile-stdin.c): New variables.
5244 * Makeconfig (object-suffixes-noshared): New variable.
5245
5246 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
5247 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
5248 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
5249 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
5250
d6c33fda
RM
5251 [BZ #14132]
5252 * include/sys/time.h (__gettimeofday): Remove macro.
5253 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
5254 * time/gettimeofday.c (__gettimeofday): Remove #undef.
5255 Remove INTDEF.
5256 (__gettimeofday): Add libc_hidden_def.
5257 (gettimeofday): Add libc_hidden_weak.
5258 * sysdeps/mach/gettimeofday.c: Likewise.
5259 * sysdeps/posix/gettimeofday.c: Likewise.
5260 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5261 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5262 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
5263 (__gettimeofday_internal): Remove strong_alias.
5264 (__gettimeofday): Add libc_hidden_def.
5265 (gettimeofday): Add libc_hidden_weak.
5266 * sysdeps/unix/syscalls.list (gettimeofday):
5267 Remove __gettimeofday_internal alias.
5268
b5a2bbe6
L
52692012-05-24 Daniel Jacobowitz <drow@false.org>
5270 H.J. Lu <hongjiu.lu@intel.com>
5271
5272 [BZ #12495]
5273 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
5274 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
5275 (largebin_index_32_big): New.
5276 (largebin_index): Use it for 16-byte alignment.
5277 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
5278 correction with front_misalign.
5279
cfba4fda
L
52802012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5281
7f907421
L
5282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
5283 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5284 Likewise.
5285 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
5286 Likewise.
5287 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5288 Likewise.
5289 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
5290 Likewise.
5291 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
5292 Likewise.
5293 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
5294 Likewise.
5295 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
5296 Likewise.
5297 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5298 Likewise.
5299 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
5300 Likewise.
5301 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
5302 Likewise.
5303 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5304 Likewise.
5305 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
5306 Likewise.
5307
cfba4fda
L
5308 * scripts/data/c++-types-x32-linux-gnu.data: New file.
5309 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
5310
80bad0cc
JM
53112012-05-24 Joseph Myers <joseph@codesourcery.com>
5312
7a25eb06
JM
5313 [BZ #10846]
5314 [BZ #14036]
5315 * math/libm-test.inc (exp_test): Add test from bug 14036.
5316 (pow_test): Add test from bug 10846.
5317
795405f9
JM
5318 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
5319 and other flags.
5320 (special_function): Do not include flags in test name.
5321 (parse_args): Likewise.
5322 * sysdeps/i386/fpu/libm-test-ulps: Update.
5323 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5324 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5325 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5327
80bad0cc
JM
5328 * math/gen-libm-test.pl (%beautify): Add entries for underflow
5329 exceptions.
5330 * math/libm-test.inc ("Philosophy"): Update comment about
5331 exception testing.
5332 (UNDERFLOW_EXCEPTION): New macro.
5333 (UNDERFLOW_EXCEPTION_OK): Likewise.
5334 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5335 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5336 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5337 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5338 (INVALID_EXCEPTION_OK): Update value.
5339 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5340 (OVERFLOW_EXCEPTION_OK): Likewise.
5341 (IGNORE_ZERO_INF_SIGN): Likewise.
5342 (test_exceptions): Handle underflow exceptions.
5343 (acos_test): Update for underflow exception expectations.
5344 (cexp_test): Likewise.
5345 (clog_test): Likewise.
5346 (clog10_test): Likewise.
5347 (csqrt_test): Likewise.
5348 (ctan_test): Likewise.
5349 (ctanh_test): Likewise.
5350 (exp_test): Likewise.
5351 (exp10_test): Likewise.
5352 (exp2_test): Likewise.
5353 (expm1_test): Likewise.
5354 (fma_test): Likewise.
5355 (j0_test): Likewise.
5356 (jn_test): Likewise.
5357 (nexttoward_test): Likewise.
5358 (pow_test): Likewise.
5359 (scalbn_test): Likewise.
5360 (scalbln_test): Likewise.
5361 (tan_test): Likewise.
5362 (y1_test): Likewise.
5363 * sysdeps/i386/fpu/libm-test-ulps: Update.
5364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5365
9e0e3d0b
DM
53662012-05-23 David S. Miller <davem@davemloft.net>
5367
5368 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5369 (__libc_sigaction): Remove unused local variables.
5370
ccd0a08f
L
53712012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5372
5373 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
5374
62bdf9a6
PE
53752012-05-23 Paul Eggert <eggert@cs.ucla.edu>
5376
f8591f80
PE
5377 mktime: avoid signed integer overflow
5378 * time/mktime.c (__mktime_internal): Do not mishandle the case
5379 where diff == INT_MIN.
5380
94c7d826
PE
5381 mktime: simplify computation of average
5382 * time/mktime.c (ranged_convert): Use new time_t_avg function
5383 instead of rolling our own (probably-slower) code.
5384
ce73d683
PE
5385 mktime: do not assume signed right shift propagates sign bit
5386 * time/mktime.c (isdst_differ): New static function.
5387 (__mktime_internal): No need to normalize tm_isdst now.
5388 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
5389 tm_isdst values.
5390
72a22e59
PE
5391 mktime: merge another wrapv change from gnulib
5392 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
5393 from some compilers.
5394
68605433
PE
5395 mktime: remove incorrect attempt at unusual arithmetics
5396 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
5397 The code didn't really work on such machines anyway.
5398 (TYPE_MINIMUM): Assume two's complement.
5399 (twos_complement_arithmetic): Verify that long_int and time_t
5400 are two's complement (or unsigned, in the latter case).
5401
03cf7fe3
PE
5402 mktime: check signed shifts on long_int and time_t, too
5403 * time/mktime.c (SHR): Check that shifts work as desired
5404 on the types long_int and time_t too, as SHR is used on
5405 such types.
5406
f04dfbc2
PE
5407 mktime: do not assume 'long' is wide enough
5408 * time/mktime.c (verify): Move decl up.
5409 (long_int): New type.
5410 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
5411 to remove assumption in the code that 'long' is wide enough to
5412 store year values. This assumption is not true on x32 and on
5413 some non-glibc platforms.
5414
62bdf9a6
PE
5415 mktime: merge wrapv change from gnulib
5416 * time/mktime.c (WRAPV): New macro.
5417 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
5418 (guess_time_tm, __mktime_internal): Do not assume that signed
5419 integer overflow wraps around; modern compilers generate code
5420 where this assumption is no longer valid.
5421
5e292e4f
L
54222012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5423
5424 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5425 Replace "jmp L(pseudo_end)" with "ret".
5426 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
5427 Likewise.
5428
8caf8c87
AJ
54292012-05-23 Andreas Jaeger <aj@suse.de>
5430
5431 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
5432 * sysdeps/unix/sysv/linux/poll.c: Remove file.
5433
1a09dc56
AJ
54342012-05-23 Andreas Jaeger <aj@suse.de>
5435 Maximilian Attems <max@stro.at>
5436
5437 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
5438 New macros.
5439
1c87aba0
L
54402012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5441
5442 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
5443 code so that pseudo_end is just ret and the stack pointer is
5444 correct also for static library in error case.
5445
40e45bd5
JM
54462012-05-23 Joseph Myers <joseph@codesourcery.com>
5447
c2670533
JM
5448 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
5449 move to syscalls.list.
5450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5454
40e45bd5
JM
5455 * manual/install.texi (Running make install): Do not mention Linux
5456 kernel version for which pt_chown is not needed.
5457 (Linux): Do not mention problems with nscd with 2.0 kernels.
5458 * INSTALL: Regenerated.
5459
be08eda5
AJ
54602012-05-23 Andreas Jaeger <aj@suse.de>
5461
5462 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
5463 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
5464 macro.
5465 * sysdeps/unix/sysv/linux/s390/bits/mman.h
5466 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5467 * sysdeps/unix/sysv/linux/sh/bits/mman.h
5468 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5469 * sysdeps/unix/sysv/linux/i386/bits/mman.h
5470 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5471 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
5472 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5473 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
5474 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5475 * sysdeps/unix/sysv/linux/bits/in.h
5476 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
5477
a6a056bb
RM
54782012-05-22 Roland McGrath <roland@hack.frob.com>
5479
5480 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
5481 (PREPARE_VERSION): Just use assert instead, it will be elided
5482 under [NDEBUG] anyway.
5483
c9009328
L
54842012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5485
5486 * sysdeps/unix/sysv/linux/Makefile: Include
5487 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 5488 (sysdep_routines): Remove sysctl.
c9009328
L
5489 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
5490 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
5491 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
5492 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
5493 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
5494
73338355
AJ
54952012-05-22 Andreas Jaeger <aj@suse.de>
5496
5497 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
5498 that pseudo_end is just ret and the stack pointer is correct also
5499 for static library in error case.
5500
d44638b0
PP
55012012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5502
5503 [BZ #14122]
5504 * nss/nsswitch.c (defconfig_entries): New variable.
5505 (__nss_database_lookup): Don't leak defconfig entries.
5506 (nss_parse_service_list): Don't leak on error paths.
5507 (free_database_entries): New function.
5508 (free_defconfig): New function.
5509 (free_mem): Move common code to free_database_entries.
5510
31a39bd8
L
55112012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5512
da0331a8
L
5513 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
5514 Add arch_prctl.
5515 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
5516
31a39bd8
L
5517 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5518 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
5519 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
5520 New macro.
5521 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5522 (INTERNAL_SYSCALL_TYPES): Likewise.
5523 (LOAD_ARGS_TYPES_[1-6]): Likewise.
5524 (LOAD_REGS_TYPES_[1-6]): Likewise.
5525 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
5526 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
5527
45470df3
AZ
55282012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5529
5530 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
5531 copysignl for GLIBC_2_0.
5532 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
5533 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
5534 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
5535 logbl for GLIBC_2_0.
5536 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5537 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5538
98a61bcb
L
55392012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5540
a4f6e481
L
5541 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
5542 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5543
f63d5db6
L
5544 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5545 Use "neg %eax".
5546
98a61bcb
L
5547 * time/mktime.c: Update copyright years.
5548
95770f14
PE
55492012-05-22 Paul Eggert <eggert@cs.ucla.edu>
5550
6226efbd
PE
5551 mktime: merge comment-quoting-style change from gnulib
5552 * time/mktime.c: Quote 'like this' in comments.
5553 The GNU coding standards suggest that we no longer quote `like this',
5554 as "`" and "'" are typically rendered asymmetrically nowadays.
5555 The typical gnulib style is to quote 'like this' when quoting
5556 code, and "like this" when quoting English.
5557
b99e4f78
PE
5558 * time/mktime.c (compile-command): Add "-I.".
5559
643e01e6
PE
5560 mktime: merge mktime-internal.h change from gnulib
5561 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
5562
2554247d
PE
5563 mktime: merge time_r change from gnulib
5564 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
5565
826dd0ab
PE
5566 mktime: merge DEBUG change from gnulib
5567 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
5568 case system <time.h> has a #define.
5569
bd83aabe
PE
5570 mktime: merge <sys/types.h> change from gnulib
5571 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
5572 since <time.t> is now guaranteed to define time_t.
5573
95770f14
PE
5574 mktime: merge HAVE_CONFIG_H change from gnulib
5575 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
5576
5e1a27a9
L
55772012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5578
0e44a77e
L
5579 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5580 Use "neg %eax".
5581
5e1a27a9
L
5582 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
5583 __rlim_t cast.
5584 (struct rusage): Use anonymous union to pad each field to
5585 __syscall_slong_t.
5586
46259bec
DM
55872012-05-21 David S. Miller <davem@davemloft.net>
5588
5589 * Makefules (o-iterator): Remove .s cases.
5590 (compile-command.s): Delete.
5591 (COMPILE.s): Delete.
5592 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
5593
59f0c22e
JM
55942012-05-21 Joseph Myers <joseph@codesourcery.com>
5595
5596 * configure.in (libc_cv_predef_stack_protector): Only consider
5597 "foobar" and "__stack_chk_fail" lines in libc_undefs.
5598 * configure: Regenerated.
5599
20c07380
L
56002012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5601
bbb3154b
L
5602 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5603 New macro. Use R*LP on int and pointer.
5604 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
5605 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
5606 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
5607 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
5608
20c07380
L
5609 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
5610 [__WORDSIZE_TIME64_COMPAT32] instead of
5611 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
5612 (struct utmp): Likewise.
5613 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
5614 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
5615 Renamed to ...
5616 (__WORDSIZE_TIME64_COMPAT32): This.
5617 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
5618 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
5619 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
5620 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
5621 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
5622 (__WORDSIZE_TIME64_COMPAT32): New macro.
5623
d8d1017e
AJ
56242012-05-21 Andreas Jaeger <aj@suse.de>
5625
5626 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
5627 only if [SHARED]. Add prototype for __wcschr_ia32.
5628
6c7fb145
RM
56292012-05-21 Roland McGrath <roland@hack.frob.com>
5630
5631 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
5632 of %rbp unmolested in the jmp_buf while mangling the low bits.
5633 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
5634 unmolested high bits of %rbp while demangling the low bits.
5635 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5636
66274218
AJ
56372012-05-21 Andreas Jaeger <aj@suse.de>
5638
07c58f8f
AJ
5639 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
5640 * sunrpc/svc_simple.c: Use it for registerrpc.
5641 * sunrpc/xcrypt.c: Use it for passwd2des.
5642
66274218
AJ
5643 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
5644
61f65140
L
56452012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5646
5647 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
5648 Don't define if [__SYSCALL_WORDSIZE != 32].
5649 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
5650 New macro.
5651
5fefb436
AJ
56522012-05-21 Bruno Haible <bruno@clisp.org>
5653 Andreas Jaeger <aj@suse.de>
5654
5655 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
5656 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
5657 inptr and inend for must_buffer_ch.
5658 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
5659 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
5660 * stdio-common/Makefile (tests): Remove bug15.
5661 (bug15-ENV): Remove macro.
5662 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
5663 anymore.
5664
d8e272ab
AJ
56652012-05-19 Andreas Jaeger <aj@suse.de>
5666 Roland McGrath <roland@hack.frob.com>
5667
5668 * manual/contrib.texi: Completely rewritten. It contains now an
5669 alphabetical list of contributors and their contributions.
5670
4a56a162
RH
56712012-05-21 Richard Henderson <rth@twiddle.net>
5672
5673 * misc/getauxval.c (__getauxval): Use unsigned long int.
5674 * misc/sys/auxv.h: Include <sys/cdefs.h>.
5675 (getauxval): Use unsigned long int.
5676
d024d23c
L
56772012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5678
5679 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5680
cbc00a03
RM
56812012-05-21 Roland McGrath <roland@hack.frob.com>
5682
5683 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
5684 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
5685 __alignof__ (long double).
5686
478143fa
AZ
56872012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5688
5689 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5690
c7683a6d
RH
56912012-05-20 Richard Henderson <rth@twiddle.net>
5692
5693 * misc/getauxval.c: New file.
5694 * misc/sys/auxv.h: New file.
5695 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
5696 (routines): Add getauxval.
5697 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
5698 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
5699 * elf/dl-sysdep.c (_dl_auxv): Remove.
5700 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
5701 * elf/dl-support.c (_dl_auxv): New variable.
5702 (_dl_aux_init): Initialize it.
5703 * manual/startup.texi (Auxiliary Vector): New node.
5704 * sysdeps/generic/bits/hwcap.h: New file.
5705 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
5706 * sysdeps/powerpc/sysdep.h: ... here. Include it.
5707 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
5708 * sysdeps/sparc/sysdep.h: ... here. Include it.
5709 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
5710 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
5711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5712 Update.
c7683a6d
RH
5713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
5714 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
5715 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
5716 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
5717 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5718 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5719 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
5720 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
5721
a6f1845d
AZ
57222012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5723
5724 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5725
cbcbe830
DM
57262012-05-19 David S. Miller <davem@davemloft.net>
5727
5728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5729
e0b16cc2
JM
57302012-05-19 Joseph Myers <joseph@codesourcery.com>
5731
5732 [BZ #14123]
5733 * math/s_ccosh.c: Include <float.h>
5734 (__ccosh): Avoid internal overflow calculating sinh and cosh
5735 values before multiplying by sin and cos values.
5736 * math/s_ccoshf.c: Likewise.
5737 * math/s_ccoshl.c: Likewise.
5738 * math/s_csin.c: Likewise.
5739 * math/s_csinf.c: Likewise.
5740 * math/s_csinl.c: Likewise.
5741 * math/s_csinh.c: Likewise.
5742 * math/s_csinhf.c: Likewise.
5743 * math/s_csinhl.c: Likewise.
5744 * math/libm-test.inc (ccos_test): Add more tests.
5745 (ccosh_test): Likewise.
5746 (csin_test): Likewise.
5747 (csinh_test): Likewise.
5748 * sysdeps/i386/fpu/libm-test-ulps: Update.
5749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5750
6ad13e08
L
57512012-05-19 H.J. Lu <hongjiu.lu@intel.com>
5752
f66f0ce8
L
5753 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
5754 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5755
6ad13e08
L
5756 * sysdeps/x86_64/x32/_itoa.h: Add comment.
5757
b1d072a7
JM
57582012-05-19 Joseph Myers <joseph@codesourcery.com>
5759
5760 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
5761 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
5762 * sysdeps/powerpc/soft-fp/Versions: Likewise.
5763 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
5764 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
5765 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
5766 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
5767 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
5768 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
5769 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
5770 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
5771 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
5772 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
5773 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
5774 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
5775 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
5776 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
5777 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
5778 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
5779 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
5780 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
5781 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
5782 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
5783 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
5784 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
5785 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
5786 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
5787 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
5788 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
5789 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
5790 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
5791
9eae47cb
AJ
57922012-05-18 Andreas Jaeger <aj@suse.de>
5793
5794 * csu/.gitignore: Delete.
5795
bb07f69f
L
57962012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5797
5798 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
5799 (timex): Use __syscall_slong_t.
5800
e6bdb741
AJ
58012012-05-18 Andreas Jaeger <aj@suse.de>
5802 Carlos O'Donell <carlos_odonell@mentor.com>
5803
5804 * manual/install.texi (Configuring and compiling): Update
5805 description about files modified in the source directory.
d6c33fda 5806 * INSTALL: Regenerated.
e6bdb741 5807
1b74487e
L
58082012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5809
5810 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
5811 value. Use "or" to set return value to -1.
5812 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
5813 negate return value.
5814
a88b64b9
TMQMF
58152012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5816
5817 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
5818 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
5819 failure if the compiler has Graphite support disabled.
5820 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
5821 Likewise.
5822 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
5823 CFLAGS-memmove.c): Likewise.
5824 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
5825 Likewise.
5826
3707636e
L
58272012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5828
610b8622
L
5829 * sysdeps/x86_64/x32/_itoa.h: New file.
5830
7cd195df
L
5831 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
5832 getdents system call only if kernel and user dirents have the
5833 same d_ino and d_off.
5834
94b07d20
L
5835 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5836 LLONG_MAX != LONG_MAX.
5837 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5838 (_fitoa_word): Likewise.
5839
18298070
L
5840 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
5841 years.
5842 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
5843 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
5844 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
5845
553c7ea4
L
5846 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
5847 include <bits/wordsize.h>. Check __x86_64__ instead of
5848 __WORDSIZE.
5849 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
5850 if __x86_64__ is defined. Use anonymous union on fpstate.
5851
3707636e
L
5852 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
5853 anonymous union.
5854
b53ef01a
AS
58552012-05-18 Andreas Schwab <schwab@linux-m68k.org>
5856
37fb1dc0
AS
5857 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5858 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
5859 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
5860 Refer to _rtld_local_ro instead of _rtld_global_ro.
5861 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
5862 Likewise.
5863 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
5864 Likewise.
5865 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
5866 Likewise.
5867 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
5868 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
5869 of _rtld_global, and rtld_progname instead of _dl_argv[0].
5870
b53ef01a
AS
5871 * sysdeps/powerpc/powerpc32/dl-machine.c
5872 (__elf_machine_runtime_setup) [PROF]: Don't reference
5873 _dl_prof_resolve.
5874
7a185db2
AJ
58752012-05-18 Andreas Jaeger <aj@suse.de>
5876
5877 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
5878 function only available for GCCs before 3.4 since GCC 3.4
5879 introduced a builtin.
5880 (lrint): Likewise.
5881 (llrintf): Likewise.
5882 (llrint): Likewise.
5883 (fmaxf): Likewise.
5884 (fmax): Likewise.
5885 (fminf): Likewise.
5886 (fmin): Likewise.
5887 (rint): Likewise.
5888 (rintf): Likewise.
5889 (nearbyint): Likewise.
5890 (nearbyintf): Likewise.
5891 (ceil): Likewise.
5892 (ceilf): Likewise.
5893 (floor): Likewise.
5894 (floorf): Likewise.
5895
3e5aef87
L
58962012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5897
428bd707
L
5898 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
5899 on both fields and cast pointer to __syscall_ulong_t.
5900
3e5aef87
L
5901 * bits/types.h (__fsword_t): New type.
5902 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
5903 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
5904 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5905 (__FSWORD_T_TYPE): Likewise.
5906 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5907 (__FSWORD_T_TYPE): Likewise.
5908 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5909 (__FSWORD_T_TYPE): Likewise.
5910 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
5911 (__FSWORD_T_TYPE): Likewise.
5912 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
5913 __SWORD_TYPE with __fsword_t.
5914 (statfs64): Likewise.
5915
1ba7c3dc
DM
59162012-05-17 David S. Miller <davem@davemloft.net>
5917
5918 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
5919
59910343
AJ
59202012-05-17 Andreas Jaeger <aj@suse.de>
5921
5922 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
5923 warning.
5924
2e4c1e9e
L
59252012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5926
5927 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
5928
de7f5ce7
AJ
59292012-05-17 Andreas Jaeger <aj@suse.de>
5930
5931 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
5932 when it is used.
5933
286abc3d
CM
59342012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5935
5936 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
5937
477cc68e
L
59382012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5939
5940 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
5941 * sysdeps/x86_64/tst-mallocalign1.c: New file.
5942
1a0994f5
CD
59432012-05-17 Andreas Jaeger <aj@suse.de>
5944 Carlos O'Donell <carlos_odonell@mentor.com>
5945
5946 [BZ #14059]
5947 * sysdeps/x86_64/multiarch/init-arch.h
5948 (bit_YMM_Usable): Rename to...
5949 (bit_AVX_Usable): ... this.
5950 (bit_FMA4_Usable): New macro.
5951 (bit_XMM_state): New macro.
5952 (bit_YMM_state): New macro.
5953 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
5954 [__ASSEMBLER__] (index_AVX_Usable): ... this.
5955 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
5956 (CPUID_OSXSAVE): New macro.
5957 (CPUID_AVX): New macro.
5958 (CPUID_FMA4): New macro.
5959 (index_YMM_Usable): Rename to...
5960 (index_AVX_Usable): ... this.
5961 (HAS_AVX): Use HAS_ARCH_FEATURE.
5962 (HAS_FMA4): Likewise.
5963 (HAS_YMM_USABLE): Remove.
5964 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5965 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
5966 are present.
5967 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
5968 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
5969 * sysdeps/x86_64/multiarch/Makefile: Likewise.
5970 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
5971 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
5972
0af797de
CM
59732012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5974
5975 * math/libm-test.c: Support platforms without multiple rounding modes.
5976 * math/bug-nextafter.c: Support platforms without FP exceptions.
5977 * math/bug-nexttoward.c: Likewise.
5978 * math/test-fenv.c: Likewise.
5979 * math/test-misc.c: Likewise.
5980 * stdlib/bug-getcontext.c: Likewise.
5981
e39745ff
AJ
59822012-05-17 Andreas Jaeger <aj@suse.de>
5983
5984 * manual/examples/search.c (critter_cmp): Change signature to
5985 avoid warnings.
5986 * manual/string.texi (Collation Functions): Likewise.
5987
48970aba
L
59882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5989
5990 * bits/types.h: Fold copyright years.
5991 * bits/typesizes.h: Likewise.
5992 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
5993 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5994 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
5995 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
5996 * time/time.h: Likewise.
5997
bedee953
PP
59982012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5999
6000 [BZ #208]
6001 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
6002 in instead of returning them. Return void.
6003 (__libc_mallinfo): Accumulate over all arenas.
6004 (__malloc_stats): Adjust for change in int_mallinfo interface.
6005
61653dfb
RM
60062012-05-16 Roland McGrath <roland@hack.frob.com>
6007
30b99d79
RM
6008 [BZ #10375]
6009 * configure.in (NM): Add AC_CHECK_TOOL for it.
6010 (libc_extra_cflags): New substituted variable.
6011 Check for -fstack-protector being used implicitly.
6012 * configure: Regenerated.
6013 * config.make.in (config-extra-cflags): New variable,
6014 gets @libc_extra_cflags@.
6015 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
6016
61653dfb
RM
6017 [BZ #10375]
6018 * configure.in: Check for _FORTIFY_SOURCE being predefined.
6019 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
6020 * configure: Regenerated.
6021 * config.make.in (CPPUNDEFS): New substituted variable.
6022 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
6023 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
6024 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
6025
661768bb
L
60262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6027
6028 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
6029 (mq_attr): Use __syscall_slong_t.
6030
d4261567
L
60312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6032
6033 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
6034 Check __x86_64__ instead of __WORDSIZE.
6035 (_STAT_VER_LINUX): Likewise.
6036 (stat): Check __x86_64__ instead of __WORDSIZE. Use
6037 __syscall_ulong_t and __syscall_slong_t.
6038 (stat64): Likewise.
6039
cf3ff365
L
60402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6041
6042 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
6043
76cf3e4d
L
60442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6045
6046 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
6047
a637753a
L
60482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6049
6050 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
6051 __syscall_ulong_t.
6052
d5e05119
L
6053 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
6054 include <bits/wordsize.h>. Check __x86_64__ instead of
6055 __WORDSIZE.
6056 (greg_t): Use "__extension__ long long int" if __x86_64__ is
6057 defined.
6058 (mcontext_t): Replace "unsigned long" with "unsigned long long".
6059
f62ee380
L
6060 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
6061 include <bits/wordsize.h>. Check __x86_64__ instead of
6062 __WORDSIZE.
6063 (user_regs_struct): Use "__extension__ unsigned long long"
6064 instead of "unsigned long" if __x86_64__ is defined.
6065 (user): Likewise. Pad after pointer field if __ILP32__ is
6066 defined.
6067
4e124ced
JM
60682012-05-16 Joseph Myers <joseph@codesourcery.com>
6069
6a3951a0
JM
6070 * configure.in (makeinfo): Require version 4.5 or later. Allow
6071 versions 5 to 9.
6072 * configure: Regenerated.
6073 * manual/install.texi (texinfo): Increase version requirement to
6074 4.5 or later.
6075 * INSTALL: Regenerated.
6076
4e124ced
JM
6077 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
6078
953ca31a
L
60792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6080
6081 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
6082
617aca05
L
6083 * sysdeps/x86_64/x32/ffs.c: New file.
6084
5762f7ae
L
6085 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
6086 __syscall_ulong_t.
6087 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
6088 defined. Use __syscall_ulong_t.
6089 (shminfo): Use __syscall_ulong_t.
6090 (shm_info): Likewise.
6091
a26b6856
L
6092 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
6093 __syscall_ulong_t.
6094
cb2b9ef7
L
6095 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
6096 <bits/wordsize.h>.
6097 (msgqnum_t): Use __syscall_ulong_t.
6098 (msglen_t): Likewise.
6099 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
6100 __syscall_ulong_t.
6101
34683bb0
L
6102 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
6103 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6104
84a68786
L
6105 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
6106
48baa5f1
L
6107 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
6108 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
6109
180be88b
L
6110 * sysvipc/sys/msg.h (msgbuf): Replace long int with
6111 __syscall_slong_t.
6112
5e90c8ad
L
6113 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
6114 include <bits/wordsize.h>. Check __x86_64__ instead of
6115 __WORDSIZE.
6116
23dfb58b
L
6117 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
6118 "unsigned long long int" if __x86_64__ is defined.
6119 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
6120
ce5d54b0
L
6121 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
6122 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6123 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
6124
13dc9eac
L
6125 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
6126 <stdint.h>.
6127 (GET_PC): Cast to uintptr_t first.
6128 (GET_FRAME): Likewise.
6129 (GET_STACK): Likewise.
6130
a7895d15
L
6131 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
6132 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
6133 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
6134 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
6135 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
6136 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
6137 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
6138 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
6139 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
6140 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
6141 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
6142 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
6143 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6144 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
6145 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
6146 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
6147 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
6148 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
6149 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
6150 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
6151 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
6152 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
6153 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
6154 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
6155 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
6156 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
6157 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
6158 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
6159 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
6160
656416c9
AS
61612012-05-16 Andreas Schwab <schwab@linux-m68k.org>
6162
5bd66283
AS
6163 * Makerules (+depfiles): Also collect depfiles from .oS in
6164 $(extra-objs).
6165 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
6166 .oS, $(libnldbl-routines)).
6167
656416c9
AS
6168 * Makerules (native-compile-mkdep-flags): Define.
6169 * sunrpc/Makefile (extra-objs): Add $(addprefix
6170 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
6171 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
6172 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
6173 calling $(make-target-directory).
6174
a46f2169
L
61752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6176
6177 * bits/types.h (__snseconds_t): Removed.
6178 * time/time.h (struct timespec): Replace __snseconds_t with
6179 __syscall_slong_t.
6180 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
6181 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
6182 Likewise.
6183 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6184 (__SNSECONDS_T_TYPE): Likewise.
6185 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6186 (__SNSECONDS_T_TYPE): Likewise.
6187 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6188 (__SNSECONDS_T_TYPE): Likewise.
6189
6af6528b
L
61902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6191
6192 * sysdeps/mach/hurd/bits/typesizes.h
6193 (__SYSCALL_SLONG_TYPE): New macro.
6194 (__SYSCALL_ULONG_TYPE): Likewise.
6195
de986b56
L
61962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6197
6198 * bits/types.h (__syscall_slong_t): New type.
6199 (__syscall_ulong_t): Likewise.
6200
6201 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
6202 (__SYSCALL_ULONG_TYPE): Likewise.
6203 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6204 (__SYSCALL_SLONG_TYPE): Likewise.
6205 (__SYSCALL_ULONG_TYPE): Likewise.
6206 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6207 (__SYSCALL_SLONG_TYPE): Likewise.
6208 (__SYSCALL_ULONG_TYPE): Likewise.
6209 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6210 (__SYSCALL_SLONG_TYPE): Likewise.
6211 (__SYSCALL_ULONG_TYPE): Likewise.
6212
85736dc7
L
62132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6214
6215 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
6216 Add sigaltstack-offsets.sym.
6217 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
6218 <sigaltstack-offsets.h>.
6219 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
6220 longjmp_msg pointer.
6221 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
6222 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
6223 signal stack.
6224 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
6225
cc03b296
JM
62262012-05-15 Joseph Myers <joseph@codesourcery.com>
6227
a9538892
JM
6228 * elf/stackguard-macros.h: Remove file.
6229 * sysdeps/generic/stackguard-macros.h: New file.
6230 * sysdeps/i386/stackguard-macros.h: Likewise.
6231 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6232 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6233 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6234 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6235 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6236 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6237 * sysdeps/x86_64/stackguard-macros.h: Likewise.
6238 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
6239 <elf/stackguard-macros.h>.
6240
cc03b296
JM
6241 [BZ #14109]
6242 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
6243 __aligned__ in attribute.
6244 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
6245 (gregset_t): Likewise.
6246
93171016
L
62472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6248
6249 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
6250 * sysdeps/x86_64/64/Implies-after: Here. New file.
6251 * sysdeps/x86_64/x32/Implies-after: New file.
6252
d86813a0
L
62532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6254
6255 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
6256 and access return value for _dl_profile_fixup. Use R10_LP to
6257 load frame size.
6258
2953ec75
L
62592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6260
6261 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
6262
3b550e9e
L
62632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6264
6265 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
6266 * sysdeps/x86_64/x32/sysdep.h: New file.
6267
eda41706
L
62682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6269
6270 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
6271 * sysdeps/x86_64/setjmp.S: Likewise.
6272
9ea01d93
AZ
62732012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6274
6275 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
6276 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
6277 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
6278 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
6279 remove unused global constant.
6280
02a91938
CM
62812012-05-15 Chris Metcalf <cmetcalf@tilera.com>
6282
6283 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
6284 include of <not-cancel.h>.
6285
6540185f
RM
62862012-05-15 Roland McGrath <roland@hack.frob.com>
6287
6288 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
6289
509072a0
AJ
62902012-05-15 Jeff Law <law@redhat.com>
6291 Andreas Jaeger <aj@suse.de>
6292
6293 [BZ #13594]
6294 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
6295 out from...
6296 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
6297 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
6298 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
6299 code changing __hst_map_handle.map.
6300
ba75122d
RM
63012012-05-15 Roland McGrath <roland@hack.frob.com>
6302
6303 * configure.in (sysnames): Look for Implies-before and Implies-after
6304 files.
6305 * configure: Regenerated.
6306
890d8bd8
L
63072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6308
6309 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
6310 8-byte data alignment with LP_SIZE alignment.
6311
f6ee6623
L
63122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6313
6314 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
6315 into R10_LP.
6316
ea2626f6
L
63172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6318
6319 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
6320
085f715e
L
63212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6322
6323 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
6324 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
6325 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
6326 Likewise.
6327 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6328
be8498fc
L
63292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6330
6331 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
6332 (stackinfo_sub_sp): Likewise.
6333
70bc83b9
L
63342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6335
6336 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
6337 RAX_LP.
6338
9bc0b730
L
63392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6340
6341 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
6342 into R*_LP.
6343
6d2850e7
L
63442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6345
6346 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
6347 sizes into R*_LP.
6348
3cb84561
L
63492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6350
6351 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
6352
54e2ed81
L
63532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6354
6355 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
6356 into R11_LP and load __x86_64_shared_cache_size_half into
6357 R8_LP.
6358
8a17f349
L
63592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6360
6361 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
6362 R8_LP.
6363
777b1eea
AZ
63642012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6365
6366 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
6367 logb for POWER7.
6368 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
6369 logbf for POWER7.
6370 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
6371 logbl for POWER7.
6372 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
6373 powerpc32/power7/fpu/s_logb.c via #include.
6374 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
6375 powerpc32/power7/fpu/s_logbf.c via #include.
6376 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
6377 powerpc32/power7/fpu/s_logbl.c via #include.
6378
d20d4ac2
JM
63792012-05-15 Joseph Myers <joseph@codesourcery.com>
6380
6381 * README.libm: Remove file.
6382
6cdef1ab
L
63832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6384
6385 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
6386 count for x32. Use R*_LP and omit operand-size suffix.
6387
0b254d8f
L
63882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6389
6390 * shlib-versions: Move x86_64-.*-linux.* entries to ...
6391 * sysdeps/x86_64/64/shlib-versions: Here. New file.
6392 * sysdeps/x86_64/x32/shlib-versions: New file.
6393
ceb809dc
RM
63942012-05-14 Roland McGrath <roland@hack.frob.com>
6395
6396 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
6397 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
6398 Use _dl_fatal_printf instead.
6399
37f1abd4
JM
64002012-05-14 Joseph Myers <joseph@codesourcery.com>
6401
6402 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
6403 set if not set by the user. Do not allow for being unset.
6404 * sysdeps/unix/sysv/linux/configure: Regenerated.
6405
11de3a33
L
64062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6407
6408 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
6409 the `q' suffix from lea and replace .quad with ASM_ADDR.
6410
e02f153a
L
64112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6412
6413 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
6414 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
6415 instead of $17.
6416 (PTR_DEMANGLE): Likewise.
6417
520ae0fd
L
64182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6419
6420 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
6421 (LP_OP): Likewise.
6422 (ASM_ADDR): Likewise.
6423 (RAX_LP): Likewise.
6424 (RBP_LP): Likewise.
6425 (RBX_LP): Likewise.
6426 (RCX_LP): Likewise.
6427 (RDI_LP): Likewise.
6428 (RSI_LP): Likewise.
6429 (RSP_LP): Likewise.
6430 (R8_LP): Likewise.
6431 (R9_LP): Likewise.
6432 (R10_LP): Likewise.
6433 (R10_LP): Likewise.
6434 (R11_LP): Likewise.
6435 (R12_LP): Likewise.
6436 (R13_LP): Likewise.
6437 (R14_LP): Likewise.
6438 (R15_LP): Likewise.
6439
b985be81
L
64402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6441
6442 * sysdeps/x86_64/x32/dl-machine.h: New file.
6443
6a4888ff
AJ
64442012-05-14 Andreas Jaeger <aj@suse.de>
6445
6446 * manual/Makefile (subdir): Remove export of subdir.
6447 (all): Remove target.
6448 (.PHONY): Remove all from list.
6449 (mkinstalldirs): Remove.
6450 (.PHONY): Remove installdirs from list.
6451 ($(inst_infodir)/libc.info): Use make-target-directory.
6452 (installdirs): Remove.
6453 (subdir_%): Remove.
6454 (glibc-targets): Remove.
6455 (lib): Remove.
6456 (stubs): Remove.
6457 ($(objpfx)stubs ../po/manual.pot): Remove.
6458 ($(objpfx)stamp%): Remove.
6459 (make-target-directory): Remove.
6460 (subdir_install): Remove.
6461 (routines): Remove.
6462 (aux): Remove.
6463 (sources): Remove.
6464 (objects): Remove.
6465 (headers): Remove.
6466
6467 [BZ #13750]
6468 * manual/.gitignore: Remove, it's not needed anymore.
6469 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
6470 all files in it.
6471 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
6472 directory.
6473 (texis): Renamed to $(objpfx)texis.
6474 (texis-path): New, contains path to generated files.
6475 (chapters.%): Use texis-path for complete path, add extra argument
6476 libc-texinfo.sh.
6477 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
6478 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
6479 (summary,texi, stamp-summary): Use complete path of
6480 files. Generate files in build dir.
6481 (dir-add.texi): Build in build dir.
6482 (libm-err.texi,stamp-libm-err): Likewise.
6483 (version.texi, stamp-version): Likewise.
6484 (.%c.texi): Likewise.
6485 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
6486 (mostlyclean): Remove target.
6487 (realclean): Remove target.
6488 (generated): Add new variable with contents from mostlyclean and
6489 realclean, remove entries duplicated in common-mostlyclean, add
6490 stamp-libm-err and stamp-version.
6491 (generated-dirs): Add libc directory.
6492 ($(inst_infodir)/libc.info): Install files from build dir.
6493
6494 * manual/install.texi (Configuring and compiling): Adjust since
6495 the info files are not part of the tar ball anymore.
6496
7ac77294
AJ
64972012-05-14 Andreas Jaeger <aj@suse.de>
6498
6499 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
6500 variable.
6501
ffb7875d
JM
65022012-05-14 Joseph Myers <joseph@codesourcery.com>
6503
6504 [BZ #13717]
6505 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6506 to 2.2.0 where earlier.
6507 * sysdeps/unix/sysv/linux/configure: Regenerated.
6508 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
6509 Remove conditional code.
6510 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
6511 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
6512 Remove conditional code.
6513 [!__NR_lchown]: Likewise.
6514 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6515 [__NR_lchown]: Likewise.
6516 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
6517 comment referencing __ASSUME_LCHOWN_SYSCALL.
6518 * sysdeps/unix/sysv/linux/i386/sigaction.c
6519 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6520 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6521 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
6522 Remove conditional code.
6523 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
6524 (__protocol_available): Remove #if 0 code.
6525 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
6526 conditional code.
6527 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
6528 * sysdeps/unix/sysv/linux/kernel-features.h
6529 (__ASSUME_GETCWD_SYSCALL): Don't define.
6530 (__ASSUME_REALTIME_SIGNALS): Likewise.
6531 (__ASSUME_PREAD_SYSCALL): Likewise.
6532 (__ASSUME_PWRITE_SYSCALL): Likewise.
6533 (__ASSUME_POLL_SYSCALL): Likewise.
6534 (__ASSUME_LCHOWN_SYSCALL): Likewise.
6535 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
6536 non-SPARC.
6537 (__ASSUME_SIOCGIFNAME): Don't define.
6538 (__ASSUME_MSG_NOSIGNAL): Likewise.
6539 (__ASSUME_SENDFILE): Define unconditionally.
6540 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
6541 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
6542 conditional code.
6543 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
6544 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
6545 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6546 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6547 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
6548 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6549 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
6551 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6552 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6554 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6555 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
6557 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6558 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6560 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6561 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
6563 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6564 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6566 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6567 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
6569 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6570 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6572 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6573 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6574 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
6575 Remove conditional code.
6576 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6577 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6578 Remove conditional code.
6579 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6580 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
6581 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
6582 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6583 Remove conditional code.
6584 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6585 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
6586 Remove conditional code.
6587 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6588 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
6589 Remove conditional code.
6590 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6591 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6592 Remove conditional code.
6593 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6594 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6595 Remove conditional code.
6596 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6597 * sysdeps/unix/sysv/linux/sh/pwrite64.c
6598 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6599 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6600 * sysdeps/unix/sysv/linux/sigaction.c
6601 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6602 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6603 * sysdeps/unix/sysv/linux/sigpending.c
6604 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6605 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6606 * sysdeps/unix/sysv/linux/sigprocmask.c
6607 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6608 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6609 * sysdeps/unix/sysv/linux/sigsuspend.c
6610 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6611 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6612 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6613 (__libc_missing_rt_sigs): Remove.
6614 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
6615 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
6616 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
6617 Remove conditional code.
6618 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
6619 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
6620 return 1.
6621 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
6622 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
6623 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
6624 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
6625
1bfb7291
AJ
66262012-05-14 Andreas Jaeger <aj@suse.de>
6627
caae5a81
AJ
6628 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
6629 it's not used in glibc.
6630 (__coshm1): Likewise.
6631 (__acosh1p): Likewise.
6632 (__sgn): Likewise.
6633
1bfb7291
AJ
6634 * manual/string.texi (Copying and Concatenation): Add missing
6635 variable in concat example.
6636 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6637
c044d724
L
66382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6639
144c5467 6640 [BZ #14103]
c044d724
L
6641 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
6642 __builtin_clzl with __builtin_clzll.
6643
2523c62b
L
66442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6645
6646 [BZ #14104]
6647 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
6648 libc_freeres_ptr.
6649
d7bb4c42
LD
66502012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6651
6652 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
6653 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
6654 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
6655 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
6656
9dc4e1fb
MF
66572012-05-14 Mike Frysinger <vapier@gentoo.org>
6658
6659 * NEWS: Update ia64 info.
6660
c7df0112
AS
66612012-05-12 Andreas Schwab <schwab@linux-m68k.org>
6662
6663 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
6664 used as bcopy.
6665
dc70356c
TS
66662012-05-12 Thomas Schwinge <thomas@codesourcery.com>
6667
6668 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
6669 * sysdeps/unix/syscalls.list (dup3): Likewise.
6670 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
6671 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
6672
9fb1a21f
L
66732012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6674
6675 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
6676 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
6677
4822a2a5
L
66782012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6679
6680 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
6681 thread pointer.
6682 (TLS_IE): Use mov/add instead of movq/addq to load thread
6683 pointer.
6684 (TLS_GD_PREFIX): New.
6685 (TLS_GD): Use it.
6686
842b81d6
DM
66872012-05-11 David S. Miller <davem@davemloft.net>
6688
6689 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
6690 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
6691 (_FPU_SETCW): Likewise.
6692
1cf463cd
L
66932012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6694
6695 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
6696 is 32-byte aligned.
6697
60cc4a18
AS
66982012-05-11 Andreas Schwab <schwab@linux-m68k.org>
6699
6700 [BZ #11837]
6701 * iconvdata/gb18030.c: Update tables.
6702 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
6703 characters specially.
6704 (BODY for TO_LOOP): Add encoding of missing ranges.
6705
febb44a4
TS
67062012-05-11 Thomas Schwinge <thomas@codesourcery.com>
6707
6708 [BZ #13673]
6709 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
6710 * sysdeps/mach/hurd/dup3.c: Likewise.
6711 * sysdeps/mach/hurd/readlinkat.c: Likewise.
6712 * sysdeps/powerpc/memmove.c:: Likewise.
6713
0a10fb9e
L
67142012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6715
6716 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
6717 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
6718
df8a552f
L
67192012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6720
6721 * elf/elf.h (R_X86_64_RELATIVE64): New.
6722 (R_X86_64_NUM): Updated.
6723 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6724 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
6725 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
6726 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
6727 tst-quad1pie tst-quad2pie
6728 (modules-names): Add tst-quadmod1 tst-quadmod2.
6729 ($(objpfx)tst-quad1): New dependency.
6730 ($(objpfx)tst-quad2): Likewise.
6731 ($(objpfx)tst-quad1pie): Likewise.
6732 ($(objpfx)tst-quad2pie): Likewise.
6733 * sysdeps/x86_64/tst-quad1.c: New file.
6734 * sysdeps/x86_64/tst-quad1pie.c: New file.
6735 * sysdeps/x86_64/tst-quad2.c: Likewise.
6736 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
6737 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
6738 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
6739 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
6740 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
6741
f34d6f84
ST
67422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6743
f42d41d1
ST
6744 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
6745 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
6746 * streams/stropts.h (t_scalar_t): Define type.
6747
3c3571fc
ST
6748 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
6749 (_PATH_PRESERVE): Set to "/var/lib".
6750 (_PATH_RWHODIR): Set to "/var/spool/rwho".
6751
61f06bd3
ST
6752 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
6753 instead of int.
6754
918d4d71
ST
6755 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
6756 if __dir_mkfile succeeded.
6757
f34d6f84
ST
6758 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
6759 checking for _hurd_dtablesize. Unlock it right after having
6760 finished _hurd_dtable allocation.
6761
10589b4a
TS
67622012-05-10 Thomas Schwinge <thomas@schwinge.name>
6763
674cdbc7
TS
6764 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
6765 * sysdeps/mach/hurd/configure: Regenerated.
6766 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
6767 special-casing to...
6768 * sysdeps/gnu/configure.in: ... this new file.
6769 * sysdeps/unix/sysv/linux/configure: Regenerated.
6770 * sysdeps/gnu/configure: New generated file.
6771
8e41b99f
TS
6772 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
6773 for Linux: use nsec instead of usec, as well as:
6774 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
6775 members of type struct timespec.
6776 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
6777 New macros.
6778 (struct stat64): Likewise.
6779 (_STATBUF_ST_NSEC): New macro.
6780 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
6781
10589b4a
TS
6782 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6783 __strtoul_internal rather than strtoul.
6784
63643c85
PT
67852012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6786
6787 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
6788 and reject them.
6789
3faebe6a
ST
67902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6791
6792 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
6793 which preserves existing values.
6794 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
6795
c6474b07
PT
67962012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6797
6798 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
6799 TIMEOUT values. Return EINVAL for NFDS values either negative or
6800 greater than FD_SETSIZE.
6801
1043890b
ST
68022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6803
6804 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
6805 allocated, call __vm_protect to finish enabling the existing space, and
6806 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
6807 allocate the remainder.
6808
37ed8b9b
PT
68092012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6810
6811 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
6812 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
6813
db653660
ST
68142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6815
37ed8b9b
PT
6816 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
6817 sysdeps/mach/hurd/readlink.c.
b29d4053 6818
db653660
ST
6819 * posix/tst-sysconf.c (posix_options): Only use
6820 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
6821 _POSIX_SYNCHRONIZED_IO when they are defined
6822 * sysdeps/mach/hurd/bits/posix_opt.h:
6823 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
6824 (_XOPEN_REALTIME): Undefine macro.
6825 (_XOPEN_REALTIME_THREADS): Undefine macro.
6826 (_XOPEN_SHM): Undefine macro.
6827 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
6828 macro to -1.
6829 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
6830 macro to -1.
6831 (_POSIX_ASYNC_IO): Undefine macro.
6832 (_POSIX_PRIORITIZED_IO): Undefine macro.
6833 (_POSIX_SPIN_LOCKS): Define macro to -1.
6834
ee16e894
ST
6835 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
6836 SA_NODEFER, SA_RESETHAND.
6837 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
6838 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
6839 F_DUPFD_CLOEXEC.
6840
6103ae3b
TS
68412012-05-10 Thomas Schwinge <thomas@schwinge.name>
6842
6843 * elf/Makefile (pldd-modules): Define unconditionally.
6844
80b4e5f3
TS
68452012-05-10 Thomas Schwinge <thomas@schwinge.name>
6846
6847 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
6848
edadcbd6
ST
68492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6850
6851 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
6852 Return ENOENT when name is empty.
6853 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
6854
80694780
TS
68552012-05-10 Thomas Schwinge <thomas@schwinge.name>
6856
1792c087
TS
6857 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
6858
80694780
TS
6859 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
6860
6b645f0d
ST
68612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6862
80694780
TS
6863 Fix mlock in all cases except non-readable pages.
6864 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
6865 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 6866
6b645f0d
ST
6867 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
6868 (__mkdir): When path is `/', just fail with EEXIST.
6869 * sysdeps/mach/hurd/mkdirat.c: Likewise.
6870
e468f8a3
TS
68712012-05-10 Thomas Schwinge <thomas@schwinge.name>
6872
6873 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
6874 <sys/uio.h> (for writev).
6875 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
6876 and <sys/param.h> (for MIN).
6877
a4186cff
PT
68782012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6879
6880 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
6881 REQUESTED_TIME. Properly set the remaining time and return EINTR
6882 if interrupted.
6883
510bbf14
TS
68842012-05-10 Thomas Schwinge <thomas@schwinge.name>
6885
6886 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
6887 Depend on against $(link-rpcuserlibs).
6888
5d5722e8
ST
68892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6890
a4186cff
PT
6891 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
6892 (__libc_stack_end): Do not use attribute_relro.
6893 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
6894 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 6895 to libthread-provided value.
a4186cff
PT
6896 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
6897 attribute_relro.
5d5722e8 6898
37233df9
TS
68992012-05-10 Thomas Schwinge <thomas@schwinge.name>
6900
be971a2b
TS
6901 [BZ #3748]
6902 * bits/libc-lock.h (__libc_once_get): New macro.
6903 * sysdeps/mach/bits/libc-lock.h: Likewise.
6904 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
6905 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
6906 instead of using implementation details.
6907
37233df9
TS
6908 * libio/fileops.c: Unconditionally include <kernel-features.h>.
6909 * libio/freopen.c: Likewise.
6910 * libio/freopen64.c: Likewise.
6911 * misc/syslog.c: Likewise.
6912 * nscd/connections.c: Likewise.
6913 * nscd/netgroupcache.c: Likewise.
6914 * sysdeps/posix/getcwd.c: Likewise.
6915
38de94a5
RM
69162012-05-10 Roland McGrath <roland@hack.frob.com>
6917
6918 * math/w_ilogbf.c: Add #include <limits.h>.
6919
67530489
ST
69202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6921
a4186cff 6922 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
6923 path instead of returning without unlocking.
6924
67530489
ST
6925 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
6926 immediate-write ioctls.
6927 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
6928
5aa3a74a
TS
69292012-05-10 Thomas Schwinge <thomas@schwinge.name>
6930
18bad2ae
TS
6931 * sysdeps/mach/hurd/i386/init-first.c (init): Use
6932 __builtin_frame_address instead of making assumptions about the
6933 location of the return address relative to DATA. Force early load of
6934 the return address.
6935 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
6936 __builtin_frame_address.
6937
5aa3a74a
TS
6938 dup3 for GNU Hurd.
6939 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
6940 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
6941 implement dup3 and do some further code clean-ups.
6942 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
6943 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
6944
ecd0de9a
ST
69452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6946
cd9fa985
ST
6947 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
6948
a4186cff
PT
6949 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
6950 HURD_CRITICAL_END around holding _hurd_dtable_lock.
6951 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
6952 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
6953 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
6954 d->port.lock.
802ca5a5 6955
a4186cff
PT
6956 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
6957 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
6958 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 6959
bcf55240
TS
69602012-05-10 Thomas Schwinge <thomas@schwinge.name>
6961
6960eb42
TS
6962 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
6963 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
6964 definitions.
6965
eb43375f
TS
6966 accept4 for GNU Hurd.
6967 * include/sys/socket.h (__libc_accept4): New prototype.
6968 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
6969 to implement __libc_accept4.
6970 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
6971 __libc_accept4.
6972 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
6973
bcf55240
TS
6974 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
6975 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
6976 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
6977 signal-defines.sym.
6978
6178c55b
ST
69792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6980
a4186cff 6981 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 6982
6f080c2f
TS
69832012-05-10 Thomas Schwinge <thomas@schwinge.name>
6984
6985 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
6986 assertion on O_CLOEXEC flag.
6987 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
6988 * hurd/intern-fd.c: Likewise.
6989 * hurd/port2fd.c: Likewise.
6990
bcfe3a54
ST
69912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6992
6993 [BZ #3906]
6994 * bits/in.h (IPV6_PKTINFO): Define new macro.
6995 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
6996
89c9aa49
AZ
69972012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6998
6999 [BZ #13954]
7000 [BZ #13955]
7001 [BZ #13956]
7002 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
7003 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7004 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
7005 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7006 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7007 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7008 * math/libm-test.inc (logb_test) : Additional logb tests.
7009
021db4be
AJ
70102012-05-09 Andreas Schwab <schwab@linux-m68k.org>
7011 Andreas Jaeger <aj@suse.de>
7012
7013 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
7014 * configure: Regenerated.
7015 * config.h.in (LINK_OBSOLETE_RPC): New macro.
7016 * config.make.in (link-obsolete-rpc): New substituted variable.
7017 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
7018 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
7019 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7020 (shared-only-routines): Don't set it under [link-obsolete-rpc],
7021 so that libc.a contains the symbols.
7022 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7023 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
7024 * sunrpc/auth_none.c: Likewise.
7025 * sunrpc/auth_unix.c: Likewise.
7026 * sunrpc/authdes_prot.c: Likewise.
7027 * sunrpc/authuxprot.c: Likewise.
7028 * sunrpc/clnt_gen.c: Likewise.
7029 * sunrpc/clnt_perr.c: Likewise.
7030 * sunrpc/clnt_raw.c: Likewise.
7031 * sunrpc/clnt_simp.c: Likewise.
7032 * sunrpc/clnt_tcp.c: Likewise.
7033 * sunrpc/clnt_udp.c: Likewise.
7034 * sunrpc/clnt_unix.c: Likewise.
7035 * sunrpc/des_crypt.c: Likewise.
7036 * sunrpc/des_soft.c: Likewise.
7037 * sunrpc/get_myaddr.c: Likewise.
7038 * sunrpc/key_call.c: Likewise.
7039 * sunrpc/key_prot.c: Likewise.
7040 * sunrpc/netname.c: Likewise.
7041 * sunrpc/pm_getmaps.c: Likewise.
7042 * sunrpc/pm_getport.c: Likewise.
7043 * sunrpc/pmap_clnt.c: Likewise.
7044 * sunrpc/pmap_prot.c: Likewise.
7045 * sunrpc/pmap_prot2.c: Likewise.
7046 * sunrpc/pmap_rmt.c: Likewise.
7047 * sunrpc/publickey.c: Likewise.
7048 * sunrpc/rpc_cmsg.c: Likewise.
7049 * sunrpc/rpc_common.c: Likewise.
7050 * sunrpc/rpc_dtable.c: Likewise.
7051 * sunrpc/rpc_prot.c: Likewise.
7052 * sunrpc/rpc_thread.c: Likewise.
7053 * sunrpc/rtime.c: Likewise.
7054 * sunrpc/svc.c: Likewise.
7055 * sunrpc/svc_auth.c: Likewise.
7056 * sunrpc/svc_raw.c: Likewise.
7057 * sunrpc/svc_run.c: Likewise.
7058 * sunrpc/svc_tcp.c: Likewise.
7059 * sunrpc/svc_udp.c: Likewise.
7060 * sunrpc/svc_unix.c: Likewise.
7061 * sunrpc/svcauth_des.c: Likewise.
7062 * sunrpc/xcrypt.c: Likewise.
7063 * sunrpc/xdr.c: Likewise.
7064 * sunrpc/xdr_array.c: Likewise.
7065 * sunrpc/xdr_float.c: Likewise.
7066 * sunrpc/xdr_intXX_t.c: Likewise.
7067 * sunrpc/xdr_mem.c: Likewise.
7068 * sunrpc/xdr_rec.c: Likewise.
7069 * sunrpc/xdr_ref.c: Likewise.
7070 * sunrpc/xdr_sizeof.c: Likewise.
7071 * sunrpc/xdr_stdio.c: Likewise.
7072
b5c086a2
RM
70732012-05-10 Roland McGrath <roland@hack.frob.com>
7074
7075 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
7076 change. Update copyright years.
7077
6d74dd09
JM
70782012-05-10 Joseph Myers <joseph@codesourcery.com>
7079
7080 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
7081
28e72501
MK
70822012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
7083 Joseph Myers <joseph@codesourcery.com>
7084 Paul Pluzhnikov <ppluzhnikov@google.com>
7085
7086 [BZ #14012]
7087 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
7088 requiring rpcgen.
7089 [cross-compiling] (extra-libs): Likewise.
7090 [cross-compiling] (extra-libs-others): Likewise.
7091 [cross-compiling] (librpcsvc-routines): Likewise.
7092 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
7093 [cross-compiling] (omit-deps): Likewise.
7094 (sunrpc-CPPFLAGS): New variable.
7095 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
7096 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
7097 (cross-rpcgen-objs): New variable.
7098 (extra-objs): Append $(cross-rpcgen-objs).
7099 ($(cross-rpcgen-objs)): New rule.
7100 ($(objpfx)cross-rpcgen): Likewise.
7101 (rpcgen-cmd): Define to use $(built-program-file). Expand
7102 comment.
7103 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
7104 ($(objpfx)x%.stmp): Likewise.
7105 * sunrpc/proto.h [IS_IN_build] (_): Define.
7106 [IS_IN_build] (_libc_intl_domainname): Likewise.
7107
c8c59454
L
71082012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7109
7110 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
7111 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
7112 and R_X86_64_TPOFF64.
7113
6f27cd16
JM
71142012-05-10 Joseph Myers <joseph@codesourcery.com>
7115
7116 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
7117 sysdeps/unix/sysv/syscalls.list.
7118 (stime): Likewise.
7119 (utime): Likewise.
7120 * sysdeps/unix/sysv/syscalls.list: Remove file.
7121
02467e1c
PE
71222012-05-10 Paul Eggert <eggert@cs.ucla.edu>
7123
7124 [BZ #3440]
7125 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
7126 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
7127 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
7128 (__LC_IDENTIFICATION): Make these macros useful in #if
7129 expressions, as required by C99.
7130
da392631
AS
71312012-05-10 Andreas Schwab <schwab@linux-m68k.org>
7132
7133 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
7134 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
7135 after this.
7136
8115f29b
L
71372012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7138
7139 * stdlib/longlong.h: Updated from GCC.
7140
bdd74070
AJ
71412012-05-09 Andreas Jaeger <aj@suse.de>
7142
edfe0dbe
AJ
7143 * nscd/nscd.c (run_modes): Make named enum, reorder so that
7144 default is first entry.
7145 (run_mode): Set type.
7146 (main): Remove informal message about syslog.
7147 (options): Fix typo.
7148
bcfe3a54
ST
7149 [BZ #14053]
7150 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 7151 to asm.
bcfe3a54
ST
7152 (lrint): Likewise.
7153 (llrintf): Likewise.
7154 (llrint): Likewise.
7155 (rint): Likewise.
7156 (rintf): Likewise.
7157 (nearbyint): Likewise.
7158 (nearbyintf): Likewise.
bdd74070 7159
91d8d69e
AJ
71602012-05-09 Andreas Jaeger <aj@suse.de>
7161 Pedro Alves <palves@redhat.com>
7162
7163 * nscd/nscd.c (run_mode): Use enum.
7164 (main): Cleanup coding style issue.
7165
bb90b80b
AJ
71662012-05-09 Alexandre Oliva <aoliva@redhat.com>
7167 Andreas Jaeger <aj@suse.de>
7168
bcfe3a54
ST
7169 * nscd/nscd.c (go_background): Replaced with...
7170 (run_mode): ... this.
bb90b80b 7171 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
7172 (options): Add -F --foreground.
7173 (main): Implement it.
7174 (parse_opt): Parse it.
bb90b80b 7175
1a4b75a1
AJ
71762012-05-09 Andreas Jaeger <aj@suse.de>
7177
7178 [BZ #14083]
7179 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
7180 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
7181 -Wconversion warning.
7182 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
7183 Likewise.
7184
b1cc2472
JM
71852012-05-09 Joseph Myers <joseph@codesourcery.com>
7186
7187 * conform/data/locale.h-data (NULL): Use macro-constant. Require
7188 == 0.
7189 (LC_ALL): Use macro-int-constant.
7190 (LC_COLLATE): Likewise.
7191 (LC_CTYPE): Likewise.
7192 (LC_MESSAGES): Likewise.
7193 (LC_MONETARY): Likewise.
7194 (LC_NUMERIC): Likewise.
7195 (LC_TIME): Likewise.
7196 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
7197 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7198 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7199 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
7200 Specify type.
7201 [C99-based standards] (float_t): Expect type.
7202 [C99-based standards] (double_t): Expect type.
7203 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
7204 type.
7205 [C99-based standards] (HUGE_VALL): Likewise.
7206 [C99-based standards] (INFINITY): Likewise.
7207 [C99-based standards] (NAN): Likewise.
7208 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
7209 [C99-based standards] (FP_NAN): Likewise.
7210 [C99-based standards] (FP_NORMAL): Likewise.
7211 [C99-based standards] (FP_SUBNORMAL): Likewise.
7212 [C99-based standards] (FP_ZERO): Likewise.
7213 [C99-based standards] (FP_FAST_FMA): Use
7214 optional-macro-int-constant. Specify type. Require == 1.
7215 [C99-based standards] (FP_FAST_FMAF): Likewise.
7216 [C99-based standards] (FP_FAST_FMAL): Likewise.
7217 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
7218 [C99-based standards] (FP_ILOGBNAN): Likewise.
7219 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
7220 Specify type.
7221 [C99-based standards] (MATH_ERREXCEPT): Likewise.
7222 [C99-based standards] (math_errhandling): Specify type.
7223 [ISO99 || ISO11] (signgam): Do not allow.
7224 [non-C99-based standards] (copysignf): Do not allow.
7225 [non-C99-based standards] (exp2f): Likewise.
7226 [non-C99-based standards] (log2f): Likewise.
7227 [non-C99-based standards] (modff): Allow.
7228 [non-C99-based standards] (erff): Do not allow.
7229 [non-C99-based standards] (erfcf): Likewise.
7230 [non-C99-based standards] (gammaf): Likewise.
7231 [non-C99-based standards] (hypotf): Likewise.
7232 [non-C99-based standards] (j0f): Likewise.
7233 [non-C99-based standards] (j1f): Likewise.
7234 [non-C99-based standards] (jnf): Likewise.
7235 [non-C99-based standards] (lgammaf): Likewise.
7236 [non-C99-based standards] (tgammaf): Likewise.
7237 [non-C99-based standards] (y0f): Likewise.
7238 [non-C99-based standards] (y1f): Likewise.
7239 [non-C99-based standards] (ynf): Likewise.
7240 [non-C99-based standards] (isnanf): Likewise.
7241 [non-C99-based standards] (acoshf): Likewise.
7242 [non-C99-based standards] (asinhf): Likewise.
7243 [non-C99-based standards] (atanhf): Likewise.
7244 [non-C99-based standards] (cbrtf): Likewise.
7245 [non-C99-based standards] (expm1f): Likewise.
7246 [non-C99-based standards] (ilogbf): Likewise.
7247 [non-C99-based standards] (log1pf): Likewise.
7248 [non-C99-based standards] (logbf): Likewise.
7249 [non-C99-based standards] (nextafterf): Likewise.
7250 [non-C99-based standards] (remainderf): Likewise.
7251 [non-C99-based standards] (rintf): Likewise.
7252 [non-C99-based standards] (scalbf): Likewise.
7253 [non-C99-based standards] (copysignl): Likewise.
7254 [non-C99-based standards] (exp2l): Likewise.
7255 [non-C99-based standards] (log2l): Likewise.
7256 [non-C99-based standards] (modfl): Allow.
7257 [non-C99-based standards] (erfl): Do not allow.
7258 [non-C99-based standards] (erfcl): Likewise.
7259 [non-C99-based standards] (gammal): Likewise.
7260 [non-C99-based standards] (hypotl): Likewise.
7261 [non-C99-based standards] (j0l): Likewise.
7262 [non-C99-based standards] (j1l): Likewise.
7263 [non-C99-based standards] (jnl): Likewise.
7264 [non-C99-based standards] (lgammal): Likewise.
7265 [non-C99-based standards] (tgammal): Likewise.
7266 [non-C99-based standards] (y0l): Likewise.
7267 [non-C99-based standards] (y1l): Likewise.
7268 [non-C99-based standards] (ynl): Likewise.
7269 [non-C99-based standards] (isnanl): Likewise.
7270 [non-C99-based standards] (acoshl): Likewise.
7271 [non-C99-based standards] (asinhl): Likewise.
7272 [non-C99-based standards] (atanhl): Likewise.
7273 [non-C99-based standards] (cbrtl): Likewise.
7274 [non-C99-based standards] (expm1l): Likewise.
7275 [non-C99-based standards] (ilogbl): Likewise.
7276 [non-C99-based standards] (log1pl): Likewise.
7277 [non-C99-based standards] (logbl): Likewise.
7278 [non-C99-based standards] (nextafterl): Likewise.
7279 [non-C99-based standards] (remainderl): Likewise.
7280 [non-C99-based standards] (rintl): Likewise.
7281 [non-C99-based standards] (scalbl): Likewise.
7282 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7283 [non-C99-based standards] (FP_*): Do not allow.
7284 [C99-based standards] (FP_*): Change to
7285 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7286 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7287 allow.
7288 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
7289 (SIG_ERR): Likewise.
7290 [X/Open-based standards] (SIG_HOLD): Likewise.
7291 (SIG_IGN): Likewise.
7292 (SIGABRT): Use macro-int-constant. Specify type. Require
7293 positive value.
7294 (SIGFPE): Likewise.
7295 (SIGILL): Likewise.
7296 (SIGINT): Likewise.
7297 (SIGSEGV): Likewise.
7298 (SIGTER): Likewise.
7299 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
7300 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
7301 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
7302 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
7303 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
7304 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
7305 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
7306 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
7307 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
7308 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
7309 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
7310 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
7311 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
7312 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
7313 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
7314 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
7315 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
7316 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
7317 [X/Open-based standards] (SIGTRAP): Likewise.
7318 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
7319 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
7320 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
7321 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
7322 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7323 allow.
7324
b9f1922d
IW
73252012-05-08 Ian Wienand <ianw@vmware.com>
7326
7327 [BZ #14080]
7328 * time/tzset.c (__tzset_parse_tz): Update default rules for
7329 daylight time changes in the Energy Policy Act of 2005.
7330
1db86e88
AJ
73312012-05-09 Andreas Jaeger <aj@suse.de>
7332
7333 [BZ #13983]
7334 * elf/ldconfig.c (parse_conf): Change string to make clear that
7335 ldconfig only issued a warning if ld.so.conf does not exist.
7336
dee4a4e3
DM
73372012-05-08 David S. Miller <davem@davemloft.net>
7338
ee0db190
DM
7339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
7340 movxtod instead of popping the value on the stack.
7341
dee4a4e3
DM
7342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7343
6a43ec98
CD
73442012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
7345
7346 * config.h.in: Add HAVE_ARM_PCS_VFP.
7347
05c2c961
RMG
73482012-05-08 Roland Mc Grath <roland@hack.frob.com>
7349
bcfe3a54
ST
7350 [BZ #13979]
7351 * include/features.h: Warn if user requests __FORTIFY_SOURCE
7352 checking but the checks are disabled for any reason.
05c2c961 7353
4b30f61a
L
73542012-05-08 H.J. Lu <hongjiu.lu@intel.com>
7355
7356 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
7357 and ELF64_R_TYPE with ELFW(R_TYPE).
7358
eee2bc67
JM
73592012-05-08 Joseph Myers <joseph@codesourcery.com>
7360
7ea5391a
JM
7361 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
7362 (ulimit): Likewise.
7363
eee2bc67
JM
7364 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
7365 (settimeofday): Likewise.
7366
abb66a67
MF
73672012-05-08 Mike Frysinger <vapier@gentoo.org>
7368
7369 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
7370 a struct th_u2 inside the union, and move tu_block/tu_code into
7371 a new th_u3 union of tu_block/tu_code inside of that. Move
7372 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
7373 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
7374 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
7375 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
7376 (th_stuff): Change to th_u1.tu_stuff.
7377 (th_data): Define.
7378 (th_msg): Change to th_u1.th_u2.tu_data.
7379
7f18b530
DM
73802012-05-07 David S. Miller <davem@davemloft.net>
7381
05760585
DM
7382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7383
7f18b530
DM
7384 [BZ #14074]
7385 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
7386 (SETUP_PIC_REG): Use it.
7387 (SETUP_PIC_REG_LEAF): Use it.
7388
495fd99f
JM
73892012-05-07 Joseph Myers <joseph@codesourcery.com>
7390
7391 [BZ #13885]
7392 [BZ #13923]
7393 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7394 USE_AS_EXPM1L.
7395 (EXPL_FINITE): Likewise.
7396 (FLDLOG): Likewise.
7397 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7398 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7399 e_expl.S.
7400 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7401 USE_AS_EXPM1L.
7402 (EXPL_FINITE): Likewise.
7403 (FLDLOG): Likewise.
7404 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7405 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7406 e_expl.S.
7407 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
7408 test of -max_value argument for long double.
7409 * sysdeps/i386/fpu/libm-test-ulps: Update.
7410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7411
6693d694
DM
74122012-05-06 David S. Miller <davem@davemloft.net>
7413
7414 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
7415 quad soft-float symbols whose references which are compiler
7416 generated.
7417 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7418
6c23e11c
JM
74192012-05-06 Joseph Myers <joseph@codesourcery.com>
7420
d8b82cad
JM
7421 [BZ #13884]
7422 [BZ #13914]
7423 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7424 USE_AS_EXP10L.
7425 (EXPL_FINITE): Likewise.
7426 (FLDLOG): Likewise.
7427 (c0): Likewise.
7428 (c1): Likewise.
7429 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7430 Adjust comments for base varying.
7431 (__expl_finite): Change alias to EXPL_FINITE.
7432 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
7433 e_expl.S.
7434 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
7435 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7436 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7437 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
7438 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7439 USE_AS_EXP10L.
7440 (EXPL_FINITE): Likewise.
7441 (FLDLOG): Likewise.
7442 (c0): Likewise.
7443 (c1): Likewise.
7444 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7445 Adjust comments for base varying.
7446 (__expl_finite): Change alias to EXPL_FINITE.
7447 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
7448 tests for bugs.
7449 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7450
6c23e11c
JM
7451 [BZ #14064]
7452 * math/libm-test.inc (check_float_internal): Correct ulp
7453 calculation for subnormal expected results.
7454
29ba805c
AJ
74552012-05-06 Andreas Jaeger <aj@suse.de>
7456
7457 * Makeconfig (+math-flags): New, set to -frounding-math.
7458 (+cflags): Add +math-flags so that all of glibc gets compiled with
7459 it.
7460
7461 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
7462
7b17aeda
JM
74632012-05-05 Joseph Myers <joseph@codesourcery.com>
7464
5779f134
JM
7465 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
7466 Disable one test.
7467
41498f4d
JM
7468 [BZ #13787]
7469 [BZ #13922]
7470 [BZ #14036]
7471 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
7472 (__ieee754_expl): Allow for and saturate large arguments.
7473 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
7474 (u_threshold): Likewise.
7475 (__exp): Call __ieee754_exp before checking for overflow and
7476 underflow.
7477 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
7478 (u_threshold): Likewise.
7479 (__expf): Call __ieee754_expf before checking for overflow and
7480 underflow.
7481 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
7482 (u_threshold): Likewise.
7483 (__expl): Call __ieee754_expl before checking for overflow and
7484 underflow.
7485 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
7486 (__ieee754_expl): Allow for and saturate large arguments.
7487 * math/libm-test.inc (exp_test): Add another test. Do not allow
7488 missing overflow exception on overflow.
7489 (expm1_test): Do not allow missing overflow exception on overflow.
7490
6698b8bf
JM
7491 * sysdeps/i386/fpu/e_expl.c: Move to ...
7492 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
7493 rather than using inline asm.
7494 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
7495 * sysdeps/x86_64/fpu/e_expl.S: Copy from
7496 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
7497
7b17aeda
JM
7498 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
7499 (nice): Likewise.
7500 (poll): Likewise.
7501 (signal): Likewise.
7502 (time): Likewise.
7503 (times): Likewise.
7504
f7c85819
JM
75052012-05-04 Joseph Myers <joseph@codesourcery.com>
7506
7507 * sysdeps/unix/syscalls.list (adjtime): Add entry from
7508 sysdeps/unix/common/syscalls.list.
7509 (fchmod): Likewise.
7510 (fchown): Likewise.
7511 (ftruncate): Likewise.
7512 (getrusage): Likewise.
7513 (gettimeofday): Likewise.
7514 (setpgid): Likewise.
7515 (setregid): Likewise.
7516 (setreuid): Likewise.
7517 (sigaction): Likewise.
7518 (truncate): Likewise.
7519 (vhangup): Likewise.
7520 * sysdeps/unix/common/syscalls.list: Remove file.
7521 * sysdeps/unix/bsd/Implies: Don't include unix/common.
7522 * sysdeps/unix/sysv/linux/Implies: Likewise.
7523
336270d0
L
75242012-05-04 H.J. Lu <hongjiu.lu@intel.com>
7525
7526 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
7527 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
7528 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
7529 Moved to ...
7530 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7531 Here.
7532 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
7533 to ...
7534 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
7535 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
7536 to ...
7537 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
7538 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
7539 to ...
7540 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
7541 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
7542 to ...
7543 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
7544 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
7545 to ...
7546 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
7547 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
7548 to ...
7549 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
7550 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
7551 to ...
7552 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7553 Here.
7554 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
7555 to ...
7556 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
7557 Here.
7558 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
7559 to ...
7560 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
7561 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
7562 Moved to ...
7563 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
7564 Here.
7565 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
7566 to ...
7567 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
7568
d128e450
JM
75692012-05-04 Joseph Myers <joseph@codesourcery.com>
7570
fa8ee516
JM
7571 * sysdeps/unix/common/bits/dirent.h: Remove file.
7572 * sysdeps/unix/common/bits/fcntl.h: Likewise.
7573
d128e450
JM
7574 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
7575 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
7576 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
7577 * sysdeps/unix/bsd/isatty.c: Likewise.
7578 * sysdeps/unix/bsd/tcdrain.c: Likewise.
7579 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
7580 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
7581
ff8faaf0 75822012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 7583
62881be4 7584 [BZ #13563]
31dc8730
AZ
7585 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
7586 long double comparison inaccuracies.
7587 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7589
6fef930c
AS
75902012-05-04 Andreas Schwab <schwab@linux-m68k.org>
7591
7592 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
7593 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
7594
8f203e6c
JM
75952012-05-04 Joseph Myers <joseph@codesourcery.com>
7596
7597 [BZ #14049]
7598 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
7599 nonzero digits before rounding a hex value.
7600 * stdlib/tst-strtod.c (tests): Add another test.
7601
5197d9c2
AK
76022012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7603
7604 * sysdeps/s390/fpu/libm-test-ulps: Update.
7605
f0c1dedf
AJ
76062012-05-03 Andreas Jaeger <aj@suse.de>
7607
7608 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
7609 does not get optimized out.
7610 (malloc_opt_barrier): New.
7611
a65ef2ae 76122012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 7613 Roland McGrath <roland@hack.frob.com>
a65ef2ae 7614
2b942cb7 7615 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 7616 intermediate file deletion.
2b942cb7 7617 (generated): Add .symlist files.
a65ef2ae 7618
54b71e02
JM
76192012-05-03 Joseph Myers <joseph@codesourcery.com>
7620
7621 [BZ #13775]
7622 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
7623 Redirect under this condition.
7624 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7625 [__USE_GNU] (__dprintf_chk): Not under this condition.
7626 [__USE_GNU] (__vdprintf_chk): Likewise.
7627 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
7628 under this condition.
7629 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7630 [__USE_XOPEN2K8] (dprintf): Define under this condition.
7631 [__USE_XOPEN2K8] (vdprintf): Likewise.
7632 [__USE_GNU] (__dprintf_chk): Not under this condition.
7633 [__USE_GNU] (__vdprintf_chk): Likewise.
7634 [__USE_GNU] (dprintf): Likewise.
7635 [__USE_GNU] (vdprintf): Likewise.
7636
d3dfcc41
RM
76372012-05-03 Roland McGrath <roland@hack.frob.com>
7638
7639 * elf/Makefile (common-generated): Set this instead of generated for
7640 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
7641 $(all-built-dso)-derived lists.
7642
7ac30cc5
AJ
76432012-05-03 Andreas Jaeger <aj@suse.de>
7644
0c51e550
AJ
7645 * sysdeps/i386/fpu/libm-test-ulps: Update.
7646
7ac30cc5
AJ
7647 * FAQ: Removed.
7648 * FAQ.in: Likewise.
7649 * scripts/gen-FAQ.pl: Likewise.
7650 * manual/install.texi (Installation): Point to online location of
7651 FAQ.
7652 * Makefile (files-for-dist): Remove FAQ.
7653 (FAQ): Remove.
7654
d4c2917f
AM
76552012-05-02 Allan McRae <allan@archlinux.org>
7656
7657 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
7658 (LDFLAGS-reldepmod5.so): Likewise.
7659 (LDFLAGS-reldep6mod1.so): Likewise.
7660 (LDFLAGS-reldep6mod4.so): Likewise.
7661 (LDFLAGS-reldep8mod3.so): Likewise.
7662 (LDFLAGS-unload4mod1.so): Likewise.
7663 (LDFLAGS-unload4mod2.so): Likewise.
7664 (LDFLAGS-tst-initorder): Likewise.
7665 (LDFLAGS-tst-initordera2.so): Likewise.
7666 (LDFLAGS-tst-initordera3.so): Likewise.
7667 (LDFLAGS-tst-initordera4.so): Likewise.
7668 (LDFLAGS-tst-initorderb2.so): Likewise.
7669 (LDFLAGS-noload): Likewise.
7670 (LDFLAGS-next): Likewise.
7671 (LDFLAGS-order2mod1.so): Likewise.
7672 (LDFLAGS-order2mod2.so): Likewise.
7673 (LDFLAGS-tst-initorder2): Likewise.
7674 (LDFLAGS-tst-initorder2a.so): Likewise.
7675 (LDFLAGS-tst-initorder2b.so): Likewise.
7676 (LDFLAGS-tst-initorder2c.so): Likewise.
7677 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
7678
d77f993f
DM
76792012-05-02 David S. Miller <davem@davemloft.net>
7680
7681 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7682
171a70b4
PP
76832012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
7684
7685 [BZ #14055]
7686 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
7687
0be196ad
AJ
76882012-05-02 Andreas Jaeger <aj@suse.de>
7689
7690 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
7691 since we manipulate rounding mode.
7692 (CPPFLAGS-test-idouble.c): Likewise.
7693 (CPPFLAGS-test-ifloat.c): Likewise.
7694 (CFLAGS-test-ldouble.c): Likewise.
7695 (CFLAGS-test-double.c): Likewise.
7696 (CFLAGS-test-float.c): Likewise.
7697 (CFLAGS-test-misc.c): Likewise.
7698 (CFLAGS-test-test-fenv.c): Likewise.
7699
4f9d04aa
AZ
77002012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7701
2b942cb7
RM
7702 [BZ #2550]
7703 [BZ #2570]
7704 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
7705 comparisons to determine direction to adjust input.
4f9d04aa 7706
82a79e7d
RM
77072012-05-01 Roland McGrath <roland@hack.frob.com>
7708
f5a01ca9
RM
7709 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
7710 output to the target.
7711
90fe4186
RM
7712 * scripts/localplt.awk: New file.
7713 * elf/Makefile ($(objpfx)check-localplt): Target removed.
7714 (check-localplt-CFLAGS): Variable removed.
7715 ($(all-built-dso:=.jmprel)): New static pattern rule.
7716 (generated): Add those targets.
7717 (localplt-built-dso): New variable.
7718 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
7719
7720 * elf/check-localplt.c: File removed.
7721
82397ed6
RM
7722 * scripts/check-execstack.awk: New file.
7723 * elf/Makefile ($(objpfx)check-execstack): Target removed.
7724 (check-execstack-CFLAGS): Variable removed.
7725 ($(objpfx)check-execstack.h): Target removed.
7726 ($(objpfx)execstack-default): New target.
7727 (generated): Add that instead of check-execstack.h.
7728 ($(all-built-dso:=.phdr)): New static pattern rule.
7729 (generated): Add those targets.
7730 * elf/check-execstack.c: File removed.
7731
82a79e7d
RM
7732 * scripts/check-textrel.awk: New file.
7733 * elf/Makefile ($(objpfx)check-textrel): Target removed.
7734 (check-textrel-CFLAGS): Variable removed.
7735 (all-built-dso): Use := to define.o
7736 ($(all-built-dso:=.dyn)): New static pattern rule.
7737 (generated): Add those targets.
7738 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
7739 * config.make.in (READELF): New substituted variable.
7740 * elf/check-textrel.c: File removed.
7741
62fde54f 77422012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 7743
615605c9
JM
7744 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7745 allow.
7746 * conform/data/ctype.h-data [C99-based standards] (isblank):
7747 Expect function.
7748 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
7749 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
7750 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7751 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
7752 Specify type. Require positive value.
7753 (EILSEQ): Likewise.
7754 (ERANGE): Likewise.
7755 [ISO || POSIX] (EILSEQ): Do not expect.
7756 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
7757 Specify type. Require positive value.
7758 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
7759 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
7760 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
7761 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
7762 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
7763 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
7764 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
7765 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
7766 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
7767 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
7768 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
7769 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
7770 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
7771 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
7772 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
7773 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
7774 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
7775 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
7776 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
7777 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
7778 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
7779 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
7780 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
7781 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
7782 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
7783 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
7784 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
7785 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
7786 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
7787 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
7788 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
7789 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
7790 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
7791 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
7792 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
7793 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
7794 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
7795 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
7796 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
7797 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
7798 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
7799 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
7800 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
7801 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
7802 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
7803 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
7804 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
7805 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
7806 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
7807 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
7808 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
7809 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
7810 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
7811 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
7812 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
7813 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
7814 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
7815 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
7816 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
7817 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
7818 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
7819 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
7820 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
7821 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
7822 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
7823 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
7824 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
7825 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
7826 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
7827 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
7828 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
7829 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
7830 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
7831 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
7832 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
7833 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
7834 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
7835 Require >= 2.
7836 (FLT_ROUNDS): Expect as macro, not constant.
7837 (FLT_MANT_DIG): Use macro-int-constant.
7838 (DBL_MANT_DIG): Likewise.
7839 (LDBL_MANT_DIG): Likewise.
7840 (FLT_DIG): Likewise.
7841 (DBL_DIG): Likewise.
7842 (LDBL_DIG): Likewise.
7843 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
7844 (DBL_MIN_EXP): Likewise.
7845 (LDBL_MIN_EXP): Likewise.
7846 (FLT_MAX_EXP): Use macro-int-constant.
7847 (DBL_MAX_EXP): Likewise.
7848 (LDBL_MAX_EXP): Likewise.
7849 (FLT_MAX_10_EXP): Likewise.
7850 (DBL_MAX_10_EXP): Likewise.
7851 (LDBL_MAX_10_EXP): Likewise.
7852 (FLT_MAX): Use macro-constant.
7853 (DBL_MAX): Likewise.
7854 (LDBL_MAX): Likewise.
7855 (FLT_EPSILON): Use macro-constant. Give upper bound.
7856 (DBL_EPSILON): Likewise.
7857 (LDBL_EPSILON): Likewise.
7858 (FLT_MIN): Likewise.
7859 (DBL_MIN): Likewise.
7860 (LDBL_MIN): Likewise.
7861 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
7862 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
7863 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
7864 [ISO11] (FLT_HAS_SUBNORM): Likewise.
7865 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
7866 [ISO11] (DBL_DECIMAL_DIG): Likewise.
7867 [ISO11] (FLT_DECIMAL_DIG): Likewise.
7868 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
7869 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
7870 [ISO11] (FLT_TRUE_MIN): Likewise.
7871 [ISO11] (LDBL_TRUE_MIN): Likewise.
7872 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7873 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
7874 (SCHAR_MIN): Use macro-int-constant. Specify type.
7875 (SCHAR_MAX): Likewise.
7876 (UCHAR_MAX): Likewise.
7877 (CHAR_MIN): Likewise.
7878 (CHAR_MAX): Likewise.
7879 (MB_LEN_MAX): Use macro-int-constant.
7880 (SHRT_MIN): Use macro-int-constant. Specify type.
7881 (SHRT_MAX): Likewise.
7882 (USHRT_MAX): Likewise.
7883 (INT_MAX): Likewise.
7884 (INT_MIN): Use macro-int-constant. Specify type. Make upper
7885 bound negative.
7886 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
7887 bound with "U".
7888 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7889 bound with "L".
7890 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
7891 bound negative. Suffix upper bound with "L".
7892 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7893 bound with "UL".
7894 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
7895 Specify type.
7896 [C99-based standards] (LLONG_MAX): Likewise.
7897 [C99-based standards] (ULLONG_MAX): Likewise.
7898 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
7899 == 0.
7900 [ISO11] (max_align_t): Require type.
7901 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7902
c9140a62
JM
7903 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
7904 from $CFLAGS, without defining away __attribute__ calls.
7905 (checknamespace): Use $CFLAGS_namespace.
7906
9af0bf29
JM
7907 * conform/conformtest.pl (@keywords): Only include C99 keywords
7908 for standards based on C99 or C11.
7909
343222a2
JM
7910 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
7911 Disable tests.
7912 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
7913 UNIX98]: Likewise.
7914
661f8cf0
JM
7915 * conform/conformtest.pl: Handle "macro-int-constant" and test for
7916 usability of symbols in #if.
7917
ee74b9cb
JM
7918 * conform/conformtest.pl: If macro or constant types start
7919 "promoted:", expect the symbol to be of the following type
7920 promoted by the integer promotions.
62fde54f 7921
aafc49b3
JM
7922 * conform/conformtest.pl: Parse all "constant" and "macro" lines
7923 in one place. Also handle "macro-constant".
7924
fefdf574
JM
7925 * conform/conformtest.pl: Only accept expected macro values with
7926 "==". Parse all "macro" lines in one place.
7927 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
7928
f2d922fe
JM
7929 * conform/conformtest.pl: Handle braced types on "constant" lines
7930 instead of handling "typed-constant".
7931 * conform/data/signal.h-data: Use "constant" instead of
7932 "typed-constant".
7933
d22956c9
JM
7934 * conform/conformtest.pl: Handle "optional-" at start of lines in
7935 one place rather than duplicating several cases. Handle each
7936 format of "macro" line with initial "optional-".
7937
028e2e38
JM
7938 * conform/conformtest.pl: Only accept expected constant or
7939 optional-constant values with "==". Parse all "constant" lines in
7940 one place. Parse all "optional-constant" lines in one place.
7941 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
7942 * conform/data/fmtmsg.h-data: Likewise.
7943 * conform/data/netinet/in.h-data: Likewise.
7944 * conform/data/tar.h-data: Likewise.
7945 * conform/data/limits.h-data: Use "==" form on "constant" and
7946 "optional-constant" lines.
7947
1b8f2850
JM
7948 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
7949 Use -std=c99 for XOPEN2K.
7950 (@knownproblems): Remove.
7951 (newtoken): Don't check %isknown.
7952
a05a144b
JM
7953 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
7954 Do not expect macro.
7955 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
7956 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
7957 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
7958 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
7959 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
7960 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
7961 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
7962 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
7963 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
7964 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
7965 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
7966 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
7967 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
7968 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
7969 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
7970 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
7971 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
7972 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
7973 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
7974 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
7975 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
7976 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
7977 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
7978 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
7979 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
7980 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
7981 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
7982 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
7983 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
7984 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
7985 [XPG3] (acosh): Likewise.
7986 [XPG3] (asinh): Likewise.
7987 [XPG3] (atanh): Likewise.
7988 [XPG3] (cbrt): Likewise.
7989 [XPG3] (expm1): Likewise.
7990 [XPG3] (ilogb): Likewise.
7991 [XPG3] (log1p): Likewise.
7992 [XPG3] (logb): Likewise.
7993 [XPG3] (nextafter): Likewise.
7994 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
7995 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
7996 [XPG3] (remainder): Likewise.
7997 [XPG3] (rint): Likewise.
7998 [XPG3 || XPG4 || UNIX98] (round): Likewise.
7999 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
8000 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
8001 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
8002 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
8003 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
8004 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
8005 [UNIX98 || XOPEN2K] (scalb): Expect.
8006 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
8007 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
8008 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
8009 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
8010 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
8011 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
8012 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
8013 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
8014 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
8015 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
8016 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
8017 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
8018 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
8019 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
8020 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
8021 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
8022 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
8023 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
8024 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
8025 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
8026 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
8027 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
8028 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
8029 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
8030 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
8031 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
8032 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
8033 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
8034 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
8035 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
8036 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
8037 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
8038 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
8039 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
8040 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
8041 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
8042 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
8043 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
8044 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
8045 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
8046 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
8047 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
8048 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
8049 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
8050 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
8051 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
8052 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
8053 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
8054 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
8055 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
8056 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
8057 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
8058 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
8059 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
8060 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
8061 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
8062 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
8063 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
8064 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
8065 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
8066 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
8067 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
8068 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
8069 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
8070 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
8071 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
8072 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
8073 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
8074 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
8075 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
8076 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
8077 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
8078 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
8079 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
8080 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
8081 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
8082 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
8083 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
8084 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
8085 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
8086 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
8087 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
8088 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
8089 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
8090 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
8091 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
8092 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
8093 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
8094 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
8095 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
8096 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
8097 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
8098 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
8099 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
8100 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
8101 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
8102 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
8103 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
8104 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
8105 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
8106 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
8107 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
8108 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
8109 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
8110 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
8111 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
8112 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
8113 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
8114 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
8115 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
8116 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
8117 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
8118 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
8119 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
8120 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
8121 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
8122 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
8123 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
8124 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
8125 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
8126 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
8127 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
8128 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
8129 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
8130 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
8131 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
8132 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
8133 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
8134 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
8135 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
8136 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
8137 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
8138 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
8139 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
8140 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
8141 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
8142 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
8143
73c5ebe3
JM
8144 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
8145 _XOPEN_SOURCE_EXTENDED for XPG4.
8146
39c33b6c
JM
8147 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
8148
62fde54f
JM
8149 * Makeconfig (localtime): Remove variable.
8150 (inst_localtime-file): Likewise.
8151
0741d64c
AS
81522012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8153
8154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8155 Update.
8156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8157 Update.
8158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8159 Update.
8160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8161 Update.
8162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8163 Update.
8164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
8165 Update.
8166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8167 Update.
8168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
8169 Update.
8170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8171 Update.
8172
7cb029ee
JM
81732012-05-01 Joseph Myers <joseph@codesourcery.com>
8174
8175 [BZ #2550]
8176 [BZ #2570]
8177 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
8178 comparisons to determine direction to adjust input.
8179 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8180 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
8181 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8182 Likewise.
8183 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8184 Likewise.
8185 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8186 Likewise.
8187 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8188 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8189 Likewise.
8190 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8191 Likewise.
8192 * math/libm-test.inc (nexttoward_test): Add more tests.
8193
412bd966
AS
81942012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8195
8196 [BZ #14040]
8197 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
8198 in version GLIBC_2.1, not GLIBC_2.0.
8199 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
8200 Likewise.
8201
9568c0c2
JM
82022012-04-30 Joseph Myers <joseph@codesourcery.com>
8203
adfbc8ac
JM
8204 [BZ #13942]
8205 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
8206 (1 - x) * (1 + x).
8207 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8208 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
8209 * math/libm-test.inc (acos_test): Add more tests.
8210 (asin_test): Likewise.
8211 * sysdeps/i386/fpu/libm-test-ulps: Update.
8212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8213
5ba3cc69
JM
8214 [BZ #14034]
8215 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
8216 of square root.
8217 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
8218 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8219 * math/libm-test.inc (acos_test_tonearest): New function.
8220 (acos_test_towardzero): Likewise.
8221 (acos_test_downward): Likewise.
8222 (acos_test_upward): Likewise.
8223 (asin_test_tonearest): Likewise.
8224 (asin_test_towardzero): Likewise.
8225 (asin_test_downward): Likewise.
8226 (asin_test_upward): Likewise.
8227 (main): Call the new functions.
8228 * sysdeps/i386/fpu/libm-test-ulps: Update.
8229 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8230
9568c0c2
JM
8231 [BZ #13884]
8232 [BZ #13924]
8233 * math/e_exp10.c: Include <float.h>.
8234 (__ieee754_exp10): Handle underflow here rather than multiplying
8235 large negative argument by M_LN10.
8236 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
8237 of __ieee754_expf.
8238 * math/e_exp10l.c: Include <float.h>.
8239 (__ieee754_exp10l): Handle underflow here rather than multiplying
8240 large negative argument by M_LN10l.
8241 * math/libm-test.inc (exp10_test): Add another test. Do not allow
8242 spurious overflow exception on underflow.
8243
5ac3ea17
MP
82442012-04-29 Marek Polacek <polacek@redhat.com>
8245
8246 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
8247 (__fortify_function): New macro.
8248 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
8249 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
8250 __extern_always_inline.
8251 * libio/bits/stdio2.h: Likewise.
8252 * libio/bits/stdio.h: Likewise.
8253 * string/string.h: Likewise.
8254 * string/bits/string3.h: Likewise.
8255 * include/stdio.h: Likewise.
8256 * stdlib/bits/stdlib.h: Likewise.
8257 * stdlib/stdlib.h: Likewise.
8258 * rt/bits/mqueue2.h: Likewise.
8259 * rt/mqueue.h: Likewise.
8260 * posix/bits/unistd.h: Likewise.
8261 * posix/unistd.h: Likewise.
8262 * io/bits/poll2.h: Likewise.
8263 * io/bits/fcntl2.h: Likewise.
8264 * io/fcntl.h: Likewise.
8265 * io/sys/poll.h: Likewise.
8266 * misc/bits/syslog.h: Likewise.
8267 * misc/bits/syslog-ldbl.h: Likewise.
8268 * misc/sys/syslog.h: Likewise.
8269 * socket/bits/socket2.h: Likewise.
8270 * socket/sys/socket.h: Likewise.
8271 * debug/tst-chk1.c: Likewise.
8272 * wcsmbs/bits/wchar2.h: Likewise.
8273 * wcsmbs/bits/wchar-ldbl.h: Likewise.
8274 * wcsmbs/wchar.h: Likewise.
8275
ecf0ebfb
AJ
82762012-04-29 Andreas Jaeger <aj@suse.de>
8277
8278 * Makerules (tests): Remove enable-check-abi protection.
8279 (check-abi-warn): Remove.
8280 (check-abi-%): Remove check-abi-warn usage.
8281
8282 * configure.in: Remove check-abi configure option.
8283 * configure: Regenerated.
8284 * config.make.in (enable-check-abi): Remove.
8285
6d5c57fa
AS
82862012-04-28 Andreas Schwab <schwab@linux-m68k.org>
8287
24c5d07e 8288 [BZ #14033]
ded5180a
AS
8289 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
8290 double functions to double *_finite functions.
8291
7e0d315d
AS
8292 [BZ #13941]
8293 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
8294 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
8295 LDBL_MIN_EXP.
8296 * stdio-common/Makefile (tests): Add tst-sprintf3.
8297 * stdio-common/tst-sprintf3.c: New file.
8298
6d5c57fa
AS
8299 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
8300 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
8301
0749ff8b
JM
83022012-04-28 Joseph Myers <joseph@codesourcery.com>
8303
8304 * conform/conformtest.pl: Remove duplicate typed-constant
8305 handling.
8306
8dbd5d7b
DM
83072012-04-28 David S. Miller <davem@davemloft.net>
8308
8309 * Makerules (%.abilist): Add vpath on sysdep_dirs.
8310 (check-abi-%): Remove AWK script prerequisite and explicit
8311 abilist directory.
8312 (check-abi): Rewrite to just diff the symlist with the abilist.
8313 (config-tls, config-abi-config): Delete, no longer used.
8314 (update-abi-%): Remove AWK script and explicit abilist directory.
8315 (update-abi): Rewrite to simply compare and conditionally copy the
8316 symlist and the sysdep abilist file. Remove update-abi-config
8317 checks.
8318 * abilist/ld.abilist: Remove.
8319 * abilist/libBrokenLocale.abilist: Remove.
8320 * abilist/libanl.abilist: Remove.
8321 * abilist/libcrypt.abilist: Remove.
8322 * abilist/libdl.abilist: Remove.
8323 * abilist/librt.abilist: Remove.
8324 * abilist/libthread_db.abilist: Remove.
8325 * abilist/libutil.abilist: Remove.
8326 * scripts/extract-abilist.awk: Remove.
8327 * scripts/merge-abilist.awk: Remove.
8328 * sysdeps/generic/libcidn.abilist: New file.
8329 * sysdeps/generic/libnss_compat.abilist: New file.
8330 * sysdeps/generic/libnss_db.abilist: New file.
8331 * sysdeps/generic/libnss_dns.abilist: New file.
8332 * sysdeps/generic/libnss_files.abilist: New file.
8333 * sysdeps/generic/libnss_hesiod.abilist: New file.
8334 * sysdeps/generic/libnss_nis.abilist: New file.
8335 * sysdeps/generic/libnss_nisplus.abilist: New file.
8336 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
8337 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
8338 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
8339 file.
8340 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
8341 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
8342 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
8343 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
8344 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
8345 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
8346 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
8347 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
8348 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
8349 file.
8350 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
8351 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
8352 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
8353 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
8354 file.
8355 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
8356 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
8357 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
8358 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
8359 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
8360 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
8361 file.
8362 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
8363 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
8364 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
8365 file.
8366 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
8367 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
8368 New file.
8369 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
8370 New file.
8371 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
8372 New file.
8373 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
8374 New file.
8375 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
8376 New file.
8377 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
8378 New file.
8379 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
8380 New file.
8381 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
8382 New file.
8383 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
8384 New file.
8385 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
8386 New file.
8387 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
8388 New file.
8389 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
8390 New file.
8391 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
8392 New file.
8393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
8394 file.
8395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8396 New file.
8397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8398 New file.
8399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
8400 file.
8401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8402 New file.
8403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8404 New file.
8405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
8406 file.
8407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8408 New file.
8409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8410 New file.
8411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8412 New file.
8413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8414 New file.
8415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8416 New file.
8417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8418 New file.
8419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
8420 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
8421 file.
8422 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8423 New file.
8424 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
8425 file.
8426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
8427 file.
8428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
8429 file.
8430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
8431 file.
8432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
8433 file.
8434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8435 New file.
8436 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
8437 file.
8438 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
8439 file.
8440 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8441 New file.
8442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
8443 file.
8444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
8445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
8446 file.
8447 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8448 New file.
8449 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
8450 file.
8451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
8452 file.
8453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
8454 file.
8455 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
8456 file.
8457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
8458 file.
8459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8460 New file.
8461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
8462 file.
8463 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
8464 file.
8465 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8466 New file.
8467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
8468 file.
8469 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8470 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
8471 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
8472 file.
8473 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
8474 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
8475 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
8476 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
8477 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
8478 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
8479 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
8480 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
8481 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
8482 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
8483 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
8484 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
8485 file.
8486 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8487 New file.
8488 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
8489 file.
8490 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
8491 file.
8492 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
8493 file.
8494 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
8495 file.
8496 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
8497 file.
8498 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8499 New file.
8500 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8501 New file.
8502 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
8503 file.
8504 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8505 New file.
8506 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
8507 file.
8508 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
8509 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
8510 file.
8511 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8512 New file.
8513 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
8514 file.
8515 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
8516 file.
8517 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
8518 file.
8519 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
8520 file.
8521 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
8522 file.
8523 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8524 New file.
8525 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8526 New file.
8527 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
8528 file.
8529 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8530 New file.
8531 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
8532 file.
8533
41d73a1b
JM
85342012-04-28 Joseph Myers <joseph@codesourcery.com>
8535
8536 * conform/conformtest.pl: Fix typo in handling typed-constant from
8537 allow-header.
8538
28aeeda4
JM
85392012-04-27 Joseph Myers <joseph@codesourcery.com>
8540
adae8f5e
JM
8541 * README: Cut down references to pre-2.6 Linux kernels and
8542 Linuxthreads. Update lists of configurations in libc and ports
8543 and sort alphabetically. Say "or newer" with Linux kernel version
8544 requirements.
8545
28aeeda4
JM
8546 * config.h.in [IS_IN_build]: Allow compiling without optimization.
8547
a462cb63
RA
85482012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8549
8550 [BZ #887]
8551 * math/libm-test.inc (logb_test_downward): New test to expose
8552 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
8553 rounding mode.
8554
6ad3493e
JM
85552012-04-27 Joseph Myers <joseph@codesourcery.com>
8556
8557 [BZ #14027]
8558 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
8559 to be done.
8560 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
8561 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
8562
2ce4f015
JM
85632012-04-26 Joseph Myers <joseph@codesourcery.com>
8564
5aeb141a
JM
8565 * sysdeps/unix/i386/brk.S: Remove file.
8566 * sysdeps/unix/i386/dl-brk.S: Likewise.
8567 * sysdeps/unix/i386/pipe.S: Likewise.
8568 * sysdeps/unix/i386/sigreturn.S: Likewise.
8569 * sysdeps/unix/i386/syscall.S: Likewise.
8570 * sysdeps/unix/i386/vfork.S: Likewise.
8571 * sysdeps/unix/i386/wait.S: Likewise.
8572
7143acae
JM
8573 * sysdeps/unix/common/tcsendbrk.c: Move to ...
8574 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
8575
2ce4f015
JM
8576 * configure.in (arm*-none*): Do not allow without
8577 --enable-hacker-mode.
8578 (netbsd*): Remove case setting base_os.
8579 (386bsd*): Likewise.
8580 (freebsd*): Likewise.
8581 (bsdi*): Likewise.
8582 (osf*): Likewise.
8583 (sunos*): Likewise.
8584 (ultrix*): Likewise.
8585 (newsos*): Likewise.
8586 (dynix*): Likewise.
8587 (*bsd*): Likewise.
8588 (sysv*): Likewise.
8589 (isc*): Likewise.
8590 (esix*): Likewise.
8591 (sco*): Likewise.
8592 (minix*): Likewise.
8593 (irix4*): Likewise.
8594 (irix6*): Likewise.
8595 (solaris[2-9]*): Likewise.
8596 (none): Likewise.
8597 * configure: Regenerated.
8598
0ac229c8
AZ
85992012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8600
8601 [BZ #11521]
8602 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
8603 overflow or cancellation in calculating denominator.
8604 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
8605 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
8606 down expression to avoid unexpected rounding in newer GCCs.
8607 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
8608
33f244f4
DM
86092012-04-26 David S. Miller <davem@davemloft.net>
8610
8611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
8612 long-double compat symbols.
8613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
8617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
8621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
8624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8626
cfa1f3e8
DM
86272012-04-25 David S. Miller <davem@davemloft.net>
8628
8629 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
8630 HWCAP_* values only after the memory barriers have been defined.
8631 (atomic_full_barrier): Define.
8632 (atomic_read_barrier): Define.
8633 (atomic_write_barrier): Define.
8634
6e236b92
SP
86352012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8636
8637 * shlib-versions: Add libgcc_s version information.
8638 * sysdeps/generic/libgcc_s.h: Remove.
8639 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
8640 libgcc_s.h.
8641 * sysdeps/gnu/unwind-resume.c: Likewise.
8642 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
8643
aab39a09
DM
86442012-04-25 David S. Miller <davem@davemloft.net>
8645
8646 * sysdeps/unix/sparc/brk.S: Delete.
8647 * sysdeps/unix/sparc/dl-brk.S: Delete.
8648 * sysdeps/unix/sparc/pipe.S: Delete.
8649 * sysdeps/unix/sparc/sysdep.S: Delete.
8650 * sysdeps/unix/sparc/sysdep.h: Delete.
8651 * sysdeps/unix/sparc/vfork.S: Delete.
8652 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
8653 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
8654 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
8655 ret_ERRVAL, r0, r1, MOVE): Define.
8656 (JUMPTARGET): Remove.
8657 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
8658 sysdeps/unix/sparc/sysdep.h
8659 (ENTRY, END): Remove.
8660 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8661
a3cc4f48
JM
86622012-04-25 Joseph Myers <joseph@codesourcery.com>
8663
2ed8cda2
JM
8664 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
8665 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
8666 -DIS_IN_build.
8667
35d76d59
JM
8668 * timezone/README: Update upstream location and email address for
8669 tzcode and tzdata.
8670 * timezone/zdump.c: Update from tzcode 2012b.
8671 * timezone/zic.c: Likewise.
8672
a3cc4f48
JM
8673 * configure.in (libc_cv_as_needed): Remove test.
8674 * configure: Regenerated.
8675 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
8676 conditional definition.
8677 [$(have-as-needed) != yes] (no-as-needed): Likewise.
8678 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
8679 * config.make.in (have-as-needed): Remove variable.
8680
ceab42c3
SP
86812012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8682 Paul Pluzhnikov <ppluzhnikov@google.com>
8683
8684 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
8685 strings correctly.
8686
3ce2865f
CLT
86872012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
8688
8689 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
8690 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
8691 * sysdeps/sh/strlen.S: Likewise.
8692
f37e0d68
JM
86932012-04-24 Joseph Myers <joseph@codesourcery.com>
8694
ae186e9a
JM
8695 * sysdeps/unix/fork.S: Remove file.
8696 * sysdeps/unix/i386/fork.S: Likewise.
8697 * sysdeps/unix/sparc/fork.S: Likewise.
8698
b96914af
JM
8699 * sysdeps/unix/system.c: Remove file.
8700 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
8701
f37e0d68
JM
8702 * sysdeps/unix/getegid.S: Remove file.
8703 * sysdeps/unix/geteuid.S: Likewise.
8704
87ef29ca
RM
87052012-04-24 Roland McGrath <roland@hack.frob.com>
8706
83bcd236
RM
8707 * scripts/check-localplt.awk: New file.
8708 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
8709 of diff.
8710 * scripts/data/localplt-generic.data: Add a comment.
8711
87ef29ca
RM
8712 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
8713 NODE when __dir_mkfile failed.
8714 * sysdeps/mach/hurd/symlinkat.c: Likewise.
8715 Reported by Ludovic Courtès <ludo@gnu.org>.
8716
e5a6e567
AJ
87172012-04-24 Andreas Jaeger <aj@suse.de>
8718
8719 * Makerules (common-clean): Also remove gen-as-const-headers
8720 files.
8721
c1820385
JM
87222012-04-24 Joseph Myers <joseph@codesourcery.com>
8723
8724 * Makerules (native-compile): Do not change working directory for
8725 build. Use $(OUTPUT_OPTION) in command.
8726 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
8727
94e02fc4
AZ
87282012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8729
8730 [BZ #13886]
8731 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
8732 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
8733 * math/libm-test.inc (floor_test): Add more tests.
8734 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
8735
3a533ca3
JM
87362012-04-24 Joseph Myers <joseph@codesourcery.com>
8737
940ab4b3
JM
8738 * sysdeps/unix/getdents.c: Remove file.
8739 * sysdeps/unix/sysv/getdents.c: Likewise.
8740 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
8741
90e037bd
JM
8742 * sysdeps/unix/syscalls.list (madvise): Add syscall from
8743 sysdeps/unix/mman/syscalls.list.
8744 (mmap): Likewise.
8745 (mprotect): Likewise.
8746 (msync): Likewise.
8747 (munmap): Likewise.
8748 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
8749 * sysdeps/unix/mman/syscalls.list: Remove.
8750 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
8751
3a533ca3
JM
8752 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
8753 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
8754 * configure: Regenerated.
8755 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
8756 $(libgcc_s_suffix).
8757 * config.make.in (libgcc_s_suffix): Remove variable.
8758
1ad743de
JM
87592012-04-23 Joseph Myers <joseph@codesourcery.com>
8760
4ad451e2
JM
8761 * sysdeps/unix/sysv/gethostname.c: Move to ...
8762 * sysdeps/posix/gethostname.c: ... here.
8763
5e37ce39
JM
8764 * sysdeps/unix/execve.S: Remove file.
8765
1ad743de
JM
8766 * sysdeps/unix/_exit.S: Remove file.
8767
4e681b5b
AJ
87682012-04-23 Andreas Jaeger <aj@suse.de>
8769
8770 [BZ #13739]
8771 * manual/Makefile: Remove make dist support, there's no
8772 need for a stand-alone documentation tar ball.
8773 (TEXI2DVI): Define always, it's not in Makeconfig.
8774 (dist): Removed.
8775 (tar-it): Removed.
8776 (edition): Removed.
8777 (glibc-doc-$(edition).tar): Removed
8778 (%.Z): Removed.
8779 (%.gz): Removed.
8780 (%.uu): Removed.
8781 (ETAGS): Remove, it's in Makeconfig.
8782 (move-if-change): Remove, it's in Makeconfig.
8783
c0baea34
PE
87842013-04-23 Paul Eggert <eggert@cs.ucla.edu>
8785
8786 [BZ #13970]
8787 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
8788 (strtod, strtof, strtold, strtol, strtoul, strtoq)
8789 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
8790 (strtod_l, strtof_l, strtold_l): Remove __wur.
8791 It is not necessarily an error to ignore strtol's return value.
8792 One can reliably look at the stored endptr to decide whether
8793 the number had valid syntax.
8794
7c0616fa
AJ
87952012-04-21 Andreas Jaeger <aj@suse.de>
8796
803cb6b7 8797 [BZ #13739]
7c0616fa
AJ
8798 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
8799
b0fe253f
JM
88002012-04-21 Joseph Myers <joseph@codesourcery.com>
8801
8802 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
8803 * sysdeps/unix/sysv/Versions: Remove file.
8804
8280f22d
MT
88052012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
8806
8807 [BZ #13927]
8808 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8809
75ce411f 88102012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
8811
8812 [BZ #7064]
8813 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
8814 version from __vm86.
8815
097d59fa
JM
88162012-04-20 Joseph Myers <joseph@codesourcery.com>
8817
a90f3bcb
JM
8818 * sysdeps/unix/common/lxstat.c: Remove file.
8819 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
8820
edc7ea78
JM
8821 * sysdeps/unix/sysv/Makefile: Remove file.
8822
cb78c221
JM
8823 * sysdeps/unix/sysv/direct.h: Remove file.
8824
efa6a45f
JM
8825 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
8826 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
8827 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
8828 * sysdeps/unix/sysv/bits/signum.h: Likewise.
8829 * sysdeps/unix/sysv/bits/stat.h: Likewise.
8830 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
8831 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
8832
9c9f2d0c
JM
8833 * sysdeps/unix/sysv/setrlimit.c: Remove file.
8834
4541c83b
JM
8835 * sysdeps/unix/xmknod.c: Remove file.
8836 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
8837
f5d153a0
JM
8838 * sysdeps/unix/sysv/settimeofday.c: Remove file.
8839
aa746595
JM
8840 * sysdeps/unix/sysv/i386/time.S: Remove file.
8841
cce5905e
JM
8842 * sysdeps/unix/fxstat.c: Remove file.
8843 * sysdeps/unix/xstat.c: Likewise.
8844 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
8845
37fa3841
JM
8846 * sysdeps/unix/sysv/sigaction.c: Remove file.
8847
ff1962a3
JM
8848 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
8849 (sysdep_headers): Remove variable.
8850 [termio.h not in sysdep_headers] (generated): Likewise.
8851 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
8852 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
8853 * sysdeps/unix/sysv/tcdrain.c: Likewise.
8854 * sysdeps/unix/sysv/tcflow.c: Likewise.
8855 * sysdeps/unix/sysv/tcflush.c: Likewise.
8856 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
8857 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
8858 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
8859 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
8860 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
8861
e7740d31
JM
8862 * sysdeps/unix/siglist.c: Remove file.
8863
ee06f18b
JM
8864 * sysdeps/unix/getppid.S: Remove file.
8865
097d59fa
JM
8866 * sysdeps/unix/mkdir.c: Remove file.
8867 * sysdeps/unix/rmdir.c: Likewise.
8868
ff3d51ec
AS
88692012-04-19 Andreas Schwab <schwab@linux-m68k.org>
8870
8871 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
8872 ERR_MAX value.
8873 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
8874 errlist-compat value.
8875
50f81fd7
DM
88762012-04-18 David S. Miller <davem@davemloft.net>
8877
8878 * sysdeps/generic/memcopy.h (reg_char): Delete.
8879 * debug/strcat_chk.c: Use char, not reg_char.
8880 * debug/strcpy_chk.c: Likewise.
8881 * debug/strncat_chk.c: Likewise.
8882 * debug/strncpy_chk.c: Likewise.
8883 * string/memchr.c: Likewise.
8884 * string/memrchr.c: Likewise.
8885 * string/rawmemchr.c: Likewise.
8886 * string/strcat.c: Likewise.
8887 * string/strchr.c: Likewise.
8888 * string/strchrnul.c: Likewise.
8889 * string/strcmp.c: Likewise.
8890 * string/strcpy.c: Likewise.
8891 * string/strncat.c: Likewise.
8892 * string/strncmp.c: Likewise.
8893 * string/strncpy.c: Likewise.
8894
8ff41c46
WS
88952012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8896
8897 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
8898 __builtin_memcopy is called when src and dest ranges are known to not
8899 overlap.
8900
6b652f46
WS
89012012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8902
8903 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
8904 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
8905 fwd_align_merge macro call.
8906 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
8907 bwd_align_merge macro call.
8908 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8909
b282631e
WS
89102012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8911
8912 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
8913 bwd_align_merge macros.
8914 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
8915 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
8916 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8917
95aa737c
DM
89182012-04-18 David S. Miller <davem@davemloft.net>
8919
8920 * sysdeps/sparc/sparc64/memcopy.h: Delete.
8921
7a99a614
AJ
89222012-04-18 Andreas Jaeger <aj@suse.de>
8923
8924 [BZ# 6794]
8925 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
8926 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
8927 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8928
8929 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
8930 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
8931 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8932
8933 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
8934 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
8935 Adjust for changed ldbl-128 files.
8936
8937 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
8938 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
8939 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8940
e5270c23
DM
89412012-04-17 David S. Miller <davem@davemloft.net>
8942
8943 * sysdeps/sparc/sparc32/memcopy.h: Delete.
8944
fb5e92c9
AS
89452012-04-17 Andreas Schwab <schwab@linux-m68k.org>
8946
8947 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
8948 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
8949 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
8950 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
8951 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8952 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
8953
76da7265
AZ
89542012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8955
8956 [BZ #6794]
8957 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
8958 * math/libm-test.inc: Add ilogb errno and exception tests.
8959 * math/w_ilogb.c: New file: ilogb wrapper.
8960 * math/w_ilogbf.c: New file: ilogbf wrapper.
8961 * math/w_ilogbl.c: New file: ilogbl wrapper.
8962 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
8963 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
8964 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
8965 exception being thrown with 0.0 as argument.
8966 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
8967 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
8968 exception being thrown with 0.0 as argument.
8969 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
8970 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8971 exception being thrown with 0.0 as argument.
8972 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
8973 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8974 exception being thrown with 0.0 as argument.
8975 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
8976 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 8977 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
8978 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
8979 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
8980 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
8981 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
8982 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
8983 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
8984
0396e69d
PB
89852012-04-17 Petr Baudis <pasky@ucw.cz>
8986
8987 * include/sys/uio.h: Change __vector to __iovec to avoid clash
8988 with altivec.
8989
750b5926
MP
89902012-04-16 Marek Polacek <polacek@redhat.com>
8991
8992 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
8993
751728a1
MP
89942012-04-16 Marek Polacek <polacek@redhat.com>
8995
8996 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
8997 operands of fdivp instruction.
8998
34a27407
L
89992012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9000
9001 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
9002 * elf/tst-auditmod3b.c: Likewise.
9003 * elf/tst-auditmod4b.c: Likewise.
9004 * elf/tst-auditmod5b.c: Likewise.
9005 * elf/tst-auditmod6b.c: Likewise.
9006 * elf/tst-auditmod6c.c: Likewise.
9007 * elf/tst-auditmod7b.c: Likewise.
9008 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
9009 * sysdeps/x86_64/preconfigure.in: Likewise.
9010 * sysdeps/x86_64/preconfigure: Regenerated.
9011
7e73e17d
L
90122012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9013
9014 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
9015 __ILP32__.
9016
c7a6ab72
AB
90172012-04-13 Antoine Balestrat <merkil33@gmail.com>
9018
9019 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9020 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
9021
a9e8e0e0
CL
90222012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
9023
9024 [BZ #13973]
9025 * locale/iso-639.def: Fix gl language name. Spotted by
9026 Yaron Shahrabani.
9027
ec98af7d
RM
90282012-04-12 Roland McGrath <roland@hack.frob.com>
9029
9030 [BZ #2074]
9031 * libio/libio.h (__io_write_fn): Update comment.
9032
247c3ede
PB
90332012-04-12 Petr Baudis <pasky@ucw.cz>
9034
9035 [BZ #2074]
9036 * stdio.texi (Hook Functions): The user provided writer function
9037 is not allowed to return -1.
9038
55939d6d
DM
90392012-04-11 David S. Miller <davem@davemloft.net>
9040
9041 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9042
90020f5a
MF
90432012-04-11 Mike Frysinger <vapier@gentoo.org>
9044
9045 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
9046 Add a leading slash to rtkaio.
9047
288f9098
JM
90482012-04-11 Jim Meyering <meyering@redhat.com>
9049
90020f5a
MF
9050 [BZ #11959]
9051 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
9052 It is not necessarily an error to ignore fwrite's return
9053 value. One can reliably use ferror to test for errors after
9054 the fact.
288f9098 9055
4be2b570
L
90562012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9057
9058 * bits/types.h (__snseconds_t): New type.
9059 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
9060
9061 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
9062 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9063 (__SNSECONDS_T_TYPE): Likewise.
9064 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9065 (__SNSECONDS_T_TYPE): Likewise.
9066 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9067 (__SNSECONDS_T_TYPE): Likewise.
9068
288f9098 90692012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
9070
9071 [BZ #2636]
9072 * manual/time.texi (Processor Time): Return type of times is
9073 elapsed real time since an arbitrary point in the past.
9074 (CPU Time): Move CLK_TCK from here...
9075 (Processor Time): ...to here. Correct description.
9076 * manual/conf.texi (Constants for Sysconf): Correct description of
9077 _SC_CLK_TCK.
9078
d7dd4413
DM
90792012-04-10 David S. Miller <davem@davemloft.net>
9080
9081 [BZ #13967]
9082 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
9083 where the is a gap between DT_REL(A) and DT_JMPREL.
9084
b46068fc
L
90852012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9086
9087 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
9088 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9089 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9090
73d65cc3
SP
90912012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9092
9093 * elf/dl-support.c (_dl_inhibit_cache): New variable.
9094 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
9095 (dl_main): Handle --inhibit-cache.
9096 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
9097 _dl_inhibit_cache.
9098 * elf/dl-load.c (_dl_map_object): Use it.
9099 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
9100
bcc8d661
JM
91012012-04-09 Joseph Myers <joseph@codesourcery.com>
9102
8f9a2fae
JM
9103 [BZ #13872]
9104 * sysdeps/i386/fpu/e_powl.S (p78): New object.
9105 (__ieee754_powl): Saturate large exponents rather than testing for
9106 overflow of y*log2(x).
9107 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9108 * math/libm-test.inc (pow_test): Do not permit spurious overflow
9109 exceptions.
9110
bcc8d661
JM
9111 [BZ #11521]
9112 * math/s_ctan.c: Include <float.h>.
9113 (__ctan): Avoid internal overflow or cancellation in calculating
9114 denominator.
9115 * math/s_ctanf.c: Likewise.
9116 * math/s_ctanl.c: Likewise.
9117 * math/s_ctanh.c: Likewise.
9118 * math/s_ctanhf.c: Likewise.
9119 * math/s_ctanhl.c: Likewise.
9120 * math/libm-test.inc (ctan_test): Add more tests.
9121 (ctanh_test): Likewise.
9122 * sysdeps/i386/fpu/libm-test-ulps: Update.
9123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9124
823fbbb4
AJ
91252012-04-09 Andreas Jaeger <aj@suse.de>
9126
03879793
AJ
9127 [BZ #6894]
9128 * manual/filesys.texi (Directory Entries): Mention that d_namlen
9129 is an optional BSD extension.
9130
823fbbb4
AJ
9131 [BZ #10254]
9132 * manual/stdio.texi (Opening Streams): Document additional fopen
9133 parameters.
9134
8de131cb
RM
91352012-04-09 Roland McGrath <roland@hack.frob.com>
9136
9137 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
9138 %eax without telling the compiler.
9139
c0ed9d7d
CD
91402012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
9141
9142 [BZ # 13963]
9143 * manual/install.texi: Use sourceware.org.
9144
c483f6b4
JM
91452012-04-09 Joseph Myers <joseph@codesourcery.com>
9146
d7dd9453
JM
9147 [BZ #13873]
9148 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
9149 (__ieee754_pow): Generate overflow and underflow using huge*huge
9150 and tiny*tiny rather than just returning constant infinity or zero
9151 for large exponents.
9152 * math/libm-test.inc (pow_test): Require overflow exceptions for
9153 applicable cases of large exponents.
9154
c483f6b4
JM
9155 [BZ #706]
9156 * sysdeps/i386/fpu/e_pow.S (p10): New object.
9157 (__ieee754_pow): Use iterative multiplication algorithm only for
9158 integer exponents with absolute value below 1024. Check for odd
9159 integer exponents when using algorithm for real exponents.
9160 * math/libm-test.inc (pow_test): Add more tests.
9161 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9162
d2de7579
JM
91632012-04-08 Joseph Myers <joseph@codesourcery.com>
9164
9165 [BZ #13705]
9166 * math/libm-test.inc (exp_test): Do not allow overflow exception
9167 on underflow test.
9168
f77f1232
AJ
91692012-04-08 Aurelien Jarno <aurelien@aurel32.net>
9170
9171 [BZ #13705]
9172 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
9173 instead of __kernel_standard_f.
9174
3884932b
MF
91752012-04-08 Mike Frysinger <vapier@gentoo.org>
9176
9177 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
9178 * sysdeps/x86_64/memset_chk.S: Likewise.
9179
54472e9c
AJ
91802012-04-08 Andreas Jaeger <aj@suse.de>
9181
6ab0fbfc
AJ
9182 [BZ #10153]
9183 * manual/startup.texi (Environment Access): Describe return value
9184 for putenv and setenv.
9185
61efba8c
AJ
9186 [BZ #6895]
9187 * manual/filesys.texi (Directory Entries): Add description for
9188 DT_LNK.
9189
95c3f29a
AJ
9190 [BZ #6890]
9191 * manual/filesys.texi (Directory Entries): Clarify that it's file
9192 system not operating system in the description of DT_UNKNOWN.
9193
54472e9c
AJ
9194 [BZ #6578]
9195 * manual/syslog.texi (closelog): Fix reference, it's openlog.
9196
624254b1
SC
91972012-04-08 Stephen Compall <s11@member.fsf.org>
9198
9199 [BZ #6649]
9200 * manual/llio.texi (Opening and Closing Files): Add cross
9201 reference to explain mode argument.
9202
1e4920e0
MF
92032012-04-07 Mike Frysinger <vapier@gentoo.org>
9204
9205 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
9206 * sysdeps/x86_64/memset_chk.S: Likewise.
9207
5ed848f3
DM
92082012-04-07 David S. Miller <davem@davemloft.net>
9209
9210 * elf/elf.h (R_SPARC_WDISP10): Define.
9211 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
9212 R_SPARC_SIZE32.
9213 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
9214 R_SPARC_SIZE64 and R_SPARC_H34.
9215
96154cd8
CD
92162012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
9217
9218 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
9219 conditions and remove no longer applicable assertion.
9220
9904dc47
L
92212012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9222
9223 * bits/byteswap.h: Include <features.h>.
9224 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9225 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9226
f8887d0a
L
92272012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9228
9229 * bits/byteswap.h (__bswap_16): Removed.
9230 Include <bits/byteswap-16.h> to get __bswap_16.
9231 * sysdeps/i386/bits/byteswap.h: Likewise.
9232 * sysdeps/s390/bits/byteswap.h: Likewise.
9233 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9234 * bits/byteswap-16.h: New file.
9235 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9236 * sysdeps/s390/bits/byteswap-16.h: Likewise.
9237 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
9238 * string/Makefile (headers): Add bits/byteswap-16.h.
9239
62470f60
PP
92402012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9241
9242 [BZ #13895]
9243 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
9244 extra indirection.
9245 * nss/Makefile (tests-static, tests): Add tst-nss-static.
9246 * nss/tst-nss-static.c: New.
9247
4dad7bab
RM
92482012-04-06 Robert Millan <rmh@gnu.org>
9249
9250 [BZ #6486]
9251 * manual/llio.texi (File Position Primitive): lseek
9252 refers to WHENCE when it really means OFFSET.
9253
e9142a17
AJ
92542012-04-06 Andreas Jaeger <aj@suse.de>
9255
2c040eff
AJ
9256 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
9257 strncmp declarations.
9258
e9142a17
AJ
9259 * abilist/libc.abilist: Add __poll and __ppoll.
9260
ff9f1c5f
DM
92612012-04-05 David S. Miller <davem@davemloft.net>
9262
dcd2ae90
DM
9263 * scripts/check-local-headers.sh: Accept a host triplet in the
9264 path matched by the exclude regexp.
9265
993eb054
DM
9266 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
9267 definition.
9268 * sysdeps/powerpc/powerpc32/dl-machine.h
9269 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
9270 * sysdeps/s390/s390-32/dl-machine.h
9271 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9272 * sysdeps/sparc/sparc32/dl-machine.h
9273 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9274 * sysdeps/sparc/sparc64/dl-machine.h
9275 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9276
ff9f1c5f
DM
9277 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
9278 lazy binding.
48e2e132 9279 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
9280 undefined symbol errors.
9281
48e2e132 9282 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
9283 DT_NEEDED entries.
9284
e80d6f94
MM
92852012-04-05 Michael Matz <matz@suse.de>
9286
9287 [BZ #13592]
9288 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
9289
349fa79f
AJ
92902012-04-05 Andreas Jaeger <aj@suse.de>
9291
9292 [BZ #13908]
9293 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
9294 comment.
9295
f402708f
KK
92962012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9297
9298 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
9299 which ROUND is no valid rounding mode.
9300
2ecccfc9
KK
93012012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9302
9303 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
9304 read again.
9305 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
9306
8a53f50f
KK
93072012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9308
9309 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
9310 an exception using FPU order intentionally.
9311
93122012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9313
9314 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
9315 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
9316 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
9317 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
9318
d653abb7
SJ
93192012-04-05 Simon Josefsson <simon@josefsson.org>
9320
9321 [BZ #12340]
9322 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
9323 EINVAL when BUFLEN is too smal.
9324
c3b1bf7d
TS
93252012-04-05 Thomas Schwinge <thomas@codesourcery.com>
9326
9327 [BZ #13553]
9328 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
9329 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
9330
b1aa60f3
AJ
93312012-04-03 Andreas Jaeger <aj@suse.de>
9332
c3b1bf7d 9333 [BZ #13938]
67f60a26
AJ
9334 * manual/setjmp.texi (System V contexts): Fix sentence.
9335
b1aa60f3
AJ
9336 [BZ #13926]
9337 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
9338 New macro for this case.
9339 [!__GNUC__] (__bswap_64): New inline function for this case.
9340 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9341 * bits/byteswap.h: Likewise.
9342 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
9343 ull, guard with __GLIBC_HAVE_LONG_LONG.
9344
9345 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
9346 __GLIBC_HAVE_LONG_LONG.
9347
9348 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
9349 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
9350
39c59c35
TMQMF
93512012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9352
9353 [BZ #13691]
9354 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
9355 inptr and inend, rather than using last_ch.
9356
135ffda8
DM
93572012-04-02 David S. Miller <davem@davemloft.net>
9358
9359 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
9360 * stdio-common/printf-parse.h (read_int): Change return type to
9361 'int', return -1 on INT_MAX overflow.
9362 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
9363 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
9364 overflows INT_MAX. Check for overflow of in-format-string precision
9365 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
9366 SIZE_MAX not INT_MAX for integer overflow test.
9367 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
9368 skip the construct in the format string but do not record anything.
9369 * stdio-common/bug22.c: Adjust to test both width/prevision
9370 INT_MAX overflow as well as total length INT_MAX overflow. Check
9371 explicitly for proper errno values.
9372
228c019e
TS
93732012-04-02 Thomas Schwinge <thomas@codesourcery.com>
9374
302cadd3
TS
9375 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
9376 CHAR_MAX.
9377 * string/test-strcmp.c [! WIDE]: Likewise.
9378 * time/tst-mktime2.c: Likewise for INT_MAX.
9379 * string/test-string.h: #include <sys/param.h> for MIN.
9380
228c019e
TS
9381 * csu/init-first.c (__libc_init_first): Call __ctype_init.
9382 * sysdeps/i386/init-first.c (init): Likewise.
9383 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
9384 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
9385 * sysdeps/sh/init-first.c (init): Likewise.
9386
cfa633f5
UD
93872012-04-01 Ulrich Drepper <drepper@gmail.com>
9388
9389 * po/ru.po: Update from translation team.
d1635ef8 9390 * po/vi.po: Likewise.
cfa633f5 9391
6cd0a5ea
SP
93922012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9393
9394 * resolv/nss_dns/dns-host.c: Merge copyright years.
9395
4b43400f
LD
93962012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9397
9398 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9399 Optimize memcpy with prefetch if
9400 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
9401 src, dst pointers have unequal 16 byte alignments.
9402
48c41d04
SP
94032012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9404
9405 [BZ #13928]
9406 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
9407 from a CNAME entry and return the minimum ttl for the query.
9408 (gaih_getanswer_slice): Likewise.
9409
b8dc394d
JL
94102012-03-30 Jeff Law <law@redhat.com>
9411
9412 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
9413 due to long keys.
9414 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9415 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9416
2f5a5ed0
JL
9417 * resolv/nss_dns/dns-host.c: Update copyright year.
9418
1d39e359
UD
94192012-03-30 Ulrich Drepper <drepper@gmail.com>
9420
c030f70c 9421 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 9422 requests to save a system call. Fix check that all bytes are sent.
c030f70c 9423
1d39e359
UD
9424 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
9425 comments for sendmmsg.
9426
94272012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
9428
9429 [BZ #13691]
9430 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
9431 with only 1 character between 0x0041 and 0x01b0.
9432 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
9433 * wcsmbs/tst-mbsnrtowcs.c: New file.
9434
20fde227
DM
94352012-03-29 David S. Miller <davem@davemloft.net>
9436
9437 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
9438 small copies by hand.
9439
984a4237
JL
94402012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9441
9442 [BZ #13761]
9443 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
9444 _nss_compat_initgroups_dyn): Fall back to malloc/free
9445 for large group memberships.
9446
18c9d62b
DM
94472012-03-28 David S. Miller <davem@davemloft.net>
9448
88d85d4f
DM
9449 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
9450 that branches into memcpy.
9451 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9452 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9453 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9454 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9455 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
9456 bits.
9457 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
9458 implementation too.
9459 * sysdeps/sparc/mempcpy.S: New file.
9460
e5aa83e1
DM
9461 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
9462 the IFUNC routine in the libc case.
9463 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9464
88570753
DM
9465 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
9466 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
9467 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
9468 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
9469 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
9470 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
9471 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
9472 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
9473
249d7567
DM
9474 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
9475 loop to 256 bytes instead of 64 bytes and fix test signedness.
9476
18c9d62b
DM
9477 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
9478 * sysdeps/sparc/sparc32/Makefile: rather than here...
9479 * sysdeps/sparc/sparc64/Makefile: and here.
9480
05f3d1f6
UD
94812012-03-28 Ulrich Drepper <drepper@gmail.com>
9482
9483 * malloc/mallocbug.c: Avoid warnings about unused variables.
9484
86ae07a8
JL
94852012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9486
9487 [BZ #13760]
9488 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
9489 in the right place. Discard and retry query if response is
9490 larger than input buffer size.
9491
41bf21a1
JM
94922012-03-28 Joseph Myers <joseph@codesourcery.com>
9493
d6270972
JM
9494 [BZ #369]
9495 [BZ #2678]
9496 [BZ #3866]
9497 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
9498 x for large integer exponent.
9499 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9500 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
9501 sign of result as needed afterwards.
9502 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9503 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
9504 result for underflowing pow the same as for overflow.
9505 (__kernel_standard_l): Handle powl overflow and underflow here
9506 rather than calling __kernel_standard.
9507 * math/libm-test.inc (pow_test): Add more tests.
9508
414fca03 9509 [BZ #3868]
41bf21a1
JM
9510 [BZ #13879]
9511 [BZ #13910]
9512 [BZ #13911]
9513 [BZ #13912]
9514 [BZ #13913]
9515 [BZ #13915]
9516 [BZ #13916]
9517 [BZ #13917]
9518 [BZ #13918]
9519 [BZ #13919]
9520 [BZ #13920]
9521 [BZ #13921]
9522 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
9523 * sysdeps/ieee754/k_standard.c: Include <float.h>.
9524 (__kernel_standard_l): New function.
9525 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
9526 __kernel_standard.
9527 * math/w_acosl.c (__acosl): Likewise.
9528 * math/w_asinl.c (__asinl): Likewise.
9529 * math/w_atan2l.c (__atan2l): Likewise.
9530 * math/w_atanhl.c (__atanhl): Likewise.
9531 * math/w_coshl.c (__coshl): Likewise.
9532 * math/w_exp10l.c (__exp10l): Likewise.
9533 * math/w_exp2l.c (__exp2l): Likewise.
9534 * math/w_fmodl.c (__fmodl): Likewise.
9535 * math/w_hypotl.c (__hypotl): Likewise.
9536 * math/w_j0l.c (__j0l, __y0l): Likewise.
9537 * math/w_j1l.c (__j1l, __y1l): Likewise.
9538 * math/w_jnl.c (__jnl, __ynl): Likewise.
9539 * math/w_lgammal.c (__lgammal): Likewise.
9540 * math/w_log10l.c (__log10l): Likewise.
9541 * math/w_log2l.c (__log2l): Likewise.
9542 * math/w_logl.c (__logl): Likewise.
9543 * math/w_powl.c (__powl): Likewise.
9544 * math/w_remainderl.c (__remainderl): Likewise.
9545 * math/w_scalbl.c (sysv_scalbl): Likewise.
9546 * math/w_sinhl.c (__sinhl): Likewise.
9547 * math/w_sqrtl.c (__sqrtl): Likewise.
9548 * math/w_tgammal.c (__tgammal): Likewise.
9549 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
9550 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
9551 * math/libm-test.inc (acos_test): Add more tests.
9552 (acosh_test): Likewise.
9553 (asin_test): Likewise.
9554 (atanh_test): Likewise.
9555 (exp_test): Likewise.
9556 (exp10_test): Likewise.
9557 (exp2_test): Likewise.
9558 (expm1_test): Likewise.
9559 (lgamma_test): Likewise.
9560 (log_test): Likewise.
9561 (log10_test): Likewise.
9562 (log1p_test): Likewise.
9563 (log2_test): Likewise.
9564 (pow_test): Do not allow some spurious overflow exceptions.
9565 (sqrt_test): Add more tests.
9566 (tgamma_test): Likewise.
9567 (y0_test): Likewise.
9568 (y1_test): Likewise.
9569 (yn_test): Likewise.
9570
dd62fda6
AB
95712012-03-27 Anton Blanchard <anton@samba.org>
9572
9573 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
9574 MAP_HUGETLB.
9575 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9576 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9577 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9578
1e3cdfda
AJ
95792012-03-27 David S. Miller <davem@davemloft.net>
9580
b855ab85
DM
9581 * conform/Makefile: Run run-conformtest.sh using $(BASH).
9582
1e3cdfda
AJ
9583 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
9584 have-as-vis3 check.
9585
95862012-03-27 Andreas Jaeger <aj@suse.de>
9587
9588 * sysdeps/x86_64/elf/configure.in: Moved to ...
9589 * sysdeps/x86_64/configure.in: ... here.
9590 * sysdeps/x86_64/elf/start.S: Moved to ...
9591 * sysdeps/x86_64/start.S: ... here.
9592 * sysdeps/x86_64/elf/configure: Delete.
9593
9594 * sysdeps/x86_64/configure.in: Merge contents from
9595 sysdeps/i386/configure.in (without i686 check).
9596
9597 * sysdeps/i386/elf/Versions: Merge into ...
9598 * sysdeps/i386/Versions: ... this.
9599 * sysdeps/i386/elf/Versions: Delete file.
9600 * sysdeps/i386/elf/start.S: Moved to ...
9601 * sysdeps/i386/start.S: ...here.
9602 * sysdeps/i386/elf/configure.in: Merge into...
9603 * sysdeps/i386/configure.in: ...here.
9604 * sysdeps/i386/elf/configure.in: Delete file.
9605 * sysdeps/i386/elf/configure: Delete file.
9606
9607 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
9608 * debug/backtracesyms.c: ... here.
9609 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
9610 * debug/backtracesymsfd.c: ... here.
9611 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
9612 * sysdeps/generic/ifunc-sel.h: ... here.
9613
9614 * sysdeps/unix/i386/start.c: Delete file.
9615 * sysdeps/unix/sparc/start.c: Delete file.
9616 * sysdeps/unix/start.c: Delete file.
9617
9618 * sysdeps/sh/elf/configure.in: Moved to ...
9619 * sysdeps/sh/configure.in: ... here.
9620 * sysdeps/sh/elf/start.S: Moved to ...
9621 * sysdeps/sh/start.S: ... here.
9622 * sysdeps/sh/elf/configure: Delete file.
9623
9624 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
9625 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
9626 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
9627 * sysdeps/powerpc/powerpc64/entry.h: ... here.
9628 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
9629 * sysdeps/powerpc/powerpc64/start.S: here.
9630 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
9631 * sysdeps/powerpc/powerpc64/Makefile: ... this.
9632 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
9633 * sysdeps/powerpc/powerpc64/configure.in: ... this.
9634 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
9635
9636 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
9637 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
9638 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
9639 * sysdeps/powerpc/powerpc32/start.S: ... here.
9640 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
9641 * sysdeps/powerpc/powerpc32/configure.in: ... this.
9642 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
9643
9644 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
9645 * sysdeps/powerpc/ifunc-sel.h: ... here.
9646 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
9647 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
9648
9649 * sysdeps/sparc/elf/configure.in: Moved to ...
9650 * sysdeps/sparc/configure.in: ... here.
9651 * sysdeps/sparc/elf/configure: Delete file.
9652 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
9653 * sysdeps/sparc/sparc32/start.S: ... here.
9654 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
9655 * sysdeps/sparc/sparc64/start.S: ... here.
9656 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
9657 * sysdeps/sparc/sparc32/Makefile: ... this.
9658 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
9659 * sysdeps/sparc/sparc64/Makefile: ... this.
9660
9661 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
9662 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
9663 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
9664 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
9665 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
9666 * sysdeps/s390/s390-32/setjmp.S: ... here.
9667 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
9668 * sysdeps/s390/s390-32/configure.in: ... here.
9669 * sysdeps/s390/s390-32/elf/configure: Delete file.
9670 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
9671 * sysdeps/s390/s390-32/start.S: ... here.
9672
9673 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
9674 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
9675 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
9676 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
9677 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
9678 * sysdeps/s390/s390-64/setjmp.S: ... here.
9679 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
9680 * sysdeps/s390/s390-64/configure.in: ... here
9681 * sysdeps/s390/s390-64/elf/configure: Delete file.
9682 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
9683 * sysdeps/s390/s390-64/start.S: ... here.
9684 * sysdeps/s390/s390-64/elf/configure: Delete.
9685
9686 * configure.in: Remove support for elf directories in sysdeps.
9687
9688 * configure: Regenerated.
9689 * sysdeps/i386/configure: Regenerated.
9690 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9691 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9692 * sysdeps/s390/s390-32/configure: Regenerated.
9693 * sysdeps/s390/s390-64/configure: Regenerated.
9694 * sysdeps/sh/configure: Regenerated.
9695 * sysdeps/sparc/configure: Regenerated.
9696 * sysdeps/x86_64/configure: Regenerated.
9697
a3f61311
AS
96982012-03-26 Andreas Schwab <schwab@linux-m68k.org>
9699
c876e002
AS
9700 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9701
a3f61311
AS
9702 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
9703 denormal result into account.
9704
ac4c54f0
RM
97052012-03-25 Roland McGrath <roland@hack.frob.com>
9706
9707 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
9708 Reported by Allan McRae <allan@archlinux.org>.
9709
6a9b9c02
JL
97102012-03-23 Jeff Law <law@redhat.com>
9711
9712 * nss/getnssent.c (__nss_getent): Fix typo.
9713
4c42a0c1
DM
97142012-03-23 David S. Miller <davem@davemloft.net>
9715
9716 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9717
1532c7ac
L
97182012-03-23 H.J. Lu <hongjiu.lu@intel.com>
9719
9720 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
9721 to pad to uint64_t for each field.
9722 (dl_tls_index): Replace unsigned long with uint64_t.
9723
3ff42526
PP
97242012-03-23 Daniel Jacobowitz <dmj@google.com>
9725 Paul Pluzhnikov <ppluzhnikov@google.com>
9726
9727 [BZ #6528]
9728 * grp/Makefile (otherlibs): Don't set it.
9729 * inet/Makefile (otherlibs): Likewise.
9730 * login/Makefile (otherlibs): Likewise.
9731 * nscd/Makefile (otherlibs): Likewise.
9732 * posix/Makefile (otherlibs): Likewise.
9733 * pwd/Makefile (otherlibs): Likewise.
9734 * rt/Makefile (otherlibs): Likewise.
9735 * sunrpc/Makefile (otherlibs): Likewise.
9736 * nss/Makefile (otherlibs): Likewise.
9737 Add libnss_files to routines and static-only-routines.
9738 ($(objpfx)getent): Remove rule.
9739 * resolv/Makefile: Add libnss_dns and libresolv to routines and
9740 static-only-routines.
9741
7c69cd14
JM
97422012-03-22 Joseph Myers <joseph@codesourcery.com>
9743
9744 [BZ #13892]
9745 * math/s_cexp.c: Include <float.h>.
9746 (__cexp): Handle exp result overflowing not necessarily
9747 overflowing both real and imaginary parts of result.
9748 * math/s_cexpf.c: Likewise.
9749 * math/s_cexpl.c: Likewise.
9750 * math/libm-test.inc (cexp_test): Add more tests.
9751 * sysdeps/i386/fpu/libm-test-ulps: Update.
9752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9753
81b035fe
L
97542012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9755
9756 * include/link.h (ELFW): New macro.
9757 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
9758 Replace ELF64_R_TYPE with ELFW(R_TYPE).
9759
1da7940c
L
97602012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9761
9762 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
9763 with uint64_t.
9764
b749dbb9
L
97652012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9766
9767 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
9768 declaration.
9769 (struct La_x32_retval): Likewise.
9770
2ff87f3f
L
97712012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9772
9773 * sysdeps/x86_64/preconfigure.in: New file.
9774 * sysdeps/x86_64/preconfigure: New generated file.
9775
c0df8e69
JM
97762012-03-22 Joseph Myers <joseph@codesourcery.com>
9777
48e44791
JM
9778 [BZ #13824]
9779 * math/e_exp2l.c: Include <float.h>.
9780 (__ieee754_exp2l): Handle overflow and underflow cases
9781 separately. Only pass fractional part of argument to
9782 __ieee754_expl.
9783 * math/libm-test.inc (exp2_test): Add more tests.
9784
c0df8e69
JM
9785 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
9786 negating x to take absolute value.
9787 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9788 Likewise.
9789 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9790 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9791 Likewise.
9792 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
9793 computing low part if x was negated.
9794 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9795
c8e43ba7
L
97962012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9797
9798 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
9799 la_x32_gnu_pltexit.
9800 (pltexit): Cast int_retval to ptrdiff_t.
9801 * elf/tst-auditmod3b.c: Likewise.
9802 * elf/tst-auditmod4b.c: Likewise.
9803 * elf/tst-auditmod5b.c: Likewise.
9804 * elf/tst-auditmod6b.c: Likewise.
9805 * elf/tst-auditmod6c.c: Likewise.
9806 * elf/tst-auditmod7b.c: Likewise.
9807
9808 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
9809 and x32_gnu_pltexit.
9810
9811 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
9812 __ELF_NATIVE_CLASS.
9813 (La_x32_regs): New macro.
9814 (La_x32_retval): Likewise.
9815 (la_x32_gnu_pltenter): New function prototype.
9816 (la_x32_gnu_pltexit): Likewise.
9817
7998fa78
AS
98182012-03-21 Andreas Schwab <schwab@linux-m68k.org>
9819
dcb33988
AS
9820 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
9821 exponent.
9822
233fc563
AS
9823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9824
7998fa78
AS
9825 * configure.in (libc_cv_cc_nofma): Check for option to disable
9826 generation of FMA instructions.
9827 * configure: Regenerate.
9828 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
9829 * sysdeps/ieee754/dbl-64/Makefile: New file.
9830 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9831 Remove brandred-fma4.
9832 (CFLAGS-brandred-fma4.c): Remove.
9833 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
9834 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
9835 define.
9836 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
9837 define.
9838
8e95c99a
L
98392012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9840
9841 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9842 LLONG_MAX != LONG_MAX.
9843 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9844 (_fitoa_word): Likewise.
9845 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
9846 LLONG_MAX != LONG_MAX.
9847 * stdio-common/_itowa.h: Include <_itoa.h>.
9848 (_itowa_word): Use _ITOA_WORD_TYPE on value.
9849 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
9850 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
9851 only if not defined.
9852 (_ITOA_WORD_TYPE): Likewise.
9853 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9854 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
9855
6f4db457
DM
98562012-03-21 David S. Miller <davem@davemloft.net>
9857
9858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9859
7785fe5a
L
98602012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9861
9862 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
9863 of x86_64 when setting libc_cv_slibdir, libdir and
9864 libc_cv_localedir.
9865 * sysdeps/unix/sysv/linux/configure: Regenerated.
9866
4535cd55
JM
98672012-03-21 Joseph Myers <joseph@codesourcery.com>
9868
9869 * manual/lang.texi (Old Varargs): Remove section.
9870 (How Variadic): Update menu.
9871 (va_start): Do not mention varargs.h.
9872
17228132
TS
98732012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9874 Joseph Myers <joseph@codesourcery.com>
9875
9876 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
9877 link test.
9878 * configure: Regenerated.
9879
8149f976
TS
98802012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9881
05f3d1f6
UD
9882 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
9883 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
9884 conformtest.pl
8149f976 9885
1a4ac776
JM
98862012-03-21 Joseph Myers <joseph@codesourcery.com>
9887
be22ce65
JM
9888 * NOTES: Remove.
9889 * Makefile (files-for-dist): Remove NOTES.
9890 (NOTES): Remove rule.
9891 * README: Don't refer to NOTES.
9892 * manual/creature.texi: Don't include macros.texi.
9893 * manual/intro.texi (creature.texi): Remove comment referring to
9894 NOTES.
9895
40b601fb
JM
9896 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
9897 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
9898 * configure: Regenerated.
9899 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
9900 LIBC_TRY_CC_OPTION.
9901 (libc_cv_as_i686): Likewise.
9902 (libc_cv_cc_avx): Likewise.
9903 (libc_cv_cc_sse2avx): Likewise.
9904 (libc_cv_cc_fma4): Likewise.
9905 (libc_cv_cc_novzeroupper): Likewise.
9906 * sysdeps/i386/configure: Regenerated.
9907
1a4ac776
JM
9908 [BZ #13883]
9909 * sysdeps/i386/fpu/s_cexp.S: Remove.
9910 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9911 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9912 * math/libm-test.inc (cexp_test): Add more tests.
9913 * sysdeps/i386/fpu/libm-test-ulps: Update.
9914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9915
a458e7fe
AM
99162012-03-21 Allan McRae <allan@archlinux.org>
9917
9918 * timezone/Makefile: Do not install iso3166.tab and zone.tab
9919
0cb7efc5
JM
99202012-03-21 Joseph Myers <joseph@codesourcery.com>
9921
9922 [BZ #13871]
9923 * math/w_exp2.c: Do not include <float.h>.
9924 (o_threshold, u_threshold): Remove.
9925 (__exp2): Calculate result before checking finiteness and calling
9926 __kernel_standard.
9927 * math/w_exp2f.c: Likewise.
9928 * math/w_exp2l.c: Likewise.
9929 * math/libm-test.inc (exp2_test): Require overflow exception for
9930 1e6 input.
2460d3aa
JM
9931
9932 [BZ #3866]
9933 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
9934 range of signed 64-bit integers before using fistpll. Remove
9935 checks for whether integers fit in mantissa bits.
9936 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
9937 the range of signed 32-bit integers before using fistpl. Remove
9938 checks for whether integers fit in mantissa bits.
9939 * sysdeps/i386/fpu/e_powl.S (p64): New object.
9940 (__ieee754_powl): Test for y outside the range of signed 64-bit
9941 integers before using fistpll. Reduce 64-bit values to 63-bit
9942 ones as needed.
9943 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
9944 divide-by-zero is raised for zero to large negative powers.
9945 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
9946 (__ieee754_powl): Test for y outside the range of signed 64-bit
9947 integers before using fistpll. Reduce 64-bit values to 63-bit
9948 ones as needed.
9949 * math/libm-test.inc (pow_test): Add more tests.
9950
eb96ffb0
L
99512012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9952
9953 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
9954 <stdio-common/_itoa.h>.
9955 * debug/segfault.c: Likewise.
9956 * elf/dl-cache.c: Likewise.
9957 * elf/dl-minimal.c: Likewise.
9958 * elf/dl-misc.c: Likewise.
9959 * elf/dl-sysdep.c: Likewise.
9960 * elf/dl-version.c: Likewise.
9961 * elf/rtld.c: Likewise.
9962 * hurd/hurdsock.c: Likewise.
9963 * hurd/lookup-retry.c: Likewise.
9964 * malloc/malloc.c: Likewise.
9965 * malloc/mtrace.c: Likewise.
9966 * nscd/nscd_getgr_r.c: Likewise.
9967 * nscd/nscd_getpw_r.c: Likewise.
9968 * nscd/nscd_getserv_r.c: Likewise.
9969 * posix/getopt_init.c: Likewise.
9970 * posix/wordexp.c: Likewise.
9971 * stdio-common/_itoa.c: Likewise.
9972 * stdio-common/printf_fphex.c: Likewise.
9973 * stdio-common/vfprintf.c: Likewise.
9974 * string/_strerror.c: Likewise.
9975 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9976 * sysdeps/i386/i686/hp-timing.h: Likewise.
9977 * sysdeps/mach/_strerror.c: Likewise.
9978 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
9979 * sysdeps/mach/hurd/sethostid.c: Likewise.
9980 * sysdeps/mach/hurd/xmknodat.c: Likewise.
9981 * sysdeps/mach/xpg-strerror.c: Likewise.
9982 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9983 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9984 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
9985 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
9986 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9987 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
9988 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9989 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9990 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
9991 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
9992 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
9993 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9994 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
9995 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9996 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9997 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
9998 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
9999 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
10000 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10001 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10002 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
10003
10004 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
10005
10006 * stdio-common/_itoa.h: Moved to ...
10007 * sysdeps/generic/_itoa.h: Here.
10008
10009 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
10010
10011 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
10012 instead of "_itoa.h" and "_itowa.h".
10013 * stdio-common/vfprintf.: Likewise.
10014
d1af992d
L
100152012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10016
10017 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
10018 <bits/wordsize.h>.
10019 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
10020 (__signbit): Likwise.
10021 (llrintf): Likwise.
10022 (llrint): Likwise.
10023
114883e0
L
100242012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10025
10026 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
10027 __WORDSIZE != 64.
10028
c135cc1b
JM
100292012-03-20 Joseph Myers <joseph@codesourcery.com>
10030
10031 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
10032 OVERFLOW_EXCEPTION_OK.
10033 * math/libm-test.inc ("Philosophy"): Update comment about
10034 exception testing.
10035 (OVERFLOW_EXCEPTION): Define.
10036 (OVERFLOW_EXCEPTION_OK): Likewise.
10037 (INVALID_EXCEPTION_OK): Renumber.
10038 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10039 (IGNORE_ZERO_INF_SIGN): Likewise.
10040 (test_exceptions): Handle FE_OVERFLOW.
10041 (exp10_test): Expect overflow exceptions.
10042 (exp2_test): Likewise.
10043 (expm1_test): Likewise.
10044 (nextafter_test): Likewise.
10045 (pow_test): Likewise.
10046 (scalbn_test): Likewise.
10047 (scalbln_test): Likewise.
10048
95443d88
L
100492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10050
10051 * sysdeps/x86_64/bits/atomic.h
10052 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
10053 64bit integer.
10054 (atomic_exchange_acq): Likewise.
10055 (__arch_exchange_and_add_body): Likewise.
10056 (__arch_add_body): Likewise.
10057 (atomic_add_negative): Likewise.
10058 (atomic_add_zero): Likewise.
10059
490df6c4
L
100602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10061
c2722551 10062 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
10063 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
10064
5e52b189
L
100652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10066
10067 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
10068 Check __x86_64__ instead of __WORDSIZE.
10069
a9879d4c
L
100702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10071
10072 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
10073
5df98260
DM
100742012-03-19 David S. Miller <davem@davemloft.net>
10075
e1497744
DM
10076 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10077
5df98260
DM
10078 * sysdeps/sparc/fpu/fenv_private.h: New file.
10079 * sysdeps/sparc/fpu/math_private.h: Use it.
10080 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
10081 Remove.
10082 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
10083 (libc_feholdexcept_setroundl): Remove.
10084 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
10085 Remove.
10086 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
10087 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
10088
b4c35121
L
100892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10090
10091 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
10092 int64_t instead of long int.
10093 (INSERT_WORDS64): Likwise.
10094
56965fd7
L
100952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10096
10097 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
10098 _Unwind_GetCFA return to _Unwind_Ptr first.
10099
83d1aec8
JM
101002012-03-19 Joseph Myers <joseph@codesourcery.com>
10101
1897ad44
JM
10102 [BZ #13629]
10103 * math/s_clog.c: Include <float.h>.
10104 (__clog): Scale large or subnormal inputs.
10105 * math/s_clogf.c: Likewise.
10106 * math/s_clogl.c: Likewise.
10107 * math/s_clog10.c: Include <float.h>.
10108 (M_LOG10_2): Define.
10109 (__clog10): Scale large or subnormal inputs.
10110 * math/s_clog10f.c: Likewise.
10111 * math/s_clog10l.c: Likewise.
10112 * math/libm-test.inc (clog_test): Add more tests.
10113 (clog10_test): Likewise.
10114 * sysdeps/i386/fpu/libm-test-ulps: Update.
10115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10116
7726d6a9
JM
10117 [BZ #11451]
10118 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
10119 x and y.
10120 * math/libm-test.inc (atan2_test): Add another test.
10121
83d1aec8
JM
10122 * Makerules (common-objdir-compile): Remove.
10123 * sysdeps/unix/Makefile (config-generated): Do not add
10124 $(unix-generated) to variable.
10125 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
10126 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
10127 Remove rule.
10128 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
10129 Likewise.
10130 [generic bits/local_lim.h] (before-compile): Do not append to
10131 variable.
10132 [generic bits/local_lim.h] (common-generated): Likewise.
10133 [generic sys/param.h] (before-compile): Do not append to variable.
10134 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
10135 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
10136 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
10137 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
10138 include.
10139 [generic sys/param.h] (sys/param.h-includes): Remove variable.
10140 [generic sys/param.h] (sys/param.h-includes): Remove rule.
10141 [generic sys/param.h] ($(addprefix
10142 $(common-objpfx),$(sys/param.h-includes))): Likewise.
10143 [generic sys/param.h] (common-generated): Do not append to
10144 variable.
10145 [generic sys/param.h] (sysdep_headers): Likewise.
10146 [generic bits/errno.h] (before-compile): Do not append to
10147 variable.
10148 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
10149 rule.
10150 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
10151 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
10152 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
10153 [generic bits/errno.h] (common-generated): Do not append to
10154 variable.
10155 [generic bits/ioctls.h] (before-compile): Do not append to
10156 variable.
10157 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
10158 rule.
10159 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
10160 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
10161 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
10162 rule.
10163 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
10164 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
10165 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
10166 [generic bits/ioctls.h] (common-generated): Do not append to
10167 variable.
10168 [generic sys/syscall.h] (syscall.h): Remove variable.
10169 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
10170 rule.
10171 [generic sys/syscall.h] (before-compile): Do not append to
10172 variable.
10173 [generic sys/syscall.h] (common-generated): Likewise.
10174 * sysdeps/unix/errnos-tmpl.c: Remove file.
10175 * sysdeps/unix/errnos.awk: Likewise.
10176 * sysdeps/unix/ioctls-tmpl.c: Likewise.
10177 * sysdeps/unix/ioctls.awk: Likewise.
10178 * sysdeps/unix/mk-local_lim.c: Likewise.
10179 * sysdeps/unix/snarf-ioctls: Likewise.
10180
4851a949
RH
101812012-03-19 Richard Henderson <rth@twiddle.net>
10182
bd37f2ee
RH
10183 * sysdeps/i386/fpu/fenv_private.h: New file.
10184 * sysdeps/i386/fpu/math_private.h: Use it.
10185 (math_opt_barrier, math_force_eval): Remove.
10186 (libc_feholdexcept_setround_53bit): Remove.
10187 (libc_feupdateenv_53bit): Remove.
10188 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10189 (math_opt_barrier, math_force_eval): Remove.
10190 (libc_feholdexcept): Remove.
10191 (libc_feholdexcept_setround): Remove.
10192 (libc_fetestexcept, libc_fesetenv): Remove.
10193 (libc_feupdateenv_test): Remove.
10194 (libc_feupdateenv, libc_feholdsetround): Remove.
10195 (libc_feresetround): Remove.
10196
d0adc922
RH
10197 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
10198 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10199
0fe0f1f8
RH
10200 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
10201 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
10202 (libc_feupdateenv_testl): New.
10203 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
10204 (libc_feupdateenv_testf): New.
10205 (libc_feupdateenv): Use libc_feupdateenv_test.
10206 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
10207 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
10208
eb92c487
RH
10209 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
10210 (libc_feholdsetroundf, libc_feholdsetroundl): New.
10211 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
10212 (libc_feresetround_noex): New.
10213 (libc_feresetround_noexf): New.
10214 (libc_feresetround_noexl): New.
10215 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
10216 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
10217 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
10218 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
10219 SET_RESTORE_ROUND.
10220 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10221 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
10222 (__cos): Likewise.
10223 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
10224 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10225 SET_RESTORE_ROUND_NOEX.
10226 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
10227 SET_RESTORE_ROUND_NOEXF.
10228 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
10229 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
10230 (libc_feholdsetroundf): New.
10231 (libc_feresetround, libc_feresetroundf): New.
10232
7d2e8012
RH
10233 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
10234 (libc_feholdexcept_setround_53bit): Convert from macro to function.
10235 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
10236
b4dabbb4
RH
10237 * sysdeps/generic/math_private.h: Include <fenv.h>.
10238 (default_libc_feholdexcept): New.
10239 (default_libc_feholdexcept_setround): New.
10240 (default_libc_fesetenv, default_libc_feupdateenv): New.
10241 (libc_feholdexcept): Only define if undefined.
10242 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
10243 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
10244 (libc_feholdexcept_setroundl): Likewise.
10245 (libc_feholdexcept_setround_53bit): Likewise.
10246 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
10247 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
10248 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
10249 (libc_feupdateenv_53bit): Likewise.
10250 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
10251 (libc_feholdexcept): Convert from macro to inline function.
10252 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
10253 (libc_fesetenv, libc_feupdateenv): Likewise.
10254
4851a949
RH
10255 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
10256 not previously defined.
10257 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
10258 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
10259 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
10260 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
10261 * sysdeps/ieee754/flt-32/math_private.h: New file.
10262 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
10263 math_private.h below SET_FLOAT_WORD.
10264 (__isnan, __isinf_ns, __finite): Remove.
10265 (__isnanf, __isinf_nsf, __finitef): Remove.
10266
e79d442e
AS
102672012-03-18 Andreas Schwab <schwab@linux-m68k.org>
10268
10269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10270
90b80344
DM
102712012-03-17 David S. Miller <davem@davemloft.net>
10272
10273 [BZ #6471]
10274 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
10275 for 2.16.
10276
edc21804
DM
102772012-03-16 David S. Miller <davem@davemloft.net>
10278
77e927af
DM
10279 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
10280 warnings.
10281
374976dd
DM
10282 [BZ #6471]
10283 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
10284 properly.
10285 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
10286 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
10287 sysdep_routines when subdir is sysvipc.
10288 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
10289 __getshmlba helper.
10290
edc21804
DM
10291 * sysdeps/sparc/fpu/libm-test/ulps: Update.
10292
473c3ef3
L
102932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10294
10295 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
10296 [__LP64__].
10297
eb0f39b6
L
102982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10299
10300 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
10301 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
10302 (__lround): Renamed to ...
10303 (__llround): This. Replace long int with long long int.
10304 Define lround functions as aliases of llround functions.
10305 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
10306
6b6cd74b
L
103072012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10308
10309 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
10310 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
10311 adresses to uintptr_t. Replace "long int" and "unsigned long
10312 int" with "greg_t" on va_arg.
10313
f1a77b01
L
103142012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10315
10316 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
10317 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
10318
10319 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
10320 Move e_machine check before EI_CLASS check. Handle x32
10321 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
10322 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
10323 SKIP_EM_IA_64 and include
10324 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
10325
10326 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
10327 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
10328 (add_system_dir): New macro.
10329
10330 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
10331 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
10332
11b90b9f
JM
103332012-03-16 Joseph Myers <joseph@codesourcery.com>
10334
c36e1d23
JM
10335 [BZ #2551]
10336 [BZ #2552]
10337 [BZ #2553]
10338 [BZ #2554]
10339 [BZ #2562]
10340 [BZ #2563]
10341 [BZ #2565]
10342 [BZ #2566]
10343 [BZ #2576]
10344 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
10345 (y0): Likewise.
10346 * math/w_j0f.c (j0f): Likewise.
10347 (y0f): Likewise.
10348 * math/w_j0l.c (__j0l): Likewise.
10349 (__y0l): Likewise.
10350 * math/w_j1.c (j1): Likewise.
10351 (y1): Likewise.
10352 * math/w_j1f.c (j1f): Likewise.
10353 (y1f): Likewise.
10354 * math/w_j1l.c (__j1l): Likewise.
10355 (__y1l): Likewise.
10356 * math/w_jn.c (jn): Likewise.
10357 (yn): Likewise.
10358 * math/w_jnf.c (jnf): Likewise.
10359 (ynf): Likewise.
10360 * math/w_jnl.c (__jnl): Likewise.
10361 (__ynl): Likewise.
10362 * math/libm-test.inc (j0_test): Add more tests.
10363 (j1_test): Likewise.
10364 (jn_test): Likewise. Add trailing semicolon to existing test.
10365 (y0_test): Likewise.
10366 (y1_test): Likewise.
10367 * sysdeps/i386/fpu/libm-test-ulps: Update.
10368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10369
11b90b9f
JM
10370 [BZ #13851]
10371 [BZ #13854]
10372 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10373 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
10374 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
10375 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
10376 (__tanl): Set errno for infinite argument.
10377 * sysdeps/i386/fpu/mptan.c: Remove.
10378 * sysdeps/i386/fpu/s_tan.S: Likewise.
10379 * sysdeps/i386/fpu/s_tanl.S: Likewise.
10380 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
10381 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
10382 * math/libm-test.inc (tan_test): Add more tests and enable more
10383 tests for double and long double.
10384 * sysdeps/i386/fpu/libm-test-ulps: Update.
10385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10386
6a1bd2a1
JK
103872012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10388
10389 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
10390 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
10391
10a803e0
RM
103922012-03-16 Roland McGrath <roland@hack.frob.com>
10393
10394 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
10395 * configure.in: Use it for both main tree and add-ons.
10396 * configure: Regenerated.
10397
f196c7f7
L
103982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10399
10400 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
10401
8848d99d
JM
104022012-03-16 Joseph Myers <joseph@codesourcery.com>
10403
96cbe7f4
JM
10404 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
10405 in comment.
10406
8848d99d
JM
10407 [BZ #13851]
10408 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
10409 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
10410 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10411 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
10412 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
10413 infinite argument.
10414 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
10415 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
10416 != 0 for prec == 2.
10417 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
10418 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
10419 * sysdeps/i386/fpu/s_cosl.S: Likewise.
10420 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
10421 * sysdeps/i386/fpu/s_sinl.S: Likewise.
10422 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
10423 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
10424 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
10425 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
10426 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
10427 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
10428 * math/libm-test.inc (cos_test): Add more tests and enable more
10429 tests for long double.
10430 (sin_test): Likewise.
10431 (sincos_test): Likewise.
10432 * sysdeps/i386/fpu/libm-test-ulps: Update.
10433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10434
dd7f4703
DM
104352012-03-16 David S. Miller <davem@davemloft.net>
10436
10437 * sysdeps/sparc/fpu/math_private.h: New file.
10438
006f1daa
DM
104392012-03-15 David S. Miller <davem@davemloft.net>
10440
c0c83bc8
DM
10441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
10442 file.
e6a62e18 10443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
10444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
10445 file.
e6a62e18
DM
10446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
10447 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
10448 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
10449 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
10450 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
10451 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
10452 sysdep routines.
10453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10454
88cb87d9
DM
10455 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
10456 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
10457
006f1daa 10458 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
10459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
10460 sparc-ifunc.h
006f1daa 10461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
10462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
10463 Likewise.
10464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
10465 Likewise.
006f1daa
DM
10466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
10467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
10468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
10469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10470 Likewise.
006f1daa
DM
10471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
10475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
10476 Likewise.
10477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
10478 Likewise.
006f1daa
DM
10479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
10481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10483 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10484 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10485 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
10486 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
10487 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10488 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10489 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10490 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10491 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10492 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10493 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
10494 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
10495 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
10496 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
10497 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
10498 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
10499 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
10500 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
10501 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
10502 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
10503
11e0098e
AS
105042012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10505
10506 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
10507 scaling.
10508 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10509
e85b09d0
AJ
105102012-03-15 Andreas Jaeger <aj@suse.de>
10511
10512 [BZ #13852]
10513 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
10514 ieee754/flt-32 implementation for sin, cos and sincos.
10515 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
10516 * sysdeps/i386/fpu/s_cosf.S: Likewise.
10517 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
10518 * sysdeps/i386/fpu/s_sinf.S: Likewise.
10519 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
10520 ieee754/flt-32 implementation for tan.
10521
10522 * math/libm-test.inc (cos_test): Enable some large input tests for
10523 float as well
10524 (sin_test): Likewise.
10525 (sincos_test): Likewise.
10526 (tan_test): Add tests for large input.
10527
10528 * sysdeps/i386/fpu/libm-test-ulps: Update.
10529
81c64153
AJ
105302012-03-15 Andreas Jaeger <aj@suse.de>
10531
10532 [BZ #13658]
10533 * math/libm-test.inc (cos_test): Add more test cases.
10534 (sin_test): Likewise.
10535 (sincos_test): Likewise.
10536
7bbfa5c6
AJ
105372012-03-15 Andreas Jaeger <aj@suse.de>
10538
10539 [BZ #13837]
10540 * math/libm-test.inc (cos_test): Add a test case for large input
10541 value.
10542 (sin_test): Likewise.
10543 (sincos_test): Likewise.
10544
105452012-03-15 Andreas Jaeger <aj@suse.de>,
10546 Joseph Myers <joseph@codesourcery.com>
10547
10548 [BZ #13658]
0671f479 10549 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
10550 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
10551 * sysdeps/i386/fpu/branred.c: Likewise.
10552 * sysdeps/i386/fpu/dosincos.c: Likewise.
10553 * sysdeps/i386/fpu/mpa.c: Likewise.
10554 * sysdeps/i386/fpu/s_cos.S: Likewise.
10555 * sysdeps/i386/fpu/s_sin.S: Likewise.
10556 * sysdeps/i386/fpu/s_sincos.S: Likewise.
10557 * sysdeps/i386/fpu/sincos32.c: Likewise.
10558
10559 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
10560 Define.
10561 (libc_feupdateenv_53bit): Define.
10562 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
10563 Define.
10564 (libc_feupdateenv_53bit): Define.
10565
10566 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
10567 53 bit (without extend i386 double precision).
10568
10569 * math/libm-test.inc (sincos_test): Add tests for large input.
10570 (sin): Likewise.
10571 (cos): Likewise.
10572
10573 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10574
9cad04ea
AS
105752012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10576
10577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10578
f7062b9a
DM
105792012-03-15 David S. Miller <davem@davemloft.net>
10580
10581 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
10582 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
10583 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
10584 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
10585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
10586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
10587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
10588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
10589 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
10590 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
10591 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
10592 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
10593 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
10594 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
10595 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
10596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
10597 file.
f7062b9a 10598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
10599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
10600 file.
f7062b9a 10601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
10602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
10603 file.
f7062b9a 10604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
10605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
10606 file.
f7062b9a
DM
10607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
10608 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
10609 fmin/fmax sysdep routines.
10610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10611
7bd951ff
DM
106122012-03-14 David S. Miller <davem@davemloft.net>
10613
559398ab
DM
10614 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
10615 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
10616 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
10617 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
10618 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
10619 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
10620 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
10621 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
10622 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
10623 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
10624 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
10625 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
10626 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
10627 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
10628 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
10629 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
10630 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
10631 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
10632 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
10633 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
10634 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
10635 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
10636 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
10637 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
10638 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
10639 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
10640 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
10641 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
10642 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
10643 routines.
10644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
10645 file.
559398ab 10646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
10647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
10648 file.
559398ab 10649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
10650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
10651 file.
559398ab 10652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
10653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
10654 file.
559398ab 10655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
10656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
10657 file.
559398ab 10658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
10659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
10660 file.
10661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
10662 file.
10663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
10664 file.
10665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
10666 file.
10667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
10668 New file.
10669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
10670 file.
10671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
10672 file.
559398ab 10673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
10674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
10675 file.
559398ab 10676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
10677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
10678 file.
559398ab 10679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
10680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
10681 file.
559398ab 10682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
10683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
10684 VIS3 routines.
559398ab
DM
10685
10686 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10687 New file.
10688
5a1c1e32
DM
10689 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10690
eae47a36
DM
10691 * sysdeps/sparc/configure.in: New file.
10692 * sysdeps/sparc/configure: Generate.
10693 * configure.in (libc_cv_sparc_as_vis3): Substitute.
10694 * configure: Regenerate.
10695 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
10696 * config.make.in (have-as-vis3): New.
10697 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
10698 available use -Av9d instead of -Av9a.
10699 * sysdeps/sparc/sparc64/Makefile: Likewise.
10700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
10701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
10702 New file.
10703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
10704 file.
10705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
10706 New file.
10707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
10708 file.
eae47a36
DM
10709 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
10710 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
10711 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
10712 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
10713 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
10714
c0c83bc8
DM
10715 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
10716 fzeros/fnegs to load 0x80000000 into a float register instead of
10717 using the stack.
7bd951ff
DM
10718 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
10719
bd951ccb
JM
107202012-03-14 Joseph Myers <joseph@codesourcery.com>
10721
10722 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10723 bits/syscall.h.
10724 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
10725 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
10726 ($(inst_includedir)/bits/syscall.h): Remove rule.
10727 ($(objpfx)bits/syscall.d): Include instead of
10728 $(objpfx)syscall-list.d.
10729 (generated): Change syscall-list.h and syscall-list.d to
10730 bits/syscall.h and bits/syscall.d.
10731
bb4e6db2
RM
107322012-03-14 Roland McGrath <roland@hack.frob.com>
10733
10734 [BZ #13846]
10735 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
10736
aa4a2ae1
JM
107372012-03-14 Joseph Myers <joseph@codesourcery.com>
10738
e456826d
JM
10739 [BZ #13841]
10740 * math/s_csqrt.c: Include <float.h>.
10741 (__csqrt): Scale large or subnormal inputs.
10742 * math/s_csqrtf.c: Likewise.
10743 * math/s_csqrtl.c: Likewise.
10744 * math/libm-test.inc (csqrt_test): Add more tests.
10745 * sysdeps/i386/fpu/libm-test-ulps: Update.
10746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10747
aa4a2ae1
JM
10748 [BZ #13840]
10749 * math/libm-test.inc (hypot_test): Add more tests.
10750
7c10fd35
DM
107512012-03-13 David S. Miller <davem@davemloft.net>
10752
10753 [BZ #13840]
10754 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
10755 double-precision for the calculation instead of scaling.
10756
f453b98b
JM
107572012-03-13 Joseph Myers <joseph@codesourcery.com>
10758
10759 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
10760 manipulate bits before adding and subtracting TWO52[sx].
10761 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
10762 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10763 Likewise.
10764 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
10765
09a3453f
DM
107662012-03-13 David S. Miller <davem@davemloft.net>
10767
8e59da90
DM
10768 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
10769 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
10770 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
10771 rtld-global-offsets.h
10772 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10773
2a8ab7f2
DM
10774 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
10775 large parameters.
10776
10f62770
DM
10777 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
10778
5f0bdb18
DM
10779 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
10780 'err' in the ifdef scope in which it is actually used.
10781
09a3453f
DM
10782 * nss/nss_db/db-init.c: Include string.h
10783
b4b2eb5e
DM
107842012-03-12 David S. Miller <davem@davemloft.net>
10785
98bb2f1c
DM
10786 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10787 masking out of the most significant byte of random value used.
10788 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10789 Fix coding style in previous change.
10790
b4b2eb5e
DM
10791 * sysdeps/unix/sysv/linux/kernel-features.h
10792 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
10793 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
10794 expression.
10795 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
10796 later.
10797
6e226b09
DM
107982012-03-11 David S. Miller <davem@davemloft.net>
10799
a1bcbd40
DM
10800 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10801 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
10802 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
10803 for 'resultvar' otherwise things get truncated on 64-bit.
10804
cb9d6174
DM
10805 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10806 Fix masking out of the most significant byte of random value used.
10807
6e226b09
DM
10808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10809
058c132d
AS
108102012-03-10 Andreas Schwab <schwab@linux-m68k.org>
10811
10812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10813
2d2cd515
DM
108142012-03-09 David S. Miller <davem@davemloft.net>
10815
10816 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
10817 variables with appropriate CPP guards.
10818 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
10819 frame pointer, not the stack pointer. Correct layout comments. Fix test
10820 on resulting framesize and the management of the outregs buffer for pltexit.
10821 Preserve floating point return values across _dl_call_pltexit call.
10822 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
10823 framesize and the management of the outregs buffer for pltexit.
10824 Preserve floating point return values across _dl_call_pltexit
10825 call.
10826 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
10827 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
10828 (print_exit): Fix format string for return register value.
10829
9a07f9d0
JM
108302012-03-10 Joseph Myers <joseph@codesourcery.com>
10831
10832 * sunrpc/Makefile (others): Add rpcgen.
10833 ($(objpfx)rpcgen): Remove special build rule and dependency on
10834 libc.
10835 * sunrpc/rpcgen.c: New file.
10836
547b5e30
PE
108372012-03-09 Paul Eggert <eggert@cs.ucla.edu>
10838
c524201a
PE
10839 [BZ #13673]
10840 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
10841 * stdio-common/bug-vfprintf-nargs.c: Likewise.
10842 * sysdeps/i386/crti.S: Likewise.
10843 * sysdeps/i386/crtn.S: Likewise.
10844 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
10845 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
10846 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
10847 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
10848 * sysdeps/sh/crti.S: Likewise.
10849 * sysdeps/sh/crtn.S: Likewise.
10850 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10851
7b6235f2
PE
10852 [BZ #13673]
10853 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
10854 with URL.
10855 * locale/programs/locfile-kw.gperf: Likewise.
10856 * locale/programs/charmap-kw.h: Regenerated.
10857 * locale/programs/locfile-kw.h: Likewise.
10858
547b5e30
PE
10859 [BZ #13673]
10860 * intl/plural.y: Replace FSF snail mail address with URL.
10861 * intl/plural.c: Regenerated.
10862
5f0a5dae
RH
108632012-03-09 Richard Henderson <rth@twiddle.net>
10864
10865 * include/math_private.h: Remove file.
10866 * math/math_private.h: Move file ...
10867 * sysdeps/generic/math_private.h: ... here.
10868
b8c03620
RH
10869 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
10870 * sysdeps/powerpc/fpu/math_private.h: Likewise.
10871 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10872
4e234f5d 10873 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
10874 and <math_private.h>.
10875 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10876 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10877 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10878 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10879 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10880 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
10881 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10882 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10883 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10884 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10885 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10886 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10887 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10888 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10889 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10890 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10891 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10892 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10893 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10894 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10895 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10896 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10897 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10898 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10899 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10900 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10901 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10902 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10903 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10904 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10905 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10906 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10907 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10908 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10909 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10910 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10911 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10912 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10913 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10914 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10915 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
10916 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10917 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10918 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10919 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10920 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10921 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10922 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10923 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10924 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10925 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10926 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10927 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10928 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10929 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10930 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10931 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10932 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10933 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10934 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
10935 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10936 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10937 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10938 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10939 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10940 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10941 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10942 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10943 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
10944 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
10945 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10946 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10947 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10948 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10949 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
10950 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10951 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
10952 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10953 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
10954 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10955 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10956 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10957 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10958 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10959 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10960 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10961 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
10962 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10963 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10964 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10965 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10966 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10967 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10968 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10969 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10970 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10971 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10972 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10973 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10974 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10975 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10976 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10977 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10978 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10979 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10980 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10981 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10982 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10983 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10984 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10985 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10986 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10987 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10988 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10989 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10990 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10991 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10992 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10993 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10994 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10995 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10996 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10997 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10998 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
10999 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11000 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11001 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11002 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
11003 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11004 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11005 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11006 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11007 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11008 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11009 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11010 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11011 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11012 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11013 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
11014 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11015 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11016 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11017 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11018 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
11019 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
11020 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11021 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11022 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11023 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11024 * sysdeps/ieee754/k_standard.c: Likewise.
11025 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11026 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11027 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11028 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11029 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11030 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11031 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11032 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11033 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11034 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11035 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11036 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11037 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11038 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11039 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11040 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11041 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11042 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11043 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11044 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11045 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11046 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11047 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11048 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11049 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11050 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11051 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11052 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11053 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11054 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11055 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11056 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11057 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11058 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11059 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11060 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11061 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11062 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
11063 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11064 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11065 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11066 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11067 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11068 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11069 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11070 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11071 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11072 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11073 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11074 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11075 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11076 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11077 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11078 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11079 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11080 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11081 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
11082 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11083 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11084 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11085 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11086 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11087 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11088 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11089 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11090 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11091 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11092 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11093 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11094 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11095 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11096 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11097 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11098 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11099 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11100 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11101 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
11102 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11103 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11104 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11105 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11106 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11107 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11108 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11109 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11110 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11111 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11112 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11113 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11114 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11115 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
11116 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11117 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11118 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11119 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11120 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11121 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
11122 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11123 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11124 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
11125 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11126 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11127 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11128 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11129 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
11130 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11131 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11132 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11133 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
11134 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11135 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11136 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11137 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11138 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11139 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11140 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11141 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11142 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11143 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11144 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11145 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11146 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11147 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11148 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11149 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11150 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11151 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11152 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11153 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11154 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11155 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11156 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11157 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11158 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11159 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11160 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11161 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
11162 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11163 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11164 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11165 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11166 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11167 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11168 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11169 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11170 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11171 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11172 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11173 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11174 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
11175 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11176 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11177 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11178 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11179 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
11180 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
11181 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11182 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11183 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11184 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11185 * sysdeps/ieee754/s_lib_version.c: Likewise.
11186 * sysdeps/ieee754/s_matherr.c: Likewise.
11187 * sysdeps/ieee754/s_signgam.c: Likewise.
11188 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11189 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11190 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11191 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11192 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11193 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11194 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
11195 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
11196 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
11197 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11198 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11199 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11200 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11201 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11202 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
11203 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11204 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11205 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11206 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11207 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11208 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 11209
1991fa03
JM
112102012-03-09 Joseph Myers <joseph@codesourcery.com>
11211
11212 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
11213 * sunrpc/rpc_main.c: Likewise.
11214 * sunrpc/rpc_svcout.c: Likewise.
11215
60d6f5a6
DM
112162012-03-09 David S. Miller <davem@davemloft.net>
11217
11218 * include/math_private.h: New file.
11219
4962050e
JM
112202012-03-09 Joseph Myers <joseph@codesourcery.com>
11221
02a6f887
JM
11222 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
11223 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
11224 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
11225 from <bits/socket_type.h>.
11226 (enum __socket_type): Don't define here.
11227 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
11228 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11229 bits/socket_type.h.
11230
c6e013c1
JM
11231 [BZ #13566]
11232 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
11233 checking __USE_GNU.
11234
4962050e
JM
11235 * Makerules ($(inst_includedir)/%.h): New rule.
11236 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
11237 (install-others): Remove variable setting.
11238 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
11239
38842f45
RH
112402012-03-08 Richard Henderson <rth@twiddle.net>
11241
67bb6da6
RH
11242 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
11243 from macro to inline function; merge with the
11244 !__LIBC_INTERNAL_MATH_INLINES version.
11245 (__ieee754_sqrtf): Likewise.
11246
15194b4b
RH
11247 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
11248 to inline function.
11249 (__rintf, __floor, __floorf): Likewise.
11250
64e21ede
RH
11251 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
11252 macro to inline function.
11253 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
11254
38842f45
RH
11255 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
11256 not <math/math_private.h>.
11257
c64bf5fe
DM
112582012-03-08 David S. Miller <davem@davemloft.net>
11259
11260 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
11261 copyright year.
11262 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11263
82d86f28
TS
112642012-03-08 Thomas Schwinge <thomas@codesourcery.com>
11265
11266 * resolv/gai_misc.c (handle_requests): Fix struct timespec
11267 normalization.
11268 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
11269 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11270
aea5d727
UD
112712012-03-08 Ulrich Drepper <drepper@gmail.com>
11272
11273 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
11274 be defined individually, they must be defined as a block. Define
11275 S for printing a string instead of hidint the different by using a
11276 macro for adding the 'l'.
11277 * stdio-common/tst-fphex-wide.c: Adjust.
11278
70bca0a3
MP
112792012-03-07 Marek Polacek <polacek@redhat.com>
11280
11281 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
11282
65b81130
MP
112832012-03-08 Marek Polacek <polacek@redhat.com>
11284
11285 [BZ #13806]
11286 * stdio-common/Makefile (tests): Add tst-fphex-wide.
11287 * stdio-common/tst-fphex.c: Define a few macros to make the
11288 test reusable. Use them.
11289 * stdio-common/tst-fphex-wide.c: New file.
11290
07037eeb
JM
112912012-03-08 Joseph Myers <joseph@codesourcery.com>
11292
a7a93d50
JM
11293 [BZ #6911]
11294 * manual/macros.texi (gnusystems): New macro.
11295 (nongnusystems): Likewise.
11296 (gnulinuxhurdsystems): Likewise.
11297 (gnuhurdsystems): Likewise..
11298 (gnulinuxsystems): Likewise.
11299 * manual/charset.texi: Use new macros or @theglibc{} to refer to
11300 variants of the GNU system, not "GNU system".
11301 * manual/conf.texi: Likewise.
11302 * manual/errno.texi: Likewise. Update example of errno macro
11303 expansion.
11304 * manual/filesys.texi: Likewise.
11305 (getumask): Document as specific to GNU/Hurd.
11306 * manual/install.texi: Likewise. Reword some references to
11307 GNU/Linux.
11308 * manual/intro.texi: Likewise.
11309 * manual/io.texi: Likewise.
11310 (File Name Portability): Detail which constraints are inapplicable
11311 to all GNU systems and which are only inapplicable to GNU/Hurd.
11312 * manual/job.texi: Likewise.
11313 * manual/llio.texi: Likewise.
11314 (O_NOCTTY): Document as present on GNU/Linux.
11315 * manual/maint.texi: Likewise.
11316 * manual/memory.texi: Likewise.
11317 * manual/pattern.texi: Likewise.
11318 * manual/pipe.texi: Likewise.
11319 * manual/process.texi: Likewise.
11320 * manual/resource.texi: Likewise.
11321 (RUSAGE_CHILDREN): Remove statement about specifying a particular
11322 child on GNU/Hurd.
11323 * manual/setjmp.texi: Likewise.
11324 * manual/signal.texi: Likewise.
11325 * manual/startup.texi: Likewise.
11326 * manual/stdio.texi: Likewise.
11327 * manual/terminal.texi: Likewise.
11328 (ONLCR): Document as POSIX.
11329 (OXTABS): Document availability on GNU/Linux as XTABS.
11330 (ONOEOT): Document availability separately from other bits.
11331 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
11332 * manual/time.texi: Likewise.
11333 * manual/users.texi: Likewise.
11334 * INSTALL: Regenerated.
11335 * sysdeps/gnu/errlist.c: Regenerated.
11336
07037eeb
JM
11337 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
11338 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
11339 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
11340 puts.
11341 * configure: Regenerated.
11342
d1d3431a
JM
113432012-03-07 Joseph Myers <joseph@codesourcery.com>
11344
af6a1e37
JM
11345 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
11346 default includes instead of AC_HEADER_CHECK.
11347 * sysdeps/i386/configure: Regenerated.
11348
d1d3431a
JM
11349 [BZ #10716]
11350 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
11351 * math/s_cacoshf.c (__cacoshf): Likewise.
11352 * math/s_cacoshl.c (__cacoshl): Likewise.
11353 * math/s_casinh.c (__casinh): Set signs of result from argument.
11354 * math/s_casinhf.c (__casinhf): Likewise.
11355 * math/s_casinhl.c (__casinhl): Likewise.
11356 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
11357 (casinh_test): Add more tests.
11358 * sysdeps/i386/fpu/libm-test-ulps: Update.
11359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11360
482ff4da
UD
113612012-03-07 Ulrich Drepper <drepper@gmail.com>
11362
872fda05
UD
11363 * po/zh_TW.po: Update from translation team.
11364
a4300c7a
UD
11365 * login/Makefile (distribute): Remove variable.
11366 * catgets/Makefile: Likewise.
11367 * mach/Makefile: Likewise.
11368 * malloc/Makefile: Likewise.
11369 * misc/Makefile: Likewise.
11370 * iconv/Makefile: Likewise.
11371 * nscd/Makefile: Likewise.
11372 * hurd/Makefile: Likewise.
11373 * manual/Makefile: Likewise.
11374 * locale/Makefile: Likewise.
11375 * intl/Makefile: Likewise.
11376 * conform/Makefile: Likewise.
11377 * nss/Makefile: Likewise.
11378 * time/Makefile: Likewise.
11379 * soft-fp/Makefile: Likewise.
11380 * dirent/Makefile: Likewise.
11381 * gmon/Makefile: Likewise.
11382 * po/Makefile: Likewise.
11383 * rt/Makefile: Likewise.
11384 * socket/Makefile: Likewise.
11385 * math/Makefile: Likewise.
11386 * signal/Makefile: Likewise.
11387 * debug/Makefile: Likewise.
11388 * elf/Makefile: Likewise.
11389 * timezone/Makefile: Likewise.
11390 * stdlib/Makefile: Likewise.
11391 * iconvdata/Makefile: Likewise.
11392 * sunrpc/Makefile: Likewise.
11393 * io/Makefile: Likewise.
11394 * argp/Makefile: Likewise.
11395 * inet/Makefile: Likewise.
11396 * hesiod/Makefile: Likewise.
11397 * grp/Makefile: Likewise.
11398 * csu/Makefile: Likewise.
11399 * wctype/Makefile: Likewise.
11400 * crypt/Makefile: Likewise.
11401 * libio/Makefile: Likewise.
11402 * string/Makefile: Likewise.
11403 * nis/Makefile: Likewise.
11404 * resolv/Makefile: Likewise.
11405 * stdio-common/Makefile: Likewise.
11406 * wcsmbs/Makefile: Likewise.
11407 * dlfcn/Makefile: Likewise.
11408 * posix/Makefile: Likewise.
11409
3b7c4e74 11410 [BZ #6959]
482ff4da
UD
11411 * timezone/Makefile: Don't install timezone files, just the programs
11412 and scripts.
11413
f72ed77d
UD
114142012-03-06 Ulrich Drepper <drepper@gmail.com>
11415
a000466f
UD
11416 * nss/databases.def: Add missing gshadow entry.
11417
f72ed77d
UD
11418 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
11419
a53b7a4e
MP
114202012-03-06 Marek Polacek <polacek@redhat.com>
11421
11422 [BZ #13726]
11423 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
11424 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11425 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
11426 * stdio-common/tst-long-dbl-fphex.c: New file.
11427
e9258400
DM
114282012-03-06 David S. Miller <davem@davemloft.net>
11429
11430 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11431 (set_obp_int): New function.
11432 (get_obp_int): New function.
11433 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
11434 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
11435 Avoid unused variable warnings on 'val' and use builtin_expect.
11436 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
11437 __builtin_expect.
e9258400
DM
11438 (INLINE_CLONE_SYSCALL): Likewise.
11439
3bd2c723
DM
114402012-03-05 David S. Miller <davem@davemloft.net>
11441
11442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11443
bbb78d03
AS
114442012-03-05 Andreas Schwab <schwab@linux-m68k.org>
11445
884c5db4
AS
11446 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11447
bbb78d03
AS
11448 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
11449 only for |x| >= 40.
11450 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11451
1c9f702a 114522012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
11453
11454 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
11455 Replace gettimeofday with __vdso_gettimeofday.
11456
7be16f82
RM
11457 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11458 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
11459 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
11460
11461 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
11462 time with __vdso_time.
11463
ed58a00f
JM
114642012-03-05 Joseph Myers <joseph@codesourcery.com>
11465
11466 * manual/lang.texi (size_t): Note types to which size_t may be
11467 equivalent with the GNU C Library, but do not describe when
11468 differences between them are significant.
11469
30ee4ced
AJ
114702012-03-05 Andreas Jaeger <aj@suse.de>
11471
11472 * sysdeps/i386/fpu/libm-test-ulps: Update.
11473
b7cd39e8
JM
114742012-03-05 Joseph Myers <joseph@codesourcery.com>
11475
11476 [BZ #3976]
11477 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
11478 (__ieee754_pow): Save and restore rounding mode and use
11479 round-to-nearest for main computations.
11480 * math/libm-test.inc (pow_test_tonearest): New function.
11481 (pow_test_towardzero): Likewise.
11482 (pow_test_downward): Likewise.
11483 (pow_test_upward): Likewise.
11484 (main): Call the new functions.
11485 * sysdeps/i386/fpu/libm-test-ulps: Update.
11486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
11487
11488 [BZ #3976]
11489 * math/libm-test.inc (cosh_test_tonearest): New function.
11490 (cosh_test_towardzero): Likewise.
11491 (cosh_test_downward): Likewise.
11492 (cosh_test_upward): Likewise.
11493 (sinh_test_tonearest): Likewise.
11494 (sinh_test_towardzero): Likewise.
11495 (sinh_test_downward): Likewise.
11496 (sinh_test_upward): Likewise.
11497 (main): Call the new functions.
11498 * sysdeps/i386/fpu/libm-test-ulps: Update.
11499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11500
6c6a98c9
TV
115012012-03-05 Tom de Vries <tom@codesourcery.com>
11502
11503 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
11504 default stack guard is set in last bytes.
11505 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
11506
21bb2d2e 115072012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 11508
21bb2d2e 11509 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 11510
21bb2d2e
AJ
11511 [BZ #13656]
11512 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
11513 possibly allocate from heap instead of stack.
11514 * stdio-common/bug-vfprintf-nargs.c: New file.
11515 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 11516
c6922934
AS
115172012-03-03 Andreas Schwab <schwab@linux-m68k.org>
11518
11519 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11520
bc957d53
MP
115212012-03-03 Marek Polacek <polacek@redhat.com>
11522
11523 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
11524 * math/math_private.h: Likewise.
11525 * stdlib/tst-strtod.c: Likewise.
11526 * sysdeps/i386/i486/bits/atomic.h: Likewise.
11527 * sysdeps/x86_64/bits/atomic.h: Likewise.
11528
6358490d
DM
115292012-03-02 David S. Miller <davem@davemloft.net>
11530
11531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
11532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
11533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
11534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
11535 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
11536 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
11537 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
11538 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
11539
01ae168d
RM
115402012-03-02 Roland McGrath <roland@hack.frob.com>
11541
d9a17c07
RM
11542 [BZ #13792]
11543 * manual/examples/README: New file, says the example source files
11544 can be used under GPL>=2.
11545 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
11546 line containing just "*/".
11547 * manual/examples/add.c: Add copyright header (GPL>=2).
11548 * manual/examples/argp-ex1.c: Likewise.
11549 * manual/examples/argp-ex2.c: Likewise.
11550 * manual/examples/argp-ex3.c: Likewise.
11551 * manual/examples/argp-ex4.c: Likewise.
11552 * manual/examples/atexit.c: Likewise.
11553 * manual/examples/db.c: Likewise.
11554 * manual/examples/dir.c: Likewise.
11555 * manual/examples/dir2.c: Likewise.
11556 * manual/examples/execinfo.c: Likewise.
11557 * manual/examples/filecli.c: Likewise.
11558 * manual/examples/filesrv.c: Likewise.
11559 * manual/examples/fmtmsgexpl.c: Likewise.
11560 * manual/examples/genpass.c: Likewise.
11561 * manual/examples/inetcli.c: Likewise.
11562 * manual/examples/inetsrv.c: Likewise.
11563 * manual/examples/isockad.c: Likewise.
11564 * manual/examples/longopt.c: Likewise.
11565 * manual/examples/memopen.c: Likewise.
11566 * manual/examples/memstrm.c: Likewise.
11567 * manual/examples/mkfsock.c: Likewise.
11568 * manual/examples/mkisock.c: Likewise.
11569 * manual/examples/mygetpass.c: Likewise.
11570 * manual/examples/pipe.c: Likewise.
11571 * manual/examples/popen.c: Likewise.
11572 * manual/examples/rprintf.c: Likewise.
11573 * manual/examples/search.c: Likewise.
11574 * manual/examples/select.c: Likewise.
11575 * manual/examples/setjmp.c: Likewise.
11576 * manual/examples/sigh1.c: Likewise.
11577 * manual/examples/sigusr.c: Likewise.
11578 * manual/examples/stpcpy.c: Likewise.
11579 * manual/examples/strdupa.c: Likewise.
11580 * manual/examples/strftim.c: Likewise.
11581 * manual/examples/strncat.c: Likewise.
11582 * manual/examples/subopt.c: Likewise.
11583 * manual/examples/swapcontext.c: Likewise.
11584 * manual/examples/termios.c: Likewise.
11585 * manual/examples/testopt.c: Likewise.
11586 * manual/examples/testpass.c: Likewise.
11587 * manual/examples/timeval_subtract.c: Likewise.
11588
01ae168d
RM
11589 [BZ #13792]
11590 * manual/time.texi (Elapsed Time): Move timeval_subtract example
11591 function to ...
11592 * manual/timeval_subtract.c.texi: ... here, new file.
11593
49efa33d
DM
115942012-03-02 David S. Miller <davem@davemloft.net>
11595
11596 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
11597
28afd92d
JM
115982012-03-02 Joseph Myers <joseph@codesourcery.com>
11599
804360ed
JM
11600 [BZ #3976]
11601 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
11602 (__sin): Save and restore rounding mode and use round-to-nearest
11603 for all computations.
11604 (__cos): Save and restore rounding mode and use round-to-nearest
11605 for all computations.
11606 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
11607 <fenv.h>.
11608 (tan): Save and restore rounding mode and use round-to-nearest for
11609 all computations.
11610 * math/libm-test.inc (cos_test_tonearest): New function.
11611 (cos_test_towardzero): Likewise.
11612 (cos_test_downward): Likewise.
11613 (cos_test_upward): Likewise.
11614 (sin_test_tonearest): Likewise.
11615 (sin_test_towardzero): Likewise.
11616 (sin_test_downward): Likewise.
11617 (sin_test_upward): Likewise.
11618 (tan_test_tonearest): Likewise.
11619 (tan_test_towardzero): Likewise.
11620 (tan_test_downward): Likewise.
11621 (tan_test_upward): Likewise.
11622 (main): Call the new functions.
11623 * sysdeps/i386/fpu/libm-test-ulps: Update.
11624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11625
a6d06d7b
JM
11626 [BZ #10135]
11627 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
11628 small n, then large n, before computing and testing k+n.
11629 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11630 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11631 Likewise.
11632 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11633 Likewise.
11634 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
11635 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11636 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11637 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11638 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11639 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11640 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11641 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
11642 * math/libm-test.inc (scalbn_test): Add more tests.
11643 (scalbln_test): Likewise.
11644
07e12bb3
JM
11645 * manual/filesys.texi (mode_t): Describe constraints on size and
11646 signedness, not exact equivalence to a particular type.
11647 (ino_t): Likewise.
11648 (ino64_t): Likewise.
11649 (dev_t): Likewise.
11650 (nlink_t): Likewise.
11651 (blkcnt_t): Likewise.
11652 (blkcnt64_t): Likewise.
11653 * manual/llio.texi (off_t): Likewise.
11654
28afd92d
JM
11655 [BZ #3976]
11656 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
11657 (__ieee754_exp): Save and restore rounding mode and use
11658 round-to-nearest for all computations.
11659 * math/libm-test.inc (exp_test_tonearest): New function.
11660 (exp_test_towardzero): Likewise.
11661 (exp_test_downward): Likewise.
11662 (exp_test_upward): Likewise.
11663 (main): Call the new functions.
11664 * sysdeps/i386/fpu/libm-test-ulps: Update.
11665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11666
b1eeb65d
CD
116672012-03-01 Chris Demetriou <cgd@google.com>
11668
11669 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
11670 have predictable order.
11671
53362a4b
DM
116722012-03-01 David S. Miller <davem@davemloft.net>
11673
3c969083
DM
11674 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
11675
759707de
DM
11676 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
11677 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
11678 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
11679 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
11680
dfdb8ff2
DM
11681 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
11682 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
11683 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
11684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
11685 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
11686 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
11687 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
11688 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
11689 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
11690
ead89f96
DM
11691 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11692
7f66bd07
DM
11693 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
11694 * sysdeps/sparc/fpu/libm-test-ulps: to here.
11695 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
11696
53362a4b
DM
11697 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
11698 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11699 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11700 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11701 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11702 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11703 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11704 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11705 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11706 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11707 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11708 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11709 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11710 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11711 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11712 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11713 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
11714 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
11715 * sysdeps/sparc/elf/configure: Regenerated.
11716
7b1902cb
JM
117172012-03-01 Joseph Myers <joseph@codesourcery.com>
11718
bec039bc
JM
11719 * configure.in (AS, LD): Require binutils 2.20 or later.
11720 * configure: Regenerated.
11721 * manual/install.texi (Tools for Compilation): Give binutils 2.20
11722 as required minimum version.
11723 * INSTALL: Regenerated.
11724
7b1902cb
JM
11725 [BZ #2541]
11726 [BZ #4108]
11727 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
11728 before squaring exponent.
11729 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
11730 bottom long double and 27 bits of top long double before squaring
11731 exponent.
11732 * math/libm-test.inc (erfc_test): Add more tests.
11733 * sysdeps/i386/fpu/libm-test-ulps: Update.
11734 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11736
f775c276
KT
117372012-03-01 Kai Tietz <ktietz@redhat.com>
11738
11739 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
11740 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
11741 containing bit-fields.
11742 * soft-fp/extended.h (_FP_UNION_E): Likewise.
11743 * soft-fp/single.h (_FP_UNION_S): Likewise.
11744 * soft-fp/double.h (_FP_UNION_D): Likewise.
11745
5b8a4d4a
JM
117462012-02-29 Joseph Myers <joseph@codesourcery.com>
11747
0bab47b6
JM
11748 [BZ #13786]
11749 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
11750 not include ../strcmp.S.
11751 [USE_AS_STRNCASECMP_L]: Likewise.
11752 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
11753 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
11754 * sysdeps/i386/i686/multiarch/strncase_l-c.c
11755 (__strncasecmp_l_ia32): Define as alias to
11756 __strncasecmp_l_nonascii.
11757
0fcad3e2
JM
11758 [BZ #5794]
11759 * math/libm-test.inc (expm1_test): Add test for bug 5794.
11760 * sysdeps/i386/fpu/libm-test-ulps: Update.
11761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11762
5b8a4d4a
JM
11763 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
11764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11765
8fdceb2e
JL
117662012-02-29 Jeff Law <law@redhat.com>
11767
11768 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
11769 out of bounds read.
11770
1f393a11
MP
117712012-02-29 Marek Polacek <polacek@redhat.com>
11772
11773 [BZ #13706]
11774 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
11775 * elf/Makefile: Add rules to run tst-unused-dep.out.
11776
8847f037
DM
117772012-02-28 David S. Miller <davem@davemloft.net>
11778
11779 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
11780 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
11781 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
11782 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
11783 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
11784 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
11785
169d7f11
JM
117862012-02-29 Joseph Myers <joseph@codesourcery.com>
11787
11788 * math/libm-test.inc (llround_test): Move one test from
11789 lround_test. Use TEST_f_L in moved test.
11790 (lround_test): Move misplaced test to llround_test. Add testcase
11791 from bug 2561.
11792
39adf059
UD
117932012-02-28 Ulrich Drepper <drepper@gmail.com>
11794
11795 * sysdeps/x86_64/fpu/e_expf.S: New file.
11796 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
11797
71b5d1c5
SB
117982012-02-28 Stanislav Brabec <sbrabec@suse.cz>
11799
11800 [BZ #13637]
11801 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
11802 of remain_len that may cause incomplete multi-byte character and
11803 false match.
11804 * posix/bug-regex33.c: New file.
11805 * posix/Makefile (tests): Add bug-regex33.
11806
1f77f049
JM
118072012-02-28 Joseph Myers <joseph@codesourcery.com>
11808
11809 * manual/macros.texi: New file.
11810 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
11811 * manual/libc.texinfo: Include macros.texi.
11812 * manual/creatute.texi: Likewise.
11813 * manual/install.texi: Likewise.
11814 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
11815 @glibcadj{} in references to the GNU C Library.
11816 * manual/charset.texi: Likewise.
11817 * manual/conf.texi: Likewise.
11818 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
11819 when not using those macros.
11820 * manual/creature.texi: Likewise.
11821 * manual/crypt.texi: Likewise.
11822 * manual/errno.texi: Likewise.
11823 * manual/filesys.texi: Likewise.
11824 * manual/header.texi: Likewise.
11825 * manual/install.texi: Likewise.
11826 * manual/intro.texi: Likewise.
11827 * manual/io.texi: Likewise.
11828 * manual/job.texi: Likewise.
11829 * manual/lang.texi: Likewise.
11830 * manual/libc.texiinfo: Likewise.
11831 * manual/llio.texi: Likewise.
11832 * manual/locale.texi: Likewise.
11833 * manual/maint.texi: Likewise.
11834 * manual/math.texi: Likewise.
11835 * manual/memory.texi: Likewise.
11836 * manual/message.texi: Likewise.
11837 * manual/nss.texi: Likewise.
11838 * manual/pattern.texi: Likewise.
11839 * manual/process.texi: Likewise.
11840 * manual/resource.texi: Likewise.
11841 * manual/search.texi: Likewise.
11842 * manual/setjmp.texi: Likewise.
11843 * manual/signal.texi: Likewise.
11844 * manual/socket.texi: Likewise.
11845 * manual/startup.texi: Likewise.
11846 * manual/stdio.texi: Likewise.
11847 * manual/string.texi: Likewise.
11848 * manual/sysinfo.texi: Likewise.
11849 * manual/syslog.texi: Likewise.
11850 * manual/terminal.texi: Likewise.
11851 * manual/time.texi: Likewise.
11852 * manual/users.texi: Likewise.
11853 * INSTALL: Regenerated.
11854 * NOTES: Regenerated.
d40c5d54 11855 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 11856
450bf206
AS
118572012-02-28 Andreas Schwab <schwab@linux-m68k.org>
11858
11859 * include/dirent.h: Include <dirstream.h> before
11860 <dirent/dirent.h>.
11861
741a235b
DM
118622012-02-28 David S. Miller <davem@davemloft.net>
11863
11864 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
11865 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
11866 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
11867 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
11868
d6b5aa58
DM
118692012-02-27 David S. Miller <davem@davemloft.net>
11870
1aff59a3
DM
11871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
11872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
11873 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
11874 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
11875
d6b5aa58
DM
11876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
11877 frame pointer instead of stack pointer relative arg slot.
11878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11879 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11880 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11881
433f48bf
CD
118822012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
11883
11884 [BZ #3992]
11885 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
11886
d674b76d
DM
118872012-02-27 David S. Miller <davem@davemloft.net>
11888
11889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
11890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
11893 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11894 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11895 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
11896 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
11897
0e7727f7
JM
118982012-02-27 Joseph Myers <joseph@codesourcery.com>
11899
11900 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
11901 later. Allow versions 5-9.
43be4ca2 11902 * configure: Regenerated.
0e7727f7
JM
11903 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
11904 required minimum version and 4.6 as recommended version. Do not
11905 mention bugs in GCC 2.7 and 2.8.
43be4ca2 11906 * INSTALL: Regenerated.
0e7727f7 11907
a78bc654
DM
119082012-02-27 David S. Miller <davem@davemloft.net>
11909
428d5830
DM
11910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
11911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
11912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
11913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
11914 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
11915 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
11916 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
11917 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
11918
a78bc654
DM
11919 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
11920 manipulate bits before adding and subtracting TWO112[sx].
11921 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11922
4579f81c
RM
119232012-02-27 Roland McGrath <roland@hack.frob.com>
11924
36c8acb4
RM
11925 [BZ #13775]
11926 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
11927 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
11928 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
11929 being in POSIX, because they are in 1003.1-2008.
11930
84ad622b
RM
11931 * rt/tst-aio.c: Include <fcntl.h>.
11932 * rt/tst-aio7.c: Likewise.
11933 * rt/tst-aio64.c: Likewise.
11934
4579f81c
RM
11935 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
11936
abd923db
JM
119372012-02-27 Joseph Myers <joseph@codesourcery.com>
11938
11939 * manual/install.texi (--with-headers): Describe headers as
11940 interface headers, not private headers.
11941 (Specific advice for GNU/Linux systems): Describe use of headers
11942 from "make headers_install", not private headers from older
11943 kernels.
43be4ca2 11944 * INSTALL: Regenerated.
abd923db
JM
11945 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
11946 Change to 2.6.19.
11947 * sysdeps/unix/sysv/linux/configure: Regenerated.
11948
6664049b
JM
11949 * manual/llio.texi (fclean): Remove documentation.
11950
bb8b6697
JM
11951 * manual/Makefile (libc-texi-generated): New variable. Include
11952 version.texi.
11953 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
11954 $(libc-texi-generated), not duplicated list of files.
11955 (version.texi, stamp-version): New rules.
11956 (realclean): Remove $(libc-texi-generated), not individual files
11957 from that list. Do not remove dir-add.texinfo.
11958 * manual/libc.texinfo: Comment out uses of edition numbers and
11959 references to printed manual. Remove last-updated dates.
11960 (EDITION): Comment out.
11961 (ISBN): Likewise.
11962 (VERSION, UPDATED): Remove.
11963 (version.texi): Include.
11964
12e5c3b9
AS
119652012-02-27 Andreas Schwab <schwab@linux-m68k.org>
11966
11967 * sysdeps/posix/spawni.c: Include <signal.h>.
11968 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
11969 * sysdeps/pthread/aio_fsync.c: Likewise.
11970
4efeffc1 119712012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 11972
ba63ba08
UD
11973 * conform/Makefile (tests): Run only when not cross-compiling and
11974 when fast-check is not defined.
11975
d94a4670
UD
11976 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
11977 * conform/data/limits.h-data: Fixes for POSIX2008.
11978 * conform/run-conformtest.sh: Run all tests.
11979 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
11980 headers.
11981 * include/bits/dlfcn.h: Likewise.
11982 * include/langinfo.h: Likewise.
11983 * include/monetary.h: Likewise.
11984 * include/sys/poll.h: Likewise.
11985
11986 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
11987 for __USE_GNU.
11988 * posix/spawn.h: Define __need_sigset_t.
11989 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
11990 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
11991 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
11992 to get sigevent_t only.
11993 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
11994 only for __USE_GNU.
11995 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11996 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11997 process_vm_writev only for __USE_GNU.
11998 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
11999
12000 * conform/Makefile: For now ignore errors from run-conformtest.
12001 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
12002 POSIX to avoid namespace pollution. Don't prepend headers.
12003 * conform/data/aio.h-data: Fixes for POSIX testing.
12004 * conform/data/fcntl.h-data: Likewise.
12005 * conform/data/glob.h-data: Likewise.
12006 * conform/data/grp.h-data: Likewise.
12007 * conform/data/pthread.h-data: Likewise.
12008 * conform/data/pwd.h-data: Likewise.
12009 * conform/data/signal.h-data: Likewise.
12010 * conform/data/spawn.h-data: Likewise.
12011 * conform/data/stdio.h-data: Likewise.
12012 * conform/data/stdlib.h-data: Likewise.
12013 * conform/data/stropts.h-data: Likewise.
12014 * conform/data/sys/mman.h-data: Likewise.
12015 * conform/data/sys/stat.h-data: Likewise.
12016 * conform/data/sys/types.h-data: Likewise.
12017 * conform/data/sys/wait.h-data: Likewise.
12018 * conform/data/time.h-data: Likewise.
12019 * conform/data/unistd.h-data: Likewise.
12020 * conform/data/utime.h-data: Likewise.
12021
12022 * io/sys/stat.h: fchmod was always in POSIX.
12023 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
12024 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
12025 * rt/aio.h: Define __need_timespec before including <time.h>.
12026 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
12027 struct. Add forward declaration of pthread_attr_t and use it in
12028 sigevent.
12029 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12030 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12031 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
12032 always remove CLK_TCK definition.
12033
c20105c3
AS
120342012-02-26 Andreas Schwab <schwab@linux-m68k.org>
12035
12036 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
12037
7a270350
UD
120382012-02-25 Ulrich Drepper <drepper@gmail.com>
12039
31341567
UD
12040 * conform/run-conformtest.sh: New file.
12041 * conform/Makefile: Run run-conformtest for tests.
12042 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
12043 support.
12044
12045 * conform/data/uchar.h-data: New file.
12046 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
12047 * conform/data/arpa/inet.h-data: Likewise.
12048 * conform/data/assert.h-data: Likewise.
12049 * conform/data/complex.h-data: Likewise.
12050 * conform/data/cpio.h-data: Likewise.
12051 * conform/data/ctype.h-data: Likewise.
12052 * conform/data/dirent.h-data: Likewise.
12053 * conform/data/dlfcn.h-data: Likewise.
12054 * conform/data/errno.h-data: Likewise.
12055 * conform/data/fcntl.h-data: Likewise.
12056 * conform/data/float.h-data: Likewise.
12057 * conform/data/fmtmsg.h-data: Likewise.
12058 * conform/data/fnmatch.h-data: Likewise.
12059 * conform/data/ftw.h-data: Likewise.
12060 * conform/data/glob.h-data: Likewise.
12061 * conform/data/grp.h-data: Likewise.
12062 * conform/data/iconv.h-data: Likewise.
12063 * conform/data/inttypes.h-data: Likewise.
12064 * conform/data/langinfo.h-data: Likewise.
12065 * conform/data/libgen.h-data: Likewise.
12066 * conform/data/limits.h-data: Likewise.
12067 * conform/data/locale.h-data: Likewise.
12068 * conform/data/math.h-data: Likewise.
12069 * conform/data/monetary.h-data: Likewise.
12070 * conform/data/mqueue.h-data: Likewise.
12071 * conform/data/ndbm.h-data: Likewise.
12072 * conform/data/net/if.h-data: Likewise.
12073 * conform/data/netdb.h-data: Likewise.
12074 * conform/data/netinet/in.h-data: Likewise.
12075 * conform/data/nl_types.h-data: Likewise.
12076 * conform/data/poll.h-data: Likewise.
12077 * conform/data/pthread.h-data: Likewise.
12078 * conform/data/pwd.h-data: Likewise.
12079 * conform/data/regex.h-data: Likewise.
12080 * conform/data/sched.h-data: Likewise.
12081 * conform/data/search.h-data: Likewise.
12082 * conform/data/semaphore.h-data: Likewise.
12083 * conform/data/setjmp.h-data: Likewise.
12084 * conform/data/signal.h-data: Likewise.
12085 * conform/data/spawn.h-data: Likewise.
12086 * conform/data/stdarg.h-data: Likewise.
12087 * conform/data/stdio.h-data: Likewise.
12088 * conform/data/stdlib.h-data: Likewise.
12089 * conform/data/string.h-data: Likewise.
12090 * conform/data/strings.h-data: Likewise.
12091 * conform/data/stropts.h-data: Likewise.
12092 * conform/data/sys/ipc.h-data: Likewise.
12093 * conform/data/sys/mman.h-data: Likewise.
12094 * conform/data/sys/msg.h-data: Likewise.
12095 * conform/data/sys/resource.h-data: Likewise.
12096 * conform/data/sys/select.h-data: Likewise.
12097 * conform/data/sys/sem.h-data: Likewise.
12098 * conform/data/sys/shm.h-data: Likewise.
12099 * conform/data/sys/socket.h-data: Likewise.
12100 * conform/data/sys/stat.h-data: Likewise.
12101 * conform/data/sys/statvfs.h-data: Likewise.
12102 * conform/data/sys/time.h-data: Likewise.
12103 * conform/data/sys/timeb.h-data: Likewise.
12104 * conform/data/sys/times.h-data: Likewise.
12105 * conform/data/sys/types.h-data: Likewise.
12106 * conform/data/sys/uio.h-data: Likewise.
12107 * conform/data/sys/un.h-data: Likewise.
12108 * conform/data/sys/utsname.h-data: Likewise.
12109 * conform/data/sys/wait.h-data: Likewise.
12110 * conform/data/syslog.h-data: Likewise.
12111 * conform/data/tar.h-data: Likewise.
12112 * conform/data/termios.h-data: Likewise.
12113 * conform/data/utime.h-data: Likewise.
12114 * conform/data/utmpx.h-data: Likewise.
12115 * conform/data/varargs.h-data: Likewise.
12116 * conform/data/wchar.h-data: Likewise.
12117 * conform/data/wctype.h-data: Likewise.
12118 * conform/data/wordexp.h-data: Likewise.
12119
12120 * include/stropts.h: New file.
12121 * include/uchar.h: New file.
12122 * include/aio.h: Changes to allow conformtest.pl to use the headers.
12123 * include/assert.h: Likewise.
12124 * include/ctype.h: Likewise.
12125 * include/dirent.h: Likewise.
12126 * include/dlfcn.h: Likewise.
12127 * include/fcntl.h: Likewise.
12128 * include/fnmatch.h: Likewise.
12129 * include/glob.h: Likewise.
12130 * include/grp.h: Likewise.
12131 * include/libio.h: Likewise.
12132 * include/locale.h: Likewise.
12133 * include/math.h: Likewise.
12134 * include/net/if.h: Likewise.
12135 * include/netdb.h: Likewise.
12136 * include/netinet/in.h: Likewise.
12137 * include/pthread.h: Likewise.
12138 * include/pwd.h: Likewise.
12139 * include/regex.h: Likewise.
12140 * include/sched.h: Likewise.
12141 * include/search.h: Likewise.
12142 * include/setjmp.h: Likewise.
12143 * include/signal.h: Likewise.
12144 * include/stdio.h: Likewise.
12145 * include/stdlib.h: Likewise.
12146 * include/string.h: Likewise.
12147 * include/sys/cdefs.h: Likewise.
12148 * include/sys/mman.h: Likewise.
12149 * include/sys/msg.h: Likewise.
12150 * include/sys/resource.h: Likewise.
12151 * include/sys/select.h: Likewise.
12152 * include/sys/socket.h: Likewise.
12153 * include/sys/stat.h: Likewise.
12154 * include/sys/statvfs.h: Likewise.
12155 * include/sys/time.h: Likewise.
12156 * include/sys/times.h: Likewise.
12157 * include/sys/uio.h: Likewise.
12158 * include/sys/utsname.h: Likewise.
12159 * include/sys/wait.h: Likewise.
12160 * include/termios.h: Likewise.
12161 * include/time.h: Likewise.
12162 * include/ulimit.h: Likewise.
12163 * include/unistd.h: Likewise.
12164 * include/utime.h: Likewise.
12165 * include/wchar.h: Likewise.
12166 * include/wctype.h: Likewise.
12167 * include/wordexp.h: Likewise.
12168
12169 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
12170
7a270350
UD
12171 * time/time.h: TIME_UTC must be a macro.
12172 Make timespec_get available for ISO C11 only as well.
12173
7724defc
UD
121742012-02-24 Ulrich Drepper <drepper@gmail.com>
12175
12176 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
12177 Reported by Peng Haitao <penght@cn.fujitsu.com>.
12178
6b1d1d46
JM
121792012-02-24 Joseph Myers <joseph@codesourcery.com>
12180
12181 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 12182
0f8bbd69
JM
121832012-02-24 Joseph Myers <joseph@codesourcery.com>
12184
12185 * manual/texinfo.tex: Update to version 2012-01-19.16.
12186
66ab80bc
JM
121872012-02-24 Joseph Myers <joseph@codesourcery.com>
12188
12189 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
12190
74981cc5
RM
121912012-02-24 Roland McGrath <roland@hack.frob.com>
12192
ee968201
RM
12193 [BZ #13738]
12194 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
12195 * manual/fdl-1.3.texi: New file.
12196 * manual/fdl-1.1.texi: File removed.
12197
74981cc5
RM
12198 [BZ #13738]
12199 * manual/libc.texinfo (FDL_VERSION): New @set.
12200 Use it for mention of FDL in cover text.
12201 (Documentation License): Use it in @include file name.
12202
7bb764bc
JM
122032012-02-22 Joseph Myers <joseph@codesourcery.com>
12204 Roland McGrath <roland@hack.frob.com>
12205
12206 [BZ #5461]
12207 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
12208 not LONG_LONG_MAX and LONG_LONG_MIN.
12209 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
12210 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
12211 name.
12212 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
12213
6cbeae47
JM
122142012-02-22 Joseph Myers <joseph@codesourcery.com>
12215
12216 [BZ #2547]
12217 [BZ #11365]
12218 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
12219 manipulate bits before adding and subtracting TWO23[sx].
12220 * math/libm-test.inc (nearbyint_test): Add more tests.
12221
fe45ce09
JM
122222012-02-22 Joseph Myers <joseph@codesourcery.com>
12223
12224 [BZ #2548]
12225 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
12226 bits before adding and subtracting TWO23[sx].
12227 * math/libm-test.inc (rint_test): Add more tests.
12228 (rint_test_tonearest): Likewise.
12229 (rint_test_towardzero): Likewise.
12230 (rint_test_downward): Likewise.
12231 (rint_test_upward: Likewise.
12232
ff3b3d82
JM
122332012-02-22 Joseph Myers <joseph@codesourcery.com>
12234
12235 [BZ #10110]
12236 * include/stdc-predef.h: New file. Extracted from features.h.
12237 * include/features.h: Include stdc-predef.h.
12238 * Makefile (headers): Add stdc-predef.h.
12239 * CONFORMANCE (Compiler limitations): Update.
12240
ef0aab35
JM
122412012-02-22 Joseph Myers <joseph@codesourcery.com>
12242
12243 * manual/libc.texinfo (VERSION, UPDATED): Revert.
12244
58639409
DM
122452012-02-21 David S. Miller <davem@davemloft.net>
12246
12247 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
12248 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12249
c0e70b25
DM
122502012-02-20 David S. Miller <davem@davemloft.net>
12251
12252 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
12253 using a normal save/restore sequence, rather than allocating a
12254 dummy stack frame just to store a frame pointer and restore.
12255 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12256
fb06851d
JM
122572012-02-21 Joseph Myers <joseph@codesourcery.com>
12258
12259 * manual/install.texi: Fix stray word in line-wrapped comment.
12260
7a8b71c3
DM
122612012-02-20 David S. Miller <davem@davemloft.net>
12262
d510c123
DM
12263 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
12264 both binutils and gcc support GOTDATA.
12265
0722d7c2
DM
12266 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
12267 "rd %pc" in the PIC register setup sequences.
12268
3d2b3019
DM
12269 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
12270 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12271 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12272 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12273 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12274 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12275 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12276 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12277 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
12278 (SYSCALL_ERROR_HANDLER): Likewise.
12279 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12280 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12281 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
12282 (SYSCALL_ERROR_HANDLER): Likewise.
12283
c80098a9
DM
12284 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
12285 (HAVE_GCC_GOTDATA): New.
12286 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
12287 relocation support in both binutils and gcc.
12288 * sysdeps/sparc/elf/configure: Regenerate.
12289
3a2545a0
DM
12290 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
12291 * sysdeps/sparc/sparc32/elf/configure: Delete.
12292 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
12293 * sysdeps/sparc/sparc64/elf/configure: Delete.
12294 * sysdeps/sparc/elf/configure.in: New file.
12295 * sysdeps/sparc/elf/configure: Generate.
12296
7a8b71c3
DM
12297 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
12298 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
12299 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12300 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
12301 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
12302
f1e86fca
JM
123032012-02-21 Joseph Myers <joseph@codesourcery.com>
12304
12305 * manual/install.texi: Do not mention specific glibc version
12306 numbers.
12307 * manual/libc.texinfo (VERSION, UPDATED): Update.
12308 (@copying): Use @copyright{} and range of years.
12309
0e7dfaef
JM
123102012-02-21 Joseph Myers <joseph@codesourcery.com>
12311
12312 [BZ #13695]
12313 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
12314 [crti.S not in sysdirs] (generated): Do not append.
12315 [crti.S not in sysdirs] (omit-deps): Likewise.
12316 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
12317 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
12318 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
12319 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
12320 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
12321 Likewise.
12322 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
12323 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
12324 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
12325 * csu/defs.awk: Remove file.
12326 * sysdeps/generic/initfini.c: Likewise.
12327 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
12328 variable.
12329 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
12330 Likewise.
12331
599af3ca
JM
123322012-02-20 Joseph Myers <joseph@codesourcery.com>
12333
12334 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
12335 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
12336 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
12337 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
12338 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12339 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
12340 <bits/epoll.h>.
12341 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
12342 (__EPOLL_PACKED): Define to empty if not defined by
12343 <bits/epoll.h>.
12344 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
12345 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12346 bits/epoll.h.
12347
0e499750
JM
123482012-02-20 Joseph Myers <joseph@codesourcery.com>
12349
12350 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
12351 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
12352 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
12353 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
12354 <bits/timerfd.h>.
12355 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
12356 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12357 bits/timerfd.h.
12358
5ad91f6e
JM
123592012-02-20 Joseph Myers <joseph@codesourcery.com>
12360
12361 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
12362 in C locale.
12363 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12364 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12365 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
12366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12367
06b99b02
AJ
123682012-02-20 Aurelien Jarno <aurelien@aurel32.net>
12369
12370 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12371 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12372
7638c0fd
AS
123732012-02-19 Andreas Schwab <schwab@linux-m68k.org>
12374
12375 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
12376 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
12377 defined.
12378 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
12379 Likewise.
12380 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
12381 entry for 2.16.
12382
92221550
AJ
123832012-02-19 Aurelien Jarno <aurelien@aurel32.net>
12384
12385 * math/w_acos.c: Use non-signaling floating-point comparisons.
12386 * math/w_acosf.c: Likewise.
12387 * math/w_acosh.c: Likewise.
12388 * math/w_acoshf.c: Likewise.
12389 * math/w_acoshl.c: Likewise.
12390 * math/w_acosl.c: Likewise.
12391 * math/w_asin.c: Likewise.
12392 * math/w_asinf.c: Likewise.
12393 * math/w_asinl.c: Likewise.
12394 * math/w_atanh.c: Likewise.
12395 * math/w_atanhf.c: Likewise.
12396 * math/w_atanhl.c: Likewise.
12397 * math/w_exp2.c: Likewise.
12398 * math/w_exp2f.c: Likewise.
12399 * math/w_exp2l.c: Likewise.
12400 * math/w_j0.c: Likewise.
12401 * math/w_j0f.c: Likewise.
12402 * math/w_j0l.c: Likewise.
12403 * math/w_j1.c: Likewise.
12404 * math/w_j1f.c: Likewise.
12405 * math/w_j1l.c: Likewise.
12406 * math/w_jn.c: Likewise.
12407 * math/w_jnf.c: Likewise.
12408 * math/w_log.c: Likewise.
12409 * math/w_log10.c: Likewise.
12410 * math/w_log10f.c: Likewise.
12411 * math/w_log10l.c: Likewise.
12412 * math/w_log2.c: Likewise.
12413 * math/w_log2f.c: Likewise.
12414 * math/w_log2l.c: Likewise.
12415 * math/w_logf.c: Likewise.
12416 * math/w_logl.c: Likewise.
12417 * math/w_sqrt.c: Likewise.
12418 * math/w_sqrtf.c: Likewise.
12419 * math/w_sqrtl.c: Likewise.
12420 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12421 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12422 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12423 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12424 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12425
ebaf36eb
JM
124262012-02-19 Joseph Myers <joseph@codesourcery.com>
12427
12428 [BZ #9739]
12429 * manual/string.texi (strnlen): Use correct parameter name in
12430 equivalent expression.
12431
71c254a6
JM
124322012-02-19 Joseph Myers <joseph@codesourcery.com>
12433
12434 [BZ #11174]
12435 * manual/users.texi (seteuid): Consistently use neweuid for
12436 argument name.
12437
16d2c631
JM
124382012-02-19 Joseph Myers <joseph@codesourcery.com>
12439
12440 [BZ #13704]
12441 * manual/nss.texi (Services in the NSS configuration): Correct
12442 list of services in example configuration file.
12443
cd837b09
NB
124442012-02-19 Nick Bowler <nbowler@draconx.ca>
12445
12446 [BZ #11322]
12447 * manual/arith.texi: Remove statements about negative zero
12448 behaving identically to zero.
12449
02c4bbad
JM
124502012-02-18 Joseph Myers <joseph@codesourcery.com>
12451
12452 [BZ #5993]
12453 * manual/install.texi: Do not document upgrading from libc5.
12454
366842e7
JM
124552012-02-18 Joseph Myers <joseph@codesourcery.com>
12456
12457 [BZ #4596]
12458 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
12459
dd54084d
DM
124602012-02-18 David S. Miller <davem@davemloft.net>
12461
12462 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
12463 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
12464 %o7 across the call.
12465 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
12466 instead.
12467 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
12468 SETUP_PIC_REG_LEAF.
12469 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12470 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
12471 * sysdeps/sparc/crtn.S: Likewise.
12472
2bcc53a3
UD
124732012-02-17 Ulrich Drepper <drepper@gmail.com>
12474
12475 * aout/Makefile: Remove.
12476
09c093b5
RK
124772012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
12478
12479 [BZ #13058]
12480 * manual/examples/argp-ex1.c (main): Format definition in GNU
12481 style.
12482 * manual/examples/argp-ex2.c (main): Likewise.
12483 * manual/examples/argp-ex3.c (main): Likewise.
12484 * manual/examples/argp-ex4.c (main): Likewise.
12485 * manual/examples/longopt.c (main): Use new-style prototype
12486 definition.
12487 * manual/examples/strncat.c (main): Specify return type and use
12488 (void) for arguments.
12489 * manual/examples/subopt.c (main): Use char **argv argument.
12490
2ee633a2
JM
124912012-02-17 Joseph Myers <joseph@codesourcery.com>
12492
12493 [BZ #5077]
12494 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
12495 rounding modes.
12496
0520adde
FB
124972012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
12498
12499 [BZ #6907]
12500 * manual/string.texi (strchr): Change when strchrnul is
12501 recommended.
12502
3f4081cd
DGM
125032012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
12504
12505 [BZ #174]
12506 * manual/locale.texi (setlocale): Document LOCPATH.
12507
d1b10e78
JM
125082012-02-17 Joseph Myers <joseph@codesourcery.com>
12509
12510 [BZ #10210]
12511 * manual/process.texi (execle): Move @dots{} before last argument.
12512
79c6869c
PB
125132012-02-17 Paul Bolle <pebolle@tiscali.nl>
12514
12515 [BZ #12047]
12516 * manual/charset.texi (Generic Charset Conversion): Fix typo
12517 (LC_TYPE -> LC_CTYPE).
12518
cc6e48bc
NB
125192012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
12520
12521 [BZ #5805]
12522 * manual/arith.texi (scalbn): Use @var{} on parameter names.
12523 (scalbnf): Likewise.
12524 (scalbnl): Likewise.
12525 (scalbln): Likewise.
12526 (scalblnf): Likewise.
12527 (scalblnl): Likewise.
12528 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
12529 (vwarnx): Likewise.
12530 (verr): Likewise.
12531 (verrx): Likewise.
12532 * manual/filesys.texi (telldir): Use braces around return type.
12533 * manual/llio.texi (mmap): Add space after comma.
12534 (mmap64): Likewise.
12535 * manual/math.texi (jn): Use @var{} on parameter names.
12536 (jnf): Likewise.
12537 (jnl): Likewise.
12538 (yn): Likewise.
12539 (ynf): Likewise.
12540 (ynl): Likewise.
12541 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
12542 line.
12543 * manual/resource.texi (ulimit): Use @dots{} instead of literal
12544 "...".
12545 (sched_get_priority_min): Remove semicolon on @deftypefun line.
12546 (sched_get_priority_max): Likewise.
12547 * manual/signal.texi (sigvec): Add space after comma.
12548 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
12549 names.
12550 (if_indextoname): Likewise.
12551 (if_freenameindex): Likewise.
12552 (sendto): Use ',' instead of '.' in prototype.
12553 * manual/startup.texi (syscall): Use @dots{} instead of literal
12554 "...".
12555 * manual/stdio.texi (__fpending): Separate initial words of
12556 paragraph from @deftypefun line.
12557 * manual/syslog.texi (syslog): Use @dots{} instead of literal
12558 "...".
12559 (vsyslog): Use @var{} on parameter names.
12560 * manual/terminal.texi (stty): Use @var{} on parameter names.
12561 * manual/users.texi (getutmp): Use @var{} on parameter names.
12562 (getutmpx): Likewise.
12563
5b23062f
JM
125642012-02-17 Joseph Myers <joseph@codesourcery.com>
12565
12566 [BZ #6884]
12567 * manual/stdio.texi (fopen): Fix typos in description of
12568 ",ccs=STRING".
12569
8dee4833
AJ
125702012-02-17 Aurelien Jarno <aurelien@aurel32.net>
12571
12572 [BZ #4026]
12573 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
12574 get clock_id definition.
12575
9078ce93
TS
125762012-02-17 Thomas Schwinge <thomas@schwinge.name>
12577
12578 [BZ #4822]
12579 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
12580 (madvise): Cast every argument to void on its own.
12581
3835c55f
JM
125822012-02-17 Joseph Myers <joseph@codesourcery.com>
12583
12584 [BZ #9902]
12585 * manual/startup.texi (Exit Status): Fix typo.
12586
35c47e37
JM
125872012-02-17 Joseph Myers <joseph@codesourcery.com>
12588
12589 [BZ #10140]
12590 * manual/examples/argp-ex1.c: Include <stdlib.h>.
12591 * manual/examples/argp-ex2.c: Likewise.
12592 * manual/examples/argp-ex3.c: Likewise.
12593
e3b69ca7
RH
125942012-02-16 Richard Henderson <rth@redhat.com>
12595
12596 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
12597 * sysdeps/s390/s390-32/initfini.c: Remove.
12598 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
12599 * sysdeps/s390/s390-64/initfini.c: Remove.
12600
df83af67
KK
126012012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12602
12603 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
12604 compiler output for sysdeps/generic/initfini.c.
12605 * sysdeps/sh/elf/initfini.c: Remove file.
12606
f63f3380
DM
126072012-02-16 David S. Miller <davem@davemloft.net>
12608
fb59b3a4
DM
12609 [BZ #11494]
12610 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
12611
f63f3380
DM
12612 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
12613 * sysdeps/sparc/crti.S: New file.
12614 * sysdeps/sparc/crtn.S: New file.
12615 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
12616 * sysdeps/sparc/sparc64/Makefile: Likewise.
12617
df6a4a4a
MF
126182012-02-15 Mike Frysinger <vapier@gentoo.org>
12619
6dd8f3dc 12620 [BZ #3335]
df6a4a4a
MF
12621 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
12622
1cac7236
RM
126232012-02-15 Roland McGrath <roland@hack.frob.com>
12624
d2c736f8
RM
12625 [BZ #4822]
12626 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
12627
1cac7236
RM
12628 * mach/devstream.c (cookie_io_functions_t): Macro removed.
12629 (write, read, close): Likewise.
12630 Patch by Aurelien Jarno <aurelien@aurel32.net>.
12631
8e475601
JM
126322012-02-15 Joseph Myers <joseph@codesourcery.com>
12633
12634 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
12635 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
12636 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
12637 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
12638 <bits/signalfd.h>.
12639 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
12640 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12641 bits/signalfd.h.
12642
ed656b40
MP
126432012-02-14 Marek Polacek <polacek@redhat.com>
12644
12645 * sysdeps/x86_64/crti.S: New file.
12646 * sysdeps/x86_64/crtn.S: New file.
12647 * sysdeps/x86_64/elf/initfini.c: Remove file.
12648
2a979d3a
JM
126492012-02-13 Joseph Myers <joseph@codesourcery.com>
12650
12651 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
12652 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
12653 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
12654 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
12655 <bits/inotify.h>.
12656 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
12657 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12658 bits/inotify.h.
12659
2a418ac3
JM
126602012-02-13 Joseph Myers <joseph@codesourcery.com>
12661
12662 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
12663 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
12664 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
12665 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
12666 <bits/eventfd.h>.
12667 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
12668 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12669 bits/eventfd.h.
12670
fb779be7
TS
126712012-02-10 Thomas Schwinge <thomas@codesourcery.com>
12672
e19e83c5
RM
12673 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
12674 __feraiseexcept instead of feraiseexcept.
7c35ffed 12675
fb779be7
TS
12676 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
12677 nanosleep invocations.
12678 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
12679 strings, and add error checking for a nanosleep invocations.
12680
59ba27a6
PE
126812012-02-09 Paul Eggert <eggert@cs.ucla.edu>
12682
12683 Replace FSF snail mail address with URLs, as per GNU coding standards.
12684 Most of the snail mail addresses were wrong anyway, and omitting
12685 them makes the source code easier to maintain. Almost all of the
12686 changes are to license notices and to locale LC_IDENTIFICATION
12687 addresses, except for this one:
12688 * manual/libc.texinfo: In "Published by", give the FSF's URL,
12689 not its snail mail address.
12690
57b957eb
RH
126912012-02-09 Richard Henderson <rth@twiddle.net>
12692
af850b1c
RH
12693 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
12694 of kernel-features.h.
12695
57b957eb
RH
12696 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
12697
6b73181a
MP
126982012-02-08 Marek Polacek <polacek@redhat.com>
12699
12700 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
12701 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
12702 * sysdeps/gnu/_G_config.h: Likewise.
12703 * sysdeps/generic/_G_config.h: Likewise.
12704
26ecc33a
AS
127052012-02-08 Andreas Schwab <schwab@linux-m68k.org>
12706
6c6dbc63
AS
12707 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
12708 tests.
12709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12710
e216c012
AS
12711 * sysdeps/powerpc/powerpc32/crti.S: New file.
12712 * sysdeps/powerpc/powerpc32/crtn.S: New file.
12713 * sysdeps/powerpc/powerpc64/crti.S: New file.
12714 * sysdeps/powerpc/powerpc64/crtn.S: New file.
12715
26ecc33a
AS
12716 * Makeconfig (have-initfini): Don't set.
12717 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
12718 * configure.in (nopic_initfini): Don't substitute.
12719 * config.h.in (HAVE_INITFINI): Don't #undef.
12720 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
12721 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
12722
3add8e13
JM
127232012-02-08 Joseph Myers <joseph@codesourcery.com>
12724
12725 Support crti.S and crtn.S provided directly by architectures.
12726 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
12727 [crti.S in sysdirs] (omit-deps): Likewise.
12728 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
12729 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
12730 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
12731 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
12732 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
12733 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
12734 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
12735 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
12736 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
12737 compiler output for sysdeps/generic/initfini.c.
12738 * sysdeps/i386/elf/Makefile: Remove file.
12739 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
12740
a22f12b4
MP
127412012-02-07 Marek Polacek <polacek@redhat.com>
12742
12743 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
12744 * sysdeps/gnu/_G_config.h: Likewise.
12745 * sysdeps/mach/hurd/_G_config.h: Likewise.
12746
148cf100
MP
127472012-02-07 Marek Polacek <polacek@redhat.com>
12748
12749 * math/Makefile (tests): Add tst-CMPLX2.
12750 * math/tst-CMPLX2.c: New file.
12751
cfdc0dd7
AS
127522012-02-07 Andreas Schwab <schwab@linux-m68k.org>
12753
84ba42c4
AS
12754 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12755
cfdc0dd7
AS
12756 * math/libm-test.inc (jn_test): Add missing L suffix.
12757
622c86f4
MP
127582012-02-06 Marek Polacek <polacek@redhat.com>
12759
12760 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
12761 * sysdeps/i386/fpu/e_powf.S: Likewise.
12762 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12763 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12764 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12765 * sysdeps/i386/fpu/e_pow.S: Likewise.
12766 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12767 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12768 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12769 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12770 * sysdeps/i386/fpu/e_log2.S: Likewise.
12771 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12772 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12773 * sysdeps/i386/fpu/e_powl.S: Likewise.
12774 * sysdeps/i386/fpu/s_log1p.S: Likewise.
12775 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12776 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12777 * sysdeps/i386/fpu/e_logl.S: Likewise.
12778 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12779 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
12780 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12781 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12782 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12783 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12784 * sysdeps/i386/fpu/e_log.S: Likewise.
12785 * sysdeps/i386/fpu/s_cexp.S: Likewise.
12786 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12787 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
12788 * sysdeps/i386/fpu/e_logf.S: Likewise.
12789 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12790 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12791 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
12792 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12793 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12794 * sysdeps/i386/fpu/e_log10.S: Likewise.
12795 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12796 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12797 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12798 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12799 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12800 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12801 * sysdeps/i386/asm-syntax.h: Likewise.
12802 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12803 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12804 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12805 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
12806 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
12807 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12808 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12809 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12810 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12811 * sysdeps/powerpc/sysdep.h: Likewise.
12812 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
12813 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12814
d4a54ac6
JM
128152012-02-06 Joseph Myers <joseph@codesourcery.com>
12816
12817 [BZ #411]
12818 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
12819
314054ea
JM
128202012-02-06 Joseph Myers <joseph@codesourcery.com>
12821
12822 * sysdeps/i386/sysdep.h: Include <features.h>.
12823 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
12824 version.
12825
d8e0ca50
JM
128262012-02-05 Joseph Myers <joseph@codesourcery.com>
12827
12828 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
12829 Define.
12830 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
12831 LOAD_PIC_REG_STR.
12832
b1da7dd9
JM
128332012-02-03 Joseph Myers <joseph@codesourcery.com>
12834
12835 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
12836 (SETUP_PIC_REG): Use GET_PC_THUNK.
12837 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
12838 macro.
12839
9a1d9254
JM
128402012-02-03 Joseph Myers <joseph@codesourcery.com>
12841
12842 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
12843 for non-PIC compilation.
12844 (SETUP_PIC_REG): Add .p2align directive.
12845 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
12846 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12847 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12848 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12849 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12850 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12851 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12852 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12853 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12854 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12855 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12856 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12857 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12858 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12859 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12860 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12861 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12862 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12863 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12864 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12865 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12866 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12867 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12868 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12869 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12870 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12871 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12872 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12873 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12874 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12875 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12876 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12877 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12878 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12879 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12880 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12881 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12882 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12883 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12884 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12885 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12886
65dc3b75
JM
128872012-02-03 Joseph Myers <joseph@codesourcery.com>
12888
12889 * math/tst-CMPLX.c: Include <stdio.h>.
12890
d55bf177
JM
128912012-01-31 Joseph Myers <joseph@codesourcery.com>
12892
12893 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
12894 float.
12895 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12896 * sysdeps/sparc/bits/mathdef.h: Likewise.
12897
69db4f8f
MP
128982012-01-31 Marek Polacek <polacek@redhat.com>
12899
12900 * libio/libio.h: Don't define _PARAMS.
12901 * locale/programs/config.h: Don't define PARAMS.
12902 * stdlib/strtol_l.c: Likewise.
12903 (__strtol_l): Remove PARAMS from the prototype.
12904
41b81892
UD
129052012-01-31 Ulrich Drepper <drepper@gmail.com>
12906
3b49edc0
UD
12907 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
12908 names. Just use the correct names. Remove unnecessary wrapper
12909 functions.
12910 * malloc/arena.c: Likewise.
12911 * malloc/hooks.c: Likewise.
12912
41b81892
UD
12913 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
12914 ARENA_TEST says not to. Simplify test for creation of a new arena.
12915 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
12916
27a25b6e
UD
129172012-01-30 Ulrich Drepper <drepper@gmail.com>
12918
12919 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
12920 into tail calls.
12921 (update_get_addr): New function.
12922 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
12923 GET_ADDR_MODULE parameter.
12924
c8a89e7d
JM
129252012-01-30 Joseph Myers <joseph@codesourcery.com>
12926
12927 * crypt/cert.c: Remove __STDC__ conditionals.
12928 * crypt/crypt-entry.c: Likewise.
12929 * crypt/crypt_util.c: Likewise.
12930 * libio/filedoalloc.c: Likewise.
12931 * libio/fileops.c: Likewise.
12932 * libio/genops.c: Likewise.
12933 * libio/iofclose.c: Likewise.
12934 * libio/iofdopen.c: Likewise.
12935 * libio/iofopen.c: Likewise.
12936 * libio/iofopen64.c: Likewise.
12937 * libio/iogetdelim.c: Likewise.
12938 * libio/iopopen.c: Likewise.
12939 * libio/obprintf.c: Likewise.
12940 * libio/oldfileops.c: Likewise.
12941 * libio/oldiofclose.c: Likewise.
12942 * libio/oldiofdopen.c: Likewise.
12943 * libio/oldiofopen.c: Likewise.
12944 * libio/oldiopopen.c: Likewise.
12945 * libio/wfiledoalloc.c: Likewise.
12946 * libio/wgenops.c: Likewise.
12947 * locale/programs/xmalloc.c: Likewise.
12948 * misc/syslog.c: Likewise.
12949 * stdio-common/xbug.c: Likewise.
12950 * string/memchr.c: Likewise.
12951 * string/memcmp.c: Likewise.
12952 * string/memrchr.c: Likewise.
12953 * string/rawmemchr.c: Likewise.
12954 * sysdeps/posix/getcwd.c: Likewise.
12955 * time/strftime_l.c: Likewise.
12956
3b100462
JM
129572012-01-30 Joseph Myers <joseph@codesourcery.com>
12958
12959 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
12960 * config.make.in (config-cflags-sse2avx): Define.
12961 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
12962 Fix typo.
12963
607998af
CM
129642012-01-29 Chris Metcalf <cmetcalf@tilera.com>
12965
12966 * scripts/config.guess: Update from upstream config git repository.
12967 * scripts/config.sub: Likewise.
12968
3601428f
CM
129692012-01-28 Chris Metcalf <cmetcalf@tilera.com>
12970
3ac8b282
CM
12971 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
12972 (EM_NUM): Update.
12973 (R_TILEPRO_*, R_TILEGX_*): New macros.
12974
e034841e
CM
12975 * scripts/firstversions.awk: Fix bug in version range handling.
12976
540d7568
CM
12977 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
12978
3601428f
CM
12979 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
12980
463de862
CM
12981 * include/sys/epoll.h: New file.
12982 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
12983 libc_hidden_def.
12984
73139a76
UD
129852012-01-28 Ulrich Drepper <drepper@gmail.com>
12986
96bc5b45
UD
12987 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
12988 Avoid unnecessary __WORDSIZE == 64 test.
12989 (fmaxf): Use VEX format if possible.
12990 (fmax): Likewise.
12991 (fminf): Likewise.
12992 (fmin): Likewise.
12993
56f6f6a2
UD
12994 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
12995 * math/math_private.h: Remove libc_fegetround* and
12996 libc_fesetround*.
12997 * sysdeps/i386/configure.in: Check for -msse2avx.
12998 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
12999 also if SSE2AVX is defined.
13000 Remove libc_fegetround* and libc_fesetround*.
13001 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
13002 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
13003 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
13004 of HAS_YMM_USABLE.
13005 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13006 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13007 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13008 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13009 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13010
73139a76
UD
13011 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
13012
d73f93a4
AZ
130132012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13014
13015 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
13016 size is not set.
13017 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13018
6ee65ed6
UD
130192012-01-27 Ulrich Drepper <drepper@gmail.com>
13020
13021 [BZ #13618]
13022 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
13023 relocation.
13024 * Makeconfig (libm): Define.
13025 * elf/Makefile: Add rules to build and run tst-relsort1.
13026 * elf/tst-relsort1.c: New file.
13027 * elf/tst-relsort1mod1.c: New file.
13028 * elf/tst-relsort1mod2.c: New file.
13029
8db21882
JM
130302012-01-27 Joseph Myers <joseph@codesourcery.com>
13031
13032 * math/s_ldexp.c: Remove __STDC__ conditionals.
13033 * math/s_ldexpf.c: Likewise.
13034 * math/s_ldexpl.c: Likewise.
13035 * math/s_nextafter.c: Likewise.
13036 * math/s_nexttowardf.c: Likewise.
13037 * math/s_significand.c: Likewise.
13038 * math/s_significandf.c: Likewise.
13039 * math/s_significandl.c: Likewise.
13040 * math/w_jnl.c: Likewise.
13041 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13042 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13043 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13044 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13045 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13046 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13047 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
13048 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13049 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13050 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13051 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13052 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13053 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13054 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13055 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13056 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13057 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13058 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13059 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13060 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13061 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13062 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13063 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13064 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13065 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13066 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13067 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13068 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13069 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13070 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13071 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13072 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13073 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13074 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13075 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13076 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13077 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13078 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13079 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13080 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13081 * sysdeps/ieee754/k_standard.c: Likewise.
13082 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13083 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13084 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13085 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13086 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13087 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13088 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13089 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13090 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13091 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13092 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13093 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13094 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13095 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13096 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13097 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13098 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13099 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13100 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13101 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13102 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13103 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13104 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13105 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13106 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13107 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13108 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13109 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13110 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13111 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13112 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13113 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
13114 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13115 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13116 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13117 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13118 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
13119 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13120 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13121 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13122 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13123 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13124 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13125 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13126 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13127 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13128 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13129 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13130 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13131 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13132 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
13133 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13134 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13135 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13136 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13137 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13138 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
13139 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13140 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13141 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13142 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13143 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13144 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13145 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13146 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13147 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13148 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13149 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13150 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13151 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13152 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13153 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13154 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13155 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13156 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13157 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13158 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13159 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13160 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13161 * sysdeps/ieee754/s_matherr.c: Likewise.
13162 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13163 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13164 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13165 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13166
965a54a4
JM
131672012-01-26 Joseph Myers <joseph@codesourcery.com>
13168
13169 * crypt/md5.h: Remove __STDC__ conditionals.
13170 * libio/libioP.h: Likewise.
13171 * locale/programs/config.h: Likewise.
13172 * sysdeps/generic/sysdep.h: Likewise.
13173 * sysdeps/i386/asm-syntax.h: Likewise.
13174 * sysdeps/s390/asm-syntax.h: Likewise.
13175 * sysdeps/unix/sysdep.h: Likewise.
13176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13178
7071ad79
JM
131792012-01-26 Joseph Myers <joseph@codesourcery.com>
13180
13181 * libio/libio.h: Remove __STDC__ conditionals.
13182 * malloc/obstack.h: Likewise.
13183 * math/complex.h: Likewise.
13184 * math/math.h: Likewise.
13185 * sysdeps/generic/_G_config.h: Likewise.
13186 * sysdeps/gnu/_G_config.h: Likewise.
13187 * sysdeps/mach/hurd/_G_config.h: Likewise.
13188 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13189 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13190 * sysdeps/sparc/bits/mathdef.h: Likewise.
13191
afc5ed09
UD
131922012-01-26 Ulrich Drepper <drepper@gmail.com>
13193
13194 [BZ #13583]
13195 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 13196 Clean up HAS_* macros.
afc5ed09 13197 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
13198 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
13199 possible.
13200 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
13201 HAS_AVX.
13202 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13203 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13204 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13205 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13206 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 13207
bdb6de1d
JM
132082012-01-25 Joseph Myers <joseph@codesourcery.com>
13209
13210 * elf/tst-unique3.cc (gets): Remove declaration.
13211 * elf/tst-unique3lib.cc (gets): Likewise.
13212 * elf/tst-unique3lib2.cc (gets): Likewise.
13213 * elf/tst-unique4.cc (gets): Likewise.
13214
b15549e6
UD
132152012-01-24 Ulrich Drepper <drepper@gmail.com>
13216
13217 * include/stdio.h: Add C++ protection. Add gets declarations and
13218 definitions.
13219 * debug/tst-chk1.c: Don't declare gets here.
13220 * stdio-common/tst-gets.c: Likewise.
13221
a037381f
JM
132222012-01-24 Joseph Myers <joseph@codesourcery.com>
13223
13224 * posix/glob: Remove directory.
13225
f1d4aa75
JM
132262012-01-24 Joseph Myers <joseph@codesourcery.com>
13227
13228 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
13229
81c0c964
PT
132302012-01-22 Pino Toscano <toscano.pino@tiscali.it>
13231
13232 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
13233 of the non-standard EPFNOSUPPORT.
13234
0ea698ae
ST
132352011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
13236
13237 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
13238 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
13239 ANYWHERE set to 1 only on KERN_NO_SPACE error.
13240
d220b117
UD
132412012-01-21 Ulrich Drepper <drepper@gmail.com>
13242
13243 * wcsmbs/uchar.h: Test __STDC_VERSION__.
13244
3e1aa84e
UD
132452012-01-20 Ulrich Drepper <drepper@gmail.com>
13246
13247 * nscd/aicache.c (addhstaiX): Do not cache negative results of
13248 transient errors.
13249 * nscd/grpcache.c (cache_addgr): Likewise.
13250 * nscd/hstcache.c (cache_addhst): Likewise.
13251 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13252 * nscd/pwdcache.c (cache_addpw): Likewise.
13253 * nscd/servicescache.c (cache_addserv): Likewise.
13254
400aa020
UD
132552012-01-16 Ulrich Drepper <drepper@gmail.com>
13256
d77e7869
UD
13257 * malloc/malloc.c: Various cleanups.
13258 * malloc/hooks.c: Likewise.
13259
400aa020
UD
13260 * stdlib/Makefile (tests): Add bug-fmtmsg1.
13261 * stdlib/bug-fmtmsg1.c: New file.
13262
13263 * stdlib/fmtmsg.c (init): Add missing unlock.
13264 Patch by Peng Haitao <penght@cn.fujitsu.com>.
13265
e0a309cf
MP
132662012-01-12 Marek Polacek <polacek@redhat.com>
13267
13268 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
13269 and _GNU_SOURCE.
13270
929d11c7
WS
132712012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13272
13273 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
13274 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
13275 macro to ensure uniqueness of label name.
13276 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13277 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13278
41d0e869
UD
132792012-01-11 Ulrich Drepper <drepper@gmail.com>
13280
0cc5ed3b
UD
13281 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
13282
41d0e869
UD
13283 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
13284 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13285 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13286 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
13287
a47a831a
UD
132882012-01-10 Ulrich Drepper <drepper@gmail.com>
13289
daa891c0
UD
13290 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
13291
13292 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
13293 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13294 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13295
e58ef0f2
UD
13296 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
13297
a47a831a 13298 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
13299 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13300 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 13301 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
13302
13303 * math/bits/math-finite.h: Add ldexp support.
13304
a0bfc9c7
MP
133052012-01-10 Marek Polacek <polacek@redhat.com>
13306
13307 * locale/programs/localedef.h (show_archive_content): Add noreturn
13308 attribute.
13309
d6e97a1d
UD
133102012-01-09 Ulrich Drepper <drepper@gmail.com>
13311
13312 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
13313
d5835c26
UD
133142012-01-08 Ulrich Drepper <drepper@gmail.com>
13315
e5f484c6
UD
13316 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
13317
d5835c26
UD
13318 * io/Makefile (headers): Add bits/poll2.h.
13319
d1f741e9
WS
133202011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
13321
13322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
13323 typo #include statement.
13324
ec09c1c4
UD
133252012-01-08 Ulrich Drepper <drepper@gmail.com>
13326
13327 * include/sys/cdefs.h: Define __attribute_alloc_size.
13328 * catgets/gencat.c: Add alloc_size attribute and apply consistently
13329 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
13330 * elf/pldd.c: Likewise.
13331 * iconv/iconv_charmap.c: Likewise.
13332 * iconv/iconvconfig.c: Likewise.
13333 * iconv/strtab.c: Likewise.
13334 * locale/programs/locale.c: Likewise.
13335 * locale/programs/localedef.h: Likewise.
13336 * locale/programs/simple-hash.c: Likewise.
13337 * nscd/nscd.h: Likewise.
13338 * nss/makedb.c: Likewise.
13339 * sysdeps/generic/ldconfig.h: Likewise.
13340 * locale/programs/localedef.c: Remove xmalloc prototype.
13341 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
13342
20b38e03
PP
133432012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13344
13345 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
13346 appropriate.
13347
a0da5fe1
UD
133482012-01-08 Ulrich Drepper <drepper@gmail.com>
13349
1d5a644a 13350 * math/Makefile (tests): Add tst-CMPLX.
669704fd 13351 * math/tst-CMPLX.c: New file.
1d5a644a 13352
8784a6db
UD
13353 * math/complex.h (CMPLXL): Fix typo.
13354
d9a216c0
UD
13355 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
13356 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
13357 GLIBC_2.16.
13358 * debug/tst-chk1.c: Add poll and ppoll tests.
13359 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
13360 * include/sys/poll.h: Add hidden proto for ppoll.
13361 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
13362 * sysdeps/mach/hurd/ppoll.c: Likewise.
13363 * io/ppoll.c: Likewise.
13364 * debug/poll_chk.c: New file.
13365 * debug/ppoll_chk.c: New file.
13366 * include/bits/poll2.h: New file.
13367 * io/bits/poll2.h: New file.
13368
ac097f5c
UD
13369 [BZ #1350]
13370 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
13371
2119dcfa
UD
13372 * configure.in: static is always set to yes. Remove.
13373 * config.make.in: Don't set build-static.
13374 * Makeconfig: Remove use of build-static.
13375 * dlfcn/Makefile: Likewise.
13376 * elf/Makefile: Likewise.
13377 * math/Makefile: Likewise.
13378 * misc/Makefile: Likewise.
13379 * nptl/Makefile: Likewise.
13380 * sysdeps/mach/hurd/Makefile: Likewise.
13381
121766a9
UD
13382 * configure.in: PWD_P is not used anymore.
13383 * config.make.in: Remove PWD_P entry.
13384
51a1d39c 13385 * configure.in: Remove last remnants of RANLIB.
8720d066 13386 No need to check for signed size_t anymore.
215f4bdc
UD
13387 Don't set libc_commonpagesize and libc_relro_required here for Alpha
13388 and IA-64.
3857022a 13389 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
13390 * aclocal.m4: Likewise.
13391
d3ed7225
UD
13392 * wcsmbs/mbrtoc16.c: Implement using towc function.
13393 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
13394 * wcsmbs/wcsmbsload.c: Likewise.
13395 * iconv/gconv_simple.c: Likewise.
13396 * iconv/gconv_int.h: Likewise.
13397 * iconv/gconv_builtin.h: Likewise.
13398 * iconv/iconv_prog.c: Remove CHAR16 handling.
13399
13400 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
13401
13402 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
13403
a0da5fe1
UD
13404 * configure.in: Remove --with-elf and --enable-bounded options.
13405 Dont set base_machine for ia64. More non-ELF conditions removed.
13406 Remove testing and setting of leading underscore information.
13407 * config.make.in (build-bounded): Set to no.
13408 * config.h.in: Remove NO_UNDERSCORES entry.
13409 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
13410 them.
13411 * csu/start.c: Remove !NO_UNDERSCORE code.
13412 * locale/localeinfo.h: Likewise.
13413 * sysdeps/generic/machine-gmon.h: Likewise.
13414 * sysdeps/generic/sysdep.h: Likewise.
13415 * sysdeps/i386/sysdep.h: Likewise.
13416 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13417 * sysdeps/mach/sysdep.h: Likewise.
13418 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13419 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13420 * sysdeps/sh/sysdep.h: Likewise.
13421 * sysdeps/sparc/sparc32/alloca.S: Likewise.
13422 * sysdeps/unix/i386/sysdep.S: Likewise.
13423 * sysdeps/unix/sparc/start.c: Likewise.
13424 * sysdeps/unix/sparc/sysdep.S: Likewise.
13425 * sysdeps/unix/sparc/sysdep.h: Likewise.
13426 * sysdeps/unix/start.c: Likewise.
13427 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13428 * sysdeps/x86_64/sysdep.h: Likewise.
13429
df78418a
UD
134302012-01-07 Ulrich Drepper <drepper@gmail.com>
13431
a784e502
UD
13432 [BZ #13553]
13433 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
13434 for non-gcc.
13435 * argp/argp-fmtstream.h: Use const instead __const.
13436 * argp/argp.h: Likewise.
13437 * assert/assert.h: Likewise.
13438 * bits/fenv.h: Likewise.
13439 * bits/sched.h: Likewise.
13440 * bits/sigset.h: Likewise.
13441 * bits/sigthread.h: Likewise.
13442 * catgets/nl_types.h: Likewise.
13443 * conform/data/pthread.h-data: Likewise.
13444 * crypt/crypt-private.h: Likewise.
13445 * crypt/crypt.h: Likewise.
13446 * crypt/crypt_util.c: Likewise.
13447 * ctype/ctype.h: Likewise.
13448 * debug/execinfo.h: Likewise.
13449 * debug/mbsnrtowcs_chk.c: Likewise.
13450 * debug/mbsrtowcs_chk.c: Likewise.
13451 * debug/wcsnrtombs_chk.c: Likewise.
13452 * debug/wcsrtombs_chk.c: Likewise.
13453 * debug/wcstombs_chk.c: Likewise.
13454 * dirent/dirent.h: Likewise.
13455 * dlfcn/dlfcn.h: Likewise.
13456 * elf/neededtest4.c: Likewise.
13457 * grp/grp.h: Likewise.
13458 * gshadow/gshadow.h: Likewise.
13459 * iconv/gconv.h: Likewise.
13460 * iconv/gconv_int.h: Likewise.
13461 * iconv/gconv_simple.c: Likewise.
13462 * iconv/iconv.h: Likewise.
13463 * iconv/loop.c: Likewise.
13464 * iconv/skeleton.c: Likewise.
13465 * include/aio.h: Likewise.
13466 * include/aliases.h: Likewise.
13467 * include/argz.h: Likewise.
13468 * include/arpa/inet.h: Likewise.
13469 * include/assert.h: Likewise.
13470 * include/dirent.h: Likewise.
13471 * include/dlfcn.h: Likewise.
13472 * include/execinfo.h: Likewise.
13473 * include/fcntl.h: Likewise.
13474 * include/fenv.h: Likewise.
13475 * include/glob.h: Likewise.
13476 * include/grp.h: Likewise.
13477 * include/libintl.h: Likewise.
13478 * include/mntent.h: Likewise.
13479 * include/netdb.h: Likewise.
13480 * include/pwd.h: Likewise.
13481 * include/rpc/netdb.h: Likewise.
13482 * include/sched.h: Likewise.
13483 * include/search.h: Likewise.
13484 * include/shadow.h: Likewise.
13485 * include/signal.h: Likewise.
13486 * include/stdio.h: Likewise.
13487 * include/stdlib.h: Likewise.
13488 * include/string.h: Likewise.
13489 * include/sys/socket.h: Likewise.
13490 * include/sys/stat.h: Likewise.
13491 * include/sys/statfs.h: Likewise.
13492 * include/sys/statvfs.h: Likewise.
13493 * include/sys/syslog.h: Likewise.
13494 * include/sys/time.h: Likewise.
13495 * include/sys/uio.h: Likewise.
13496 * include/time.h: Likewise.
13497 * include/unistd.h: Likewise.
13498 * include/utmp.h: Likewise.
13499 * include/wchar.h: Likewise.
13500 * include/wctype.h: Likewise.
13501 * inet/aliases.h: Likewise.
13502 * inet/arpa/inet.h: Likewise.
13503 * inet/netinet/ether.h: Likewise.
13504 * inet/netinet/in.h: Likewise.
13505 * intl/libintl.h: Likewise.
13506 * io/bits/fcntl2.h: Likewise.
13507 * io/fcntl.h: Likewise.
13508 * io/ftw.h: Likewise.
13509 * io/sys/poll.h: Likewise.
13510 * io/sys/stat.h: Likewise.
13511 * io/sys/statfs.h: Likewise.
13512 * io/sys/statvfs.h: Likewise.
13513 * io/utime.h: Likewise.
13514 * libio/bits/stdio.h: Likewise.
13515 * libio/bits/stdio2.h: Likewise.
13516 * libio/libio.h: Likewise.
13517 * libio/libioP.h: Likewise.
13518 * libio/stdio.h: Likewise.
13519 * locale/lc-ctype.c: Likewise.
13520 * locale/locale.h: Likewise.
13521 * login/utmp.h: Likewise.
13522 * malloc/arena.c: Likewise.
13523 * malloc/malloc.c: Likewise.
13524 * malloc/malloc.h: Likewise.
13525 * malloc/mcheck.c: Likewise.
13526 * malloc/mtrace.c: Likewise.
13527 * math/bits/mathcalls.h: Likewise.
13528 * math/fenv.h: Likewise.
13529 * math/math_private.h: Likewise.
13530 * misc/bits/error.h: Likewise.
13531 * misc/bits/syslog.h: Likewise.
13532 * misc/err.h: Likewise.
13533 * misc/error.h: Likewise.
13534 * misc/fstab.h: Likewise.
13535 * misc/mntent.h: Likewise.
13536 * misc/regexp.h: Likewise.
13537 * misc/search.h: Likewise.
13538 * misc/sgtty.h: Likewise.
13539 * misc/sys/mman.h: Likewise.
13540 * misc/sys/syslog.h: Likewise.
13541 * misc/sys/uio.h: Likewise.
13542 * misc/sys/xattr.h: Likewise.
13543 * misc/ttyent.h: Likewise.
13544 * nis/rpcsvc/ypclnt.h: Likewise.
13545 * nss/nss.h: Likewise.
13546 * posix/bits/unistd.h: Likewise.
13547 * posix/fnmatch.h: Likewise.
13548 * posix/glob.h: Likewise.
13549 * posix/sched.h: Likewise.
13550 * posix/spawn.h: Likewise.
13551 * posix/sys/wait.h: Likewise.
13552 * posix/unistd.h: Likewise.
13553 * posix/wordexp.h: Likewise.
13554 * pwd/pwd.h: Likewise.
13555 * resolv/netdb.h: Likewise.
13556 * resource/sys/resource.h: Likewise.
13557 * rt/aio.h: Likewise.
13558 * rt/bits/mqueue2.h: Likewise.
13559 * rt/mqueue.h: Likewise.
13560 * shadow/shadow.h: Likewise.
13561 * signal/signal.h: Likewise.
13562 * socket/send.c: Likewise.
13563 * socket/sendto.c: Likewise.
13564 * socket/sys/socket.h: Likewise.
13565 * stdio-common/printf.h: Likewise.
13566 * stdlib/bits/stdlib.h: Likewise.
13567 * stdlib/fmtmsg.h: Likewise.
13568 * stdlib/monetary.h: Likewise.
13569 * stdlib/stdlib.h: Likewise.
13570 * stdlib/ucontext.h: Likewise.
13571 * streams/stropts.h: Likewise.
13572 * string/argz.h: Likewise.
13573 * string/bits/string2.h: Likewise.
13574 * string/string.h: Likewise.
13575 * string/strings.h: Likewise.
13576 * sunrpc/rpc/auth.h: Likewise.
13577 * sunrpc/rpc/auth_des.h: Likewise.
13578 * sunrpc/rpc/clnt.h: Likewise.
13579 * sunrpc/rpc/netdb.h: Likewise.
13580 * sunrpc/rpc/pmap_clnt.h: Likewise.
13581 * sunrpc/rpc/xdr.h: Likewise.
13582 * sysdeps/generic/inttypes.h: Likewise.
13583 * sysdeps/generic/net/if.h: Likewise.
13584 * sysdeps/generic/sys/swap.h: Likewise.
13585 * sysdeps/gnu/net/if.h: Likewise.
13586 * sysdeps/gnu/utmpx.h: Likewise.
13587 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
13588 * sysdeps/i386/i486/bits/string.h: Likewise.
13589 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
13590 * sysdeps/s390/bits/string.h: Likewise.
13591 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
13592 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
13593 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
13594 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
13595 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13596 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
13597 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
13598 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
13599 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
13600 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
13601 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
13602 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13603 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
13604 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13605 * sysdeps/unix/sysv/linux/readv.c: Likewise.
13606 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
13607 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13608 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13609 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13610 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13611 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13612 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
13613 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
13614 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
13615 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
13616 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
13617 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
13618 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13619 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
13620 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
13621 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
13622 * sysvipc/sys/ipc.h: Likewise.
13623 * sysvipc/sys/msg.h: Likewise.
13624 * sysvipc/sys/sem.h: Likewise.
13625 * sysvipc/sys/shm.h: Likewise.
13626 * termios/termios.h: Likewise.
13627 * time/sys/time.h: Likewise.
13628 * time/time.h: Likewise.
13629 * wcsmbs/bits/wchar2.h: Likewise.
13630 * wcsmbs/uchar.h: Likewise.
13631 * wcsmbs/wchar.h: Likewise.
13632 * wctype/wctype.h: Likewise.
13633
0269750c
UD
13634 [BZ #13551]
13635 * Makeconfig: Remove all but ELF support including AIX support.
13636 * Makerules: Likewise.
13637 * config.h.in: Likewise.
13638 * config.make.in: Likewise.
13639 * configure: Likewise.
13640 * configure.in: Likewise.
13641 * csu/Makefile: Likewise.
13642 * csu/version.c: Likewise.
13643 * debug/Makefile: Likewise.
13644 * dlfcn/Makefile: Likewise.
13645 * elf/Makefile: Likewise.
13646 * extra-lib.mk: Likewise.
13647 * iconv/Makefile: Likewise.
13648 * include/libc-symbols.h: Likewise.
13649 * include/shlib-compat.h: Likewise.
13650 * resolv/Makefile: Likewise.
13651 * resolv/res_libc.c: Likewise.
13652 * rt/Makefile: Likewise.
13653 * sysdeps/i386/asm-syntax.h: Likewise.
13654 * sysdeps/i386/sysdep.h: Likewise.
13655 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13656 * sysdeps/mach/sysdep.h: Likewise.
13657 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
13658 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
13659 * sysdeps/s390/asm-syntax.h: Likewise.
13660 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13661 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13662 * sysdeps/sh/sysdep.h: Likewise.
13663 * sysdeps/unix/sparc/sysdep.h: Likewise.
13664 * sysdeps/wordsize-32/divdi3.c: Likewise.
13665 * sysdeps/x86_64/sysdep.h: Likewise.
13666
00bbd29b
UD
13667 * argp/Versions: Remove _argp_unlock_xxx.
13668
13669 [BZ #13559]
13670 * abilist/ld.abilist: Update. Adjust for removal of tls option.
13671 * abilist/libBrokenLocale.abilist: Likewise.
13672 * abilist/libanl.abilist: Likewise.
13673 * abilist/libc.abilist: Likewise.
13674 * abilist/libcrypt.abilist: Likewise.
13675 * abilist/libdl.abilist: Likewise.
13676 * abilist/libm.abilist: Likewise.
13677 * abilist/libnsl.abilist: Likewise.
13678 * abilist/libpthread.abilist: Likewise.
13679 * abilist/libresolv.abilist: Likewise.
13680 * abilist/librt.abilist: Likewise.
13681 * abilist/libthread_db.abilist: Likewise.
13682 * abilist/libutil.abilist: Likewise.
13683 * abilist/libnss_db.abilist: New file.
13684
13685 * scripts/abilist.awk: Add support for indirect functions.
13686
a2693a0e
UD
13687 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
13688
3f05895f
UD
13689 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
13690
ecb6fb48
UD
13691 * shlib-versions: Remove entries for ports architectures.
13692
664f8cb9
UD
13693 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
13694 files in ports.
13695 * elf/stackguard-macros.h: Remove support for IA-64.
13696 * elf/tst-auditmod1.c: Likewise.
13697 * sysdeps/generic/ldsodefs.h: Likewise.
13698
7ae81d88
UD
13699 * sysdeps/unix/sysv/linux/configure.in: Ports should define
13700 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
13701 configure files.
13702
bdeba135
UD
13703 [BZ #13552]
13704 * configure.in: Remove --enable-omitfp support.
13705 * FAQ.in: Adjust.
13706 * config.make.in: Likewise.
13707 * Makeconfig: Likewise.
13708 * manual/install.texi: Likewise.
13709
d75a0a62
UD
13710 In case anyone cares, the IA-64 architecture could move to ports.
13711 * sysdeps/ia64/*: Removed.
13712 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 13713 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 13714
dcc9756b
UD
13715 [BZ #13555]
13716 * configure.in: Remove entries for unsupported architectures.
13717
d3761ebc 13718 [BZ #13533]
9954432e
UD
13719 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
13720 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
13721 routines.
13722 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
13723 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
13724 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
13725 fall back to using wcrtomb.
13726 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
13727 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
13728 renaming.
13729 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
13730 * wcsmbs/tst-c16c32-1.c: New file.
13731
13732 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
13733 local variable.
13734
c3a87236
UD
13735 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
13736
28926a1b
UD
13737 * elf/tst-unique3.cc: Add explicit declaration of gets.
13738 * elf/tst-unique3lib.cc: Likewise.
13739 * elf/tst-unique3lib2.cc: Likewise.
13740 * elf/tst-unique4.cc: Likewise.
13741
df78418a
UD
13742 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
13743
8ecd6b2a
JM
137442012-01-06 Joseph Myers <joseph@codesourcery.com>
13745
13746 [BZ #13566]
13747 * assert/assert.h (static_assert): Don't define for C++.
13748 * libio/stdio.h (gets): Do declare for C++ <= C++11.
13749 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
13750
9f115170
UD
137512012-01-03 Ulrich Drepper <drepper@gmail.com>
13752
5e0d0300
UD
13753 * iconv/loop.c (single loop): Fix assertion in storing of
13754 remaining bytes.
13755
9f115170
UD
13756 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
13757
81fb02b0
UD
137582012-01-01 Ulrich Drepper <drepper@gmail.com>
13759
13760 * posix/getconf.c: Update copyright year.
13761 * nss/getent.c: Likewise.
a316c1f6 13762 * nss/makedb.c: Likewise.
81fb02b0
UD
13763 * iconv/iconvconfig.c: Likewise.
13764 * iconv/iconv_prog.c: Likewise.
13765 * elf/ldconfig.c: Likewise.
a316c1f6
UD
13766 * elf/pldd.c: Likewise.
13767 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
13768 * catgets/gencat.c: Likewise.
13769 * csu/version.c: Likewise.
13770 * elf/ldd.bash.in: Likewise.
13771 * elf/sprof.c (print_version): Likewise.
13772 * locale/programs/locale.c: Likewise.
13773 * locale/programs/localedef.c: Likewise.
a316c1f6 13774 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
13775 * nscd/nscd.c (print_version): Likewise.
13776 * debug/xtrace.sh: Likewise.
13777 * malloc/memusage.sh: Likewise.
13778 * malloc/mtrace.pl: Likewise.
13779 * debug/catchsegv.sh: Likewise.
13780
2ba92745
JJ
137812011-12-30 Jakub Jelinek <jakub@redhat.com>
13782
13783 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
13784 pure attribute.
13785
dadebdae
UD
137862011-12-24 Ulrich Drepper <drepper@gmail.com>
13787
d3761ebc 13788 [BZ #13533]
db6af3eb
UD
13789 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
13790 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
13791 transformations.
13792 * iconv/gconv_int.h: Likewise.
13793 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
13794 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
13795 from libc for GLIBC_2.16.
13796 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
13797 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
13798 * wcsmbs/uchar.h: Really define mbstate_t.
13799 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
13800 * wcsmbs/c16rtomb.c: New file.
13801 * wcsmbs/mbrtoc16.c: New file.
13802 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
13803 for C/POSIX locale.
13804 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
13805 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
13806
dadebdae
UD
13807 * wcsmbs/wchar.h: Add missing __restrict.
13808
67371b56
UD
138092011-12-23 Ulrich Drepper <drepper@gmail.com>
13810
74033a25
UD
13811 [BZ #13532]
13812 * time/Makefile (routines): Add timespec_get.
13813 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
13814 * time/time.h: Define TIME_UTC and declare timespec_get. Define
13815 timespec for ISO C11.
13816 * time/timespec_get.c: New file.
13817 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
13818 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
13819
380d7e87
UD
13820 [BZ #13531]
13821 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
13822 * stdlib/stdlib.h: Declare aligned_alloc.
13823 * Versions.def: Add GLIBC_2.16 for libc.
13824 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
13825
4e9e7a35
UD
13826 [BZ 13527]
13827 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
13828 ISO C11.
13829
380d7e87 13830 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
13831 code.
13832
03a71829
UD
13833 [BZ #13528]
13834 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
13835
839e283e
UD
13836 [BZ #13529]
13837 * assert/assert.h (static_assert): Define.
13838
ce5294e2 13839 * version.h: Update for 2.16 development version.
90fa7312 13840
8d44e150 13841 [BZ #13526]
d7809905
UD
13842 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
13843 _ISOC11_SOURCE.
13844
c0da14cd
UD
13845 * version.h (RELEASE): Bump for 2.15 release.
13846 * include/features.h (__GLIBC_MINOR__): Bump to 15.
13847
530a3249
MP
13848 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
13849 Patch by Marek Polacek <mpolacek@redhat.com>.
13850
67371b56
UD
13851 * bits/byteswap.h: Protect long long constants with __extension__.
13852 * sysdeps/i386/bits/byteswap.h: Likewise.
13853 * sysdeps/ia64/bits/byteswap.h: Likewise.
13854 * sysdeps/s390/bits/byteswap.h: Likewise.
13855 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13856
15db4de1
LD
138572011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13858
13859 [BZ #13540]
bbe315ea
LD
13860 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
13861 destination buffer.
15db4de1
LD
13862 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13863
2b2596b1
MP
138642011-12-23 Marek Polacek <polacek@redhat.com>
13865
13866 * elf/dl-addr.c (determine_info): Add inline keyword.
13867 * elf/tst-auditmod4b.c (check_avx): Likewise.
13868 * elf/tst-auditmod6b.c (check_avx): Likewise.
13869 * elf/tst-auditmod6c.c (check_avx): Likewise.
13870 * elf/tst-auditmod7b.c (check_avx): Likewise.
13871
70c6c246
UD
138722011-12-23 Ulrich Drepper <drepper@gmail.com>
13873
13874 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
13875 !__SSE_MATH__.
13876
c044cf14
LD
138772011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13878
15db4de1 13879 [BZ #13540]
c044cf14
LD
13880 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
13881 processing for last bytes.
13882
6b13d9d9
BH
138832011-08-06 Bruno Haible <bruno@clisp.org>
13884
d455f537
BH
13885 [BZ #13061]
13886 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
13887 U+0385, not to U+1FEE.
13888
6b13d9d9
BH
13889 [BZ #13062]
13890 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
13891 entry for U+00A5 U+0301.
13892
db910efd
UD
138932011-12-22 Ulrich Drepper <drepper@gmail.com>
13894
27deeafc
UD
13895 [BZ #13166]
13896 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
13897 buffer for the output is too small.
13898
aed9d171
UD
13899 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
13900 optimization.
13901
db910efd
UD
13902 [BZ #13185]
13903 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
13904 SSE flags if possible.
13905
2bd779ae
LD
139062011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13907
e7f9dac3 13908 [BZ #13540]
2bd779ae
LD
13909 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
13910 processing for last bytes.
13911
154bfc16
JM
139122011-12-22 Joseph Myers <joseph@codesourcery.com>
13913
13914 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
13915 (syscall-list-default-options, syscall-list-default-condition)
13916 (syscall-list-includes): Define.
13917 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
13918 list of ABIs and options and #if conditions for each ABI. Do not
13919 handle common syscalls between ABIs specially.
13920 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
13921 Remove.
13922 (syscall-list-variants, syscall-list-32bit-options)
13923 (syscall-list-32bit-condition, syscall-list-64bit-options)
13924 (syscall-list-64bit-condition): Define.
13925 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
13926 (syscall-list-variants, syscall-list-32bit-options)
13927 (syscall-list-32bit-condition, syscall-list-64bit-options)
13928 (syscall-list-64bit-condition): Define.
13929 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
13930 Remove.
13931 (syscall-list-variants, syscall-list-32bit-options)
13932 (syscall-list-32bit-condition, syscall-list-64bit-options)
13933 (syscall-list-64bit-condition): Define.
13934 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
13935 Remove.
13936 (syscall-list-variants, syscall-list-32bit-options)
13937 (syscall-list-32bit-condition, syscall-list-64bit-options)
13938 (syscall-list-64bit-condition): Define.
13939
21eaf3a5
UD
139402011-12-22 Ulrich Drepper <drepper@gmail.com>
13941
16c6f992
UD
13942 * locale/iso-639.def: Add brx entry.
13943
41043168
UD
13944 [BZ #13328]
13945 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
13946 Proposed by Mariusz_Cukr <marcukr@op.pl>.
13947
21eaf3a5
UD
13948 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
13949 __feraiseexcept_renamed.
13950
e3a851a2
UD
139512011-12-21 Ulrich Drepper <drepper@gmail.com>
13952
4920765e
UD
13953 [BZ #13538]
13954 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
13955 EPOLLET with unsigned values.
13956 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13957 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13958
e3a851a2
UD
13959 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
13960 to large cancellation.
13961 * math/s_cacoshf.c: Likewise.
13962 * math/s_cacoshl.c: Likewise.
13963
b27e24b8
RK
139642011-11-18 Richard B. Kreckel <kreckel@ginac.de>
13965
13966 [BZ #13305]
aebefeee 13967 [BZ #12786]
b27e24b8
RK
13968 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
13969 * math/s_cacoshf.c: Likewise.
13970 * math/s_cacoshl.c: Likewise.
13971
ee190f67
UD
139722011-12-21 Ulrich Drepper <drepper@gmail.com>
13973
13974 [BZ #13439]
13975 * iconv/gconv.h: Define __GCONV_SWAP.
13976 * iconvdata/unicode.c: The swap bit must be stored in __flags.
13977 * iconvdata/utf-16.c: Likewise.
13978 * iconvdata/utf-32.c: Likewise.
13979
707f25df
AS
139802011-12-21 Andreas Schwab <schwab@linux-m68k.org>
13981
13982 [BZ #13524]
13983 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
13984 numerator after shifting it by one limb.
13985
d2daaa1e
RÁE
139862011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
13987
13988 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
13989 under [__USE_EXTERN_INLINES].
13990
a4647e72
UD
139912011-12-17 Ulrich Drepper <drepper@gmail.com>
13992
13993 [BZ #13446]
13994 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
13995
f0b264f1
AZ
139962011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13997
13998 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
13999 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
14000 optimized code.
14001 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
14002 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
14003 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
14004 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
14005 for strncasecmp/strncasecmp_l compilation.
14006 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
14007 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
14008
8ef4f244
MP
140092011-12-08 Marek Polacek <mpolacek@redhat.com>
14010
14011 [BZ #13484]
14012 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
14013 of __asm__.
14014
97ac2654
UD
140152011-12-17 Ulrich Drepper <drepper@gmail.com>
14016
14017 [BZ #13506]
14018 * time/tzfile.c (__tzfile_read): Check values from file header.
14019
91d2a845
WS
140202011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14021
14022 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
14023 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
14024 * powerpc/powerpc32/dl-start.S: Likewise.
14025 * powerpc/powerpc32/elf/start.S: Likewise.
14026 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14027 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
14028 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
14029 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
14030 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14031 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
14032 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
14033 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14034 * powerpc/powerpc32/fpu/s_round.S: Likewise.
14035 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14036 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14037 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14038 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
14039 * powerpc/powerpc32/memset.S: Likewise.
14040 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14041 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14042 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14043 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14044 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14045 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14046 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14047 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14048 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
14049 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
14050 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
14051 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14052 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14053
a1267ba1
AZ
140542011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14055
14056 * math/libm-test.inc: Added more nearbyint tests.
14057 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
14058 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
14059 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
14060 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
14061
ad8ac1bd
RL
140622011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
14063
14064 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
14065 FD_CLOEXEC.
14066
1d3e4b61
UD
140672011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14068
14069 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
14070 Add wcscpy-ssse3 wcscpy-c.
14071 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
14072 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
14073 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
14074 * sysdeps/x86_64/wcschr.S: New file.
14075 * sysdeps/x86_64/wcsrchr.S: New file.
14076 * string/test-strcmp.c: Remove checking of wcscmp function for
14077 wrong alignments.
14078 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
14079 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
14080 wcsrchr-sse2 wcsrchr-c.
14081 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
14082 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
14083 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
14084 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
14085 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
14086 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
14087 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
14088 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
14089 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
14090 * wcsmbc/wcschr.c (WCSCHR): New macro.
14091
5b330a2d
UD
140922011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14093
14094 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
14095 * wcsmbs/test-wcsrchr.c: New file.
14096 * string/test-strrchr.c: Add wcsrchr support.
14097 (WIDE): New macro.
14098 * wcsmbs/test-wcscpy.c: New file.
14099 * string/test-strcpy.c: Add wcscpy support.
14100 (WIDE): New macro.
26428b7c 14101
f039c043
UD
141022011-12-10 Ulrich Drepper <drepper@gmail.com>
14103
14104 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
14105 the inner loop.
14106
850fb039
AS
141072011-12-06 Andreas Schwab <schwab@linux-m68k.org>
14108
14109 [BZ #13472]
14110 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
14111
4efbd5cb
UD
141122011-12-04 Ulrich Drepper <drepper@gmail.com>
14113
52ff5dd0 14114 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 14115 Minor optimizations.
52ff5dd0 14116
4efbd5cb
UD
14117 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
14118 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
14119 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14120
8a426e12
UD
141212011-12-03 Ulrich Drepper <drepper@gmail.com>
14122
aff2453d
UD
14123 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
14124 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
14125 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
14126 for gcc to avoid warnings.
14127 * inet/Makefile (tests): Add tst-checks.
14128 * inet/tst-checks.c: New file.
14129
14130 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
14131 warning.
14132
14133 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
14134 __wmemcmp_sse2.
14135
14136 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
14137 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
14138
8a426e12
UD
14139 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
14140
9bea3473
UD
141412011-12-02 Ulrich Drepper <drepper@gmail.com>
14142
3a965496
UD
14143 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
14144 problem.
14145
9bea3473
UD
14146 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
14147
f101631b
UD
141482011-11-29 Joseph Myers <joseph@codesourcery.com>
14149
14150 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
14151 conditional on GCC version.
14152 (__arch_compare_and_exchange_val_8_acq)
14153 (__arch_compare_and_exchange_val_16_acq)
14154 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
14155 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
14156 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
14157
a98275aa
UD
141582011-12-02 Joseph Myers <joseph@codesourcery.com>
14159
14160 * sysdeps/sh/backtrace.c: New file.
14161
d4cc29a2
AS
141622011-12-02 Andreas Schwab <schwab@redhat.com>
14163
14164 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
14165 parenthesis.
14166
6257af2d
AS
141672011-12-01 Andreas Schwab <schwab@redhat.com>
14168
14169 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
14170 falling back to utime.
14171
b5f44c1a
AS
141722011-11-30 Andreas Schwab <schwab@redhat.com>
14173
14174 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
14175 expectations for float.
14176
f3a6cc0a
AS
141772011-11-29 Andreas Schwab <schwab@redhat.com>
14178
14179 * locale/weight.h (findidx): Add parameter len.
14180 * locale/weightwc.h (findidx): Likewise.
14181 * posix/fnmatch_loop.c (FCT): Adjust caller.
14182 * posix/regcomp.c (build_equiv_class): Likewise.
14183 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
14184 * posix/regexec.c (check_node_accept_bytes): Likewise.
14185 * string/strcoll_l.c (STRCOLL): Likewise.
14186 * string/strxfrm_l.c (STRXFRM): Likewise.
14187
9d65ea3a
UD
141882011-11-17 Ulrich Drepper <drepper@gmail.com>
14189
14190 * Makefile.in: Remove CVSOPT handling.
14191 * configure.in: Remove use of AC_REVISION.
14192 * iconvdata/Makefile (distribute): No need to filter out CVS.
14193 * scripts/list-sources.sh: Remove CVS, subversion and monotone
14194 handling.
14195
5583a086
AS
141962011-11-16 Andreas Schwab <schwab@redhat.com>
14197
14198 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
14199 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
14200 [USE_AS_STRNCASECMP_L]: Likewise.
14201 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
14202 NO_TLS_DIRECT_SEG_REFS.
14203 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
14204 Fix argument offsets for non-PIC.
14205 [USE_AS_STRNCASECMP_L]: Likewise.
14206 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
14207 NO_TLS_DIRECT_SEG_REFS.
14208
d62a8200
UD
142092011-11-15 Ulrich Drepper <drepper@gmail.com>
14210
9d65ea3a 14211 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
14212 O_CLOEXEC.
14213 * locale/loadlocale.c (_nl_load_locale): Likewise.
14214
09f93bd3
AS
142152011-11-15 Andreas Schwab <schwab@redhat.com>
14216
446514f9
AS
14217 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
14218 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
14219 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
14220 (SYSCALL_GETTIME): Set errno on error.
14221
09f93bd3
AS
14222 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
14223 count references to noai6ai_cached.
14224
312be3f9
UD
142252011-11-15 Ulrich Drepper <drepper@gmail.com>
14226
14227 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
14228
14229 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
14230 FD_CLOEXEC for /proc/self/maps.
14231
14232 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
14233 FD_CLOEXEC for /proc/meminfo.
14234
14235 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
14236 gai.conf.
14237
14238 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
14239 FD_CLOEXEC for given file.
14240
14241 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
14242
14243 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
14244 FD_CLOEXEC for /etc/hosts.
14245 (_gethtent): Likewise.
14246
14247 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
14248
14249 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
14250 cancellation and set FD_CLOEXEC for /etc/netgroup.
14251
14252 * nss/nss_files/files-key.c (search): Don't allow cancellation when
14253 reading /etc/publickey.
14254
14255 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
14256 allow cancellation when reading /etc/group.
14257
14258 * nss/nss_files/files-alias.c (internal_setent): Don't allow
14259 cancellation.
14260 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
14261
14262 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
14263 when using data file.
14264
14265 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
14266
14267 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
14268 (write_nis_obj): Use "c" and "e" in fopen.
14269
14270 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
14271
14272 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
14273
14274 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
14275
14276 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
14277
14278 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
14279 locale.alias.
14280
14281 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
14282
14283 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
14284
14285 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
14286
14287 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
14288 file parsing and set FD_CLOEXEC.
14289
82af0fa8
UD
142902011-11-14 Ulrich Drepper <drepper@gmail.com>
14291
14292 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
14293
a5fb313c
AS
142942011-11-14 Andreas Schwab <schwab@redhat.com>
14295
14296 * malloc/arena.c (arena_get2): Don't call reused_arena when
14297 _int_new_arena failed.
14298
6abf3465
UD
142992011-11-14 Ulrich Drepper <drepper@gmail.com>
14300
14301 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
14302 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
14303 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
14304 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14305 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14306 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
14307 to compile strcasecmp and strncasecmp.
14308 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
14309 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
14310
14311 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
14312
76e3966e
UD
143132011-11-13 Ulrich Drepper <drepper@gmail.com>
14314
14315 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
14316 locale-defines.sym to gen-as-const-headers.
14317 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
14318 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
14319 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
14320 to compile strcasecmp and strncasecmp.
14321 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
14322 strcasecmp_l and strncasecmp_l.
14323 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
14324 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
14325 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
14326 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
14327 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
14328 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
14329 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
14330 * sysdeps/i386/i686/multiarch/strncase.S: New file.
14331 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
14332 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
14333 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
14334
ab26144e
UD
143352011-11-12 Ulrich Drepper <drepper@gmail.com>
14336
7edb22ef
UD
14337 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
14338 result of SYSDEP_GETTIME_CPU to retval.
14339 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
14340 parameter list to macro. Remove trailing semicolon. Adjust users.
14341
9694fc44
UD
14342 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
14343 variable.
14344
8ad89ef8
UD
14345 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
14346 mantissa words.
14347 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14348
0c822ef9
UD
14349 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
14350 from unused variable.
14351
874e0564
UD
14352 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
14353 DWARF definitions.
14354 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
14355 for assembling.
14356
3a2edc79
UD
14357 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
14358 over namespaces.
14359
f3c2577f
UD
14360 * sunrpc/rpc_prot.c (rejected): Fix case value.
14361
294ce126
UD
14362 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
14363 unsigned long long int to avoid warnings in shift.
14364
5e2b63c6
UD
14365 * posix/regex_internal.c (re_string_reconstruct): Actually use result
14366 of use of trans.
14367 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
14368 variable tmp.
14369
e7f4b08e
UD
14370 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
14371 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
14372 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
14373
ab26144e
UD
14374 * nis/nis_table.c (nis_list): Use variable of correct type for
14375 result of __follow_path call.
14376
8a6d5255
AZ
143772011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14378
14379 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
14380 of math functions ceil, trunc, floor, round, and sqrt, when
14381 avaliable on the platform.
14382 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
14383 name clash.
14384 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14385 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14386 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14387
aaddc98c
MP
143882011-10-30 Marek Polacek <mpolacek@redhat.com>
14389
14390 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
14391 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14392
95b7042b
RM
143932011-11-11 Roland McGrath <roland@hack.frob.com>
14394
14395 * include/unistd.h: Fix __readlink return type.
14396 Reported by Chris Metcalf <cmetcalf@tilera.com>.
14397
57769839
UD
143982011-11-11 Ulrich Drepper <drepper@gmail.com>
14399
14400 * stdlib/ucontext.h: Undo last change for makecontext.
14401
edc5984d
AS
144022011-11-11 Andreas Schwab <schwab@redhat.com>
14403
98591e58
AS
14404 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
14405
edc5984d
AS
14406 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
14407 * setjmp/setjmp.h: Mark functions as non-leaf.
14408 * setjmp/bits/setjmp2.h: Likewise.
14409 * stdlib/ucontext.h: Likewise.
14410
77cdc054
AS
144112011-11-10 Andreas Schwab <schwab@redhat.com>
14412
14413 * malloc/arena.c (_int_new_arena): Don't increment narenas.
14414 (reused_arena): Don't check arena limit.
14415 (arena_get2): Atomically check arena limit.
14416
fe72eebd
UD
144172011-11-08 Ulrich Drepper <drepper@gmail.com>
14418
5f078c32
UD
14419 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
14420 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
14421
fe72eebd
UD
14422 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
14423 instructions.
14424
ae1bc2fa
AS
144252011-11-07 Andreas Schwab <schwab@redhat.com>
14426
7583a88d
AS
14427 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
14428 handler when locking.
14429
ae1bc2fa
AS
14430 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14431 Fix size of allocated buffer.
14432
10fb0bfa
AS
144332011-11-04 Andreas Schwab <schwab@redhat.com>
14434
998832a4
AS
14435 [BZ #10103]
14436 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
14437 declarations for long double functions.
14438 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
14439
10fb0bfa
AS
14440 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
14441
3d7ba52b
AS
144422011-11-03 Andreas Schwab <schwab@redhat.com>
14443
a9ae54a1
AS
14444 * nscd/nscd.c (main): Don't start AVC thread until credentials are
14445 installed.
14446
3d7ba52b
AS
14447 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
14448 is disabled.
14449
bc8db248
ST
144502011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14451
14452 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
14453
45b96dd6
AS
144542011-11-01 Andreas Schwab <schwab@linux-m68k.org>
14455
647776f6
AS
14456 * include/alloca.h (stackinfo_alloca_round): Define.
14457 (extend_alloca): Use it.
14458 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
14459 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
14460 here.
14461
d91a8b93
AS
14462 * scripts/check-local-headers.sh: Ignore libaudit.h.
14463
45b96dd6
AS
14464 * nscd/Makefile (extra-objs): Make recursively expanded.
14465
432d41ce
UD
144662011-11-01 Ulrich Drepper <drepper@gmail.com>
14467
34372fc6
UD
14468 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
14469 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14470
fadb59f8
UD
14471 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
14472 * posix/tst-rfc3484-2.c: Likewise.
14473 * posix/tst-rfc3484-3.c: Likewise.
14474
78239589
UD
14475 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14476 process_vm_writev.
14477 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
14478 process_vm_writev.
14479 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
14480 process_vm_writev from libc using GLIBC_2.15 version.
14481
432d41ce
UD
14482 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
14483
02f9c6cf
PP
144842011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
14485
14486 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
14487 stack usage.
14488
3a2c0242
UD
144892011-10-31 Ulrich Drepper <drepper@gmail.com>
14490
f4ec4833
UD
14491 [BZ #13367]
14492 * nss/getent.c (initgroups_keys): Show error message in case no group
14493 names are given.
14494
3a2c0242
UD
14495 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
14496 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
14497 __bump_nl_timestamp.
14498 * nscd/connections (nscd_init): When host database is served open
14499 netlink socket and request notification about configuration changes.
14500 (main_loop_poll): Track netlink file descriptor and bump timestamp
14501 in case data becomes available.
14502 (main_loop_epoll): Likewise.
14503 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
14504 (database_pers_head): Add extra_data fileds.
14505 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
14506 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
14507 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
14508 Adjust caller.
14509 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
14510 in6ai data, call __free_in6ai.
14511 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
14512 Add -DHAVE_NETLINK.
14513 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
14514 interface information. Reuse previous data if netlink timestamp
14515 is not changed.
14516 (__bump_nl_timestamp): New function.
14517 (__free_in6ai): New function.
14518
636064eb
UD
145192011-10-30 Ulrich Drepper <drepper@gmail.com>
14520
14521 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
14522 close_not_cancel_no_status here.
14523 (__check_pf): Reorganize code a bit to not call close twice if OOM.
14524
9beb2334
UD
145252011-10-29 Ulrich Drepper <drepper@gmail.com>
14526
6ef76f3b
UD
14527 [BZ #13276]
14528 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
14529 return value.
14530
0ffc4f3e 14531 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
14532 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
14533 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
14534
cb95113e
UD
145352011-07-03 Andreas Jaeger <aj@suse.de>
14536
14537 [BZ #10709]
14538 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
14539 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
14540 * math/libm-test.inc (sin_test): Add test case.
14541
a1b560ff
UD
145422011-10-29 Ulrich Drepper <drepper@gmail.com>
14543
c9aaface
UD
14544 [BZ #13337]
14545 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
14546 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14547
d272e7f1
UD
14548 * elf/chroot_canon.c (chroot_canon): Cleanups.
14549
1bc33071
UD
14550 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
14551
1760874d
TJ
14552 [BZ #13335]
14553 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
14554 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14555
51d91b18
UD
14556 * string/test-strchr.c: Make usable for strchrnul testing.
14557 * string/test-strchrnul.c: New file.
14558 * string/Makefile (strop-tests): Add strchrnul.
14559
a1b560ff 14560 * po/it.po: Update from translation team.
b611fb81 14561 * po/es.po: Likewise.
a1b560ff 14562
a5b81e1f
UD
145632011-10-28 Ulrich Drepper <drepper@gmail.com>
14564
fd52bc6d
UD
14565 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
14566 the three constants needed as parameters. Drop the others.
14567 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
14568 __m128i_strloadu_tolower.
52e4b9eb
UD
14569 Create and initialize variable zero and use it in all the places
14570 where _mm_setzero_si128 was used.
fd52bc6d 14571
a5b81e1f
UD
14572 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
14573 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
14574 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
14575 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
14576 anymore.
14577 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
14578 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
14579 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
14580 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
14581 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
14582 __mpranred, __mptan.
14583 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
14584 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
14585 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
14586 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
14587 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
14588 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
14589 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
14590 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
14591 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
14592
b4343346
AS
145932011-10-28 Andreas Schwab <schwab@redhat.com>
14594
0c92d8a8
AS
14595 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
14596 redefine if SHARED.
14597 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
14598
b4343346
AS
14599 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
14600 wide char related routines to wcsmbs subdir.
14601
3871f58f
AS
146022011-10-27 Andreas Schwab <schwab@redhat.com>
14603
14604 [BZ #13344]
14605 * misc/sys/cdefs.h (__THROWNL): Define.
14606 * posix/unistd.h: Use __THREADNL instead of __THREAD
14607 for memory synchronization functions.
14608
94d44d9f
RM
146092011-10-26 Roland McGrath <roland@hack.frob.com>
14610
21b64b15 14611 [BZ #13349]
94d44d9f
RM
14612 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
14613 doesn't exist.
14614 * manual/stdio.texi (Obstack Streams): Node removed.
14615
f6ce9294
AS
146162011-10-26 Andreas Schwab <schwab@redhat.com>
14617
80479147
AS
14618 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
14619 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14620 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14621
f6ce9294
AS
14622 * math/math_private.h (math_force_eval): Allow non-addressable
14623 arguments.
14624 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
14625
618280a1
UD
146262011-10-25 Ulrich Drepper <drepper@gmail.com>
14627
e0016b11
UD
14628 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
14629 file is not needed.
14630
14631 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
14632 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14633 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14634 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14635 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14636 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14637 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14638 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
14639 Add AVX variants.
14640 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
14641 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
14642 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
14643 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
14644 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
14645 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
14646 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
14647 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
14648 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
14649 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
14650 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
14651 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
14652 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
14653 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
14654 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
14655 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
14656 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
14657 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
14658 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
14659
14660 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
14661 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
14662
618280a1
UD
14663 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
14664 place. Use VEX encoding when compiling for AVX.
14665
37822576
AS
146662011-10-25 Andreas Schwab <schwab@redhat.com>
14667
1f1e1947
AS
14668 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
14669 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14670
37822576
AS
14671 * string/test-strchr.c (do_test): Don't generate NUL bytes.
14672
31ea014d
UD
146732011-10-25 Ulrich Drepper <drepper@gmail.com>
14674
d7826aa1 14675 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 14676 useless if() expression.
d7826aa1
UD
14677 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14678 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14679 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14680 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14681 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14682 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14683 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14684 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14685 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14686 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14687 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14688 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14689 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14690 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14691 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14692 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14693 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14694 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14695 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14696
31ea014d
UD
14697 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
14698
16437fec
AS
146992011-10-25 Andreas Schwab <schwab@redhat.com>
14700
14701 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
14702 condition.
14703 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14704
31d3cc00
UD
147052011-10-25 Ulrich Drepper <drepper@gmail.com>
14706
14707 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
14708 .text section. Avoid duplicate constants.
14709 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14710 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14711 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14712 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14713 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14714 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14715 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14716 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14717 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14718 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
14719 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14720 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14721 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14722 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14723 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14724 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14725 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14726 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14727 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14728 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14729 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14730 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14731 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14732 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
14733 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
14734 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
14735 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
14736 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
14737 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
14738 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14739 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
14740 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14741 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14742 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
14743 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
14744 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14745 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14746 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
14747 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
14748 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
14749 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
14750 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
14751 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
14752 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
14753 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14754
58985aa9
UD
147552011-10-24 Ulrich Drepper <drepper@gmail.com>
14756
202c9deb
UD
14757 * sysdeps/x86_64/dla.h: Move to ...
14758 * sysdeps/x86_64/fpu/dla.h: ...here.
14759 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
14760 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 14761
af968f62
UD
14762 * config.make.in: Add have-mfma4 entry.
14763 * configure.in: Substitute libc_cv_cc_fma4.
14764 * math/Makefile (dbl-only-routines): Add sincostab.
14765 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
14766 Use __sincostab not sincos.
14767 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
14768 name is a macro.
14769 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14770 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14771 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14772 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
14773 using __copysign.
14774 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
14775 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
14776 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
14777 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
14778 and __inv.
14779 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
14780 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
14781 __copysign.
14782 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
14783 define aliases when function name is a macro.
14784 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
14785 sysdeps/ieee754/dbl-64/sincos.tbl.
14786 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
14787 fma4-enabled routines.
14788 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
14789 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
14790 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
14791 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
14792 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
14793 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
14794 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
14795 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
14796 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
14797 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
14798 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
14799 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
14800 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
14801 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
14802 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
14803 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
14804 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
14805 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
14806 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
14807 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
14808 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
14809 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
14810 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
14811 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
14812 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
14813 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
14814 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
14815 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
14816 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
14817 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
14818
58985aa9
UD
14819 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
14820 rename.
14821 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14822 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14823 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14824 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14825 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14826 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14827 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14828 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14829
a201fbcf
AS
148302011-10-24 Andreas Schwab <schwab@redhat.com>
14831
14832 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
14833
fc2ee42a
LD
148342011-10-23 Ulrich Drepper <drepper@gmail.com>
14835
bb3129bd
UD
14836 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
14837
0275fff8
UD
14838 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
14839 prediction.
14840 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
14841
2fa2ae85
UD
14842 * string/strnlen.c: Don't define STRNLEN, reverse logic.
14843 Remove unused variable magic_bits.
14844 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
14845
fc2ee42a
LD
14846 * string/strnlen.c: Define and use STRNLEN macro.
14847 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
14848 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
14849 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
14850 * wcsmbs/wcslen.c: Define and use WCSLEN.
14851 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
14852 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
14853 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
14854 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
14855 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
14856 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
14857 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14858
ce7dd29f
LD
148592011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14860
14861 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14862 strnlen-sse2-no-bsf.
14863 Rename strlen-no-bsf to strlen-sse2-no-bsf.
14864 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
14865 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
14866 Add strnlen support.
14867 (USE_AS_STRNLEN): New macro.
14868 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
14869 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
14870 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
14871 * sysdeps/x86_64/wcslen.S: New file.
14872
979c70a3
MZ
148732011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
14874
14875 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14876 XMM-moves are used for copying on small sizes.
14877
2d09f82f
LD
148782011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14879
14880 * wcsmbs/Makefile (strop-tests): Add wcschr.
14881 * wcsmbs/test-wcschr.c: New file.
14882 * string/test-strchr.c: Update.
14883 Add wcschr support.
14884 (WIDE): New macro.
14885
619fccca
LD
148862011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14887
2d09f82f 14888 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
14889 * wcsmbs/test-wcslen.c: New file.
14890 * string/test-strlen.c: Update.
14891 Add wcslen support.
14892 (WIDE): New macro.
14893
09f699ea
UD
148942011-10-23 Ulrich Drepper <drepper@gmail.com>
14895
14896 * po/it.po: Update from translation team.
14897
95584d3b
LD
148982011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14899
14900 * sysdeps/x86_64/wcscmp.S: Update.
14901 Fix wrong comparison semantics.
14902 wcscmp shall use signed comparison not unsigned.
14903 Don't use substraction to avoid overflow bug.
14904 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14905 * wcsmbc/wcscmp.c: Likewise.
14906 * string/test-strcmp.c: Likewise.
14907 Add new tests to check cases with negative values.
14908
c8b3296b
UD
149092011-10-23 Ulrich Drepper <drepper@gmail.com>
14910
14911 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
14912 * sysdeps/x86_64/dla.h: ...here. New file.
14913 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
14914 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14915 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14916 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14917 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14918 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14919 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14920 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14921 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14922
246ad57a
AS
149232011-10-23 Andreas Schwab <schwab@linux-m68k.org>
14924
14925 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
14926 __ynl_finite aliases.
14927
a1a87169
UD
149282011-10-22 Ulrich Drepper <drepper@gmail.com>
14929
0d355eb7
UD
14930 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14931
a1a87169
UD
14932 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
14933 define DLA_FMA.
14934 [DLA_FMA] (EMULV): Use DLA_FMA.
14935 [DLA_FMA] (MUL12): Use EMULV.
14936 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
14937 that are not needed.
14938 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14939 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14940 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14941 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14942 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14943 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14944 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14945
ee2aafe0
AS
149462011-10-22 Andreas Schwab <schwab@linux-m68k.org>
14947
14948 * math/s_nan.c: Undef __nan.
14949 * math/s_nanf.c: Undef __nanf.
14950 * math/s_nanl.c: Undef __nanl.
14951 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
14952 "math_private.h".
14953
bc62c2fb
UD
149542011-10-22 Ulrich Drepper <drepper@gmail.com>
14955
77425c63
UD
14956 * math/s_catan.c: Add branch predictions.
14957 * math/s_catanf.c: Likewise.
14958 * math/s_catanh.c: Likewise.
14959 * math/s_catanhf.c: Likewise.
14960 * math/s_catanhl.c: Likewise.
14961 * math/s_catanl.c: Likewise.
14962 * math/s_cexp.c: Likewise.
14963 * math/s_cexpf.c: Likewise.
14964 * math/s_cexpl.c: Likewise.
14965 * math/s_clog.c: Likewise.
14966 * math/s_clog10.c: Likewise.
14967 * math/s_clog10f.c: Likewise.
14968 * math/s_clog10l.c: Likewise.
14969 * math/s_clogf.c: Likewise.
14970 * math/s_clogl.c: Likewise.
14971 * math/s_csqrt.c: Likewise.
14972 * math/s_csqrtf.c: Likewise.
14973 * math/s_csqrtl.c: Likewise.
14974 * math/s_ctanf.c: Likewise.
14975 * math/s_ctanh.c: Likewise.
14976 * math/s_ctanhf.c: Likewise.
14977 * math/s_ctanhl.c: Likewise.
14978 * math/s_ctanl.c: Likewise.
14979
bc62c2fb
UD
14980 * math/math_private.h: Define __nan, __nanf, __nanl.
14981 * math/s_cacosh.c: Include <math_private.h>.
14982 * math/s_cacoshl.c: Likewise.
14983 * math/s_casinh.c: Likewise.
14984 * math/s_casinhf.c: Likewise.
14985 * math/s_casinhl.c: Likewise.
14986 * math/s_ccos.c: Rely entire on ccosh.
14987 * math/s_ccosf.c: Rely entire on ccoshf.
14988 * math/s_ccosl.c: Rely entirely on ccoshl.
14989 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
14990 Remove tests for FE_INVALID.
14991 * math/s_ccoshf.c: Likewise.
14992 * math/s_ccoshl.c: Likewise.
14993 * math/s_csin.c: Likewise.
14994 * math/s_csinf.c: Likewise.
14995 * math/s_csinh.c Likewise.
14996 * math/s_csinhf.c: Likewise.
14997 * math/s_csinhl.c: Likewise.
14998 * math/s_csinl.c: Likewise.
14999 * math/s_ctan.c: Likewise.
15000 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
15001 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
15002 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
15003
8ec250a4
UD
150042011-10-21 Ulrich Drepper <drepper@gmail.com>
15005
c196fed8
UD
15006 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
15007 compilation problems.
15008
8ec250a4
UD
15009 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
15010 __builtin_expect.
15011
8d4f46c6
UD
150122011-10-20 Ulrich Drepper <drepper@gmail.com>
15013
ed72b654
UD
15014 * sysdeps/i386/configure.in: Test for -mfma4 option.
15015 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
15016 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
15017 COMMON_CPUID_INDEX_80000001.
15018 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
15019 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
15020 use it if FMA3 is not supported.
15021 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15022
8d4f46c6
UD
15023 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
15024 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15025
d45c60c2
AS
150262011-10-20 Andreas Schwab <schwab@redhat.com>
15027
15028 [BZ #12892]
15029 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
15030 it would create a cycle with a link time dependency.
15031
d9a4d2ab
UD
150322011-10-19 Ulrich Drepper <drepper@gmail.com>
15033
855d1560
UD
15034 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
15035 instruction.
15036 * string/Makefile (strop-tests): Add rawmemchr.
15037 * string/test-rawmemchr.c: New file.
15038
d9a4d2ab
UD
15039 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
15040 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
15041 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
15042 when compiling str{,n}casecmp and when AVX is available. Hook up
15043 new optimized code in initializers.
15044
8f3b1ffe
AS
150452011-10-19 Andreas Schwab <schwab@redhat.com>
15046
15047 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
15048 __feraiseexcept instead of feraiseexcept.
15049
d38f1dba
UD
150502011-10-18 Ulrich Drepper <drepper@gmail.com>
15051
d9a8d0ab
UD
15052 * math/math_private.h: Define defaults for libc_fetestexcept and
15053 libc_feupdateenv.
15054 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
15055 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15056 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15057 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15058 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15059 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15060 libc_fetestexcept and libc_feupdateenv.
15061
4855e3dd
UD
15062 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
15063 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
15064 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
15065 * sysdeps/x86_64/fpu/math_private.h: Define special version of
15066 libc_feholdexcept_setround.
15067
581d30e3
UD
15068 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
15069 Add s_nearbyint-c and s_nearbyintf-c.
15070 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
15071 nearbyintf inlines.
15072 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
15073 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
15074 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
15075 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
15076
d38f1dba
UD
15077 * math/math_private.h: Define defaults for libc_fegetround,
15078 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
15079 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
15080 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
15081 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
15082 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
15083 standard functions.
15084 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15085 Remove comments and hacks for old compiler versions.
15086 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15087 libc_fegetround, libc_fesetround, libc_feholdexcept, and
15088 libc_feholdexceptl.
15089
caa6c9d8
AS
150902011-10-18 Andreas Schwab <schwab@redhat.com>
15091
15092 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
15093 (__feraiseexcept_renamed): Add __NTH.
15094 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
15095 namespace violations.
15096
97c066e6
UD
150972011-10-17 Ulrich Drepper <drepper@gmail.com>
15098
99ce7b04
UD
15099 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
15100
1004d182
UD
15101 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
15102
228a984d
UD
15103 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
15104 recently added interfaces.
15105 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
15106
c8553a6a
UD
15107 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
15108 about macro parameter expansion.
15109
ed22dcf6
UD
15110 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
15111 __NO_MATH_INLINES is defined. Cleanups.
15112
15113 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
15114 and __floorf is target has SSE4.1.
15115 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
15116 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
15117 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
15118 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
15119
b171c137
UD
15120 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
15121 name.
15122 (floorf): Likewise.
15123
97c066e6
UD
15124 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
15125
629f62ef
AS
151262011-10-17 Andreas Schwab <schwab@redhat.com>
15127
49a43d80
AS
15128 * misc/sys/cdefs.h: Fix last change.
15129
629f62ef
AS
15130 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
15131 database lookup.
15132
e453f6cd
UD
151332011-10-16 Ulrich Drepper <drepper@gmail.com>
15134
aa78043a
UD
15135 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
15136
ad0f5cad
UD
15137 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
15138 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15139 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15140 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15141 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15142 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15143 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15144 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15145 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15146 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
15147 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
15148 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
15149 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
15150 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
15151 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
15152 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
15153 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
15154 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
15155 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
15156 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
15157 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
15158 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
15159
15160 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
15161 ceil, ceilf, floor, floorf.
15162
15163 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
15164 Perform IRELATIVE relocations last.
15165
e453f6cd
UD
15166 * elf/do-rel.h: Add another parameter nrelative, replacing the
15167 local variable with the same name. Change name of the function
15168 to end in Rel or Rela (uppercase).
15169 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
15170 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
15171 elf_dynamic_do_##reloc function.
15172
fd5bdc09
UD
151732011-10-15 Ulrich Drepper <drepper@gmail.com>
15174
79b195b5
UD
15175 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
15176 is sufficient, at least on modern CPUs.
15177
d4a28569
UD
15178 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
15179
b61099b5
UD
15180 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
15181 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
15182
bcf01e6d
UD
15183 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
15184 __expl_finite.
15185 * math/bits/math-finite.h: Add entries for exp.
15186 * math/e_expl.c: Add __*_finite alias.
15187 * sysdeps/i386/fpu/e_exp.S: Likewise.
15188 * sysdeps/i386/fpu/e_expf.S: Likewise.
15189 * sysdeps/i386/fpu/e_expl.c: Likewise.
15190 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15191 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15192 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15193 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15194 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
15195 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15196 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15197
ba1a0d59
UD
15198 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
15199 is sufficient, at least on modern CPUs.
15200
fd5bdc09
UD
15201 * ctype/ctype-info.c (__ctype_init): Define.
15202 * include/ctype.h (__ctype_init): Declare.
15203 (__ctype_b_loc): The variable is always initialized.
15204 (__ctype_toupper_loc): Likewise.
15205 (__ctype_tolower_loc): Likewise.
15206 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
15207 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
15208
7872cfb0
AS
152092011-10-15 Andreas Schwab <schwab@linux-m68k.org>
15210
b468825a
AS
15211 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
15212
7872cfb0
AS
15213 * configure.in: Also look in $cxxmachine/include for C++ system
15214 headers.
15215
be13f7bf
LD
152162011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15217
15218 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
15219 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
15220 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
15221 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
15222 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
15223 (USE_AS_WMEMCMP): New macro.
15224 Fixing indents.
15225 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
15226 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
15227 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
15228 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
15229 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15230 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
15231 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
15232 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
15233 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
15234 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
15235 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
15236 (USE_AS_WMEMCMP): New macro.
15237 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
15238 * sysdeps/string/test-memcmp.c: Update.
15239 Fix simple_wmemcmp.
15240 Add new tests.
15241 * wcsmbs/wmemcmp.c: Update.
15242 (WMEMCMP): New macro.
15243 Fix overflow bug.
15244
556a2007
AJ
152452011-10-12 Andreas Jaeger <aj@suse.de>
15246
15247 [BZ #13268]
15248 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
15249
538faaa7
UD
152502011-10-15 Ulrich Drepper <drepper@gmail.com>
15251
ab6737ff
UD
15252 * libio/iofwide.c (do_length): Avoid warning.
15253
538faaa7
UD
15254 * ctype/ctype.h (__isctype_f): Add missing __THROW.
15255
396a21b1
UD
152562011-10-14 Ulrich Drepper <drepper@gmail.com>
15257
cdf2901f
UD
15258 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
15259
38ad40ce
UD
15260 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
15261 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
15262 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
15263 * sysdeps/i386/i686/fpu/e_log.S: New file.
15264 * sysdeps/i386/i686/fpu/e_logf.S: New file.
15265 * sysdeps/i386/i686/fpu/e_logl.S: New file.
15266
396a21b1
UD
15267 * ctype/ctype.h: Add support for inlined isXXX functions when
15268 compiling C++ code.
15269
6b1f68c9
AS
152702011-10-14 Andreas Schwab <schwab@redhat.com>
15271
349290c0
AS
15272 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15273
6b1f68c9
AS
15274 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
15275
f2282d42
RM
152762011-10-13 Roland McGrath <roland@hack.frob.com>
15277
15278 [BZ #13291]
15279 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
15280
5298ffa8
AS
152812011-10-13 Andreas Schwab <schwab@redhat.com>
15282
714fad23
AS
15283 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
15284 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
15285 feraiseexcept.
15286
81dcc7fb
AS
15287 * sysdeps/x86_64/memrchr.S: Check for zero size.
15288
5298ffa8
AS
15289 * string/stratcliff.c: Add memrchr tests.
15290
951fbcec
LD
152912011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15292
15293 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15294 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
15295 rawmemchr-sse2 rawmemchr-sse2-bsf.
15296 * sysdeps/i386/i686/multiarch/memchr.S: New file.
15297 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
15298 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
15299 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
15300 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
15301 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
15302 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
15303 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
15304 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
15305 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
15306 * string/memrchr.c (MEMRCHR): New macro.
15307
0ac5ae23
UD
153082011-10-12 Ulrich Drepper <drepper@gmail.com>
15309
15310 Add integration with gcc's -ffinite-math-only and optimize wrapper
15311 functions in libm.
15312 * Versions.def: Define GLIBC_2.15 version for libm.
15313 * math/Makefile (headers): Add bits/math-finite.h.
15314 * math/bits/math-finite.h: New file.
15315 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
15316 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
15317 * math/e_acoshl.c: Add __*_finite alias.
15318 * math/e_acosl.c: Likewise.
15319 * math/e_asinl.c: Likewise.
15320 * math/e_atan2l.c: Likewise.
15321 * math/e_atanhl.c: Likewise.
15322 * math/e_coshl.c: Likewise.
15323 * math/e_exp10.c: Likewise.
15324 * math/e_exp10f.c: Likewise.
15325 * math/e_exp10l.c: Likewise.
15326 * math/e_exp2l.c: Likewise.
15327 * math/e_fmodl.c: Likewise.
15328 * math/e_gammal_r.c: Likewise.
15329 * math/e_hypotl.c: Likewise.
15330 * math/e_j0l.c: Likewise.
15331 * math/e_j1l.c: Likewise.
15332 * math/e_jnl.c: Likewise.
15333 * math/e_lgammal_r.c: Likewise.
15334 * math/e_log10l.c: Likewise.
15335 * math/e_log2l.c: Likewise.
15336 * math/e_logl.c: Likewise.
15337 * math/e_powl.c: Likewise.
15338 * math/e_sinhl.c: Likewise.
15339 * math/e_sqrtl.c: Likewise.
15340 * math/e_scalb.c: Completely rewritten and optimized.
15341 * math/e_scalbf.c: Likewise.
15342 * math/e_scalbl.c: Likewise.
15343 * math/w_acos.c: Likewise.
15344 * math/w_acosf.c: Likewise.
15345 * math/w_acosl.c: Likewise.
15346 * math/w_acosh.c: Likewise.
15347 * math/w_acoshf.c: Likewise.
15348 * math/w_acoshl.c: Likewise.
15349 * math/w_asin.c: Likewise.
15350 * math/w_asinf.c: Likewise.
15351 * math/w_asinl.c: Likewise.
15352 * math/w_atan2.c: Likewise.
15353 * math/w_atan2f.c: Likewise.
15354 * math/w_atan2l.c: Likewise.
15355 * math/w_atanh.c: Likewise.
15356 * math/w_atanhf.c: Likewise.
15357 * math/w_atanhl.c: Likewise.
15358 * math/w_exp10.c: Likewise.
15359 * math/w_exp10f.c: Likewise.
15360 * math/w_exp10l.c: Likewise.
15361 * math/w_fmod.c: Likewise.
15362 * math/w_fmodf.c: Likewise.
15363 * math/w_fmodl.c: Likewise.
15364 * math/w_j0.c: Likewise.
15365 * math/w_j0f.c: Likewise.
15366 * math/w_j0l.c: Likewise.
15367 * math/w_j1.c: Likewise.
15368 * math/w_j1f.c: Likewise.
15369 * math/w_j1l.c: Likewise.
15370 * math/w_jn.c: Likewise.
15371 * math/w_jnf.c: Likewise.
15372 * math/w_log.c: Likewise.
15373 * math/w_logf.c: Likewise.
15374 * math/w_logl.c: Likewise.
15375 * math/w_log10.c: Likewise.
15376 * math/w_log10f.c: Likewise.
15377 * math/w_log10l.c: Likewise.
15378 * math/w_log2.c: Likewise.
15379 * math/w_log2f.c: Likewise.
15380 * math/w_log2l.c: Likewise.
15381 * math/w_pow.c: Likewise.
15382 * math/w_powf.c: Likewise.
15383 * math/w_powl.c: Likewise.
15384 * math/w_remainder.c: Likewise.
15385 * math/w_remainderf.c: Likewise.
15386 * math/w_remainderl.c: Likewise.
15387 * math/w_scalb.c: Likewise.
15388 * math/w_scalbf.c: Likewise.
15389 * math/w_scalbl.c: Likewise.
15390 * math/w_sqrt.c: Likewise.
15391 * math/w_sqrtf.c: Likewise.
15392 * math/w_sqrtl.c: Likewise.
15393 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
15394 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
15395 used.
15396 * math/math_private.h: Declare __kernel_standard_f.
15397 * math/w_cosh.c: Remove cruft and optimize a bit.
15398 * math/w_coshf.c: Likewise.
15399 * math/w_coshl.c: Likewise.
15400 * math/w_exp2.c: Likewise.
15401 * math/w_exp2f.c: Likewise.
15402 * math/w_exp2l.c: Likewise.
15403 * math/w_hypot.c: Likewise.
15404 * math/w_hypotf.c: Likewise.
15405 * math/w_hypotl.c: Likewise.
15406 * math/w_lgamma.c: Likewise.
15407 * math/w_lgamma_r.c: Likewise.
15408 * math/w_lgammaf.c: Likewise.
15409 * math/w_lgammaf_r.c: Likewise.
15410 * math/w_lgammal.c: Likewise.
15411 * math/w_lgammal_r.c: Likewise.
15412 * math/w_sinh.c: Likewise.
15413 * math/w_sinhf.c: Likewise.
15414 * math/w_sinhl.c: Likewise.
15415 * math/w_tgamma.c: Likewise.
15416 * math/w_tgammaf.c: Likewise.
15417 * math/w_tgammal.c: Likewise.
15418 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15419 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15420 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
15421 Minor optimizations. Pretty printing. Remove cruft.
15422 * sysdeps/i386/fpu/e_acosf.S: Likewise.
15423 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15424 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15425 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15426 * sysdeps/i386/fpu/e_acosl.c: Likewise.
15427 * sysdeps/i386/fpu/e_asin.S: Likewise.
15428 * sysdeps/i386/fpu/e_asinf.S: Likewise.
15429 * sysdeps/i386/fpu/e_atan2.S: Likewise.
15430 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
15431 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
15432 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15433 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15434 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15435 * sysdeps/i386/fpu/e_exp10.S: Likewise.
15436 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
15437 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
15438 * sysdeps/i386/fpu/e_exp2.S: Likewise.
15439 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
15440 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
15441 * sysdeps/i386/fpu/e_fmod.S: Likewise.
15442 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
15443 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
15444 * sysdeps/i386/fpu/e_hypot.S: Likewise.
15445 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
15446 * sysdeps/i386/fpu/e_log.S: Likewise.
15447 * sysdeps/i386/fpu/e_log10.S: Likewise.
15448 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15449 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15450 * sysdeps/i386/fpu/e_log2.S: Likewise.
15451 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15452 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15453 * sysdeps/i386/fpu/e_logf.S: Likewise.
15454 * sysdeps/i386/fpu/e_logl.S: Likewise.
15455 * sysdeps/i386/fpu/e_pow.S: Likewise.
15456 * sysdeps/i386/fpu/e_powf.S: Likewise.
15457 * sysdeps/i386/fpu/e_powl.S: Likewise.
15458 * sysdeps/i386/fpu/e_remainder.S: Likewise.
15459 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
15460 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
15461 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15462 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15463 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15464 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
15465 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
15466 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
15467 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15468 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15469 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15470 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15471 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15472 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15473 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15474 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15475 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15476 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15477 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15478 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15479 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15480 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15481 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15482 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15483 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15484 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15485 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15486 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15487 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15488 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15489 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15490 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15491 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15492 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15493 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15494 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15495 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15496 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15497 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15498 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15499 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15500 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15501 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15502 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15503 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15504 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15505 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15506 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15507 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15508 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15509 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15510 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15511 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15512 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15513 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15514 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15515 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15516 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15517 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15518 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15519 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15520 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15521 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15522 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15523 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15524 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15525 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15526 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15527 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15528 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15529 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15530 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15531 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15532 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15533 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15534 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15535 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15536 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15537 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15538 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15539 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15540 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15541 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15542 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15543 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15544 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15545 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15546 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15547 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15548 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15549 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15550 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15551 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15552 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15553 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15554 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15555 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15556 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15557 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15558 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15559 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15560 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15561 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15562 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15563 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15564 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15565 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15566 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15567 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
15568 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
15569 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
15570 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
15571 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15572 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15573 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15574 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15575 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
15576 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15577 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
15578 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
15579 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
15580 (__isnanf): Likewise.
15581 (__isinf_ns): Likewise.
15582 (__isinf_nsf): Likewise.
15583 (__finite): Likewise.
15584 (__finitef): Likewise.
15585 (__ieee754_sqrt): Define as macro.
15586 (__ieee754_sqrtf): Define as macro.
15587 (__ieee754_sqrtl): Define as macro.
15588 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
15589 inlined copy.
15590 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
15591 __FINITE_MATH_ONLY__ consistent.
15592 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
15593
12cc2fcd
AS
155942011-10-10 Andreas Schwab <schwab@linux-m68k.org>
15595
a843a204
AS
15596 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
15597 of rawmemchr.
15598
12cc2fcd
AS
15599 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
15600
c853acd5
UD
156012011-10-09 Ulrich Drepper <drepper@gmail.com>
15602
15603 * po/ja.po: Update from translation team.
15604
c658d255
RM
156052011-10-08 Roland McGrath <roland@hack.frob.com>
15606
110946e4
RM
15607 * locale/programs/locarchive.c (prepare_address_space): New function.
15608 (create_archive, enlarge_archive, open_archive): Use it.
15609
50604220
RM
15610 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
15611 inside [SHARED], where it is used.
15612
c658d255
RM
15613 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
15614
15615 * nss/getent.c (netgroup_keys): Remove unused variable.
15616 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15617
6a621eb7
UD
156182011-10-08 Ulrich Drepper <drepper@gmail.com>
15619
7edb55ce
UD
15620 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
15621 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
15622 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
15623 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
15624 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
15625 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
15626 * math/Makefile (libm-calls): Add s_isinf_ns.
15627 * math/divtc3.c: Use __isinf_nsl instead of isinf.
15628 * math/multc3.c: Likewise.
15629 * math/s_casin.c: Likewise.
15630 * math/s_casinf.c: Likewise.
15631 * math/s_casinl.c: Likewise.
15632 * math/s_ccos.c: Likewise.
15633 * math/s_ccosf.c: Likewise.
15634 * math/s_ccosl.c: Likewise.
15635 * math/s_ctan.c: Likewise.
15636 * math/s_ctanf.c: Likewise.
15637 * math/s_ctanh.c: Likewise.
15638 * math/s_ctanhf.c: Likewise.
15639 * math/s_ctanhl.c: Likewise.
15640 * math/s_ctanl.c: Likewise.
15641 * math/w_fmod.c: Likewise.
15642 * math/w_fmodf.c: Likewise.
15643 * math/w_fmodl.c: Likewise.
15644 * math/w_remainder.c: Likewise.
15645 * math/w_remainderf.c: Likewise.
15646 * math/w_remainderl.c: Likewise.
15647 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
15648 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
15649 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
15650 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
15651 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
15652 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
15653 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
15654 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
15655
187da0ae
UD
15656 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
15657 of the number.
15658 * stdio-common/printf_fphex.c: Likewise.
15659 * stdio-common/printf_size.c: Likewise.
15660
9277c064
UD
15661 * math/e_exp10.c: Include math_private.h using <...> not "...".
15662 * math/e_exp10f.c: Likewise.
15663 * math/e_exp10l.c: Likewise.
15664 * math/e_exp2l.c: Likewise.
15665 * math/e_j0l.c: Likewise.
15666 * math/e_j1l.c: Likewise.
15667 * math/e_jnl.c: Likewise.
15668 * math/e_lgammal_r.c: Likewise.
15669 * math/e_rem_pio2l.c: Likewise.
15670 * math/e_scalb.c: Likewise.
15671 * math/e_scalbf.c: Likewise.
15672 * math/e_scalbl.c: Likewise.
15673 * math/k_cosl.c: Likewise.
15674 * math/k_sinl.c: Likewise.
15675 * math/k_tanl.c: Likewise.
15676 * math/s_cacoshf.c: Likewise.
15677 * math/s_catan.c: Likewise.
15678 * math/s_catanf.c: Likewise.
15679 * math/s_catanh.c: Likewise.
15680 * math/s_catanhf.c: Likewise.
15681 * math/s_catanhl.c: Likewise.
15682 * math/s_catanl.c: Likewise.
15683 * math/s_ccosh.c: Likewise.
15684 * math/s_ccoshf.c: Likewise.
15685 * math/s_ccoshl.c: Likewise.
15686 * math/s_cexp.c: Likewise.
15687 * math/s_cexpf.c: Likewise.
15688 * math/s_cexpl.c: Likewise.
15689 * math/s_clog.c: Likewise.
15690 * math/s_clog10.c: Likewise.
15691 * math/s_clog10f.c: Likewise.
15692 * math/s_clog10l.c: Likewise.
15693 * math/s_clogf.c: Likewise.
15694 * math/s_clogl.c: Likewise.
15695 * math/s_csin.c: Likewise.
15696 * math/s_csinf.c: Likewise.
15697 * math/s_csinh.c: Likewise.
15698 * math/s_csinhf.c: Likewise.
15699 * math/s_csinhl.c: Likewise.
15700 * math/s_csinl.c: Likewise.
15701 * math/s_csqrt.c: Likewise.
15702 * math/s_csqrtf.c: Likewise.
15703 * math/s_csqrtl.c: Likewise.
15704 * math/s_ctan.c: Likewise.
15705 * math/s_ctanf.c: Likewise.
15706 * math/s_ctanh.c: Likewise.
15707 * math/s_ctanhf.c: Likewise.
15708 * math/s_ctanhl.c: Likewise.
15709 * math/s_ctanl.c: Likewise.
15710 * math/s_ldexp.c: Likewise.
15711 * math/s_ldexpf.c: Likewise.
15712 * math/s_ldexpl.c: Likewise.
15713 * math/s_significand.c: Likewise.
15714 * math/s_significandf.c: Likewise.
15715 * math/s_significandl.c: Likewise.
15716 * math/w_acos.c: Likewise.
15717 * math/w_acosf.c: Likewise.
15718 * math/w_acosh.c: Likewise.
15719 * math/w_acoshf.c: Likewise.
15720 * math/w_acoshl.c: Likewise.
15721 * math/w_acosl.c: Likewise.
15722 * math/w_asin.c: Likewise.
15723 * math/w_asinf.c: Likewise.
15724 * math/w_asinl.c: Likewise.
15725 * math/w_atan2.c: Likewise.
15726 * math/w_atan2f.c: Likewise.
15727 * math/w_atan2l.c: Likewise.
15728 * math/w_atanh.c: Likewise.
15729 * math/w_atanhf.c: Likewise.
15730 * math/w_atanhl.c: Likewise.
15731 * math/w_cosh.c: Likewise.
15732 * math/w_coshf.c: Likewise.
15733 * math/w_coshl.c: Likewise.
15734 * math/w_dremf.c: Likewise.
15735 * math/w_exp10.c: Likewise.
15736 * math/w_exp10f.c: Likewise.
15737 * math/w_exp10l.c: Likewise.
15738 * math/w_exp2.c: Likewise.
15739 * math/w_exp2f.c: Likewise.
15740 * math/w_fmod.c: Likewise.
15741 * math/w_fmodf.c: Likewise.
15742 * math/w_fmodl.c: Likewise.
15743 * math/w_hypot.c: Likewise.
15744 * math/w_hypotf.c: Likewise.
15745 * math/w_hypotl.c: Likewise.
15746 * math/w_j0.c: Likewise.
15747 * math/w_j0f.c: Likewise.
15748 * math/w_j0l.c: Likewise.
15749 * math/w_j1.c: Likewise.
15750 * math/w_j1f.c: Likewise.
15751 * math/w_j1l.c: Likewise.
15752 * math/w_jn.c: Likewise.
15753 * math/w_jnf.c: Likewise.
15754 * math/w_jnl.c: Likewise.
15755 * math/w_lgamma.c: Likewise.
15756 * math/w_lgamma_r.c: Likewise.
15757 * math/w_lgammaf.c: Likewise.
15758 * math/w_lgammaf_r.c: Likewise.
15759 * math/w_lgammal.c: Likewise.
15760 * math/w_lgammal_r.c: Likewise.
15761 * math/w_log.c: Likewise.
15762 * math/w_log10.c: Likewise.
15763 * math/w_log10f.c: Likewise.
15764 * math/w_log10l.c: Likewise.
15765 * math/w_log2.c: Likewise.
15766 * math/w_log2f.c: Likewise.
15767 * math/w_log2l.c: Likewise.
15768 * math/w_logf.c: Likewise.
15769 * math/w_logl.c: Likewise.
15770 * math/w_pow.c: Likewise.
15771 * math/w_powf.c: Likewise.
15772 * math/w_powl.c: Likewise.
15773 * math/w_remainder.c: Likewise.
15774 * math/w_remainderf.c: Likewise.
15775 * math/w_remainderl.c: Likewise.
15776 * math/w_scalb.c: Likewise.
15777 * math/w_scalbf.c: Likewise.
15778 * math/w_scalbl.c: Likewise.
15779 * math/w_sinh.c: Likewise.
15780 * math/w_sinhf.c: Likewise.
15781 * math/w_sinhl.c: Likewise.
15782 * math/w_sqrt.c: Likewise.
15783 * math/w_sqrtf.c: Likewise.
15784 * math/w_sqrtl.c: Likewise.
15785 * math/w_tgamma.c: Likewise.
15786 * math/w_tgammaf.c: Likewise.
15787 * math/w_tgammal.c: Likewise.
15788
6a621eb7
UD
15789 * po/ja.po: Update from translation team.
15790
bf582445
AJ
157912011-09-29 Andreas Jaeger <aj@suse.de>
15792
f9efbf3a
AJ
15793 [BZ #13179]
15794 * sunrpc/netname.c (netname2host): Fix logic.
15795
bf582445
AJ
15796 [BZ #6779]
15797 [BZ #6783]
15798 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
15799 correctly.
15800 * math/w_remainder.c (__remainder): Likewise.
15801 * math/w_remainderf.c (__remainderf): Likewise.
15802 * math/libm-test.inc (remainder_test): Add test cases.
15803
48693bea
AK
158042011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15805
15806 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
15807 sdiv_qrnnd.
15808
42622229
LD
158092011-10-07 Ulrich Drepper <drepper@gmail.com>
15810
15811 * string/test-memcmp.c: Avoid unncessary #defines.
15812 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15813
093ecf92
LD
158142011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15815
15816 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
15817 Use new sse2 version for core i3 - i7 as it's faster
15818 than sse42 version.
15819 (bit_Prefer_PMINUB_for_stringop): New.
15820 * sysdeps/x86_64/rawmemchr.S: Update.
15821 Replace with faster SSE2 version.
15822 * sysdeps/x86_64/memrchr.S: New file.
15823 * sysdeps/x86_64/memchr.S: Update.
15824 Replace with faster SSE2 version.
15825
fde56e5c
MP
158262011-09-12 Marek Polacek <mpolacek@redhat.com>
15827
15828 * elf/dl-load.c (lose): Add cast to avoid warning.
15829
21fd49a9
UD
158302011-10-07 Ulrich Drepper <drepper@gmail.com>
15831
5a06e643
UD
15832 * po/ca.po: Update from translation team.
15833
684ae515
UD
15834 * inet/getnetgrent_r.c: Hook up nscd.
15835 * nscd/Makefile (routines): Add nscd_netgroup.
15836 (nscd-modules): Add netgroupcache.
15837 (CFLAGS-netgroupcache.c): Define.
15838 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
15839 (cache_search): Add const to second parameter.
15840 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
15841 INNETGR.
15842 (dbs): Add netgrdb entry.
15843 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
15844 (verify_persistent_db): Handle netgrdb.
15845 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
15846 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
15847 GETFDNETGR.
15848 (netgroup_response_header): Define.
15849 (innetgroup_response_header): Define.
15850 (datahead): Add netgroup_response_header and innetgroup_response_header
15851 elements.
15852 * nscd/nscd.conf: Add entries for netgroup cache.
15853 * nscd/nscd.h (dbtype): Add netgrdb.
15854 (_PATH_NSCD_NETGROUP_DB): Define.
15855 (netgroup_iov_disabled): Declare.
15856 (xmalloc, xcalloc, xrealloc): Move declarations here.
15857 (cache_search): Adjust prototype.
15858 Add netgroup-related prototypes.
15859 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
15860 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
15861 (__nscd_innetgr): Declare.
15862 * nscd/selinux.c (perms): Use access_vector_t as element type and
15863 add netgroup-related initializers.
15864 * nscd/netgroupcache.c: New file.
15865 * nscd/nscd_netgroup.c: New file.
15866 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
15867 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
15868 For four parameters use innetgr.
15869 * nss/nss_files/files-init.c: Add definition and callback for netgr.
15870 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
15871 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
15872 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
15873
21fd49a9
UD
15874 * nscd/connections.c (register_traced_file): Don't register file
15875 for disabled databases.
15876
054c0457
UD
158772011-10-06 Ulrich Drepper <drepper@gmail.com>
15878
32b63198
UD
15879 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
15880
054c0457
UD
15881 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
15882 from tree and freeing node.
15883
64031225
JO
158842011-09-25 Jiri Olsa <jolsa@redhat.com>
15885
15886 * nss/nsswitch.c (__nss_database_lookup): Handle
15887 nss_parse_service_list out of memory case.
15888
0490345c
JO
158892011-09-15 Jiri Olsa <jolsa@redhat.com>
15890
15891 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
15892 out of memory case.
15893
3a62d00d
AS
158942011-10-04 Andreas Schwab <schwab@redhat.com>
15895
15896 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
15897 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
15898 pass it down.
15899 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
15900 elf_machine_rela, elf_machine_lazy_rel.
15901 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
15902 (ELF_DYNAMIC_DO_REL): Likewise.
15903 (ELF_DYNAMIC_DO_RELA): Likewise.
15904 (ELF_DYNAMIC_RELOCATE): Likewise.
15905 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
15906 to ELF_DYNAMIC_DO_REL.
15907 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
15908 (dl_main): In trace mode always set __RTLD_NOIFUNC.
15909 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
15910 elf_machine_rela.
15911 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
15912 skip_ifunc, don't call ifunc function if non-zero.
15913 (elf_machine_rela): Likewise.
15914 (elf_machine_lazy_rel): Likewise.
15915 (elf_machine_lazy_rela): Likewise.
15916 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15917 (elf_machine_lazy_rel): Likewise.
15918 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15919 Likewise.
15920 (elf_machine_lazy_rel): Likewise.
15921 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15922 Likewise.
15923 (elf_machine_lazy_rel): Likewise.
15924 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
15925 (elf_machine_lazy_rel): Likewise.
15926 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
15927 (elf_machine_lazy_rel): Likewise.
15928 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15929 (elf_machine_lazy_rel): Likewise.
15930 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
15931 (elf_machine_lazy_rel): Likewise.
15932 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
15933 (elf_machine_lazy_rel): Likewise.
15934 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15935 (elf_machine_lazy_rel): Likewise.
15936
68577918
UD
159372011-09-28 Ulrich Drepper <drepper@gmail.com>
15938
15939 * nss/nss_files/files-init.c (_nss_files_init): Use static
15940 initialization for all the *_traced_file variables.
15941
68822d74
AS
159422011-09-28 Andreas Schwab <schwab@redhat.com>
15943
15944 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15945
2056100b
RM
159462011-09-27 Roland McGrath <roland@hack.frob.com>
15947
15948 [BZ #13226]
15949 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
15950
32c76b63
AS
159512011-09-27 Andreas Schwab <schwab@redhat.com>
15952
15953 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15954 Reread the line before reparsing it.
15955
bf972c9d
AS
159562011-09-26 Andreas Schwab <schwab@redhat.com>
15957
15958 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
15959
e057a1b5
JM
159602011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
15961 Maxim Kuvyrkov <maxim@codesourcery.com>
15962 Joseph Myers <joseph@codesourcery.com>
15963
15964 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
15965 if needed for __stack_chk_guard.
15966
bc7e1c36
RM
159672011-09-19 Roland McGrath <roland@hack.frob.com>
15968
ecb1482f
RM
15969 * sysdeps/posix/spawni.c (script_execute): Always define it.
15970 It will be optimized away if unused.
15971 (maybe_script_execute): New function.
15972 (__spawni): Call it.
15973
bc7e1c36
RM
15974 * Makerules: Don't include tls.make.
15975 (config-tls): Always set to thread.
15976 * tls.make.c: File removed.
15977
1c3b002b
MF
159782011-09-19 Mike Frysinger <vapier@gentoo.org>
15979
15980 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
15981 * config.make.in (CPPFLAGS-config): New substituted variable.
15982
2840865d
UD
159832011-09-15 Ulrich Drepper <drepper@gmail.com>
15984
88738eb6
UD
15985 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
15986
cbf645a6 15987 [BZ #13192]
2840865d
UD
15988 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
15989 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
15990
b402e91a
RM
159912011-09-15 Roland McGrath <roland@hack.frob.com>
15992
15993 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
15994 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
15995 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15996 (CALL_FAIL): Likewise.
15997 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
15998 (CALL_FAIL): Macro removed.
15999 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
16000
4c1a1f71
UD
160012011-09-15 Ulrich Drepper <drepper@gmail.com>
16002
16003 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
16004 for __FINITE_MATH_ONLY__ == 1.
16005
edc121be
AS
160062011-09-15 Andreas Schwab <schwab@redhat.com>
16007
16008 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
16009 __ieee754_sqrt instead of sqrt.
16010 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
16011 __ieee754_sqrtf instead of sqrtf.
16012 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
16013 __floorf instead of floorf.
16014 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
16015 __floorf, __truncf instead of floorf, truncf.
16016
cd205654
UD
160172011-09-14 Ulrich Drepper <drepper@gmail.com>
16018
ee4d0315
UD
16019 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
16020
cd205654
UD
16021 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
16022 __extern_always_inline.
16023 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
16024 32-bit.
16025
48b67d71
AS
160262011-09-14 Andreas Schwab <schwab@redhat.com>
16027
16028 * elf/rtld.c (dl_main): Also relocate in dependency order when
16029 doing symbol dependency testing.
16030
1ae12c75
AS
160312011-09-13 Andreas Schwab <schwab@linux-m68k.org>
16032
16033 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16034 Always define `refsym'.
16035
995a80df
AS
160362011-09-13 Andreas Schwab <schwab@redhat.com>
16037
e529793b
AS
16038 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
16039 (__FD_ELT): Renamed from __FDELT.
16040 * misc/bits/select2.h (__FD_ELT): Likewise.
16041 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
16042 __FD_MASK instead of __FDELT, __FDMASK.
16043 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16044 Likewise.
16045 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16046 Likewise.
16047
52d4fef8
AS
16048 * elf/Makefile (gen-ldd): Fix pattern.
16049
995a80df
AS
16050 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
16051 (init_tls): Likewise.
16052
8682f8b0
UD
160532011-09-12 Ulrich Drepper <drepper@gmail.com>
16054
16055 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
16056
de82006d
AS
160572011-09-12 Andreas Schwab <schwab@redhat.com>
16058
a7c8e6a1
AS
16059 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
16060 `struct cmsghdr *' instead of `void *'.
16061 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
16062 Likewise.
16063
0f31fe77
AS
160642011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16065
16066 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
16067 if non-absolute.
16068 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
16069 ldd_rewrite_script.
0f31fe77 16070
32b4c839
UD
160712011-09-11 Ulrich Drepper <drepper@gmail.com>
16072
83cd1420
UD
16073 * configure.in: Remove --with-tls option.
16074 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
16075 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
16076 out in case it is missing.
16077 * sysdeps/ia64/elf/configure.in: Likewise.
16078 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
16079 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
16080 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
16081 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
16082 * sysdeps/sh/elf/configure.in: Likewise.
16083 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
16084 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16085 * sysdeps/x86_64/elf/configure.in: Likewise.
16086 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
16087 * sysdeps/mach/hurd/tls.h: Likewise.
16088
633f745d
UD
16089 [BZ #13067]
16090 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
16091
f318beb8
UD
16092 [BZ #13090]
16093 * configure.in: Fix use of AC_INIT.
16094
32b4c839
UD
16095 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
16096
3ce1f295
UD
160972011-09-10 Ulrich Drepper <drepper@gmail.com>
16098
bb016596
UD
16099 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
16100 __set_errno.
8e58439c
UD
16101 * malloc/hooks.c: Likewise.
16102
aebae053 16103 [BZ #11929]
02d46fc4
UD
16104 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
16105 variables statically.
16106 (narenas): Initialize.
16107 (list_lock): Initialize.
bb016596
UD
16108 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
16109 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
16110 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
16111 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
16112 Add initializers to main_arena and mp_.
16113 (malloc_state): Remove pagesize member. Change all users to use
16114 GLRO(dl_pagesize).
16115
16116 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
16117 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
16118 is always initialized.
16119
22a89187
UD
16120 * malloc/malloc.c: Removed unused configurations and dead code.
16121 * malloc/arena.c: Likewise.
16122 * malloc/hooks.c: Likewise.
02d46fc4 16123 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 16124
d063d164
UD
16125 * include/tls.h: Removed. USE___THREAD must always be defined.
16126 * bits/libc-tsd.h: Don't handle !USE___THREAD.
16127 * elf/dl-libc.c: Likewise.
16128 * elf/dl-tsd.c: Likewise.
16129 * include/errno.h: Likewise.
16130 * include/netdb.h: Likewise.
16131 * include/resolv.h: Likewise.
16132 * inet/herrno-loc.c: Likewise.
16133 * inet/herrno.c: Likewise.
16134 * malloc/arena.c: Likewise.
16135 * malloc/hooks.c: Likewise.
16136 * malloc/malloc.c: Likewise.
16137 * resolv/res-state.c: Likewise.
16138 * resolv/res_libc.c: Likewise.
16139 * sysdeps/i386/dl-machine.h: Likewise.
16140 * sysdeps/ia64/dl-machine.h: Likewise.
16141 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16142 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16143 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16144 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16145 * sysdeps/sh/dl-machine.h: Likewise.
16146 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16147 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16148 * sysdeps/unix/i386/sysdep.S: Likewise.
16149 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16150 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
16151 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
16152 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16153 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
16154 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16155 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16156 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16157 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16158 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16159 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16160 * sysdeps/x86_64/dl-machine.h: Likewise.
16161 * tls.make.c: Likewise.
16162
3ce1f295
UD
16163 * configure.in: Remove --with-__thread option. Make tests for
16164 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
16165 tls_model attribute fail if no support is available. Remove
16166 USE_IN_LIBIO.
16167 * Makeconfig: Adjust for dropped configure option. All features are
16168 now mandatory.
16169 * Makerules: Likewise.
16170 * Versions.def: Likewise.
16171 * argp/argp-fmtstream.c: Likewise.
16172 * argp/argp-fmtstream.h: Likewise.
16173 * argp/argp-help.c: Likewise.
16174 * assert/assert.c: Likewise.
16175 * config.h.in: Likewise.
16176 * config.make.in: Likewise.
16177 * configure: Likewise.
16178 * configure.in: Likewise.
16179 * csu/Versions: Likewise.
16180 * csu/init.c: Likewise.
16181 * elf/tst-audit2.c: Likewise.
16182 * elf/tst-tls10.c: Likewise.
16183 * elf/tst-tls10.h: Likewise.
16184 * elf/tst-tls11.c: Likewise.
16185 * elf/tst-tls12.c: Likewise.
16186 * elf/tst-tls14.c: Likewise.
16187 * elf/tst-tlsmod11.c: Likewise.
16188 * elf/tst-tlsmod12.c: Likewise.
16189 * elf/tst-tlsmod13.c: Likewise.
16190 * elf/tst-tlsmod13a.c: Likewise.
16191 * elf/tst-tlsmod14a.c: Likewise.
16192 * elf/tst-tlsmod15b.c: Likewise.
16193 * elf/tst-tlsmod16a.c: Likewise.
16194 * elf/tst-tlsmod16b.c: Likewise.
16195 * elf/tst-tlsmod7.c: Likewise.
16196 * elf/tst-tlsmod8.c: Likewise.
16197 * elf/tst-tlsmod9.c: Likewise.
16198 * gmon/gmon.c: Likewise.
16199 * grp/fgetgrent_r.c: Likewise.
16200 * grp/putgrent.c: Likewise.
16201 * hurd/fopenport.c: Likewise.
16202 * include/libc-symbols.h: Likewise.
16203 * include/tls.h: Likewise.
16204 * intl/gettextP.h: Likewise.
16205 * intl/loadinfo.h: Likewise.
16206 * locale/global-locale.c: Likewise.
16207 * locale/localeinfo.h: Likewise.
16208 * mach/devstream.c: Likewise.
16209 * malloc/arena.c: Likewise.
16210 * malloc/set-freeres.c: Likewise.
16211 * misc/err.c: Likewise.
16212 * misc/getttyent.c: Likewise.
16213 * misc/mntent_r.c: Likewise.
16214 * posix/getopt.c: Likewise.
16215 * posix/wordexp.c: Likewise.
16216 * pwd/fgetpwent_r.c: Likewise.
16217 * resolv/Versions: Likewise.
16218 * resolv/res_hconf.c: Likewise.
16219 * shadow/fgetspent_r.c: Likewise.
16220 * shadow/putspent.c: Likewise.
16221 * stdio-common/printf_fphex.c: Likewise.
16222 * stdio-common/tmpfile.c: Likewise.
16223 * stdlib/abort.c: Likewise.
16224 * stdlib/fmtmsg.c: Likewise.
16225 * sunrpc/auth_unix.c: Likewise.
16226 * sunrpc/clnt_perr.c: Likewise.
16227 * sunrpc/clnt_tcp.c: Likewise.
16228 * sunrpc/clnt_udp.c: Likewise.
16229 * sunrpc/clnt_unix.c: Likewise.
16230 * sunrpc/openchild.c: Likewise.
16231 * sunrpc/svc_simple.c: Likewise.
16232 * sunrpc/svc_tcp.c: Likewise.
16233 * sunrpc/svc_udp.c: Likewise.
16234 * sunrpc/svc_unix.c: Likewise.
16235 * sunrpc/xdr.c: Likewise.
16236 * sunrpc/xdr_array.c: Likewise.
16237 * sunrpc/xdr_rec.c: Likewise.
16238 * sunrpc/xdr_ref.c: Likewise.
16239 * sunrpc/xdr_stdio.c: Likewise.
16240
1248c1c4
PB
162412011-09-09 Ulrich Drepper <drepper@gmail.com>
16242
16243 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16244
162452011-07-03 Andreas Jaeger <aj@suse.de>
16246
16247 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
16248 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
16249 regenerate with gen-libm-tests.pl.
16250
162512010-05-12 Petr Baudis <pasky@suse.cz>
16252
16253 [BZ #11589]
16254 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
16255 around j0() zero points by switching to j1().
16256 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16257 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16258 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16259 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16260
f22e1074
UD
162612011-09-09 Ulrich Drepper <drepper@gmail.com>
16262
f19009c1
UD
16263 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
16264 instead of 0.
16265 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
16266 instead of 0. .
16267 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16268 Patch in part by Pavel Roskin <proski@gnu.org>.
16269
3f8cc204
UD
16270 [BZ #13138]
16271 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
16272 realloc.
16273 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
16274 Free memory block if necessary.
16275
f22e1074
UD
16276 [BZ #12847]
16277 * libio/genops.c (INTDEF): For string streams the _lock pointer can
16278 be NULL. Don't lock in this case.
16279
0a2349f9
RM
162802011-09-09 Roland McGrath <roland@hack.frob.com>
16281
16282 * elf/elf.h (ELFOSABI_GNU): New macro.
16283 (ELFOSABI_LINUX): Define to that.
16284
f3cdd467
DZ
162852011-07-29 Denis Zaitceff <zaitceff@gmail.com>
16286
16287 * string/strncat.c (strncat): Undef the symbol in case it has been
16288 defined in bits/string.h.
16289
74718d13
UD
162902011-09-09 Ulrich Drepper <drepper@gmail.com>
16291
633e9e0f
UD
16292 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
16293
0a2349f9 16294 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
16295 link map.
16296
f9924780
AJ
162972011-08-17 Andreas Jaeger <aj@suse.de>
16298
16299 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
16300
7f5517aa
PP
163012011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16302 Ian Lance Taylor <iant@google.com>
16303
16304 * math/libm-test.inc (lround_test): New testcase.
16305 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
16306
762011fe
UD
163072011-09-08 Ulrich Drepper <drepper@gmail.com>
16308
92963737
UD
16309 * Makefile: Remove support for automatic cvs check-ins.
16310 * Makerules: Likewise.
16311 * config.make.in: Likewise.
16312 * configure.in: Likewise.
16313 * intl/Makefile: Likewise.
16314 * locale/Makefile: Likewise.
16315 * po/Makefile: Likewise.
16316 * posix/Makefile: Likewise.
16317 * sysdeps/gnu/Makefile: Likewise.
16318 * sysdeps/mach/hurd/Makefile: Likewise.
16319 * sysdeps/sparc/sparc32/Makefile: Likewise.
16320
b0727fd8
JS
16321 [BZ #13118]
16322 * posix/Makefile (bug-regex32-ENV): Define.
16323 Patch by John Stanley <jpsinthemix@verizon.net>.
16324
a0f33f99
UD
16325 * misc/Makefile (headers): Add bits/select2.h.
16326 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
16327 * misc/bits/select2.h: New file.
16328 * include/bits/select2.h: New file.
16329 * debug/Makefile (routines): Add fdelt_chk.
16330 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
16331 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
16332 FD_ISSET.
16333 * debug/fdelt_chk.c: New file.
16334
762011fe
UD
16335 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
16336 * wcsmbs/test-wmemcmp.c: Likewise.
16337 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 16338 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
16339
163402011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16341
16342 * string/Makefile (strop-tests): Add memcmp.
16343 * string/test-wmemcmp.c: New file.
16344 * string/test-memcmp.c: Add wmemcmp support.
16345
7f513ec8
RM
163462011-09-08 Roland McGrath <roland@hack.frob.com>
16347
0442afb4
RM
16348 [BZ #13153]
16349 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
16350 2011-07-19 change.
16351
7f513ec8
RM
16352 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
16353 garbage value in a __mach_port_mod_refs call in the cases of the
16354 task-self and thread-self ports.
16355
a12b2239
ST
163562011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16357
16358 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
16359
610f9ab4
AS
163602011-09-08 Andreas Schwab <schwab@redhat.com>
16361
7f513ec8 16362 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 16363
48882a1a
LD
163642011-09-07 Ulrich Drepper <drepper@gmail.com>
16365
b49865be
UD
16366 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
16367
fdc86bc9
UD
16368 * elf/dl-libc.c (dlerror_run): Pass back error code from
16369 dl_catch_error.
16370
c966526a
UD
16371 [BZ #13123]
16372 * elf/dl-load.c (lose): Free l_origin if it is valid.
16373
48882a1a
LD
16374 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
16375 names.
16376 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16377 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16378 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16379 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16380 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16381 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
16382
77a2a8b4
AZ
163832011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16384
16385 * sysdeps/powerpc/fpu/e_hypot.c: New file.
16386 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
16387 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
16388 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
16389 * sysdeps/powerpc/fpu/k_cosf.c: New file.
16390 * sysdeps/powerpc/fpu/k_sinf.c: New file.
16391 * sysdeps/powerpc/fpu/s_cosf.c: New file.
16392 * sysdeps/powerpc/fpu/s_sinf.c: New file.
16393 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
16394 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
16395
24f579d8
AM
163962011-08-15 Alan Modra <amodra@gmail.com>
16397
16398 [BZ #13092]
16399 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
16400 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
16401 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
16402 ppc_mcount to static-only-routines.
16403 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
16404 __mcount_internal.
16405 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
16406 __mcount_internal with usual JUMPTARGET. Remove useless nop.
16407
3d4837df
UD
164082011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
16409
16410 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
16411 for finite and infinity parameters.
16412
22700377
WS
164132011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16414
16415 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
16416 and add nop instructions for throughput optimization.
16417 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16418
5025581e
WS
164192011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
16420
16421 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
16422 aligned copy for power7 with vector-scalar instructions.
16423 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16424
08a300c9
L
164252011-07-24 H.J. Lu <hongjiu.lu@intel.com>
16426
16427 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
16428 AVX check.
16429
59178ef9
AS
164302011-09-07 Andreas Schwab <schwab@redhat.com>
16431
16432 [BZ #13144]
16433 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
16434 last change.
16435
e38ba7ab
UD
164362011-09-07 Ulrich Drepper <drepper@gmail.com>
16437
16438 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16439 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
16440 syscall wrapper around clock_gettime in __vdso_clock_gettime.
16441 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
16442 clock_gettime.
16443
d53a73ac
UD
164442011-09-06 Ulrich Drepper <drepper@gmail.com>
16445
fc8bffcc
UD
16446 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
16447 Forgot to demangle the pointer.
16448
ceaa0c5d
UD
16449 * sysdeps/i386/sysdep.h: Define atom_text_section.
16450 * sysdeps/x86_64/sysdep.h: Likewise.
16451 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
16452 section with atom_text_section.
16453 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16454 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16455 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16456 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16457 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
16458
a77d3c17
UD
16459 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
16460 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
16461 already be defined. Change to take two parameters and don't assign
16462 result to variable. Adjust all users.
16463 Define INTERNAL_GETTIME if not already defined.
16464 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
16465 call.
16466 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
16467 HAVE_CLOCK_GETTIME_VSYSCALL.
16468 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
16469
d53a73ac
UD
16470 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
16471 gettimeofday vsyscall, just use time.
16472
a8f84144
AS
164732011-09-06 Andreas Schwab <schwab@redhat.com>
16474
16475 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
16476 <errno.h>.
16477
ef606249
UD
164782011-09-06 Ulrich Drepper <drepper@gmail.com>
16479
16480 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
16481 syscall on x86-64.
16482 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
16483 syscall.
16484 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16485 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
16486 syscall if possible.
16487
6585cb60
UD
164882011-09-05 Ulrich Drepper <drepper@gmail.com>
16489
16490 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
16491 e_ident. Don't pass to find_mapsXX.
16492 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
16493
a5f524e4
LD
164942011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16495
16496 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16497 strchr-sse2-no-bsf strrchr-sse2-no-bsf
16498 * sysdeps/x86_64/multiarch/strchr.S: Update.
16499 Check bit_slow_BSF bit.
16500 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16501 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
16502 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
16503
554881ef
UD
165042011-09-05 Ulrich Drepper <drepper@gmail.com>
16505
d96de963
UD
16506 [BZ #13134]
16507 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
16508 before glibc 2.15.
16509 (tryshell): Define.
16510 (__spawni): Change last parameter to be flag. Test
16511 SPAWN_XFLAGS_USE_PATH flag to use path or not.
16512 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
16513 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
16514 * posix/spawni.c: Likewise.
16515 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
16516 * posix/spawnp.c: Likewise. Change normal version to use
16517 SPAWN_XFLAGS_USE_PATH.
16518 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
16519 SPAWN_XFLAGS_TRY_SHELL.
16520
d48e5868
UD
16521 [BZ #13150]
16522 * posix/glob.h: Remove gcc 1.x support.
16523
554881ef
UD
16524 [BZ #13068]
16525 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
16526
693fb948
LD
165272011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16528
16529 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16530 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
16531 strrchr-sse2-bsf
16532 * sysdeps/i386/i686/multiarch/strchr.S: New file.
16533 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
16534 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
16535 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
16536 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
16537 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
16538
1b48c537
UD
165392011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16540
49d42c37
UD
16541 * sysdeps/x86_64/wcscmp.S: New file.
16542
1b48c537
UD
16543 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
16544 wcscmp-c wcscmp-sse2
16545 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
16546 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
16547 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
16548 * wcsmbs/wcscmp.c: Allow renaming.
16549
15c95c5d
DM
165502011-09-05 David S. Miller <davem@davemloft.net>
16551
16552 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
16553 stack slot, rather than the struct return pointer slot.
16554 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
16555 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
16556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
16557 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
16558
2f0ad8f3
UD
165592011-09-05 Ulrich Drepper <drepper@gmail.com>
16560
d88ae418
UD
16561 * po/ja.po: Update from translation team.
16562
2f0ad8f3
UD
16563 [BZ #13144]
16564 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
16565 kernel in 64-bit binaries.
16566
5f4318d1
DM
165672011-09-01 David S. Miller <davem@davemloft.net>
16568
16569 * elf/elf.h (HWCAP_SPARC_*): Move to..
16570 * sysdeps/sparc/sysdep.h: this new file and add new values.
16571 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
16572 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
16573 _DL_HWCAP_COUNT to 24.
16574 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16575 entries.
16576 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
16577 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
16578 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
16579 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
16580 instead of magic constants.
16581 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16582
3ba57516
DM
165832011-08-31 David S. Miller <davem@davemloft.net>
16584
16585 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
16586 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
16587 Reimplement to do errno handling inline.
16588 (SYSCALL_ERROR_HANDLER): New macro.
16589 (__SYSCALL_STRING): Do not do errno handling in asm.
16590 (__CLONE_SYSCALL_STRING): Delete.
16591 (__INTERNAL_SYSCALL_STRING): Delete.
16592 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
16593 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
16594 (PSEUDO): Reimplement to do errno handling inline.
16595 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
16596 (SYSCALL_ERROR_HANDLER): New macro.
16597 (__SYSCALL_STRING): Do not do errno handling in asm.
16598 (__CLONE_SYSCALL_STRING): Delete.
16599 (__INTERNAL_SYSCALL_STRING): Delete.
16600 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
16601 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
16602 i386.
16603 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
16604 (inline_syscall*): Add 'err' argument.
16605 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
16606 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
16607 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
16608 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
16609
16610 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
16611 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16612
2bc17433
AS
166132011-08-30 Andreas Schwab <schwab@redhat.com>
16614
16615 * elf/rtld.c (dl_main): Relocate objects in dependency order.
16616
fbeb5f4d
JO
166172011-08-29 Jiri Olsa <jolsa@redhat.com>
16618
16619 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
16620 directive.
16621
ad69cc26
DM
166222011-08-24 David S. Miller <davem@davemloft.net>
16623
16624 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
16625
39dd69df
AS
166262011-08-24 Andreas Schwab <schwab@redhat.com>
16627
16628 * elf/Makefile: Add rules to build and run unload8 test.
16629 * elf/unload8.c: New file.
16630 * elf/unload8mod1.c: New file.
16631 * elf/unload8mod1x.c: New file.
16632 * elf/unload8mod2.c: New file.
16633 * elf/unload8mod3.c: New file.
16634
16635 * elf/dl-close.c (_dl_close_worker): Reset private search list if
16636 it wasn't used.
16637
2c0b250a
DM
166382011-08-23 David S. Miller <davem@davemloft.net>
16639
16640 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
16641 subtract stack bias.
16642 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
16643 %sp not %fp in calculations.
16644 (_JMPBUF_UNWINDS_ADJ): Likewise.
16645
22044b48
DM
16646 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
16647 (aio_suspend): Call it to force an exception region around the
16648 AIO_MISC_WAIT() invocation.
16649
2cae4995
AS
166502011-08-23 Andreas Schwab <schwab@redhat.com>
16651
16652 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
16653 backslash.
16654
873a772e
AJ
166552011-07-04 Aurelien Jarno <aurelien@aurel32.net>
16656
16657 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
16658 protection macro.
16659 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
16660 and <dl-machine.h>.
16661 (Elf64_FuncDesc): Remove.
16662
25ad0df1
DM
166632011-08-22 David S. Miller <davem@davemloft.net>
16664
16665 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
16666 sigaltstack check, add missing cfi directives.
16667 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
16668 missing cfi directives, and sigaltstack handling.
16669
e888bcbe
AS
166702011-08-16 Andreas Schwab <schwab@redhat.com>
16671
16672 [BZ #11724]
16673 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
16674 object is seen twice.
16675 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16676
16677 * elf/Makefile (distribute): Add tst-initorder2.c.
16678 (tests): Add tst-initorder2.
16679 (modules-names): Add tst-initorder2a tst-initorder2b
16680 tst-initorder2c tst-initorder2d. Add rules to build them.
16681 ($(objpfx)tst-initorder2.out): New rule.
16682 * elf/tst-initorder2.c: New file.
16683 * elf/tst-initorder2.exp: New file.
16684
87162f46
AS
166852011-08-22 Andreas Schwab <schwab@redhat.com>
16686
70538b7f
AS
16687 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
16688
f55ffe58
AS
16689 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
16690 dependencies back to end of function.
16691
87162f46
AS
16692 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16693 $(elfobjdir)/ld.so.
16694
91b392a4
UD
166952011-08-21 Ulrich Drepper <drepper@gmail.com>
16696
16697 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
16698 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
16699 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
16700 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
16701 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
16702 of __vdso_gettimeofday.
16703 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
16704 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
16705 attribute_hidden.
16706 (_libc_vdso_platform_setup): Remove initialization of
16707 __vdso_gettimeofday and __vdso_time.
16708
5c43483f
UD
167092011-08-20 Ulrich Drepper <drepper@gmail.com>
16710
775a77e7
UD
16711 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
16712 and fgetc_unlocked.
16713 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
16714 getc_unlocked.
89f447ed 16715
49c74ba9
UD
16716 * elf/dl-open.c (add_to_global): Report additions to the global scope
16717 for LD_DEBUG=scopes.
16718 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 16719 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 16720
5c43483f
UD
16721 [BZ #13114]
16722 * stdio-common/Makefile (tests): Add bug24.
16723 * stdio-common/bug24.c: New file.
16724
a101b025
AJ
167252011-08-19 Andreas Jaeger <aj@suse.de>
16726
16727 [BZ #13114]
16728 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
16729 non-existant file when using close-on-exec mode.
16730
c88f1766
UD
167312011-08-20 Ulrich Drepper <drepper@gmail.com>
16732
0276a718
UD
16733 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
16734 the very first instruction.
16735
c88f1766
UD
16736 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
16737 the CFI state in the end.
16738 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
16739 inclusion of dl-trampoline.h.
16740 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
16741
51ccffa0
AS
167422011-08-19 Andreas Schwab <schwab@redhat.com>
16743
94d7165f
AS
16744 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
16745 expectations for long double.
16746
51ccffa0
AS
16747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
16748 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
16749
fd708658 167502011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
16751
16752 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
16753 artificual limit depends upon the system page size.
16754
44f0a71e
UD
167552011-08-17 Ulrich Drepper <drepper@gmail.com>
16756
16757 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
16758 * resolv/Makefile: Define CFLAGS-libresolv.
16759
8de79a24
AS
167602011-08-17 Andreas Schwab <schwab@redhat.com>
16761
16762 * nss/makedb.c (compute_tables): Make variables used in nested
16763 function static.
16764
27724598
UD
167652011-08-17 Ulrich Drepper <drepper@gmail.com>
16766
c5305d88
UD
16767 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
16768 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
16769 if buffer was too small.
16770
27724598
UD
16771 * elf/pldd.c (main): Attach to all threads in the process.
16772 Rewrite /proc handling to use *at functions.
16773
076fe015
UD
167742011-08-16 Ulrich Drepper <drepper@gmail.com>
16775
174baab3
UD
16776 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
16777 specifies first scope to show.
16778 (dl_open_worker): Update callers. Move printing scope of new
16779 object to before the relocation.
44f0a71e 16780 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
16781 * sysdeps/generic/ldsodefs.h: Update declaration.
16782
076fe015
UD
16783 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
16784 string for the scope number.
16785
a60df2c3
UD
167862011-08-14 Ulrich Drepper <drepper@gmail.com>
16787
16788 * nscd/servicescache.c (cache_addserv): Make sure written is always
16789 initialized.
16790
5e4287d1
RM
167912011-08-14 Roland McGrath <roland@hack.frob.com>
16792
85ae0589
RM
16793 * sysdeps/i386/i486/bits/atomic.h
16794 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
16795 statement expression, so as to suppress "set but not used" warning.
16796 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
16797
69f63097
RM
16798 * string/strncat.c (STRNCAT): Use prototype definition.
16799
675456ef
RM
16800 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
16801 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
16802 -Iprograms here.
16803 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
16804 (localedef-modules): Add localedef.
16805 (locale-modules): Add locale.
16806
5e4287d1
RM
16807 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
16808 * elf/rtld.c (dl_main): Invert order of assignment in last change,
16809 to avoid a warning.
16810
9c96ff23
DM
168112011-08-14 David S. Miller <davem@davemloft.net>
16812
16813 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
16814 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
16815
f9ddf089
UD
168162011-08-13 Ulrich Drepper <drepper@gmail.com>
16817
44f0a71e 16818 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
16819 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
16820 * elf/rtld.c (dl_main): Set l_name of vDSO.
16821 Call _dl_show_scope when DL_DEBUG_SCOPES.
16822 (process_dl_debug): Recognize scopes flag and also set it for all.
16823 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
16824 Declare _dl_show_scope.
16825
1dc27704
UD
16826 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
16827 (do_dlopen): Pass caller_dlopen to dl_open.
16828 (__libc_dlopen_mode): Initialize caller_dlopen.
16829
f9ddf089
UD
16830 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
16831 of libc. Make tolower call locale-independent. Optimize a bit by
16832 using isdigit instead of isalnum.
16833 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
16834
9ac533d3
UD
168352011-08-12 Ulrich Drepper <drepper@gmail.com>
16836
16837 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
16838 was a dependency or dynamically loaded.
16839
89edf2e9
UD
168402011-08-11 Ulrich Drepper <drepper@gmail.com>
16841
8e999d29
UD
16842 * intl/l10nflist.c: Allow architecture-specific pop function.
16843 * sysdeps/x86_64/l10nflist.c: New file.
16844
89edf2e9
UD
16845 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
16846 classification.
16847
14d96785
AS
168482011-08-10 Andreas Schwab <schwab@redhat.com>
16849
16850 * include/dirent.h: Add libc_hidden_proto for scandirat and
16851 scandirat64. Don't declare __scandirat64.
16852 * dirent/scandirat.c: Add libc_hidden_def.
16853 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
16854 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
16855
6761ac04
DM
168562011-08-10 David S. Miller <davem@davemloft.net>
16857
16858 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
16859 enum.
16860 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16861 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16862 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16863
c55fbd1e
UD
168642011-08-09 Ulrich Drepper <drepper@gmail.com>
16865
16866 * Versions.def [libc]: Add GLIBC_2.15.
16867 * dirent/Makefile (routines): Add scandirat and scandirat64.
16868 * dirent/Versions [libc]: Export scandirat and scandirat64 for
16869 GLIBC_2.15.
16870 * dirent/dirent.h: Declare scandirat and scandirat64.
16871 * dirent/scandirat.c: New file.
16872 * dirent/scandirat64.c: New file.
16873 * sysdeps/wordsize-64/scandirat.c: New file.
16874 * sysdeps/wordsize-64/scandirat64.c: New file.
16875 * dirent/opendir.c: Define opendirat.
16876 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
16877 using scandirat.
16878 * dirent/scandir64.c: Adjust for scandir.c change.
16879 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
16880 __scandirat64, and __scandir_cancel_handler.
16881 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
16882 additional parameter and use openat instead of open (outside of ld.so).
16883 Add new __opendir as wrapper around __opendirat.
16884 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
16885 here without requiring old scandirat implementation.
16886
879165f2
UD
168872011-08-08 Ulrich Drepper <drepper@gmail.com>
16888
16889 * dirent/scandir.c (cancel_handler): Renamed to
16890 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
16891 defined. Adjust users.
16892 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
16893 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16894
cb7e923b
UD
168952011-08-04 Ulrich Drepper <drepper@gmail.com>
16896
16292edd
UD
16897 * string/test-string.h (IMPL): Use __STRING to expand name and then
16898 stringify it.
16899
cb7e923b
UD
16900 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
16901 of cleanups.
16902
cff82933
LD
169032011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16904
16905 * string/Makefile: Update.
16906 (strop-tests): Append strncat.
16907 * string/test-wcscmp.c: New file.
16908 New comprehensive test for wcscmp.
16909 * string/test-strcmp.c: Update.
16910 (WIDE): New define.
16911
9be9bfcc
AS
169122011-07-22 Andreas Schwab <schwab@redhat.com>
16913
16914 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
16915 line.
16916
2e96f1c7
AS
169172011-07-26 Andreas Schwab <schwab@redhat.com>
16918
16919 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16920 encoding to ACE if AI_IDN.
16921
85188888
JJ
169222011-08-01 Jakub Jelinek <jakub@redhat.com>
16923
16924 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
16925 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
16926
5fa16e9b
LD
169272011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16928
16929 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
16930 Fix overflow bug in strncat.
16931 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16932
16933 * string/test-strncat.c: Update.
16934 Add new tests for checking overflow bugs.
16935
169362011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16937
16938 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16939 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
16940 * sysdeps/i386/i686/multiarch/strcat.S: New file.
16941 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
16942 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
16943 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
16944 * sysdeps/i386/i686/multiarch/strncat.S: New file.
16945 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
16946 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
16947
16948 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
16949 (USE_AS_STRCAT): Define.
16950 Add strcat and strncat support.
16951 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16952
8c1a459f
AS
169532011-07-25 Andreas Schwab <schwab@redhat.com>
16954
16955 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
16956 __n bigger than INT_MAX+1.
16957 (__strncmp_g): Likewise.
16958
bba33c28
UD
169592011-07-23 Ulrich Drepper <drepper@gmail.com>
16960
798be72d
UD
16961 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
16962 * libio/stido.h: Likewise.
16963
8accd4dc
UD
16964 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
16965 (AF_NFC): Define.
16966 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
16967 (AF_NFC): Define.
16968
cbff0d96
UD
16969 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
16970 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16971 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16972 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16973 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16974
9191c04a
UD
16975 [BZ #13021]
16976 * scripts/test-installation.pl: Don't expect libnss_test1 to be
16977 installed.
16978
bba33c28
UD
16979 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
16980 typo.
16981 (_dl_x86_64_save_sse): Likewise.
16982
90f139dd
UD
169832011-07-22 Ulrich Drepper <drepper@gmail.com>
16984
1aae088a
UD
16985 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
16986 OSXSAVE.
16987 (_dl_x86_64_save_sse): Likewise.
16988
8e2045f5
UD
16989 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
16990
90f139dd
UD
16991 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
16992
1d002f25
AS
169932011-07-21 Andreas Schwab <schwab@redhat.com>
16994
16995 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
16996 change.
16997 (_dl_x86_64_save_sse): Use correct AVX check.
16998
21137f89
UD
169992011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17000
17001 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
17002 bug in strncpy/strncat.
17003 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
17004
a65c0b7a
UD
170052011-07-21 Ulrich Drepper <drepper@gmail.com>
17006
17007 * string/tester.c (test_strcat): Add tests for different alignments
17008 of source and destination.
17009 (test_strncat): Likewise.
17010
6986b98a
UD
170112011-07-20 Ulrich Drepper <drepper@gmail.com>
17012
90bb2039
UD
17013 [BZ #12852]
17014 * posix/glob.c (glob): Check passed in values before using them in
17015 expressions to avoid some overflows.
17016 (glob_in_dir): Likewise.
17017
5644ef54
UD
17018 [BZ #13007]
17019 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
17020 check for AVX enablement so that we don't crash with old kernels and
17021 new hardware.
17022 * elf/tst-audit4.c: Add same checks here.
17023 * elf/tst-audit6.c: Likewise.
17024
17025 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 17026
bfc9dc9b
AS
170272011-07-09 Andreas Schwab <schwab@linux-m68k.org>
17028
17029 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
17030
702e64bb
UD
170312011-07-20 Ulrich Drepper <drepper@gmail.com>
17032
17033 * po/cs.po: Update from translation team.
17034 * po/bg.po: Likewise.
17035
295e904f
MP
170362011-07-12 Marek Polacek <mpolacek@redhat.com>
17037
17038 * misc/sys/cdefs.h: Add support for const attribute.
17039 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
17040 to gnu_dev_{major,minor,makedev} functions.
17041
3ff94596
MP
170422011-07-20 Marek Polacek <mpolacek@redhat.com>
17043
17044 * intl/dcigettext.c (get_output_charset): Add missing bracket.
17045
28b59fca
AS
170462011-07-20 Andreas Schwab <schwab@redhat.com>
17047
17048 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
17049 strlen results.
17050
19df733e
AK
170512011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17052
17053 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17054 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
17055 register in order to avoid conflicts with the soft frame pointer
17056 being held in r11 when necessary.
17057 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17058 (INTERNAL_VSYSCALL_NCS): Likewise.
17059
c8835729
MP
170602011-07-14 Marek Polacek <mpolacek@redhat.com>
17061
17062 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
17063 * elf/dl-fini.c (_dl_fini): Adjust caller.
17064 * elf/dl-close.c (_dl_close_worker): Likewise.
17065 * sysdeps/generic/ldsodefs.h: Adjust declaration.
17066
b902330c
MP
170672011-07-15 Marek Polacek <mpolacek@redhat.com>
17068
8991e135
MP
17069 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
17070 "aux_cache->nlibs < 0".
17071
b902330c
MP
17072 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
17073 in the reload-count case.
17074
99710781
LD
170752011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17076
17077 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17078 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
17079 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
17080 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
17081 * sysdeps/x86_64/multiarch/strcat.S: New file.
17082 * sysdeps/x86_64/multiarch/strncat.S: New file.
17083 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
17084 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
17085 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
17086 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
17087 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
17088 (USE_AS_STRCAT): Define.
17089 Add strcat and strncat support.
17090 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17091 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17092 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
17093 * string/strncat.c: Update.
17094 (USE_AS_STRNCAT): Define.
17095 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17096 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
17097 and i7.
17098 * sysdeps/x86_64/multiarch/init-arch.h
17099 (bit_Prefer_PMINUB_for_stringop): New.
17100 (index_Prefer_PMINUB_for_stringop): Likewise.
17101 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
17102 bit_Prefer_PMINUB_for_stringop.
17103
7dc6bd90
UD
171042011-07-19 Ulrich Drepper <drepper@gmail.com>
17105
17106 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
17107 buffer64.
17108 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
17109 of casting of buffer.
17110 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
17111 buffer32 and buffer64.
17112 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
17113 writes instead of casting of buffer.
17114 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
17115 buffer32.
17116 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
17117 casting of buffer.
17118
e0e72284
AS
171192011-07-19 Andreas Schwab <schwab@redhat.com>
17120
17121 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
17122
feb1eb0b
UD
171232011-07-19 Ulrich Drepper <drepper@gmail.com>
17124
17125 * nscd/nscd.c (termination_handler): Don't do anything for a database
17126 if it has not yet been initialized.
17127
298711ff
UD
171282011-07-18 Ulrich Drepper <drepper@gmail.com>
17129
17130 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17131
171322011-07-15 Marek Polacek <mpolacek@redhat.com>
17133
17134 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17135
f9d68389
UD
171362011-07-18 Ulrich Drepper <drepper@gmail.com>
17137
17138 * po/nl.po: Update from translation team.
17139 * po/sv.po: Likewise.
17140
db290cf5
RM
171412011-07-16 Roland McGrath <roland@hack.frob.com>
17142
17143 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
17144 now disallowed by GCC.
5c550700 17145
fd5e21c7
RM
17146 * configure.in (use-default-link): Default to yes if a test -shared
17147 link meets our qualifications.
17148 * configure: Regenerated.
17149
5c550700
RM
17150 * config.make.in (output-format): New variable.
17151 * configure.in: Check for ld --print-output-format support.
17152 * configure: Regenerated.
17153 * Makerules ($(common-objpfx)format.lds)
17154 [$(output-format) != unknown]: Just use $(output-format),
17155 instead of the linker-script munging.
17156
9fa2c032
RM
171572011-07-14 Roland McGrath <roland@hack.frob.com>
17158
a6928d51
RM
17159 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
17160 of $(common-objpfx)shlib.lds.
17161 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
17162
661607b3
RM
17163 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
17164 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
17165
9fa2c032
RM
17166 * configure.in (-z relro check): Adjust test code to add a large
17167 writable data section after it.
17168 * configure: Regenerated.
17169
defe9061
RM
171702011-07-11 Roland McGrath <roland@hack.frob.com>
17171
17172 * configure.in (-z relro check): Fix test code to make the variable
17173 truly const.
17174 * configure: Regenerated.
17175
319b9ad4
UD
171762011-07-11 Ulrich Drepper <drepper@gmail.com>
17177
17178 * nscd/nscd.h (struct traced_file): Define.
17179 (struct database_dyn): Remove inotify_descr, reset_res, and filename
17180 elements. Add traced_files.
17181 (inotify_fd): Declare.
17182 (register_traced_file): Declare.
17183 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
17184 (inotify_fd): Export.
17185 (resolv_conf_descr): Remove.
17186 (nscd_init): Move inotify descriptor creation to main.
17187 Don't register files for notification here.
17188 (register_traced_file): New function.
17189 (invalidate_cache): Don't use reset_res to determine whether to call
17190 res_init, go through the list of registered files.
17191 (main_loop_poll): The inotify descriptors are now stored in the
17192 structures for the traced files.
17193 (main_loop_epoll): Likewise
17194 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
17195 to __nss_disable_nscd.
17196 * nscd/cache.c (prune_cache): There is no single inotify descriptor
17197 for a database anymore. Check the records for all the registered
17198 files instead.
17199 * nss/Makefile (libnss_files-routines): Add files-init.
17200 (libnss_db-routines): Add db-init.
17201 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
17202 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
17203 * nss/nss_db/db-init.c: New file.
17204 * nss/nss_files/files-init.c: New file.
17205 * nss/nsswitch.c (nss_load_library): New function. Broken out of
17206 __nss_lookup_function.
17207 (__nss_lookup_function): Call nss_load_library.
17208 (nss_load_all_libraries): New function.
17209 (__nss_disable_nscd): Take parameter with callback function for files
17210 to register. Set is_nscd. Load all the DSOs for the NSS modules
17211 used for the cached services.
17212 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
17213 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
17214 options for features to all the files in nscd.
17215
17216 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
17217
23bee3e8
RM
172182011-07-10 Roland McGrath <roland@hack.frob.com>
17219
17220 * csu/elf-init.c (__libc_csu_init): Comment typo.
17221
46a5b7f0
UD
172222011-07-09 Ulrich Drepper <drepper@gmail.com>
17223
17224 * po/pl.po: Update from translation team.
17225 * po/ja.po: Likewise.
17226 * po/ru.po: Likewise.
17227 * po/ko.po: Likewise.
17228 * po/fr.po: Likewise.
17229
d30cf5bb
RM
172302011-07-09 Roland McGrath <roland@hack.frob.com>
17231
113ddea4
RM
17232 * configure.in (.ctors/.dtors header and trailer check):
17233 Use an empirical test on a built program.
17234 * configure: Regenerated.
17235
574920b4
RM
17236 * configure.in (-z relro check): Use an empirical test on a built DSO.
17237 Detect, but do not require, on ia64.
17238 * configure: Regenerated.
17239
d30cf5bb
RM
17240 * configure.in (READELF): Find it with AC_CHECK_TOOL.
17241 Update tests that use readelf to use $READELF instead.
17242 * configure: Regenerated.
17243
8538fdb3
UD
172442011-07-08 Ulrich Drepper <drepper@gmail.com>
17245
17246 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
17247 if the result is not used.
17248
04d08991
AJ
172492011-07-05 Andreas Jaeger <aj@suse.de>
17250
17251 [BZ#9696]
17252 * stdlib/tst-strtod.c: Add testcase.
17253
de283087
AD
172542011-07-07 Ulrich Drepper <drepper@gmail.com>
17255
4e5f31c8 17256 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 17257 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
17258 The latter has a higher limit. Take additional parameter to pass to
17259 the new function.
17260 (__pathconf): Pass file to __statfs_link_max.
17261 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
17262 __statfs_link_max.
17263 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
17264 __statfs_link_max.
17265
de283087
AD
17266 [BZ #12868]
17267 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
17268 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17269 Handle Lustre.
17270 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
17271 (__statfs_filesize_max): Likewise.
17272 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
17273
c75fa153
AJ
172742011-07-05 Andreas Jaeger <aj@suse.de>
17275
17276 * resolv/res_comp.c (dn_skipname): Remove unused variable.
17277
1a544854
UD
172782011-07-06 Marek Polacek <mpolacek@redhat.com>
17279
17280 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
17281 `status' variable.
17282 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
17283 Likewise.
17284
6f0eec67
UD
172852011-07-04 H.J. Lu <hongjiu.lu@intel.com>
17286
17287 * Makefile (strop-tests): Add strncat.
17288 * string/test-strncat.c: New file.
17289
aae30307
UD
172902011-06-30 Marek Polacek <mpolacek@redhat.com>
17291
17292 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
17293
c0cfb5eb
UD
172942011-06-21 Andreas Jaeger <aj@suse.de>
17295
17296 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
17297 Copy rule from iconvdata/Makefile.
17298
01636b21
UD
172992011-07-06 Ulrich Drepper <drepper@gmail.com>
17300
17301 [BZ #12922]
17302 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
17303 but no long options are defined, just return 'W'.
17304
9895c8bc
UD
173052011-06-22 Marek Polacek <mpolacek@redhat.com>
17306
17307 [BZ #9696]
17308 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
17309
5d4cf042
UD
173102011-07-06 Ulrich Drepper <drepper@gmail.com>
17311
17312 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
17313 netgroups to read.
960e5535 17314 (innetgr): Likewise.
5d4cf042 17315
751eb97e
RM
173162011-07-05 Roland McGrath <roland@hack.frob.com>
17317
17318 * config.make.in (install_root): Default to $(DESTDIR).
17319
f15f1e45
UD
173202011-07-05 Ulrich Drepper <drepper@gmail.com>
17321
17322 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
17323
4e34ac6a
RM
173242011-07-02 Roland McGrath <roland@hack.frob.com>
17325
5e9b6af4
RM
17326 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
17327
84f9ea0f
RM
17328 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
17329 containing directory rather than embedding absolute directory names.
17330
ea5ee9f7
RM
17331 * scripts/check-local-headers.sh: Rewritten using awk.
17332 Match by word, not by line. Print error messages for matches.
17333 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
17334
1b74661a
RM
17335 * Makerules [shlib-lds-flags empty]:
17336 ($(common-objpfx)libc_pic.opts): New target.
17337 ($(common-objpfx)libc_pic.os.clean): New target.
17338 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
17339
17340 * config.make.in (OBJCOPY): New variable.
17341 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
17342 * configure: Regenerated.
17343
f781ef40
RM
17344 * config.make.in (use-default-link): New variable.
17345 * configure.in (use_default_link): Grok --with-default-link to set it.
17346 * configure: Regenerated.
17347 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
17348 (shlib-lds, shlib-lds-flags): Define to empty.
17349
2d4fa81e
RM
17350 * Makerules (shlib-lds): New variable.
17351 (shlib-lds-flags): New variable.
17352 (build-shlib, build-moduile, build-module-asneeded): Use it.
17353 ($(common-objpfx)libc.so): Use $(shlib-lds).
17354 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
17355 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
17356
31fffa6b
RM
17357 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
17358 DT_FLAGS/DT_FLAGS_1 with zero flags.
17359
4e34ac6a
RM
17360 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
17361 linker script munging.
17362
fcfc776b
UD
173632011-07-02 Ulrich Drepper <drepper@gmail.com>
17364
17365 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
17366 as 128-bit value.
17367 * crypt/sha512.c (sha512_process_block): Perform total addition using
17368 128-bit if possible.
17369 (__sha512_finish_ctx): Likewise.
17370 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
17371 as 64-bit value.
17372 * crypt/sha256.c (SWAP64): Define.
17373 (sha256_process_block): Perform total addition using 64-bit if
17374 possible.
17375 (__sha256_finish_ctx): Likewise.
17376
99231d9a
UD
173772011-07-01 Ulrich Drepper <drepper@gmail.com>
17378
17379 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
17380 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17381 * nscd/hstcache.c (cache_addhst): Likewise.
17382 * nscd/grpcache.c (cache_addgr): Likewise.
17383 * nscd/aicache.c (addhstaiX): Likewise
17384 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
17385
445b4a53
TK
173862011-07-01 Thorsten Kukuk <kukuk@suse.de>
17387
17388 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
17389 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17390 * nscd/hstcache.c (cache_addhst): Likewise.
17391 * nscd/grpcache.c (cache_addgr): Likewise.
17392 * nscd/aicache.c (addhstaiX): Likewise
17393
6d4d8e8e
AS
173942011-07-01 Andreas Schwab <schwab@redhat.com>
17395
17396 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
17397 domain only when needed.
17398
89f654c5
AS
173992011-06-30 Andreas Schwab <schwab@redhat.com>
17400
17401 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
17402 is always restored.
17403
cf3b23ff
UD
174042011-06-29 Ulrich Drepper <drepper@gmail.com>
17405
17406 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
17407 are re-adding the entry.
17408 * nscd/servicescache.c (cache_addserv): Likewise.
17409
751626f9
AJ
174102011-06-30 Aurelien Jarno <aurelien@aurel32.net>
17411
17412 * sysdeps/generic/dl-irel.h: fix protection against multiple
17413 inclusions.
17414 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
17415
9113ea1f
UD
174162011-06-28 Ulrich Drepper <drepper@gmail.com>
17417
5c0b8d90
UD
17418 [BZ #12935]
17419 * malloc/memusage.sh: Fix quoting in message.
17420 * debug/xtrace.sh: Likewise.
17421
9113ea1f
UD
17422 * configure.in: Remove support for --experimental-malloc option, make
17423 it the default.
17424 * config.make.in: Likewise.
17425 * malloc/Makefile: Likewise.
17426
a4172181
AS
174272011-06-27 Andreas Schwab <schwab@redhat.com>
17428
17429 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
17430 two-byte characters.
17431
78a7eee7
RM
174322011-06-27 Roland McGrath <roland@hack.frob.com>
17433
62bede13
RM
17434 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
17435 AC_CACHE_CHECK invocation.
17436 * configure: Regenerated.
17437
78a7eee7
RM
17438 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
17439
5ce33a62
UD
174402011-06-27 Ulrich Drepper <drepper@gmail.com>
17441
034807a9
UD
17442 [BZ #12350]
17443 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
17444 bit from old_res_options.
17445
4902da17
UD
17446 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
17447
5ce33a62
UD
17448 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
17449 value type for setfct.
17450
c2344f56
L
174512011-06-23 H.J. Lu <hongjiu.lu@intel.com>
17452
17453 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17454 __gettimeofday instead of gettimeofday.
17455
68468076
UD
174562011-06-26 Ulrich Drepper <drepper@gmail.com>
17457
17458 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
17459
acb0d739
L
174602011-06-24 H.J. Lu <hongjiu.lu@intel.com>
17461
17462 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
17463
17464 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
17465 info.
17466
8912479f
L
174672011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17468
17469 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17470 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17471 strcpy-sse2-unaligned strncpy-sse2-unaligned
17472 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
17473 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
17474 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
17475 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
17476 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
17477 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
17478 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
17479 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
17480 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
17481 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
17482 (STRCPY): Support SSE2 and SSSE3 versions.
17483
d5495a11
UD
174842011-06-24 Ulrich Drepper <drepper@gmail.com>
17485
17486 [BZ #12874]
17487 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
17488 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
17489 kernels which artificially limit size of requests.
17490
0b1cbaae
L
174912011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17492
17493 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17494 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17495 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
17496 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
17497 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
17498 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
17499 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
17500 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
17501 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
17502 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
17503 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
17504 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
17505 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
17506 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
17507 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
17508 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17509 Enable unaligned load optimization for Intel Core i3, i5 and i7
17510 processors.
17511 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
17512 Define.
17513 (index_Fast_Unaligned_Load): Define.
17514 (HAS_FAST_UNALIGNED_LOAD): Define.
17515
07f494a0
MP
175162011-06-23 Marek Polacek <mpolacek@redhat.com>
17517
17518 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
17519
fa3fc0fe
UD
175202011-06-22 Ulrich Drepper <drepper@gmail.com>
17521
17522 [BZ #12907]
17523 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
17524 until it is clear that the information is realy needed.
17525 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
17526
e12df166
AS
175272011-06-22 Andreas Schwab <schwab@redhat.com>
17528
17529 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
17530
852eb34d
UD
175312011-06-22 Ulrich Drepper <drepper@gmail.com>
17532
84e2a551
UD
17533 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17534 /sys/devices/system/cpu/online if it is usable.
17535
852eb34d
UD
17536 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
17537 reading the information from the /proc filesystem to once a second.
17538
6e502e19
UD
175392011-06-21 Andreas Jaeger <aj@suse.de>
17540
17541 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
17542 NULL after inclusion of kernel headers.
17543
75d39ff2
UD
175442011-06-21 Ulrich Drepper <drepper@gmail.com>
17545
51f9aa6a
UD
17546 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
17547 calls to internal_setent.
17548
c0244a9d
UD
17549 [BZ #12885]
17550 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
17551 addresses using gethostbyname4_r ignore IPv4 addresses.
17552
c5e3c2ae
UD
17553 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
17554 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
17555
75d39ff2
UD
17556 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
17557
42675c6f
DM
175582011-06-20 David S. Miller <davem@davemloft.net>
17559
17560 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
17561 inclusions.
17562 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
17563
17564 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
17565 (elf_irel): Use it.
17566 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
17567 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
17568 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
17569 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
17570 * sysdeps/x86_64/dl-irel.h: Likewise.
17571
17572 * elf/dl-runtime.c: Use elf_ifunc_invoke.
17573 * elf/dl-sym.c: Likewise.
17574
57912a71
UD
175752011-06-15 Ulrich Drepper <drepper@gmail.com>
17576
17577 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
17578 need to dereference resplen2.
17579
ee22793d
AS
175802011-06-14 Andreas Schwab <schwab@redhat.com>
17581
17582 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
17583
a9e836b0
UD
175842011-06-15 Ulrich Drepper <drepper@gmail.com>
17585
77fb9117
UD
17586 * Makeconfig: Define vardbdir and inst_vardbdir.
17587 * nss/Makefile: Add rules to install db-Makefile.
17588
40c1b22c
UD
17589 * nss/nss_db/db-XXX.c: Cleanup.
17590
9f2da732
UD
17591 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
17592 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
17593 GLIBC_PRIVATE.
17594 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
17595 * nss/makedb.c: Implement -g option to specify that value strings
17596 are generated and should not be added to table iterated over for
17597 get*ent calls.
17598 * nss/nss_db/db-initgroups.c: New file.
17599
82e9a1f7
UD
17600 * nss/getent.c: Add support for initgroups lookups through getgrouplist
17601 interface.
17602
c41af17e
UD
17603 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
17604 (internal_getgrouplist): Adjust to name change.
17605 Update use_initgroups_entry if this is not the first call.
17606 * nss/databases.def: Add initgroups entry.
17607
a9e836b0
UD
17608 * nss/makedb.c (compute_tables): Check result of multiple hash table
17609 sizes to minimize maximum chain length.
17610
2666d441
UD
176112011-06-14 Ulrich Drepper <drepper@gmail.com>
17612
17613 * Versions.def: Add entry for libnss_db.
17614 * shlib-versions: Likewise.
17615 * nss/Makefile: Add rules to build libnss_db.
17616 * nss/Versions: Add libnss_db information. Organize libnss_files
17617 entries better.
17618 * nss/db-Makefile: Add gshadow support. Change rules for the new
17619 makedb progra. Some minor improvements to generate smaller files.
17620 * nss/nss_db/nss_db.h: Move NSS database header data structures to
17621 here from...
17622 * nss/makedb.c: ...here.
17623 Improve database format to be smaller and require less memory at
17624 runtime.
17625 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
17626 db anymore.
17627 * nss/nss_db/db-netgrp.c: Likewise.
17628 * nss/nss_db/db-open.c: Likewise.
17629 * nss/nss_files/flies-XXX.x: Adjust comments.
17630 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
17631 * nss/nss_files/files-grp.c: Likewise.
17632 * nss/nss_files/files-hosts.c: Likewise.
17633 * nss/nss_files/files-network.c: Likewise.
17634 * nss/nss_files/files-proto.c: Likewise.
17635 * nss/nss_files/files-pwd.c: Likewise.
17636 * nss/nss_files/files-rpc.c: Likewise.
17637 * nss/nss_files/files-service.c: Likewise.
17638 * nss/nss_files/files-sgrp.c: Likewise.
17639 * nss/nss_files/files-spwd.c: Likewise.
17640 * nss/nss_db/db-alias.c: Removed.
17641 * nss/nss_db/dummy-db.h: Removed.
17642
9ee76b5a
UD
176432011-06-02 Ulrich Drepper <drepper@gmail.com>
17644
17645 * nss/makedb.c: Rewritten to not use database library.
17646 * nss/Makefile: Update to build new makedb program.
17647
c71ca1f8
AJ
176482011-06-14 Andreas Jaeger <aj@suse.de>
17649
17650 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
17651 memset declaration.
17652
3154bfb8
UD
176532011-06-10 Andreas Schwab <schwab@redhat.com>
17654
17655 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
17656 tmpbuf.
17657
b350afab
RM
176582011-06-10 Roland McGrath <roland@hack.frob.com>
17659
decd4e50
RM
17660 * Makerules (shlib.lds): Fail if the linker script comes out empty.
17661 * elf/Makefile ($(objpfx)ld.so): Likewise.
17662
5615eaf2
RM
17663 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
17664 Don't list ld.so twice in dependencies.
17665
17666 * posix/bug-regex31.c: Include <stdlib.h>.
17667
17668 * nscd/hstcache.c (cache_addhst): Remove unused variable.
17669
17670 * nis/nss_compat/compat-spwd.c
17671 (getspent_next_nss_netgr): Remove unused variable.
17672 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
17673
17674 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
17675 nonmembers" output to use the right array.
17676
17677 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
17678
17679 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
17680
17681 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
17682 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
17683 * catgets/gencat.c (read_input_file): Likewise.
17684 * locale/programs/locarchive.c (enlarge_archive): Likewise.
17685
17686 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
17687 variable definition inside #if's controlling its use.
17688
17689 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
17690
17691 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
17692
17693 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
17694
17695 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
17696 unreachable code.
17697
17698 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
17699
b68e08db
RM
17700 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
17701 * configure: Regenerated.
17702
b350afab
RM
17703 * Makerules: Revert last change.
17704 * elf/Makefile: Likewise.
17705
28368601
RM
177062011-06-09 Roland McGrath <roland@hack.frob.com>
17707
17708 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
17709 * elf/Makefile ($(objpfx)librtld.os): Likewise.
17710 (reloc-link): Likewise.
17711
11988f8f
UD
177122011-06-09 Ulrich Drepper <drepper@gmail.com>
17713
17714 * elf/Makefile: Add rules to build pldd.
17715 * elf/pldd.c: New file.
17716 * elf/pldd-xx.c: New file.
17717
e80fab37
UD
177182011-06-07 Ulrich Drepper <drepper@gmail.com>
17719
17720 * version.h: Update for 2.15 development version.
17721
9b849836
DM
177222011-06-07 David S. Miller <davem@davemloft.net>
17723
17724 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
17725 ifuncs.
17726 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
17727 elf_machine_lazy_rel): Likewise.
17728 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17729 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
17730 elf_machine_lazy_rel): Likewise.
17731 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
17732 dl_hwcap via passed in argument.
17733 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
17734 Likewise.
17735
5a31b283
AK
177362011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17737
17738 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
17739
069e52f8
RM
177402011-06-06 Roland McGrath <roland@hack.frob.com>
17741
17742 [BZ #12849]
17743 * manual/fdl-1.1.texi: New file, verbatim from:
17744 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
17745 * manual/lgpl-2.1.texi: New file, verbatim from:
17746 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
17747 * manual/Makefile (licenses): New variable, list those new file names.
17748 (texis): Use it.
17749 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
17750
17751 * manual/fdl.texi: File removed.
17752 * manual/lesser.texi: File removed.
17753 * manual/libc.texinfo (Copying, Documentation License):
17754 Use new @include file names, put @appendix directive before @include.
17755
f16846a5
JJ
177562011-06-04 Jakub Jelinek <jakub@redhat.com>
17757
17758 [BZ #12841]
17759 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
17760 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
17761 (mq_open): Add __NTH.
17762
3d29045b
L
177632011-06-02 H.J. Lu <hongjiu.lu@intel.com>
17764
17765 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17766 Assume Intel Core i3/i5/i7 processor if AVX is available.
17767
8c297311
UD
177682011-05-31 Ulrich Drepper <drepper@gmail.com>
17769
17770 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17771 typo.
17772
c8fc0c91
UD
177732011-05-31 Andreas Schwab <schwab@redhat.com>
17774
17775 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
17776 memory. Use alloca_account. Fix memory leak when retrying.
17777
5b27a807
UD
177782011-05-31 Ulrich Drepper <drepper@gmail.com>
17779
356f8bc6
UD
17780 * version.h (RELEASE): Bump for 2.14 release.
17781 * include/features.h (__GLIBC_MINOR__): Bump to 14.
17782
5b27a807
UD
17783 * config.make.in (RANLIB): Remove entry.
17784
01f16ab0
UD
177852011-05-30 Ulrich Drepper <drepper@gmail.com>
17786
41fce8bd
UD
17787 * po/Makefile (po-sed-cmd): Add ksh to extensions.
17788 (libc.pot): Work around missing support for .ksh extension in xgettext.
17789
4769ae77
UD
17790 [BZ #12684]
17791 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
17792 if both request failed.
17793 (send_dg): In case of server errors clear resplen or *resplen2.
17794
6b1e7d19
UD
17795 [BZ #12454]
17796 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
17797 when there are multiple maps.
17798 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
17799 (_dl_fini): Remove test here.
17800
01f16ab0
UD
17801 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
17802
b1ebd700
UD
178032011-05-29 Ulrich Drepper <drepper@gmail.com>
17804
7ae22829
UD
17805 [BZ #12350]
17806 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
17807 bit from old_res_options.
17808 (gaih_inet): Likewise.
17809
553149f6 17810 [BZ #11099]
18a84741 17811 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
17812 as signed.
17813
652ffab1
UD
17814 * resolv/res_init.c (res_setoptions): Make the code more compact.
17815
16985fd0
UD
17816 [BZ #11558]
17817 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
17818 set RES_USEVC.
17819
0464f746
UD
17820 [BZ #11634]
17821 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
17822
7d17596c
UD
17823 * malloc/malloc.h: Mark malloc hook variables as deprecated.
17824
cf6bbbd7
UD
17825 [BZ #11781]
17826 * malloc/malloc.h: Declare malloc hook variables as volatile.
17827
13f1ab36
UD
17828 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
17829 in last patch.
17830
b1ebd700
UD
17831 [BZ #11799]
17832 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 17833 raise in the comment.
80e2212d
UD
17834 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17835 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17836 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 17837
ce67228d
UD
178382011-05-28 Ulrich Drepper <drepper@gmail.com>
17839
8887a920
UD
17840 [BZ #12811]
17841 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
17842 grow the buffers more if it already has to be sufficient.
17843 (build_wcs_upper_buffer): Likewise.
17844 * posix/regexec.c (check_matching): Likewise.
17845 (clean_state_log_if_needed): Likewise.
17846 (extend_buffers): Don't enlarge buffers beyond size of the input
17847 buffer.
17848 Patches mostly by Emil Wojak <emil@wojak.eu>.
17849 * posix/bug-regex32.c: New file.
17850 * posix/Makefile (tests): Add bug-regex32.
17851
4f031072
UD
17852 * locale/findlocale.c (_nl_find_locale): Return right away if
17853 _nl_explode_name failed.
17854 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17855
d0478f0c
UD
17856 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
17857
de81b246
UD
17858 * debug/xtrace.sh: Unify messages.
17859 * malloc/memusage.sh: Likewise.
17860
c738465a
UD
17861 [BZ #12813]
17862 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
17863 time symbol from vDSO. Substitute with vsyscall if not available.
17864 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
17865 __vdso_time.
17866
f1f929d7
UD
17867 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
17868 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
17869 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
17870 Add sendmmsg and internal_sendmmsg.
17871 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
17872 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
17873 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
17874
ce67228d
UD
17875 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
17876 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
17877 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
17878
e57420c6
UD
178792011-05-27 Ulrich Drepper <drepper@gmail.com>
17880
a8509ca5
UD
17881 [BZ #12813]
17882 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
17883 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
17884 available.
17885 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
17886 __vdso_getcpu.
17887
e57420c6
UD
17888 [BZ #12814]
17889 * iconvdata/Makefile (tests): Add bug-iconv9.
17890 * iconvdata/bug-iconv9.c: New file.
17891
4d07db15
AS
178922011-05-27 Andreas Schwab <schwab@redhat.com>
17893
17894 [BZ #12814]
17895 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
17896
ea486f69
JJ
178972011-05-25 Jakub Jelinek <jakub@redhat.com>
17898
17899 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17900 (struct user_regs_struct): Change intcs field back to cs.
17901
6f038433
UD
179022011-05-25 Ulrich Drepper <drepper@gmail.com>
17903
17904 * po/ja.po: Update from translation team.
17905
67f86a25
UD
179062011-05-23 Ulrich Drepper <drepper@gmail.com>
17907
17908 [BZ #12795]
17909 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
17910 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
17911
def7fbd6
AS
179122011-05-20 Andreas Schwab <schwab@redhat.com>
17913
17914 * stdlib/longlong.h: Update from GCC.
17915
f50ef8f1
AS
179162011-05-23 Andreas Schwab <schwab@redhat.com>
17917
17918 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
17919 parameter name.
17920 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
17921 Add parameter name.
17922 (__sysconf): Pass it down.
17923
de7ce8f1
UD
179242011-05-22 Ulrich Drepper <drepper@gmail.com>
17925
f2962a71
UD
17926 [BZ #12671]
17927 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
17928 some situations.
17929 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17930 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
17931 add in in __libc_use_alloca calls. Adjust callers.
17932 (glob): Use malloc in some situations.
17933
de7ce8f1
UD
17934 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
17935 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
17936 pltexit.
17937
aec84f53
UD
179382011-05-21 Ulrich Drepper <drepper@gmail.com>
17939
05bb4a68
UD
17940 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
17941 and CLOCK_BOOTTIME_ALARM.
17942
7ea72f99
UD
17943 [BZ #12782]
17944 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
17945 is returned.
17946
7e4afad5
UD
17947 * string/_strerror.c (__strerror_r): Print negative errors as signed
17948 numbers.
17949
8e211fec
UD
17950 [BZ #12777]
17951 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
17952 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
17953 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
17954
f7d82dc9
UD
17955 * configure.in: Fix typo in redirection and correct removal of test
17956 files in two cases.
17957
cc9e536d
UD
17958 [BZ #12788]
17959 * locale/setlocale.c (new_composite_name): Fix test to check for
17960 identical name of all categories.
17961
aec84f53
UD
17962 [BZ #12792]
17963 * libio/filedoalloc.c (local_isatty): New function.
17964 (_IO_file_doallocate): Use local_isatty.
17965 * stdio-common/perror.c (perror): In case a new stream is used
17966 forward the stream error.
17967 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
17968 error flag.
17969
78e64fdc
RT
179702011-05-20 Ulrich Drepper <drepper@gmail.com>
17971
34a9094f
UD
17972 [BZ #11869]
17973 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
17974 alloca.
17975 * include/alloca.h (extend_alloca_account): Define.
17976
78e64fdc
RT
17977 [BZ #11857]
17978 * posix/regex.h: Fix comments with documentation of user-accessible
17979 fields after compilation and describe correct free'ing of pattern
17980 after re_compile_pattern.
17981 Patch by Reuben Thomas <rrt@sc3d.org>.
17982
457bddfc
RA
179832011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
17984
17985 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
17986 and -mno-altivec to prevent the compiler from using Altivec and/or
17987 VSX instructions when the corresponding registers are not available.
17988
a4527b51
AS
179892011-05-19 Andreas Schwab <schwab@redhat.com>
17990
17991 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
17992
ed690b2f
UD
179932011-05-19 Ulrich Drepper <drepper@gmail.com>
17994
17995 * libio/freopen.c (freopen): Use __dup2, not dup2.
17996 * libio/freopen64.c (freopen64): Likewise.
17997
8db73634
L
179982011-05-17 H.J. Lu <hongjiu.lu@intel.com>
17999
18000 [BZ #12775]
18001 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
18002 * math/Makefile (tests): Add test-powl.
18003 (CFLAGS-test-powl.c): Define.
18004 * math/test-powl.c: New file.
18005
0a197a9d
L
180062011-05-16 H.J. Lu <hongjiu.lu@intel.com>
18007
18008 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
18009
ee30c380
UD
180102011-05-17 Ulrich Drepper <drepper@gmail.com>
18011
18012 [BZ #11837]
18013 * iconvdata/gb18030.c: Update to GB18020-2005.
18014
6ce75379
UD
180152011-05-16 Ulrich Drepper <drepper@gmail.com>
18016
a4b89fd8
AR
18017 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
18018 RE_SYNTAX_POSIX_AWK): Update to match recent development.
18019 Patch by Aharon Robbins <arnold@skeeve.com>.
18020
ea389b12
UD
18021 [BZ #11892]
18022 * stdlib/putenv.c (putenv): Don't always create copy of the variable
18023 on the stack.
18024
68a3f91f
UD
18025 [BZ #11895]
18026 * misc/pselect.c (__pselect): Handle timeout value errors hidden
18027 through underflows.
18028
15cc7dd1
UD
18029 [BZ #12766]
18030 * misc/error.c (error_at_line): Ensure file_name and old_file_name
18031 point to strings before performing equality test for error_one_per_line
18032 mode.
18033
f3799213
UD
18034 [BZ #11697]
18035 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
18036
d79a9c94
UD
18037 [BZ #11820]
18038 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18039 (struct user_fpregs_struct): Avoid __uint*_t types.
18040
56e5eb46
UD
18041 [BZ #6420]
18042 * malloc/mtrace.c (tr_where): Add additional parameter to point to
18043 symbol info. Use it instead of calling _dl_addr locally.
18044 (lock_and_info): New function.
18045 (tr_freehook): Call lock_and_info and pass symbol info as additional
18046 parameter to tr_where.
18047 (tr_mallochook): Likewise.
18048 (tr_reallochook): Likewise.
18049 (tr_memalignhook): Likewise.
18050
6ce75379
UD
18051 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
18052 used and couldn't be at all thread-safe.
18053
f8a3b5bf
UD
180542011-05-15 Ulrich Drepper <drepper@gmail.com>
18055
94b7cc37
UD
18056 * libio/freopen.c (freopen): Don't close old file descriptor
18057 before the new one is opened. Instead dup the new file descriptor
18058 to the old one after the new stream is created.
18059 * libio/freopen64.c (freopen64): Likewise.
18060 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
18061 * libio/fileops.c (_IO_new_file_close_it): Handle new
18062 _IO_FLAGS2_NOCLOSE flag.
18063 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
18064 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
18065 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
18066 _IO_FLAGS2_NOCLOSE flag.
18067 * include/unistd.h: Add hidden_proto for dup3.
18068 Define __have_dup3.
18069 * io/dup3.c: Define hidden symbol.
18070 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
18071
bd25564e
UD
18072 [BZ #7101]
18073 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
18074 when an incomplete long option is used.
18075 * posix/tst-getopt_long1.c: New file.
18076 * posix/Makefile (tests): Add tst-getopt_long1.
18077
c84cfef4
UD
18078 [BZ #10138]
18079 * scripts/config.guess: Update from autoconf-2.68.
18080 * scripts/config.sub: Likewise.
18081
3b85df27
UD
18082 [BZ #10157]
18083 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
18084 tests into ...
18085 (has_cpuclock): ...this. New function.
18086 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
18087 macro here based on has_cpuclock code.
18088
15a856b1
UD
18089 [BZ #10149]
18090 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18091 First byte (not low byte) is now always NUL.
18092 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
18093
05f399e6
UD
18094 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18095 Use non-cancelable interfaces.
18096
10a52685 18097 [BZ #9809]
94ecc67d
UD
18098 * locale/iso-639.def: Add entry for Sorani.
18099
f8a3b5bf
UD
18100 [BZ #11901]
18101 * include/stdlib.h: Move include protection to the right place.
18102 Define abort_msg_s. Declare __abort_msg with it.
18103 * stdlib/abort.c (__abort_msg): Adjust type.
18104 * assert/assert.c (__assert_fail_base): New function. Majority
18105 of code from __assert_fail. Allocate memory for __abort_msg with
18106 mmap.
18107 (__assert_fail): Now call __assert_fail_base.
18108 * assert/assert-perr.c: Remove bulk of implementation. Use
18109 __assert_fail_base.
18110 * include/assert.hL Declare __assert_fail_base.
18111 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
18112 mmap.
18113 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
18114
1af4e298
UD
181152011-05-14 Ulrich Drepper <drepper@gmail.com>
18116
f8a3b5bf 18117 [BZ #11952]
d26dfc60
MG
18118 [BZ #12453]
18119 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
18120 until all modules are registered in the DTV.
18121 * elf/Makefile: Add rules to build and run tst-tls19.
18122 * elf/tst-tls19.c: New file.
18123 * elf/tst-tls19mod1.c: New file.
18124 * elf/tst-tls19mod2.c: New file.
18125 * elf/tst-tls19mod3.c: New file.
18126 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
18127
2fc54d6f
UD
18128 [BZ #12083]
18129 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
18130 correctly.
18131
98d76b46
UD
18132 [BZ #12601]
18133 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
18134 two-byte sequence errors.
18135 * iconvdata/Makefile (tests): Add bug-iconv8.
18136 * iconvdata/bug-iconv8.c: New file.
18137
da3c19ef
UD
18138 [BZ #12626]
18139 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
18140 buf2 definition.
18141
ca408c15
UD
18142 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
18143
d6f67f7d
UD
18144 [BZ #12432]
18145 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
18146 (dummy_getcfa): New function.
18147 (init): Get _Unwind_GetCFA address, use dummy if not found.
18148 (backtrace_helper): In recursion check, also check whether CFA changes.
18149 (__backtrace): Completely initialize arg.
18150
1af4e298 18151 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
18152 storing incomplete byte sequence in state object. Avoid testing for
18153 guaranteed too small input if we know there is enough data available.
1af4e298 18154
da62f81b
AS
181552011-05-11 Andreas Schwab <schwab@redhat.com>
18156
18157 * Makeconfig (+link-pie): Indent.
18158 * Rules (binaries-pie): Define if $(have-fpie) and
18159 $(build-shared).
18160 (binaries-shared): Also filter out $(binaries-pie).
18161 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
18162 * nscd/Makefile (others-pie): Add nscd.
18163 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
18164 ($(objpfx)nscd): Remove command override.
18165 * login/Makefile (others-pie): Add pt_chown.
18166 ($(objpfx)pt_chown): Remove command override.
18167 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
18168 remove command overrides.
18169
fcabc0f8
UD
181702011-05-13 Ulrich Drepper <drepper@gmail.com>
18171
20030ae6
UD
18172 * libio/tst_putwc.c: Fix error messages.
18173
fcabc0f8
UD
18174 [BZ #12724]
18175 * libio/fileops.c (_IO_new_file_close_it): Always flush when
18176 currently writing and seek to current position when not.
18177 * libio/Makefile (tests): Add bug-fclose1.
18178 * libio/bug-fclose1.c: New file.
18179
320a5dc0
PB
181802011-05-12 Ulrich Drepper <drepper@gmail.com>
18181
18182 [BZ #12511]
18183 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
18184 don't set DF_1_NODELETE here.
18185 (do_lookup_x): When entering new entry test for copy relocation
18186 and if necessary set DF_1_NODELETE flag.
18187 * elf/tst-unique4.cc: New file.
18188 * elf/tst-unique4.h: New file.
18189 * elf/tst-unique4lib.cc: New file.
18190 * elf/Makefile: Add rules to build and run tst-unique4.
18191 Patch by Piotr Bury <pbury@goahead.com>.
18192
22836f52
UD
181932011-05-11 Ulrich Drepper <drepper@gmail.com>
18194
f574184a
UD
18195 [BZ #12052]
18196 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
18197
e1fb097f
UD
18198 [BZ #12625]
18199 * misc/mntent_r.c (addmntent): Flush the stream after the output
18200
22836f52
UD
18201 [BZ #12393]
18202 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
18203 (is_trusted_path_normalize): Skip initial colon. Append slash
18204 to empty buffer. Duplicate is_trusted_path code but allow
18205 constructed patch to be prefix.
18206 (is_dst): Allow $ORIGIN followed by /.
18207 (_dl_dst_substitute): Correct clearing of check_for_trusted.
18208 Correct testing of result of is_trusted_path_normalize
18209 (decompose_rpath): Fix warning.
18210
7b3b0b2a
UD
182112011-05-10 Ulrich Drepper <drepper@gmail.com>
18212
18213 [BZ #11257]
18214 * grp/initgroups.c (internal_getgrouplist): When we found the service
18215 list through the initgroups entry in nsswitch.conf do not always
18216 continue on a successful lookup. Don't always use the
eac80ce2 18217 __nss_group_database value if it is set.
7b3b0b2a
UD
18218 * nss/nsswitch.conf (initgroups): Change action for successful db
18219 lookup to continue for compatibility.
18220
2a81eaa5
UD
182212011-05-09 Ulrich Drepper <drepper@gmail.com>
18222
be97a69e
UD
18223 [BZ #11532]
18224 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
18225 and CP774 modules.
18226 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
18227 and CP774 modules.
18228 * iconvdata/tst-tables.sh: Likewise.
18229 * iconvdata/cp770.c: New file.
18230 * iconvdata/cp771.c: New file.
18231 * iconvdata/cp772.c: New file.
18232 * iconvdata/cp773.c: New file.
18233 * iconvdata/cp774.c: New file.
18234 * iconvdata/testdata/CP770: New file.
18235 * iconvdata/testdata/CP770..UTF8: New file.
18236 * iconvdata/testdata/CP771: New file.
18237 * iconvdata/testdata/CP771..UTF8: New file.
18238 * iconvdata/testdata/CP772: New file.
18239 * iconvdata/testdata/CP772..UTF8: New file.
18240 * iconvdata/testdata/CP773: New file.
18241 * iconvdata/testdata/CP773..UTF8: New file.
18242 * iconvdata/testdata/CP774: New file.
18243 * iconvdata/testdata/CP774..UTF8: New file.
18244
18245 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
18246 END CHARMAP line.
18247 * iconvdata/gen-8bit-gap.sh: Likewise.
18248 * iconvdata/gen-8bit.sh: Likewise.
18249
c1e9e399
UD
18250 * locale/iso-639.def: Add ary entry.
18251
24c55fb3 18252 [BZ #11258]
96b4b1b0
UD
18253 * locale/C-translit.h.in: Add U20A1 transliteration.
18254
bdc2f971
KB
18255 [BZ #12178]
18256 * locale/iso-639.def: Add wae entry.
18257 Patch by Kevin Bortis <bortis@translate-wae.ch>.
18258
2952b117
UD
18259 [BZ #12545]
18260 * locale/programs/localedef.c (construct_output_path): Use ssize_t
18261 for n.
18262
2a81eaa5
UD
18263 [BZ #12711]
18264 * locale/C-translit.h.in: Add entry for U20B9.
18265 Patch by pravin.d.s@gmail.com.
18266
28377d1b
UD
182672011-05-08 Ulrich Drepper <drepper@gmail.com>
18268
7fb90fb8
UD
18269 [BZ #12713]
18270 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
18271 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
18272 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
18273 in rtld. Use *stat64.
7fb90fb8 18274 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 18275 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 18276 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
18277 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
18278 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
18279 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
18280 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
18281 __fstatat64 macros.
7fb90fb8
UD
18282 * include/dirent.h: Add libc_hidden_proto for rewinddir.
18283 * dirent/rewinddir.c: Add libc_hidden_def.
18284 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 18285 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 18286
28377d1b
UD
18287 * include/dirent.h (__alloc_dir): Add flags parameter.
18288 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
18289 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
18290 __alloc_dir.
18291 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
18292 from fdopendir if O_CLOEXEC is already set.
18293
66bdbaa4
AM
182942011-03-15 Alan Modra <amodra@gmail.com>
18295
18296 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
18297 l_tls_firstbyte_offset non-zero. Save padding offset in
18298 l_tls_firstbyte_offset for later use.
18299 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
18300 freeing static tls block.
18301
95721191
JN
183022011-03-05 Jonathan Nieder <jrnieder@gmail.com>
18303
18304 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
18305 where #ifdef was intended. The intent is to prevent ARG_MAX from
18306 being defined by the kernel headers.
18307
f87dfb1f
UD
183082011-05-07 Ulrich Drepper <drepper@gmail.com>
18309
18310 [BZ #12734]
18311 * resolv/resolv.h: Define RES_NOTLDQUERY.
18312 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
18313 no-tld-query and set RES_NOTLDQUERY.
18314 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
18315 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
18316 modern BIND to search name as TLD unless forbidden.
18317
47c3cd7a
UD
183182011-05-07 Petr Baudis <pasky@suse.cz>
18319 Ulrich Drepper <drepper@gmail.com>
18320
18321 [BZ #12393]
18322 * elf/dl-load.c (fillin_rpath): Move trusted path check...
18323 (is_trusted_path): ...to here.
c1e9ea35 18324 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 18325 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 18326 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 18327
8a35c912
PP
183282011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18329
18330 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
18331 __BEGIN/__END_DECLS.
18332
acd41f47
UD
183332011-05-06 Ulrich Drepper <drepper@gmail.com>
18334
18335 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
18336 NSS_STATUS_NOTFOUND if no record was found.
18337
597df647
AS
183382011-05-05 Andreas Schwab <schwab@redhat.com>
18339
18340 * sunrpc/Makefile (headers): Add rpc/netdb.h.
18341 (headers-not-in-tirpc): Remove rpc/netdb.h
18342 * resolv/netdb.h: Revert last change.
18343
b9af1301
PP
183442011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18345
18346 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
18347 circular dependency between libgcc.a and libc.a.
18348
4e34d5f5
AS
183492011-05-05 Andreas Schwab <schwab@redhat.com>
18350
18351 * resolv/netdb.h: Don't include <rpc/netdb.h>.
18352 * nis/Makefile: Don't install rpcsvc/*.
18353 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
18354 instead of <rpc/types.h>.
18355 (MAXHOSTNAMELEN): Define.
18356
00ee369c
AS
183572011-05-03 Andreas Schwab <schwab@redhat.com>
18358
18359 * elf/ldconfig.c (add_dir): Don't crash on empty path.
18360
0b592a30
MB
183612011-04-28 Maciej Babinski <mbabinski@google.com>
18362
18363 [BZ #12714]
18364 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
18365 gethostbyname4_r when IPv6 results are possible.
18366
6e04cbbe
UD
183672011-05-02 Ulrich Drepper <drepper@gmail.com>
18368
18369 [BZ #12723]
18370 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
18371 _PC_PIPE_BUF handling.
18372
e4ecafe0
BH
183732011-04-30 Bruno Haible <bruno@clisp.org>
18374
18375 [BZ #12717]
18376 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
18377 * resolv/netdb.h (getnameinfo): Change type of flags parameter
18378 to 'int'.
18379 * inet/getnameinfo.c (getnameinfo): Likewise.
18380
125ee683
UD
183812011-04-29 Ulrich Drepper <drepper@gmail.com>
18382
18383 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
18384 to groups setting in database lookup.
18385 * nss/nsswitch.conf: Add initgroups entry.
18386
b722481a
EB
183872011-04-22 Ulrich Drepper <drepper@gmail.com>
18388
18389 [BZ #12685]
18390 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
18391 mode string.
18392 Patch by Eric Blake <eblake@redhat.com>.
18393
4df46dbd
L
183942011-04-20 H.J. Lu <hongjiu.lu@intel.com>
18395
18396 * sunrpc/Makefile (need-export-routines): Add svc_run.
18397 (routines): Remove svc_run.
18398 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
18399 * sunrpc/clnt_perr.c (clnt_perrno): Export.
18400 * sunrpc/svc_run.c (svc_run): Likewise.
18401 * sunrpc/svc_udp.c (svcudp_create): Likewise.
18402
e84142d2
UD
184032011-04-21 Ulrich Drepper <drepper@gmail.com>
18404
18405 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
18406 problem in reallocation in last patch.
18407
877175d8
UD
184082011-04-20 Ulrich Drepper <drepper@gmail.com>
18409
18410 * sunrpc/Makefile: Move inclusion of Rules.
18411
ab8eed78
UD
184122011-04-19 Ulrich Drepper <drepper@gmail.com>
18413
18414 * nss/nss_files/files-initgroups.c: New file.
18415 * nss/Makefile (libnss_files-routines): Add files-initgroups.
18416 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
18417 _nss_files_initgroups_dyn.
18418
e3d8f584
RS
184192011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
18420
18421 * elf/elf.h (R_ARM_IRELATIVE): Define.
18422
af190f45
UD
184232011-04-19 Ulrich Drepper <drepper@gmail.com>
18424
18425 * po/ru.po: Update from translation team.
18426
53cf59ef
UD
184272011-04-17 Ulrich Drepper <drepper@gmail.com>
18428
18429 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
18430 dependencies.
18431
4c559bcd
MF
184322011-02-06 Mike Frysinger <vapier@gentoo.org>
18433
18434 [BZ #12653]
18435 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
18436 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
18437 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18438 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18439 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18440
4420675c
AS
184412011-03-28 Andreas Schwab <schwab@linux-m68k.org>
18442
18443 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
18444 differing bytes.
18445 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18446 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18447 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18448
75ea32ab
UD
184492011-04-17 Ulrich Drepper <drepper@gmail.com>
18450
18451 [BZ #12420]
18452 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
18453 storing it.
18454 * stdlib/bug-getcontext.c: New file.
18455 * stdlib/Makefile: Add rules to build and run bug-getcontext.
18456
27390476
AK
184572011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18458
18459 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
18460 instructions into .machine "z9-109".
18461 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18462 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18463
10442705
AK
184642011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18465
18466 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
18467 between environment variables and auxiliary vector.
18468
7b57bfe5
UD
184692011-04-16 Ulrich Drepper <drepper@gmail.com>
18470
18471 * Makefile: Add rules to build linkobj/libc.so.
18472 * include/libc-symbols.h: Define libc_hidden_nolink.
18473 * include/rpc/auth.h: Mark functions which are to be hidden.
18474 * include/rpc/auth_des.h: Likewise.
18475 * include/rpc/auth_unix.h: Likewise.
18476 * include/rpc/clnt.h: Likewise.
18477 * include/rpc/des_crypt.h: Likewise.
18478 * include/rpc/key_prot.h: Likewise.
18479 * include/rpc/pmap_clnt.h: Likewise.
18480 * include/rpc/pmap_prot.h: Likewise.
18481 * include/rpc/pmap_rmt.h: Likewise.
18482 * include/rpc/rpc_msg.h: Likewise.
18483 * include/rpc/svc.h: Likewise.
18484 * include/rpc/svc_auth.h: Likewise.
18485 * include/rpc/xdr.h: Likewise.
18486 * nis/Makefile: Link all DSOs against linkobj/libc.so.
18487 * nss/Makefile: Likewise.
18488 * sunrpc/Makefile: Don't install headers. Build library with normal
18489 entry points. Don't build rpcinfo. Link RPC tests appropriately.
18490 * sunrpc/auth_des.c: Hide exported symbols by default, export some
18491 for the compat linking library. Remove use of INTDEF/INTUSE.
18492 * sunrpc/auth_none.c: Likewise.
18493 * sunrpc/auth_unix.c: Likewise.
18494 * sunrpc/authdes_prot.c: Likewise.
18495 * sunrpc/authuxprot.c: Likewise.
18496 * sunrpc/clnt_gen.c: Likewise.
18497 * sunrpc/clnt_perr.c: Likewise.
18498 * sunrpc/clnt_raw.c: Likewise.
18499 * sunrpc/clnt_simp.c: Likewise.
18500 * sunrpc/clnt_tcp.c: Likewise.
18501 * sunrpc/clnt_udp.c: Likewise.
18502 * sunrpc/clnt_unix.c: Likewise.
18503 * sunrpc/des_crypt.c: Likewise.
18504 * sunrpc/des_soft.c: Likewise.
18505 * sunrpc/get_myaddr.c: Likewise.
18506 * sunrpc/key_call.c: Likewise.
18507 * sunrpc/key_prot.c: Likewise.
18508 * sunrpc/netname.c: Likewise.
18509 * sunrpc/pm_getmaps.c: Likewise.
18510 * sunrpc/pm_getport.c: Likewise.
18511 * sunrpc/pmap_clnt.c: Likewise.
18512 * sunrpc/pmap_prot.c: Likewise.
18513 * sunrpc/pmap_prot2.c: Likewise.
18514 * sunrpc/pmap_rmt.c: Likewise.
18515 * sunrpc/publickey.c: Likewise.
18516 * sunrpc/rpc_cmsg.c: Likewise.
18517 * sunrpc/rpc_common.c: Likewise.
18518 * sunrpc/rpc_dtable.c: Likewise.
18519 * sunrpc/rpc_prot.c: Likewise.
18520 * sunrpc/rpc_thread.c: Likewise.
18521 * sunrpc/rtime.c: Likewise.
18522 * sunrpc/svc.c: Likewise.
18523 * sunrpc/svc_auth.c: Likewise.
18524 * sunrpc/svc_authux.c: Likewise.
18525 * sunrpc/svc_raw.c: Likewise.
18526 * sunrpc/svc_run.c: Likewise.
18527 * sunrpc/svc_simple.c: Likewise.
18528 * sunrpc/svc_tcp.c: Likewise.
18529 * sunrpc/svc_udp.c: Likewise.
18530 * sunrpc/svc_unix.c: Likewise.
18531 * sunrpc/svcauth_des.c: Likewise.
18532 * sunrpc/xcrypt.c: Likewise.
18533 * sunrpc/xdr.c: Likewise.
18534 * sunrpc/xdr_array.c: Likewise.
18535 * sunrpc/xdr_float.c: Likewise.
18536 * sunrpc/xdr_intXX_t.c: Likewise.
18537 * sunrpc/xdr_mem.c: Likewise.
18538 * sunrpc/xdr_rec.c: Likewise.
18539 * sunrpc/xdr_ref.c: Likewise.
18540 * sunrpc/xdr_sizeof.c: Likewise.
18541 * sunrpc/xdr_stdio.c: Likewise.
18542
e6c61494
UD
185432011-04-10 Ulrich Drepper <drepper@gmail.com>
18544
18545 [BZ #12650]
18546 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
18547 * sysdeps/ia64/dl-tls.h: Likewise.
18548 * sysdeps/powerpc/dl-tls.h: Likewise.
18549 * sysdeps/s390/dl-tls.h: Likewise.
18550 * sysdeps/sh/dl-tls.h: Likewise.
18551 * sysdeps/sparc/dl-tls.h: Likewise.
18552 * sysdeps/x86_64/dl-tls.h: Likewise.
18553 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
18554
34fe483e
AS
185552011-03-14 Andreas Schwab <schwab@redhat.com>
18556
18557 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
18558 rpath element also skip the following colon.
18559 (expand_dynamic_string_token): Add is_path parameter and pass
18560 down to DL_DST_REQUIRED and _dl_dst_substitute.
18561 (decompose_rpath): Call expand_dynamic_string_token with
18562 non-zero is_path. Ignore empty rpaths.
18563 (_dl_map_object_from_fd): Call expand_dynamic_string_token
18564 with zero is_path.
18565
f12a32e6
AS
185662011-04-08 Andreas Schwab <schwab@linux-m68k.org>
18567
18568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18569 Make cancelable.
18570
38a7d692
UD
185712011-04-09 Ulrich Drepper <drepper@gmail.com>
18572
18573 [BZ #12655]
18574 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
18575 Patch by Filipe David Manana <fdmanana@apache.org>.
18576
e451d22b
AS
185772011-04-07 Andreas Schwab <schwab@redhat.com>
18578
18579 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
18580 Maintain aligned stack.
18581 (CHECK_RSP): Remove unused macro.
18582
dedc7c7b
UD
185832011-04-03 Ulrich Drepper <drepper@gmail.com>
18584
18585 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
18586 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
18587
94521213
UD
185882011-04-02 Ulrich Drepper <drepper@gmail.com>
18589
18590 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
18591
8cb700c0 18592 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 18593
0354e355
L
185942011-03-26 H.J. Lu <hongjiu.lu@intel.com>
18595
18596 [BZ #12518]
18597 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
18598 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
18599 * sysdeps/x86_64/memmove.c: New file.
18600 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
18601 (memcpy): Renamed to ...
18602 (__new_memcpy): This.
18603 (memcpy): Provide GLIBC_2_14 memcpy.
18604 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
18605 (memcpy): Provide GLIBC_2_2_5 memcpy.
18606
8593482f
UD
186072011-04-01 Ulrich Drepper <drepper@gmail.com>
18608
18609 [BZ #12631]
18610 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
18611
81a5726b
AS
186122011-03-30 Andreas Schwab <schwab@redhat.com>
18613
18614 * misc/syncfs.c: New file.
18615 * misc/Makefile (routines): Add syncfs.
18616 * posix/unistd.h: Declare syncfs.
18617 * sysdeps/unix/syscalls.list: Add syncfs.
18618
00e5419f
AS
186192011-04-01 Andreas Schwab <schwab@redhat.com>
18620
18621 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
18622 open_by_handle_at.
18623 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18624 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18625 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18626 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18627 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18628 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
18629 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18630
748876bf
UD
186312011-04-01 Ulrich Drepper <drepper@gmail.com>
18632
658e451d
UD
18633 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
18634 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18635 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
18636 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18637 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18638 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18639 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18640
748876bf
UD
18641 * io/Makefile: Compile fallocate.c, fallocate64.c, and
18642 sync_file_range.c with -fexceptions.
18643 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
18644 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
18645 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18646 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18647 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
18648 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18649 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
18650 sync_file_range as cancellation point
18651 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
18652 now a wrapper around __call_sync_file_range with cancellation handling.
18653 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
18654 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
18655 function name to __call_sync_file_range.
18656 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
18657 Add call_sync_file_range.
748876bf 18658
6e63d5e1
AS
186592011-04-01 Andreas Schwab <schwab@redhat.com>
18660
18661 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 18662 bits/timex.h.
6e63d5e1 18663
46998f74
UD
186642011-04-01 Ulrich Drepper <drepper@gmail.com>
18665
4c1423ed
UD
18666 * iconv/iconv.h: Fix typo in comment.
18667 * io/fcntl.h: Likewise.
18668 * libio/stdio.h: Likewise.
18669 * posix/spawn.h: Likewise.
18670 * posix/unistd.h: Likewise.
18671 * stdlib/stdlib.h: Likewise.
18672 * time/time.h: Likewise.
18673 * wcsmbs/wchar.h: Likewise.
18674
158648c0
UD
18675 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
18676 open_by_handle): Add.
18677 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
18678 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
18679 Augment a few comments.
18680 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18681 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18682 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18683 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18684 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18685 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
18686 open_by_handle.
18687
46998f74
UD
18688 * io/fcntl.h (AT_EMPTY_PATH): Define.
18689
83fe108b
UD
186902011-03-30 Ulrich Drepper <drepper@gmail.com>
18691
18692 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
18693 * sysdeps/unix/sysv/linux/bits/time.h: New file.
18694 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
18695 to...
18696 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
18697 * Versions.def: Add GLIBC_2.14.
18698 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
18699 Export.
83fe108b 18700
bb242059
UD
187012011-03-22 Ulrich Drepper <drepper@gmail.com>
18702
18703 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
18704 round counter.
18705 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18706
c97a1282
L
187072011-03-20 H.J. Lu <hongjiu.lu@intel.com>
18708
18709 [BZ #12597]
18710 * string/test-strncmp.c (do_page_test): New function.
18711 (check2): Likewise.
18712 (test_main): Call check2.
18713 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
18714
2a115601
UD
187152011-03-20 Ulrich Drepper <drepper@gmail.com>
18716
18717 [BZ #12587]
18718 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
18719 Handle cache information in CPU leaf 4.
18720 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18721
8126d904
UD
187222011-03-18 Ulrich Drepper <drepper@gmail.com>
18723
042c49c6 18724 [BZ #12583]
8126d904
UD
18725 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
18726 character representation.
18727 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
18728
ccfe366e
RA
187292011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
18730
18731 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
18732 END(__isnan) to END(__isnanf) to match function entry point/label
18733 EALIGN(__isnanf,...).
18734
c6e13027
JJ
187352011-03-10 Jakub Jelinek <jakub@redhat.com>
18736
18737 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
18738
33f85a3f
UD
187392011-03-10 Ulrich Drepper <drepper@gmail.com>
18740
028478fa
UD
18741 [BZ #12510]
18742 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
18743 copy from the symbol referenced in the relocation to initialize the
18744 used variable.
18745 Patch by Piotr Bury <pbury@goahead.com>.
18746 * elf/Makefile: Add rules to build and tst-unique3.
18747 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
18748 * elf/tst-unique3.cc: New file.
18749 * elf/tst-unique3.h: New file.
18750 * elf/tst-unique3lib.cc: New file.
18751 * elf/tst-unique3lib2.cc: New file.
18752
33f85a3f
UD
18753 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
18754
03592fc7
MF
187552011-03-10 Mike Frysinger <vapier@gentoo.org>
18756
18757 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
18758 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
18759 to _start.
03592fc7 18760
6a5ee102
UD
187612011-03-06 Ulrich Drepper <drepper@gmail.com>
18762
18763 * elf/dl-load.c (_dl_map_object): If we are looking for the first
18764 to-be-loaded object along a path to loader is ld.so.
18765
7e4ba49c
HJ
187662011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18767 Ulrich Drepper <drepper@gmail.com>
18768
18769 * sysdeps/x86_64/memset.S: After aligning destination, code
18770 branches to different locations depending on the value of
18771 misalignment, when multiarch is enabled. Fix this.
18772
187732011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18774
18775 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
18776 Set _x86_64_preferred_memory_instruction for AMD processsors.
18777 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18778 Set bit_Prefer_SSE_for_memop for AMD processors.
18779
13a804de
UD
187802011-03-04 Ulrich Drepper <drepper@gmail.com>
18781
18782 * libio/fmemopen.c (fmemopen): Optimize a bit.
18783
9d25c392
AS
187842011-03-03 Andreas Schwab <schwab@redhat.com>
18785
18786 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
18787
a5543c6a
RM
187882011-03-03 Roland McGrath <roland@redhat.com>
18789
18790 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
18791
012d35f7
DM
187922011-02-28 Aurelien Jarno <aurelien@aurel32.net>
18793
7e4ba49c 18794 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
18795 __bzero_ultra1 instead of __memset_ultra1.
18796
4bff6e01
AS
187972011-02-23 Andreas Schwab <schwab@redhat.com>
18798 Ulrich Drepper <drepper@gmail.com>
18799
18800 [BZ #12509]
18801 * include/link.h (struct link_map): Add l_orig_initfini.
18802 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
18803 returning unsuccessfully.
18804 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
18805 close of a file loaded at startup, restore the original l_initfini
18806 list.
18807 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
18808 list, store the pointer.
18809 * elf/Makefile ($(objpfx)noload-mem): New rule.
18810 (noload-ENV): Define.
18811 (tests): Add $(objpfx)noload-mem.
18812 * elf/noload.c: Include <memcheck.h>.
18813 (main): Call mtrace. Close all opened handles.
18814
f2092faf
AS
188152011-02-17 Andreas Schwab <schwab@redhat.com>
18816
18817 [BZ #12454]
18818 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
18819 dependencies are missing.
18820
6c8a2e88
ST
188212011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
18822
f2092faf 18823 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
18824 Hurd needs munmap.
18825 * sysdeps/mach/hurd/ifreq.h: New file.
18826
84a42118
PB
188272011-01-27 Petr Baudis <pasky@suse.cz>
18828 Ulrich Drepper <drepper@gmail.com>
18829
071f805e 18830 [BZ 12445]#
84a42118
PB
18831 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
18832 to extend_alloca().
18833 * stdio-common/bug23.c: New file.
18834 * stdio-common/Makefile (tests): Add bug23.
18835
e23fe25b
AS
188362010-09-28 Andreas Schwab <schwab@redhat.com>
18837 Ulrich Drepper <drepper@gmail.com>
18838
18839 [BZ #12489]
18840 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
18841 before performing relro protection. At old place add assertion
18842 to make sure nothing changed.
18843
d3f02e10
NS
188442011-02-17 Nathan Sidwell <nathan@codesourcery.com>
18845 Glauber de Oliveira Costa <glommer@gmail.com>
18846
18847 * elf/elf.h: Add new ARM TLS relocs.
18848
d55fd7a5
RA
188492011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
18850
18851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18852 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
18853 cast from r3.
18854 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
18855 'tests' variable.
18856 * sysdeps/wordsize-64/tst-writev.c: New file.
18857
2206397e
RA
188582011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
18859
18860 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
18861 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
18862 insns in _dl_start to prevent a TOC reference before relocs are
18863 resolved.
18864
e9433893
UD
188652011-02-15 Ulrich Drepper <drepper@gmail.com>
18866
18867 [BZ #12469]
18868 * Makeconfig: Remove RANLIB definition.
18869 * Makerules: Don't use RANLIB.
18870 * aclocal.m4: Remove ranlib test.
18871 * configure.in: No need to check for ranlib.
18872 * elf/rtld-Rules: Don't use RANLIB.
18873
f75286c6
ST
188742011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18875
8e31c82d
ST
18876 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
18877 protection macro.
18878 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
18879 inclusion protection macro.
18880
f75286c6
ST
18881 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
18882 SIGRTMIN and SIGRTMAX and print information in that case only when
18883 SIGRTMIN is defined.
18884
c1d0e639
JJ
188852011-02-11 Jakub Jelinek <jakub@redhat.com>
18886
18887 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
18888 arginfo fn returning -1.
18889
18890 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
18891 and thousands string is zero terminated.
18892
edf9294e
AS
188932011-02-03 Andreas Schwab <schwab@redhat.com>
18894
18895 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
18896 sysdeps/unix/sysv/linux/bits/socket.h.
18897
2b7e92df
ST
188982011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18899
edf9294e
AS
18900 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
18901 (__CPU_COUNT): Remove old macros.
18902 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
18903 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
18904 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
18905 (__sched_cpualloc, __sched_cpufree): Add declarations.
18906
a4c7ea7b
UD
189072011-02-05 Ulrich Drepper <drepper@gmail.com>
18908
18909 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
18910 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
18911 * nscd/aicache.c (addhstaiX): Return timeout of added value.
18912 (readdhstai): Return value of addhstaiX call.
18913 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
18914 (addgrbyX): Return value returned by cache_addgr.
18915 (readdgrbyname): Return value returned by addgrbyX.
18916 (readdgrbygid): Likewise.
18917 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
18918 (addpwbyX): Return value returned by cache_addpw.
18919 (readdpwbyname): Return value returned by addhstbyX.
18920 (readdpwbyuid): Likewise.
18921 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
18922 (addservbyX): Return value returned by cache_addserv.
18923 (readdservbyname): Return value returned by addservbyX:
18924 (readdservbyport): Likewise.
18925 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
18926 (addhstbyX): Return value returned by cache_addhst.
18927 (readdhstbyname): Return value returned by addhstbyX.
18928 (readdhstbyaddr): Likewise.
18929 (readdhstbynamev6): Likewise.
18930 (readdhstbyaddrv6): Likewise.
18931 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
18932 (readdinitgroups): Return value returned by addinitgroupsX.
18933 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
18934 (prune_cache): Keep track of timeout value of re-added entries.
18935 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
18936 * nscd/nscd.h: Adjust prototypes of readd* functions.
18937
a0bf67cc
RM
189382011-02-04 Roland McGrath <roland@redhat.com>
18939
18940 * nis/nis_server.c (nis_servstate): Use the right name for 0.
18941 (nis_stats): Likewise.
18942 * nis/nis_modify.c (nis_modify): Likewise.
18943 * nis/nis_remove.c (nis_remove): Likewise.
18944 * nis/nis_add.c (nis_add): Likewise.
18945
18946 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
18947
18948 * posix/fnmatch_loop.c: Add some consts.
18949
18950 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
18951
435b95eb
L
189522011-02-02 H.J. Lu <hongjiu.lu@intel.com>
18953
18954 [BZ #12460]
18955 * config.make.in (config-cflags-novzeroupper): Define.
18956 * configure.in: Substitute libc_cv_cc_novzeroupper.
18957 * elf/Makefile (AVX-CFLAGS): Define.
18958 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
18959 (CFLAGS-tst-auditmod4a.c): Likewise.
18960 (CFLAGS-tst-auditmod4b.c): Likewise.
18961 (CFLAGS-tst-auditmod6b.c): Likewise.
18962 (CFLAGS-tst-auditmod6c.c): Likewise.
18963 (CFLAGS-tst-auditmod7b.c): Likewise.
18964 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
18965
8517b15e
UD
189662011-02-02 Ulrich Drepper <drepper@gmail.com>
18967
18968 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
18969 function to the callback.
18970 Patch partly by Jiri Olsa <jolsa@redhat.com>.
18971
10a656fe
AS
189722011-02-02 Andreas Schwab <schwab@redhat.com>
18973
18974 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
18975 of errno.
18976
968dad0a
UD
189772011-01-19 Ulrich Drepper <drepper@gmail.com>
18978
9f94d2ea 18979 [BZ #11724]
968dad0a
UD
18980 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
18981 of constructors.
18982 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
18983 of destructors.
18984 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
18985
18986 [BZ #11724]
18987 * elf/Makefile: Add rules to build and run new test.
18988 * elf/tst-initorder.c: New file.
18989 * elf/tst-initorder.exp: New file.
18990 * elf/tst-initordera1.c: New file.
18991 * elf/tst-initordera2.c: New file.
18992 * elf/tst-initordera3.c: New file.
18993 * elf/tst-initordera4.c: New file.
18994 * elf/tst-initorderb1.c: New file.
18995 * elf/tst-initorderb2.c: New file.
18996 * elf/tst-order-a1.c: New file.
18997 * elf/tst-order-a2.c: New file.
18998 * elf/tst-order-a3.c: New file.
18999 * elf/tst-order-a4.c: New file.
19000 * elf/tst-order-b1.c: New file.
19001 * elf/tst-order-b2.c: New file.
19002 * elf/tst-order-main.c: New file.
19003 New test case by George Gensure <werkt0@gmail.com>.
19004
86e92359
UD
190052010-10-01 Andreas Schwab <schwab@redhat.com>
19006
19007 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19008 decoding ACE if AI_CANONIDN.
19009
5d5732b0
UD
190102011-01-18 Ulrich Drepper <drepper@gmail.com>
19011
19012 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
19013
a77e8cbc
UD
190142011-01-17 Ulrich Drepper <drepper@gmail.com>
19015
6392473f
UD
19016 * version.h (RELEASE): Bump for 2.13 release.
19017 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
19018
620a0529
UD
19019 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
19020
18ba70a5
UD
19021 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
19022 MADV_NOHUGEPAGE.
32465c3e
UD
19023 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
19024 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19025 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19026 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19027 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19028 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19029
c0dafcf1
UD
19030 * posix/getconf.c: Update copyright year.
19031 * catgets/gencat.c: Likewise.
19032 * csu/version.c: Likewise.
19033 * debug/catchsegv.sh: Likewise.
19034 * debug/xtrace.sh: Likewise.
19035 * elf/ldconfig.c: Likewise.
19036 * elf/ldd.bash.in: Likewise.
19037 * elf/sprof.c (print_version): Likewise.
19038 * iconv/iconv_prog.c: Likewise.
19039 * iconv/iconvconfig.c: Likewise.
19040 * locale/programs/locale.c: Likewise.
19041 * locale/programs/localedef.c: Likewise.
19042 * malloc/memusage.sh: Likewise.
19043 * malloc/mtrace.pl: Likewise.
19044 * nscd/nscd.c (print_version): Likewise.
19045 * nss/getent.c: Likewise.
19046
a77e8cbc
UD
19047 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
19048 PF_CAIF, and PF_ALG.
19049 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19050
77e8bddf
AS
190512011-01-16 Andreas Schwab <schwab@linux-m68k.org>
19052
1f20b93a
AS
19053 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
19054 (modules-names): Use them.
19055 (ifunc-test-modules, ifunc-pie-tests): Define.
19056 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
19057 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
19058 (test-extras): Likewise.
19059 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
19060 $(compile-command.c).
19061 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
19062 (all-built-dso): Define.
19063 (check-textrel.out, check-execstack.out): Depend on it.
19064
77e8bddf
AS
19065 * configure.in: Don't override --enable-multi-arch.
19066
bc425b33
UD
190672011-01-15 Ulrich Drepper <drepper@gmail.com>
19068
19069 [BZ #6812]
19070 * nscd/hstcache.c (tryagain): Define.
19071 (cache_addhst): Return tryagain not notfound for temporary errors.
19072 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
19073 failed.
19074
794c3ad3
UD
190752011-01-14 Ulrich Drepper <drepper@gmail.com>
19076
70181fdd
UD
19077 [BZ #10563]
19078 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
19079 to make the syscall.
19080 * sysdeps/unix/sysv/linux/setgroups.c: New file.
19081
794c3ad3
UD
19082 [BZ #12378]
19083 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
19084 and fall back to matching as normal character if the string ends before
19085 the matching ']' is found. This is what POSIX requires.
19086 * posix/testfnm.c: Adjust test result.
19087 * posix/globtest.sh: Adjust test result. Add new test.
19088 * posix/tst-fnmatch.input: Likewise.
19089 * posix/tst-fnmatch2.c: Add new test.
19090
68dc9497
AS
190912010-12-28 Andreas Schwab <schwab@linux-m68k.org>
19092
19093 * elf/Makefile (check-execstack): Revert last change. Depend on
19094 check-execstack.h.
19095 (check-execstack.h): New target.
19096 (generated): Add check-execstack.h.
19097 * elf/check-execstack.c: Include "check-execstack.h".
19098 (main): Revert last change.
19099 (handle_file): Return zero if GNU_STACK is absent and
19100 DEFAULT_STACK_PERMS doesn't include PF_X.
19101
451f001b
UD
191022011-01-13 Ulrich Drepper <drepper@gmail.com>
19103
cfa28e56
UD
19104 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
19105 in child fails because the descriptor is already closed.
8cf8ce17
UD
19106 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
19107 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
19108 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 19109
1086d70d
UD
19110 [BZ #12397]
19111 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
19112 syscall.
19113
451f001b
UD
19114 [BZ #10484]
19115 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
19116 temporary buffer used to handle multi lookups locally.
a85b5cb4 19117 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 19118
08769175
UD
191192011-01-12 Ulrich Drepper <drepper@gmail.com>
19120
19121 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
19122 loader is ld.so.
19123
5e49c52e
UD
191242011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
19125
19126 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
19127 alignment for SSE2.
19128
60522a5f
UD
191292011-01-12 Ulrich Drepper <drepper@gmail.com>
19130
19131 [BZ #12394]
19132 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
19133 characters. When rounding increased number of integer digits recompute
19134 number of groups.
19135 * stdio-common/tst-grouping.c: New file.
19136 * stdio-common/Makefile: Add rules to build and run tst-grouping.
19137
f257bbd7
UD
191382011-01-09 Ulrich Drepper <drepper@gmail.com>
19139
19140 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
19141 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
19142
19143 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
19144 void.
19145 * bits/select.h: Likewise.
19146
fa9c15cb
UD
191472011-01-08 Ulrich Drepper <drepper@gmail.com>
19148
19149 * po/ja.po: Update from translation team.
19150
16c2895f
DM
191512011-01-04 David S. Miller <davem@sunset.davemloft.net>
19152
19153 [BZ #11155]
19154 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
19155 implementation just like for lxstat, fxstatat, et al.
19156
2543fef2
JM
191572010-12-27 Jim Meyering <meyering@redhat.com>
19158
19159 [BZ #12348]
19160 * posix/regexec.c (build_trtable): Return failure indication upon
19161 calloc failure. Otherwise, re_search_internal could infloop on OOM.
19162
98727dbe
UD
191632010-12-25 Ulrich Drepper <drepper@gmail.com>
19164
5bd6dc5c
UD
19165 [BZ #12201]
19166 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
19167 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
19168 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
19169 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
19170
97983464
UD
19171 [BZ #12207]
19172 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
19173
98727dbe
UD
19174 [BZ #12204]
19175 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
19176 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
19177
4a531bb0
L
191782010-12-15 H.J. Lu <hongjiu.lu@intel.com>
19179
19180 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
19181 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
19182 script has SORT_BY_INIT_PRIORITY.
19183 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
19184 NO_CTORS_DTORS_SECTIONS is defined.
19185 * elf/soinit.c: Likewise.
19186 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
19187 NO_CTORS_DTORS_SECTIONS is defined.
19188 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
19189 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
19190 * sysdeps/sh/init-first.c: Likewise.
19191 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
19192
07eb4b71
UD
191932010-12-24 Ulrich Drepper <drepper@gmail.com>
19194
19195 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
19196 always use the slow path.
19197
30950a5f
RA
191982010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
19199
19200 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
19201 similar rule which adds the sysdep directories to the header search in
19202 order to pick up the correct platform stackinfo.h.
19203 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
19204 perform test if it is, otherwise return successfully without testing.
19205 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
19206 DEFAULT_STACK_PERMS define in stackinfo.h.
19207 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
19208 defined in stackinfo.h.
19209 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
19210 DEFAULT_STACK_PERMS defined in stackinfo.h.
19211 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
19212 * sysdeps/ia64/stackinfo.h: Likewise.
19213 * sysdeps/s390/stackinfo.h: Likewise.
19214 * sysdeps/sh/stackinfo.h: Likewise.
19215 * sysdeps/sparc/stackinfo.h: Likewise.
19216 * sysdeps/x86_64/stackinfo.h: Likewise.
19217 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
19218 PF_X for powerpc64. Retain PF_X for powerpc32.
19219
db753e2c
UD
192202010-12-19 Ulrich Drepper <drepper@gmail.com>
19221
14b697f7
UD
19222 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
19223 accurately.
db753e2c
UD
19224 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
19225 GETDENTS_64BIT_ALIGNED.
19226
28300719
UD
192272010-12-14 Ulrich Drepper <dreper@gmail.com>
19228
14b697f7 19229 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 19230
4f197237
AS
192312010-12-10 Andreas Schwab <schwab@redhat.com>
19232
dbb0472f
AS
19233 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
19234 _GNU_SOURCE.
19235
4f197237
AS
19236 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
19237 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
19238 Remove __restrict.
19239 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
19240 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
19241
fb88ac72
UD
192422010-12-09 Ulrich Drepper <drepper@gmail.com>
19243
19244 [BZ #11655]
19245 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
19246 are initialized.
19247
42acbb92
JJ
192482010-12-09 Jakub Jelinek <jakub@redhat.com>
19249
19250 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
19251
c038d98d
UD
192522010-12-03 Ulrich Drepper <drepper@gmail.com>
19253
19254 * po/it.po: Update from translation team.
19255
3a4a2499
L
192562010-12-01 H.J. Lu <hongjiu.lu@intel.com>
19257
19258 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
19259 unused codes.
19260
1e24cf6e
UD
192612010-11-30 Ulrich Drepper <drepper@gmail.com>
19262
19263 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
19264
a7690819
AS
192652010-11-24 Andreas Schwab <schwab@redhat.com>
19266
19267 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
19268 specially.
19269 (gaih_getanswer_slice): Likewise.
19270
3bf8d1b1
JJ
192712010-10-20 Jakub Jelinek <jakub@redhat.com>
19272
19273 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
19274
6db52fbb
PB
192752010-05-31 Petr Baudis <pasky@suse.cz>
19276
19277 [BZ #11149]
19278 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
19279 silently even in the chroot mode.
19280
eaca7569
UD
192812010-11-22 Ulrich Drepper <drepper@gmail.com>
19282
19283 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
19284 last patch a bit. Pretty printing
19285
3056dcdb
UD
192862010-05-31 Petr Baudis <pasky@suse.cz>
19287
19288 [BZ #10085]
19289 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
19290 initialization of skip_initgroups_dyn.
19291
cf7c9078
UD
192922010-11-19 Ulrich Drepper <drepper@gmail.com>
19293
19294 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
19295 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19296
a1fb5e3e
UD
192972010-11-16 Ulrich Drepper <drepper@gmail.com>
19298
19299 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
19300
3540d66b
AS
193012010-11-11 Andreas Schwab <schwab@redhat.com>
19302
19303 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
19304 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
19305 (tst-fnmatch-ENV): Set MALLOC_TRACE.
19306 ($(objpfx)tst-fnmatch-mem): New rule.
19307 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
19308 * posix/tst-fnmatch.c (main): Call mtrace.
19309
13b69574
L
193102010-11-11 H.J. Lu <hongjiu.lu@intel.com>
19311
19312 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19313 Support Intel processor model 6 and model 0x2c.
19314
da93d214
LM
193152010-11-10 Luis Machado <luisgpm@br.ibm.com>
19316
19317 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
19318 signed comparison.
19319
8ca52c6e
L
193202010-11-09 H.J. Lu <hongjiu.lu@intel.com>
19321
19322 [BZ #12205]
19323 * string/test-strncasecmp.c (check_result): New function.
19324 (do_one_test): Use it.
19325 (check1): New function.
19326 (test_main): Use it.
19327 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
19328 Support strcasecmp and strncasecmp.
19329
69da074d
UD
193302010-11-08 Ulrich Drepper <drepper@gmail.com>
19331
19332 [BZ #12194]
19333 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
19334 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19335
ff02d528
L
193362010-11-07 H.J. Lu <hongjiu.lu@intel.com>
19337
19338 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
19339 IFUNC support.
19340 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19341 memset-x86-64.
19342 * sysdeps/x86_64/multiarch/bzero.S: New file.
19343 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
19344 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
19345 * sysdeps/x86_64/multiarch/memset.S: New file.
19346 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
19347 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19348 Set bit_Prefer_SSE_for_memop for Intel processors.
19349 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
19350 Define.
19351 (index_Prefer_SSE_for_memop): Define.
19352 (HAS_PREFER_SSE_FOR_MEMOP): Define.
19353
344d0b54
LM
193542010-11-04 Luis Machado <luisgpm@br.ibm.com>
19355
19356 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
19357 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
19358
c0dde15b
UD
193592010-11-03 H.J. Lu <hongjiu.lu@intel.com>
19360
19361 [BZ #12191]
19362 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19363 (__x86_64_raw_data_cache_size_half): Likewise.
19364 (__x86_64_raw_shared_cache_size): Likewise.
19365 (__x86_64_raw_shared_cache_size_half): Likewise.
19366
19367 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19368 (__x86_64_raw_data_cache_size_half): Likewise.
19369 (__x86_64_raw_shared_cache_size): Likewise.
19370 (__x86_64_raw_shared_cache_size_half): Likewise.
19371 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
19372 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
19373 and __x86_64_raw_shared_cache_size_half. Round
19374 __x86_64_data_cache_size_half, __x86_64_data_cache_size
19375 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
19376 to multiple of 256 bytes.
19377
0e516e0e
MS
193782010-11-03 Ulrich Drepper <drepper@gmail.com>
19379
19380 [BZ #12167]
19381 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
19382 of inacessible symlinks. Verify result of symlink before returning it.
19383 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19384 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
19385
0e012e87
ER
193862010-10-28 Erich Ritz <erichritz@gmail.com>
19387
19388 * math/math.h (isinf): Fix typo in comment.
19389
de0ff7bc
UD
193902010-11-01 Ulrich Drepper <drepper@gmail.com>
19391
19392 * po/da.po: Update from translation team.
19393
fa41c84d
UD
193942010-10-26 Ulrich Drepper <drepper@gmail.com>
19395
19396 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
19397 is added to the list.
19398
f0967738
AK
193992010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19400 Ulrich Drepper <drepper@gmail.com>
19401
19402 * elf/dl-object.c (_dl_new_object): Don't append the new object to
19403 the global list here. Move code to...
19404 (_dl_add_to_namespace_list): ...here. New function.
19405 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
19406 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
19407 * elf/dl-load.c (lose): Don't remove the element from the list.
19408 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
19409 (_dl_map_object): Likewise.
19410
194112010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
19412
19413 [BZ #12159]
19414 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
19415 into all bytes of SSE register.
19416 Patch by Richard Li <richardpku@gmail.com>.
19417
f0967738 194182010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
19419
19420 [BZ #12140]
19421 * malloc/malloc.c (_int_free): Fill correct number of bytes when
19422 perturbing.
19423
d0b9e94f
MB
194242010-10-20 Michael B. Brutman <brutman@us.ibm.com>
19425
19426 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
19427 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
19428 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
19429 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
19431 submachine.
19432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
19433
8e9f92e9
AS
194342010-10-22 Andreas Schwab <schwab@redhat.com>
19435
19436 * include/dlfcn.h (__RTLD_SECURE): Define.
19437 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
19438 mode & __RTLD_SECURE instead.
19439 (open_path): Rename preloaded parameter to secure.
19440 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
19441 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
19442 * elf/dl-deps.c (openaux): Likewise.
19443 * elf/rtld.c (struct map_args): Remove is_preloaded.
19444 (map_doit): Don't use it.
19445 (dl_main): Likewise.
19446 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
19447 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
19448
bc96fbda
AS
194492010-09-09 Andreas Schwab <schwab@redhat.com>
19450
19451 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
19452 (sysd-rules-targets): Remove duplicates.
19453 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
19454 rtld-%.$o dependency.
19455
22cd1c9b
AS
194562010-10-18 Andreas Schwab <schwab@redhat.com>
19457
19458 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
19459 _dl_map_object do it.
19460
18edac48
UD
194612010-10-19 Ulrich Drepper <drepper@gmail.com>
19462
19463 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
19464 fast fma builtins, define the macros in the C99 standard.
19465 (FP_FAST_FMAF): Likewise.
19466 (FP_FAST_FMAL): Likewise.
19467 * sysdeps/x86_64/bits/mathdef.h: Likewise.
19468
19469 * bits/mathdef.h: Update copyright year.
19470 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19471
d2050124
MM
194722010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
19473
19474 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
19475 builtins, define the macros in the C99 standard.
19476 (FP_FAST_FMAF): Likewise.
19477 (FP_FAST_FMAL): Likewise.
19478 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
19479 multiply/add.
19480 (FP_FAST_FMAF): Likewise.
19481
475facd1
JJ
194822010-10-15 Jakub Jelinek <jakub@redhat.com>
19483
19484 [BZ #3268]
19485 * math/libm-test.inc (fma_test): Some new testcases.
19486 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
19487 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
19488 y and infinite z. Do multiplication by C already in long double.
19489 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
19490 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
19491 y and infinite z. Do bitwise or of inexact bit into u.d.
19492 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
19493 * sysdeps/i386/fpu/s_fmaf.S: Removed.
19494 * sysdeps/i386/fpu/s_fma.S: Removed.
19495 * sysdeps/i386/fpu/s_fmal.S: Removed.
19496
7c08a05c
JJ
194972010-10-16 Jakub Jelinek <jakub@redhat.com>
19498
19499 [BZ #3268]
19500 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
19501 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
19502 computation is not scheduled after fetestexcept. Fix value
19503 of minimum denormal long double.
19504
f3f7372d
JJ
195052010-10-14 Jakub Jelinek <jakub@redhat.com>
19506
19507 [BZ #3268]
19508 * math/libm-test.inc (fma_test): Add some more tests.
19509 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
19510 correctly.
19511
14d43591
AS
195122010-10-15 Andreas Schwab <schwab@redhat.com>
19513
19514 * scripts/data/localplt-s390-linux-gnu.data: New file.
19515 * scripts/data/localplt-s390x-linux-gnu.data: New file.
19516
5e908464
JJ
195172010-10-13 Jakub Jelinek <jakub@redhat.com>
19518
19519 [BZ #3268]
19520 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
19521 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
19522 instead of dbl-64.
19523 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
19524 inlines.
19525 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
19526 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
19527 if one of x and y is very large and the other is subnormal.
19528 * sysdeps/s390/fpu/s_fmaf.c: New file.
19529 * sysdeps/s390/fpu/s_fma.c: New file.
19530 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
19531 * sysdeps/powerpc/fpu/s_fma.S: New file.
19532 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
19533 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
19534 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
19535
195362010-10-12 Jakub Jelinek <jakub@redhat.com>
19537
19538 [BZ #3268]
19539 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
19540 fma tests.
19541 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
19542 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
19543 * sysdeps/i386/i686/multiarch/s_fma.c: Include
19544 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
19545 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
19546 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
19547 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
19548
b833d51f
UD
195492010-10-12 Ulrich Drepper <drepper@redhat.com>
19550
19551 [BZ #12078]
19552 * posix/regcomp.c (parse_branch): One more memory leak plugged.
19553 * posix/bug-regex31.input: Add test case.
19554
1751705d
UD
195552010-10-11 Ulrich Drepper <drepper@gmail.com>
19556
e9b9cbf5
UD
19557 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
19558 * posix/bug-regex31.input: New file.
19559
19560 [BZ #12078]
19561 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
19562 (parse_sub_exp): Fix last change, use postorder.
19563
ef06edbe
UD
19564 * posix/bug-regex31.c: New file.
19565 * posix/Makefile: Add rules to build and run bug-regex31.
19566
a129c80d
UD
19567 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
19568
19569 [BZ #12078]
19570 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
19571
b76b818e
UD
19572 [BZ #12108]
19573 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
19574 to have entries in sys_siglist.
19575
1751705d
UD
19576 [BZ #12093]
19577 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
19578 be NULL.
19579
9ff8d36f
JJ
195802010-10-07 Jakub Jelinek <jakub@redhat.com>
19581
19582 [BZ #3268]
19583 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
19584 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
19585 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
19586 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
19587 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19588 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
19589 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
19590 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
19591 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
19592 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
19593 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
19594 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
19595 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19596 * math/ftestexcept.c (fetestexcept): Likewise.
19597 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
19598 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
19599 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19600 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
19601 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
19602 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
19603 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19604
af325969
UD
196052010-10-11 Ulrich Drepper <drepper@gmail.com>
19606
c579b202 19607 [BZ #12107]
af325969
UD
19608 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
19609 newline.
19610
67a67b95
UD
196112010-10-06 Ulrich Drepper <drepper@gmail.com>
19612
19613 * string/bug-strstr1.c: New file.
19614 * string/Makefile: Add rules to build and run bug-strstr1.
19615
5fb308bc
EB
196162010-10-05 Eric Blake <eblake@redhat.com>
19617
19618 [BZ #12092]
19619 * string/str-two-way.h (two_way_long_needle): Always clear memory
19620 when skipping input due to the shift table.
19621
45db99c7
UD
196222010-10-03 Ulrich Drepper <drepper@gmail.com>
19623
3b111893
UD
19624 [BZ #12005]
19625 * malloc/mcheck.c: Handle large requests.
19626
45db99c7
UD
19627 [BZ #12077]
19628 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
19629 for strncmp and strncasecmp.
19630 * string/stratcliff.c: Add tests for strcmp and strncmp.
19631 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
19632
cf7a1eb8
NI
196332010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19634
19635 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
19636 __set_fpscr.
19637
6484ba5e
AJ
196382010-09-30 Andreas Jaeger <aj@suse.de>
19639
19640 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
19641 (CGROUP_SUPER_MAGIC): Define.
19642 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19643 Handle btrfs and cgroup file systems.
19644 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19645 Likewise.
19646
91c42559
LM
196472010-09-27 Luis Machado <luisgpm@br.ibm.com>
19648
19649 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
19650 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
19651
87a97932
AK
196522010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19653
19654 [BZ #12067]
19655 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
19656 trying to locate the ELF header.
19657
c21cc9bc
AS
196582010-09-27 Andreas Schwab <schwab@redhat.com>
19659
19660 [BZ #11611]
19661 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
19662 Mask out sign-bit copies when constructing f_fsid.
19663
315970f6
PB
196642010-09-24 Petr Baudis <pasky@suse.cz>
19665
19666 * debug/stack_chk_fail_local.c: Add missing licence exception.
19667 * debug/warning-nop.c: Likewise.
19668
1ac7a2c7
JM
196692010-09-15 Joseph Myers <joseph@codesourcery.com>
19670
19671 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
19672 implementing getdents64 using getdents syscall, set d_type if
19673 __ASSUME_GETDENTS32_D_TYPE.
19674
56801c50
AS
196752010-09-16 Andreas Schwab <schwab@redhat.com>
19676
19677 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
19678 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
19679
dda51327
UD
196802010-09-21 Ulrich Drepper <drepper@redhat.com>
19681
19682 [BZ #12037]
19683 * posix/unistd.h: Undo change of feature selection for ftruncate from
19684 2010-01-11.
19685
8ffcee4a
UD
196862010-09-20 Ulrich Drepper <drepper@redhat.com>
19687
a545ecd9 19688 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
19689 detection.
19690
e24f0a8b
AS
196912010-09-20 Andreas Schwab <schwab@redhat.com>
19692
19693 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
19694 fanotify_mark.
19695 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19696
7291c56f
AS
196972010-09-14 Andreas Schwab <schwab@redhat.com>
19698
19699 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
19700 variables after CHECK_SP call.
19701 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
19702
bc5fb037
AS
197032010-09-13 Andreas Schwab <schwab@redhat.com>
19704 Ulrich Drepper <drepper@redhat.com>
19705
19706 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
19707 re-relocationg ld.so.
19708 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
19709 _dl_init_paths call.
19710 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
19711 here anymore.
19712
e66e7419
UD
197132010-09-14 Ulrich Drepper <drepper@redhat.com>
19714
19715 * resolv/res_init.c (__res_vinit): Count the default server we added.
19716
c044aa75
CLT
197172010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
19718 Ulrich Drepper <drepper@redhat.com>
19719
19720 [BZ #11968]
19721 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19722 (____longjmp_chk): Use %ebx for saving value across system call.
19723 Add unwind info.
19724
32cf4069
AS
197252010-09-06 Andreas Schwab <schwab@redhat.com>
19726
19727 * manual/Makefile: Don't mix pattern rules with normal rules.
19728
817328ee
AS
197292010-09-05 Andreas Schwab <schwab@linux-m68k.org>
19730
19731 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
19732 operation.
19733 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19734 * libio/iofopncook.c (_IO_cookie_init): Likewise.
19735 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19736 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19737 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19738 Likewise.
19739
29fddf61
UD
197402010-09-04 Ulrich Drepper <drepper@redhat.com>
19741
19742 [BZ #11979]
19743 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
19744 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
19745
0959ffc9
UD
197462010-09-02 Ulrich Drepper <drepper@redhat.com>
19747
19748 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
19749 * sysdeps/x86_64/addmul_1.S: Likewise.
19750 * sysdeps/x86_64/lshift.S: Likewise.
19751 * sysdeps/x86_64/mul_1.S: Likewise.
19752 * sysdeps/x86_64/rshift.S: Likewise.
19753 * sysdeps/x86_64/sub_n.S: Likewise.
19754 * sysdeps/x86_64/submul_1.S: Likewise.
19755
ece29840
ST
197562010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
19757
0959ffc9
UD
19758 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
19759 Define __sched_param instead of SCHED_* and sched_param when
ece29840 19760 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 19761 * bits/sched.h [__need_schedparam]
ece29840 19762 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
19763 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
19764 (__defined_schedparam): Define to 1.
ece29840
ST
19765 (__sched_param): New structure, identical to sched_param.
19766 (__need_schedparam): Undefine.
19767
e53a31fe
MF
197682010-08-31 Mike Frysinger <vapier@gentoo.org>
19769
fdc0c10d
MF
19770 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
19771 (epoll_create1): Declare.
19772
e53a31fe
MF
19773 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
19774
a726d796
AS
197752010-08-31 Andreas Schwab <schwab@redhat.com>
19776
19777 [BZ #7066]
19778 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
19779 shifting retval into place.
19780
2f3e3dc7
UD
197812010-09-01 Ulrich Drepper <drepper@redhat.com>
19782
f2933da9
UD
19783 * nis/rpcsvc/nis.h: Update copyright notice.
19784 * nis/rpcsvc/nis.x: Likewise.
19785 * nis/rpcsvc/nis_callback.h: Likewise.
19786 * nis/rpcsvc/nis_callback.x: Likewise.
19787 * nis/rpcsvc/nis_object.x: Likewise.
19788 * nis/rpcsvc/nis_tags.h: Likewise.
19789 * nis/rpcsvc/yp.h: Likewise.
19790 * nis/rpcsvc/yp.x: Likewise.
19791 * nis/rpcsvc/ypupd.h: Likewise.
19792 * nis/yp_xdr.c: Likewise.
19793 * nis/ypupdate_xdr.c: Likewise.
19794
2f3e3dc7
UD
19795 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
19796 mainly the body of pmap_getport. Add parameters to specify timeouts.
19797 (pmap_getport): Use __libc_rpc_getport.
19798 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
19799 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
19800 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
19801
f3dcc2f9
AS
198022010-08-31 Andreas Schwab <schwab@linux-m68k.org>
19803
19804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
19805 fanotify_mark.
19806
6d34eb5b
RM
198072010-08-27 Roland McGrath <roland@redhat.com>
19808
19809 * sysdeps/i386/i686/multiarch/Makefile
19810 (CFLAGS-varshift.c): New variable.
19811
9ea3de11
UD
198122010-08-27 Ulrich Drepper <drepper@redhat.com>
19813
c96d23fc
UD
19814 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
19815 * sysdeps/i386/i686/multiarch/varshift.c: New file.
19816
9ea3de11
UD
19817 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
19818
19819 * sysdeps/x86_64/strlen.S: Minimal code improvement.
19820
623aac7f
L
198212010-08-26 H.J. Lu <hongjiu.lu@intel.com>
19822
19823 * sysdeps/x86_64/strlen.S: Unroll the loop.
19824 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19825 strlen-sse2 strlen-sse2-bsf.
19826 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
19827 __strlen_no_bsf if bit_Slow_BSF is set.
19828 (__strlen_sse42): Removed.
19829 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
19830 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
19831
8b2b7715
RM
198322010-08-25 Roland McGrath <roland@redhat.com>
19833
19834 * sysdeps/x86_64/multiarch/varshift.S: File removed.
19835 * sysdeps/x86_64/multiarch/varshift.c: New file.
19836 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
19837 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
19838 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
19839 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19840
e73015f2
L
198412010-08-25 H.J. Lu <hongjiu.lu@intel.com>
19842
19843 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19844 strlen-sse2 strlen-sse2-bsf.
19845 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
19846 __strlen_sse2_bsf if bit_Slow_BSF is unset.
19847 (__strlen_sse2): Removed.
19848 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
19849 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
19850 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19851 bit_Slow_BSF for Atom.
19852 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
19853 (index_Slow_BSF): Define.
19854 (HAS_SLOW_BSF): Define.
19855
df24a73e
UD
198562010-08-25 Ulrich Drepper <drepper@redhat.com>
19857
19858 [BZ #10851]
19859 * resolv/res_init.c (__res_vinit): When no server address at all
19860 is given default to loopback.
19861
f2ac4868
RM
198622010-08-24 Roland McGrath <roland@redhat.com>
19863
09055553
RM
19864 * configure.in: Remove config-name.h generation.
19865 * configure: Regenerated.
19866 * config-name.in: File removed.
19867 * scripts/config-uname.sh: New file.
19868 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
19869 ($(objdir)config-name.h): New target.
19870
f2ac4868
RM
19871 * sunrpc/rpc_parse.h: Avoid nested comment.
19872
73f27d5e
RH
198732010-08-24 Richard Henderson <rth@redhat.com>
19874 Ulrich Drepper <drepper@redhat.com>
19875 H.J. Lu <hongjiu.lu@intel.com>
19876
19877 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
19878 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
19879 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
19880 Replace _mm_srli_si128 with __m128i_shift_right. Replace
19881 _mm_alignr_epi8 with _mm_loadu_si128.
19882 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
19883 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
19884 (__m128i_shift_right): Removed.
19885 * sysdeps/i386/i686/multiarch/varshift.h: New file.
19886 * sysdeps/i386/i686/multiarch/varshift.S: New file.
19887 * sysdeps/x86_64/multiarch/varshift.h: New file.
19888 * sysdeps/x86_64/multiarch/varshift.S: New file.
19889
84b9230c
MF
198902010-08-21 Mike Frysinger <vapier@gentoo.org>
19891
19892 * configure.in: Move assembler checks to before sysdep dir checking.
19893
9bbd0ddc
PB
198942010-08-20 Petr Baudis <pasky@suse.cz>
19895
19896 * LICENSES: Sync the sunrpc license.
19897
9da4bb31
UD
198982010-08-19 Ulrich Drepper <drepper@redhat.com>
19899
a7ab6ec8
UD
19900 * sunrpc/auth_des.c: Update copyright notice once again.
19901 * sunrpc/auth_none.c: Likewise.
19902 * sunrpc/auth_unix.c: Likewise.
19903 * sunrpc/authdes_prot.c: Likewise.
19904 * sunrpc/authuxprot.c: Likewise.
19905 * sunrpc/bindrsvprt.c: Likewise.
19906 * sunrpc/clnt_gen.c: Likewise.
19907 * sunrpc/clnt_perr.c: Likewise.
19908 * sunrpc/clnt_raw.c: Likewise.
19909 * sunrpc/clnt_simp.c: Likewise.
19910 * sunrpc/clnt_tcp.c: Likewise.
19911 * sunrpc/clnt_udp.c: Likewise.
19912 * sunrpc/clnt_unix.c: Likewise.
19913 * sunrpc/des_crypt.c: Likewise.
19914 * sunrpc/des_soft.c: Likewise.
19915 * sunrpc/get_myaddr.c: Likewise.
19916 * sunrpc/getrpcport.c: Likewise.
19917 * sunrpc/key_call.c: Likewise.
19918 * sunrpc/key_prot.c: Likewise.
19919 * sunrpc/openchild.c: Likewise.
19920 * sunrpc/pm_getmaps.c: Likewise.
19921 * sunrpc/pm_getport.c: Likewise.
19922 * sunrpc/pmap_clnt.c: Likewise.
19923 * sunrpc/pmap_prot.c: Likewise.
19924 * sunrpc/pmap_prot2.c: Likewise.
19925 * sunrpc/pmap_rmt.c: Likewise.
19926 * sunrpc/rpc/auth.h: Likewise.
19927 * sunrpc/rpc/auth_unix.h: Likewise.
19928 * sunrpc/rpc/clnt.h: Likewise.
19929 * sunrpc/rpc/des_crypt.h: Likewise.
19930 * sunrpc/rpc/key_prot.h: Likewise.
19931 * sunrpc/rpc/netdb.h: Likewise.
19932 * sunrpc/rpc/pmap_clnt.h: Likewise.
19933 * sunrpc/rpc/pmap_prot.h: Likewise.
19934 * sunrpc/rpc/pmap_rmt.h: Likewise.
19935 * sunrpc/rpc/rpc.h: Likewise.
19936 * sunrpc/rpc/rpc_des.h: Likewise.
19937 * sunrpc/rpc/rpc_msg.h: Likewise.
19938 * sunrpc/rpc/svc.h: Likewise.
19939 * sunrpc/rpc/svc_auth.h: Likewise.
19940 * sunrpc/rpc/types.h: Likewise.
19941 * sunrpc/rpc/xdr.h: Likewise.
19942 * sunrpc/rpc_clntout.c: Likewise.
19943 * sunrpc/rpc_cmsg.c: Likewise.
19944 * sunrpc/rpc_common.c: Likewise.
19945 * sunrpc/rpc_cout.c: Likewise.
19946 * sunrpc/rpc_dtable.c: Likewise.
19947 * sunrpc/rpc_hout.c: Likewise.
19948 * sunrpc/rpc_main.c: Likewise.
19949 * sunrpc/rpc_parse.c: Likewise.
19950 * sunrpc/rpc_parse.h: Likewise.
19951 * sunrpc/rpc_prot.c: Likewise.
19952 * sunrpc/rpc_sample.c: Likewise.
19953 * sunrpc/rpc_scan.c: Likewise.
19954 * sunrpc/rpc_scan.h: Likewise.
19955 * sunrpc/rpc_svcout.c: Likewise.
19956 * sunrpc/rpc_tblout.c: Likewise.
19957 * sunrpc/rpc_util.c: Likewise.
19958 * sunrpc/rpc_util.h: Likewise.
19959 * sunrpc/rpcinfo.c: Likewise.
19960 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
19961 * sunrpc/rpcsvc/key_prot.x: Likewise.
19962 * sunrpc/rpcsvc/klm_prot.x: Likewise.
19963 * sunrpc/rpcsvc/mount.x: Likewise.
19964 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
19965 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
19966 * sunrpc/rpcsvc/rex.x: Likewise.
19967 * sunrpc/rpcsvc/rstat.x: Likewise.
19968 * sunrpc/rpcsvc/rusers.x: Likewise.
19969 * sunrpc/rpcsvc/sm_inter.x: Likewise.
19970 * sunrpc/rpcsvc/spray.x: Likewise.
19971 * sunrpc/rpcsvc/yppasswd.x: Likewise.
19972 * sunrpc/rtime.c: Likewise.
19973 * sunrpc/svc.c: Likewise.
19974 * sunrpc/svc_auth.c: Likewise.
19975 * sunrpc/svc_authux.c: Likewise.
19976 * sunrpc/svc_raw.c: Likewise.
19977 * sunrpc/svc_run.c: Likewise.
19978 * sunrpc/svc_simple.c: Likewise.
19979 * sunrpc/svc_tcp.c: Likewise.
19980 * sunrpc/svc_udp.c: Likewise.
19981 * sunrpc/svc_unix.c: Likewise.
19982 * sunrpc/svcauth_des.c: Likewise.
19983 * sunrpc/xcrypt.c: Likewise.
19984 * sunrpc/xdr.c: Likewise.
19985 * sunrpc/xdr_array.c: Likewise.
19986 * sunrpc/xdr_float.c: Likewise.
19987 * sunrpc/xdr_mem.c: Likewise.
19988 * sunrpc/xdr_rec.c: Likewise.
19989 * sunrpc/xdr_ref.c: Likewise.
19990 * sunrpc/xdr_sizeof.c: Likewise.
19991 * sunrpc/xdr_stdio.c: Likewise.
19992
9da4bb31
UD
19993 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
19994 handling.
19995
bdaa77bc
AS
199962010-08-19 Andreas Schwab <schwab@redhat.com>
19997
19998 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
19999
fe2f79db
LM
200002010-08-19 Luis Machado <luisgpm@br.ibm.com>
20001
20002 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
20003 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
20004 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
20005 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
20006 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
20007 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
20008 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
20009 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
20010 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
20011 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
20012 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
20013 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
20014 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
20015 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
20016
b9b42ee0
AB
200172010-07-26 Anton Blanchard <anton@samba.org>
20018
20019 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
20020 * malloc/arena.c (heap_trim): Likewise.
20021
1c06ba31
UD
200222010-08-16 Ulrich Drepper <drepper@redhat.com>
20023
20024 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
20025 here. Not...
20026 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
20027 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
20028
f8392f40
L
200292010-08-12 H.J. Lu <hongjiu.lu@intel.com>
20030
20031 * sysdeps/i386/elf/Makefile: New file.
20032
3162f12e
AS
200332010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20034
20035 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
20036 from fanotify_init.
20037 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
20038 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20039
28c90b2c
UD
200402010-08-15 Ulrich Drepper <drepper@redhat.com>
20041
20042 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
20043 of strncasecmp_l.
1feccb6c 20044 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 20045
ca6bb004
UD
200462010-08-14 Ulrich Drepper <drepper@redhat.com>
20047
e9f82e0d
UD
20048 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20049 strncase_l-nonascii.
20050 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20051 Add strncase_l-ssse3.
20052 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
20053 * sysdeps/x86_64/strcmp.S: Likewise.
20054 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
20055 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
20056 * sysdeps/x86_64/strncase.S: New file.
20057 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
20058 * sysdeps/x86_64/strncase_l.S: New file.
20059 * string/Makefile (strop-tests): Add strncasecmp.
20060 * string/test-strncasecmp.c: New file.
20061
20062 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
20063 warning.
20064
ca6bb004
UD
20065 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
20066 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
20067
052fa7b3
AS
200682010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20069
20070 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
20071
962dba78
UD
200722010-08-12 Ulrich Drepper <drepper@redhat.com>
20073
20074 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
20075 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
20076 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
20077
bebff237
AM
200782010-05-01 Alan Modra <amodra@gmail.com>
20079
20080 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
20081 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
20082 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
20083 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
20084 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
20085 tidying. Don't tail-call __sigjmp_save for static lib.
20086 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
20087 save location.
20088 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
20089 (CALL_MCOUNT): Add eh info, and nop after bl.
20090 (TAIL_CALL_SYSCALL_ERROR): New macro.
20091 (PSEUDO_RET): Use it.
20092 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20093 Correct save location of integer regs and cr.
20094 (_dl_profile_resolve): Correct cr save location. Delete nops
20095 after bl when SHARED. Reduce cfi size a little by better
20096 placement of cfi directives.
20097 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
20098 make a stack frame. Instead use parm save area as a temp.
20099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
20100 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
20101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20102 Don't make a stack frame for parent, use parm save area.
20103 Increase child stack frame to 112 bytes. Don't save unused reg,
20104 and adjust reg usage. Set up cfi on error recovery and
20105 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
20106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20107 (__makecontext): Add dummy nop after jump to exit.
20108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
20109 Use correct parm save area and cr save, reduce stack frame.
20110 Correct cfi for possible PSEUDO_RET frame setup.
20111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
20112 Branch to local label emitted by PSEUDO_RET rather than
20113 __syscall_error.
20114
02637374
AS
201152010-08-12 Andreas Schwab <schwab@redhat.com>
20116
20117 [BZ #11904]
20118 * locale/programs/locale.c (print_assignment): New function.
20119 (show_locale_vars): Use it.
20120
c3e2f19b
UD
201212010-08-11 Ulrich Drepper <drepper@redhat.com>
20122
3cdaa6ad
UD
20123 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
20124 field.
20125 (struct statfs64): Likewise.
20126 (_STATFS_F_FLAGS): Define.
20127 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
20128 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20129 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
20130 (ST_VALID): Define locally.
20131 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
20132 __statvfs_getflags, use the provided value.
20133 * sysdeps/unix/sysv/linux/kernel-features.h: Define
20134 __ASSUME_STATFS_F_FLAGS.
20135
754f7da3
UD
20136 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
20137
10b3bedc
UD
20138 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
20139 Add sys/fanotify.h.
20140 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
20141 fanotify_mask for GLIBC_2.13.
20142 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
20143 fanotify_init and fanotify_mark.
20144 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20145 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
20146
c08fb0d7
UD
20147 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
20148 Add prlimit.
20149 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
20150 prlimit64 for GLIBC_2.13.
20151 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
20152 prlimit64.
20153 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
20154 syscall.
20155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
20156 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20157 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
20158 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
20159 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
20160 add prlimit alias.
20161 * sysdeps/unix/sysv/linux/prlimit.c: New file.
20162
15bac72b
UD
20163 [BZ #11903]
20164 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
20165 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
20166
c3e2f19b
UD
20167 * nss/Makefile: Add rules to build and run tst-nss-test1.
20168 * shlib-versions: Add entry for libnss_test1.
20169 * nss/nss_test1.c: New file.
20170 * nss/tst-nss-test1.c: New file.
20171
20172 * nss/nsswitch.c (__nss_database_custom): Define new variable.
20173 (__nss_configure_lookup): Set appropriate entry in
20174 __nss_configure_lookup to true.
20175 * nss/nsswitch.h: Define enum with indeces of databases in
20176 databases and __nss_database_custom arrays. Declare
20177 __nss_database_custom.
20178 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
20179 to avoid using nscd when custom rules are installed.
20180 * nss/getXXbyYY_r.c: Likewise.
20181 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20182
20183 * nss/nss_files/files-parse.c: Whitespace fixes.
20184
f15ce4d8
UD
201852010-08-09 Ulrich Drepper <drepper@redhat.com>
20186
20187 [BZ #11883]
20188 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
20189 * posix/fnmatch_loop.c: Likewise.
20190
d22e4cc9
AK
201912010-07-17 Andi Kleen <ak@linux.intel.com>
20192
20193 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
20194 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
20195 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
20196 * Versions.def [GLIBC_2.13]: Add.
20197
805bc17d
UD
201982010-08-06 Ulrich Drepper <drepper@redhat.com>
20199
20200 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20201 Also fail if tpwd after pwuid call is NULL.
20202
5a42321d
ST
202032010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
20204
20205 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
20206 when converting to ms.
20207
fd3ebeda
ST
202082010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20209
20210 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
20211 EOPNOTSUPP errors with ENOTTY.
20212 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
20213 EOPNOTSUPP errors with ENOTTY.
20214
73507d3a
UD
202152010-07-31 Ulrich Drepper <drepper@redhat.com>
20216
20217 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20218 Add strcasecmp_l-ssse3.
20219 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
20220 strcasecmp.
20221 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
20222 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
20223 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
20224
fe36dd02
UD
202252010-07-30 Ulrich Drepper <drepper@redhat.com>
20226
66f6765a
UD
20227 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
20228
42e08a54
UD
20229 * string/Makefile (strop-tests): Add strcasecmp.
20230 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20231 strcasecmp_l-nonascii.
20232 (gen-as-const-headers): Add locale-defines.sym.
20233 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
20234 * sysdeps/x86_64/strcasecmp.S: New file.
20235 * sysdeps/x86_64/strcasecmp_l.S: New file.
20236 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
20237 * sysdeps/x86_64/locale-defines.sym: New file.
20238 * string/test-strcasecmp.c: New file.
20239
fe36dd02
UD
20240 * string/test-strcasestr.c: Test both ends of the range of characters.
20241 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
20242
48cbc0d6
RM
202432010-07-29 Roland McGrath <roland@redhat.com>
20244
76e6d6bc 20245 [BZ #11856]
48cbc0d6
RM
20246 * manual/locale.texi (Yes-or-No Questions): Fix example code.
20247
880113d9
UD
202482010-07-27 Ulrich Drepper <drepper@redhat.com>
20249
20250 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
20251 for ld.so.
20252
deb9cabb
AS
202532010-07-27 Andreas Schwab <schwab@redhat.com>
20254
20255 * manual/memory.texi (Malloc Tunable Parameters): Document
20256 M_PERTURB.
20257
1c7570ff
RM
202582010-07-26 Roland McGrath <roland@redhat.com>
20259
20260 [BZ #11840]
20261 * configure.in (-fgnu89-inline check): Set and substitute
20262 gnu89_inline, not libc_cv_gnu89_inline.
20263 * configure: Regenerated.
20264 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
20265
24fb0f88
UD
202662010-07-26 Ulrich Drepper <drepper@redhat.com>
20267
20268 * string/test-strnlen.c: New file.
20269 * string/Makefile (strop-tests): Add strnlen.
20270 * string/tester.c (test_strnlen): Add a few more test cases.
20271 * string/tst-strlen.c: Better error reporting.
20272
20273 * sysdeps/x86_64/strnlen.S: New file.
20274
8e96b93a
UD
202752010-07-24 Ulrich Drepper <drepper@redhat.com>
20276
20277 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
20278 lower-latency instructions.
20279
dbc676d4
UD
202802010-07-23 Ulrich Drepper <drepper@redhat.com>
20281
20282 * string/test-strcasestr.c: New file.
20283 * string/test-strstr.c: New file.
20284 * string/Makefile (strop-tests): Add strstr and strcasestr.
20285 * string/str-two-way.h: Don't undefine MAX.
20286 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
20287
f6a31e0e
AS
202882010-07-21 Andreas Schwab <schwab@redhat.com>
20289
20290 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20291 strcasestr-nonascii.
20292 (CFLAGS-strcasestr-nonascii.c): Define.
20293 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
20294 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
20295 Remove unused attribute.
20296
5dbc3b6c
RM
202972010-07-20 Roland McGrath <roland@redhat.com>
20298
20299 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
20300 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
20301 ld.so.cache was broken. With it, there is no way to disable dsocaps
20302 like LD_HWCAP_MASK can disable hwcaps.
20303
23d101d8
EPM
203042010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20305
20306 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
20307
cc9f2e47
UD
203082010-07-16 Ulrich Drepper <drepper@redhat.com>
20309
20310 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
20311 call in strcasestr.
20312 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
20313 __strcasestr_sse42_nonascii.
20314 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
20315 strcasestr-nonascii.c.
20316 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
20317
77c1b069
LM
203182010-06-15 Luis Machado <luisgpm@br.ibm.com>
20319
20320 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
20321 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
20322 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
20323 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
20324
440566c3
UD
203252010-07-09 Ulrich Drepper <drepper@redhat.com>
20326
20327 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
20328 fcntl.
20329
5be9d05d
AS
203302010-07-06 Andreas Schwab <schwab@redhat.com>
20331
c30b7ee2 20332 [BZ #11577]
5be9d05d
AS
20333 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
20334 dl_signal_cerror.
20335
8a492a67
UD
203362010-07-06 Ulrich Drepper <drepper@redhat.com>
20337
20338 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
20339 _PC_PIPE_BUF using F_GETPIPE_SZ.
20340
713df3d5
RM
203412010-07-05 Roland McGrath <roland@redhat.com>
20342
20343 * manual/arith.texi (Rounding Functions): Fix rint description
20344 implicit in round description.
20345
702e8f14
UD
203462010-07-02 Ulrich Drepper <drepper@redhat.com>
20347
20348 * elf/Makefile: Fix linking for a few tests to make recent linker
20349 happy.
20350
52ed8be9
AS
203512010-06-30 Andreas Schwab <schwab@redhat.com>
20352
20353 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20354 $(common-objpfx)libc_nonshared.a.
20355
f47c9a11
LM
203562010-06-21 Luis Machado <luisgpm@br.ibm.com>
20357
20358 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
20359 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
20360 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20361 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20362 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
20363 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
20364 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20365 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
20367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
20368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
20369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
20371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
20373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
20374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
20375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
20376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
20378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
20380 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
20381 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
20382 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
20383 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
20384 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
20385 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
20386 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
20387 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
20388 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
20389 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
20390 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
20391 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
20392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
20393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
20394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
20395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
20396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
20397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
20398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
20399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
20400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
20401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
20402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
20403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
20404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
20405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
20406
6fb8cbcb
L
204072010-06-25 H.J. Lu <hongjiu.lu@intel.com>
20408
20409 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
20410 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
20411 * string/memmove.c (memmove): Renamed to ...
20412 (MEMMOVE): ...this. Default to memmove.
20413 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
20414 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
20415 (END_CHK): Define.
20416 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20417 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
20418 mempcpy-ssse3-back memmove-ssse3-back.
20419 * sysdeps/x86_64/multiarch/bcopy.S: New file .
20420 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
20421 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
20422 * sysdeps/x86_64/multiarch/memcpy.S: New file.
20423 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
20424 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
20425 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
20426 * sysdeps/x86_64/multiarch/memmove.c: New file.
20427 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
20428 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
20429 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
20430 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
20431 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
20432 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
20433 Define.
20434 (index_Fast_Copy_Backward): Define.
20435 (HAS_ARCH_FEATURE): Define.
20436 (HAS_FAST_REP_STRING): Define.
20437 (HAS_FAST_COPY_BACKWARD): Define.
20438
4e733bac 204392010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
20440
20441 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20442 Restore proper fallback handling.
20443
63c4ed22
UD
204442010-06-19 Ulrich Drepper <drepper@redhat.com>
20445
ac2b484c
UD
20446 [BZ #11701]
20447 * posix/group_member.c (__group_member): Correct checking loop.
20448
63c4ed22
UD
20449 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
20450 OOM in getpwuid_r correctly. Return error number when the caller
20451 should return, otherwise -1.
20452 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
20453 call returning > 0 value.
20454 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
20455
765ade4b
AS
204562010-06-07 Andreas Schwab <schwab@redhat.com>
20457
20458 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
20459 libc_nonshared.a from targets in modules-names.
20460
80da2e09
KS
204612010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
20462
20463 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
20464 requires it.
20465
158db122
LM
204662010-06-10 Luis Machado <luisgpm@br.ibm.com>
20467
20468 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
20469 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
20470 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
20471 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
20472
caa78cf8
AS
204732010-06-02 Andreas Schwab <schwab@redhat.com>
20474
20475 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
20476
b2ef2c01
UD
204772010-06-14 Ulrich Drepper <drepper@redhat.com>
20478
20479 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
20480 and F_GETPIPE_SZ.
20481 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20482 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20483 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20484 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20485 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20486 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
20487
fbd643b6
RM
204882010-06-14 Roland McGrath <roland@redhat.com>
20489
20490 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
20491
f32f2869
JJ
204922010-06-07 Jakub Jelinek <jakub@redhat.com>
20493
20494 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
20495 __REDIRECT followed by __THROW.
20496 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
20497 * posix/getopt.h (getopt): Likewise.
20498
2a50c078
EPM
204992010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20500
20501 * hurd/lookup-at.c (__file_name_lookup_at): Accept
20502 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
20503 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
20504 in AT_FLAGS.
20505 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
20506 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
20507
eb5ad2eb
LM
205082010-05-28 Luis Machado <luisgpm@br.ibm.com>
20509
20510 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
20511
3c88fe1e
L
205122010-05-26 H.J. Lu <hongjiu.lu@intel.com>
20513
20514 [BZ #11640]
20515 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20516 Properly check family and model.
20517
d2f73151
TY
205182010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
20519
20520 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
20521
ebd2e13d
LM
205222010-05-24 Luis Machado <luisgpm@br.ibm.com>
20523
20524 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
20525
b32b8b45
UD
205262010-05-21 Ulrich Drepper <drepper@redhat.com>
20527
20528 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
20529 symbol reference.
20530
9acbe24d
AS
205312010-05-19 Andreas Schwab <schwab@redhat.com>
20532
20533 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
20534 symbol reference.
20535
f0ccf6ea
AS
205362010-05-21 Andreas Schwab <schwab@redhat.com>
20537
3d04ff3a
AS
20538 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
20539 and internal_recvmmsg.
20540 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
20541 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
20542 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
20543 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
20544
f0ccf6ea
AS
20545 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
20546 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20547 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20548
5b08ac57
AS
205492010-05-20 Andreas Schwab <schwab@redhat.com>
20550
20551 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
20552
4828935d
LM
205532010-05-17 Luis Machado <luisgpm@br.ibm.com>
20554
20555 POWER7 optimizations.
20556 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
20557 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
20558
373d545e
UD
205592010-05-19 Ulrich Drepper <drepper@redhat.com>
20560
20561 * version.h: Update for 2.13 development version.
20562
21a2b1ae
AS
205632010-05-12 Andrew Stubbs <ams@codesourcery.com>
20564
20565 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
20566 exceptions. Return 0.
20567
3f7dcb2b
RM
205682010-05-07 Roland McGrath <roland@redhat.com>
20569
20570 * elf/ldconfig.c (main): Add a const.
20571
5f24d53a 205722010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 20573
a160f8d8
UD
20574 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
20575 (args_options): Add no-idn option.
20576 (ahosts_keys_int): Add idn_flags to ai_flags.
20577 (parse_option): Handle 'i' option to clear idn_flags.
20578
5f24d53a
UD
20579 * malloc/malloc.c (_int_free): Possible race in the most recently
20580 added check. Only act on the data if no current modification
20581 happened.
265bb1ce
UD
20582
20583See ChangeLog.17 for earlier changes.