]> sourceware.org Git - glibc.git/blame - ChangeLog
Check the main application only if SHARED is defined
[glibc.git] / ChangeLog
CommitLineData
f2eed205
L
12012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2
3 [BZ #14683]
4 * elf/Makefile (tests-static): Add tst-leaks1-static.
5 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
6 ($(objpfx)tst-leaks1-static): New rule.
7 ($(objpfx)tst-leaks1-static-mem): Likewise.
8 (tst-leaks1-static-ENV): New macro.
9 * elf/dl-open.c (dl_open_worker): Check the main application
10 only if SHARED is defined.
11 * elf/tst-leaks1-static.c: New file.
12
335e6931
AJ
132012-10-20 Andreas Jaeger <aj@suse.de>
14
15 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
16 generic values for Linux.
17 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18 and declarations that are provided by <bits/fcntl-linux.h> and
19 include <bits/fcntl-linux.h>.
20 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22
ac5c94d3
RM
232012-10-20 Roland McGrath <roland@hack.frob.com>
24
25 * io/fcntl.h: Move include of <bits/types.h> to the top and
26 include it unconditionally.
27
de54b33a
L
282012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29
228cfb01
L
30 * wcsmbs/Makefile (tests-ifunc): New variable.
31 (tests): Add $(tests-ifunc).
32 * wcsmbs/test-wcschr-ifunc.c: New file.
33 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
34 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
35 * wcsmbs/test-wcslen-ifunc.c: Likewise.
36 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
38
69f07e5f
L
39 * string/Makefile (tests-ifunc): New variable.
40 (tests): Add $(tests-ifunc).
41 * string/test-memccpy.c (TEST_NAME): New macro.
42 * string/test-memchr.c (TEST_NAME): Likewise.
43 * string/test-memcmp.c (TEST_NAME): Likewise.
44 * string/test-memcpy.c (TEST_NAME): Likewise.
45 * string/test-memmem.c (TEST_NAME): Likewise.
46 * string/test-memmove.c (TEST_NAME): Likewise.
47 * string/test-memset.c (TEST_NAME): Likewise.
48 * string/test-rawmemchr.c (TEST_NAME): Likewise.
49 * string/test-stpcpy.c (TEST_NAME): Likewise.
50 * string/test-stpncpy.c (TEST_NAME): Likewise.
51 * string/test-strcasecmp.c (TEST_NAME): Likewise.
52 * string/test-strcasestr.c (TEST_NAME): Likewise.
53 * string/test-strcat.c (TEST_NAME): Likewise.
54 * string/test-strchr.c (TEST_NAME): Likewise.
55 * string/test-strcmp.c(TEST_NAME): Likewise.
56 * string/test-strcpy.c (TEST_NAME): Likewise.
57 * string/test-strcspn.c (TEST_NAME): Likewise.
58 * string/test-strlen.c (TEST_NAME): Likewise.
59 * string/test-strncasecmp.c (TEST_NAME): Likewise.
60 * string/test-strncmp.c (TEST_NAME): Likewise.
61 * string/test-strncpy.c (TEST_NAME): Likewise.
62 * string/test-strnlen.c (TEST_NAME): Likewise.
63 * string/test-strpbrk.c (TEST_NAME): Likewise.
64 * string/test-strrchr.c (TEST_NAME): Likewise.
65 * string/test-strspn.c (TEST_NAME): Likewise.
66 * string/test-strstr.c (TEST_NAME): Likewise.
67 * string/test-bcopy-ifunc.c: New file.
68 * string/test-bzero-ifunc.c: Likewise.
69 * string/test-memccpy-ifunc.c: Likewise.
70 * string/test-memchr-ifunc.c: Likewise.
71 * string/test-memcmp-ifunc.c: Likewise.
72 * string/test-memcpy-ifunc.c: Likewise.
73 * string/test-memmem-ifunc.c: Likewise.
74 * string/test-memmove-ifunc.c: Likewise.
75 * string/test-mempcpy-ifunc.c: Likewise.
76 * string/test-memset-ifunc.c: Likewise.
77 * string/test-rawmemchr-ifunc.c: Likewise.
78 * string/test-stpcpy-ifunc.c: Likewise.
79 * string/test-stpncpy-ifunc.c: Likewise.
80 * string/test-strcasecmp-ifunc.c: Likewise.
81 * string/test-strcasestr-ifunc.c: Likewise.
82 * string/test-strcat-ifunc.c: Likewise.
83 * string/test-strchr-ifunc.c: Likewise.
84 * string/test-strchrnul-ifunc.c: Likewise.
85 * string/test-strcmp-ifunc.c: Likewise.
86 * string/test-strcpy-ifunc.c: Likewise.
87 * string/test-strcspn-ifunc.c: Likewise.
88 * string/test-strlen-ifunc.c: Likewise.
89 * string/test-strncasecmp-ifunc.c: Likewise.
90 * string/test-strncat-ifunc.c: Likewise.
91 * string/test-strncmp-ifunc.c: Likewise.
92 * string/test-strncpy-ifunc.c: Likewise.
93 * string/test-strnlen-ifunc.c: Likewise.
94 * string/test-strpbrk-ifunc.c: Likewise.
95 * string/test-strrchr-ifunc.c: Likewise.
96 * string/test-strspn-ifunc.c: Likewise.
97 * string/test-strstr-ifunc.c: Likewise.
98
de54b33a
L
99 * debug/Makefile (tests-ifunc): New variable.
100 (tests): Add $(tests-ifunc).
101 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
102 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
103 * debug/test-stpcpy_chk-ifunc.c: New file.
104 * debug/test-strcpy_chk-ifunc.c: Likewise.
105
88481c16
SP
1062012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
107
108 [BZ #13601]
109 * elf/dl-load.c (open_verify): Retry read if the entire ELF
110 header is not read in.
111
135948bd
JM
1122012-10-19 Joseph Myers <joseph@codesourcery.com>
113
89f1c388
JM
114 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
115 script to $(SHELL) as $<. Pass $(common-objpfx) to script
116 directly. Pass built executable to script as
117 $(built-program-cmd).
118 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
119 $testprogram without using LD_LIBRARY_PATH and $ldso.
120
e40a0d21
JM
121 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
122 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
123 $(rtld-installed-name).
124 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
125 (rtld_installed_name): Likewise.
126 (library_path): Likewise.
127 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
128 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
129 $(run-program-prefix) to tst-tables.sh.
130 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
131 it to run tst-table-from and tst-table-to.
132 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
133 Pass it to tst-table.sh.
134 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
135 $(run-program-prefix) to tst-gettext.sh.
136 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
137 tst-translit.sh.
138 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
139 tst-gettext2.sh.
140 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
141 to run tst-gettext.
142 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
143 to run tst-gettext2.
144 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
145 to run tst-translit.
146 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
147 $(run-program-prefix) to tst-mtrace.sh.
148 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
149 to run tst-mtrace.
150 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
151 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
152 $(rtld-installed-name).
153 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
154 (rtld_installed_name): Likewise.
155 (run_program_prefix): New variable. Use it to run wordexp-test.
156
728e272a
JM
157 * Makeconfig (ARCH): Remove all definitions.
158 (machine): Likewise.
159 [ARCH]: Remove conditional code.
160 [!objdir]: Give error.
161 [!objdir] (objpfx): Remove.
162 [!objdir] (common-objpfx): Likewise.
163 [!objdir] (common-objdir): Likewise.
164 * configure.in (config_makefile): Remove. Hardcode Makefile in
165 AC_CONFIG_FILES call.
166 * configure: Regenerated.
167
d528cdcf
JM
168 [BZ #13888]
169 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
170 or TMPDIR.
171 (testout): Likewise.
172
135948bd
JM
173 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
174 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
175 $(rtld-installed-name).
176 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
177 (rtld_installed_name): Likwise.
178 (runit): Remove function.
179 (run_getconf): New variable, Use it for running getconf binary.
180
3c97f652
JB
1812012-10-19 Jim Blandy <jimb@codesourcery.com>
182 Joseph Myers <joseph@codesourcery.com>
183
184 * localedata/tst-wctype.sh (run_program_prefix): Remove variable.
185 (tst_wctype): New variable. Use it directly to run test program
186 instead of passing test program name as argument.
187
38c78296
L
1882012-10-18 H.J. Lu <hongjiu.lu@intel.com>
189
190 [BZ #14716]
191 * string/test-memmem.c (check_result): New function.
192 (do_one_test): Use it.
193 (check1): New function.
194 (test_main): Use it.
195
d077f65f
MT
1962012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
197
198 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
199
ced52c71
JM
2002012-10-18 Joseph Myers <joseph@codesourcery.com>
201
202 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
203 (_G_LSEEK64): Likewise.
204 (_G_MMAP64): Likewise.
205 (_G_FSTAT64): Likewise.
206 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
207 (_G_LSEEK64): Likewise.
208 (_G_MMAP64): Likewise.
209 (_G_FSTAT64): Likewise.
210 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
211 unconditional. Call __mmap64 directly.
212 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
213 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
214 __lseek64 directly.
215 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
216 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
217 __mmap64 directly.
218 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
219 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
220 __lseek64 directly.
221 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
222 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
223 __lseek64 directly.
224 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
225 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
226 __lseek64 directly.
227 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
228 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
229 __fxstat64 directly.
230 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
231 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
232 unconditional.
233 (freopen64) [!_G_OPEN64]: Remove conditional code.
234 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
235 unconditional.
236 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
237 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
238 unconditional.
239 (ftello64) [!_G_LSEEK64]: Remove conditional code.
240 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
241 unconditional.
242 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
243 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
244 unconditional.
245 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
246 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
247 unconditional.
248 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
249 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
250 unconditional.
251 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
252 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
253 unconditional.
254 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
255
b741de23
SP
2562012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
257
258 [BZ #12140]
259 * manual/memory.texi (Malloc Tunable Parameters): Add note
260 about free list pointers overwriting some perturb bytes.
261 Wording suggested by Roland McGrath.
262
f9b9d9c9
JM
2632012-10-17 Joseph Myers <joseph@codesourcery.com>
264
265 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
266 (lgamma_test): Likewise.
267 (tgamma_test): Likewise.
268
172a631a
FW
2692012-10-16 Florian Weimer <fweimer@redhat.com>
270
271 [BZ #14700]
272 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
273 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
274
e9f37252
MK
2752012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
276
277 * NEWS: Mention BZ #14716.
278 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
279 when removing AVAILABLE1_USES_J macro.
280
d394eb74
L
2812012-10-12 H.J. Lu <hongjiu.lu@intel.com>
282
283 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
284 (__bswap_64): __uint64_t for unsigned 64-bit int.
285
ca38dc17
AS
2862012-10-12 Andreas Schwab <schwab@linux-m68k.org>
287
288 * include/string.h (memmem): Declare libc hidden alias.
289 * string/memmem.c (memmem): Define libc hidden alias.
290 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
291 __read, __close instead of open, read, close.
292
9a387d1f
L
2932012-10-11 H.J. Lu <hongjiu.lu@intel.com>
294
ac49ecaf
L
295 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
296 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
297 global and hidden.
298 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
299 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
300 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
301 Likewise.
302 (__rawmemchr_sse2): Likewise.
303 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
304 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
305 (__strchr_sse2): Likewise.
306 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
307 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
308 (__strcasecmp_sse2): Likewise.
309 (__strncasecmp_sse2): Likewise.
310 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
311 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
312 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
313 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
314 (__strrchr_sse2): Likewise.
315 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
316 ifunc-impl-list.c.
317 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
318 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
319 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
320 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
321 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
322 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
323 * sysdeps/x86_64/multiarch/memset.S: Likewise.
324 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
325 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
326 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
327 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
328 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
329 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
330 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
331 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
332 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
333 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
334 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
335 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
336 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
337 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
338 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
339 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
340 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
341 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
342 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
343 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
344 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
345 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
346 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
347
b090e8ea
L
348 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
349 global and hidden.
350 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
351 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
352 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
353 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
354 Likewise.
355 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
356 Likewise.
357 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
358 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
359 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
360 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
361 ifunc-impl-list.c.
362 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
363 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
364 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
365 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
366 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
367 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
368 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
369 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
370 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
371 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
372 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
373 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
374 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
375 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
376 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
377 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
378 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
379 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
380 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
381 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
382 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
383 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
384 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
385 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
386 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
387 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
388 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
389 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
390 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
391 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
392 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
393 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
394 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
395 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
396 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
397 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
398 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
399 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
400 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
401 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
402 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
403
11dd4af6
L
404 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
405 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
406 * include/ifunc-impl-list.h: New file.
407 * misc/ifunc-impl-list.c: Likewise.
408 * misc/Makefile (routines): Add ifunc-impl-list.
409 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
410 * string/test-string.h: Include <ifunc-impl-list.h>.
411 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
412 impl_array): New variables.
413 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
414 are defined.
415 (test_init): Call __libc_ifunc_impl_list to initialize
416 func_list if TEST_IFUNC and TEST_NAME are defined.
417
9a387d1f
L
418 * string/Makefile (strop-tests): Add bcopy and bzero.
419 * string/test-bcopy.c: New file.
420 * string/test-bzero.c: Likewise.
421 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
422 defined.
423 * string/test-memset.c: Support bzero test if TEST_BZERO is
424 defined.
425 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
426 __libc_memmove.
427 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
428 __libc_memset.
429 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
430 of memset.
431
472371b9
JM
4322012-10-10 Joseph Myers <joseph@codesourcery.com>
433
1e4a9536
JM
434 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
435 * configure: Regenerated.
436
d173d12e
JM
437 * Makeconfig (+link-static-before-libc): Don't include
438 $(link-static-libc).
439
472371b9
JM
440 * libio/libio.h (_IO_pos_t): Remove.
441
89a3ad0b
AO
4422012-10-10 Alexandre Oliva <aoliva@redhat.com>
443
444 * NEWS: Add note about FIPS mode. Wording suggested by Roland
445 McGrath.
446
e7451425
AO
4472012-10-10 Alexandre Oliva <aoliva@redhat.com>
448
449 * crypt/crypt-entry.c: Include fips-private.h.
450 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
451 * crypt/md5c-test.c (main): Tolerate disabled MD5.
452 * sysdeps/unix/sysv/linux/fips-private.h: New file.
453 * sysdeps/generic/fips-private.h: New file, dummy fallback.
454
4ba74a35
AO
4552012-10-10 Alexandre Oliva <aoliva@redhat.com>
456
457 * crypt/crypt-private.h: Include stdbool.h.
458 (_ufc_setup_salt_r): Return bool.
459 * crypt/crypt-entry.c: Include errno.h.
460 (__crypt_r): Return NULL with EINVAL for bad salt.
461 * crypt/crypt_util.c (bad_for_salt): New.
462 (_ufc_setup_salt_r): Check that salt is long enough and within
463 the specified alphabet.
464 * crypt/badsalttest.c: New file.
465 * crypt/Makefile (tests): Add it.
466 ($(objpfx)badsalttest): New.
467
f96f1242
MK
4682012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
469
470 * NEWS: Add entry for BZ #14602.
471
0e8e0c1c
JM
4722012-10-09 Joseph Myers <joseph@codesourcery.com>
473
474 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
475 type-generic.
476 * math/libm-test.inc: Update comment listing what functions and
477 macros are tested.
478 (isgreater_test): New function.
479 (isgreaterequal_test): Likewise.
480 (isless_test): Likewise.
481 (islessequal_test): Likewise.
482 (islessgreater_test): Likewise.
483 (isunordered_test): Likewise.
484 (main): Call the new functions.
485
273edc5e
RM
4862012-10-09 Roland McGrath <roland@hack.frob.com>
487
b8493de0
RM
488 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
489 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
490 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
491 * sysdeps/i386/configure: Regenerated.
492 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
493 * sysdeps/mach/configure: Regenerated.
494 * sysdeps/mach/hurd/configure: Regenerated.
495 * sysdeps/powerpc/configure: Regenerated.
496 * sysdeps/powerpc/powerpc32/configure: Regenerated.
497 * sysdeps/powerpc/powerpc64/configure: Regenerated.
498 * sysdeps/s390/s390-32/configure: Regenerated.
499 * sysdeps/s390/s390-64/configure: Regenerated.
500 * sysdeps/sh/configure: Regenerated.
501 * sysdeps/sparc/configure: Regenerated.
502 * sysdeps/unix/sysv/linux/configure: Regenerated.
503 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
504 * sysdeps/x86_64/configure: Regenerated.
505
273edc5e
RM
506 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
507 defined. Don't check if MAP is NULL.
508
c8450f70
JM
5092012-10-09 Joseph Myers <joseph@codesourcery.com>
510
511 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
512 (_G_stat64): Likewise.
513 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
514 (_G_stat64): Likewise.
515 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
516 instead of struct _G_stat64.
517 * libio/fileops.c (mmap_remap_check): Likewise.
518 (decide_maybe_mmap): Likewise.
519 (_IO_new_file_seekoff): Likewise.
520 (_IO_file_stat): Likewise.
521 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
522 _G_off64_t.
523 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
524 instead of struct _G_stat64.
525 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
526
57e605ba
MK
5272012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
528
529 [BZ #14602]
530 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
531 Replace with ...
532 (CHECK_EOL): New macro.
533 (two_way_short_needle): Check beginning of haystack for EOL. Use
534 CHECK_EOL.
535 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
536 Replace with CHECK_EOL.
537 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
538 Replace with CHECK_EOL.
539
ef1bb361
JM
5402012-10-08 Joseph Myers <joseph@codesourcery.com>
541
542 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
543 type-generic.
544 * math/libm-test.inc: Update comment listing what functions and
545 macros are tested.
546 (finite_test): New function.
547 (isinf_test): Likewise.
548 (isnan_test): Likewise.
549 (fpclassify_test): Test subnormal input.
550 (isfinite_test): Likewise.
551 (isnormal_test): Likewise.
552 (main): Call the new functions.
553
55f11534
JN
5542012-10-08 Jonathan Nieder <jrnieder@gmail.com>
555
556 [BZ #14660]
557 * Makerules (%.dynsym): Force C locale when running
558 $(OBJDUMP) --dynamic-syms.
559
1ab29350
AS
5602012-10-08 Andreas Schwab <schwab@linux-m68k.org>
561
562 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
563 <stdint.h>.
564
f1ecb7ef
DM
5652012-10-06 David S. Miller <davem@davemloft.net>
566
567 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
568 upper 32-bits of the length value in %o2 since we use branch-on-register
569 tests which consider the entire 64-bit register.
570
5d41d91a
L
5712012-10-06 H.J. Lu <hongjiu.lu@intel.com>
572
573 * string/test-strstr.c (check2): Add a test for page boundary.
574
3baddb72
DM
5752012-10-05 David S. Miller <davem@davemloft.net>
576
577 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
578 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
579 file.
580 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
581 sysdep_routines.
582 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
583 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
584 and bzero when HWCAP_SPARC_CRYPTO is present.
585
9cee5585
L
5862012-10-05 H.J. Lu <hongjiu.lu@intel.com>
587
d7e0dab9
L
588 [BZ #14602]
589 * string/test-strstr.c (check2): New function.
590 (test_main): Call check2.
591
03759f47
L
592 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
593 and bug-strchr1.
594 * string/bug-strcasestr1.c (do_test): Moved to ...
595 * string/test-strcasestr.c (check1): Here. New function.
596 (do_one_test): Break out result checking code into ...
597 (check_result): This. New function.
598 (do_one_test): Call check_result.
599 (test_main): Call check1.
600 * string/bug-strchr1.c (do_test): Moved to ...
601 * string/test-strchr.c (check1): Here. New function.
602 (do_one_test): Break out result checking code into ...
603 (check_result): This. New function.
604 (do_one_test): Call check_result.
605 (test_main): Call check1.
606 * string/bug-strstr1.c (main): Moved to ...
607 * string/test-strchr.c (check1): Here. New function.
608 (do_one_test): Break out result checking code into ...
609 (check_result): This. New function.
610 (do_one_test): Call check_result.
611 (test_main): Call check1.
612 * string/bug-strcasestr1.c: Removed.
613 * string/bug-strchr1.c: Likewise.
614 * string/bug-strstr1.c: Likewise.
615
53cea63e
L
616 * elf/Makefile (dl-routines): Add hwcaps.
617 * elf/dl-support.c (_dl_important_hwcaps): Removed.
618 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
619 (_dl_important_hwcaps): Moved to ...
620 * elf/dl-hwcaps.c: Here. New file.
621 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
622
9cee5585 623 [BZ #14557]
bb859b06
L
624 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
625 if IS_IN_rtld isn't defined.
626
9cee5585
L
627 * elf/dl-support.c (_dl_sysinfo_map): New.
628 Include "get-dynamic-info.h" and "setup-vdso.h".
629 (_dl_non_dynamic_init): Call setup_vdso.
630 * elf/dynamic-link.h: Don't include <assert.h>.
631 (elf_get_dynamic_info): Moved to ...
632 * elf/get-dynamic-info.h: Here. New file.
633 * elf/dynamic-link.h: Include "get-dynamic-info.h".
634 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
635 * elf/setup-vdso.h: Here. New file.
636 * elf/rtld.c: Include "setup-vdso.h".
637 (dl_main): Call setup_vdso.
638
23c31b76
JM
6392012-10-05 Joseph Myers <joseph@codesourcery.com>
640
28234b07
JM
641 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
642 creal in comment listing functions tested. List finite, isinf,
643 isnan, isless, islessequal, isgreater, isgreaterequal,
644 islessgreater, isunordered, lgamma_r and pow10 as functions and
645 macros not tested. Mention which functions not tested are aliases
646 for other functions. Fix typo. Note that signs of NaNs are not
647 tested.
648
23c31b76
JM
649 * scripts/config.guess: Update from config.git.
650 * scripts/config.sub: Likewise.
651
9043e228
RM
6522012-10-04 Roland McGrath <roland@hack.frob.com>
653
654 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
655 * misc/madvise.c (madvise): Renamed to __madvise.
656 Make madvise a weak alias.
657 * include/sys/mman.h: Declare __madvise.
658 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
659 * sysdeps/unix/syscalls.list
660 (madvise): Make __madvise the strong name, and madvise a weak alias.
661 * sysdeps/unix/sysv/linux/syscalls.list
662 (madvise, mmap): Remove redundant entries.
663 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
664 * malloc/malloc.c (mtrim): Likewise.
665 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
666
f57f8055
RM
6672012-10-03 Roland McGrath <roland@hack.frob.com>
668
669 * sysdeps/mach/hurd/dl-cache.c: File removed.
670 * config.h.in (USE_LDCONFIG): New #undef.
671 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
672 * configure: Regenerated.
673 * elf/Makefile (dl-routines): Add dl-cache only under
674 [$(use-ldconfig) = yes].
675 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
676 cache on [USE_LDCONFIG].
677 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
678 [USE_LDCONFIG].
679 * elf/rtld.c (dl_main): Likewise.
680
5bb0c10a
PT
6812012-10-03 Pino Toscano <toscano.pino@tiscali.it>
682
683 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
684 _SC_LEVEL4_CACHE_LINESIZE.
685
010188c6
RM
6862012-10-03 Roland McGrath <roland@hack.frob.com>
687
688 * sysdeps/unix/bsd/confstr.h: File removed.
689
b6c5ec07
AO
6902012-10-02 Alexandre Oliva <aoliva@redhat.com>
691
692 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
693 sys/sdt-config.h.
694
408223d4
RM
6952012-10-02 Roland McGrath <roland@hack.frob.com>
696
697 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
698 Make 'mapoff' field ElfW(Off) rather than off_t.
699
bb9510dc
DL
7002012-10-02 Dmitry V. Levin <ldv@altlinux.org>
701
fc997c6e
DL
702 * nscd/Makefile: Remove nscd-cflags and all its users.
703 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
704 (CFLAGS-nonlib): Add compiler flags for nscd modules.
705
bb9510dc
DL
706 [BZ #10631]
707 * malloc.c (malloc_printerr): Clarify error message.
708
05699367
L
7092012-10-02 H.J. Lu <hongjiu.lu@intel.com>
710
711 [BZ #14648]
712 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
713 Set bit_FMA_Usable if FMA is supported.
714 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
715 macro.
716 (bit_FMA4_Usable): Updated.
717 (index_FMA_Usable): New macro.
718 (CPUID_FMA): Likewise
719 (HAS_FMA): Defined with bit_FMA_Usable.
720
51367701
RM
7212012-10-01 Roland McGrath <roland@hack.frob.com>
722
723 * bits/types.h (__swblk_t): Type removed.
724 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
725 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
726 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
727 (__SWBLK_T_TYPE): Likewise.
728 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
729 (__SWBLK_T_TYPE): Likewise.
730 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
731 (__SWBLK_T_TYPE): Likewise.
732 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
733 (__SWBLK_T_TYPE): Likewise.
734
4d57bf63
JL
7352012-10-01 Patsy Franklin <pfrankli@redhat.com>
736 Honza Horak <hhorak@redhat.com>
737
738 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
739 (xdr_mapname): Use YPMAXMAP as maxsize.
740 (xdr_peername): Use YPMAXPEER as maxsize.
741 (xdr_keydat): Use YPAXRECORD as maxsize.
742 (xdr_valdat): Use YPMAXRECORD as maxsize.
743
93c65d43
RM
7442012-10-01 Roland McGrath <roland@hack.frob.com>
745
497a03d6
RM
746 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
747
93c65d43
RM
748 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
749 * csu/init-first.c: ... here.
750 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
751 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
752 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
753 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
754 * sysdeps/i386/init-first.c: File removed.
755 * sysdeps/sh/init-first.c: File removed.
756
bec749fd
JM
7572012-10-01 Joseph Myers <joseph@codesourcery.com>
758
759 [BZ #14645]
760 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
761 if x * y might underflow to zero and z is zero.
762 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
763 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
764 * math/libm-test.inc (min_subnorm_value): New variable.
765 (fma_test): Add more tests.
766 (fma_test_towardzero): Likewise.
767 (fma_test_downward): Likewise
768 (fma_test_upward): Likewise.
769 (initialize): Set min_subnorm_value.
770
8ec5b013
JM
7712012-09-29 Joseph Myers <joseph@codesourcery.com>
772
773 [BZ #14638]
774 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
775 0 + 0.
776 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
777 mode for addition resulting in exact zero.
778 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
779 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
780 exact 0 + 0.
781 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
782 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
783 * math/libm-test.inc (fma_test): Add more tests.
784 (fma_test_towardzero): New function.
785 (fma_test_downward): Likewise.
786 (fma_test_upward): Likewise.
787 (main): Call the new functions.
788
b1fa802e
DM
7892012-09-28 David S. Miller <davem@davemloft.net>
790
791 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
792
d3b9fd9e
RM
7932012-09-28 Roland McGrath <roland@hack.frob.com>
794
ea4d37b3
RM
795 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
796 instead of SIGALRM.
797
ac51c949
RM
798 * sysdeps/gnu/_G_config.h: Moved to ...
799 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
800 * sysdeps/mach/hurd/_G_config.h: Moved to ...
801 * sysdeps/generic/_G_config.h: ... here.
802
28c195f7
RM
803 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
804
848917f9
RM
805 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
806
6bacf05b
RM
807 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
808 Conditionalize target on [libnss_test1.so-version].
809
91363dbb
RM
810 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
811
cc87f7d8
RM
812 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
813 (elfobjdir): Move out of conditionals.
814
b1c608fe
RM
815 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
816 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
817 (__nss_lookup_function): Conditionalize label remove_from_tree on
818 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 819
1d9a6d96
DM
8202012-09-28 David S. Miller <davem@davemloft.net>
821
822 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
823 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
824 file.
825 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
826 sysdep_routines.
827 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
828 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
829 when HWCAP_SPARC_CRYPTO is present.
830
72581615
PT
8312012-09-28 Pino Toscano <toscano.pino@tiscali.it>
832
833 * io/tst-mknodat.c: Create a FIFO instead of a socket.
834
715a900c
JL
8352012-09-28 Andreas Schwab <schwab@linux-m68k.org>
836
837 [BZ #6530]
838 * stdio-common/vfprintf.c (process_string_arg): Revert
839 2000-07-22 change.
840
8412011-09-28 Jonathan Nieder <jrnieder@gmail.com>
842
843 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
844 for testcase.
845 * stdio-common/tst-sprintf.c: Include <locale.h>
846 (main): Test sprintf's handling of incomplete multibyte
847 characters.
848
9bac1d86
L
8492012-09-28 H.J. Lu <hongjiu.lu@intel.com>
850
851 * elf/dl-runtime.c (VERSYMIDX): Removed.
852 * elf/dl-version.c (VERSYMIDX): Likewise.
853 * elf/do-rel.h (VERSYMIDX): Likewise.
854 (VALIDX): Likewise.
855 * elf/dynamic-link.h (VERSYMIDX): Likewise.
856 * elf/rtld.c (VALIDX): Likewise.
857 (ADDRIDX): Likewise.
9bac1d86
L
858 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
859 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
860 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
861 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
862 (VALIDX): Likewise.
863 (ADDRIDX): Likewise.
9bac1d86 864
b31606c0
PT
8652012-09-28 Pino Toscano <toscano.pino@tiscali.it>
866
867 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
868
11541177
JL
8692012-09-28 Dmitry V. Levin <ldv@altlinux.org>
870
871 [BZ #11438]
872 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
873 to global scope.
874 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
875 addresses are in the same scope as 192.0.2/24.
876 * posix/gai.conf: Document new scope table defaults.
877
adb26fae
SP
8782012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
879
880 [BZ #5298]
881 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
882 for ftell. Compute offsets from write pointers instead.
883 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
884
4573c6b0
SP
8852012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
886
887 [BZ #14543]
888 * libio/Makefile (tests): New test case tst-fseek.
889 * libio/tst-fseek.c: New test case to verify that fseek/ftell
890 combination works in wide mode.
891 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
892 state when the external buffer state changes.
893
aa9bbfe6
DM
8942012-09-27 David S. Miller <davem@davemloft.net>
895
896 [BZ #14376]
897 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
898 pass reloc->r_addend in as the 'high' argument to
899 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
900
784421e7
DM
901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
902
c39bc8b8
PT
9032012-09-28 Pino Toscano <toscano.pino@tiscali.it>
904
905 * rt/tst-aio2.c: Include <pthread.h>.
906 * rt/tst-aio3.c: Likewise.
907
1ccc2399
SE
9082012-09-27 Steve Ellcey <sellcey@mips.com>
909
910 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
911
31ed4153
L
9122012-09-27 H.J. Lu <hongjiu.lu@intel.com>
913
25f5f885
L
914 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
915 contents on [SHARED].
31ed4153 916
b7bfe116
MP
9172012-09-26 Marek Polacek <polacek@redhat.com>
918
919 [BZ #14530]
920 [BZ #13741]
921 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
922 for C++ and GCC <4.3 as well as for non GCC compilers.
923
43c4edba
MT
9242012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
925
926 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
927
6a1bf82f
RM
9282012-09-25 Roland McGrath <roland@hack.frob.com>
929
930 * Makefile.in (all, install): Declare with .PHONY.
931 Reported by Michael Hope <michael.hope@linaro.org>.
932
8ad11b9a
TMQMF
9332012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
934
935 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
936 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
937 system header.
938 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
939 Likewise.
940 (sydep_routines): Add the new and the internal functions.
941 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
942 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
944 (GLIBC_2.17): Add the new function.
945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
946 (GLIBC_2.17): Likewise.
947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
948 (GLIBC_2.17): Likewise.
949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
950 (GLIBC_2.17): Likewise.
951 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
952
7e2fca8d
AM
9532012-09-25 Alan Modra <amodra@gmail.com>
954
955 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
956 Add release barrier before setting once_control to say
957 initialisation is done. Add hints on lwarx. Use macro in
958 place of isync.
959 (clear_once_control): Add release barrier.
960
b87c4b24
JM
9612012-09-25 Joseph Myers <joseph@codesourcery.com>
962
d032e0d2
JM
963 [BZ #13629]
964 * math/s_clog.c (__clog): Handle more values close to |z| = 1
965 specially.
966 * math/s_clog10.c (__clog10): Likewise.
967 * math/s_clog10f.c (__clog10f): Likewise.
968 * math/s_clog10l.c (__clog10l): Likewise.
969 * math/s_clogf.c (__clogf): Likewise.
970 * math/s_clogl.c (__clogl): Likewise.
971 * math/Makefile (libm-calls): Add x2y2m1.
972 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
973 (__x2y2m1): Likewise.
974 (__x2y2m1l): Likewise.
975 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
976 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
977 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
978 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
979 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
980 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
981 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
982 * sysdeps/i386/fpu/libm-test-ulps: Update.
983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
984
b87c4b24
JM
985 [BZ #14621]
986 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
987 int as type of variable DEPTH.
988 (glob): Use size_t instead of int as type of variables NEWCOUNT
989 and OLD_PATHC.
990
6d3bf199
LD
9912012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
992
22bf5c17
LD
993 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
994 Add s_sincosf-sse2.
995 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
996 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
997 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
998 macros for using routine as __sincosf_ia32.
999 Use macro for function declaration and weak_alias.
1000 * sysdeps/i386/fpu/libm-test-ulps: Update.
1001
1002 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
1003 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1004
1005 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
1006 subnormal argument.
1007 * math/s_cexpf.c (__cexpf): Likewise.
1008 * math/s_csinf.c (__csinf): Likewise.
1009 * math/s_csinhf.c (__csinhf): Likewise.
1010 * math/s_ctanf.c (__ctanf): Likewise.
1011 * math/s_ctanhf.c (__ctanhf): Likewise.
1012 * math/s_ccosh.c (__ccoshf): Likewise.
1013 * math/s_cexp.c (__cexpl): Likewise.
1014 * math/s_csin.c (__csin): Likewise.
1015 * math/s_csinh.c (__csinh): Likewise.
1016 * math/s_ctan.c (__ctan): Likewise.
1017 * math/s_ctanh.c (ctanh): Likewise.
1018 * math/s_ccoshl.c (__ccoshl): Likewise.
1019 * math/s_cexpl.c (__cexpl): Likewise.
1020 * math/s_csinl.c (__csinl): Likewise.
1021 * math/s_csinhl.c (__csinhl): Likewise.
1022 * math/s_ctanl.c (__ctanl): Likewise.
1023 * math/s_ctanhl.c (__ctanhl): Likewise.
1024
203e5603
JM
10252012-09-25 Joseph Myers <joseph@codesourcery.com>
1026
1027 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
1028 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
1029 (_IO_off_t): Define to __off_t, not _G_off_t.
1030 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
1031 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
1032 (_IO_wint_t): Define to wint_t, not _G_wint_t.
1033 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
1034 type of __dummy and __dummy2 fields.
1035 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
1036 (_G_ssize_t): Likewise.
1037 (_G_off_t): Likewise.
1038 (_G_pid_t): Likewise.
1039 (_G_uid_t): Likewise.
1040 (_G_wchar_t): Likewise.
1041 (_G_wint_t): Likewise.
1042 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
1043 (_G_ssize_t): Likewise.
1044 (_G_off_t): Likewise.
1045 (_G_pid_t): Likewise.
1046 (_G_uid_t): Likewise.
1047 (_G_wchar_t): Likewise.
1048 (_G_wint_t): Likewise.
1049 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
1050 (_G_ssize_t): Likewise.
1051 (_G_off_t): Likewise.
1052 (_G_pid_t): Likewise.
1053 (_G_uid_t): Likewise.
1054 (_G_wchar_t): Likewise.
1055 (_G_wint_t): Likewise.
1056
9fab36eb
SP
10572012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1058
1059 * malloc/arena.c: Include malloc-sysdep.h.
1060 (shrink_heap): Use check_may_shrink_heap to decide if madvise
1061 is sufficient to shrink the heap or an unmap is needed.
1062 * sysdeps/generic/malloc-sysdep.h: New file. Define
1063 new function check_may_shrink_heap.
1064 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
1065 new function check_may_shrink_heap.
1066
2b4f00d1
SP
10672012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1068
1069 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
1070 comments.
1071
9a9028b1
DL
10722012-09-24 Dmitry V. Levin <ldv@altlinux.org>
1073
57c69bef
DL
1074 * catgets/test-gencat.sh: Add "set -e".
1075 * elf/tst-pathopt.sh: Likewise.
1076 * grp/tst_fgetgrent.sh: Likewise.
1077 * iconvdata/run-iconv-test.sh: Likewise.
1078 * intl/tst-gettext.sh: Likewise.
1079 * intl/tst-gettext2.sh: Likewise.
1080 * intl/tst-gettext4.sh: Likewise.
1081 * intl/tst-gettext6.sh: Likewise.
1082 * intl/tst-translit.sh: Likewise.
1083 * io/ftwtest-sh: Likewise.
1084 * libio/test-freopen.sh: Likewise.
1085 * malloc/tst-mtrace.sh: Likewise.
1086 * posix/globtest.sh: Likewise.
1087 * posix/tst-getconf.sh: Likewise.
1088 * posix/wordexp-tst.sh: Likewise.
1089 * stdio-common/tst-printf.sh: Likewise.
1090 * stdio-common/tst-unbputc.sh: Likewise.
1091 * stdlib/tst-fmtmsg.sh: Likewise.
1092 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1093 * catgets/Makefile: Do not specify -e option when running
1094 testsuite shell scripts.
1095 * elf/Makefile: Likewise.
1096 * grp/Makefile: Likewise.
1097 * iconvdata/Makefile: Likewise.
1098 * intl/Makefile: Likewise.
1099 * io/Makefile: Likewise.
1100 * libio/Makefile: Likewise.
1101 * malloc/Makefile: Likewise.
1102 * posix/Makefile: Likewise.
1103 * stdio-common/Makefile: Likewise.
1104 * stdlib/Makefile: Likewise.
1105 * sysdeps/x86_64/Makefile: Likewise.
1106
9a9028b1
DL
1107 * io/ftwtest-sh: Add copyright header.
1108 * posix/globtest.sh: Likewise.
1109 * posix/tst-getconf.sh: Likewise.
1110 * posix/wordexp-tst.sh: Likewise.
1111 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1112
ced6f16e
L
11132012-09-24 H.J. Lu <hongjiu.lu@intel.com>
1114
94b32c39
L
1115 [BZ #13679]
1116 * Makeconfig (+link): Defined as $(+link-static) if
1117 $(build-shared) isn't yes.
1118 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
1119 isn't yes.
1120 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
1121
189e935b
L
1122 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
1123
ced6f16e
L
1124 [BZ #14562]
1125 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
1126 new chunk size with MALLOC_ALIGN_MASK.
1127
a9f8e53a
JM
11282012-09-24 Joseph Myers <joseph@codesourcery.com>
1129
1130 [BZ #5044]
1131 * stdio-common/printf_fphex.c: Include <stdbool.h> and
1132 <rounding-mode.h>.
1133 (__printf_fphex): Determine rounding using get_rounding_mode and
1134 round_away.
1135 * stdio-common/tst-printf-round.c (struct hex_test): New
1136 structure.
1137 (hex_tests): New variable.
1138 (test_hex_in_one_mode): New function.
1139 (do_test): Also run tests for hex float output.
1140
43153109
JM
11412012-09-21 Joseph Myers <joseph@codesourcery.com>
1142
1143 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1144 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1145 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
1146 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1147 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1148 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
1149 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1150 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1151
8a26625d
JM
11522012-09-20 Joseph Myers <joseph@codesourcery.com>
1153
1154 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
1155 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
1156 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
1157 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
1158
f3fd569c
DL
11592012-09-19 Dmitry V. Levin <ldv@altlinux.org>
1160
1161 [BZ #14579]
1162 * elf/rtld.c (dl_main): Limit the check for self loading to normal
1163 mode only.
1164 * elf/tst-rtld-load-self.sh: New test.
1165 * elf/Makefile: Run it.
1166
63bbedd4
JM
11672012-09-18 Joseph Myers <joseph@codesourcery.com>
1168
1169 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
1170 (tst-writev-ENV): Remove.
1171 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
1172
626f8b6a
CM
11732012-09-17 Chris Metcalf <cmetcalf@tilera.com>
1174
1175 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
1176
b7aaa4d6
JM
11772012-09-17 Joseph Myers <joseph@codesourcery.com>
1178
1179 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
1180 unconditional.
1181 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
1182 Likewise.
1183 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
1184 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
1185 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
1186 Likewise.
1187
65513990
L
11882012-09-14 H.J. Lu <hongjiu.lu@intel.com>
1189
1190 [BZ #14587]
1191 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
1192 * config.make.in (have-cpp-asm-debuginfo): Removed.
1193 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
1194 * configure: Regenerated.
1195
784761be
JM
11962012-09-14 Joseph Myers <joseph@codesourcery.com>
1197
1198 [BZ #5044]
1199 * stdio-common/printf_fp.c: Include <stdbool.h> and
1200 <rounding-mode.h>.
1201 (___printf_fp): Determine rounding using get_rounding_mode and
1202 round_away.
1203 * stdio-common/tst-printf-round.c: New file.
1204 * stdio-common/Makefile (tests): Add tst-printf-round.
1205 (link-libm): New variable.
1206 ($(objpfx)tst-printf-round): Depend in $(link-libm).
1207
9503345f
L
12082012-09-13 H.J. Lu <hongjiu.lu@intel.com>
1209
1210 [BZ #14576]
1211 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
1212 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
1213 Likewise.
1214 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
1215 Likewise.
1216
ad35fc00
JM
12172012-09-13 Joseph Myers <joseph@codesourcery.com>
1218
1219 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
1220 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1221 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1222 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1223
6c9b0f68
JM
12242012-09-12 Joseph Myers <joseph@codesourcery.com>
1225
1226 [BZ #14518]
1227 * include/rounding-mode.h: New file.
1228 * sysdeps/generic/get-rounding-mode.h: Likewise.
1229 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
1230 * stdlib/strtod_l.c: Include <rounding-mode.h>.
1231 (MAX_VALUE): New macro.
1232 (MIN_VALUE): Likewise.
1233 (overflow_value): New function.
1234 (underflow_value): Likewise.
1235 (round_and_return): Use overflow_value and underflow_value to
1236 determine return values in overflow and underflow cases. Use
1237 round_away to determine rounding depending on rounding mode.
1238 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
1239 determine return values in overflow and underflow cases.
1240 * stdlib/tst-strtod-round.c: Include <fenv.h>.
1241 (struct test_results): New structure.
1242 (struct test): Use struct test_results to store expected results
1243 for all rounding modes.
1244 (TEST): Include expected results for all rounding modes.
1245 (test_in_one_mode): New function.
1246 (do_test): Use test_in_one_mode to compute and check results.
1247 Check results for all rounding modes.
1248 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
1249 $(link-libm).
1250
19fcedd5
AM
12512012-12-09 Allan McRae <allan@archlinux.org>
1252
1253 * sysdeps/i386/fpu/libm-test-ulps: Update
1254
8bbfd2f1
JM
12552012-09-11 Joseph Myers <joseph@codesourcery.com>
1256
1257 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
1258 (_G_int32_t): Likewise.
1259 (_G_uint16_t): Likewise.
1260 (_G_uint32_t): Likewise.
1261 (_G_HAVE_BOOL): Likewise.
1262 (_G_HAVE_ATEXIT): Likewise.
1263 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1264 (_G_HAVE_IO_FILE_OPEN): Likewise.
1265 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
1266 (_G_int32_t): Likewise.
1267 (_G_uint16_t): Likewise.
1268 (_G_uint32_t): Likewise.
1269 (_G_HAVE_BOOL): Likewise.
1270 (_G_HAVE_ATEXIT): Likewise.
1271 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1272 (_G_HAVE_IO_FILE_OPEN): Likewise.
1273 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
1274 (_G_int32_t): Likewise.
1275 (_G_uint16_t): Likewise.
1276 (_G_uint32_t): Likewise.
1277 (_G_HAVE_BOOL): Likewise.
1278 (_G_HAVE_ATEXIT): Likewise.
1279 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1280 (_G_HAVE_IO_FILE_OPEN): Likewise.
1281
b1dc5912
L
12822012-09-11 H.J. Lu <hongjiu.lu@intel.com>
1283
1284 * csu/libc-tls.c: Update copyright years.
1285
0e886ef9
JM
12862012-09-10 Joseph Myers <joseph@codesourcery.com>
1287
28361c5e
JM
1288 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
1289 [!_G_USING_THUNKS]: Remove conditional code.
1290 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
1291 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
1292
0e886ef9
JM
1293 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
1294 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
1295 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1296 (_G_VTABLE_LABEL_PREFIX): Likewise.
1297 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1298 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1299 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1300 (_G_VTABLE_LABEL_PREFIX): Likewise.
1301 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1302 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1303 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1304 (_G_VTABLE_LABEL_PREFIX): Likewise.
1305 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1306
bcba7aa2
L
13072012-09-10 H.J. Lu <hongjiu.lu@intel.com>
1308
1309 * libio/Makefile: Include ../Makeconfig before tests.
1310 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
1311 only if $(build-shared) is yes.
1312
06585ee8
L
1313 * iconv/gconv_db.c: Update copyright years.
1314
80ccd52c
LD
13152012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1316
1317 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
1318 unwind info if defined PIC. Fix special cases description.
1319 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
1320
1321 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
1322 DP_HI_MASK entry.
1323 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
1324
691bc9c1
L
13252012-09-07 H.J. Lu <hongjiu.lu@intel.com>
1326
3d9b46b3
L
1327 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
1328
de2139a9
L
1329 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
1330 is NULL.
1331
5ca78dd0
L
1332 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
1333 (LDLIBS-tst-chk4): This.
1334 (LDFLAGS-tst-chk5): Renamed to ...
1335 (LDLIBS-tst-chk5): This.
1336 (LDFLAGS-tst-chk6): Renamed to ...
1337 (LDLIBS-tst-chk6): This.
1338 (LDFLAGS-tst-lfschk4): Renamed to ...
1339 (LDLIBS-tst-lfschk4): This.
1340 (LDFLAGS-tst-lfschk5): Renamed to ...
1341 (LDLIBS-tst-lfschk5): This.
1342 (LDFLAGS-tst-lfschk6): Renamed to ...
1343 (LDLIBS-tst-lfschk6): This.
1344
691bc9c1
L
1345 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
1346 on $(common-objpfx)soversions.mk.
1347
65cafb1c
JM
13482012-09-07 Joseph Myers <joseph@codesourcery.com>
1349
1350 [BZ #10014]
1351 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
1352 example host name.
1353
c78ab094
SP
13542012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1355
1356 * malloc/arena.c (arena_get_retry): New function that gets
1357 another arena for the caller to try its request on.
1358 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
1359 current arena cannot fulfill the request.
1360 (__libc_memalign): Likewise.
1361 (__libc_memalign): Likewise.
1362 (__libc_pvalloc): Likewise.
1363 (__libc_calloc): Likewise.
1364
01f49f59
JT
13652012-09-05 John Tobey <john.tobey@gmail.com>
1366
1367 [BZ #13542]
1368 * manual/arith.texi (Operations on Complex): Fix description
1369 of carg branch cut.
1370
4c23fed5
JM
13712012-09-06 Joseph Myers <joseph@codesourcery.com>
1372
1d3c8572
JM
1373 [BZ #10014]
1374 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
1375 host name.
1376
4c23fed5
JM
1377 [BZ #10038]
1378 * manual/memory.texi (Memory): Make order of menu items match
1379 order of sections.
1380
04570aaa
L
13812012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1382
1383 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
1384 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
1385 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
1386
b80af2f4
L
13872012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1388
1389 * csu/libc-tls.c (static_dtv): Renamed to ...
1390 (_dl_static_dtv): This. Make it global.
1391 (_dl_initial_dtv): Removed.
1392 (__libc_setup_tls): Updated.
1393 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
1394 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
1395 DL_INITIAL_DTV.
1396
2abe9f15
PM
13972012-09-06 Petr Machata <pmachata@redhat.com>
1398
1399 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
1400 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
1401 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
1402 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
1403
0948c3af
L
14042012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1405
1406 [BZ #14545]
1407 * csu/libc-tls.c (_dl_initial_dtv): New variable.
1408 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
1409 freeing dtv[-1].
1410
a5055ad1
L
14112012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1412
1413 [BZ #14544]
1414 * Makeconfig (link-static-before-libc): Replace $(+prector)
1415 with $(+prectorT).
1416 (link-static-after-libc): Replace $(+postctor) with
1417 $(+postctorT).
1418 (link-bounded): Replace $(+prector)/$(+postctor) with
1419 $(+prectorT)/$(+postctorT).
1420 (+prectorT): New macro.
1421 (+postctorT): Likewise.
1422
ed8c2ecd
JM
14232012-09-06 Joseph Myers <joseph@codesourcery.com>
1424
1425 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
1426 (round_str): Handle values above the maximum for IBM long double
1427 as inexact.
1428 * stdlib/tst-strtod-round.c (tests): Regenerated.
1429
14c996c8
AK
14302012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1431
1432 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
1433 assembler flag.
1434 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
1435 zarch_nohighgprs around the zarch optimized routines.
1436 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1437 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1438 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
1439 for zarch.
1440
430d6ce6
DM
14412012-09-05 David S. Miller <davem@davemloft.net>
1442
1443 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1444
ff04dda4
DM
1445 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
1446 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
1447 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
1448 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
1449 entries.
1450
24d4e01b
AO
14512012-09-05 Alexandre Oliva <aoliva@redhat.com>
1452
1453 * malloc/arena.c: Fold copyright years.
1454 * malloc/mcheck.c, malloc/memusage.c: Likewise.
1455
61d58174
AO
14562012-09-05 Alexandre Oliva <aoliva@redhat.com>
1457
1458 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
1459
20196a5e
AO
14602012-09-05 Alexandre Oliva <aoliva@redhat.com>
1461
1462 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
1463
5c447383
AO
14642012-09-05 Alexandre Oliva <aoliva@redhat.com>
1465
1466 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
1467 change internal state upon failure.
1468
fad64255
AO
14692012-09-05 Alexandre Oliva <aoliva@redhat.com>
1470
1471 * malloc/mcheck.c (mcheck_check_all): Fix typo.
1472 * malloc/memusage.c (mmap): Likewise.
1473 (mmap64, mremap): Likewise. Adjust name in comment.
1474
1ffb8c90
SP
14752012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1476
1477 * libio/fileops.c: Fix typos in comments.
1478 * libio/oldfileops.c: Likewise.
1479 * libio/wfileops.c: Likewise.
1480
6ef9cc37
SP
14812012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1482
1483 [BZ #1349]
1484 * malloc/Makefile (tests): Add tst-malloc-usable test case.
1485 (tst-malloc-usable-ENV): Set environment for test case.
1486 * malloc/hooks.c (malloc_check_get_size): New function to get
1487 requested size.
1488 * malloc/malloc.c (musable): Use malloc_check_get_size.
1489 * malloc/tst-malloc-usable.c: New test case.
1490
4d038ae3
AS
14912012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1492
1493 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
1494
c4e85184
AM
14952012-09-05 Allan McRae <allan@archlinux.org>
1496
b9dafc56 1497 [BZ #13966]
c4e85184
AM
1498 * configure.in (CXX_SYSINCLUDES): Use compiler output to
1499 determine header location.
1500 * configure: Regenerated.
1501
e1343020
AS
15022012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1503
1504 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
1505 float format.
1506 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
1507 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
1508 format.
e1343020
AS
1509 (test): Regenerate.
1510
0a9f1987
DM
15112012-09-04 David S. Miller <davem@davemloft.net>
1512
1513 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
1514 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
1515 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
1516
29237804
FW
15172012-09-04 Florian Weimer <fweimer@redhat.com>
1518
1519 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
1520 failures.
1521
edb3cb88
FW
1522 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
1523
60160d83
JM
15242012-09-04 Joseph Myers <joseph@codesourcery.com>
1525
1526 [BZ #9914]
1527 * libio/iogetdelim.c: Include <limits.h>.
1528 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
1529 + len + 1 would overflow.
1530
bcd6c8dc
AJ
15312012-09-03 Andreas Jaeger <aj@suse.de>
1532
1533 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1534 * sysdeps/i386/fpu/libm-test-ulps: Update.
1535
4ffffbd2
LD
15362012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1537
1538 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1539 Add s_sinf-sse2, s_conf-sse2.
1540
1541 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
1542 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
1543 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
1544 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
1545
1546 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
1547 for using routine as __sinf_ia32.
1548 Use macro for function declaration and weak_alias.
1549 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
1550 for using routine as __cosf_ia32.
1551 Use macro for function declaration and weak_alias.
1552
1553 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
1554 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
1555
1556 * sysdeps/x86_64/fpu/s_sinf.S: New file.
1557 * sysdeps/x86_64/fpu/s_cosf.S: New file.
1558 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1559
1560 * math/libm-test.inc (cos_test): Add more test cases.
1561 (sin_test): Likewise.
1562 (sincos_test): Likewise.
1563
511fa286
AK
15642012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1565
1566 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1567 (IFUNC_RESOLVE): Make pointers to the specialized implementations
1568 hidden.
1569 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1570
5f30cfec
L
15712012-09-02 H.J. Lu <hongjiu.lu@intel.com>
1572
1573 [BZ #14538]
1574 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
1575 first element of the GOT.
1576 (elf_machine_load_address): Return the difference between
1577 the runtime address of _DYNAMIC and elf_machine_dynamic ().
1578
0786794f
AM
15792012-09-01 Allan McRae <allan@archlinux.org>
1580
5f30cfec
L
1581 [BZ #13412]
1582 * configure.in (AWK): Require gawk version 3.0 or later.
1583 * configure: Regenerated.
0786794f 1584
26889eac
JM
15852012-09-01 Joseph Myers <joseph@codesourcery.com>
1586
1587 * sysdeps/unix/sysv/linux/kernel-features.h
1588 (__ASSUME_POSIX_CPU_TIMERS): Remove.
1589 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1590 [__NR_clock_getres]: Make code unconditional.
1591 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
1592 (clock_getcpuclockid): Remove code left unreachable by removal of
1593 conditionals.
1594 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
1595 code unconditional.
1596 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1597 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1598 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
1599 Make code unconditional.
1600 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1601 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1602 * sysdeps/unix/sysv/linux/clock_settime.c
1603 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
1604 conditional code.
1605 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
1606 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1607
d22e28b0
L
16082012-08-29 H.J. Lu <hongjiu.lu@intel.com>
1609
1610 [BZ #14476]
1611 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
1612 scripts/test-installation.pl.
1613
1614 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
1615 and $ld_so_version if it is set.
1616
050af9c4
SP
16172012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1618
1619 [BZ #14516]
1620 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
1621 failure if reading from procfs failed.
1622 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
1623
ad845c0b
JM
16242012-08-27 Joseph Myers <joseph@codesourcery.com>
1625
1626 * sysdeps/unix/sysv/linux/kernel-features.h
1627 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
1628 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1629 Remove conditional code.
1630 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1631 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
1632 Remove conditional code.
1633 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1634 * sysdeps/unix/sysv/linux/i386/fxstat.c
1635 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1636 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1637 * sysdeps/unix/sysv/linux/i386/fxstatat.c
1638 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1639 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1640 * sysdeps/unix/sysv/linux/i386/lxstat.c
1641 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1642 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1643 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
1644 Remove conditional code.
1645 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1646 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1647 Remove conditional code.
1648 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1649 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
1650 <kernel-features.h>.
1651 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
1652 Remove.
1653 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
1654 Remove conditional code.
1655 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1656 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
1657 Remove conditional.
1658
5dbf56af
MF
16592012-08-27 Mike Frysinger <vapier@gentoo.org>
1660
1661 [BZ #5400]
1662 * NEWS: Add fixed bug number.
1663
d6e70f43
JM
16642012-08-27 Joseph Myers <joseph@codesourcery.com>
1665
7efb4737
JM
1666 [BZ #14519]
1667 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
1668 underflowing exponent in case of negative sign.
1669 * stdlib/tst-strtod-round-data: Add more tests.
1670 * stdlib/tst-strtod-round.c (tests): Regenerated.
1671
af92131a
JM
1672 [BZ #3479]
1673 * stdlib/strtod_l.c (NDIG): Remove.
1674 (HEXNDIG): Likewise.
1675 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
1676 smallest representable value.
1677 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
1678 lie within an exact representation of 1/2 ulp of the result.
1679 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
1680 unconditionally.
1681 (TENS_P9_IDX): Define unconditionally.
1682 (TENS_P9_SIZE): Likewise.
1683 (TENS_P10_IDX): Likewise.
1684 (TENS_P10_SIZE): Likewise.
1685 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
1686 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
1687 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
1688 entries for 10^2^13 and 10^2^14.
1689 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
1690 (TENS_P13_IDX): Define.
1691 (TENS_P13_SIZE): Likewise.
1692 (TENS_P14_IDX): Likewise.
1693 (TENS_P14_SIZE): Likewise.
1694 (_fpioconst_pow10): Change array size to
1695 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
1696 unconditional.
1697 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
1698 1024]: Add entries for 10^2^13 and 10^2^14.
1699 [LAST_POW10 > _LAST_POW10]: Remove #error.
1700 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
1701 (_fpioconst_pow10): Change array size to
1702 FPIOCONST_POW10_ARRAY_SIZE.
1703 * stdlib/gen-fpioconst.c: New file.
1704 * stdlib/gen-tst-strtod-round.c: Likewise.
1705 * stdlib/tst-strtod-round-data: Likewise.
1706 * stdlib/tst-strtod-round.c: Likewise.
1707 * stdlib/Makefile (tests): Add tst-strtod-round.
1708
d6e70f43
JM
1709 [BZ #14459]
1710 * stdlib/strtod_l.c: Include <stdint.h>.
1711 (NDEBUG): Do not define.
1712 (round_and_return): Change EXPONENT parameter to type intmax_t.
1713 Rearrange calculations to avoid internal overflow possibilities.
1714 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
1715 Rearrange calculations to avoid internal overflow possibilities.
1716 Assert that number fits inside MPNSIZE limbs.
1717 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
1718 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
1719 calculations and add assertions to avoid internal overflow
1720 possibilities. Add casts to avoid signed/unsigned operations.
1721 * stdlib/tst-strtod-overflow.c: New file.
1722 * stdlib/Makefile (tests): Add tst-strtod-overflow.
1723
1f529f7d
MP
17242012-08-25 Marek Polacek <polacek@redhat.com>
1725
1726 * time/time.h: Fix some typos in comments.
1727
59a629f1
RM
17282012-08-23 Roland McGrath <roland@hack.frob.com>
1729
1730 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
1731 * posix/tst-rfc3484-2.c: Likewise.
1732 * posix/tst-rfc3484-3.c: Likewise.
1733
d3bafbc9
SM
17342012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
1735
1736 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
1737 (EF_ARM_ABI_FLOAT_HARD): Likewise.
1738
4efcc022
JM
17392012-08-23 Joseph Myers <joseph@codesourcery.com>
1740
1741 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
1742 #include of fxstatat64.c.
1743
3cc3ef96
RM
17442012-08-22 Roland McGrath <roland@hack.frob.com>
1745
f04e2132
RM
1746 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
1747 * shadow/getspent_r.c: Likewise.
1748 * shadow/getspnam.c: Likewise.
1749 * shadow/getspnam_r.c: Likewise.
1750 * gshadow/getsgent.c: Likewise.
1751 * gshadow/getsgent_r.c: Likewise.
1752 * gshadow/getsgnam.c: Likewise.
1753 * gshadow/getsgnam_r.c: Likewise.
1754 * inet/getnetbyad.c: Likewise.
1755 * inet/getnetbyad_r.c: Likewise.
1756 * inet/getnetbynm.c: Likewise.
1757 * inet/getnetbynm_r.c: Likewise.
1758 * inet/getnetent.c: Likewise.
1759 * inet/getnetent_r.c: Likewise.
1760 * inet/getproto.c: Likewise.
1761 * inet/getproto_r.c: Likewise.
1762 * inet/getprtent.c: Likewise.
1763 * inet/getprtent_r.c: Likewise.
1764 * inet/getprtname.c: Likewise.
1765 * inet/getprtname_r.c: Likewise.
1766 * inet/getrpcbyname.c: Likewise.
1767 * inet/getrpcbyname_r.c: Likewise.
1768 * inet/getrpcbynumber.c: Likewise.
1769 * inet/getrpcbynumber_r.c: Likewise.
1770 * inet/getrpcent.c: Likewise.
1771 * inet/getrpcent_r.c: Likewise.
1772 * inet/getaliasent.c: Likewise.
1773 * inet/getaliasent_r.c: Likewise.
1774 * inet/getaliasname.c: Likewise.
1775 * inet/getaliasname_r.c: Likewise.
1776 * nscd/getgrgid_r.c: Likewise.
1777 * nscd/getgrnam_r.c: Likewise.
1778 * nscd/gethstbyad_r.c: Likewise.
1779 * nscd/gethstbynm3_r.c: Likewise.
1780 * nscd/getpwnam_r.c: Likewise.
1781 * nscd/getpwuid_r.c: Likewise.
1782 * nscd/getsrvbynm_r.c: Likewise.
1783 * nscd/getsrvbypt_r.c: Likewise.
1784 * nscd/gai.c: Likewise.
1785
c53d909c
RM
1786 * configure.in (build_nscd): New substituted variable, set
1787 by --disable-build-nscd and defaults to $use_nscd.
1788 * configure: Regenerated.
1789 * config.make.in (build-nscd): New substituted variable.
1790 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
1791 Change conditional to require [$(build-nscd) = yes] as well.
1792 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
1793
3cc3ef96
RM
1794 [BZ# 13696]
1795 * configure.in (use_nscd): New substituted variable, set by
1796 --disable-nscd. If enabled, define USE_NSCD.
1797 * configure: Regenerated.
1798 * config.h.in: Add USE_NSCD.
1799 * config.make.in (use-nscd): New substituted variable.
1800 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
1801 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
1802 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
1803 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
1804 (CFLAGS-getgrnam_r.c): Likewise.
1805 (CFLAGS-initgroups.c): Likewise.
1806 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
1807 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
1808 Variables removed.
1809 * inet/getnetgrent_r.c
1810 (nscd_setnetgrent): New function, broken out of ...
1811 (setnetgrent): ... here. Call it.
1812 (innetgr): Conditionalize nscd bits on [USE_NSCD].
1813 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
1814 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
1815 * nscd/Makefile (routines, aux): Move definitions after include of
1816 Makeconfig. Conditionalize on [$(use-nscd) != no].
1817 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
1818 Conditionalize on [USE_NSCD].
1819 (is_nscd, nscd_init_cb): Likewise.
1820 (nss_load_library): Conditionalize init callback on [USE_NSCD].
1821 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
1822 * nss/nss_db/db-init.c: Likewise.
1823 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
1824 [USE_NSCD].
1825 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
1826 (make_request): Use it.
1827 (cache_valid_p): New function.
1828 (__check_pf): Use it.
1829 * NEWS: Add item for --disable-nscd.
1830
07e51550
DL
18312012-08-22 Dmitry V. Levin <ldv@altlinux.org>
1832
1833 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
1834 to support sed >= 4.2.1-20-ga9bf076.
1835 * configure: Regenerated.
1836
35a5b08b
RM
18372012-08-22 Roland McGrath <roland@hack.frob.com>
1838
1839 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
1840 Conditionalize whole body on [IREL].
1841
8479f23a
JL
18422012-08-22 Jeff Law <law@redhat.com>
1843
1844 [BZ #14505]
1845 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
1846 if the family is PF_UNSPEC.
1847
48da0b21
MF
18482012-08-22 Mike Frysinger <vapier@gentoo.org>
1849
1850 * Makerules (lib-version): Rename from V.
1851 (install-lib-nosubdir): Change V to lib-version.
1852
15d0da8c
WS
18532012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
1854
1855 [BZ #14252]
1856 * powerpc32/power6/wcschr.c: New file.
1857 * powerpc32/power6/wcscpy.c: New file.
1858 * powerpc32/power6/wcsrchr.c: New file.
1859 * powerpc64/power6/wcschr.c: New file.
1860 * powerpc64/power6/wcscpy.c: New file.
1861 * powerpc64/power6/wcsrchr.c: New file.
1862
bcca0895
MK
18632012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1864
1865 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
1866 (two_way_short_needle): Use it.
5a4aaa33
RM
1867 * string/strstr.c (AVAILABLE1_USES_J): Define.
1868 * string/strcasestr.c: Likewise.
99677e57
MK
1869
1870 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
1871 array references.
1872 * string/strcasestr.c (TOLOWER): Make side-effect safe.
1873
400726de
MK
1874 [BZ #11607]
1875 * NEWS: Add an entry.
1876 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
1877 define their defaults.
1878 (two_way_short_needle): Detect end-of-string on-the-fly.
1879 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
1880 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
1881 * string/bug-strcasestr1.c: New test.
1882 * string/Makefile: Run it.
1883
20a71f2c
MK
18842012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1885
1886 [BZ #11607]
1887 * string/str-two-way.h (two_way_short_needle): Optimize matching of
1888 the first character.
1889
21ad0558
RM
18902012-08-21 Roland McGrath <roland@hack.frob.com>
1891
1892 * csu/elf-init.c (__libc_csu_irel): Function removed.
1893 * csu/libc-start.c (apply_irel): New function.
1894 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
1895
0e1d9911
JM
18962012-08-21 Joseph Myers <joseph@codesourcery.com>
1897
1898 * sysdeps/unix/sysv/linux/kernel-features.h
1899 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
1900 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1901 <kernel-features.h>.
1902 [__NR_fadvise64_64]: Make code unconditional.
1903 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
1904 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1905 !__NR_fadvise64_64)]: Likewise.
1906 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1907 !__NR_fadvise64_64))]: Likewise.
1908 [__NR_fadvise64]: Make code unconditional.
1909 [!__NR_fadvise64]: Remove conditional code.
1910 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
1911 <kernel-features.h>.
1912 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1913 unconditional.
1914 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1915 conditional code.
1916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
1917 not include <kernel-features.h>.
1918 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1919 unconditional.
1920 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1921 conditional code.
1922 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
1923 include <kernel-features.h>.
1924 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1925 unconditional.
1926 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1927 conditional code.
1928
14a50c9d
WS
19292012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
1930
1931 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
1932 slight instruction rearrangements per scrollpipe analysis.
1933 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1934
c0f4faf0
RM
19352012-08-20 Roland McGrath <roland@hack.frob.com>
1936
696da859
RM
1937 * manual/syslog.texi (syslog; vsyslog, closelog):
1938 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
1939 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
1940
c0f4faf0
RM
1941 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
1942 DSOCAPS to match condition on defining it.
1943
348363b2
JM
19442012-08-20 Joseph Myers <joseph@codesourcery.com>
1945
a35cbf28
JM
1946 * sysdeps/unix/sysv/linux/kernel-features.h
1947 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
1948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
1949 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1950 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
1952 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1953 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
1955 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1956 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1957
445f7ecd
JM
1958 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
1959 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
1960
348363b2
JM
1961 * sysdeps/unix/sysv/linux/kernel-features.h
1962 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
1963 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
1964 unconditional.
1965 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1966 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
1967 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1968 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1969 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
1970 Make code unconditional.
1971 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1972 (__mmap64) [!__NR_mmap2]: Likewise.
1973 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
1974 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1975 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1976 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
1977 [__NR_mmap2]: Make code unconditional.
1978 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1979 (__mmap64) [!__NR_mmap2]: Likewise.
1980
bc5bc0e5
AK
19812012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1982
1983 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
1984
88d506de
AJ
19852012-08-18 Andreas Jaeger <aj@suse.de>
1986
1987 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
1988
493387d2
MF
19892012-08-18 Mike Frysinger <vapier@gentoo.org>
1990
1991 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
1992 * include/unistd.h (__have_sock_cloexec): Likewise.
1993 (__have_pipe2): Likewise.
1994 (__have_dup3): Likewise.
1995
a277af22
MF
19962012-08-18 Mike Frysinger <vapier@gentoo.org>
1997
1998 [BZ #9685]
1999 * include/unistd.h (__have_pipe2): Change define into an extern int.
2000 (__have_dup3): Likewise.
2001 * socket/have_sock_cloexec.c: Include fcntl.h.
2002 (__have_pipe2): New variable.
2003 (__have_dup3): Likewise.
2004
fdab8fd3
MF
20052012-08-17 Mike Frysinger <vapier@gentoo.org>
2006
2007 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
2008
31035e80
MP
20092012-08-17 Marek Polacek <polacek@redhat.com>
2010
2011 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
2012 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
2013
3bd9e993
RM
20142012-08-17 Roland McGrath <roland@hack.frob.com>
2015
c91c505f
RM
2016 * configure.in: Add AC_SUBST for sysheaders.
2017 * configure: Regenerated.
2018 * config.make.in (sysheaders): New substituted variable.
2019
7c6f9d53
RM
2020 * sysdeps/unix/mkfifo.c: Moved ...
2021 * sysdeps/posix/mkfifo.c: ... here.
2022 * sysdeps/unix/mkfifoat.c: Moved ...
2023 * sysdeps/posix/mkfifoat.c: ... here.
2024
2025 * sysdeps/unix/utime.c: Moved ...
2026 * sysdeps/posix/utime.c: ... here.
2027
2028 * sysdeps/unix/time.c: Moved ...
2029 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
2030 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
2031 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
2032
2033 * sysdeps/unix/nice.c: Moved ...
2034 * sysdeps/posix/nice.c: ... here.
2035
2036 * sysdeps/unix/alarm.c: Moved ...
2037 * sysdeps/posix/alarm.c: ... here.
2038
3bd9e993
RM
2039 * intl/Makefile ($(codeset_mo)): Depend on the input file.
2040
d1f09384
JL
20412012-08-17 Jeff Law <law@redhat.com>
2042
2043 * intl/Makefile (codeset_mo): New variable.
2044 ($(codeset_mo)): New target.
2045 (tst-codeset.out): Depend on that. Remove explicit rule.
2046 (tst-gettext3.out, tst-gettext5.out): Likewise.
2047 (LOCPATH-ENV, tst-codeset-ENV): New variables.
2048 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
2049 * intl/tst-codeset.sh: Remove.
2050 * intl/tst-gettext3.sh: Likewise.
2051 * intl/tst-gettext5.sh: Likewise.
2052
2ae1ae5c
RM
20532012-08-17 Roland McGrath <roland@hack.frob.com>
2054
c31fdb83
RM
2055 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
2056 * sysdeps/unix/syscalls.list: ... here.
2057
a0844057
RM
2058 * sysdeps/posix/getaddrinfo.c
2059 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
2060 (gaiconf_init, gaiconf_reload): Use them.
2061 [!_STATBUF_ST_NSEC]
2062 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
2063 Define using time_t rather than struct timespec.
2064
750c1f2a
RM
2065 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
2066 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
2067 Macros removed.
2068 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
2069 [!NO_THREADS].
2070 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
2071 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
2072 Likewise.
2073
2ae1ae5c
RM
2074 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
2075 __libc_cleanup_push argument.
2076
e66a42f5
RM
2077 * bits/param.h: New file.
2078 * misc/sys/param.h: New file.
2079 * include/sys/param.h: New file.
2080 * misc/Makefile (headers): Add bits/param.h.
2081 * sysdeps/generic/sys/param.h: File removed.
2082 * sysdeps/unix/sysv/linux/bits/param.h: New file.
2083 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
2084 * sysdeps/mach/hurd/bits/param.h: New file.
2085 * sysdeps/mach/hurd/sys/param.h: New file.
2086
b7c08a66
RM
2087 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
2088 last change.
2089
b2e1c562
RM
2090 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
2091 [_IO_MTSAFE_IO].
2092 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
2093 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
2094 New macros.
2095
c75ccd4c
RM
2096 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
2097 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
2098 rather than -D_IO_MTSAFE_IO conditionally.
2099 * stdio-common/Makefile (CPPFLAGS): Likewise.
2100 * wcsmbs/Makefile (CPPFLAGS): Likewise.
2101 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
2102 Use $(libio-mtsafe).
2103 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
2104 of -D_IO_MTSAFE_IO.
2105 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
2106 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
2107 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
2108 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
2109 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
2110 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
2111 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
2112 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
2113 (CFLAGS-fread_u_chk.c): Likewise.
2114 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
2115 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
2116 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
2117 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
2118 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
2119 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
2120 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
2121 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
2122 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
2123
2124 * libio/Makefile: Test [$(libc-reentrant) = yes]
2125 instead of [$(filter %REENTRANT, $(defines)) nonempty].
2126
2127 * Makeconfig
2128 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
2129 * sysdeps/pthread/configure: File removed.
2130 * sysdeps/pthread/Makeconfig: New file.
2131 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
2132 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
2133
d9195db8
GB
21342012-08-16 Gary Benson <gbenson@redhat.com>
2135
2136 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
2137 unmapping the first object in a namespace.
2138
86466cd9
RM
21392012-08-16 Roland McGrath <roland@hack.frob.com>
2140
2141 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
2142 (__internal_setnetgrent): ... this. Add internal_function to
2143 definition. Add libc_hidden_def.
2144 (setnetgrent): Update caller.
2145 (internal_endnetgrent): Renamed to ...
2146 (__internal_endnetgrent): ... this. Add internal_function to
2147 definition. Add libc_hidden_def.
2148 (endnetgrent): Update caller.
2149 (internal_getnetgrent_r): Renamed to ...
2150 (__internal_getnetgrent_r): ... this. Add internal_function to
2151 definition. Add libc_hidden_def.
2152 (__getnetgrent_r): Update caller.
2153 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
2154
c3c8283c
JM
21552012-08-16 Joseph Myers <joseph@codesourcery.com>
2156
2157 * stdlib/longlong.h: Update from GCC.
2158
db1ee0a8
RM
21592012-08-16 Roland McGrath <roland@hack.frob.com>
2160
2161 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
2162 on _QL, which is set by umul_ppmm but never used.
2163 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
2164 variables, which are set by GMP macros but never used.
2165 * stdio-common/_itowa.c (_itowa): Likewise.
2166 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
2167 * stdlib/mod_1.c (mpn_mod_1): Likewise.
2168
30f69637
CD
21692012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
2170
2171 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
2172 struct La_sh_regs is not constant.
2173 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
2174 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
2175 and struct La_sparc64_regs are not constant.
2176
93a78ac4
JM
21772012-08-16 Joseph Myers <joseph@codesourcery.com>
2178
2179 * sysdeps/unix/sysv/linux/kernel-features.h
2180 (__ASSUME_POSIX_TIMERS): Remove.
2181 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2182 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2183 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
2184 Make code unconditional.
2185 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2186 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
2187 Make code unconditional.
2188 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2189 * sysdeps/unix/sysv/linux/clock_nanosleep.c
2190 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
2191 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2192 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
2193 Make code unconditional.
2194 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2195 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
2196 (__libc_missing_posix_timers): Remove.
2197
dd924cd7
RM
21982012-08-15 Roland McGrath <roland@hack.frob.com>
2199
4b4f2771
RM
2200 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
2201 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
2202
601c888b
RM
2203 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
2204
176790a7
RM
2205 * elf/dl-sym.c: Include <stdlib.h>.
2206
329bc018
RM
2207 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
2208 constants, which avoids warnings in 32-bit builds.
2209
e04e272d
RM
2210 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
2211 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
2212
952bf94a
RM
2213 * misc/lseek.c: File moved to ...
2214 * io/lseek.c: ... here.
2215
7c99b50a
RM
2216 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
2217
dd924cd7
RM
2218 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
2219 shifting LEN more than 31 bits at once.
2220
b3f479a8
LD
22212012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2222
2223 [BZ #14195]
8c4ae0d4
RM
2224 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
2225 segmentation fault for a case of two empty input strings.
b3f479a8
LD
2226 * string/test-strncasecmp.c (check1): Renamed to...
2227 (bz12205): ...this.
2228 (bz14195): Add new testcase for two empty input strings and N > 0.
2229 (test_main): Call new testcase, adapt for renamed function.
2230
9c55864e
AJ
22312012-08-15 Andreas Jaeger <aj@suse.de>
2232
2233 [BZ #14090]
2234 * crypt/md5test2.c: New test, based on test supplied by Serge
2235 Belyshev <belyshev@depni.sinp.msu.ru>.
2236 * crypt/Makefile (xtests): Add md5test-giant..
2237 * crypt/Makefile ($(objpfx)md5test-giant): Add.
2238
02dcb6c5
PE
22392012-08-15 Paul Eggert <eggert@cs.ucla.edu>
2240
2241 [BZ #14090]
2242 * crypt/md5.c (md5_process_block): Don't assume the buffer
2243 length is less than 2**32.
2244 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
2245 length is less than 2**64.
2246
a3f95dcc
RM
22472012-08-15 Roland McGrath <roland@hack.frob.com>
2248
be75d758
RM
2249 * string/str-two-way.h: Include <sys/param.h>.
2250 (MAX): Macro removed.
2251
7312ca90
RM
2252 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
2253 Move #define and #undef of memmove to just before and after
2254 including <string.h>.
2255
9a0a5486
RM
2256 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
2257 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
2258 and after including <string.h>. Move declarations of
2259 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
2260 to before #include "string/memmove.c".
2261
67cc348d
RM
2262 * include/dirent.h: Declare __getdirentries.
2263
a3f95dcc
RM
2264 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
2265 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
2266
ca98e171
MF
22672012-08-14 Mike Frysinger <vapier@gentoo.org>
2268
2269 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
2270 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
2271 * sysdeps/i386/configure: Regenerated.
2272 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
2273 STABS_CURRENT_FILE, and STABS_FUN.
2274 (END): Remove call to STABS_FUN_END.
2275 (STABS_CURRENT_FILE1): Delete.
2276 (STABS_CURRENT_FILE): Likewise.
2277 (STABS_FUN): Likewise.
2278 (STABS_FUN_END): Likewise.
2279 (STABS_FUN2): Likewise.
2280 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
2281 * sysdeps/x86_64/configure: Regenerated.
2282
5908bf46
RM
22832012-08-14 Roland McGrath <roland@hack.frob.com>
2284
2285 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 2286 * elf/dl-lookup.c: Likewise.
5908bf46 2287
f2c05b9e
JM
22882012-08-14 Joseph Myers <joseph@codesourcery.com>
2289
2290 * sysdeps/unix/sysv/linux/kernel-features.h
2291 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
2292 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
2293 unconditionally.
2294 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
2295 unconditionally.
2296 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
2297 condition on __ASSUME_CLONE_THREAD_FLAGS.
2298
e11f5155
AJ
22992012-08-14 Andreas Jaeger <aj@suse.de>
2300
2301 * sysdeps/i386/fpu/libm-test-ulps: Update.
2302
51a9ba86
MK
23032012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
2304
2fdd4f78
AJ
2305 * include/atomic.h (atomic_exchange_and_add): Split into ...
2306 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
2307 New atomic macros.
51a9ba86 2308
ba6cba9e
MT
23092012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
2310
2311 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2312
42443a47
JL
23132012-08-13 Jeff Law <law@redhat.com>
2314
2315 * manual/stdio.texi (snprintf): Clarify handling of the trailing
2316 null byte in the output string.
2317
121dce05
JM
23182012-08-10 Joseph Myers <joseph@codesourcery.com>
2319
2320 * sysdeps/unix/sysv/linux/kernel-features.h
2321 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
2322 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
2323 (__ASSUME_ARG_MAX_STACK_BASED): Define.
2324 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2325 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
2326 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
2327 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
2328
bf51f568
JL
23292012-08-09 Jeff Law <law@redhat.com>
2330
2331 [BZ #13939]
2332 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
2333 When avoid_arena is set, don't retry in the that arena. Pick the
2334 next one, whatever it might be.
2335 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
2336 (arena_lock): Pass in new parameter to arena_get2.
2337 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
2338 arena_get2.
2339 (__libc_malloc): Unify retrying after main arena failure with
2340 __libc_memalign version.
2341 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
2342
f85fa270
L
23432012-08-09 H.J. Lu <hongjiu.lu@intel.com>
2344
2345 [BZ #14166]
2346 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
2347 to __redirect_strstr.
2348 (__strstr_sse42): Use typeof __redirect_strstr.
2349 (__strstr_ia32): Likewise.
2350 (__libc_strstr): New prototype.
2351 (strstr): Renamed to ...
2352 (__libc_strstr): This.
2353 (strstr): New strong alias of __libc_strstr.
2354 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2355 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
2356 __redirect_time.
2357 Include <time.h>.
2358 (__libc_time): New prototype.
2359 (time_ifunc): Replace time with __libc_time.
2360 (time): New strong alias and hidden definition of __libc_time.
2361 (__GI_time): Remove strong alias.
2362 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
2363 Include <stddef.h>.
2364 (memmove): Redefined to __redirect_memmove.
2365 (__memmove_sse2): Use typeof __redirect_memmove.
2366 (__memmove_ssse3): Likewise.
2367 (__memmove_ssse3_back): Likewise.
2368 (__libc_memmove): New prototype.
2369 (memmove): Renamed to ...
2370 (__libc_memmove): This.
2371 (memmove): New strong alias of __libc_memmove.
2372
33b4a91e
MS
23732012-08-08 Mark Salter <msalter@redhat.com>
2374
2375 * elf/elf.h
2376 (R_MN10300_TLS_GD): Define.
2377 (R_MN10300_TLS_LD): Likewise.
2378 (R_MN10300_TLS_LDO): Likewise.
2379 (R_MN10300_TLS_GOTIE): Likewise.
2380 (R_MN10300_TLS_IE): Likewise.
2381 (R_MN10300_TLS_LE): Likewise.
2382 (R_MN10300_TLS_DTPMOD): Likewise.
2383 (R_MN10300_TLS_DTPOFF): Likewise.
2384 (R_MN10300_TLS_TPOFF): Likewise.
2385 (R_MN10300_SYM_DIFF): Likewise.
2386 (R_MN10300_ALIGN): Likewise.
2387 (R_MN10300_NUM): Update.
2388
b36137f1
JM
23892012-08-08 Joseph Myers <joseph@codesourcery.com>
2390
2391 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
2392 Remove.
2393
cdd915fd
RM
23942012-08-08 Roland McGrath <roland@hack.frob.com>
2395
a2433aac
RM
2396 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
2397
cdd915fd
RM
2398 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
2399 sysdeps/unix -> sysdeps/posix move.
2400 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2401
bf9b740a
AM
24022012-08-07 Allan McRae <allan@archlinux.org>
2403
2404 [BZ #14303]
2405 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
2406 (SUNOS_CPP): Likewise.
2407 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
2408 not found.
2409 (open_input): Call CPP using execvp.
2410
93df14ee
JM
24112012-08-07 Joseph Myers <joseph@codesourcery.com>
2412
2413 * sysdeps/unix/sysv/linux/kernel-features.h
2414 (__ASSUME_PROT_GROWSUPDOWN): Remove.
2415 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2416 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2417 (__ASSUME_WAITID_SYSCALL): Likewise.
2418 * sysdeps/unix/sysv/linux/dl-execstack.c
2419 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
2420 code unconditional.
2421 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
2422 conditional code.
2423 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
2424 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
2425 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
2426 code.
2427 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
2428 unconditional.
2429 [__ASSUME_WAITID_SYSCALL]: Likewise.
2430 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
2431
d34689de
RM
24322012-08-07 Roland McGrath <roland@hack.frob.com>
2433
a281decc
RM
2434 * sysdeps/unix/closedir.c: Renamed to ...
2435 * sysdeps/posix/closedir.c: ... here.
2436 * sysdeps/unix/dirfd.c: Renamed to ...
2437 * sysdeps/posix/dirfd.c: ... here.
2438 * sysdeps/unix/dirstream.h: Renamed to ...
2439 * sysdeps/posix/dirstream.h: ... here.
2440 * sysdeps/unix/fdopendir.c: Renamed to ...
2441 * sysdeps/posix/fdopendir.c: ... here.
2442 * sysdeps/unix/opendir.c: Renamed to ...
2443 * sysdeps/posix/opendir.c: ... here.
2444 * sysdeps/unix/readdir.c: Renamed to ...
2445 * sysdeps/posix/readdir.c: ... here.
2446 * sysdeps/unix/readdir_r.c: Renamed to ...
2447 * sysdeps/posix/readdir_r.c: ... here.
2448 * sysdeps/unix/rewinddir.c: Renamed to ...
2449 * sysdeps/posix/rewinddir.c: ... here.
2450 * sysdeps/unix/seekdir.c: Renamed to ...
2451 * sysdeps/posix/seekdir.c: ... here.
2452 * sysdeps/unix/telldir.c: Renamed to ...
2453 * sysdeps/posix/telldir.c: ... here.
2454 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
2455 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2456 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
2457 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
2458
22895b47
RM
2459 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
2460 * bits/fcntl.h: ... here.
2461
707a53b6
RM
2462 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
2463 not 0.
2464 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
2465 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
2466 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
2467 (struct flock): Move l_start, l_len to the beginning.
2468 Use __pid_t for l_pid.
2469 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
2470 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
2471 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
2472 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
2473 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
2474 [__USE_LARGEFILE64] (struct flock64): New type.
2475 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
2476
f0bd3e25
RM
2477 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
2478 * bits/dirent.h: ... here.
2479
d34689de
RM
2480 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
2481 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
2482
6dad2c06
JM
24832012-08-07 Joseph Myers <joseph@codesourcery.com>
2484
2485 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2486 Change from 2.6.0 to 2.6.16.
2487 * sysdeps/unix/sysv/linux/configure: Regenerated.
2488 * sysdeps/unix/sysv/linux/kernel-features.h
2489 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
2490 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
2491 version.
2492 (__ASSUME_UTIMES): Likewise.
2493 (__ASSUME_CLONE_STOPPED): Remove.
2494 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
2495 architectures, not kernel version.
2496 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
2497 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2498 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2499 (__ASSUME_WAITID_SYSCALL): Likewise.
2500 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
2501 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
2502 * README: State 2.6.16 as minimum Linux kernel version. Do not
2503 refer to older versions.
2504
03af9520
RM
25052012-08-06 Roland McGrath <roland@hack.frob.com>
2506
8e49df1d
RM
2507 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
2508 Define alphasort64 as an alias.
2509 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
2510 Define versionsort64 as an alias.
2511 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
2512 Define scandir64 as an alias.
2513 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
2514 Define scandirat64 as an alias.
2515 * dirent/alphasort64.c (alphasort64):
2516 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
2517 * dirent/versionsort64.c: Likewise.
2518 * dirent/scandir64.c: Likewise.
2519 * dirent/scandirat64.c: Likewise.
2520 * sysdeps/wordsize-64/alphasort.c: File removed.
2521 * sysdeps/wordsize-64/alphasort64.c: File removed.
2522 * sysdeps/wordsize-64/scandir.c: File removed.
2523 * sysdeps/wordsize-64/scandir64.c: File removed.
2524 * sysdeps/wordsize-64/scandirat.c: File removed.
2525 * sysdeps/wordsize-64/scandirat64.c: File removed.
2526 * sysdeps/wordsize-64/versionsort.c: File removed.
2527 * sysdeps/wordsize-64/versionsort64.c: File removed.
2528 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
2529 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
2530 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
2531 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
2532 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
2533 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
2534 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
2535 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
2536
2537 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
2538 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2539 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
2540 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2541 [defined __arch64__ || defined __sparcv9]
2542 (__INO_T_MATCHES_INO64_T): New macro.
2543 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2544 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
2545 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
2546 * sysdeps/unix/sysv/linux/bits/dirent.h
2547 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
2548 (_DIRENT_MATCHES_DIRENT64): New macro.
2549
03af9520
RM
2550 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
2551 Define lockf64 as an alias.
2552 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
2553 Define fseeko64 as an alias.
2554 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
2555 Define ftello64 as an alias.
2556 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
2557 Define _IO_fgetpos64 and fgetpos64 as aliases.
2558 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
2559 Define _IO_fsetpos64 and fsetpos64 as aliases.
2560 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
2561 Conditionalize body on this.
2562 * libio/fseeko64.c: Likewise.
2563 * libio/ftello64.c: Likewise.
2564 * libio/iofgetpos64.c: Likewise.
2565 * libio/iofsetpos64.c: Likewise.
2566 * sysdeps/wordsize-64/lockf.c: File removed.
2567 * sysdeps/wordsize-64/lockf64.c: File removed.
2568 * sysdeps/wordsize-64/fseeko.c: File removed.
2569 * sysdeps/wordsize-64/fseeko64.c: File removed.
2570 * sysdeps/wordsize-64/ftello.c: File removed.
2571 * sysdeps/wordsize-64/ftello64.c: File removed.
2572 * sysdeps/wordsize-64/iofgetpos.c: File removed.
2573 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
2574 * sysdeps/wordsize-64/iofsetpos.c: File removed.
2575 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
2576 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
2577 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
2578 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
2579 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
2580 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
2581 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
2582 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
2583 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
2584 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
2585 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
2586
2587 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2588 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2589 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
2590 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2591 [defined __arch64__ || defined __sparcv9]
2592 (__OFF_T_MATCHES_OFF64_T): New macro.
2593 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2594 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2595 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2596 (__OFF_T_MATCHES_OFF64_T): New macro.
2597
c5757acd
L
25982012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2599
2600 * stdlib/secure-getenv.c (__secure_getenv): Replace
2601 GLIBC_2_16 with GLIBC_2_17.
2602
3a31811e
L
26032012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2604
2605 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
2606 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2607
faa2bccb
DM
26082012-08-03 David S. Miller <davem@davemloft.net>
2609
2610 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2611
85fe1997
JM
26122012-08-03 Joseph Myers <joseph@codesourcery.com>
2613
2614 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
2615 Remove.
2616 (__ASSUME_CORRECT_SI_PID): Likewise.
2617 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
2618 (__ASSUME_TMPFS_NAME): Likewise.
2619 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
2620 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
2621 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
2622 (HAVE_AUX_SECURE): Make definition unconditional.
2623 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
2624 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
2625
4f75b7a0
RM
26262012-08-03 Roland McGrath <roland@hack.frob.com>
2627
2628 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
2629 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
2630 * sysdeps/mach/hurd/eloop-threshold.h: New file.
2631 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2632 __eloop_threshold instead of SYMLOOP_MAX.
2633
2634 * sysdeps/generic/eloop-threshold.h: New file.
2635 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
2636 of MAXSYMLINKS.
2637 * elf/chroot_canon.c (chroot_canon): Likewise.
2638
7aab07e4
JM
26392012-08-03 Joseph Myers <joseph@codesourcery.com>
2640
2641 [BZ #13717]
2642 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2643 Change to 2.6.0 everywhere.
2644 * sysdeps/unix/sysv/linux/configure: Regenerated.
2645 * sysdeps/unix/sysv/linux/kernel-features.h
2646 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
2647 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
2648 kernel versions.
2649 (__ASSUME_POSIX_TIMERS): Define unconditionally.
2650 (__ASSUME_FUTEX_REQUEUE): Remove.
2651 (__ASSUME_STATFS64): Define unconditionally.
2652 (__ASSUME_AT_SECURE): Likewise.
2653 (__ASSUME_CORRECT_SI_PID): Likewise.
2654 (__ASSUME_TGKILL): Define without depending on kernel version for
2655 i386.
2656 (__ASSUME_UTIMES): Likewise.
2657 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
2658 kernel version.
2659 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
2660 (__ASSUME_TMPFS_NAME): Likewise.
2661 * README: Update reference to Linux kernel versions.
2662
b67e9372
MP
26632012-08-02 Marek Polacek <polacek@redhat.com>
2664
1f529f7d 2665 [BZ# 14150]
b67e9372
MP
2666 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
2667 libc_cv_asm_type_prefix with %.
2668 * configure: Regenerated.
d2441631
RM
2669 * include/libc-symbols.h: Remove comment about
2670 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
2671 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
2672 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
2673 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
2674 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
2675 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2676 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
2677 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
2678 * elf/tst-unique2mod1.c: Likewise.
2679 * elf/tst-unique1mod2.c: Likewise.
2680 * elf/tst-unique1mod1.c: Likewise.
2681 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
2682 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
2683 Replace ASM_TYPE_DIRECTIVE with .type.
2684 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2685 * sysdeps/i386/sysdep.h: Likewise.
2686 * sysdeps/x86_64/sysdep.h: Likewise.
2687 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
2688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2689 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 2690 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
2691 * sysdeps/powerpc/powerpc32/sysdep.h:
2692 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
2693 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2694 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2695 * sysdeps/i386/fpu/e_powf.S: Likewise.
2696 * sysdeps/i386/fpu/e_expl.S: Likewise.
2697 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2698 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2699 * sysdeps/i386/fpu/e_pow.S: Likewise.
2700 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2701 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2702 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2703 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2704 * sysdeps/i386/fpu/e_log2.S: Likewise.
2705 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2706 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2707 * sysdeps/i386/fpu/e_powl.S: Likewise.
2708 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2709 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2710 * sysdeps/i386/fpu/e_logl.S: Likewise.
2711 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2712 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2713 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2714 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2715 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2716 * sysdeps/i386/fpu/e_log.S: Likewise.
2717 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2718 * sysdeps/i386/fpu/e_logf.S: Likewise.
2719 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2720 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2721 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2722 * sysdeps/i386/fpu/e_log10.S: Likewise.
2723 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2724 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2725 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2726 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2727 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2728 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
2729 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2730 * sysdeps/i386/i686/strtok.S: Likewise.
2731 * sysdeps/i386/i386-mcount.S: Likewise.
2732 * sysdeps/i386/strtok.S: Likewise.
2733 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
2734 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2735 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2736 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2737 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2738 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2739 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2740 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2741 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2742 * sysdeps/x86_64/_mcount.S: Likewise.
2743 * sysdeps/x86_64/strtok.S: Likewise.
2744 * sysdeps/sh/_mcount.S: Likewise.
2745
2747bf9a
RM
27462012-08-01 Roland McGrath <roland@hack.frob.com>
2747
2748 * libio/iofopen.c: Include <fcntl.h>.
2749 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
2750 (_IO_fopen64, fopen64): Define as aliases.
2751 * libio/iofopen64.c: Include <fcntl.h>.
2752 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
2753 Conditionalize body on this.
2754 * sysdeps/wordsize-64/iofopen.c: File removed.
2755 * sysdeps/wordsize-64/iofopen64.c: File removed.
2756
3fb791b8
MP
27572012-08-01 Marek Polacek <polacek@redhat.com>
2758
2759 * libc/Makeconfig: Use elf in place of binfmt-subdir.
2760 Use dlfcn directly instead of a variable.
2761 (binfmt-subdir): Do not define.
2762 (dlfcn): Likewise.
2763
a9f1039f
JM
27642012-08-01 Joseph Myers <joseph@codesourcery.com>
2765
23bddc06
JM
2766 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2767 Remove all definitions.
2768 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
2769 <kernel-features.h>.
2770 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2771 (miss_F_GETOWN_EX): Remove all definitions.
2772 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
2773 macro definition.
2774 [!__ASSUME_FCNTL64]: Remove conditional code.
2775 [__ASSUME_FCNTL64]: Make code unconditional.
2776 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
2777 <kernel-features.h>.
2778 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2779 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
2780 (lockf64) [__NR_fcntl64]: Make code unconditional.
2781 (lockf64) [__ASSUME_FCNTL64]: Likewise.
2782
a9f1039f
JM
2783 * sysdeps/unix/sysv/linux/kernel-features.h
2784 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
2785 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
2786 Make code unconditional.
2787 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2788 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
2790 [__NR_vfork]: Make code unconditional.
2791 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2792 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
2794 [__NR_vfork]: Make code unconditional.
2795 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2796 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2797
09c0ee5f
RM
27982012-08-01 Roland McGrath <roland@hack.frob.com>
2799
48aec5b9
RM
2800 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
2801 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
2802
cd97c966
RM
2803 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2804 Define mkstemp64 as an alias.
3f55550c
RM
2805 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2806 Define mkstemps64 as an alias.
cd97c966
RM
2807 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2808 Define mkostemp64 as an alias.
b8625cfc
RM
2809 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2810 Define mkostemps64 as an alias.
cd97c966
RM
2811 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
2812 Conditionalize body on this.
2813 * misc/mkostemp64.c: Likewise.
b8625cfc 2814 * misc/mkostemps64.c: Likewise.
3f55550c 2815 * misc/mkstemps64.c: Likewise.
cd97c966
RM
2816 * sysdeps/wordsize-64/mkstemp64.c: File removed.
2817 * sysdeps/wordsize-64/mkostemp64.c: File removed.
2818 * sysdeps/wordsize-64/mkostemp.c: File removed.
2819 * sysdeps/wordsize-64/mkstemp.c: File removed.
2820 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
2821 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
2822 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
2823 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
2824
09c0ee5f
RM
2825 [BZ #14138]
2826 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
2827 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
2828 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
2829 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
2830
2831 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
2832 compat_symbol macros from <shlib-compat.h> rather than the underlying
2833 default_symbol_version and symbol_version macros, so that DEFAULT
2834 lines in shlib-versions are respected.
2835 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
2836
7e66ee51
FW
28372012-08-01 Florian Weimer <fweimer@redhat.com>
2838
2839 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
2840 Declare with warn_unused_result.
2841 (setgid, setregid, setegid, setresgid): Likewise.
2842 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
2843 Likewise.
2844 * WUR-REPORT: Remove set*id functions.
2845
d2a54255
PT
28462012-07-31 Pino Toscano <toscano.pino@tiscali.it>
2847
2848 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
2849
7ecdb005
RM
28502012-07-31 Roland McGrath <roland@hack.frob.com>
2851
789bd351
RM
2852 * include/sys/socket.h (__libc_accept, __libc_accept4):
2853 Add attribute_hidden.
2854 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
2855
40ce302d
RM
2856 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
2857 use of PTR_MANGLE.
2858 * inet/getnetgrent_r.c (setup): Likewise.
2859
7ecdb005
RM
2860 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
2861
e2eabb2c
DM
28622012-07-31 David S. Miller <davem@davemloft.net>
2863
2864 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2865
d0419dbf
JM
28662012-07-31 Joseph Myers <joseph@codesourcery.com>
2867
2868 [BZ #13629]
2869 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
2870 value between 1.0 and 2.0 and smaller part has absolute value less
2871 than 1.0.
2872 * math/s_clog10.c (__clog10): Likewise.
2873 * math/s_clog10f.c (__clog10f): Likewise.
2874 * math/s_clog10l.c (__clog10l): Likewise.
2875 * math/s_clogf.c (__clogf): Likewise.
2876 * math/s_clogl.c (__clogl): Likewise.
2877 * math/libm-test.inc (clog_test): Add more tests.
2878 (clog10_test): Likewise.
2879 * sysdeps/i386/fpu/libm-test-ulps: Update.
2880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2881
2bc13872
FW
28822012-07-31 Florian Weimer <fweimer@redhat.com>
2883
2884 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
2885 Exit with zero in case no suitable GID is found, and write a
2886 message to standard error.
2887
bea9b193
RM
28882012-07-30 Roland McGrath <roland@hack.frob.com>
2889
2890 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
2891 rather than to 1.
2892 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
2893 (MAXPATHLEN): Removed.
2894 (NOGROUP, NODEV): New macros.
2895 (setbit, clrbit, isset, isclr): New macros.
2896 (howmany, roundup, powerof2): New macros.
2897 (DEV_BSIZE): New macro.
2898
2899 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
2900 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
2901
2902 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
2903 definition on [!__NO_LONG_DOUBLE_MATH].
2904
2905 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
2906 PTR_MANGLE and PTR_DEMANGLE.
2907
2908 * socket/accept4.c (accept4): Rename to __libc_accept4.
2909 Define accept4 as a weak alias.
2910
2911 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
2912 on [_DIRENT_HAVE_D_TYPE].
2913 * io/ftw.c (ftw_dir): Likewise.
2914
2915 * io/xmknod.c (__xmknod): Don't check PATH for being null.
2916
2917 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
2918
2919 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
2920 Use the BSD numbers rather than the arbitrary ones we had.
2921 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
2922 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
2923 (SIGXCPU, SIGXFSZ): New macros.
2924 (_NSIG): Now 32.
2925
2926 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
2927 initializer on [_LIBC_REENTRANT].
2928
2929 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
2930 definitions inside [_POSIX_MAPPED_FILES].
2931
2932 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
2933
2934 * dirent/opendir.c: Include <fcntl.h>.
2935
2936 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
2937 (__libc_getspecific): Likewise.
2938 (__libc_key_create): Likewise.
2939
2940 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
2941 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
2942 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
2943 (tmpfile64): Define as alias.
2944 * sysdeps/wordsize-64/tmpfile.c: File removed.
2945 * sysdeps/wordsize-64/tmpfile64.c: File removed.
2946 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
2947 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
2948
2949 * stdio-common/vfscanf.c: Include <stdbool.h>.
2950 * nss/makedb.c: Likewise.
2951 * stdio-common/_i18n_number.h: Likewise.
2952 * argp/argp-help.c: Likewise.
2953 * posix/wordexp.c: Likewise.
2954 * sysdeps/posix/spawni.c: Likewise.
2955 * nss/nss_files/files-initgroups.c: Likewise.
2956 * stdio-common/reg-modifier.c: Include <stdlib.h>.
2957 * nss/nss_files/files-initgroups.c: Likewise.
2958 * nss/nss_db/db-netgrp.c: Likewise.
2959 * nss/nss_db/db-initgroups.c: Likewise.
2960 * io/fchmodat.c: Include <sys/stat.h>.
2961
2962 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
2963 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
2964
2965 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
2966 [HAVE_MMAP].
2967
2968 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
2969 Add multiple inclusion protection.
2970
e5abc686
DM
29712012-07-27 David S. Miller <davem@davemloft.net>
2972
2973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2974
815e6fa3
GB
29752012-07-27 Gary Benson <gbenson@redhat.com>
2976
2977 [BZ #14298]
2978 * elf/rtld.c: Include <stap-probe.h>.
2979 (dl_main): Added static probes "init_start" and "init_complete".
2980 * elf/dl-load.c: Include <stap-probe.h>.
2981 (lose): Take new parameter "nsid".
2982 Added static probe "map_failed".
2983 (_dl_map_object_from_fd): Pass namespace id to lose.
2984 Added static probe "map_start".
2985 (open_verify): Pass namespace id to lose.
2986 * elf/dl-open.c: Include <stap-probe.h>.
2987 (dl_open_worker) Added static probes "map_complete", "reloc_start"
2988 and "reloc_complete".
2989 * elf/dl-close.c: Include <stap-probe.h>.
2990 (_dl_close_worker): Added static probes "unmap_start" and
2991 "unmap_complete".
2992 * elf/rtld-debugger-interface.txt: New file documenting the above.
2993
9f98c16c
RM
29942012-07-26 Roland McGrath <roland@hack.frob.com>
2995
2996 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
2997 rather than a string variable.
2998 * sunrpc/rpc_main.c (h_output): Likewise.
2999 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
3000
f3c22df3
PT
30012012-07-26 Pino Toscano <toscano.pino@tiscali.it>
3002
3003 * inet/check_native.c: New file.
3004
3129cfc6
JM
30052012-07-26 Joseph Myers <joseph@codesourcery.com>
3006
da865e95
JM
3007 [BZ #13629]
3008 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
3009 if larger part has absolute value 1.0.
3010 * math/s_clog10.c (__clog10): Likewise.
3011 * math/s_clog10f.c (__clog10f): Likewise.
3012 * math/s_clog10l.c (__clog10l): Likewise.
3013 * math/s_clogf.c (__clogf): Likewise.
3014 * math/s_clogl.c (__clogl): Likewise.
3015 * math/libm-test.inc (clog_test): Add more tests.
3016 (clog10_test): Likewise.
3017 * sysdeps/i386/fpu/libm-test-ulps: Update.
3018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3019
3129cfc6
JM
3020 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
3021 (pltexit): Likewise.
3022 (La_regs): Likewise.
3023 (La_retval): Likewise.
3024 (int_retval): Likewise.
3025 Update #error for removed macros to refer only to definitions in
3026 tst-audit.h.
3027 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
3028 macro.
3029 (pltexit): Likewise.
3030 (La_regs): Likewise.
3031 (La_retval): Likewise.
3032 (int_retval): Likewise.
3033 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
3034 macro.
3035 (pltexit): Likewise.
3036 (La_regs): Likewise.
3037 (La_retval): Likewise.
3038 (int_retval): Likewise.
3039 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
3040 macro.
3041 (pltexit): Likewise.
3042 (La_regs): Likewise.
3043 (La_retval): Likewise.
3044 (int_retval): Likewise.
3045 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
3046 macro.
3047 (pltexit): Likewise.
3048 (La_regs): Likewise.
3049 (La_retval): Likewise.
3050 (int_retval): Likewise.
3051 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
3052 macro.
3053 (pltexit): Likewise.
3054 (La_regs): Likewise.
3055 (La_retval): Likewise.
3056 (int_retval): Likewise.
3057 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
3058 macro.
3059 (pltexit): Likewise.
3060 (La_regs): Likewise.
3061 (La_retval): Likewise.
3062 (int_retval): Likewise.
3063 * sysdeps/generic/tst-audit.h: Update comment to refer only to
3064 macro definitions in tst-audit.h.
3065 * sysdeps/i386/tst-audit.h: New file.
3066 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
3067 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
3068 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
3069 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
3070 * sysdeps/sh/tst-audit.h: Likewise.
3071 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
3072 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
3073 * sysdeps/x86_64/tst-audit.h: Likewise.
3074
bfc07087
AJ
30752012-07-26 Andreas Jaeger <aj@suse.de>
3076
b1b2aaf8
AJ
3077 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
3078 ptrace.
3079
3080 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
3081 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
3082 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
3083 PTRACE_O_MASK.
3084 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
3085 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
3086 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
3087
bfc07087
AJ
3088 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
3089 value.
3090
3091 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
3092 _sigsys.
3093 (si_call_addr, si_syscall, si_arch): Define new macro.
3094 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
3095 _sigsys.
3096 (si_call_addr, si_syscall, si_arch): Define new marcro.
3097 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
3098 _sigsys.
3099 (si_call_addr, si_syscall, si_arch): Define new macro.
3100 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
3101 _sigsys.
3102 (si_call_addr, si_syscall, si_arch): Define new macro.
3103
89b4b02f
JM
31042012-07-25 Joseph Myers <joseph@codesourcery.com>
3105
3106 [BZ #13717]
3107 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3108 Change to 2.4.21 where previously 2.4.1.
3109 * sysdeps/unix/sysv/linux/configure: Regenerated.
3110 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
3111 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
3112 Linux kernel version.
3113 (__ASSUME_STD_AUXV): Remove.
3114 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
3115 kernel version.
3116 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
3117 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
3118 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
3119 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
3120 (__ASSUME_NETLINK_SUPPORT): Likewise.
3121 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
3122 (__no_netlink_support): Remove conditional definition.
3123 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
3124 Remove.
3125 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3126 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
3127 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
3128 (if_nameindex_ioctl): Remove.
3129 (if_nameindex_netlink): Do not handle __no_netlink_support.
3130 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3131 code.
3132 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
3133 Remove conditional code.
3134 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3135 code.
3136 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
3137 unconditional.
3138 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3139 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
3140 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
3141 Remove.
3142 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3143 [!__ASSUME_STD_AUXV]: Remove conditional code.
3144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
3145 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
3146 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
3147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
3148 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
3149 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3150 code.
3151 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3153 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
3154 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3155 conditional code.
3156 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3158 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3159 code.
3160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3161 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3162 conditional code.
3163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
3164 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3165 code unconditional.
3166 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3167 conditional code.
3168 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3169 unconditional.
3170 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3171 conditional code.
3172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3173 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3174 unconditional.
3175 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3176 conditional code.
3177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3178 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3179 code unconditional.
3180 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3181 conditional code.
3182 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3183 unconditional.
3184 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3185 conditional code.
3186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3187 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3188 code unconditional.
3189 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3190 conditional code.
3191 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3192 unconditional.
3193 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3194 conditional code.
3195
842a39cd
AS
31962012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3197
3198 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
3199 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
3200 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3201 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
3202 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
3203 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3204 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3205 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3206 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
3207 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3208 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
3209 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3210 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
3211 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3212 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3213 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
3214 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
3215 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
3216 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
3217 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
3218 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
3219 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3220 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3221
84b3fd84
FW
32222012-07-25 Florian Weimer <fweimer@redhat.com>
3223
3224 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
3225 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
3226 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
3227 Introduce __libc_secure_getenv.
0c7936d5
FW
3228 * stdlib/Versions (2.17): Add secure_getenv
3229 (GLIBC_PRIVATE): Add __libc_secure_getenv.
3230 * stdlib/secure-getenv.c: Rename __secure_getenv to
3231 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
3232 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
3233 * stdlib/tst-secure-getenv.c: New.
3234 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
3235 * manual/startup.texi (Environment Access): Document
3236 secure_getenv.
84b3fd84
FW
3237 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
3238 __libc_secure_getenv.
3239 * inet/ruserpass.c (ruserpass): Likewise.
3240 * malloc/mtrace.c (mtrace): Likewise.
3241 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 3242 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
3243 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
3244 * sysdeps/posix/tempname.c: Likewise. Evaluate
3245 HAVE_SECURE_GETENV.
3246 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 3247 __secure_getenv to __libc_secure_getenv.
84b3fd84 3248 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
3249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3250 Likewise.
3251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3252 Likewise.
3253 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3254 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3255 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3256 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3258 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3259 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 3260
56e49b71
JM
32612012-07-25 Joseph Myers <joseph@codesourcery.com>
3262
3263 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
3264 (struct La_i86_retval): Likewise.
3265 (struct La_x86_64_regs): Likewise.
3266 (struct La_x86_64_retval): Likewise.
3267 (struct La_x32_regs): Likewise.
3268 (struct La_x32_retval): Likewise.
3269 (struct La_ppc32_regs): Likewise.
3270 (struct La_ppc32_retval): Likewise.
3271 (struct La_ppc64_regs): Likewise.
3272 (struct La_ppc64_retval): Likewise.
3273 (struct La_sh_regs): Likewise.
3274 (struct La_sh_retval): Likewise.
3275 (struct La_s390_32_regs): Likewise.
3276 (struct La_s390_32_retval): Likewise.
3277 (struct La_s390_64_regs): Likewise.
3278 (struct La_s390_64_retval): Likewise.
3279 (struct La_sparc32_regs): Likewise.
3280 (struct La_sparc32_retval): Likewise.
3281 (struct La_sparc64_regs): Likewise.
3282 (struct La_sparc64_retval): Likewise.
3283 (struct audit_ifaces): Remove architecture-specific pltenter and
3284 pltexit members.
3285 * sysdeps/i386/ldsodefs.h: New file.
3286 * sysdeps/powerpc/ldsodefs.h: Likewise.
3287 * sysdeps/s390/ldsodefs.h: Likewise.
3288 * sysdeps/sh/ldsodefs.h: Likewise.
3289 * sysdeps/sparc/ldsodefs.h: Likewise.
3290 * sysdeps/x86_64/ldsodefs.h: Likewise.
3291
354691b7
MP
32922012-07-25 Marek Polacek <polacek@redhat.com>
3293
3294 [BZ #6808]
3295 * math/libm-test.inc (yn_test): Add another test.
3296 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
3297 to ERANGE when the result is +-Inf.
3298 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3299 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3300 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
3301 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
3302
bf9e2071
JM
33032012-07-24 Joseph Myers <joseph@codesourcery.com>
3304
3305 * conform/data/time.h-data (NULL): Use macro-constant. Require
3306 equal to 0.
3307 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
3308 clock_t.
3309 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
3310
57633811
TS
33112012-07-23 Thomas Schwinge <thomas@codesourcery.com>
3312
3313 * configure.in <sysdeps resolving>: Correct printing
3314 Implies_before.
3315 * configure: Regenerate.
3316
c23c33b0
TS
33172012-07-22 Thomas Schwinge <thomas@codesourcery.com>
3318
3319 * math/w_ilogb.c: Include <limits.h>.
3320 * math/w_ilogbl.c: Likewise.
3321
b5982523
JM
33222012-07-20 Joseph Myers <joseph@codesourcery.com>
3323
3324 * manual/lang.texi (__va_copy): Document primarily as ISO C99
3325 va_copy. Document allowing for unavailable va_copy only as
3326 pre-C99 compatibility.
3327 * manual/string.texi (Copying and Concatenation): Use va_copy
3328 instead of __va_copy in concat example.
3329
ac4ea442
PT
33302012-07-20 Pino Toscano <toscano.pino@tiscali.it>
3331
3332 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
3333 (__sendto): Use create_address_port. Initialize APORT and deallocate
3334 it if not null.
3335
f98eafbd
PT
3336 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
3337 with O_NOLINK passed to __file_name_lookup.
3338
898c7aab
PT
3339 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
3340 with O_NOLINK passed to __file_name_lookup.
3341
0ced335a
PT
3342 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
3343 negative N or less than NGIDS.
3344
b3404dbd
PT
3345 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
3346 type to string_t. Set ERANGE as errno and return it if NAME is not big
3347 enough. Use memcpy instead of strncpy.
3348
0f48659e
JM
33492012-07-20 Joseph Myers <joseph@codesourcery.com>
3350
3351 * elf/Makefile (check-data): Remove.
3352 (localplt.data): New vpath directive.
3353 ($(objpfx)check-localplt.out): Use localplt.data from vpath
3354 instead of $(check-data).
3355 * scripts/data/localplt-generic.data: Move to ...
3356 * sysdeps/generic/localplt.data: ... here.
3357 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
3358 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
3359 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
3360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3361 ... here.
3362 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
3363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3364 ... here.
3365 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
3366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
3367 ... here.
3368 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
3369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3370 ... here.
3371 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
3372 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
3373 ... here.
3374 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
3375 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
3376 ... here.
3377
d37cbdaa
AZ
33782012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3379
3380 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
3381 PPC32 and PPC64 files.
3382 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
3383 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
3384
46f85fc2
AK
33852012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3386
3387 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
3388 __makecontext_ret to ...
3389 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3390 ... here and call exit if uc_link is NULL. New file.
3391 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
3392 __makecontext_ret.S.
3393 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
3394 __makecontext_ret to ...
3395 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3396 ... here and call exit if uc_link is NULL. New file.
3397 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
3398 __makecontext_ret.S.
3399
08f43f9b
AK
34002012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3401
3402 * elf/elf.h (R_390_IRELATIVE): New definition.
3403 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
3404 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
3405 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
3406 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3407 (elf_machine_lazy_rel): Likewise.
3408 * sysdeps/s390/dl-irel.h: New file.
3409 * sysdeps/s390/s390-64/memcpy.S: New asm code.
3410 * sysdeps/s390/s390-64/memset.S: New asm code.
3411 * sysdeps/s390/s390-64/memcmp.S: New asm code.
3412 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
3413 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
3414 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
3415 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
3416 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
3417 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
3418 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
3419 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
3420 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
3421 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
3422 * sysdeps/s390/s390-32/memcpy.S: New asm code.
3423 * sysdeps/s390/s390-32/memset.S: New asm code.
3424 * sysdeps/s390/s390-32/memcmp.S: New asm code.
3425
3b05db33
MP
34262012-07-17 Marek Polacek <polacek@redhat.com>
3427
3428 [BZ #14349]
3429 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
3430 * sysdeps/s390/s390-64/configure.in: Likewise.
3431 * sysdeps/sparc/configure.in: Likewise.
3432 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
3433 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
3434 * sysdeps/i386/configure.in: Likewise.
3435 * sysdeps/x86_64/configure.in: Likewise.
3436 * sysdeps/sh/configure.in: Likewise.
3437 * sysdeps/s390/s390-32/configure: Regenerated.
3438 * sysdeps/s390/s390-64/configure: Likewise.
3439 * sysdeps/x86_64/configure: Likewise.
3440 * sysdeps/sh/configure: Likewise.
3441 * sysdeps/powerpc/powerpc64/configure: Likewise.
3442 * sysdeps/powerpc/powerpc32/configure: Likewise.
3443 * sysdeps/sparc/configure: Likwise.
3444 * sysdeps/i386/configure: Likewise.
3445
a66877c6
MP
3446 * elf/dl-open.c: Comment fixes.
3447
cfc82fd8
JM
34482012-07-17 Joseph Myers <joseph@codesourcery.com>
3449
bd29910a
JM
3450 * Makefile [CXX] (check-data): Remove.
3451 [CXX] (c++-types.data): New vpath directive.
3452 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
3453 vpath. Do not allow for C++ type data being missing.
3454 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
3455 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
3456 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
3457 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
3458 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
3459 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
3460 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
3461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3462 ... here.
3463 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
3464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3465 ... here.
3466 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
3467 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
3468 ... here.
3469 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
3470 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
3471 ... here.
3472 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
3473 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
3474 ... here.
3475 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
3476 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
3477 ... here.
3478 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
3479 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
3480 ... here.
3481 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
3482 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
3483
cfc82fd8
JM
3484 * elf/tls-macros.h (TLS_LE): Move architecture-specific
3485 definitions to architecture-specific files.
3486 (TLS_IE): Likewise.
3487 (TLS_LD): Likewise.
3488 (TLS_GD): Likewise.
3489 * sysdeps/i386/tls-macros.h: New file.
3490 * sysdeps/powerpc/tls-macros.h: Likewise.
3491 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3492 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3493 * sysdeps/sh/tls-macros.h: Likewise.
3494 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
3495 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
3496 * sysdeps/x86_64/tls-macros.h: Likewise.
3497
f7db3170
TS
34982012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3499
07cbfc23
TS
3500 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
3501 zero value for regular exit case.
3502
f7db3170
TS
3503 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3504 (__start_context): Preserve zero value for regular exit case.
3505
dc97c227
TS
35062012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3507 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3508
3509 * manual/setjmp.texi (setcontext): Clarify normal process
3510 termination when uc_link is the null pointer.
3511 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
3512 exit call.
3513
d0cd7d02
AS
35142012-07-16 Andreas Schwab <schwab@linux-m68k.org>
3515
3516 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
3517 preprocessor. Test for each exception mask separately.
3518
dd318934
AJ
35192012-07-16 Andreas Jaeger <aj@suse.de>
3520
3521 * po/ru.po: Update from translation team.
3522
8048311a
JM
35232012-07-15 Joseph Myers <joseph@codesourcery.com>
3524
3525 * conform/data/string.h-data (NULL): Use macro-constant. Require
3526 equal to 0.
3527 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3528 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3529 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
3530 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
3531 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3532
b637d46e
AJ
35332012-07-13 Andreas Jaeger <aj@suse.de>
3534
3535 * po/fr.po: Update from translation team.
3536
541428fe
MP
35372012-07-12 Marek Polacek <polacek@redhat.com>
3538
3539 [BZ #14173]
3540 * math/libm-test.inc (yn_test): Add test for BZ #14173.
3541 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
3542 loop condition.
3543
ec332e94
JM
35442012-07-12 Joseph Myers <joseph@codesourcery.com>
3545
3546 [BZ #13717]
3547 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3548 Change to 2.4.1 where previously 2.4.0.
3549 * sysdeps/unix/sysv/linux/configure: Regenerated.
3550 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
3551 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
3552 version.
3553 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
3554 (__ASSUME_AT_CLKTCK): Remove.
3555 (__ASSUME_AT_PAGESIZE): Likewise.
3556 (__ASSUME_AT_XID): Likewise.
3557 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
3558 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
3559 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
3560 unconditionally.
3561 (HAVE_AUX_PAGESIZE): Likewise.
3562 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
3563 [__ASSUME_AT_CLKTCK]: Make code unconditional.
3564 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
3565
7b6e99be
JB
35662012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
3567
3568 [BZ #14307]
3569 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
3570 the temporary buffer used to invoke __gethostbyname2_r,
3571 __gethostbyaddr_r and gethostbyname4_r to make room for struct
3572 host_data / struct gaih_addrtuple.
3573 * resolv/nss_dns/dns-host.c (global scope): Move definition of
3574 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
3575 header file nss/nsswitch.h.
3576 * nss/nsswitch.h (global scope): Add definition of implementation
3577 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
3578 resolv/nss_dns/dns-host.c).
3579
608404eb
AJ
35802012-07-11 Andreas Jaeger <aj@suse.de>
3581
3582 * po/fr.po: Update from translation team.
3583
71220aca
AJ
3584 * po/sv.po: Update from translation team
3585 * po/fr.po: Another update from translation team.
3586
28cfe843
AZ
35872012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3588
3589 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
3590 for subnormals or multiply small sinh result by itself.
3591 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3592 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3593
6b90f981
DM
35942012-07-11 David S. Miller <davem@davemloft.net>
3595
3596 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3597
c6825772
AS
35982012-07-10 Andreas Schwab <schwab@linux-m68k.org>
3599
3600 [BZ #14347]
3601 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
3602 (INTERNAL_MARK): Shift it here.
3603
7b8e0d49
MP
36042012-07-10 Marek Polacek <polacek@redhat.com>
3605
3606 [BZ #14151]
3607 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
3608 libc_cv_asm_global_directive with .globl.
3609 * configure: Regenerated.
3610 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
3611 with .globl.
3612 * sysdeps/i386/configure: Regenerated.
3613 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
3614 with .globl.
3615 * sysdeps/x86_64/configure: Regenerated.
3616 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
3617 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
3618 * elf/tst-unique2mod2.c: Likewise.
3619 * elf/tst-unique2mod1.c: Likewise.
3620 * elf/tst-unique1mod2.c: Likewise.
3621 * elf/tst-unique1mod1.c: Likewise.
3622 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3623 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3624 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3625 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3626 * sysdeps/mach/sysdep.h: Likewise.
3627 * sysdeps/i386/sysdep.h: Likewise.
3628 * sysdeps/i386/i386-mcount.S: Likewise.
3629 * sysdeps/x86_64/_mcount.S: Likewise.
3630 * sysdeps/x86_64/sysdep.h: Likewise.
3631 * sysdeps/sh/_mcount.S: Likewise.
3632 * sysdeps/sh/sysdep.h: Likewise.
3633 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
3634 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
3635 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
3636 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3637 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
3638 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
3639 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
3640 * locale/localeinfo.h: Likewise.
3641 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
3642 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
3643
6c55cda3
RM
36442012-07-09 Roland McGrath <roland@hack.frob.com>
3645
3646 [BZ #14336]
3647 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
3648 system".
3649 * manual/message.texi (The Uniforum approach): Likewise.
3650 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
3651 (glibc iconv Implementation): Likewise.
3652
638a572e
JM
36532012-07-09 Joseph Myers <joseph@codesourcery.com>
3654
3655 [BZ #14337]
3656 * math/s_clog.c (__clog): Avoid scaling a value down where that
3657 could result in underflow.
3658 * math/s_clog10.c (__clog10): Likewise.
3659 * math/s_clog10f.c (__clog10f): Likewise.
3660 * math/s_clog10l.c (__clog10l): Likewise.
3661 * math/s_clogf.c (__clogf): Likewise.
3662 * math/s_clogl.c (__clogl): Likewise.
3663 * math/libm-test.inc (clog_test): Add more tests.
3664 (clog10_test): Likewise.
3665 * sysdeps/i386/fpu/libm-test-ulps: Update.
3666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3667
261f4859
AS
36682012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3669
0abaf3e4
AS
3670 [BZ #14283]
3671 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
3672 by 7 not 8 to examine high bit of fractional part.
3673
261f4859
AS
3674 [BZ #14042]
3675 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
3676 for call to __mcount_internal.
3677 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
3678 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
3679 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
3680
f17ac40d
JM
36812012-07-06 Joseph Myers <joseph@codesourcery.com>
3682
9ad63c23
JM
3683 [BZ #14154]
3684 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
3685 approximation for values within 0x1p-13f of an odd multiple of
3686 pi/4.
3687 * math/libm-test.inc (tan_test): Do not allow spurious underflow
3688 exception. Add more tests.
3689 * sysdeps/i386/fpu/libm-test-ulps: Update.
3690
f17ac40d
JM
3691 [BZ #6778]
3692 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
3693 inputs and return -1 for them. Do not check for +Inf in case not
3694 reachable for +Inf.
3695 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
3696 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
3697 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3698 and return -1 for them. Do not check for +Inf in case not
3699 reachable for +Inf.
3700 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
3701 define.
3702 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3703 and return -1 for them. Do not check for +Inf in case not
3704 reachable for +Inf.
3705 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
3706 spurious underflow.
3707 * sysdeps/i386/fpu/libm-test-ulps: Update.
3708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3709
fb21f89b
MF
37102012-07-06 Mike Frysinger <vapier@gentoo.org>
3711
3712 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
3713
cdfe2c5e
JM
37142012-07-05 Joseph Myers <joseph@codesourcery.com>
3715
3716 [BZ #14157]
3717 [BZ #14331]
3718 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
3719 could result in spurious underflow. Scale down values above
3720 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
3721 * math/s_csqrtf.c (__csqrtf): Likewise.
3722 * math/s_csqrtl.c (__csqrtl): Likewise.
3723 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
3724 spurious underflow.
3725 * sysdeps/i386/fpu/libm-test-ulps: Update.
3726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3727
70d35b67
AS
37282012-07-04 Andreas Schwab <schwab@linux-m68k.org>
3729
704bc459
AS
3730 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
3731 xopen-msg.sed.
3732 * catgets/xopen-msg.awk: New file.
3733 * catgets/xopen-msg.sed: Removed.
3734
70d35b67
AS
3735 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
3736 po2text.sed.
3737 * intl/po2test.awk: New file.
3738 * intl/po2test.sed: Removed.
3739
ca61cf32
JM
37402012-07-04 Joseph Myers <joseph@codesourcery.com>
3741
3742 [BZ #14328]
3743 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
3744 or multiply small sinh result by itself.
3745 * math/s_ctanf.c (__ctanf): Likewise.
3746 * math/s_ctanh.c (__ctanh): Likewise.
3747 * math/s_ctanhf.c (__ctanhf): Likewise.
3748 * math/s_ctanhl.c (__ctanhl): Likewise.
3749 * math/s_ctanl.c (__ctanl): Likewise.
3750 * math/libm-test.inc (ctan_test_tonearest): New function.
3751 (ctan_test_towardzero): Likewise.
3752 (ctan_test_downward): Likewise.
3753 (ctan_test_upward): Likewise.
3754 (ctanh_test_tonearest): Likewise.
3755 (ctanh_test_towardzero): Likewise.
3756 (ctanh_test_downward): Likewise.
3757 (ctanh_test_upward): Likewise.
3758 (main): Call these new functions.
3759 * sysdeps/i386/fpu/libm-test-ulps: Update.
3760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3761
ca48a46a
MF
37622012-07-03 Mike Frysinger <vapier@gentoo.org>
3763
3764 * .gitignore: Delete /ports entry.
3765
9d63d37d
AJ
37662012-07-03 Andreas Jaeger <aj@suse.de>
3767
3768 * po/bg.po: Update from translation team.
3769 * po/cs.po: Likewise.
3770 * po/de.po: Likewise.
3771 * po/hr.po: Likewise.
3772 * po/nl.pl: Likewise.
3773 * po/pl.po: Likewise.
3774 * po/vi.po: Likewise.
3775
370ca3d2
JM
37762012-07-03 Joseph Myers <joseph@codesourcery.com>
3777
95f5a9a8
JM
3778 * Makeconfig [!+link] (+link-before-libc): New variable.
3779 [!+link] (+link-after-libc): Likewise.
3780 [!+link] (+link-tests): Likewise.
3781 [!+link] (+link): Define in terms of $(+link-before-libc) and
3782 $(+link-after-libc).
3783 [!+link-static] (+link-static-before-libc): New variable.
3784 [!+link-static] (+link-static-after-libc): Likewise.
3785 [!+link-static] (+link-static-tests): Likewise.
3786 [!+link-static] (+link-static): Define in terms of
3787 $(+link-static-before-libc) and $(+link-static-after-libc).
3788 [build-shared] (link-libc-before-gnulib): New variable.
3789 [build-shared] (link-libc-tests): Likewise.
3790 [build-shared] (link-libc): Define in terms of
3791 $(link-libc-before-gnulib).
3792 [!build-shared] (link-libc-tests): New variable.
3793 (link-libc-static-tests): New variable.
3794 [!gnulib] (gnulib-arch): New variable.
3795 [!gnulib] (gnulib-tests): Likewise.
3796 [!gnulib] (static-gnulib-arch): Likewise.
3797 [!gnulib] (static-gnulib-tests): Likewise.
3798 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
3799 Define with "=" instead of ":=".
3800 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
3801 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
3802 * Rules (binaries-all-notests): New variable.
3803 (binaries-all-tests): Likewise.
3804 (binaries-static-notests): Likewise.
3805 (binaries-static-tests): Likewise.
3806 (binaries-all): Define using $(binaries-all-notests) and
3807 $(binaries-all-tests).
3808 (binaries-static): Define using $(binaries-static-notests) and
3809 $(binaries-static-tests).
3810 (binaries-shared-tests): New variable.
3811 (binaries-shared-notests): Likewise.
3812 (binaries-shared): Remove variable.
3813 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
3814 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
3815 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
3816 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
3817 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
3818 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
3819 * elf/Makefile (sln-modules): New variable.
3820 (extra-objs): Add $(sln-modules:=.o).
3821 (ldconfig-modules): Add static-stubs.
3822 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
3823 * elf/static-stubs.c: New file.
3824
7a845b2c
JM
3825 [BZ #14283]
3826 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
3827 by 7 not 8 to examine high bit of fractional part. Use volatile
3828 variables when splitting into final array of floats if
3829 __FLT_EVAL_METHOD__ != 0.
3830 * math/libm-test.inc (cos_test): Add another test.
3831 (sin_test): Likewise.
3832 * sysdeps/i386/fpu/libm-test-ulps: Update.
3833
e2283f38
JM
3834 [BZ #14273]
3835 * math/libm-test.inc (cosh_test): Add more tests.
3836
370ca3d2
JM
3837 * version.h (RELEASE): Set to "development".
3838 (VERSION): Set to "2.16.90".
3839
ee9247c3
CD
38402012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
3841
3842 * NEWS: Update copyright. Remove last-updated date.
3843 Mention math library bug fixes and timezone data changes.
3844 * README: Mention GNU/Hurd, x32, and HPPA support status.
3845
4648c381
TS
38462012-06-28 Thomas Schwinge <thomas@codesourcery.com>
3847
3848 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
3849
aac78a43
AJ
38502012-06-27 Andreas Jaeger <aj@suse.de>
3851
3852 * manual/contrib.texi (Contributors): Add Samuel Thibault.
3853
ed3dbfad
AJ
38542012-06-25 Andreas Jaeger <aj@suse.de>
3855
3856 * sysdeps/s390/fpu/libm-test-ulps: Update.
3857
4d0ee855
AS
38582012-06-23 Andreas Schwab <schwab@linux-m68k.org>
3859 Thomas Schwinge <thomas@codesourcery.com>
3860
3861 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
3862 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
3863 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
3864 fanotify_mark.
3865
af1bce34
TS
38662012-06-23 Thomas Schwinge <thomas@codesourcery.com>
3867
a9fa33ba
TS
3868 * sysdeps/mach/start.c: Remove file.
3869 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
3870 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
3871 * sysdeps/sh/init-first.c: Likewise.
3872
58f902b8
TS
3873 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
3874 registers for frame unwinding purposes, add CFI directives.
3875 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3876 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
3877 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
3878 Likewise.
3879
1518f58b
TS
3880 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
3881 __fortify_fail returning.
3882 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3883
db9b5059
TS
3884 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
3885 sysdeps/sh/____longjmp_chk.S.
3886 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
3887 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
3888 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
3889 (gen-as-const-headers): Append sigaltstack-offsets.sym.
3890
967705fe
TS
3891 * sysdeps/sh/abort-instr.h: New file.
3892 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
3893 process in case exit returns.
3894
a9def8c4
TS
3895 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
3896 initialize the GOT register before use.
3897
2a649725
TS
3898 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
3899 calculation of ARGC > 4.
3900
af1bce34
TS
3901 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
3902 meaningful names to some local labels.
3903
d230f50a
KK
39042012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3905 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3906
3907 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
3908 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
3909 (__arch_compare_and_exchange_val_16_acq): Likewise.
3910 (__arch_compare_and_exchange_val_32_acq): Likewise.
3911 (atomic_exchange_and_add): Fix gUSA sequence.
3912 (atomic_add): Likewise.
3913 (atomic_add_negative): Likewise.
3914 (atomic_add_zero): Likewise.
3915 (atomic_bit_test_set): Likewise.
3916
0479b305
AS
39172012-06-22 Andreas Schwab <schwab@redhat.com>
3918
3919 [BZ #13579]
3920 * include/link.h (struct link_map): Add l_free_initfini.
3921 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
3922 l_initfini.
3923 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
3924 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
3925 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
3926 set.
3927
0e3933b9
CD
39282012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
3929
3930 * configure.in: Use AC_LANG_SOURCE.
3931 * configure: Regenerate.
3932
4248b1b1
RM
39332012-06-22 Roland McGrath <roland@hack.frob.com>
3934
3935 * configure.in (libc_cv_localstatedir): New substituted variable.
3936 * configure: Regenerated.
3937 * config.make.in (localstatedir): New variable, substituted from
3938 libc_cv_localstatedir.
3939 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
3940 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
3941 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
3942 * sysdeps/gnu/configure: Regenerated.
3943
006dd861
JL
39442012-06-21 Jeff Law <law@redhat.com>
3945
3946 [BZ #14277]
3947 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
3948 free. Simplify list management for _LIBC case.
3949
79662d42
JM
39502012-06-21 Joseph Myers <joseph@codesourcery.com>
3951
b7abb4bf
JM
3952 [BZ #14273]
3953 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3954 Clear sign bit of 64-bit integer value before comparing against
3955 overflow value.
3956
79662d42
JM
3957 * sysdeps/mach/configure: Regenerated.
3958
1f150908
L
39592012-06-21 H.J. Lu <hongjiu.lu@intel.com>
3960
3961 [BZ #14278]
3962 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
3963
28363bbf
JL
39642012-06-21 Jeff Law <law@redhat.com>
3965
3966 [BZ #13882]
3967 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
3968 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 3969 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
3970 * elf/dl-open.c (dl_open_worker): Likewise.
3971
09615db4
CD
39722012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
3973
3974 * scripts/list-sources.sh: Scan PORTS for translations.
3975 * po/libc.pot: Regenerated.
3976
2174c6dd
AJ
39772012-06-21 Andreas Jaeger <aj@suse.de>
3978
3979 [BZ #12194]
3980 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
3981 warning.
3982 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
3983 * bits/byteswap-16.h (__bswap_16): Likewise.
3984 * bits/byteswap.h (__bswap_constant_16): Likewise.
3985
3ee947b1
L
39862012-06-18 H.J. Lu <hongjiu.lu@intel.com>
3987
3988 [BZ #14117]
a2f34833
L
3989 * sysdeps/i386/fpu_control.h: Removed.
3990 * sysdeps/x86_64/fpu_control.h: Moved to ...
3991 * sysdeps/x86/fpu_control.h: Here.
3992
3ee947b1
L
3993 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
3994 (_FPU_SETCW): Likewise.
3995
ed1825f8
L
39962012-06-15 H.J. Lu <hongjiu.lu@intel.com>
3997
25f1282a
L
3998 [BZ #14117]
3999 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
4000 * sysdeps/x86/fpu/bits/mathinline.h: This.
4001 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
4002
ed1825f8
L
4003 [BZ #14050]
4004 [BZ #14117]
4005 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
4006 functions if __x86_64__ is defined.
4007
36d54b74
CLT
40082012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
4009
4010 * string/endian.h: Add !__ASSEMBLER__ condition for including
4011 conversion interfaces.
4012
10285c21
JM
40132012-06-15 Joseph Myers <joseph@codesourcery.com>
4014
4015 [BZ #14241]
4016 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
4017 of ABS(x) in calculating zero to negative powers other than odd
4018 integers.
4019 * math/libm-test.inc (pow_test): Add more tests.
4020
06c5abbd
AJ
40212012-06-15 Andreas Jaeger <aj@suse.de>
4022
4023 * manual/contrib.texi (Contributors): Update entry of Liubov
4024 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
4025 Machado Filho.
4026
a3aeac40
CH
40272012-06-15 Cyril Hrubis <metan@ucw.cz>
4028
4029 * string/string.h: Add __wur to GNU version of strerror_r.
4030
49bdf4c1
L
40312012-06-14 H.J. Lu <hongjiu.lu@intel.com>
4032
4033 [BZ #14229]
4034 * string/Makefile (tests): Add tst-strtok_r.
4035 * string/tst-strtok_r.c: New file.
4036 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
4037 RAX_LP/RDX_LP on SAVE_PTR.
4038
834f9b8d
RM
40392012-06-14 Roland McGrath <roland@hack.frob.com>
4040
4041 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
4042
75fa1921
JM
40432012-06-14 Joseph Myers <joseph@codesourcery.com>
4044
4045 * libm_test.inc (csqrt_test): Allow more spurious underflow
4046 exceptions.
4047 (j0_test): Likewise.
4048 (j1_test): Likewise.
4049 (y0_test): Likewise.
4050 (y1_test): Likewise.
4051
771766df
CD
40522012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
4053
4054 * po/Makefile (libc.pot): Use UTF-8 charset.
4055
ceb9e56b
PP
40562012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4057
4058 [BZ #14210]
4059 Suppress sign-conversion warning from FD_SET.
4060 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
4061 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
4062 not unsigned long int.
4063 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
4064
ddb28975
L
40652012-06-12 H.J. Lu <hongjiu.lu@intel.com>
4066
4067 [BZ #14050]
4068 [BZ #14117]
4069 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
4070 __extern_always_inline instead of __extern_inline.
4071 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
4072 (__signbit): Likewise.
4073 (__signbitl): Support C++ namespace.
4074 (lrintf): New inline function.
4075 (lrint): Likewise.
4076 (llrintf): Likewise.
4077 (llrint): Likewise.
4078 (fmaxf): Likewise.
4079 (fmax): Likewise.
4080 (fminf): Likewise.
4081 (fmin): Likewise.
4082 (rint): Likewise.
4083 (rintf): Likewise.
4084 (ceil): Likewise.
4085 (ceilf): Likewise.
4086 (floor): Likewise.
4087 (floorf): Likewise.
4088 (nearbyint): Likewise.
4089 (nearbyintf): Likewise.
4090
d7b4fb26
TS
40912012-06-12 Thomas Schwinge <thomas@codesourcery.com>
4092
4093 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
4094 non-default versions.
4095
eb55f5c2
RM
40962012-06-11 Roland McGrath <roland@hack.frob.com>
4097
4098 [BZ #14218]
4099 * manual/argp.texi (Argp): Reword argp_parse description slightly.
4100
366af02c
TS
41012012-06-09 Thomas Schwinge <thomas@codesourcery.com>
4102
99ff6e5c
TS
4103 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
4104 (FE_UPWARD, FE_DOWNWARD): Don't define.
4105 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
4106 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4107
366af02c
TS
4108 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
4109 reading it.
4110 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4111 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4112
793ea851
KK
41132012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4114
4115 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4116 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
4117 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
4118 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
4119
a728a38f
L
41202012-06-06 H.J. Lu <hongjiu.lu@intel.com>
4121
4122 [BZ #14117]
c08010c7
L
4123 * sysdeps/i386/fpu/bits/fenv.h: Removed.
4124 * sysdeps/i386/fpu/Implies: New file.
4125 * sysdeps/x86_64/fpu/Implies: Likewise.
4126 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
4127 * sysdeps/x86/fpu/bits/fenv.h: This.
4128
a728a38f
L
4129 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
4130 __SSE_MATH__.
4131
6e230d11
SP
41322012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4133
4134 [BZ #14134]
4135 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
4136 character 0xffff that matches the last element of the
4137 conversion table.
4138
1b671feb
AZ
41392012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4140
4141 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
4142 fmodl commit.
4143
6043738b
AZ
41442012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4145
4146 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
4147 values higher than 25.6283.
4148
34ae0b32
AZ
41492012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4150
4151 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
4152 subnormal exponent extraction and add some __builtin_expect.
4153 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
4154 Fix for subnormal mantissa calculation.
4155
1214ec8f
MF
41562012-06-04 Mike Frysinger <vapier@gentoo.org>
4157
4158 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
4159 cpu2 is -1 and errno is not ENOSYS.
4160
f3d1f93c
L
41612012-06-04 H.J. Lu <hongjiu.lu@intel.com>
4162
4163 [BZ #14117]
0e4a3cd7
L
4164 * sysdeps/i386/i486/bits/string.h: Renamed to ...
4165 * sysdeps/x86/bits/string.h: This.
4166 * sysdeps/x86_64/bits/string.h: Removed.
4167
6704c645
L
4168 * sysdeps/i386/i486/bits/string.h: Define inline functions only
4169 if not compiling for x86-64, but compiling for >= i486.
4170
48495318
L
4171 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
4172 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
4173
14adcbfc
L
4174 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
4175 New macro from Linux kernel 3.4.0.
4176 (FP_XSTATE_MAGIC2): Likewise.
4177 (FP_XSTATE_MAGIC2_SIZE): Likewise.
4178 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
4179 (struct _fpx_sw_bytes): New struct.
4180 (struct _xsave_hdr): Likewise.
4181 (struct _ymmh_state): Likewise.
4182 (struct _xstate): Likewise.
4183
68e408ab
L
4184 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
4185 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
4186 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
4187 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
4188 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
4189 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
4190
f3d1f93c
L
4191 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
4192 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
4193 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
4194 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
4195 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
4196 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
4197
d9dc34cd
TMQMF
41982012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4199
4200 [BZ #13743]
4201 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
4202 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
4203 (sysdep_headers): Include sys/platform/ppc.h.
4204 * sysdeps/powerpc/test-gettimebase.c: Test for
4205 __ppc_get_timebase() to catch future ISA opcode/insn changes.
4206 * manual/Makefile (appendices): Include platform.texi.
4207 * manual/contrib.texi (Contributors): Update @node pointers.
4208 * manual/maint.texi (Maintenance): Likewise.
4209 (Platform): New node.
4210 * manual/platform.texi: New file. Document the new features.
4211
4af3879c
SP
42122012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4213 Jakub Jelinek <jakub@redhat.com>
4214
4215 [BZ #14188]
4216 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
4217 where __builtin_expect is unavailable.
4218
2fd6ff13
DM
42192012-06-03 David S. Miller <davem@davemloft.net>
4220
4221 * stdlib/longlong.h: Updated from GCC.
4222
173f7220
AS
42232012-06-02 Andreas Schwab <schwab@linux-m68k.org>
4224
4225 [BZ #14042]
4226 * sysdeps/powerpc/powerpc32/mcount.c: New file.
4227 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
4228 __mcount_internal.
4229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4230 (GLIBC_2.16): Likewise.
4231
f34a1c6f
L
42322012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4233
4234 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
4235
88a4576f
JM
42362012-06-01 Joseph Myers <joseph@codesourcery.com>
4237
ea32bcdd
JM
4238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4239 (default-abi): New variable.
4240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
4241 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
4242 variable.
4243 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
4244 Likewise.
4245 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
4246 Likewise.
4247 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
4248 Likewise.
4249
88a4576f
JM
4250 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
4251 definition. Document in comment.
4252
402fe938
DM
42532012-06-01 David S. Miller <davem@davemloft.net>
4254
4255 * stdlib/longlong.h: Updated from GCC.
4256
3553723f
L
42572012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4258
4259 [BZ #14117]
3bd872c4
L
4260 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
4261 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
4262 sys/debugreg.h sys/io.h here.
4263 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
4264 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
4265 sys/io.h.
4266 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
4267 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
4268 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
4269 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
4270 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
4271 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
4272
3553723f
L
4273 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
4274 Define only if __x86_64__ is defined.
4275
4842e4fe
JM
42762012-06-01 Joseph Myers <joseph@codesourcery.com>
4277
c5bfe3d5
JM
4278 [BZ #14048]
4279 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
4280 Use int64_t for variable i.
4281 * math/libm-test.inc (fmod_test): Add more tests.
4282
4842e4fe
JM
4283 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
4284 z computation is not scheduled after fetestexcept.
4285 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
4286 Use math_force_eval instead of asm to ensure calculation scheduled
4287 before exception test.
4288 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
4289 Ensure a1 + u.d computation is not scheduled after fetestexcept.
4290
efb73488
AJ
42912012-06-01 Aurelien Jarno <aurelien@aurel32.net>
4292
4293 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
4294 computation is not scheduled after fetestexcept.
4295
29bcce7c
L
42962012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4297
4298 [BZ #14117]
4299 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
4300 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
4301
73a68f94
AZ
43022012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4303
4304 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
4305 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4306
67b6df78
L
43072012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4308
edf2933a 4309 [BZ #14117]
ebc64a18
L
4310 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
4311 <bits/wordsize.h>.
4312 (__WCHAR_MIN): Support __WORDSIZE == 64.
4313 (__WCHAR_MAX): Likewise.
4314
edf2933a
L
4315 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
4316 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
4317
57c6cf40
L
4318 [BZ #14183]
4319 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
4320 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
4321
67b6df78 4322 [BZ #14117]
8eb6281e
L
4323 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
4324 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
4325
aac639f4
L
4326 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
4327 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
4328
67b6df78
L
4329 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
4330 Defined to 1 if __x86_64__ isn't defined.
4331 (_STAT_VER_LINUX_OLD): New.
4332 (st_atime): Remove duplicate.
4333 (st_mtime): Likewise.
4334 (st_ctime): Likewise.
4335
1c2cfe81
DM
43362012-05-31 David S. Miller <davem@davemloft.net>
4337
4338 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
4339 entries.
4340
5be8418c
AS
43412012-06-01 Andreas Schwab <schwab@linux-m68k.org>
4342
e7725326
AS
4343 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
4344 gen-libm-test.pl.
4345
5be8418c
AS
4346 [BZ #14132]
4347 * elf/dl-reloc.c: Include <_itoa.h>.
4348 (_dl_reloc_bad_type): Remove use of INTUSE.
4349 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
4350 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
4351 * stdio-common/psiginfo.c (psiginfo): Likewise.
4352 * stdio-common/psignal.c (psignal): Likewise.
4353 * string/strsignal.c (strsignal): Likewise.
4354 * include/signal.h (_sys_siglist): Declare hidden proto.
4355 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
4356 INTVARDEF with libc_hidden_data_def.
4357 * stdio-common/itoa-udigits.c: Likewise.
4358 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
4359 (_itoa_lower_digits_internal): Remove declaration.
4360 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
4361 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
4362 (_sys_sigabbrev_internal): Remove aliases.
4363 (_sys_siglist): Define hidden alias.
4364
507352f1
MT
43652012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
4366
4367 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4368 bits/sysctl.h.
4369
42bbb1c3
L
43702012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4371
4372 [BZ #14117]
6bd784b6
L
4373 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
4374 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
4375
8bca20f0
L
4376 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
4377 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
4378 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
4379 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
4380 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
4381 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
4382
f9e890a9
L
4383 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
4384 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
4385 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
4386
471101a1
L
4387 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
4388 with __addr.
4389 (insw): Likewise.
4390 (insl): Likewise.
4391 (outsb): Likewise.
4392 (outsw): Likewise.
4393 (outsl): Likewise.
4394
6451c862
L
4395 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
4396 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
4397 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
4398
a254b8c9
L
4399 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
4400 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
4401 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
4402 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
4403 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
4404 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
4405
b8dfdd92
L
4406 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
4407 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
4408
578cd270
L
4409 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
4410 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
4411
de662f5f
L
4412 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
4413 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
4414 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
4415
25653439
L
4416 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
4417 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
4418 to ...
4419 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
4420
6bad24a0
L
4421 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
4422 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
4423 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
4424
42bbb1c3
L
4425 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
4426 for x86-64.
4427 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4428
2d10d547
JM
44292012-05-31 Joseph Myers <joseph@codesourcery.com>
4430
4431 * math/math.h (M_El): Use two more decimal places.
4432 (M_LOG2El): Likewise.
4433 (M_LOG10El): Likewise.
4434 (M_LN2l): Likewise.
4435 (M_LN10l): Likewise.
4436 (M_PIl): Likewise.
4437 (M_PI_2l): Likewise.
4438 (M_PI_4l): Likewise.
4439 (M_1_PIl): Likewise.
4440 (M_2_PIl): Likewise.
4441 (M_2_SQRTPIl): Likewise.
4442 (M_SQRT2l): Likewise.
4443 (M_SQRT1_2l): Likewise.
4444
f230c29b
DM
44452012-05-31 David S. Miller <davem@davemloft.net>
4446
4447 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
4448 values between float registers.
4449 * sysdeps/sparc/sparc64/memset.S: Likewise.
4450 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4451
fed806c3
MF
44522012-05-31 Mike Frysinger <vapier@gentoo.org>
4453
4454 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
4455 -D_FORTIFY_SOURCE=1.
4456 (CPPFLAGS-tst-longjmp_chk.c): Define.
4457 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
4458 (CPPFLAGS-tst-longjmp_chk2.c): Define.
4459 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
4460 CFLAGS-tst-wchar-h.c.
4461
30917259
MP
44622012-05-31 Marek Polacek <polacek@redhat.com>
4463
4464 [BZ #14132]
4465 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
4466 __endmntent_internal): Remove declaration.
4467 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
4468 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
4469 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
4470
1c58d5dc
DM
44712012-05-30 David S. Miller <davem@davemloft.net>
4472
4473 * sysdeps/sparc/sparc32/soft-fp/q_util.c
4474 (___Q_simulate_exceptions): Use real FP ops rather than writing
4475 into the %fsr.
4476 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
4477 Likewise.
4478
7dc00e0d
L
44792012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4480
4481 [BZ #14117]
0bd53985
L
4482 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
4483 * sysdeps/x86/bits/xtitypes.h: This.
4484
3a257e66
L
4485 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
4486 * sysdeps/x86/bits/wordsize.h: This.
4487
62f62904
L
4488 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
4489 * sysdeps/x86/bits/huge_vall.h: This.
4490
404fe9d9
L
4491 * sysdeps/i386/bits/select.h: Removed.
4492 * sysdeps/x86_64/bits/select.h: Renamed to ...
4493 * sysdeps/x86/bits/select.h: This.
4494
d48d0446
L
4495 * sysdeps/i386/bits/setjmp.h: Removed.
4496 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
4497 * sysdeps/x86/bits/setjmp.h: This.
4498
7dc00e0d
L
4499 * sysdeps/i386/bits/mathdef.h: Removed.
4500 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
4501 * sysdeps/x86/bits/mathdef.h: This.
4502
03277f8f
AS
45032012-05-30 Andreas Schwab <schwab@linux-m68k.org>
4504
4505 [BZ #14132]
4506 * include/sys/socket.h (__connect_internal)
4507 (__libc_sa_len_internal): Remove declaration.
4508 (__connect, __libc_sa_len): Declare hidden_proto.
4509 (SA_LEN): Remove use of INTUSE.
4510 * socket/connect.c: Add libc_hidden_def.
4511 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
4512 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
4513 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
4514 alias.
4515 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4516 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4517 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
4518 of adding _internal alias.
4519
13764867
L
45202012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4521
4522 [BZ #14117]
6bd97696
L
4523 * sysdeps/i386/bits/link.h: Removed.
4524 * sysdeps/i386/bits/linkmap.h: Likewise.
4525 * sysdeps/x86_64/bits/link.h: Renamed to ...
4526 * sysdeps/x86/bits/link.h: This.
4527 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
4528 * sysdeps/x86/bits/linkmap.h: This.
4529
f726f0bb
L
4530 * sysdeps/i386/bits/endian.h: Removed.
4531 * sysdeps/x86_64/bits/endian.h: Renamed to ...
4532 * sysdeps/x86/bits/endian.h: This.
4533
13764867
L
4534 * sysdeps/i386/bits/byteswap.h: Removed.
4535 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4536 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
4537 * sysdeps/x86/bits/byteswap.h: This.
4538 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
4539 * sysdeps/x86/bits/byteswap-16.h: This.
4540 * sysdeps/i386/Implies: Add x86.
4541 * sysdeps/x86_64/Implies: Likewise.
4542
ae251b0b
DM
45432012-05-30 David S. Miller <davem@davemloft.net>
4544
4545 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
4546 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
4547 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4548 (FP_TRAPPING_EXCEPTIONS): Define.
4549 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4550 (FP_TRAPPING_EXCEPTIONS): Define.
4551 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
4552 subnormals only when inexact has been signalled or underflow
4553 exceptions are enabled.
4554 (_FP_PACK_CANONICAL): Likewise.
4555
d5c90867
L
45562012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4557
4558 [BZ #14183]
4559 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
4560 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
4561
63f1549e
RH
45622012-05-30 Richard Henderson <rth@twiddle.net>
4563
8d8f2279
RH
4564 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
4565 with #ifndef NOT_IN_libc.
4566
63f1549e
RH
4567 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
4568 marked to avoid plt entry.
4569
0ab0291b
L
45702012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4571
4572 [BZ #14112]
4573 * Makeconfig (default-abi): New macro.
4574 (abi-includes): Likewise.
4575 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
4576 $(abi-$(default-abi)-lib-soname) for soname if defined.
4577 ($(common-objpfx)gnu/lib-names.stmp): Generate from
4578 abi-variants.
4579 * Makefile (installed-stubs): Likewise.
4580 * include/stubs-biarch.h: Removed.
4581 * scripts/lib-names.awk: Only handle one library at a time.
4582 * scripts/soversions.awk: Remove WORDSIZE support.
4583 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
4584 entries.
4585 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
4586 Removed.
4587 (syscall-list-default-condition): Likewise.
4588 (syscall-list-default-condition): Likewise.
4589 (syscall-list-includes): Likewise.
4590 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
4591 syscall-list-* with abi-*. Handle undefined abi-variants.
4592 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
4593 * sysdeps/unix/sysv/linux/i386/Implies: New file.
4594 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
4595 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
4596 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
4597 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
4598 Removed.
4599 (syscall-list-32-options): Likewise.
4600 (syscall-list-32-condition): Likewise.
4601 (syscall-list-64-options): Likewise.
4602 (syscall-list-64-condition): Likewise.
4603 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
4604 macro.
4605 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
4606 Renamed to ...
4607 (abi-*): This.
4608 (abi-64-ld-soname): New macro.
4609 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
4610 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
4611 Renamed to ...
4612 (abi-*): This.
4613 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
4614 * sysdeps/x86_64/x32/shlib-versions: Likewise.
4615
4da0431d
JM
46162012-05-30 Joseph Myers <joseph@codesourcery.com>
4617
3a85279c
JM
4618 * sysdeps/unix/sysv/linux/kernel-features.h
4619 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
4620 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
4621 include <kernel-features.h>.
4622 [!__NR_ftruncate64]: Remove conditional code.
4623 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4624 [__NR_ftruncate64]: Make code unconditional.
4625 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4626 * sysdeps/unix/sysv/linux/truncate64.c: Do not
4627 include <kernel-features.h>.
4628 [!__NR_ftruncate64]: Remove conditional code.
4629 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4630 [__NR_ftruncate64]: Make code unconditional.
4631 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
4633 include <kernel-features.h>.
4634 [!__NR_ftruncate64]: Remove conditional code.
4635 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4636 [__NR_ftruncate64]: Make code unconditional.
4637 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4639 include <kernel-features.h>.
4640 [!__NR_ftruncate64]: Remove conditional code.
4641 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4642 [__NR_ftruncate64]: Make code unconditional.
4643 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4644
4da0431d
JM
4645 * configure.in (libc_cv_fpie): Weaken to a compile test using
4646 LIBC_TRY_CC_OPTION.
4647 * configure: Regenerated.
4648
11ef492c
AK
46492012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4650
4651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
4652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
4653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
4654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4655 Refreshed.
4656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
4657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
4658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
4659 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
4660 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
4661 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4662 Refreshed.
4663
d66ef399
DM
46642012-05-27 David S. Miller <davem@davemloft.net>
4665
4666 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
4667 (___Q_zero): New.
4668 (__Q_simulate_exceptions): Return void. Change to simulate
4669 exceptions by writing into the %fsr.
4670 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
4671 (__Qp_handle_exceptions): Likewise.
4672 (numbers): Delete.
4673 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
4674 __Qp_handle_exceptions.
4675 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
4676 __Qp_handle_exceptions.
4677 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4678 as unused and give dummy FP_RND_NEAREST initializer.
4679 (FP_INHIBIT_RESULTS): Define.
4680 (___Q_simulate_exceptions): Update declaration.
4681 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
4682 formatting.
4683 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4684 as unused and give dummy FP_RND_NEAREST initializer.
4685 (__Qp_handle_exceptions): Update declaration.
4686 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
4687 formatting.
4688
04fb54b5
TS
46892012-05-27 Thomas Schwinge <thomas@codesourcery.com>
4690
4691 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
4692 the temporary FPU control word.
4693 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4694 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
4695 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4696 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4697 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4698 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4699 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4700 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4701 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4702 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
4703 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4704
3f99608f
KK
47052012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4706
4707 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
4708 fields.
4709
65a4de4e
CLT
47102012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
4711
4712 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
4713 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
4714 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
4715 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
4716 Likewise.
4717 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
4718 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
4719 Likewise.
4720
15749d40
UD
47212012-05-27 Ulrich Drepper <drepper@gmail.com>
4722
4723 * po/h.po: Update from translation team.
4724
25dbcb27
AS
47252012-05-26 Andreas Schwab <schwab@linux-m68k.org>
4726
3d3f8e55
AS
4727 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
4728
25dbcb27
AS
4729 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
4730 handling of denormals.
4731 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4732 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4733 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4734 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4735 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4736 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
4737 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
4738 Likewise.
4739
7ad47a80 47402012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
4741
4742 [BZ #14152]
4743 * math/libm-test.inc (fma_test): Don't always expect underflow
4744 exception.
4745
9c6ea9fa
SP
47462012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4747
4748 [BZ #12416]
4749 * elf/tst-execstack.c: Include stackinfo.h.
4750 (do_test): Adjust test case to ensure that pthread_getattr_np
4751 behaviour remains the same after marking stack executable.
4752
a8239222
JM
47532012-05-25 Joseph Myers <joseph@codesourcery.com>
4754
4755 * sysdeps/unix/sysv/linux/kernel-features.h
4756 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
4757 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
4758 kernel-features.h.
4759 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4760 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4761 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
4762 kernel-features.h.
4763 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4764 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4765
918b5606
L
47662012-05-25 H.J. Lu <hongjiu.lu@intel.com>
4767
4768 * configure.in: Define the default includes to being none.
4769 * configure: Regenerated.
4770
3a097cc7
RM
47712012-05-25 Roland McGrath <roland@hack.frob.com>
4772
8422c9a5
RM
4773 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
4774 * sysdeps/x86_64/setjmp.S: Likewise.
4775 * sysdeps/i386/bsd-setjmp.S: Likewise.
4776 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4777 * sysdeps/i386/setjmp.S: Likewise.
4778 * sysdeps/i386/__longjmp.S: Likewise.
4779 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4780 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
4781
3a097cc7
RM
4782 * include/stap-probe.h: New file.
4783 * configure.in: Handle --enable-systemtap.
4784 * configure: Regenerated.
4785 * config.h.in (USE_STAP_PROBE): New #undef.
4786 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
4787 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
4788 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4789
21708942
JM
47902012-05-25 Joseph Myers <joseph@codesourcery.com>
4791
4792 [BZ #13717]
4793 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4794 to 2.4.0 where earlier.
4795 * sysdeps/unix/sysv/linux/configure: Regenerated.
4796 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4797 <kernel-features.h>.
4798 [__ASSUME_32BITUIDS]: Make code unconditional.
4799 [!__ASSUME_32BITUIDS]: Remove conditional code.
4800 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
4801 <kernel-features.h>.
4802 [__ASSUME_32BITUIDS]: Make code unconditional.
4803 [!__ASSUME_32BITUIDS]: Remove conditional code.
4804 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
4805 [__ASSUME_32BITUIDS]: Make code unconditional.
4806 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
4807 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
4808 <kernel-features.h>.
4809 [__ASSUME_32BITUIDS]: Make code unconditional.
4810 [!__ASSUME_32BITUIDS]: Remove conditional code.
4811 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
4812 <kernel-features.h>.
4813 [__ASSUME_32BITUIDS]: Make code unconditional.
4814 [!__ASSUME_32BITUIDS]: Remove conditional code.
4815 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
4816 <kernel-features.h>.
4817 [__ASSUME_32BITUIDS]: Make code unconditional.
4818 [!__ASSUME_32BITUIDS]: Remove conditional code.
4819 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
4820 <kernel-features.h>.
4821 [__ASSUME_32BITUIDS]: Make code unconditional.
4822 [!__ASSUME_32BITUIDS]: Remove conditional code.
4823 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4824 <kernel-features.h>.
4825 [__ASSUME_32BITUIDS]: Make code unconditional.
4826 [!__ASSUME_32BITUIDS]: Remove conditional code.
4827 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4828 <kernel-features.h>.
4829 [__ASSUME_32BITUIDS]: Make code unconditional.
4830 [!__ASSUME_32BITUIDS]: Remove conditional code.
4831 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
4832 <kernel-features.h>.
4833 [__ASSUME_32BITUIDS]: Make code unconditional.
4834 [!__ASSUME_32BITUIDS]: Remove conditional code.
4835 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4836 <kernel-features.h>.
4837 [__ASSUME_32BITUIDS]: Make code unconditional.
4838 [!__ASSUME_32BITUIDS]: Remove conditional code.
4839 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4840 <kernel-features.h>.
4841 [__ASSUME_32BITUIDS]: Make code unconditional.
4842 [!__ASSUME_32BITUIDS]: Remove conditional code.
4843 * sysdeps/unix/sysv/linux/i386/semctl.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/setegid.c: Do not include
4848 <kernel-features.h>.
4849 [__NR_setresgid] (__setresgid): Do not declare.
4850 [__ASSUME_32BITUIDS]: Make code unconditional.
4851 [!__ASSUME_32BITUIDS]: Remove conditional code.
4852 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
4853 <kernel-features.h>.
4854 [__NR_setresuid] (__setresuid): Do not declare.
4855 [__ASSUME_32BITUIDS]: Make code unconditional.
4856 [!__ASSUME_32BITUIDS]: Remove conditional code.
4857 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
4858 <kernel-features.h>.
4859 [__ASSUME_32BITUIDS]: Make code unconditional.
4860 [!__ASSUME_32BITUIDS]: Remove conditional code.
4861 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
4862 <kernel-features.h>.
4863 [__ASSUME_32BITUIDS]: Make code unconditional.
4864 [!__ASSUME_32BITUIDS]: Remove conditional code.
4865 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
4866 <kernel-features.h>.
4867 [__ASSUME_32BITUIDS]: Make code unconditional.
4868 [!__ASSUME_32BITUIDS]: Remove conditional code.
4869 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
4870 <kernel-features.h>.
4871 [__ASSUME_32BITUIDS]: Make code unconditional.
4872 [!__ASSUME_32BITUIDS]: Remove conditional code.
4873 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
4874 <kernel-features.h>.
4875 [__ASSUME_32BITUIDS]: Make code unconditional.
4876 [!__ASSUME_32BITUIDS]: Remove conditional code.
4877 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
4878 <kernel-features.h>.
4879 [__ASSUME_32BITUIDS]: Make code unconditional.
4880 [!__ASSUME_32BITUIDS]: Remove conditional code.
4881 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
4882 <kernel-features.h>.
4883 [__ASSUME_32BITUIDS]: Make code unconditional.
4884 [!__ASSUME_32BITUIDS]: Remove conditional code.
4885 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
4886 <kernel-features.h>.
4887 [__ASSUME_32BITUIDS]: Make code unconditional.
4888 [!__ASSUME_32BITUIDS]: Remove conditional code.
4889 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
4890 <kernel-features.h>.
4891 [__ASSUME_32BITUIDS]: Make code unconditional.
4892 [!__ASSUME_32BITUIDS]: Remove conditional code.
4893 * sysdeps/unix/sysv/linux/i386/shmctl.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/kernel-features.h
4898 (__ASSUME_SETRESUID_SYSCALL): Remove.
4899 (__ASSUME_SETRESGID_SYSCALL): Likewise.
4900 (__ASSUME_32BITUIDS): Likewise.
4901 (__ASSUME_LDT_WORKS): Likewise.
4902 (__ASSUME_O_DIRECTORY): Likewise.
4903 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
4904 architecture but not kernel version.
4905 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4906 (__ASSUME_MMAP2_SYSCALL): Likewise.
4907 (__ASSUME_STAT64_SYSCALL): Likewise.
4908 (__ASSUME_IPC64): Likewise.
4909 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
4910 <kernel-features.h>.
4911 [__ASSUME_32BITUIDS]: Make code unconditional.
4912 [!__ASSUME_32BITUIDS]: Remove conditional code.
4913 * sysdeps/unix/sysv/linux/opendir.c: Do not include
4914 <kernel-features.h>.
4915 [__ASSUME_O_DIRECTORY]: Make code unconditional.
4916 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
4917 132096]: Remove conditional code.
4918 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
4919 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4920 <kernel-features.h>.
4921 [__ASSUME_32BITUIDS]: Make code unconditional.
4922 [!__ASSUME_32BITUIDS]: Remove conditional code.
4923 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4924 <kernel-features.h>.
4925 [__ASSUME_32BITUIDS]: Make code unconditional.
4926 [!__ASSUME_32BITUIDS]: Remove conditional code.
4927 * sysdeps/unix/sysv/linux/setegid.c: Do not include
4928 <kernel-features.h>.
4929 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
4930 unconditional.
4931 (__setresgid): Do not declare.
4932 [__ASSUME_32BITUIDS]: Make code unconditional.
4933 [!__ASSUME_32BITUIDS]: Remove conditional code.
4934 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
4935 <kernel-features.h>.
4936 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
4937 unconditional.
4938 (__setresuid): Do not declare.
4939 [__ASSUME_32BITUIDS]: Make code unconditional.
4940 [!__ASSUME_32BITUIDS]: Remove conditional code.
4941 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4942 <kernel-features.h>.
4943 [__ASSUME_32BITUIDS]: Make code unconditional.
4944 [!__ASSUME_32BITUIDS]: Remove conditional code.
4945 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
4946 <kernel-features.h>.
4947 [__ASSUME_32BITUIDS]: Make code unconditional.
4948 [!__ASSUME_32BITUIDS]: Remove conditional code.
4949
a386f1cc
RH
49502012-05-25 Richard Henderson <rth@twiddle.net>
4951
4952 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
4953 dl_hwcap to ifunc resolver.
4954 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
4955 elf_ifunc_invoke.
4956 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
4957 dl_hwcap to ifunc resolver.
4958 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
4959
b6550497
JM
49602012-05-24 Joseph Myers <joseph@codesourcery.com>
4961
4962 [BZ #14153]
4963 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
4964 for |x| <= 2**-26, not 2**-57.
4965 * math/libm-test.inc (acos_test): Do not allow spurious underflow
4966 exception.
4967
b0bc23a1
JL
49682012-05-24 Jeff Law <law@redhat.com>
4969
4970 * stdio-common/Makefile (tests): Add bug25.
4971 * stdio-common/bug25.c: New test.
4972
347c92e9
L
49732012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4974
4975 [BZ #13576]
4976 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
4977 multiple of MALLOC_ALIGNMENT in size.
4978 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
4979
6bcc8b3f
JM
49802012-05-24 Joseph Myers <joseph@codesourcery.com>
4981
4982 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
4983 Require >= 256.
4984 (FILENAME_MAX): Use macro-int-constant.
4985 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
4986 (_IOFBF): Use macro-int-constant.
4987 (_IOLBF): Likewise.
4988 (_IONBF): Likewise.
4989 (SEEK_CUR): Likewise.
4990 (SEEK_END): Likewise.
4991 (SEEK_SET): Likewise.
4992 (TMP_MAX): Likewise.
4993 (EOF): Use macro-int-constant. Require < 0.
4994 (NULL): Use macro-constant. Require == 0.
4995 (stdin): Require type to be FILE *.
4996 (stdout): Likewise.
4997 (stderr): Likewise.
4998 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
4999 macro-int-constant.
5000 (EXIT_SUCCESS): Likewise.
5001 (NULL): Use macro-constant. Require == 0.
5002 (RAND_MAX): Use macro-int-constant.
5003 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
5004 [C99-based standards] (strtof): Require function.
5005 [C99-based standards] (strtold): Likewise.
5006 [C99-based standards] (strtoll): Likewise.
5007 [C99-based standards] (strtoull): Likewise.
5008 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5009 [ISO || ISO99 || ISO11] (limits.h): Likewise.
5010 [ISO || ISO99 || ISO11] (math.h): Likewise.
5011 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
5012 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5013 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5014
d18ea0c5
AS
50152012-05-24 Andreas Schwab <schwab@linux-m68k.org>
5016
5017 [BZ #14132]
56d25bb8
AS
5018 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
5019 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
5020 * intl/dgettext.c (DCGETTEXT): Likewise.
5021 * intl/gettext.c (DCGETTEXT): Likewise.
5022 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
5023 * posix/regex_internal.h (gettext): Likewise.
5024 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
5025 Remove declaration.
5026 * include/argz.h (__argz_count_internal)
5027 (__argz_stringify_internal): Remove declaration.
5028 (__argz_count, __argz_stringify): Declare hidden proto.
5029 * intl/dcgettext.c: Remove use of INTDEF.
5030 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
5031 * string/argz-stringify.c: Likewise.
5032 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5033 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5034 Declare hidden proto.
d18ea0c5
AS
5035 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5036 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5037 Declare hidden proto.
5038 * include/stdio.h (__asprintf_internal): Don't declare.
5039 (__asprintf): Don't define as macro. Declare hidden proto.
5040 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
5041 (__fsetlocking): Declare hidden proto.
5042 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
5043 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
5044 hidden proto.
5045 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
5046 (_IO_setlinebuf): Remove use of INTUSE.
5047 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
5048 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
5049 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
5050 Remove declaration.
5051 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
5052 (_IO_do_flush): Remove use of INTUSE.
5053 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
5054 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
5055 (_IO_adjust_column, _IO_least_wmarker)
5056 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
5057 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
5058 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
5059 (_IO_default_doallocate, _IO_wdefault_doallocate)
5060 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
5061 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
5062 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
5063 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
5064 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
5065 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
5066 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
5067 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
5068 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
5069 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
5070 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
5071 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
5072 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
5073 proto.
5074 (_IO_flush_all_internal, _IO_adjust_column_internal)
5075 (_IO_default_uflow_internal, _IO_default_finish_internal)
5076 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
5077 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
5078 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
5079 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
5080 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
5081 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
5082 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
5083 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
5084 (_IO_file_close_internal, _IO_file_close_it_internal)
5085 (_IO_file_underflow_internal, _IO_file_overflow_internal)
5086 (_IO_file_init_internal, _IO_file_attach_internal)
5087 (_IO_file_fopen_internal, _IO_file_read_internal)
5088 (_IO_file_sync_internal, _IO_file_seek_internal)
5089 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
5090 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
5091 (_IO_str_underflow_internal, _IO_str_overflow_internal)
5092 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
5093 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
5094 (_IO_list_all_internal, _IO_link_in_internal)
5095 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
5096 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
5097 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
5098 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
5099 (_IO_do_write_internal, _IO_padn_internal)
5100 (_IO_getline_info_internal, _IO_getline_internal)
5101 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
5102 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
5103 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
5104 (_IO_vfscanf_internal, _IO_vfprintf_internal)
5105 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
5106 (_IO_init_internal, _IO_un_link_internal): Don't declare.
5107 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
5108 with libc_hidden_ver, remove use of INTUSE.
5109 * libio/genops.c: Likewise.
5110 * libio/freopen.c: Likewise.
5111 * libio/freopen64.c: Likewise.
5112 * libio/iofclose.c: Likewise.
5113 * libio/iofdopen.c: Likewise.
5114 * libio/iofflush.c: Likewise.
5115 * libio/iofflush_u.c: Likewise.
5116 * libio/iofgets.c: Likewise.
5117 * libio/iofgets_u.c: Likewise.
5118 * libio/iofopen.c: Likewise.
5119 * libio/iofopncook.c: Likewise.
5120 * libio/iofread.c: Likewise.
5121 * libio/iofread_u.c: Likewise.
5122 * libio/ioftell.c: Likewise.
5123 * libio/iofwrite.c: Likewise.
5124 * libio/iogetline.c: Likewise.
5125 * libio/iogets.c: Likewise.
5126 * libio/iogetwline.c: Likewise.
5127 * libio/iopadn.c: Likewise.
5128 * libio/iopopen.c: Likewise.
5129 * libio/ioseekoff.c: Likewise.
5130 * libio/ioseekpos.c: Likewise.
5131 * libio/iosetbuffer.c: Likewise.
5132 * libio/iosetvbuf.c: Likewise.
5133 * libio/ioungetc.c: Likewise.
5134 * libio/ioungetwc.c: Likewise.
5135 * libio/iovdprintf.c: Likewise.
5136 * libio/iovsprintf.c: Likewise.
5137 * libio/iovsscanf.c: Likewise.
5138 * libio/memstream.c: Likewise.
5139 * libio/obprintf.c: Likewise.
5140 * libio/oldfileops.c: Likewise.
5141 * libio/oldiofclose.c: Likewise.
5142 * libio/oldiofdopen.c: Likewise.
5143 * libio/oldiofopen.c: Likewise.
5144 * libio/oldiopopen.c: Likewise.
5145 * libio/oldstdfiles.c: Likewise.
5146 * libio/putc.c: Likewise.
5147 * libio/setbuf.c: Likewise.
5148 * libio/setlinebuf.c: Likewise.
5149 * libio/stdfiles.c: Likewise.
5150 * libio/strops.c: Likewise.
5151 * libio/vasprintf.c: Likewise.
5152 * libio/vscanf.c: Likewise.
5153 * libio/vsnprintf.c: Likewise.
5154 * libio/vswprintf.c: Likewise.
5155 * libio/wfiledoalloc.c: Likewise.
5156 * libio/wfileops.c: Likewise.
5157 * libio/wgenops.c: Likewise.
5158 * libio/wmemstream.c: Likewise.
5159 * libio/wstrops.c: Likewise.
5160 * libio/__fpurge.c: Likewise.
5161 * libio/__fsetlocking.c: Likewise.
5162 * assert/assert.c: Likewise.
5163 * debug/fgets_chk.c: Likewise.
5164 * debug/fgets_u_chk.c: Likewise.
5165 * debug/fread_chk.c: Likewise.
5166 * debug/fread_u_chk.c: Likewise.
5167 * debug/gets_chk.c: Likewise.
5168 * debug/obprintf_chk.c: Likewise.
5169 * debug/vasprintf_chk.c: Likewise.
5170 * debug/vdprintf_chk.c: Likewise.
5171 * debug/vsnprintf_chk.c: Likewise.
5172 * debug/vsprintf_chk.c: Likewise.
5173 * malloc/mtrace.c: Likewise.
5174 * misc/error.c: Likewise.
5175 * misc/syslog.c: Likewise.
5176 * stdio-common/asprintf.c: Likewise.
5177 * stdio-common/fxprintf.c: Likewise.
5178 * stdio-common/getw.c: Likewise.
5179 * stdio-common/isoc99_fscanf.c: Likewise.
5180 * stdio-common/isoc99_scanf.c: Likewise.
5181 * stdio-common/isoc99_vfscanf.c: Likewise.
5182 * stdio-common/isoc99_vscanf.c: Likewise.
5183 * stdio-common/isoc99_vsscanf.c: Likewise.
5184 * stdio-common/printf-prs.c: Likewise.
5185 * stdio-common/printf_fp.c: Likewise.
5186 * stdio-common/printf_fphex.c: Likewise.
5187 * stdio-common/printf_size.c: Likewise.
5188 * stdio-common/putw.c: Likewise.
5189 * stdio-common/scanf.c: Likewise.
5190 * stdio-common/sprintf.c: Likewise.
5191 * stdio-common/tmpfile.c: Likewise.
5192 * stdio-common/vfprintf.c: Likewise.
5193 * stdio-common/vfscanf.c: Likewise.
5194 * stdlib/strfmon_l.c: Likewise.
5195 * sunrpc/openchild.c: Likewise.
5196 * sunrpc/xdr_stdio.c: Likewise.
5197 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5198 * sysdeps/mach/hurd/tmpfile.c: Likewise.
5199
d6c33fda
RM
52002012-05-24 Roland McGrath <roland@hack.frob.com>
5201
c1487492
RM
5202 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5203
5204 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
5205 in the third column, to generate for the shared library an IFUNC
5206 that uses _dl_vdso_vsym.
5207 * Makerules (COMPILE.c, compile-stdin.c): New variables.
5208 * Makeconfig (object-suffixes-noshared): New variable.
5209
5210 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
5211 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
5212 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
5213 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
5214
d6c33fda
RM
5215 [BZ #14132]
5216 * include/sys/time.h (__gettimeofday): Remove macro.
5217 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
5218 * time/gettimeofday.c (__gettimeofday): Remove #undef.
5219 Remove INTDEF.
5220 (__gettimeofday): Add libc_hidden_def.
5221 (gettimeofday): Add libc_hidden_weak.
5222 * sysdeps/mach/gettimeofday.c: Likewise.
5223 * sysdeps/posix/gettimeofday.c: Likewise.
5224 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5225 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5226 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
5227 (__gettimeofday_internal): Remove strong_alias.
5228 (__gettimeofday): Add libc_hidden_def.
5229 (gettimeofday): Add libc_hidden_weak.
5230 * sysdeps/unix/syscalls.list (gettimeofday):
5231 Remove __gettimeofday_internal alias.
5232
b5a2bbe6
L
52332012-05-24 Daniel Jacobowitz <drow@false.org>
5234 H.J. Lu <hongjiu.lu@intel.com>
5235
5236 [BZ #12495]
5237 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
5238 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
5239 (largebin_index_32_big): New.
5240 (largebin_index): Use it for 16-byte alignment.
5241 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
5242 correction with front_misalign.
5243
cfba4fda
L
52442012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5245
7f907421
L
5246 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
5247 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5248 Likewise.
5249 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
5250 Likewise.
5251 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5252 Likewise.
5253 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
5254 Likewise.
5255 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
5256 Likewise.
5257 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
5258 Likewise.
5259 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
5260 Likewise.
5261 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5262 Likewise.
5263 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
5264 Likewise.
5265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
5266 Likewise.
5267 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5268 Likewise.
5269 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
5270 Likewise.
5271
cfba4fda
L
5272 * scripts/data/c++-types-x32-linux-gnu.data: New file.
5273 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
5274
80bad0cc
JM
52752012-05-24 Joseph Myers <joseph@codesourcery.com>
5276
7a25eb06
JM
5277 [BZ #10846]
5278 [BZ #14036]
5279 * math/libm-test.inc (exp_test): Add test from bug 14036.
5280 (pow_test): Add test from bug 10846.
5281
795405f9
JM
5282 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
5283 and other flags.
5284 (special_function): Do not include flags in test name.
5285 (parse_args): Likewise.
5286 * sysdeps/i386/fpu/libm-test-ulps: Update.
5287 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5288 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5289 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5291
80bad0cc
JM
5292 * math/gen-libm-test.pl (%beautify): Add entries for underflow
5293 exceptions.
5294 * math/libm-test.inc ("Philosophy"): Update comment about
5295 exception testing.
5296 (UNDERFLOW_EXCEPTION): New macro.
5297 (UNDERFLOW_EXCEPTION_OK): Likewise.
5298 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5299 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5300 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5301 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5302 (INVALID_EXCEPTION_OK): Update value.
5303 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5304 (OVERFLOW_EXCEPTION_OK): Likewise.
5305 (IGNORE_ZERO_INF_SIGN): Likewise.
5306 (test_exceptions): Handle underflow exceptions.
5307 (acos_test): Update for underflow exception expectations.
5308 (cexp_test): Likewise.
5309 (clog_test): Likewise.
5310 (clog10_test): Likewise.
5311 (csqrt_test): Likewise.
5312 (ctan_test): Likewise.
5313 (ctanh_test): Likewise.
5314 (exp_test): Likewise.
5315 (exp10_test): Likewise.
5316 (exp2_test): Likewise.
5317 (expm1_test): Likewise.
5318 (fma_test): Likewise.
5319 (j0_test): Likewise.
5320 (jn_test): Likewise.
5321 (nexttoward_test): Likewise.
5322 (pow_test): Likewise.
5323 (scalbn_test): Likewise.
5324 (scalbln_test): Likewise.
5325 (tan_test): Likewise.
5326 (y1_test): Likewise.
5327 * sysdeps/i386/fpu/libm-test-ulps: Update.
5328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5329
9e0e3d0b
DM
53302012-05-23 David S. Miller <davem@davemloft.net>
5331
5332 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5333 (__libc_sigaction): Remove unused local variables.
5334
ccd0a08f
L
53352012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5336
5337 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
5338
62bdf9a6
PE
53392012-05-23 Paul Eggert <eggert@cs.ucla.edu>
5340
f8591f80
PE
5341 mktime: avoid signed integer overflow
5342 * time/mktime.c (__mktime_internal): Do not mishandle the case
5343 where diff == INT_MIN.
5344
94c7d826
PE
5345 mktime: simplify computation of average
5346 * time/mktime.c (ranged_convert): Use new time_t_avg function
5347 instead of rolling our own (probably-slower) code.
5348
ce73d683
PE
5349 mktime: do not assume signed right shift propagates sign bit
5350 * time/mktime.c (isdst_differ): New static function.
5351 (__mktime_internal): No need to normalize tm_isdst now.
5352 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
5353 tm_isdst values.
5354
72a22e59
PE
5355 mktime: merge another wrapv change from gnulib
5356 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
5357 from some compilers.
5358
68605433
PE
5359 mktime: remove incorrect attempt at unusual arithmetics
5360 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
5361 The code didn't really work on such machines anyway.
5362 (TYPE_MINIMUM): Assume two's complement.
5363 (twos_complement_arithmetic): Verify that long_int and time_t
5364 are two's complement (or unsigned, in the latter case).
5365
03cf7fe3
PE
5366 mktime: check signed shifts on long_int and time_t, too
5367 * time/mktime.c (SHR): Check that shifts work as desired
5368 on the types long_int and time_t too, as SHR is used on
5369 such types.
5370
f04dfbc2
PE
5371 mktime: do not assume 'long' is wide enough
5372 * time/mktime.c (verify): Move decl up.
5373 (long_int): New type.
5374 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
5375 to remove assumption in the code that 'long' is wide enough to
5376 store year values. This assumption is not true on x32 and on
5377 some non-glibc platforms.
5378
62bdf9a6
PE
5379 mktime: merge wrapv change from gnulib
5380 * time/mktime.c (WRAPV): New macro.
5381 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
5382 (guess_time_tm, __mktime_internal): Do not assume that signed
5383 integer overflow wraps around; modern compilers generate code
5384 where this assumption is no longer valid.
5385
5e292e4f
L
53862012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5387
5388 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5389 Replace "jmp L(pseudo_end)" with "ret".
5390 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
5391 Likewise.
5392
8caf8c87
AJ
53932012-05-23 Andreas Jaeger <aj@suse.de>
5394
5395 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
5396 * sysdeps/unix/sysv/linux/poll.c: Remove file.
5397
1a09dc56
AJ
53982012-05-23 Andreas Jaeger <aj@suse.de>
5399 Maximilian Attems <max@stro.at>
5400
5401 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
5402 New macros.
5403
1c87aba0
L
54042012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5405
5406 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
5407 code so that pseudo_end is just ret and the stack pointer is
5408 correct also for static library in error case.
5409
40e45bd5
JM
54102012-05-23 Joseph Myers <joseph@codesourcery.com>
5411
c2670533
JM
5412 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
5413 move to syscalls.list.
5414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5418
40e45bd5
JM
5419 * manual/install.texi (Running make install): Do not mention Linux
5420 kernel version for which pt_chown is not needed.
5421 (Linux): Do not mention problems with nscd with 2.0 kernels.
5422 * INSTALL: Regenerated.
5423
be08eda5
AJ
54242012-05-23 Andreas Jaeger <aj@suse.de>
5425
5426 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
5427 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
5428 macro.
5429 * sysdeps/unix/sysv/linux/s390/bits/mman.h
5430 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5431 * sysdeps/unix/sysv/linux/sh/bits/mman.h
5432 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5433 * sysdeps/unix/sysv/linux/i386/bits/mman.h
5434 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5435 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
5436 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5437 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
5438 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5439 * sysdeps/unix/sysv/linux/bits/in.h
5440 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
5441
a6a056bb
RM
54422012-05-22 Roland McGrath <roland@hack.frob.com>
5443
5444 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
5445 (PREPARE_VERSION): Just use assert instead, it will be elided
5446 under [NDEBUG] anyway.
5447
c9009328
L
54482012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5449
5450 * sysdeps/unix/sysv/linux/Makefile: Include
5451 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 5452 (sysdep_routines): Remove sysctl.
c9009328
L
5453 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
5454 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
5455 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
5456 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
5457 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
5458
73338355
AJ
54592012-05-22 Andreas Jaeger <aj@suse.de>
5460
5461 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
5462 that pseudo_end is just ret and the stack pointer is correct also
5463 for static library in error case.
5464
d44638b0
PP
54652012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5466
5467 [BZ #14122]
5468 * nss/nsswitch.c (defconfig_entries): New variable.
5469 (__nss_database_lookup): Don't leak defconfig entries.
5470 (nss_parse_service_list): Don't leak on error paths.
5471 (free_database_entries): New function.
5472 (free_defconfig): New function.
5473 (free_mem): Move common code to free_database_entries.
5474
31a39bd8
L
54752012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5476
da0331a8
L
5477 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
5478 Add arch_prctl.
5479 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
5480
31a39bd8
L
5481 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5482 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
5483 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
5484 New macro.
5485 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5486 (INTERNAL_SYSCALL_TYPES): Likewise.
5487 (LOAD_ARGS_TYPES_[1-6]): Likewise.
5488 (LOAD_REGS_TYPES_[1-6]): Likewise.
5489 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
5490 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
5491
45470df3
AZ
54922012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5493
5494 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
5495 copysignl for GLIBC_2_0.
5496 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
5497 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
5498 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
5499 logbl for GLIBC_2_0.
5500 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5501 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5502
98a61bcb
L
55032012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5504
a4f6e481
L
5505 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
5506 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5507
f63d5db6
L
5508 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5509 Use "neg %eax".
5510
98a61bcb
L
5511 * time/mktime.c: Update copyright years.
5512
95770f14
PE
55132012-05-22 Paul Eggert <eggert@cs.ucla.edu>
5514
6226efbd
PE
5515 mktime: merge comment-quoting-style change from gnulib
5516 * time/mktime.c: Quote 'like this' in comments.
5517 The GNU coding standards suggest that we no longer quote `like this',
5518 as "`" and "'" are typically rendered asymmetrically nowadays.
5519 The typical gnulib style is to quote 'like this' when quoting
5520 code, and "like this" when quoting English.
5521
b99e4f78
PE
5522 * time/mktime.c (compile-command): Add "-I.".
5523
643e01e6
PE
5524 mktime: merge mktime-internal.h change from gnulib
5525 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
5526
2554247d
PE
5527 mktime: merge time_r change from gnulib
5528 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
5529
826dd0ab
PE
5530 mktime: merge DEBUG change from gnulib
5531 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
5532 case system <time.h> has a #define.
5533
bd83aabe
PE
5534 mktime: merge <sys/types.h> change from gnulib
5535 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
5536 since <time.t> is now guaranteed to define time_t.
5537
95770f14
PE
5538 mktime: merge HAVE_CONFIG_H change from gnulib
5539 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
5540
5e1a27a9
L
55412012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5542
0e44a77e
L
5543 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5544 Use "neg %eax".
5545
5e1a27a9
L
5546 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
5547 __rlim_t cast.
5548 (struct rusage): Use anonymous union to pad each field to
5549 __syscall_slong_t.
5550
46259bec
DM
55512012-05-21 David S. Miller <davem@davemloft.net>
5552
5553 * Makefules (o-iterator): Remove .s cases.
5554 (compile-command.s): Delete.
5555 (COMPILE.s): Delete.
5556 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
5557
59f0c22e
JM
55582012-05-21 Joseph Myers <joseph@codesourcery.com>
5559
5560 * configure.in (libc_cv_predef_stack_protector): Only consider
5561 "foobar" and "__stack_chk_fail" lines in libc_undefs.
5562 * configure: Regenerated.
5563
20c07380
L
55642012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5565
bbb3154b
L
5566 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5567 New macro. Use R*LP on int and pointer.
5568 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
5569 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
5570 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
5571 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
5572
20c07380
L
5573 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
5574 [__WORDSIZE_TIME64_COMPAT32] instead of
5575 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
5576 (struct utmp): Likewise.
5577 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
5578 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
5579 Renamed to ...
5580 (__WORDSIZE_TIME64_COMPAT32): This.
5581 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
5582 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
5583 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
5584 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
5585 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
5586 (__WORDSIZE_TIME64_COMPAT32): New macro.
5587
d8d1017e
AJ
55882012-05-21 Andreas Jaeger <aj@suse.de>
5589
5590 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
5591 only if [SHARED]. Add prototype for __wcschr_ia32.
5592
6c7fb145
RM
55932012-05-21 Roland McGrath <roland@hack.frob.com>
5594
5595 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
5596 of %rbp unmolested in the jmp_buf while mangling the low bits.
5597 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
5598 unmolested high bits of %rbp while demangling the low bits.
5599 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5600
66274218
AJ
56012012-05-21 Andreas Jaeger <aj@suse.de>
5602
07c58f8f
AJ
5603 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
5604 * sunrpc/svc_simple.c: Use it for registerrpc.
5605 * sunrpc/xcrypt.c: Use it for passwd2des.
5606
66274218
AJ
5607 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
5608
61f65140
L
56092012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5610
5611 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
5612 Don't define if [__SYSCALL_WORDSIZE != 32].
5613 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
5614 New macro.
5615
5fefb436
AJ
56162012-05-21 Bruno Haible <bruno@clisp.org>
5617 Andreas Jaeger <aj@suse.de>
5618
5619 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
5620 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
5621 inptr and inend for must_buffer_ch.
5622 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
5623 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
5624 * stdio-common/Makefile (tests): Remove bug15.
5625 (bug15-ENV): Remove macro.
5626 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
5627 anymore.
5628
d8e272ab
AJ
56292012-05-19 Andreas Jaeger <aj@suse.de>
5630 Roland McGrath <roland@hack.frob.com>
5631
5632 * manual/contrib.texi: Completely rewritten. It contains now an
5633 alphabetical list of contributors and their contributions.
5634
4a56a162
RH
56352012-05-21 Richard Henderson <rth@twiddle.net>
5636
5637 * misc/getauxval.c (__getauxval): Use unsigned long int.
5638 * misc/sys/auxv.h: Include <sys/cdefs.h>.
5639 (getauxval): Use unsigned long int.
5640
d024d23c
L
56412012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5642
5643 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5644
cbc00a03
RM
56452012-05-21 Roland McGrath <roland@hack.frob.com>
5646
5647 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
5648 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
5649 __alignof__ (long double).
5650
478143fa
AZ
56512012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5652
5653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5654
c7683a6d
RH
56552012-05-20 Richard Henderson <rth@twiddle.net>
5656
5657 * misc/getauxval.c: New file.
5658 * misc/sys/auxv.h: New file.
5659 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
5660 (routines): Add getauxval.
5661 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
5662 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
5663 * elf/dl-sysdep.c (_dl_auxv): Remove.
5664 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
5665 * elf/dl-support.c (_dl_auxv): New variable.
5666 (_dl_aux_init): Initialize it.
5667 * manual/startup.texi (Auxiliary Vector): New node.
5668 * sysdeps/generic/bits/hwcap.h: New file.
5669 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
5670 * sysdeps/powerpc/sysdep.h: ... here. Include it.
5671 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
5672 * sysdeps/sparc/sysdep.h: ... here. Include it.
5673 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
5674 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
5675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5676 Update.
c7683a6d
RH
5677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
5678 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
5679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
5680 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
5681 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5682 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5683 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
5684 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
5685
a6f1845d
AZ
56862012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5687
5688 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5689
cbcbe830
DM
56902012-05-19 David S. Miller <davem@davemloft.net>
5691
5692 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5693
e0b16cc2
JM
56942012-05-19 Joseph Myers <joseph@codesourcery.com>
5695
5696 [BZ #14123]
5697 * math/s_ccosh.c: Include <float.h>
5698 (__ccosh): Avoid internal overflow calculating sinh and cosh
5699 values before multiplying by sin and cos values.
5700 * math/s_ccoshf.c: Likewise.
5701 * math/s_ccoshl.c: Likewise.
5702 * math/s_csin.c: Likewise.
5703 * math/s_csinf.c: Likewise.
5704 * math/s_csinl.c: Likewise.
5705 * math/s_csinh.c: Likewise.
5706 * math/s_csinhf.c: Likewise.
5707 * math/s_csinhl.c: Likewise.
5708 * math/libm-test.inc (ccos_test): Add more tests.
5709 (ccosh_test): Likewise.
5710 (csin_test): Likewise.
5711 (csinh_test): Likewise.
5712 * sysdeps/i386/fpu/libm-test-ulps: Update.
5713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5714
6ad13e08
L
57152012-05-19 H.J. Lu <hongjiu.lu@intel.com>
5716
f66f0ce8
L
5717 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
5718 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5719
6ad13e08
L
5720 * sysdeps/x86_64/x32/_itoa.h: Add comment.
5721
b1d072a7
JM
57222012-05-19 Joseph Myers <joseph@codesourcery.com>
5723
5724 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
5725 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
5726 * sysdeps/powerpc/soft-fp/Versions: Likewise.
5727 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
5728 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
5729 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
5730 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
5731 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
5732 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
5733 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
5734 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
5735 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
5736 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
5737 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
5738 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
5739 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
5740 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
5741 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
5742 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
5743 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
5744 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
5745 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
5746 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
5747 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
5748 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
5749 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
5750 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
5751 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
5752 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
5753 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
5754 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
5755
9eae47cb
AJ
57562012-05-18 Andreas Jaeger <aj@suse.de>
5757
5758 * csu/.gitignore: Delete.
5759
bb07f69f
L
57602012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5761
5762 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
5763 (timex): Use __syscall_slong_t.
5764
e6bdb741
AJ
57652012-05-18 Andreas Jaeger <aj@suse.de>
5766 Carlos O'Donell <carlos_odonell@mentor.com>
5767
5768 * manual/install.texi (Configuring and compiling): Update
5769 description about files modified in the source directory.
d6c33fda 5770 * INSTALL: Regenerated.
e6bdb741 5771
1b74487e
L
57722012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5773
5774 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
5775 value. Use "or" to set return value to -1.
5776 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
5777 negate return value.
5778
a88b64b9
TMQMF
57792012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5780
5781 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
5782 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
5783 failure if the compiler has Graphite support disabled.
5784 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
5785 Likewise.
5786 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
5787 CFLAGS-memmove.c): Likewise.
5788 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
5789 Likewise.
5790
3707636e
L
57912012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5792
610b8622
L
5793 * sysdeps/x86_64/x32/_itoa.h: New file.
5794
7cd195df
L
5795 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
5796 getdents system call only if kernel and user dirents have the
5797 same d_ino and d_off.
5798
94b07d20
L
5799 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5800 LLONG_MAX != LONG_MAX.
5801 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5802 (_fitoa_word): Likewise.
5803
18298070
L
5804 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
5805 years.
5806 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
5807 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
5808 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
5809
553c7ea4
L
5810 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
5811 include <bits/wordsize.h>. Check __x86_64__ instead of
5812 __WORDSIZE.
5813 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
5814 if __x86_64__ is defined. Use anonymous union on fpstate.
5815
3707636e
L
5816 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
5817 anonymous union.
5818
b53ef01a
AS
58192012-05-18 Andreas Schwab <schwab@linux-m68k.org>
5820
37fb1dc0
AS
5821 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5822 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
5823 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
5824 Refer to _rtld_local_ro instead of _rtld_global_ro.
5825 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
5826 Likewise.
5827 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
5828 Likewise.
5829 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
5830 Likewise.
5831 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
5832 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
5833 of _rtld_global, and rtld_progname instead of _dl_argv[0].
5834
b53ef01a
AS
5835 * sysdeps/powerpc/powerpc32/dl-machine.c
5836 (__elf_machine_runtime_setup) [PROF]: Don't reference
5837 _dl_prof_resolve.
5838
7a185db2
AJ
58392012-05-18 Andreas Jaeger <aj@suse.de>
5840
5841 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
5842 function only available for GCCs before 3.4 since GCC 3.4
5843 introduced a builtin.
5844 (lrint): Likewise.
5845 (llrintf): Likewise.
5846 (llrint): Likewise.
5847 (fmaxf): Likewise.
5848 (fmax): Likewise.
5849 (fminf): Likewise.
5850 (fmin): Likewise.
5851 (rint): Likewise.
5852 (rintf): Likewise.
5853 (nearbyint): Likewise.
5854 (nearbyintf): Likewise.
5855 (ceil): Likewise.
5856 (ceilf): Likewise.
5857 (floor): Likewise.
5858 (floorf): Likewise.
5859
3e5aef87
L
58602012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5861
428bd707
L
5862 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
5863 on both fields and cast pointer to __syscall_ulong_t.
5864
3e5aef87
L
5865 * bits/types.h (__fsword_t): New type.
5866 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
5867 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
5868 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5869 (__FSWORD_T_TYPE): Likewise.
5870 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5871 (__FSWORD_T_TYPE): Likewise.
5872 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5873 (__FSWORD_T_TYPE): Likewise.
5874 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
5875 (__FSWORD_T_TYPE): Likewise.
5876 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
5877 __SWORD_TYPE with __fsword_t.
5878 (statfs64): Likewise.
5879
1ba7c3dc
DM
58802012-05-17 David S. Miller <davem@davemloft.net>
5881
5882 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
5883
59910343
AJ
58842012-05-17 Andreas Jaeger <aj@suse.de>
5885
5886 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
5887 warning.
5888
2e4c1e9e
L
58892012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5890
5891 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
5892
de7f5ce7
AJ
58932012-05-17 Andreas Jaeger <aj@suse.de>
5894
5895 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
5896 when it is used.
5897
286abc3d
CM
58982012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5899
5900 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
5901
477cc68e
L
59022012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5903
5904 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
5905 * sysdeps/x86_64/tst-mallocalign1.c: New file.
5906
1a0994f5
CD
59072012-05-17 Andreas Jaeger <aj@suse.de>
5908 Carlos O'Donell <carlos_odonell@mentor.com>
5909
5910 [BZ #14059]
5911 * sysdeps/x86_64/multiarch/init-arch.h
5912 (bit_YMM_Usable): Rename to...
5913 (bit_AVX_Usable): ... this.
5914 (bit_FMA4_Usable): New macro.
5915 (bit_XMM_state): New macro.
5916 (bit_YMM_state): New macro.
5917 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
5918 [__ASSEMBLER__] (index_AVX_Usable): ... this.
5919 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
5920 (CPUID_OSXSAVE): New macro.
5921 (CPUID_AVX): New macro.
5922 (CPUID_FMA4): New macro.
5923 (index_YMM_Usable): Rename to...
5924 (index_AVX_Usable): ... this.
5925 (HAS_AVX): Use HAS_ARCH_FEATURE.
5926 (HAS_FMA4): Likewise.
5927 (HAS_YMM_USABLE): Remove.
5928 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5929 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
5930 are present.
5931 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
5932 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
5933 * sysdeps/x86_64/multiarch/Makefile: Likewise.
5934 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
5935 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
5936
0af797de
CM
59372012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5938
5939 * math/libm-test.c: Support platforms without multiple rounding modes.
5940 * math/bug-nextafter.c: Support platforms without FP exceptions.
5941 * math/bug-nexttoward.c: Likewise.
5942 * math/test-fenv.c: Likewise.
5943 * math/test-misc.c: Likewise.
5944 * stdlib/bug-getcontext.c: Likewise.
5945
e39745ff
AJ
59462012-05-17 Andreas Jaeger <aj@suse.de>
5947
5948 * manual/examples/search.c (critter_cmp): Change signature to
5949 avoid warnings.
5950 * manual/string.texi (Collation Functions): Likewise.
5951
48970aba
L
59522012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5953
5954 * bits/types.h: Fold copyright years.
5955 * bits/typesizes.h: Likewise.
5956 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
5957 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5958 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
5959 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
5960 * time/time.h: Likewise.
5961
bedee953
PP
59622012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5963
5964 [BZ #208]
5965 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
5966 in instead of returning them. Return void.
5967 (__libc_mallinfo): Accumulate over all arenas.
5968 (__malloc_stats): Adjust for change in int_mallinfo interface.
5969
61653dfb
RM
59702012-05-16 Roland McGrath <roland@hack.frob.com>
5971
30b99d79
RM
5972 [BZ #10375]
5973 * configure.in (NM): Add AC_CHECK_TOOL for it.
5974 (libc_extra_cflags): New substituted variable.
5975 Check for -fstack-protector being used implicitly.
5976 * configure: Regenerated.
5977 * config.make.in (config-extra-cflags): New variable,
5978 gets @libc_extra_cflags@.
5979 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
5980
61653dfb
RM
5981 [BZ #10375]
5982 * configure.in: Check for _FORTIFY_SOURCE being predefined.
5983 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
5984 * configure: Regenerated.
5985 * config.make.in (CPPUNDEFS): New substituted variable.
5986 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
5987 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
5988 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
5989
661768bb
L
59902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5991
5992 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
5993 (mq_attr): Use __syscall_slong_t.
5994
d4261567
L
59952012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5996
5997 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
5998 Check __x86_64__ instead of __WORDSIZE.
5999 (_STAT_VER_LINUX): Likewise.
6000 (stat): Check __x86_64__ instead of __WORDSIZE. Use
6001 __syscall_ulong_t and __syscall_slong_t.
6002 (stat64): Likewise.
6003
cf3ff365
L
60042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6005
6006 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
6007
76cf3e4d
L
60082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6009
6010 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
6011
a637753a
L
60122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6013
6014 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
6015 __syscall_ulong_t.
6016
d5e05119
L
6017 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
6018 include <bits/wordsize.h>. Check __x86_64__ instead of
6019 __WORDSIZE.
6020 (greg_t): Use "__extension__ long long int" if __x86_64__ is
6021 defined.
6022 (mcontext_t): Replace "unsigned long" with "unsigned long long".
6023
f62ee380
L
6024 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
6025 include <bits/wordsize.h>. Check __x86_64__ instead of
6026 __WORDSIZE.
6027 (user_regs_struct): Use "__extension__ unsigned long long"
6028 instead of "unsigned long" if __x86_64__ is defined.
6029 (user): Likewise. Pad after pointer field if __ILP32__ is
6030 defined.
6031
4e124ced
JM
60322012-05-16 Joseph Myers <joseph@codesourcery.com>
6033
6a3951a0
JM
6034 * configure.in (makeinfo): Require version 4.5 or later. Allow
6035 versions 5 to 9.
6036 * configure: Regenerated.
6037 * manual/install.texi (texinfo): Increase version requirement to
6038 4.5 or later.
6039 * INSTALL: Regenerated.
6040
4e124ced
JM
6041 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
6042
953ca31a
L
60432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6044
6045 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
6046
617aca05
L
6047 * sysdeps/x86_64/x32/ffs.c: New file.
6048
5762f7ae
L
6049 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
6050 __syscall_ulong_t.
6051 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
6052 defined. Use __syscall_ulong_t.
6053 (shminfo): Use __syscall_ulong_t.
6054 (shm_info): Likewise.
6055
a26b6856
L
6056 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
6057 __syscall_ulong_t.
6058
cb2b9ef7
L
6059 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
6060 <bits/wordsize.h>.
6061 (msgqnum_t): Use __syscall_ulong_t.
6062 (msglen_t): Likewise.
6063 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
6064 __syscall_ulong_t.
6065
34683bb0
L
6066 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
6067 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6068
84a68786
L
6069 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
6070
48baa5f1
L
6071 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
6072 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
6073
180be88b
L
6074 * sysvipc/sys/msg.h (msgbuf): Replace long int with
6075 __syscall_slong_t.
6076
5e90c8ad
L
6077 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
6078 include <bits/wordsize.h>. Check __x86_64__ instead of
6079 __WORDSIZE.
6080
23dfb58b
L
6081 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
6082 "unsigned long long int" if __x86_64__ is defined.
6083 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
6084
ce5d54b0
L
6085 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
6086 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6087 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
6088
13dc9eac
L
6089 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
6090 <stdint.h>.
6091 (GET_PC): Cast to uintptr_t first.
6092 (GET_FRAME): Likewise.
6093 (GET_STACK): Likewise.
6094
a7895d15
L
6095 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
6096 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
6097 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
6098 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
6099 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
6100 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
6101 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
6102 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
6103 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
6104 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
6105 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
6106 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
6107 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6108 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
6109 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
6110 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
6111 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
6112 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
6113 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
6114 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
6115 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
6116 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
6117 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
6118 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
6119 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
6120 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
6121 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
6122 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
6123 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
6124
656416c9
AS
61252012-05-16 Andreas Schwab <schwab@linux-m68k.org>
6126
5bd66283
AS
6127 * Makerules (+depfiles): Also collect depfiles from .oS in
6128 $(extra-objs).
6129 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
6130 .oS, $(libnldbl-routines)).
6131
656416c9
AS
6132 * Makerules (native-compile-mkdep-flags): Define.
6133 * sunrpc/Makefile (extra-objs): Add $(addprefix
6134 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
6135 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
6136 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
6137 calling $(make-target-directory).
6138
a46f2169
L
61392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6140
6141 * bits/types.h (__snseconds_t): Removed.
6142 * time/time.h (struct timespec): Replace __snseconds_t with
6143 __syscall_slong_t.
6144 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
6145 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
6146 Likewise.
6147 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6148 (__SNSECONDS_T_TYPE): Likewise.
6149 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6150 (__SNSECONDS_T_TYPE): Likewise.
6151 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6152 (__SNSECONDS_T_TYPE): Likewise.
6153
6af6528b
L
61542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6155
6156 * sysdeps/mach/hurd/bits/typesizes.h
6157 (__SYSCALL_SLONG_TYPE): New macro.
6158 (__SYSCALL_ULONG_TYPE): Likewise.
6159
de986b56
L
61602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6161
6162 * bits/types.h (__syscall_slong_t): New type.
6163 (__syscall_ulong_t): Likewise.
6164
6165 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
6166 (__SYSCALL_ULONG_TYPE): Likewise.
6167 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6168 (__SYSCALL_SLONG_TYPE): Likewise.
6169 (__SYSCALL_ULONG_TYPE): Likewise.
6170 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6171 (__SYSCALL_SLONG_TYPE): Likewise.
6172 (__SYSCALL_ULONG_TYPE): Likewise.
6173 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6174 (__SYSCALL_SLONG_TYPE): Likewise.
6175 (__SYSCALL_ULONG_TYPE): Likewise.
6176
85736dc7
L
61772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6178
6179 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
6180 Add sigaltstack-offsets.sym.
6181 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
6182 <sigaltstack-offsets.h>.
6183 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
6184 longjmp_msg pointer.
6185 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
6186 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
6187 signal stack.
6188 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
6189
cc03b296
JM
61902012-05-15 Joseph Myers <joseph@codesourcery.com>
6191
a9538892
JM
6192 * elf/stackguard-macros.h: Remove file.
6193 * sysdeps/generic/stackguard-macros.h: New file.
6194 * sysdeps/i386/stackguard-macros.h: Likewise.
6195 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6196 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6197 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6198 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6199 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6200 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6201 * sysdeps/x86_64/stackguard-macros.h: Likewise.
6202 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
6203 <elf/stackguard-macros.h>.
6204
cc03b296
JM
6205 [BZ #14109]
6206 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
6207 __aligned__ in attribute.
6208 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
6209 (gregset_t): Likewise.
6210
93171016
L
62112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6212
6213 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
6214 * sysdeps/x86_64/64/Implies-after: Here. New file.
6215 * sysdeps/x86_64/x32/Implies-after: New file.
6216
d86813a0
L
62172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6218
6219 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
6220 and access return value for _dl_profile_fixup. Use R10_LP to
6221 load frame size.
6222
2953ec75
L
62232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6224
6225 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
6226
3b550e9e
L
62272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6228
6229 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
6230 * sysdeps/x86_64/x32/sysdep.h: New file.
6231
eda41706
L
62322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6233
6234 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
6235 * sysdeps/x86_64/setjmp.S: Likewise.
6236
9ea01d93
AZ
62372012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6238
6239 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
6240 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
6241 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
6242 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
6243 remove unused global constant.
6244
02a91938
CM
62452012-05-15 Chris Metcalf <cmetcalf@tilera.com>
6246
6247 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
6248 include of <not-cancel.h>.
6249
6540185f
RM
62502012-05-15 Roland McGrath <roland@hack.frob.com>
6251
6252 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
6253
509072a0
AJ
62542012-05-15 Jeff Law <law@redhat.com>
6255 Andreas Jaeger <aj@suse.de>
6256
6257 [BZ #13594]
6258 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
6259 out from...
6260 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
6261 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
6262 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
6263 code changing __hst_map_handle.map.
6264
ba75122d
RM
62652012-05-15 Roland McGrath <roland@hack.frob.com>
6266
6267 * configure.in (sysnames): Look for Implies-before and Implies-after
6268 files.
6269 * configure: Regenerated.
6270
890d8bd8
L
62712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6272
6273 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
6274 8-byte data alignment with LP_SIZE alignment.
6275
f6ee6623
L
62762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6277
6278 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
6279 into R10_LP.
6280
ea2626f6
L
62812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6282
6283 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
6284
085f715e
L
62852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6286
6287 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
6288 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
6289 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
6290 Likewise.
6291 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6292
be8498fc
L
62932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6294
6295 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
6296 (stackinfo_sub_sp): Likewise.
6297
70bc83b9
L
62982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6299
6300 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
6301 RAX_LP.
6302
9bc0b730
L
63032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6304
6305 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
6306 into R*_LP.
6307
6d2850e7
L
63082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6309
6310 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
6311 sizes into R*_LP.
6312
3cb84561
L
63132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6314
6315 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
6316
54e2ed81
L
63172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6318
6319 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
6320 into R11_LP and load __x86_64_shared_cache_size_half into
6321 R8_LP.
6322
8a17f349
L
63232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6324
6325 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
6326 R8_LP.
6327
777b1eea
AZ
63282012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6329
6330 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
6331 logb for POWER7.
6332 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
6333 logbf for POWER7.
6334 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
6335 logbl for POWER7.
6336 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
6337 powerpc32/power7/fpu/s_logb.c via #include.
6338 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
6339 powerpc32/power7/fpu/s_logbf.c via #include.
6340 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
6341 powerpc32/power7/fpu/s_logbl.c via #include.
6342
d20d4ac2
JM
63432012-05-15 Joseph Myers <joseph@codesourcery.com>
6344
6345 * README.libm: Remove file.
6346
6cdef1ab
L
63472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6348
6349 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
6350 count for x32. Use R*_LP and omit operand-size suffix.
6351
0b254d8f
L
63522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6353
6354 * shlib-versions: Move x86_64-.*-linux.* entries to ...
6355 * sysdeps/x86_64/64/shlib-versions: Here. New file.
6356 * sysdeps/x86_64/x32/shlib-versions: New file.
6357
ceb809dc
RM
63582012-05-14 Roland McGrath <roland@hack.frob.com>
6359
6360 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
6361 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
6362 Use _dl_fatal_printf instead.
6363
37f1abd4
JM
63642012-05-14 Joseph Myers <joseph@codesourcery.com>
6365
6366 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
6367 set if not set by the user. Do not allow for being unset.
6368 * sysdeps/unix/sysv/linux/configure: Regenerated.
6369
11de3a33
L
63702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6371
6372 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
6373 the `q' suffix from lea and replace .quad with ASM_ADDR.
6374
e02f153a
L
63752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6376
6377 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
6378 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
6379 instead of $17.
6380 (PTR_DEMANGLE): Likewise.
6381
520ae0fd
L
63822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6383
6384 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
6385 (LP_OP): Likewise.
6386 (ASM_ADDR): Likewise.
6387 (RAX_LP): Likewise.
6388 (RBP_LP): Likewise.
6389 (RBX_LP): Likewise.
6390 (RCX_LP): Likewise.
6391 (RDI_LP): Likewise.
6392 (RSI_LP): Likewise.
6393 (RSP_LP): Likewise.
6394 (R8_LP): Likewise.
6395 (R9_LP): Likewise.
6396 (R10_LP): Likewise.
6397 (R10_LP): Likewise.
6398 (R11_LP): Likewise.
6399 (R12_LP): Likewise.
6400 (R13_LP): Likewise.
6401 (R14_LP): Likewise.
6402 (R15_LP): Likewise.
6403
b985be81
L
64042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6405
6406 * sysdeps/x86_64/x32/dl-machine.h: New file.
6407
6a4888ff
AJ
64082012-05-14 Andreas Jaeger <aj@suse.de>
6409
6410 * manual/Makefile (subdir): Remove export of subdir.
6411 (all): Remove target.
6412 (.PHONY): Remove all from list.
6413 (mkinstalldirs): Remove.
6414 (.PHONY): Remove installdirs from list.
6415 ($(inst_infodir)/libc.info): Use make-target-directory.
6416 (installdirs): Remove.
6417 (subdir_%): Remove.
6418 (glibc-targets): Remove.
6419 (lib): Remove.
6420 (stubs): Remove.
6421 ($(objpfx)stubs ../po/manual.pot): Remove.
6422 ($(objpfx)stamp%): Remove.
6423 (make-target-directory): Remove.
6424 (subdir_install): Remove.
6425 (routines): Remove.
6426 (aux): Remove.
6427 (sources): Remove.
6428 (objects): Remove.
6429 (headers): Remove.
6430
6431 [BZ #13750]
6432 * manual/.gitignore: Remove, it's not needed anymore.
6433 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
6434 all files in it.
6435 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
6436 directory.
6437 (texis): Renamed to $(objpfx)texis.
6438 (texis-path): New, contains path to generated files.
6439 (chapters.%): Use texis-path for complete path, add extra argument
6440 libc-texinfo.sh.
6441 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
6442 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
6443 (summary,texi, stamp-summary): Use complete path of
6444 files. Generate files in build dir.
6445 (dir-add.texi): Build in build dir.
6446 (libm-err.texi,stamp-libm-err): Likewise.
6447 (version.texi, stamp-version): Likewise.
6448 (.%c.texi): Likewise.
6449 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
6450 (mostlyclean): Remove target.
6451 (realclean): Remove target.
6452 (generated): Add new variable with contents from mostlyclean and
6453 realclean, remove entries duplicated in common-mostlyclean, add
6454 stamp-libm-err and stamp-version.
6455 (generated-dirs): Add libc directory.
6456 ($(inst_infodir)/libc.info): Install files from build dir.
6457
6458 * manual/install.texi (Configuring and compiling): Adjust since
6459 the info files are not part of the tar ball anymore.
6460
7ac77294
AJ
64612012-05-14 Andreas Jaeger <aj@suse.de>
6462
6463 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
6464 variable.
6465
ffb7875d
JM
64662012-05-14 Joseph Myers <joseph@codesourcery.com>
6467
6468 [BZ #13717]
6469 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6470 to 2.2.0 where earlier.
6471 * sysdeps/unix/sysv/linux/configure: Regenerated.
6472 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
6473 Remove conditional code.
6474 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
6475 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
6476 Remove conditional code.
6477 [!__NR_lchown]: Likewise.
6478 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6479 [__NR_lchown]: Likewise.
6480 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
6481 comment referencing __ASSUME_LCHOWN_SYSCALL.
6482 * sysdeps/unix/sysv/linux/i386/sigaction.c
6483 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6484 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6485 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
6486 Remove conditional code.
6487 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
6488 (__protocol_available): Remove #if 0 code.
6489 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
6490 conditional code.
6491 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
6492 * sysdeps/unix/sysv/linux/kernel-features.h
6493 (__ASSUME_GETCWD_SYSCALL): Don't define.
6494 (__ASSUME_REALTIME_SIGNALS): Likewise.
6495 (__ASSUME_PREAD_SYSCALL): Likewise.
6496 (__ASSUME_PWRITE_SYSCALL): Likewise.
6497 (__ASSUME_POLL_SYSCALL): Likewise.
6498 (__ASSUME_LCHOWN_SYSCALL): Likewise.
6499 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
6500 non-SPARC.
6501 (__ASSUME_SIOCGIFNAME): Don't define.
6502 (__ASSUME_MSG_NOSIGNAL): Likewise.
6503 (__ASSUME_SENDFILE): Define unconditionally.
6504 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
6505 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
6506 conditional code.
6507 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
6508 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
6509 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6510 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6511 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
6512 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6513 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
6515 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6516 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6518 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6519 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
6521 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6522 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6524 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6525 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
6527 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6528 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6530 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6531 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
6533 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6534 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6536 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6537 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6538 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
6539 Remove conditional code.
6540 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6541 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6542 Remove conditional code.
6543 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6544 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
6545 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
6546 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6547 Remove conditional code.
6548 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6549 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
6550 Remove conditional code.
6551 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6552 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
6553 Remove conditional code.
6554 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6555 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6556 Remove conditional code.
6557 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6558 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6559 Remove conditional code.
6560 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6561 * sysdeps/unix/sysv/linux/sh/pwrite64.c
6562 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6563 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6564 * sysdeps/unix/sysv/linux/sigaction.c
6565 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6566 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6567 * sysdeps/unix/sysv/linux/sigpending.c
6568 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6569 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6570 * sysdeps/unix/sysv/linux/sigprocmask.c
6571 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6572 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6573 * sysdeps/unix/sysv/linux/sigsuspend.c
6574 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6575 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6576 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6577 (__libc_missing_rt_sigs): Remove.
6578 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
6579 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
6580 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
6581 Remove conditional code.
6582 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
6583 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
6584 return 1.
6585 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
6586 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
6587 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
6588 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
6589
1bfb7291
AJ
65902012-05-14 Andreas Jaeger <aj@suse.de>
6591
caae5a81
AJ
6592 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
6593 it's not used in glibc.
6594 (__coshm1): Likewise.
6595 (__acosh1p): Likewise.
6596 (__sgn): Likewise.
6597
1bfb7291
AJ
6598 * manual/string.texi (Copying and Concatenation): Add missing
6599 variable in concat example.
6600 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6601
c044d724
L
66022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6603
144c5467 6604 [BZ #14103]
c044d724
L
6605 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
6606 __builtin_clzl with __builtin_clzll.
6607
2523c62b
L
66082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6609
6610 [BZ #14104]
6611 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
6612 libc_freeres_ptr.
6613
d7bb4c42
LD
66142012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6615
6616 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
6617 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
6618 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
6619 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
6620
9dc4e1fb
MF
66212012-05-14 Mike Frysinger <vapier@gentoo.org>
6622
6623 * NEWS: Update ia64 info.
6624
c7df0112
AS
66252012-05-12 Andreas Schwab <schwab@linux-m68k.org>
6626
6627 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
6628 used as bcopy.
6629
dc70356c
TS
66302012-05-12 Thomas Schwinge <thomas@codesourcery.com>
6631
6632 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
6633 * sysdeps/unix/syscalls.list (dup3): Likewise.
6634 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
6635 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
6636
9fb1a21f
L
66372012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6638
6639 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
6640 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
6641
4822a2a5
L
66422012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6643
6644 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
6645 thread pointer.
6646 (TLS_IE): Use mov/add instead of movq/addq to load thread
6647 pointer.
6648 (TLS_GD_PREFIX): New.
6649 (TLS_GD): Use it.
6650
842b81d6
DM
66512012-05-11 David S. Miller <davem@davemloft.net>
6652
6653 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
6654 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
6655 (_FPU_SETCW): Likewise.
6656
1cf463cd
L
66572012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6658
6659 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
6660 is 32-byte aligned.
6661
60cc4a18
AS
66622012-05-11 Andreas Schwab <schwab@linux-m68k.org>
6663
6664 [BZ #11837]
6665 * iconvdata/gb18030.c: Update tables.
6666 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
6667 characters specially.
6668 (BODY for TO_LOOP): Add encoding of missing ranges.
6669
febb44a4
TS
66702012-05-11 Thomas Schwinge <thomas@codesourcery.com>
6671
6672 [BZ #13673]
6673 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
6674 * sysdeps/mach/hurd/dup3.c: Likewise.
6675 * sysdeps/mach/hurd/readlinkat.c: Likewise.
6676 * sysdeps/powerpc/memmove.c:: Likewise.
6677
0a10fb9e
L
66782012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6679
6680 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
6681 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
6682
df8a552f
L
66832012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6684
6685 * elf/elf.h (R_X86_64_RELATIVE64): New.
6686 (R_X86_64_NUM): Updated.
6687 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6688 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
6689 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
6690 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
6691 tst-quad1pie tst-quad2pie
6692 (modules-names): Add tst-quadmod1 tst-quadmod2.
6693 ($(objpfx)tst-quad1): New dependency.
6694 ($(objpfx)tst-quad2): Likewise.
6695 ($(objpfx)tst-quad1pie): Likewise.
6696 ($(objpfx)tst-quad2pie): Likewise.
6697 * sysdeps/x86_64/tst-quad1.c: New file.
6698 * sysdeps/x86_64/tst-quad1pie.c: New file.
6699 * sysdeps/x86_64/tst-quad2.c: Likewise.
6700 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
6701 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
6702 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
6703 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
6704 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
6705
f34d6f84
ST
67062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6707
f42d41d1
ST
6708 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
6709 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
6710 * streams/stropts.h (t_scalar_t): Define type.
6711
3c3571fc
ST
6712 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
6713 (_PATH_PRESERVE): Set to "/var/lib".
6714 (_PATH_RWHODIR): Set to "/var/spool/rwho".
6715
61f06bd3
ST
6716 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
6717 instead of int.
6718
918d4d71
ST
6719 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
6720 if __dir_mkfile succeeded.
6721
f34d6f84
ST
6722 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
6723 checking for _hurd_dtablesize. Unlock it right after having
6724 finished _hurd_dtable allocation.
6725
10589b4a
TS
67262012-05-10 Thomas Schwinge <thomas@schwinge.name>
6727
674cdbc7
TS
6728 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
6729 * sysdeps/mach/hurd/configure: Regenerated.
6730 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
6731 special-casing to...
6732 * sysdeps/gnu/configure.in: ... this new file.
6733 * sysdeps/unix/sysv/linux/configure: Regenerated.
6734 * sysdeps/gnu/configure: New generated file.
6735
8e41b99f
TS
6736 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
6737 for Linux: use nsec instead of usec, as well as:
6738 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
6739 members of type struct timespec.
6740 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
6741 New macros.
6742 (struct stat64): Likewise.
6743 (_STATBUF_ST_NSEC): New macro.
6744 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
6745
10589b4a
TS
6746 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6747 __strtoul_internal rather than strtoul.
6748
63643c85
PT
67492012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6750
6751 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
6752 and reject them.
6753
3faebe6a
ST
67542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6755
6756 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
6757 which preserves existing values.
6758 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
6759
c6474b07
PT
67602012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6761
6762 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
6763 TIMEOUT values. Return EINVAL for NFDS values either negative or
6764 greater than FD_SETSIZE.
6765
1043890b
ST
67662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6767
6768 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
6769 allocated, call __vm_protect to finish enabling the existing space, and
6770 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
6771 allocate the remainder.
6772
37ed8b9b
PT
67732012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6774
6775 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
6776 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
6777
db653660
ST
67782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6779
37ed8b9b
PT
6780 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
6781 sysdeps/mach/hurd/readlink.c.
b29d4053 6782
db653660
ST
6783 * posix/tst-sysconf.c (posix_options): Only use
6784 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
6785 _POSIX_SYNCHRONIZED_IO when they are defined
6786 * sysdeps/mach/hurd/bits/posix_opt.h:
6787 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
6788 (_XOPEN_REALTIME): Undefine macro.
6789 (_XOPEN_REALTIME_THREADS): Undefine macro.
6790 (_XOPEN_SHM): Undefine macro.
6791 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
6792 macro to -1.
6793 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
6794 macro to -1.
6795 (_POSIX_ASYNC_IO): Undefine macro.
6796 (_POSIX_PRIORITIZED_IO): Undefine macro.
6797 (_POSIX_SPIN_LOCKS): Define macro to -1.
6798
ee16e894
ST
6799 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
6800 SA_NODEFER, SA_RESETHAND.
6801 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
6802 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
6803 F_DUPFD_CLOEXEC.
6804
6103ae3b
TS
68052012-05-10 Thomas Schwinge <thomas@schwinge.name>
6806
6807 * elf/Makefile (pldd-modules): Define unconditionally.
6808
80b4e5f3
TS
68092012-05-10 Thomas Schwinge <thomas@schwinge.name>
6810
6811 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
6812
edadcbd6
ST
68132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6814
6815 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
6816 Return ENOENT when name is empty.
6817 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
6818
80694780
TS
68192012-05-10 Thomas Schwinge <thomas@schwinge.name>
6820
1792c087
TS
6821 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
6822
80694780
TS
6823 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
6824
6b645f0d
ST
68252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6826
80694780
TS
6827 Fix mlock in all cases except non-readable pages.
6828 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
6829 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 6830
6b645f0d
ST
6831 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
6832 (__mkdir): When path is `/', just fail with EEXIST.
6833 * sysdeps/mach/hurd/mkdirat.c: Likewise.
6834
e468f8a3
TS
68352012-05-10 Thomas Schwinge <thomas@schwinge.name>
6836
6837 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
6838 <sys/uio.h> (for writev).
6839 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
6840 and <sys/param.h> (for MIN).
6841
a4186cff
PT
68422012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6843
6844 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
6845 REQUESTED_TIME. Properly set the remaining time and return EINTR
6846 if interrupted.
6847
510bbf14
TS
68482012-05-10 Thomas Schwinge <thomas@schwinge.name>
6849
6850 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
6851 Depend on against $(link-rpcuserlibs).
6852
5d5722e8
ST
68532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6854
a4186cff
PT
6855 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
6856 (__libc_stack_end): Do not use attribute_relro.
6857 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
6858 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 6859 to libthread-provided value.
a4186cff
PT
6860 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
6861 attribute_relro.
5d5722e8 6862
37233df9
TS
68632012-05-10 Thomas Schwinge <thomas@schwinge.name>
6864
be971a2b
TS
6865 [BZ #3748]
6866 * bits/libc-lock.h (__libc_once_get): New macro.
6867 * sysdeps/mach/bits/libc-lock.h: Likewise.
6868 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
6869 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
6870 instead of using implementation details.
6871
37233df9
TS
6872 * libio/fileops.c: Unconditionally include <kernel-features.h>.
6873 * libio/freopen.c: Likewise.
6874 * libio/freopen64.c: Likewise.
6875 * misc/syslog.c: Likewise.
6876 * nscd/connections.c: Likewise.
6877 * nscd/netgroupcache.c: Likewise.
6878 * sysdeps/posix/getcwd.c: Likewise.
6879
38de94a5
RM
68802012-05-10 Roland McGrath <roland@hack.frob.com>
6881
6882 * math/w_ilogbf.c: Add #include <limits.h>.
6883
67530489
ST
68842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6885
a4186cff 6886 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
6887 path instead of returning without unlocking.
6888
67530489
ST
6889 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
6890 immediate-write ioctls.
6891 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
6892
5aa3a74a
TS
68932012-05-10 Thomas Schwinge <thomas@schwinge.name>
6894
18bad2ae
TS
6895 * sysdeps/mach/hurd/i386/init-first.c (init): Use
6896 __builtin_frame_address instead of making assumptions about the
6897 location of the return address relative to DATA. Force early load of
6898 the return address.
6899 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
6900 __builtin_frame_address.
6901
5aa3a74a
TS
6902 dup3 for GNU Hurd.
6903 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
6904 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
6905 implement dup3 and do some further code clean-ups.
6906 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
6907 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
6908
ecd0de9a
ST
69092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6910
cd9fa985
ST
6911 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
6912
a4186cff
PT
6913 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
6914 HURD_CRITICAL_END around holding _hurd_dtable_lock.
6915 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
6916 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
6917 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
6918 d->port.lock.
802ca5a5 6919
a4186cff
PT
6920 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
6921 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
6922 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 6923
bcf55240
TS
69242012-05-10 Thomas Schwinge <thomas@schwinge.name>
6925
6960eb42
TS
6926 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
6927 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
6928 definitions.
6929
eb43375f
TS
6930 accept4 for GNU Hurd.
6931 * include/sys/socket.h (__libc_accept4): New prototype.
6932 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
6933 to implement __libc_accept4.
6934 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
6935 __libc_accept4.
6936 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
6937
bcf55240
TS
6938 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
6939 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
6940 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
6941 signal-defines.sym.
6942
6178c55b
ST
69432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6944
a4186cff 6945 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 6946
6f080c2f
TS
69472012-05-10 Thomas Schwinge <thomas@schwinge.name>
6948
6949 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
6950 assertion on O_CLOEXEC flag.
6951 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
6952 * hurd/intern-fd.c: Likewise.
6953 * hurd/port2fd.c: Likewise.
6954
bcfe3a54
ST
69552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6956
6957 [BZ #3906]
6958 * bits/in.h (IPV6_PKTINFO): Define new macro.
6959 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
6960
89c9aa49
AZ
69612012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6962
6963 [BZ #13954]
6964 [BZ #13955]
6965 [BZ #13956]
6966 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
6967 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6968 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
6969 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6970 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6971 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6972 * math/libm-test.inc (logb_test) : Additional logb tests.
6973
021db4be
AJ
69742012-05-09 Andreas Schwab <schwab@linux-m68k.org>
6975 Andreas Jaeger <aj@suse.de>
6976
6977 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
6978 * configure: Regenerated.
6979 * config.h.in (LINK_OBSOLETE_RPC): New macro.
6980 * config.make.in (link-obsolete-rpc): New substituted variable.
6981 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
6982 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
6983 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6984 (shared-only-routines): Don't set it under [link-obsolete-rpc],
6985 so that libc.a contains the symbols.
6986 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6987 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
6988 * sunrpc/auth_none.c: Likewise.
6989 * sunrpc/auth_unix.c: Likewise.
6990 * sunrpc/authdes_prot.c: Likewise.
6991 * sunrpc/authuxprot.c: Likewise.
6992 * sunrpc/clnt_gen.c: Likewise.
6993 * sunrpc/clnt_perr.c: Likewise.
6994 * sunrpc/clnt_raw.c: Likewise.
6995 * sunrpc/clnt_simp.c: Likewise.
6996 * sunrpc/clnt_tcp.c: Likewise.
6997 * sunrpc/clnt_udp.c: Likewise.
6998 * sunrpc/clnt_unix.c: Likewise.
6999 * sunrpc/des_crypt.c: Likewise.
7000 * sunrpc/des_soft.c: Likewise.
7001 * sunrpc/get_myaddr.c: Likewise.
7002 * sunrpc/key_call.c: Likewise.
7003 * sunrpc/key_prot.c: Likewise.
7004 * sunrpc/netname.c: Likewise.
7005 * sunrpc/pm_getmaps.c: Likewise.
7006 * sunrpc/pm_getport.c: Likewise.
7007 * sunrpc/pmap_clnt.c: Likewise.
7008 * sunrpc/pmap_prot.c: Likewise.
7009 * sunrpc/pmap_prot2.c: Likewise.
7010 * sunrpc/pmap_rmt.c: Likewise.
7011 * sunrpc/publickey.c: Likewise.
7012 * sunrpc/rpc_cmsg.c: Likewise.
7013 * sunrpc/rpc_common.c: Likewise.
7014 * sunrpc/rpc_dtable.c: Likewise.
7015 * sunrpc/rpc_prot.c: Likewise.
7016 * sunrpc/rpc_thread.c: Likewise.
7017 * sunrpc/rtime.c: Likewise.
7018 * sunrpc/svc.c: Likewise.
7019 * sunrpc/svc_auth.c: Likewise.
7020 * sunrpc/svc_raw.c: Likewise.
7021 * sunrpc/svc_run.c: Likewise.
7022 * sunrpc/svc_tcp.c: Likewise.
7023 * sunrpc/svc_udp.c: Likewise.
7024 * sunrpc/svc_unix.c: Likewise.
7025 * sunrpc/svcauth_des.c: Likewise.
7026 * sunrpc/xcrypt.c: Likewise.
7027 * sunrpc/xdr.c: Likewise.
7028 * sunrpc/xdr_array.c: Likewise.
7029 * sunrpc/xdr_float.c: Likewise.
7030 * sunrpc/xdr_intXX_t.c: Likewise.
7031 * sunrpc/xdr_mem.c: Likewise.
7032 * sunrpc/xdr_rec.c: Likewise.
7033 * sunrpc/xdr_ref.c: Likewise.
7034 * sunrpc/xdr_sizeof.c: Likewise.
7035 * sunrpc/xdr_stdio.c: Likewise.
7036
b5c086a2
RM
70372012-05-10 Roland McGrath <roland@hack.frob.com>
7038
7039 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
7040 change. Update copyright years.
7041
6d74dd09
JM
70422012-05-10 Joseph Myers <joseph@codesourcery.com>
7043
7044 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
7045
28e72501
MK
70462012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
7047 Joseph Myers <joseph@codesourcery.com>
7048 Paul Pluzhnikov <ppluzhnikov@google.com>
7049
7050 [BZ #14012]
7051 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
7052 requiring rpcgen.
7053 [cross-compiling] (extra-libs): Likewise.
7054 [cross-compiling] (extra-libs-others): Likewise.
7055 [cross-compiling] (librpcsvc-routines): Likewise.
7056 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
7057 [cross-compiling] (omit-deps): Likewise.
7058 (sunrpc-CPPFLAGS): New variable.
7059 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
7060 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
7061 (cross-rpcgen-objs): New variable.
7062 (extra-objs): Append $(cross-rpcgen-objs).
7063 ($(cross-rpcgen-objs)): New rule.
7064 ($(objpfx)cross-rpcgen): Likewise.
7065 (rpcgen-cmd): Define to use $(built-program-file). Expand
7066 comment.
7067 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
7068 ($(objpfx)x%.stmp): Likewise.
7069 * sunrpc/proto.h [IS_IN_build] (_): Define.
7070 [IS_IN_build] (_libc_intl_domainname): Likewise.
7071
c8c59454
L
70722012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7073
7074 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
7075 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
7076 and R_X86_64_TPOFF64.
7077
6f27cd16
JM
70782012-05-10 Joseph Myers <joseph@codesourcery.com>
7079
7080 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
7081 sysdeps/unix/sysv/syscalls.list.
7082 (stime): Likewise.
7083 (utime): Likewise.
7084 * sysdeps/unix/sysv/syscalls.list: Remove file.
7085
02467e1c
PE
70862012-05-10 Paul Eggert <eggert@cs.ucla.edu>
7087
7088 [BZ #3440]
7089 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
7090 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
7091 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
7092 (__LC_IDENTIFICATION): Make these macros useful in #if
7093 expressions, as required by C99.
7094
da392631
AS
70952012-05-10 Andreas Schwab <schwab@linux-m68k.org>
7096
7097 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
7098 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
7099 after this.
7100
8115f29b
L
71012012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7102
7103 * stdlib/longlong.h: Updated from GCC.
7104
bdd74070
AJ
71052012-05-09 Andreas Jaeger <aj@suse.de>
7106
edfe0dbe
AJ
7107 * nscd/nscd.c (run_modes): Make named enum, reorder so that
7108 default is first entry.
7109 (run_mode): Set type.
7110 (main): Remove informal message about syslog.
7111 (options): Fix typo.
7112
bcfe3a54
ST
7113 [BZ #14053]
7114 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 7115 to asm.
bcfe3a54
ST
7116 (lrint): Likewise.
7117 (llrintf): Likewise.
7118 (llrint): Likewise.
7119 (rint): Likewise.
7120 (rintf): Likewise.
7121 (nearbyint): Likewise.
7122 (nearbyintf): Likewise.
bdd74070 7123
91d8d69e
AJ
71242012-05-09 Andreas Jaeger <aj@suse.de>
7125 Pedro Alves <palves@redhat.com>
7126
7127 * nscd/nscd.c (run_mode): Use enum.
7128 (main): Cleanup coding style issue.
7129
bb90b80b
AJ
71302012-05-09 Alexandre Oliva <aoliva@redhat.com>
7131 Andreas Jaeger <aj@suse.de>
7132
bcfe3a54
ST
7133 * nscd/nscd.c (go_background): Replaced with...
7134 (run_mode): ... this.
bb90b80b 7135 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
7136 (options): Add -F --foreground.
7137 (main): Implement it.
7138 (parse_opt): Parse it.
bb90b80b 7139
1a4b75a1
AJ
71402012-05-09 Andreas Jaeger <aj@suse.de>
7141
7142 [BZ #14083]
7143 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
7144 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
7145 -Wconversion warning.
7146 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
7147 Likewise.
7148
b1cc2472
JM
71492012-05-09 Joseph Myers <joseph@codesourcery.com>
7150
7151 * conform/data/locale.h-data (NULL): Use macro-constant. Require
7152 == 0.
7153 (LC_ALL): Use macro-int-constant.
7154 (LC_COLLATE): Likewise.
7155 (LC_CTYPE): Likewise.
7156 (LC_MESSAGES): Likewise.
7157 (LC_MONETARY): Likewise.
7158 (LC_NUMERIC): Likewise.
7159 (LC_TIME): Likewise.
7160 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
7161 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7162 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7163 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
7164 Specify type.
7165 [C99-based standards] (float_t): Expect type.
7166 [C99-based standards] (double_t): Expect type.
7167 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
7168 type.
7169 [C99-based standards] (HUGE_VALL): Likewise.
7170 [C99-based standards] (INFINITY): Likewise.
7171 [C99-based standards] (NAN): Likewise.
7172 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
7173 [C99-based standards] (FP_NAN): Likewise.
7174 [C99-based standards] (FP_NORMAL): Likewise.
7175 [C99-based standards] (FP_SUBNORMAL): Likewise.
7176 [C99-based standards] (FP_ZERO): Likewise.
7177 [C99-based standards] (FP_FAST_FMA): Use
7178 optional-macro-int-constant. Specify type. Require == 1.
7179 [C99-based standards] (FP_FAST_FMAF): Likewise.
7180 [C99-based standards] (FP_FAST_FMAL): Likewise.
7181 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
7182 [C99-based standards] (FP_ILOGBNAN): Likewise.
7183 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
7184 Specify type.
7185 [C99-based standards] (MATH_ERREXCEPT): Likewise.
7186 [C99-based standards] (math_errhandling): Specify type.
7187 [ISO99 || ISO11] (signgam): Do not allow.
7188 [non-C99-based standards] (copysignf): Do not allow.
7189 [non-C99-based standards] (exp2f): Likewise.
7190 [non-C99-based standards] (log2f): Likewise.
7191 [non-C99-based standards] (modff): Allow.
7192 [non-C99-based standards] (erff): Do not allow.
7193 [non-C99-based standards] (erfcf): Likewise.
7194 [non-C99-based standards] (gammaf): Likewise.
7195 [non-C99-based standards] (hypotf): Likewise.
7196 [non-C99-based standards] (j0f): Likewise.
7197 [non-C99-based standards] (j1f): Likewise.
7198 [non-C99-based standards] (jnf): Likewise.
7199 [non-C99-based standards] (lgammaf): Likewise.
7200 [non-C99-based standards] (tgammaf): Likewise.
7201 [non-C99-based standards] (y0f): Likewise.
7202 [non-C99-based standards] (y1f): Likewise.
7203 [non-C99-based standards] (ynf): Likewise.
7204 [non-C99-based standards] (isnanf): Likewise.
7205 [non-C99-based standards] (acoshf): Likewise.
7206 [non-C99-based standards] (asinhf): Likewise.
7207 [non-C99-based standards] (atanhf): Likewise.
7208 [non-C99-based standards] (cbrtf): Likewise.
7209 [non-C99-based standards] (expm1f): Likewise.
7210 [non-C99-based standards] (ilogbf): Likewise.
7211 [non-C99-based standards] (log1pf): Likewise.
7212 [non-C99-based standards] (logbf): Likewise.
7213 [non-C99-based standards] (nextafterf): Likewise.
7214 [non-C99-based standards] (remainderf): Likewise.
7215 [non-C99-based standards] (rintf): Likewise.
7216 [non-C99-based standards] (scalbf): Likewise.
7217 [non-C99-based standards] (copysignl): Likewise.
7218 [non-C99-based standards] (exp2l): Likewise.
7219 [non-C99-based standards] (log2l): Likewise.
7220 [non-C99-based standards] (modfl): Allow.
7221 [non-C99-based standards] (erfl): Do not allow.
7222 [non-C99-based standards] (erfcl): Likewise.
7223 [non-C99-based standards] (gammal): Likewise.
7224 [non-C99-based standards] (hypotl): Likewise.
7225 [non-C99-based standards] (j0l): Likewise.
7226 [non-C99-based standards] (j1l): Likewise.
7227 [non-C99-based standards] (jnl): Likewise.
7228 [non-C99-based standards] (lgammal): Likewise.
7229 [non-C99-based standards] (tgammal): Likewise.
7230 [non-C99-based standards] (y0l): Likewise.
7231 [non-C99-based standards] (y1l): Likewise.
7232 [non-C99-based standards] (ynl): Likewise.
7233 [non-C99-based standards] (isnanl): Likewise.
7234 [non-C99-based standards] (acoshl): Likewise.
7235 [non-C99-based standards] (asinhl): Likewise.
7236 [non-C99-based standards] (atanhl): Likewise.
7237 [non-C99-based standards] (cbrtl): Likewise.
7238 [non-C99-based standards] (expm1l): Likewise.
7239 [non-C99-based standards] (ilogbl): Likewise.
7240 [non-C99-based standards] (log1pl): Likewise.
7241 [non-C99-based standards] (logbl): Likewise.
7242 [non-C99-based standards] (nextafterl): Likewise.
7243 [non-C99-based standards] (remainderl): Likewise.
7244 [non-C99-based standards] (rintl): Likewise.
7245 [non-C99-based standards] (scalbl): Likewise.
7246 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7247 [non-C99-based standards] (FP_*): Do not allow.
7248 [C99-based standards] (FP_*): Change to
7249 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7250 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7251 allow.
7252 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
7253 (SIG_ERR): Likewise.
7254 [X/Open-based standards] (SIG_HOLD): Likewise.
7255 (SIG_IGN): Likewise.
7256 (SIGABRT): Use macro-int-constant. Specify type. Require
7257 positive value.
7258 (SIGFPE): Likewise.
7259 (SIGILL): Likewise.
7260 (SIGINT): Likewise.
7261 (SIGSEGV): Likewise.
7262 (SIGTER): Likewise.
7263 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
7264 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
7265 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
7266 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
7267 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
7268 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
7269 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
7270 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
7271 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
7272 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
7273 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
7274 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
7275 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
7276 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
7277 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
7278 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
7279 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
7280 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
7281 [X/Open-based standards] (SIGTRAP): Likewise.
7282 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
7283 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
7284 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
7285 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
7286 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7287 allow.
7288
b9f1922d
IW
72892012-05-08 Ian Wienand <ianw@vmware.com>
7290
7291 [BZ #14080]
7292 * time/tzset.c (__tzset_parse_tz): Update default rules for
7293 daylight time changes in the Energy Policy Act of 2005.
7294
1db86e88
AJ
72952012-05-09 Andreas Jaeger <aj@suse.de>
7296
7297 [BZ #13983]
7298 * elf/ldconfig.c (parse_conf): Change string to make clear that
7299 ldconfig only issued a warning if ld.so.conf does not exist.
7300
dee4a4e3
DM
73012012-05-08 David S. Miller <davem@davemloft.net>
7302
ee0db190
DM
7303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
7304 movxtod instead of popping the value on the stack.
7305
dee4a4e3
DM
7306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7307
6a43ec98
CD
73082012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
7309
7310 * config.h.in: Add HAVE_ARM_PCS_VFP.
7311
05c2c961
RMG
73122012-05-08 Roland Mc Grath <roland@hack.frob.com>
7313
bcfe3a54
ST
7314 [BZ #13979]
7315 * include/features.h: Warn if user requests __FORTIFY_SOURCE
7316 checking but the checks are disabled for any reason.
05c2c961 7317
4b30f61a
L
73182012-05-08 H.J. Lu <hongjiu.lu@intel.com>
7319
7320 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
7321 and ELF64_R_TYPE with ELFW(R_TYPE).
7322
eee2bc67
JM
73232012-05-08 Joseph Myers <joseph@codesourcery.com>
7324
7ea5391a
JM
7325 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
7326 (ulimit): Likewise.
7327
eee2bc67
JM
7328 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
7329 (settimeofday): Likewise.
7330
abb66a67
MF
73312012-05-08 Mike Frysinger <vapier@gentoo.org>
7332
7333 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
7334 a struct th_u2 inside the union, and move tu_block/tu_code into
7335 a new th_u3 union of tu_block/tu_code inside of that. Move
7336 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
7337 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
7338 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
7339 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
7340 (th_stuff): Change to th_u1.tu_stuff.
7341 (th_data): Define.
7342 (th_msg): Change to th_u1.th_u2.tu_data.
7343
7f18b530
DM
73442012-05-07 David S. Miller <davem@davemloft.net>
7345
05760585
DM
7346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7347
7f18b530
DM
7348 [BZ #14074]
7349 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
7350 (SETUP_PIC_REG): Use it.
7351 (SETUP_PIC_REG_LEAF): Use it.
7352
495fd99f
JM
73532012-05-07 Joseph Myers <joseph@codesourcery.com>
7354
7355 [BZ #13885]
7356 [BZ #13923]
7357 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7358 USE_AS_EXPM1L.
7359 (EXPL_FINITE): Likewise.
7360 (FLDLOG): Likewise.
7361 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7362 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7363 e_expl.S.
7364 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7365 USE_AS_EXPM1L.
7366 (EXPL_FINITE): Likewise.
7367 (FLDLOG): Likewise.
7368 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7369 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7370 e_expl.S.
7371 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
7372 test of -max_value argument for long double.
7373 * sysdeps/i386/fpu/libm-test-ulps: Update.
7374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7375
6693d694
DM
73762012-05-06 David S. Miller <davem@davemloft.net>
7377
7378 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
7379 quad soft-float symbols whose references which are compiler
7380 generated.
7381 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7382
6c23e11c
JM
73832012-05-06 Joseph Myers <joseph@codesourcery.com>
7384
d8b82cad
JM
7385 [BZ #13884]
7386 [BZ #13914]
7387 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7388 USE_AS_EXP10L.
7389 (EXPL_FINITE): Likewise.
7390 (FLDLOG): Likewise.
7391 (c0): Likewise.
7392 (c1): Likewise.
7393 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7394 Adjust comments for base varying.
7395 (__expl_finite): Change alias to EXPL_FINITE.
7396 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
7397 e_expl.S.
7398 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
7399 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7400 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7401 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
7402 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7403 USE_AS_EXP10L.
7404 (EXPL_FINITE): Likewise.
7405 (FLDLOG): Likewise.
7406 (c0): Likewise.
7407 (c1): Likewise.
7408 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7409 Adjust comments for base varying.
7410 (__expl_finite): Change alias to EXPL_FINITE.
7411 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
7412 tests for bugs.
7413 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7414
6c23e11c
JM
7415 [BZ #14064]
7416 * math/libm-test.inc (check_float_internal): Correct ulp
7417 calculation for subnormal expected results.
7418
29ba805c
AJ
74192012-05-06 Andreas Jaeger <aj@suse.de>
7420
7421 * Makeconfig (+math-flags): New, set to -frounding-math.
7422 (+cflags): Add +math-flags so that all of glibc gets compiled with
7423 it.
7424
7425 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
7426
7b17aeda
JM
74272012-05-05 Joseph Myers <joseph@codesourcery.com>
7428
5779f134
JM
7429 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
7430 Disable one test.
7431
41498f4d
JM
7432 [BZ #13787]
7433 [BZ #13922]
7434 [BZ #14036]
7435 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
7436 (__ieee754_expl): Allow for and saturate large arguments.
7437 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
7438 (u_threshold): Likewise.
7439 (__exp): Call __ieee754_exp before checking for overflow and
7440 underflow.
7441 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
7442 (u_threshold): Likewise.
7443 (__expf): Call __ieee754_expf before checking for overflow and
7444 underflow.
7445 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
7446 (u_threshold): Likewise.
7447 (__expl): Call __ieee754_expl before checking for overflow and
7448 underflow.
7449 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
7450 (__ieee754_expl): Allow for and saturate large arguments.
7451 * math/libm-test.inc (exp_test): Add another test. Do not allow
7452 missing overflow exception on overflow.
7453 (expm1_test): Do not allow missing overflow exception on overflow.
7454
6698b8bf
JM
7455 * sysdeps/i386/fpu/e_expl.c: Move to ...
7456 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
7457 rather than using inline asm.
7458 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
7459 * sysdeps/x86_64/fpu/e_expl.S: Copy from
7460 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
7461
7b17aeda
JM
7462 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
7463 (nice): Likewise.
7464 (poll): Likewise.
7465 (signal): Likewise.
7466 (time): Likewise.
7467 (times): Likewise.
7468
f7c85819
JM
74692012-05-04 Joseph Myers <joseph@codesourcery.com>
7470
7471 * sysdeps/unix/syscalls.list (adjtime): Add entry from
7472 sysdeps/unix/common/syscalls.list.
7473 (fchmod): Likewise.
7474 (fchown): Likewise.
7475 (ftruncate): Likewise.
7476 (getrusage): Likewise.
7477 (gettimeofday): Likewise.
7478 (setpgid): Likewise.
7479 (setregid): Likewise.
7480 (setreuid): Likewise.
7481 (sigaction): Likewise.
7482 (truncate): Likewise.
7483 (vhangup): Likewise.
7484 * sysdeps/unix/common/syscalls.list: Remove file.
7485 * sysdeps/unix/bsd/Implies: Don't include unix/common.
7486 * sysdeps/unix/sysv/linux/Implies: Likewise.
7487
336270d0
L
74882012-05-04 H.J. Lu <hongjiu.lu@intel.com>
7489
7490 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
7491 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
7492 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
7493 Moved to ...
7494 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7495 Here.
7496 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
7497 to ...
7498 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
7499 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
7500 to ...
7501 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
7502 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
7503 to ...
7504 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
7505 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
7506 to ...
7507 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
7508 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
7509 to ...
7510 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
7511 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
7512 to ...
7513 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
7514 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
7515 to ...
7516 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7517 Here.
7518 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
7519 to ...
7520 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
7521 Here.
7522 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
7523 to ...
7524 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
7525 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
7526 Moved to ...
7527 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
7528 Here.
7529 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
7530 to ...
7531 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
7532
d128e450
JM
75332012-05-04 Joseph Myers <joseph@codesourcery.com>
7534
fa8ee516
JM
7535 * sysdeps/unix/common/bits/dirent.h: Remove file.
7536 * sysdeps/unix/common/bits/fcntl.h: Likewise.
7537
d128e450
JM
7538 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
7539 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
7540 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
7541 * sysdeps/unix/bsd/isatty.c: Likewise.
7542 * sysdeps/unix/bsd/tcdrain.c: Likewise.
7543 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
7544 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
7545
ff8faaf0 75462012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 7547
62881be4 7548 [BZ #13563]
31dc8730
AZ
7549 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
7550 long double comparison inaccuracies.
7551 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7553
6fef930c
AS
75542012-05-04 Andreas Schwab <schwab@linux-m68k.org>
7555
7556 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
7557 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
7558
8f203e6c
JM
75592012-05-04 Joseph Myers <joseph@codesourcery.com>
7560
7561 [BZ #14049]
7562 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
7563 nonzero digits before rounding a hex value.
7564 * stdlib/tst-strtod.c (tests): Add another test.
7565
5197d9c2
AK
75662012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7567
7568 * sysdeps/s390/fpu/libm-test-ulps: Update.
7569
f0c1dedf
AJ
75702012-05-03 Andreas Jaeger <aj@suse.de>
7571
7572 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
7573 does not get optimized out.
7574 (malloc_opt_barrier): New.
7575
a65ef2ae 75762012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 7577 Roland McGrath <roland@hack.frob.com>
a65ef2ae 7578
2b942cb7 7579 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 7580 intermediate file deletion.
2b942cb7 7581 (generated): Add .symlist files.
a65ef2ae 7582
54b71e02
JM
75832012-05-03 Joseph Myers <joseph@codesourcery.com>
7584
7585 [BZ #13775]
7586 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
7587 Redirect under this condition.
7588 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7589 [__USE_GNU] (__dprintf_chk): Not under this condition.
7590 [__USE_GNU] (__vdprintf_chk): Likewise.
7591 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
7592 under this condition.
7593 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7594 [__USE_XOPEN2K8] (dprintf): Define under this condition.
7595 [__USE_XOPEN2K8] (vdprintf): Likewise.
7596 [__USE_GNU] (__dprintf_chk): Not under this condition.
7597 [__USE_GNU] (__vdprintf_chk): Likewise.
7598 [__USE_GNU] (dprintf): Likewise.
7599 [__USE_GNU] (vdprintf): Likewise.
7600
d3dfcc41
RM
76012012-05-03 Roland McGrath <roland@hack.frob.com>
7602
7603 * elf/Makefile (common-generated): Set this instead of generated for
7604 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
7605 $(all-built-dso)-derived lists.
7606
7ac30cc5
AJ
76072012-05-03 Andreas Jaeger <aj@suse.de>
7608
0c51e550
AJ
7609 * sysdeps/i386/fpu/libm-test-ulps: Update.
7610
7ac30cc5
AJ
7611 * FAQ: Removed.
7612 * FAQ.in: Likewise.
7613 * scripts/gen-FAQ.pl: Likewise.
7614 * manual/install.texi (Installation): Point to online location of
7615 FAQ.
7616 * Makefile (files-for-dist): Remove FAQ.
7617 (FAQ): Remove.
7618
d4c2917f
AM
76192012-05-02 Allan McRae <allan@archlinux.org>
7620
7621 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
7622 (LDFLAGS-reldepmod5.so): Likewise.
7623 (LDFLAGS-reldep6mod1.so): Likewise.
7624 (LDFLAGS-reldep6mod4.so): Likewise.
7625 (LDFLAGS-reldep8mod3.so): Likewise.
7626 (LDFLAGS-unload4mod1.so): Likewise.
7627 (LDFLAGS-unload4mod2.so): Likewise.
7628 (LDFLAGS-tst-initorder): Likewise.
7629 (LDFLAGS-tst-initordera2.so): Likewise.
7630 (LDFLAGS-tst-initordera3.so): Likewise.
7631 (LDFLAGS-tst-initordera4.so): Likewise.
7632 (LDFLAGS-tst-initorderb2.so): Likewise.
7633 (LDFLAGS-noload): Likewise.
7634 (LDFLAGS-next): Likewise.
7635 (LDFLAGS-order2mod1.so): Likewise.
7636 (LDFLAGS-order2mod2.so): Likewise.
7637 (LDFLAGS-tst-initorder2): Likewise.
7638 (LDFLAGS-tst-initorder2a.so): Likewise.
7639 (LDFLAGS-tst-initorder2b.so): Likewise.
7640 (LDFLAGS-tst-initorder2c.so): Likewise.
7641 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
7642
d77f993f
DM
76432012-05-02 David S. Miller <davem@davemloft.net>
7644
7645 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7646
171a70b4
PP
76472012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
7648
7649 [BZ #14055]
7650 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
7651
0be196ad
AJ
76522012-05-02 Andreas Jaeger <aj@suse.de>
7653
7654 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
7655 since we manipulate rounding mode.
7656 (CPPFLAGS-test-idouble.c): Likewise.
7657 (CPPFLAGS-test-ifloat.c): Likewise.
7658 (CFLAGS-test-ldouble.c): Likewise.
7659 (CFLAGS-test-double.c): Likewise.
7660 (CFLAGS-test-float.c): Likewise.
7661 (CFLAGS-test-misc.c): Likewise.
7662 (CFLAGS-test-test-fenv.c): Likewise.
7663
4f9d04aa
AZ
76642012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7665
2b942cb7
RM
7666 [BZ #2550]
7667 [BZ #2570]
7668 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
7669 comparisons to determine direction to adjust input.
4f9d04aa 7670
82a79e7d
RM
76712012-05-01 Roland McGrath <roland@hack.frob.com>
7672
f5a01ca9
RM
7673 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
7674 output to the target.
7675
90fe4186
RM
7676 * scripts/localplt.awk: New file.
7677 * elf/Makefile ($(objpfx)check-localplt): Target removed.
7678 (check-localplt-CFLAGS): Variable removed.
7679 ($(all-built-dso:=.jmprel)): New static pattern rule.
7680 (generated): Add those targets.
7681 (localplt-built-dso): New variable.
7682 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
7683
7684 * elf/check-localplt.c: File removed.
7685
82397ed6
RM
7686 * scripts/check-execstack.awk: New file.
7687 * elf/Makefile ($(objpfx)check-execstack): Target removed.
7688 (check-execstack-CFLAGS): Variable removed.
7689 ($(objpfx)check-execstack.h): Target removed.
7690 ($(objpfx)execstack-default): New target.
7691 (generated): Add that instead of check-execstack.h.
7692 ($(all-built-dso:=.phdr)): New static pattern rule.
7693 (generated): Add those targets.
7694 * elf/check-execstack.c: File removed.
7695
82a79e7d
RM
7696 * scripts/check-textrel.awk: New file.
7697 * elf/Makefile ($(objpfx)check-textrel): Target removed.
7698 (check-textrel-CFLAGS): Variable removed.
7699 (all-built-dso): Use := to define.o
7700 ($(all-built-dso:=.dyn)): New static pattern rule.
7701 (generated): Add those targets.
7702 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
7703 * config.make.in (READELF): New substituted variable.
7704 * elf/check-textrel.c: File removed.
7705
62fde54f 77062012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 7707
615605c9
JM
7708 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7709 allow.
7710 * conform/data/ctype.h-data [C99-based standards] (isblank):
7711 Expect function.
7712 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
7713 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
7714 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7715 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
7716 Specify type. Require positive value.
7717 (EILSEQ): Likewise.
7718 (ERANGE): Likewise.
7719 [ISO || POSIX] (EILSEQ): Do not expect.
7720 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
7721 Specify type. Require positive value.
7722 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
7723 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
7724 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
7725 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
7726 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
7727 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
7728 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
7729 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
7730 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
7731 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
7732 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
7733 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
7734 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
7735 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
7736 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
7737 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
7738 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
7739 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
7740 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
7741 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
7742 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
7743 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
7744 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
7745 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
7746 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
7747 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
7748 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
7749 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
7750 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
7751 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
7752 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
7753 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
7754 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
7755 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
7756 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
7757 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
7758 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
7759 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
7760 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
7761 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
7762 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
7763 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
7764 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
7765 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
7766 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
7767 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
7768 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
7769 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
7770 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
7771 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
7772 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
7773 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
7774 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
7775 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
7776 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
7777 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
7778 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
7779 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
7780 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
7781 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
7782 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
7783 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
7784 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
7785 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
7786 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
7787 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
7788 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
7789 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
7790 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
7791 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
7792 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
7793 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
7794 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
7795 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
7796 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
7797 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
7798 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
7799 Require >= 2.
7800 (FLT_ROUNDS): Expect as macro, not constant.
7801 (FLT_MANT_DIG): Use macro-int-constant.
7802 (DBL_MANT_DIG): Likewise.
7803 (LDBL_MANT_DIG): Likewise.
7804 (FLT_DIG): Likewise.
7805 (DBL_DIG): Likewise.
7806 (LDBL_DIG): Likewise.
7807 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
7808 (DBL_MIN_EXP): Likewise.
7809 (LDBL_MIN_EXP): Likewise.
7810 (FLT_MAX_EXP): Use macro-int-constant.
7811 (DBL_MAX_EXP): Likewise.
7812 (LDBL_MAX_EXP): Likewise.
7813 (FLT_MAX_10_EXP): Likewise.
7814 (DBL_MAX_10_EXP): Likewise.
7815 (LDBL_MAX_10_EXP): Likewise.
7816 (FLT_MAX): Use macro-constant.
7817 (DBL_MAX): Likewise.
7818 (LDBL_MAX): Likewise.
7819 (FLT_EPSILON): Use macro-constant. Give upper bound.
7820 (DBL_EPSILON): Likewise.
7821 (LDBL_EPSILON): Likewise.
7822 (FLT_MIN): Likewise.
7823 (DBL_MIN): Likewise.
7824 (LDBL_MIN): Likewise.
7825 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
7826 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
7827 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
7828 [ISO11] (FLT_HAS_SUBNORM): Likewise.
7829 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
7830 [ISO11] (DBL_DECIMAL_DIG): Likewise.
7831 [ISO11] (FLT_DECIMAL_DIG): Likewise.
7832 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
7833 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
7834 [ISO11] (FLT_TRUE_MIN): Likewise.
7835 [ISO11] (LDBL_TRUE_MIN): Likewise.
7836 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7837 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
7838 (SCHAR_MIN): Use macro-int-constant. Specify type.
7839 (SCHAR_MAX): Likewise.
7840 (UCHAR_MAX): Likewise.
7841 (CHAR_MIN): Likewise.
7842 (CHAR_MAX): Likewise.
7843 (MB_LEN_MAX): Use macro-int-constant.
7844 (SHRT_MIN): Use macro-int-constant. Specify type.
7845 (SHRT_MAX): Likewise.
7846 (USHRT_MAX): Likewise.
7847 (INT_MAX): Likewise.
7848 (INT_MIN): Use macro-int-constant. Specify type. Make upper
7849 bound negative.
7850 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
7851 bound with "U".
7852 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7853 bound with "L".
7854 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
7855 bound negative. Suffix upper bound with "L".
7856 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7857 bound with "UL".
7858 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
7859 Specify type.
7860 [C99-based standards] (LLONG_MAX): Likewise.
7861 [C99-based standards] (ULLONG_MAX): Likewise.
7862 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
7863 == 0.
7864 [ISO11] (max_align_t): Require type.
7865 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7866
c9140a62
JM
7867 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
7868 from $CFLAGS, without defining away __attribute__ calls.
7869 (checknamespace): Use $CFLAGS_namespace.
7870
9af0bf29
JM
7871 * conform/conformtest.pl (@keywords): Only include C99 keywords
7872 for standards based on C99 or C11.
7873
343222a2
JM
7874 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
7875 Disable tests.
7876 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
7877 UNIX98]: Likewise.
7878
661f8cf0
JM
7879 * conform/conformtest.pl: Handle "macro-int-constant" and test for
7880 usability of symbols in #if.
7881
ee74b9cb
JM
7882 * conform/conformtest.pl: If macro or constant types start
7883 "promoted:", expect the symbol to be of the following type
7884 promoted by the integer promotions.
62fde54f 7885
aafc49b3
JM
7886 * conform/conformtest.pl: Parse all "constant" and "macro" lines
7887 in one place. Also handle "macro-constant".
7888
fefdf574
JM
7889 * conform/conformtest.pl: Only accept expected macro values with
7890 "==". Parse all "macro" lines in one place.
7891 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
7892
f2d922fe
JM
7893 * conform/conformtest.pl: Handle braced types on "constant" lines
7894 instead of handling "typed-constant".
7895 * conform/data/signal.h-data: Use "constant" instead of
7896 "typed-constant".
7897
d22956c9
JM
7898 * conform/conformtest.pl: Handle "optional-" at start of lines in
7899 one place rather than duplicating several cases. Handle each
7900 format of "macro" line with initial "optional-".
7901
028e2e38
JM
7902 * conform/conformtest.pl: Only accept expected constant or
7903 optional-constant values with "==". Parse all "constant" lines in
7904 one place. Parse all "optional-constant" lines in one place.
7905 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
7906 * conform/data/fmtmsg.h-data: Likewise.
7907 * conform/data/netinet/in.h-data: Likewise.
7908 * conform/data/tar.h-data: Likewise.
7909 * conform/data/limits.h-data: Use "==" form on "constant" and
7910 "optional-constant" lines.
7911
1b8f2850
JM
7912 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
7913 Use -std=c99 for XOPEN2K.
7914 (@knownproblems): Remove.
7915 (newtoken): Don't check %isknown.
7916
a05a144b
JM
7917 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
7918 Do not expect macro.
7919 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
7920 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
7921 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
7922 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
7923 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
7924 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
7925 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
7926 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
7927 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
7928 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
7929 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
7930 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
7931 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
7932 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
7933 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
7934 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
7935 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
7936 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
7937 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
7938 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
7939 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
7940 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
7941 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
7942 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
7943 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
7944 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
7945 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
7946 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
7947 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
7948 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
7949 [XPG3] (acosh): Likewise.
7950 [XPG3] (asinh): Likewise.
7951 [XPG3] (atanh): Likewise.
7952 [XPG3] (cbrt): Likewise.
7953 [XPG3] (expm1): Likewise.
7954 [XPG3] (ilogb): Likewise.
7955 [XPG3] (log1p): Likewise.
7956 [XPG3] (logb): Likewise.
7957 [XPG3] (nextafter): Likewise.
7958 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
7959 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
7960 [XPG3] (remainder): Likewise.
7961 [XPG3] (rint): Likewise.
7962 [XPG3 || XPG4 || UNIX98] (round): Likewise.
7963 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
7964 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
7965 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
7966 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
7967 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
7968 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
7969 [UNIX98 || XOPEN2K] (scalb): Expect.
7970 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
7971 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
7972 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
7973 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
7974 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
7975 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
7976 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
7977 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
7978 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
7979 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
7980 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
7981 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
7982 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
7983 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
7984 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
7985 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
7986 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
7987 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
7988 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
7989 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
7990 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
7991 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
7992 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
7993 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
7994 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
7995 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
7996 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
7997 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
7998 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
7999 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
8000 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
8001 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
8002 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
8003 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
8004 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
8005 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
8006 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
8007 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
8008 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
8009 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
8010 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
8011 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
8012 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
8013 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
8014 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
8015 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
8016 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
8017 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
8018 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
8019 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
8020 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
8021 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
8022 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
8023 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
8024 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
8025 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
8026 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
8027 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
8028 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
8029 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
8030 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
8031 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
8032 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
8033 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
8034 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
8035 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
8036 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
8037 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
8038 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
8039 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
8040 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
8041 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
8042 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
8043 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
8044 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
8045 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
8046 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
8047 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
8048 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
8049 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
8050 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
8051 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
8052 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
8053 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
8054 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
8055 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
8056 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
8057 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
8058 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
8059 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
8060 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
8061 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
8062 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
8063 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
8064 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
8065 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
8066 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
8067 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
8068 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
8069 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
8070 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
8071 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
8072 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
8073 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
8074 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
8075 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
8076 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
8077 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
8078 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
8079 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
8080 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
8081 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
8082 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
8083 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
8084 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
8085 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
8086 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
8087 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
8088 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
8089 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
8090 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
8091 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
8092 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
8093 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
8094 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
8095 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
8096 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
8097 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
8098 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
8099 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
8100 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
8101 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
8102 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
8103 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
8104 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
8105 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
8106 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
8107
73c5ebe3
JM
8108 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
8109 _XOPEN_SOURCE_EXTENDED for XPG4.
8110
39c33b6c
JM
8111 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
8112
62fde54f
JM
8113 * Makeconfig (localtime): Remove variable.
8114 (inst_localtime-file): Likewise.
8115
0741d64c
AS
81162012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8117
8118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8119 Update.
8120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8121 Update.
8122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8123 Update.
8124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8125 Update.
8126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8127 Update.
8128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
8129 Update.
8130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8131 Update.
8132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
8133 Update.
8134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8135 Update.
8136
7cb029ee
JM
81372012-05-01 Joseph Myers <joseph@codesourcery.com>
8138
8139 [BZ #2550]
8140 [BZ #2570]
8141 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
8142 comparisons to determine direction to adjust input.
8143 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8144 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
8145 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8146 Likewise.
8147 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8148 Likewise.
8149 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8150 Likewise.
8151 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8152 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8153 Likewise.
8154 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8155 Likewise.
8156 * math/libm-test.inc (nexttoward_test): Add more tests.
8157
412bd966
AS
81582012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8159
8160 [BZ #14040]
8161 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
8162 in version GLIBC_2.1, not GLIBC_2.0.
8163 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
8164 Likewise.
8165
9568c0c2
JM
81662012-04-30 Joseph Myers <joseph@codesourcery.com>
8167
adfbc8ac
JM
8168 [BZ #13942]
8169 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
8170 (1 - x) * (1 + x).
8171 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8172 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
8173 * math/libm-test.inc (acos_test): Add more tests.
8174 (asin_test): Likewise.
8175 * sysdeps/i386/fpu/libm-test-ulps: Update.
8176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8177
5ba3cc69
JM
8178 [BZ #14034]
8179 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
8180 of square root.
8181 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
8182 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8183 * math/libm-test.inc (acos_test_tonearest): New function.
8184 (acos_test_towardzero): Likewise.
8185 (acos_test_downward): Likewise.
8186 (acos_test_upward): Likewise.
8187 (asin_test_tonearest): Likewise.
8188 (asin_test_towardzero): Likewise.
8189 (asin_test_downward): Likewise.
8190 (asin_test_upward): Likewise.
8191 (main): Call the new functions.
8192 * sysdeps/i386/fpu/libm-test-ulps: Update.
8193 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8194
9568c0c2
JM
8195 [BZ #13884]
8196 [BZ #13924]
8197 * math/e_exp10.c: Include <float.h>.
8198 (__ieee754_exp10): Handle underflow here rather than multiplying
8199 large negative argument by M_LN10.
8200 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
8201 of __ieee754_expf.
8202 * math/e_exp10l.c: Include <float.h>.
8203 (__ieee754_exp10l): Handle underflow here rather than multiplying
8204 large negative argument by M_LN10l.
8205 * math/libm-test.inc (exp10_test): Add another test. Do not allow
8206 spurious overflow exception on underflow.
8207
5ac3ea17
MP
82082012-04-29 Marek Polacek <polacek@redhat.com>
8209
8210 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
8211 (__fortify_function): New macro.
8212 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
8213 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
8214 __extern_always_inline.
8215 * libio/bits/stdio2.h: Likewise.
8216 * libio/bits/stdio.h: Likewise.
8217 * string/string.h: Likewise.
8218 * string/bits/string3.h: Likewise.
8219 * include/stdio.h: Likewise.
8220 * stdlib/bits/stdlib.h: Likewise.
8221 * stdlib/stdlib.h: Likewise.
8222 * rt/bits/mqueue2.h: Likewise.
8223 * rt/mqueue.h: Likewise.
8224 * posix/bits/unistd.h: Likewise.
8225 * posix/unistd.h: Likewise.
8226 * io/bits/poll2.h: Likewise.
8227 * io/bits/fcntl2.h: Likewise.
8228 * io/fcntl.h: Likewise.
8229 * io/sys/poll.h: Likewise.
8230 * misc/bits/syslog.h: Likewise.
8231 * misc/bits/syslog-ldbl.h: Likewise.
8232 * misc/sys/syslog.h: Likewise.
8233 * socket/bits/socket2.h: Likewise.
8234 * socket/sys/socket.h: Likewise.
8235 * debug/tst-chk1.c: Likewise.
8236 * wcsmbs/bits/wchar2.h: Likewise.
8237 * wcsmbs/bits/wchar-ldbl.h: Likewise.
8238 * wcsmbs/wchar.h: Likewise.
8239
ecf0ebfb
AJ
82402012-04-29 Andreas Jaeger <aj@suse.de>
8241
8242 * Makerules (tests): Remove enable-check-abi protection.
8243 (check-abi-warn): Remove.
8244 (check-abi-%): Remove check-abi-warn usage.
8245
8246 * configure.in: Remove check-abi configure option.
8247 * configure: Regenerated.
8248 * config.make.in (enable-check-abi): Remove.
8249
6d5c57fa
AS
82502012-04-28 Andreas Schwab <schwab@linux-m68k.org>
8251
24c5d07e 8252 [BZ #14033]
ded5180a
AS
8253 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
8254 double functions to double *_finite functions.
8255
7e0d315d
AS
8256 [BZ #13941]
8257 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
8258 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
8259 LDBL_MIN_EXP.
8260 * stdio-common/Makefile (tests): Add tst-sprintf3.
8261 * stdio-common/tst-sprintf3.c: New file.
8262
6d5c57fa
AS
8263 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
8264 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
8265
0749ff8b
JM
82662012-04-28 Joseph Myers <joseph@codesourcery.com>
8267
8268 * conform/conformtest.pl: Remove duplicate typed-constant
8269 handling.
8270
8dbd5d7b
DM
82712012-04-28 David S. Miller <davem@davemloft.net>
8272
8273 * Makerules (%.abilist): Add vpath on sysdep_dirs.
8274 (check-abi-%): Remove AWK script prerequisite and explicit
8275 abilist directory.
8276 (check-abi): Rewrite to just diff the symlist with the abilist.
8277 (config-tls, config-abi-config): Delete, no longer used.
8278 (update-abi-%): Remove AWK script and explicit abilist directory.
8279 (update-abi): Rewrite to simply compare and conditionally copy the
8280 symlist and the sysdep abilist file. Remove update-abi-config
8281 checks.
8282 * abilist/ld.abilist: Remove.
8283 * abilist/libBrokenLocale.abilist: Remove.
8284 * abilist/libanl.abilist: Remove.
8285 * abilist/libcrypt.abilist: Remove.
8286 * abilist/libdl.abilist: Remove.
8287 * abilist/librt.abilist: Remove.
8288 * abilist/libthread_db.abilist: Remove.
8289 * abilist/libutil.abilist: Remove.
8290 * scripts/extract-abilist.awk: Remove.
8291 * scripts/merge-abilist.awk: Remove.
8292 * sysdeps/generic/libcidn.abilist: New file.
8293 * sysdeps/generic/libnss_compat.abilist: New file.
8294 * sysdeps/generic/libnss_db.abilist: New file.
8295 * sysdeps/generic/libnss_dns.abilist: New file.
8296 * sysdeps/generic/libnss_files.abilist: New file.
8297 * sysdeps/generic/libnss_hesiod.abilist: New file.
8298 * sysdeps/generic/libnss_nis.abilist: New file.
8299 * sysdeps/generic/libnss_nisplus.abilist: New file.
8300 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
8301 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
8302 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
8303 file.
8304 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
8305 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
8306 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
8307 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
8308 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
8309 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
8310 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
8311 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
8312 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
8313 file.
8314 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
8315 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
8316 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
8317 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
8318 file.
8319 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
8320 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
8321 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
8322 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
8323 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
8324 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
8325 file.
8326 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
8327 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
8328 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
8329 file.
8330 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
8331 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
8332 New file.
8333 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
8334 New file.
8335 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
8336 New file.
8337 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
8338 New file.
8339 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
8340 New file.
8341 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
8342 New file.
8343 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
8344 New file.
8345 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
8346 New file.
8347 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
8348 New file.
8349 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
8350 New file.
8351 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
8352 New file.
8353 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
8354 New file.
8355 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
8356 New file.
8357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
8358 file.
8359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8360 New file.
8361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8362 New file.
8363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
8364 file.
8365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8366 New file.
8367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8368 New file.
8369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
8370 file.
8371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8372 New file.
8373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8374 New file.
8375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8376 New file.
8377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8378 New file.
8379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8380 New file.
8381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8382 New file.
8383 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
8384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
8385 file.
8386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8387 New file.
8388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
8389 file.
8390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
8391 file.
8392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
8393 file.
8394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
8395 file.
8396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
8397 file.
8398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8399 New file.
8400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
8401 file.
8402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
8403 file.
8404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8405 New file.
8406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
8407 file.
8408 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
8409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
8410 file.
8411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8412 New file.
8413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
8414 file.
8415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
8416 file.
8417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
8418 file.
8419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
8420 file.
8421 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
8422 file.
8423 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8424 New file.
8425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
8426 file.
8427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
8428 file.
8429 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8430 New file.
8431 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
8432 file.
8433 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8434 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
8435 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
8436 file.
8437 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
8438 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
8439 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
8440 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
8441 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
8442 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
8443 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
8444 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
8445 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
8446 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
8447 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
8448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
8449 file.
8450 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8451 New file.
8452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
8453 file.
8454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
8455 file.
8456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
8457 file.
8458 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
8459 file.
8460 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
8461 file.
8462 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8463 New file.
8464 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8465 New file.
8466 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
8467 file.
8468 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8469 New file.
8470 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
8471 file.
8472 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
8473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
8474 file.
8475 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8476 New file.
8477 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
8478 file.
8479 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
8480 file.
8481 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
8482 file.
8483 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
8484 file.
8485 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
8486 file.
8487 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8488 New file.
8489 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8490 New file.
8491 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
8492 file.
8493 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8494 New file.
8495 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
8496 file.
8497
41d73a1b
JM
84982012-04-28 Joseph Myers <joseph@codesourcery.com>
8499
8500 * conform/conformtest.pl: Fix typo in handling typed-constant from
8501 allow-header.
8502
28aeeda4
JM
85032012-04-27 Joseph Myers <joseph@codesourcery.com>
8504
adae8f5e
JM
8505 * README: Cut down references to pre-2.6 Linux kernels and
8506 Linuxthreads. Update lists of configurations in libc and ports
8507 and sort alphabetically. Say "or newer" with Linux kernel version
8508 requirements.
8509
28aeeda4
JM
8510 * config.h.in [IS_IN_build]: Allow compiling without optimization.
8511
a462cb63
RA
85122012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8513
8514 [BZ #887]
8515 * math/libm-test.inc (logb_test_downward): New test to expose
8516 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
8517 rounding mode.
8518
6ad3493e
JM
85192012-04-27 Joseph Myers <joseph@codesourcery.com>
8520
8521 [BZ #14027]
8522 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
8523 to be done.
8524 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
8525 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
8526
2ce4f015
JM
85272012-04-26 Joseph Myers <joseph@codesourcery.com>
8528
5aeb141a
JM
8529 * sysdeps/unix/i386/brk.S: Remove file.
8530 * sysdeps/unix/i386/dl-brk.S: Likewise.
8531 * sysdeps/unix/i386/pipe.S: Likewise.
8532 * sysdeps/unix/i386/sigreturn.S: Likewise.
8533 * sysdeps/unix/i386/syscall.S: Likewise.
8534 * sysdeps/unix/i386/vfork.S: Likewise.
8535 * sysdeps/unix/i386/wait.S: Likewise.
8536
7143acae
JM
8537 * sysdeps/unix/common/tcsendbrk.c: Move to ...
8538 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
8539
2ce4f015
JM
8540 * configure.in (arm*-none*): Do not allow without
8541 --enable-hacker-mode.
8542 (netbsd*): Remove case setting base_os.
8543 (386bsd*): Likewise.
8544 (freebsd*): Likewise.
8545 (bsdi*): Likewise.
8546 (osf*): Likewise.
8547 (sunos*): Likewise.
8548 (ultrix*): Likewise.
8549 (newsos*): Likewise.
8550 (dynix*): Likewise.
8551 (*bsd*): Likewise.
8552 (sysv*): Likewise.
8553 (isc*): Likewise.
8554 (esix*): Likewise.
8555 (sco*): Likewise.
8556 (minix*): Likewise.
8557 (irix4*): Likewise.
8558 (irix6*): Likewise.
8559 (solaris[2-9]*): Likewise.
8560 (none): Likewise.
8561 * configure: Regenerated.
8562
0ac229c8
AZ
85632012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8564
8565 [BZ #11521]
8566 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
8567 overflow or cancellation in calculating denominator.
8568 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
8569 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
8570 down expression to avoid unexpected rounding in newer GCCs.
8571 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
8572
33f244f4
DM
85732012-04-26 David S. Miller <davem@davemloft.net>
8574
8575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
8576 long-double compat symbols.
8577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
8581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
8585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
8588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8590
cfa1f3e8
DM
85912012-04-25 David S. Miller <davem@davemloft.net>
8592
8593 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
8594 HWCAP_* values only after the memory barriers have been defined.
8595 (atomic_full_barrier): Define.
8596 (atomic_read_barrier): Define.
8597 (atomic_write_barrier): Define.
8598
6e236b92
SP
85992012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8600
8601 * shlib-versions: Add libgcc_s version information.
8602 * sysdeps/generic/libgcc_s.h: Remove.
8603 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
8604 libgcc_s.h.
8605 * sysdeps/gnu/unwind-resume.c: Likewise.
8606 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
8607
aab39a09
DM
86082012-04-25 David S. Miller <davem@davemloft.net>
8609
8610 * sysdeps/unix/sparc/brk.S: Delete.
8611 * sysdeps/unix/sparc/dl-brk.S: Delete.
8612 * sysdeps/unix/sparc/pipe.S: Delete.
8613 * sysdeps/unix/sparc/sysdep.S: Delete.
8614 * sysdeps/unix/sparc/sysdep.h: Delete.
8615 * sysdeps/unix/sparc/vfork.S: Delete.
8616 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
8617 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
8618 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
8619 ret_ERRVAL, r0, r1, MOVE): Define.
8620 (JUMPTARGET): Remove.
8621 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
8622 sysdeps/unix/sparc/sysdep.h
8623 (ENTRY, END): Remove.
8624 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8625
a3cc4f48
JM
86262012-04-25 Joseph Myers <joseph@codesourcery.com>
8627
2ed8cda2
JM
8628 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
8629 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
8630 -DIS_IN_build.
8631
35d76d59
JM
8632 * timezone/README: Update upstream location and email address for
8633 tzcode and tzdata.
8634 * timezone/zdump.c: Update from tzcode 2012b.
8635 * timezone/zic.c: Likewise.
8636
a3cc4f48
JM
8637 * configure.in (libc_cv_as_needed): Remove test.
8638 * configure: Regenerated.
8639 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
8640 conditional definition.
8641 [$(have-as-needed) != yes] (no-as-needed): Likewise.
8642 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
8643 * config.make.in (have-as-needed): Remove variable.
8644
ceab42c3
SP
86452012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8646 Paul Pluzhnikov <ppluzhnikov@google.com>
8647
8648 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
8649 strings correctly.
8650
3ce2865f
CLT
86512012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
8652
8653 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
8654 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
8655 * sysdeps/sh/strlen.S: Likewise.
8656
f37e0d68
JM
86572012-04-24 Joseph Myers <joseph@codesourcery.com>
8658
ae186e9a
JM
8659 * sysdeps/unix/fork.S: Remove file.
8660 * sysdeps/unix/i386/fork.S: Likewise.
8661 * sysdeps/unix/sparc/fork.S: Likewise.
8662
b96914af
JM
8663 * sysdeps/unix/system.c: Remove file.
8664 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
8665
f37e0d68
JM
8666 * sysdeps/unix/getegid.S: Remove file.
8667 * sysdeps/unix/geteuid.S: Likewise.
8668
87ef29ca
RM
86692012-04-24 Roland McGrath <roland@hack.frob.com>
8670
83bcd236
RM
8671 * scripts/check-localplt.awk: New file.
8672 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
8673 of diff.
8674 * scripts/data/localplt-generic.data: Add a comment.
8675
87ef29ca
RM
8676 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
8677 NODE when __dir_mkfile failed.
8678 * sysdeps/mach/hurd/symlinkat.c: Likewise.
8679 Reported by Ludovic Courtès <ludo@gnu.org>.
8680
e5a6e567
AJ
86812012-04-24 Andreas Jaeger <aj@suse.de>
8682
8683 * Makerules (common-clean): Also remove gen-as-const-headers
8684 files.
8685
c1820385
JM
86862012-04-24 Joseph Myers <joseph@codesourcery.com>
8687
8688 * Makerules (native-compile): Do not change working directory for
8689 build. Use $(OUTPUT_OPTION) in command.
8690 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
8691
94e02fc4
AZ
86922012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8693
8694 [BZ #13886]
8695 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
8696 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
8697 * math/libm-test.inc (floor_test): Add more tests.
8698 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
8699
3a533ca3
JM
87002012-04-24 Joseph Myers <joseph@codesourcery.com>
8701
940ab4b3
JM
8702 * sysdeps/unix/getdents.c: Remove file.
8703 * sysdeps/unix/sysv/getdents.c: Likewise.
8704 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
8705
90e037bd
JM
8706 * sysdeps/unix/syscalls.list (madvise): Add syscall from
8707 sysdeps/unix/mman/syscalls.list.
8708 (mmap): Likewise.
8709 (mprotect): Likewise.
8710 (msync): Likewise.
8711 (munmap): Likewise.
8712 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
8713 * sysdeps/unix/mman/syscalls.list: Remove.
8714 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
8715
3a533ca3
JM
8716 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
8717 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
8718 * configure: Regenerated.
8719 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
8720 $(libgcc_s_suffix).
8721 * config.make.in (libgcc_s_suffix): Remove variable.
8722
1ad743de
JM
87232012-04-23 Joseph Myers <joseph@codesourcery.com>
8724
4ad451e2
JM
8725 * sysdeps/unix/sysv/gethostname.c: Move to ...
8726 * sysdeps/posix/gethostname.c: ... here.
8727
5e37ce39
JM
8728 * sysdeps/unix/execve.S: Remove file.
8729
1ad743de
JM
8730 * sysdeps/unix/_exit.S: Remove file.
8731
4e681b5b
AJ
87322012-04-23 Andreas Jaeger <aj@suse.de>
8733
8734 [BZ #13739]
8735 * manual/Makefile: Remove make dist support, there's no
8736 need for a stand-alone documentation tar ball.
8737 (TEXI2DVI): Define always, it's not in Makeconfig.
8738 (dist): Removed.
8739 (tar-it): Removed.
8740 (edition): Removed.
8741 (glibc-doc-$(edition).tar): Removed
8742 (%.Z): Removed.
8743 (%.gz): Removed.
8744 (%.uu): Removed.
8745 (ETAGS): Remove, it's in Makeconfig.
8746 (move-if-change): Remove, it's in Makeconfig.
8747
c0baea34
PE
87482013-04-23 Paul Eggert <eggert@cs.ucla.edu>
8749
8750 [BZ #13970]
8751 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
8752 (strtod, strtof, strtold, strtol, strtoul, strtoq)
8753 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
8754 (strtod_l, strtof_l, strtold_l): Remove __wur.
8755 It is not necessarily an error to ignore strtol's return value.
8756 One can reliably look at the stored endptr to decide whether
8757 the number had valid syntax.
8758
7c0616fa
AJ
87592012-04-21 Andreas Jaeger <aj@suse.de>
8760
803cb6b7 8761 [BZ #13739]
7c0616fa
AJ
8762 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
8763
b0fe253f
JM
87642012-04-21 Joseph Myers <joseph@codesourcery.com>
8765
8766 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
8767 * sysdeps/unix/sysv/Versions: Remove file.
8768
8280f22d
MT
87692012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
8770
8771 [BZ #13927]
8772 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8773
75ce411f 87742012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
8775
8776 [BZ #7064]
8777 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
8778 version from __vm86.
8779
097d59fa
JM
87802012-04-20 Joseph Myers <joseph@codesourcery.com>
8781
a90f3bcb
JM
8782 * sysdeps/unix/common/lxstat.c: Remove file.
8783 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
8784
edc7ea78
JM
8785 * sysdeps/unix/sysv/Makefile: Remove file.
8786
cb78c221
JM
8787 * sysdeps/unix/sysv/direct.h: Remove file.
8788
efa6a45f
JM
8789 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
8790 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
8791 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
8792 * sysdeps/unix/sysv/bits/signum.h: Likewise.
8793 * sysdeps/unix/sysv/bits/stat.h: Likewise.
8794 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
8795 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
8796
9c9f2d0c
JM
8797 * sysdeps/unix/sysv/setrlimit.c: Remove file.
8798
4541c83b
JM
8799 * sysdeps/unix/xmknod.c: Remove file.
8800 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
8801
f5d153a0
JM
8802 * sysdeps/unix/sysv/settimeofday.c: Remove file.
8803
aa746595
JM
8804 * sysdeps/unix/sysv/i386/time.S: Remove file.
8805
cce5905e
JM
8806 * sysdeps/unix/fxstat.c: Remove file.
8807 * sysdeps/unix/xstat.c: Likewise.
8808 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
8809
37fa3841
JM
8810 * sysdeps/unix/sysv/sigaction.c: Remove file.
8811
ff1962a3
JM
8812 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
8813 (sysdep_headers): Remove variable.
8814 [termio.h not in sysdep_headers] (generated): Likewise.
8815 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
8816 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
8817 * sysdeps/unix/sysv/tcdrain.c: Likewise.
8818 * sysdeps/unix/sysv/tcflow.c: Likewise.
8819 * sysdeps/unix/sysv/tcflush.c: Likewise.
8820 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
8821 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
8822 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
8823 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
8824 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
8825
e7740d31
JM
8826 * sysdeps/unix/siglist.c: Remove file.
8827
ee06f18b
JM
8828 * sysdeps/unix/getppid.S: Remove file.
8829
097d59fa
JM
8830 * sysdeps/unix/mkdir.c: Remove file.
8831 * sysdeps/unix/rmdir.c: Likewise.
8832
ff3d51ec
AS
88332012-04-19 Andreas Schwab <schwab@linux-m68k.org>
8834
8835 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
8836 ERR_MAX value.
8837 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
8838 errlist-compat value.
8839
50f81fd7
DM
88402012-04-18 David S. Miller <davem@davemloft.net>
8841
8842 * sysdeps/generic/memcopy.h (reg_char): Delete.
8843 * debug/strcat_chk.c: Use char, not reg_char.
8844 * debug/strcpy_chk.c: Likewise.
8845 * debug/strncat_chk.c: Likewise.
8846 * debug/strncpy_chk.c: Likewise.
8847 * string/memchr.c: Likewise.
8848 * string/memrchr.c: Likewise.
8849 * string/rawmemchr.c: Likewise.
8850 * string/strcat.c: Likewise.
8851 * string/strchr.c: Likewise.
8852 * string/strchrnul.c: Likewise.
8853 * string/strcmp.c: Likewise.
8854 * string/strcpy.c: Likewise.
8855 * string/strncat.c: Likewise.
8856 * string/strncmp.c: Likewise.
8857 * string/strncpy.c: Likewise.
8858
8ff41c46
WS
88592012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8860
8861 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
8862 __builtin_memcopy is called when src and dest ranges are known to not
8863 overlap.
8864
6b652f46
WS
88652012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8866
8867 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
8868 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
8869 fwd_align_merge macro call.
8870 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
8871 bwd_align_merge macro call.
8872 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8873
b282631e
WS
88742012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8875
8876 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
8877 bwd_align_merge macros.
8878 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
8879 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
8880 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8881
95aa737c
DM
88822012-04-18 David S. Miller <davem@davemloft.net>
8883
8884 * sysdeps/sparc/sparc64/memcopy.h: Delete.
8885
7a99a614
AJ
88862012-04-18 Andreas Jaeger <aj@suse.de>
8887
8888 [BZ# 6794]
8889 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
8890 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
8891 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8892
8893 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
8894 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
8895 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8896
8897 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
8898 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
8899 Adjust for changed ldbl-128 files.
8900
8901 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
8902 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
8903 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8904
e5270c23
DM
89052012-04-17 David S. Miller <davem@davemloft.net>
8906
8907 * sysdeps/sparc/sparc32/memcopy.h: Delete.
8908
fb5e92c9
AS
89092012-04-17 Andreas Schwab <schwab@linux-m68k.org>
8910
8911 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
8912 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
8913 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
8914 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
8915 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8916 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
8917
76da7265
AZ
89182012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8919
8920 [BZ #6794]
8921 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
8922 * math/libm-test.inc: Add ilogb errno and exception tests.
8923 * math/w_ilogb.c: New file: ilogb wrapper.
8924 * math/w_ilogbf.c: New file: ilogbf wrapper.
8925 * math/w_ilogbl.c: New file: ilogbl wrapper.
8926 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
8927 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
8928 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
8929 exception being thrown with 0.0 as argument.
8930 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
8931 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
8932 exception being thrown with 0.0 as argument.
8933 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
8934 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8935 exception being thrown with 0.0 as argument.
8936 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
8937 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8938 exception being thrown with 0.0 as argument.
8939 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
8940 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 8941 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
8942 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
8943 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
8944 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
8945 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
8946 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
8947 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
8948
0396e69d
PB
89492012-04-17 Petr Baudis <pasky@ucw.cz>
8950
8951 * include/sys/uio.h: Change __vector to __iovec to avoid clash
8952 with altivec.
8953
750b5926
MP
89542012-04-16 Marek Polacek <polacek@redhat.com>
8955
8956 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
8957
751728a1
MP
89582012-04-16 Marek Polacek <polacek@redhat.com>
8959
8960 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
8961 operands of fdivp instruction.
8962
34a27407
L
89632012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8964
8965 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
8966 * elf/tst-auditmod3b.c: Likewise.
8967 * elf/tst-auditmod4b.c: Likewise.
8968 * elf/tst-auditmod5b.c: Likewise.
8969 * elf/tst-auditmod6b.c: Likewise.
8970 * elf/tst-auditmod6c.c: Likewise.
8971 * elf/tst-auditmod7b.c: Likewise.
8972 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
8973 * sysdeps/x86_64/preconfigure.in: Likewise.
8974 * sysdeps/x86_64/preconfigure: Regenerated.
8975
7e73e17d
L
89762012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8977
8978 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
8979 __ILP32__.
8980
c7a6ab72
AB
89812012-04-13 Antoine Balestrat <merkil33@gmail.com>
8982
8983 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8984 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
8985
a9e8e0e0
CL
89862012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
8987
8988 [BZ #13973]
8989 * locale/iso-639.def: Fix gl language name. Spotted by
8990 Yaron Shahrabani.
8991
ec98af7d
RM
89922012-04-12 Roland McGrath <roland@hack.frob.com>
8993
8994 [BZ #2074]
8995 * libio/libio.h (__io_write_fn): Update comment.
8996
247c3ede
PB
89972012-04-12 Petr Baudis <pasky@ucw.cz>
8998
8999 [BZ #2074]
9000 * stdio.texi (Hook Functions): The user provided writer function
9001 is not allowed to return -1.
9002
55939d6d
DM
90032012-04-11 David S. Miller <davem@davemloft.net>
9004
9005 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9006
90020f5a
MF
90072012-04-11 Mike Frysinger <vapier@gentoo.org>
9008
9009 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
9010 Add a leading slash to rtkaio.
9011
288f9098
JM
90122012-04-11 Jim Meyering <meyering@redhat.com>
9013
90020f5a
MF
9014 [BZ #11959]
9015 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
9016 It is not necessarily an error to ignore fwrite's return
9017 value. One can reliably use ferror to test for errors after
9018 the fact.
288f9098 9019
4be2b570
L
90202012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9021
9022 * bits/types.h (__snseconds_t): New type.
9023 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
9024
9025 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
9026 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9027 (__SNSECONDS_T_TYPE): Likewise.
9028 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9029 (__SNSECONDS_T_TYPE): Likewise.
9030 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9031 (__SNSECONDS_T_TYPE): Likewise.
9032
288f9098 90332012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
9034
9035 [BZ #2636]
9036 * manual/time.texi (Processor Time): Return type of times is
9037 elapsed real time since an arbitrary point in the past.
9038 (CPU Time): Move CLK_TCK from here...
9039 (Processor Time): ...to here. Correct description.
9040 * manual/conf.texi (Constants for Sysconf): Correct description of
9041 _SC_CLK_TCK.
9042
d7dd4413
DM
90432012-04-10 David S. Miller <davem@davemloft.net>
9044
9045 [BZ #13967]
9046 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
9047 where the is a gap between DT_REL(A) and DT_JMPREL.
9048
b46068fc
L
90492012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9050
9051 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
9052 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9053 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9054
73d65cc3
SP
90552012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9056
9057 * elf/dl-support.c (_dl_inhibit_cache): New variable.
9058 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
9059 (dl_main): Handle --inhibit-cache.
9060 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
9061 _dl_inhibit_cache.
9062 * elf/dl-load.c (_dl_map_object): Use it.
9063 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
9064
bcc8d661
JM
90652012-04-09 Joseph Myers <joseph@codesourcery.com>
9066
8f9a2fae
JM
9067 [BZ #13872]
9068 * sysdeps/i386/fpu/e_powl.S (p78): New object.
9069 (__ieee754_powl): Saturate large exponents rather than testing for
9070 overflow of y*log2(x).
9071 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9072 * math/libm-test.inc (pow_test): Do not permit spurious overflow
9073 exceptions.
9074
bcc8d661
JM
9075 [BZ #11521]
9076 * math/s_ctan.c: Include <float.h>.
9077 (__ctan): Avoid internal overflow or cancellation in calculating
9078 denominator.
9079 * math/s_ctanf.c: Likewise.
9080 * math/s_ctanl.c: Likewise.
9081 * math/s_ctanh.c: Likewise.
9082 * math/s_ctanhf.c: Likewise.
9083 * math/s_ctanhl.c: Likewise.
9084 * math/libm-test.inc (ctan_test): Add more tests.
9085 (ctanh_test): Likewise.
9086 * sysdeps/i386/fpu/libm-test-ulps: Update.
9087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9088
823fbbb4
AJ
90892012-04-09 Andreas Jaeger <aj@suse.de>
9090
03879793
AJ
9091 [BZ #6894]
9092 * manual/filesys.texi (Directory Entries): Mention that d_namlen
9093 is an optional BSD extension.
9094
823fbbb4
AJ
9095 [BZ #10254]
9096 * manual/stdio.texi (Opening Streams): Document additional fopen
9097 parameters.
9098
8de131cb
RM
90992012-04-09 Roland McGrath <roland@hack.frob.com>
9100
9101 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
9102 %eax without telling the compiler.
9103
c0ed9d7d
CD
91042012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
9105
9106 [BZ # 13963]
9107 * manual/install.texi: Use sourceware.org.
9108
c483f6b4
JM
91092012-04-09 Joseph Myers <joseph@codesourcery.com>
9110
d7dd9453
JM
9111 [BZ #13873]
9112 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
9113 (__ieee754_pow): Generate overflow and underflow using huge*huge
9114 and tiny*tiny rather than just returning constant infinity or zero
9115 for large exponents.
9116 * math/libm-test.inc (pow_test): Require overflow exceptions for
9117 applicable cases of large exponents.
9118
c483f6b4
JM
9119 [BZ #706]
9120 * sysdeps/i386/fpu/e_pow.S (p10): New object.
9121 (__ieee754_pow): Use iterative multiplication algorithm only for
9122 integer exponents with absolute value below 1024. Check for odd
9123 integer exponents when using algorithm for real exponents.
9124 * math/libm-test.inc (pow_test): Add more tests.
9125 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9126
d2de7579
JM
91272012-04-08 Joseph Myers <joseph@codesourcery.com>
9128
9129 [BZ #13705]
9130 * math/libm-test.inc (exp_test): Do not allow overflow exception
9131 on underflow test.
9132
f77f1232
AJ
91332012-04-08 Aurelien Jarno <aurelien@aurel32.net>
9134
9135 [BZ #13705]
9136 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
9137 instead of __kernel_standard_f.
9138
3884932b
MF
91392012-04-08 Mike Frysinger <vapier@gentoo.org>
9140
9141 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
9142 * sysdeps/x86_64/memset_chk.S: Likewise.
9143
54472e9c
AJ
91442012-04-08 Andreas Jaeger <aj@suse.de>
9145
6ab0fbfc
AJ
9146 [BZ #10153]
9147 * manual/startup.texi (Environment Access): Describe return value
9148 for putenv and setenv.
9149
61efba8c
AJ
9150 [BZ #6895]
9151 * manual/filesys.texi (Directory Entries): Add description for
9152 DT_LNK.
9153
95c3f29a
AJ
9154 [BZ #6890]
9155 * manual/filesys.texi (Directory Entries): Clarify that it's file
9156 system not operating system in the description of DT_UNKNOWN.
9157
54472e9c
AJ
9158 [BZ #6578]
9159 * manual/syslog.texi (closelog): Fix reference, it's openlog.
9160
624254b1
SC
91612012-04-08 Stephen Compall <s11@member.fsf.org>
9162
9163 [BZ #6649]
9164 * manual/llio.texi (Opening and Closing Files): Add cross
9165 reference to explain mode argument.
9166
1e4920e0
MF
91672012-04-07 Mike Frysinger <vapier@gentoo.org>
9168
9169 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
9170 * sysdeps/x86_64/memset_chk.S: Likewise.
9171
5ed848f3
DM
91722012-04-07 David S. Miller <davem@davemloft.net>
9173
9174 * elf/elf.h (R_SPARC_WDISP10): Define.
9175 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
9176 R_SPARC_SIZE32.
9177 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
9178 R_SPARC_SIZE64 and R_SPARC_H34.
9179
96154cd8
CD
91802012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
9181
9182 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
9183 conditions and remove no longer applicable assertion.
9184
9904dc47
L
91852012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9186
9187 * bits/byteswap.h: Include <features.h>.
9188 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9189 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9190
f8887d0a
L
91912012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9192
9193 * bits/byteswap.h (__bswap_16): Removed.
9194 Include <bits/byteswap-16.h> to get __bswap_16.
9195 * sysdeps/i386/bits/byteswap.h: Likewise.
9196 * sysdeps/s390/bits/byteswap.h: Likewise.
9197 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9198 * bits/byteswap-16.h: New file.
9199 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9200 * sysdeps/s390/bits/byteswap-16.h: Likewise.
9201 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
9202 * string/Makefile (headers): Add bits/byteswap-16.h.
9203
62470f60
PP
92042012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9205
9206 [BZ #13895]
9207 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
9208 extra indirection.
9209 * nss/Makefile (tests-static, tests): Add tst-nss-static.
9210 * nss/tst-nss-static.c: New.
9211
4dad7bab
RM
92122012-04-06 Robert Millan <rmh@gnu.org>
9213
9214 [BZ #6486]
9215 * manual/llio.texi (File Position Primitive): lseek
9216 refers to WHENCE when it really means OFFSET.
9217
e9142a17
AJ
92182012-04-06 Andreas Jaeger <aj@suse.de>
9219
2c040eff
AJ
9220 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
9221 strncmp declarations.
9222
e9142a17
AJ
9223 * abilist/libc.abilist: Add __poll and __ppoll.
9224
ff9f1c5f
DM
92252012-04-05 David S. Miller <davem@davemloft.net>
9226
dcd2ae90
DM
9227 * scripts/check-local-headers.sh: Accept a host triplet in the
9228 path matched by the exclude regexp.
9229
993eb054
DM
9230 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
9231 definition.
9232 * sysdeps/powerpc/powerpc32/dl-machine.h
9233 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
9234 * sysdeps/s390/s390-32/dl-machine.h
9235 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9236 * sysdeps/sparc/sparc32/dl-machine.h
9237 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9238 * sysdeps/sparc/sparc64/dl-machine.h
9239 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9240
ff9f1c5f
DM
9241 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
9242 lazy binding.
48e2e132 9243 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
9244 undefined symbol errors.
9245
48e2e132 9246 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
9247 DT_NEEDED entries.
9248
e80d6f94
MM
92492012-04-05 Michael Matz <matz@suse.de>
9250
9251 [BZ #13592]
9252 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
9253
349fa79f
AJ
92542012-04-05 Andreas Jaeger <aj@suse.de>
9255
9256 [BZ #13908]
9257 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
9258 comment.
9259
f402708f
KK
92602012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9261
9262 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
9263 which ROUND is no valid rounding mode.
9264
2ecccfc9
KK
92652012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9266
9267 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
9268 read again.
9269 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
9270
8a53f50f
KK
92712012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9272
9273 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
9274 an exception using FPU order intentionally.
9275
92762012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9277
9278 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
9279 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
9280 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
9281 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
9282
d653abb7
SJ
92832012-04-05 Simon Josefsson <simon@josefsson.org>
9284
9285 [BZ #12340]
9286 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
9287 EINVAL when BUFLEN is too smal.
9288
c3b1bf7d
TS
92892012-04-05 Thomas Schwinge <thomas@codesourcery.com>
9290
9291 [BZ #13553]
9292 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
9293 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
9294
b1aa60f3
AJ
92952012-04-03 Andreas Jaeger <aj@suse.de>
9296
c3b1bf7d 9297 [BZ #13938]
67f60a26
AJ
9298 * manual/setjmp.texi (System V contexts): Fix sentence.
9299
b1aa60f3
AJ
9300 [BZ #13926]
9301 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
9302 New macro for this case.
9303 [!__GNUC__] (__bswap_64): New inline function for this case.
9304 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9305 * bits/byteswap.h: Likewise.
9306 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
9307 ull, guard with __GLIBC_HAVE_LONG_LONG.
9308
9309 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
9310 __GLIBC_HAVE_LONG_LONG.
9311
9312 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
9313 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
9314
39c59c35
TMQMF
93152012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9316
9317 [BZ #13691]
9318 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
9319 inptr and inend, rather than using last_ch.
9320
135ffda8
DM
93212012-04-02 David S. Miller <davem@davemloft.net>
9322
9323 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
9324 * stdio-common/printf-parse.h (read_int): Change return type to
9325 'int', return -1 on INT_MAX overflow.
9326 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
9327 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
9328 overflows INT_MAX. Check for overflow of in-format-string precision
9329 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
9330 SIZE_MAX not INT_MAX for integer overflow test.
9331 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
9332 skip the construct in the format string but do not record anything.
9333 * stdio-common/bug22.c: Adjust to test both width/prevision
9334 INT_MAX overflow as well as total length INT_MAX overflow. Check
9335 explicitly for proper errno values.
9336
228c019e
TS
93372012-04-02 Thomas Schwinge <thomas@codesourcery.com>
9338
302cadd3
TS
9339 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
9340 CHAR_MAX.
9341 * string/test-strcmp.c [! WIDE]: Likewise.
9342 * time/tst-mktime2.c: Likewise for INT_MAX.
9343 * string/test-string.h: #include <sys/param.h> for MIN.
9344
228c019e
TS
9345 * csu/init-first.c (__libc_init_first): Call __ctype_init.
9346 * sysdeps/i386/init-first.c (init): Likewise.
9347 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
9348 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
9349 * sysdeps/sh/init-first.c (init): Likewise.
9350
cfa633f5
UD
93512012-04-01 Ulrich Drepper <drepper@gmail.com>
9352
9353 * po/ru.po: Update from translation team.
d1635ef8 9354 * po/vi.po: Likewise.
cfa633f5 9355
6cd0a5ea
SP
93562012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9357
9358 * resolv/nss_dns/dns-host.c: Merge copyright years.
9359
4b43400f
LD
93602012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9361
9362 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9363 Optimize memcpy with prefetch if
9364 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
9365 src, dst pointers have unequal 16 byte alignments.
9366
48c41d04
SP
93672012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9368
9369 [BZ #13928]
9370 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
9371 from a CNAME entry and return the minimum ttl for the query.
9372 (gaih_getanswer_slice): Likewise.
9373
b8dc394d
JL
93742012-03-30 Jeff Law <law@redhat.com>
9375
9376 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
9377 due to long keys.
9378 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9379 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9380
2f5a5ed0
JL
9381 * resolv/nss_dns/dns-host.c: Update copyright year.
9382
1d39e359
UD
93832012-03-30 Ulrich Drepper <drepper@gmail.com>
9384
c030f70c 9385 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 9386 requests to save a system call. Fix check that all bytes are sent.
c030f70c 9387
1d39e359
UD
9388 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
9389 comments for sendmmsg.
9390
93912012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
9392
9393 [BZ #13691]
9394 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
9395 with only 1 character between 0x0041 and 0x01b0.
9396 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
9397 * wcsmbs/tst-mbsnrtowcs.c: New file.
9398
20fde227
DM
93992012-03-29 David S. Miller <davem@davemloft.net>
9400
9401 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
9402 small copies by hand.
9403
984a4237
JL
94042012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9405
9406 [BZ #13761]
9407 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
9408 _nss_compat_initgroups_dyn): Fall back to malloc/free
9409 for large group memberships.
9410
18c9d62b
DM
94112012-03-28 David S. Miller <davem@davemloft.net>
9412
88d85d4f
DM
9413 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
9414 that branches into memcpy.
9415 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9416 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9417 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9418 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9419 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
9420 bits.
9421 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
9422 implementation too.
9423 * sysdeps/sparc/mempcpy.S: New file.
9424
e5aa83e1
DM
9425 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
9426 the IFUNC routine in the libc case.
9427 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9428
88570753
DM
9429 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
9430 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
9431 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
9432 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
9433 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
9434 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
9435 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
9436 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
9437
249d7567
DM
9438 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
9439 loop to 256 bytes instead of 64 bytes and fix test signedness.
9440
18c9d62b
DM
9441 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
9442 * sysdeps/sparc/sparc32/Makefile: rather than here...
9443 * sysdeps/sparc/sparc64/Makefile: and here.
9444
05f3d1f6
UD
94452012-03-28 Ulrich Drepper <drepper@gmail.com>
9446
9447 * malloc/mallocbug.c: Avoid warnings about unused variables.
9448
86ae07a8
JL
94492012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9450
9451 [BZ #13760]
9452 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
9453 in the right place. Discard and retry query if response is
9454 larger than input buffer size.
9455
41bf21a1
JM
94562012-03-28 Joseph Myers <joseph@codesourcery.com>
9457
d6270972
JM
9458 [BZ #369]
9459 [BZ #2678]
9460 [BZ #3866]
9461 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
9462 x for large integer exponent.
9463 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9464 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
9465 sign of result as needed afterwards.
9466 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9467 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
9468 result for underflowing pow the same as for overflow.
9469 (__kernel_standard_l): Handle powl overflow and underflow here
9470 rather than calling __kernel_standard.
9471 * math/libm-test.inc (pow_test): Add more tests.
9472
414fca03 9473 [BZ #3868]
41bf21a1
JM
9474 [BZ #13879]
9475 [BZ #13910]
9476 [BZ #13911]
9477 [BZ #13912]
9478 [BZ #13913]
9479 [BZ #13915]
9480 [BZ #13916]
9481 [BZ #13917]
9482 [BZ #13918]
9483 [BZ #13919]
9484 [BZ #13920]
9485 [BZ #13921]
9486 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
9487 * sysdeps/ieee754/k_standard.c: Include <float.h>.
9488 (__kernel_standard_l): New function.
9489 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
9490 __kernel_standard.
9491 * math/w_acosl.c (__acosl): Likewise.
9492 * math/w_asinl.c (__asinl): Likewise.
9493 * math/w_atan2l.c (__atan2l): Likewise.
9494 * math/w_atanhl.c (__atanhl): Likewise.
9495 * math/w_coshl.c (__coshl): Likewise.
9496 * math/w_exp10l.c (__exp10l): Likewise.
9497 * math/w_exp2l.c (__exp2l): Likewise.
9498 * math/w_fmodl.c (__fmodl): Likewise.
9499 * math/w_hypotl.c (__hypotl): Likewise.
9500 * math/w_j0l.c (__j0l, __y0l): Likewise.
9501 * math/w_j1l.c (__j1l, __y1l): Likewise.
9502 * math/w_jnl.c (__jnl, __ynl): Likewise.
9503 * math/w_lgammal.c (__lgammal): Likewise.
9504 * math/w_log10l.c (__log10l): Likewise.
9505 * math/w_log2l.c (__log2l): Likewise.
9506 * math/w_logl.c (__logl): Likewise.
9507 * math/w_powl.c (__powl): Likewise.
9508 * math/w_remainderl.c (__remainderl): Likewise.
9509 * math/w_scalbl.c (sysv_scalbl): Likewise.
9510 * math/w_sinhl.c (__sinhl): Likewise.
9511 * math/w_sqrtl.c (__sqrtl): Likewise.
9512 * math/w_tgammal.c (__tgammal): Likewise.
9513 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
9514 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
9515 * math/libm-test.inc (acos_test): Add more tests.
9516 (acosh_test): Likewise.
9517 (asin_test): Likewise.
9518 (atanh_test): Likewise.
9519 (exp_test): Likewise.
9520 (exp10_test): Likewise.
9521 (exp2_test): Likewise.
9522 (expm1_test): Likewise.
9523 (lgamma_test): Likewise.
9524 (log_test): Likewise.
9525 (log10_test): Likewise.
9526 (log1p_test): Likewise.
9527 (log2_test): Likewise.
9528 (pow_test): Do not allow some spurious overflow exceptions.
9529 (sqrt_test): Add more tests.
9530 (tgamma_test): Likewise.
9531 (y0_test): Likewise.
9532 (y1_test): Likewise.
9533 (yn_test): Likewise.
9534
dd62fda6
AB
95352012-03-27 Anton Blanchard <anton@samba.org>
9536
9537 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
9538 MAP_HUGETLB.
9539 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9540 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9541 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9542
1e3cdfda
AJ
95432012-03-27 David S. Miller <davem@davemloft.net>
9544
b855ab85
DM
9545 * conform/Makefile: Run run-conformtest.sh using $(BASH).
9546
1e3cdfda
AJ
9547 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
9548 have-as-vis3 check.
9549
95502012-03-27 Andreas Jaeger <aj@suse.de>
9551
9552 * sysdeps/x86_64/elf/configure.in: Moved to ...
9553 * sysdeps/x86_64/configure.in: ... here.
9554 * sysdeps/x86_64/elf/start.S: Moved to ...
9555 * sysdeps/x86_64/start.S: ... here.
9556 * sysdeps/x86_64/elf/configure: Delete.
9557
9558 * sysdeps/x86_64/configure.in: Merge contents from
9559 sysdeps/i386/configure.in (without i686 check).
9560
9561 * sysdeps/i386/elf/Versions: Merge into ...
9562 * sysdeps/i386/Versions: ... this.
9563 * sysdeps/i386/elf/Versions: Delete file.
9564 * sysdeps/i386/elf/start.S: Moved to ...
9565 * sysdeps/i386/start.S: ...here.
9566 * sysdeps/i386/elf/configure.in: Merge into...
9567 * sysdeps/i386/configure.in: ...here.
9568 * sysdeps/i386/elf/configure.in: Delete file.
9569 * sysdeps/i386/elf/configure: Delete file.
9570
9571 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
9572 * debug/backtracesyms.c: ... here.
9573 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
9574 * debug/backtracesymsfd.c: ... here.
9575 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
9576 * sysdeps/generic/ifunc-sel.h: ... here.
9577
9578 * sysdeps/unix/i386/start.c: Delete file.
9579 * sysdeps/unix/sparc/start.c: Delete file.
9580 * sysdeps/unix/start.c: Delete file.
9581
9582 * sysdeps/sh/elf/configure.in: Moved to ...
9583 * sysdeps/sh/configure.in: ... here.
9584 * sysdeps/sh/elf/start.S: Moved to ...
9585 * sysdeps/sh/start.S: ... here.
9586 * sysdeps/sh/elf/configure: Delete file.
9587
9588 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
9589 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
9590 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
9591 * sysdeps/powerpc/powerpc64/entry.h: ... here.
9592 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
9593 * sysdeps/powerpc/powerpc64/start.S: here.
9594 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
9595 * sysdeps/powerpc/powerpc64/Makefile: ... this.
9596 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
9597 * sysdeps/powerpc/powerpc64/configure.in: ... this.
9598 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
9599
9600 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
9601 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
9602 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
9603 * sysdeps/powerpc/powerpc32/start.S: ... here.
9604 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
9605 * sysdeps/powerpc/powerpc32/configure.in: ... this.
9606 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
9607
9608 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
9609 * sysdeps/powerpc/ifunc-sel.h: ... here.
9610 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
9611 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
9612
9613 * sysdeps/sparc/elf/configure.in: Moved to ...
9614 * sysdeps/sparc/configure.in: ... here.
9615 * sysdeps/sparc/elf/configure: Delete file.
9616 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
9617 * sysdeps/sparc/sparc32/start.S: ... here.
9618 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
9619 * sysdeps/sparc/sparc64/start.S: ... here.
9620 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
9621 * sysdeps/sparc/sparc32/Makefile: ... this.
9622 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
9623 * sysdeps/sparc/sparc64/Makefile: ... this.
9624
9625 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
9626 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
9627 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
9628 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
9629 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
9630 * sysdeps/s390/s390-32/setjmp.S: ... here.
9631 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
9632 * sysdeps/s390/s390-32/configure.in: ... here.
9633 * sysdeps/s390/s390-32/elf/configure: Delete file.
9634 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
9635 * sysdeps/s390/s390-32/start.S: ... here.
9636
9637 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
9638 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
9639 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
9640 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
9641 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
9642 * sysdeps/s390/s390-64/setjmp.S: ... here.
9643 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
9644 * sysdeps/s390/s390-64/configure.in: ... here
9645 * sysdeps/s390/s390-64/elf/configure: Delete file.
9646 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
9647 * sysdeps/s390/s390-64/start.S: ... here.
9648 * sysdeps/s390/s390-64/elf/configure: Delete.
9649
9650 * configure.in: Remove support for elf directories in sysdeps.
9651
9652 * configure: Regenerated.
9653 * sysdeps/i386/configure: Regenerated.
9654 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9655 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9656 * sysdeps/s390/s390-32/configure: Regenerated.
9657 * sysdeps/s390/s390-64/configure: Regenerated.
9658 * sysdeps/sh/configure: Regenerated.
9659 * sysdeps/sparc/configure: Regenerated.
9660 * sysdeps/x86_64/configure: Regenerated.
9661
a3f61311
AS
96622012-03-26 Andreas Schwab <schwab@linux-m68k.org>
9663
c876e002
AS
9664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9665
a3f61311
AS
9666 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
9667 denormal result into account.
9668
ac4c54f0
RM
96692012-03-25 Roland McGrath <roland@hack.frob.com>
9670
9671 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
9672 Reported by Allan McRae <allan@archlinux.org>.
9673
6a9b9c02
JL
96742012-03-23 Jeff Law <law@redhat.com>
9675
9676 * nss/getnssent.c (__nss_getent): Fix typo.
9677
4c42a0c1
DM
96782012-03-23 David S. Miller <davem@davemloft.net>
9679
9680 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9681
1532c7ac
L
96822012-03-23 H.J. Lu <hongjiu.lu@intel.com>
9683
9684 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
9685 to pad to uint64_t for each field.
9686 (dl_tls_index): Replace unsigned long with uint64_t.
9687
3ff42526
PP
96882012-03-23 Daniel Jacobowitz <dmj@google.com>
9689 Paul Pluzhnikov <ppluzhnikov@google.com>
9690
9691 [BZ #6528]
9692 * grp/Makefile (otherlibs): Don't set it.
9693 * inet/Makefile (otherlibs): Likewise.
9694 * login/Makefile (otherlibs): Likewise.
9695 * nscd/Makefile (otherlibs): Likewise.
9696 * posix/Makefile (otherlibs): Likewise.
9697 * pwd/Makefile (otherlibs): Likewise.
9698 * rt/Makefile (otherlibs): Likewise.
9699 * sunrpc/Makefile (otherlibs): Likewise.
9700 * nss/Makefile (otherlibs): Likewise.
9701 Add libnss_files to routines and static-only-routines.
9702 ($(objpfx)getent): Remove rule.
9703 * resolv/Makefile: Add libnss_dns and libresolv to routines and
9704 static-only-routines.
9705
7c69cd14
JM
97062012-03-22 Joseph Myers <joseph@codesourcery.com>
9707
9708 [BZ #13892]
9709 * math/s_cexp.c: Include <float.h>.
9710 (__cexp): Handle exp result overflowing not necessarily
9711 overflowing both real and imaginary parts of result.
9712 * math/s_cexpf.c: Likewise.
9713 * math/s_cexpl.c: Likewise.
9714 * math/libm-test.inc (cexp_test): Add more tests.
9715 * sysdeps/i386/fpu/libm-test-ulps: Update.
9716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9717
81b035fe
L
97182012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9719
9720 * include/link.h (ELFW): New macro.
9721 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
9722 Replace ELF64_R_TYPE with ELFW(R_TYPE).
9723
1da7940c
L
97242012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9725
9726 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
9727 with uint64_t.
9728
b749dbb9
L
97292012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9730
9731 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
9732 declaration.
9733 (struct La_x32_retval): Likewise.
9734
2ff87f3f
L
97352012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9736
9737 * sysdeps/x86_64/preconfigure.in: New file.
9738 * sysdeps/x86_64/preconfigure: New generated file.
9739
c0df8e69
JM
97402012-03-22 Joseph Myers <joseph@codesourcery.com>
9741
48e44791
JM
9742 [BZ #13824]
9743 * math/e_exp2l.c: Include <float.h>.
9744 (__ieee754_exp2l): Handle overflow and underflow cases
9745 separately. Only pass fractional part of argument to
9746 __ieee754_expl.
9747 * math/libm-test.inc (exp2_test): Add more tests.
9748
c0df8e69
JM
9749 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
9750 negating x to take absolute value.
9751 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9752 Likewise.
9753 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9754 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9755 Likewise.
9756 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
9757 computing low part if x was negated.
9758 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9759
c8e43ba7
L
97602012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9761
9762 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
9763 la_x32_gnu_pltexit.
9764 (pltexit): Cast int_retval to ptrdiff_t.
9765 * elf/tst-auditmod3b.c: Likewise.
9766 * elf/tst-auditmod4b.c: Likewise.
9767 * elf/tst-auditmod5b.c: Likewise.
9768 * elf/tst-auditmod6b.c: Likewise.
9769 * elf/tst-auditmod6c.c: Likewise.
9770 * elf/tst-auditmod7b.c: Likewise.
9771
9772 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
9773 and x32_gnu_pltexit.
9774
9775 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
9776 __ELF_NATIVE_CLASS.
9777 (La_x32_regs): New macro.
9778 (La_x32_retval): Likewise.
9779 (la_x32_gnu_pltenter): New function prototype.
9780 (la_x32_gnu_pltexit): Likewise.
9781
7998fa78
AS
97822012-03-21 Andreas Schwab <schwab@linux-m68k.org>
9783
dcb33988
AS
9784 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
9785 exponent.
9786
233fc563
AS
9787 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9788
7998fa78
AS
9789 * configure.in (libc_cv_cc_nofma): Check for option to disable
9790 generation of FMA instructions.
9791 * configure: Regenerate.
9792 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
9793 * sysdeps/ieee754/dbl-64/Makefile: New file.
9794 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9795 Remove brandred-fma4.
9796 (CFLAGS-brandred-fma4.c): Remove.
9797 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
9798 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
9799 define.
9800 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
9801 define.
9802
8e95c99a
L
98032012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9804
9805 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9806 LLONG_MAX != LONG_MAX.
9807 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9808 (_fitoa_word): Likewise.
9809 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
9810 LLONG_MAX != LONG_MAX.
9811 * stdio-common/_itowa.h: Include <_itoa.h>.
9812 (_itowa_word): Use _ITOA_WORD_TYPE on value.
9813 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
9814 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
9815 only if not defined.
9816 (_ITOA_WORD_TYPE): Likewise.
9817 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9818 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
9819
6f4db457
DM
98202012-03-21 David S. Miller <davem@davemloft.net>
9821
9822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9823
7785fe5a
L
98242012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9825
9826 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
9827 of x86_64 when setting libc_cv_slibdir, libdir and
9828 libc_cv_localedir.
9829 * sysdeps/unix/sysv/linux/configure: Regenerated.
9830
4535cd55
JM
98312012-03-21 Joseph Myers <joseph@codesourcery.com>
9832
9833 * manual/lang.texi (Old Varargs): Remove section.
9834 (How Variadic): Update menu.
9835 (va_start): Do not mention varargs.h.
9836
17228132
TS
98372012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9838 Joseph Myers <joseph@codesourcery.com>
9839
9840 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
9841 link test.
9842 * configure: Regenerated.
9843
8149f976
TS
98442012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9845
05f3d1f6
UD
9846 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
9847 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
9848 conformtest.pl
8149f976 9849
1a4ac776
JM
98502012-03-21 Joseph Myers <joseph@codesourcery.com>
9851
be22ce65
JM
9852 * NOTES: Remove.
9853 * Makefile (files-for-dist): Remove NOTES.
9854 (NOTES): Remove rule.
9855 * README: Don't refer to NOTES.
9856 * manual/creature.texi: Don't include macros.texi.
9857 * manual/intro.texi (creature.texi): Remove comment referring to
9858 NOTES.
9859
40b601fb
JM
9860 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
9861 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
9862 * configure: Regenerated.
9863 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
9864 LIBC_TRY_CC_OPTION.
9865 (libc_cv_as_i686): Likewise.
9866 (libc_cv_cc_avx): Likewise.
9867 (libc_cv_cc_sse2avx): Likewise.
9868 (libc_cv_cc_fma4): Likewise.
9869 (libc_cv_cc_novzeroupper): Likewise.
9870 * sysdeps/i386/configure: Regenerated.
9871
1a4ac776
JM
9872 [BZ #13883]
9873 * sysdeps/i386/fpu/s_cexp.S: Remove.
9874 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9875 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9876 * math/libm-test.inc (cexp_test): Add more tests.
9877 * sysdeps/i386/fpu/libm-test-ulps: Update.
9878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9879
a458e7fe
AM
98802012-03-21 Allan McRae <allan@archlinux.org>
9881
9882 * timezone/Makefile: Do not install iso3166.tab and zone.tab
9883
0cb7efc5
JM
98842012-03-21 Joseph Myers <joseph@codesourcery.com>
9885
9886 [BZ #13871]
9887 * math/w_exp2.c: Do not include <float.h>.
9888 (o_threshold, u_threshold): Remove.
9889 (__exp2): Calculate result before checking finiteness and calling
9890 __kernel_standard.
9891 * math/w_exp2f.c: Likewise.
9892 * math/w_exp2l.c: Likewise.
9893 * math/libm-test.inc (exp2_test): Require overflow exception for
9894 1e6 input.
2460d3aa
JM
9895
9896 [BZ #3866]
9897 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
9898 range of signed 64-bit integers before using fistpll. Remove
9899 checks for whether integers fit in mantissa bits.
9900 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
9901 the range of signed 32-bit integers before using fistpl. Remove
9902 checks for whether integers fit in mantissa bits.
9903 * sysdeps/i386/fpu/e_powl.S (p64): New object.
9904 (__ieee754_powl): Test for y outside the range of signed 64-bit
9905 integers before using fistpll. Reduce 64-bit values to 63-bit
9906 ones as needed.
9907 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
9908 divide-by-zero is raised for zero to large negative powers.
9909 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
9910 (__ieee754_powl): Test for y outside the range of signed 64-bit
9911 integers before using fistpll. Reduce 64-bit values to 63-bit
9912 ones as needed.
9913 * math/libm-test.inc (pow_test): Add more tests.
9914
eb96ffb0
L
99152012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9916
9917 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
9918 <stdio-common/_itoa.h>.
9919 * debug/segfault.c: Likewise.
9920 * elf/dl-cache.c: Likewise.
9921 * elf/dl-minimal.c: Likewise.
9922 * elf/dl-misc.c: Likewise.
9923 * elf/dl-sysdep.c: Likewise.
9924 * elf/dl-version.c: Likewise.
9925 * elf/rtld.c: Likewise.
9926 * hurd/hurdsock.c: Likewise.
9927 * hurd/lookup-retry.c: Likewise.
9928 * malloc/malloc.c: Likewise.
9929 * malloc/mtrace.c: Likewise.
9930 * nscd/nscd_getgr_r.c: Likewise.
9931 * nscd/nscd_getpw_r.c: Likewise.
9932 * nscd/nscd_getserv_r.c: Likewise.
9933 * posix/getopt_init.c: Likewise.
9934 * posix/wordexp.c: Likewise.
9935 * stdio-common/_itoa.c: Likewise.
9936 * stdio-common/printf_fphex.c: Likewise.
9937 * stdio-common/vfprintf.c: Likewise.
9938 * string/_strerror.c: Likewise.
9939 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9940 * sysdeps/i386/i686/hp-timing.h: Likewise.
9941 * sysdeps/mach/_strerror.c: Likewise.
9942 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
9943 * sysdeps/mach/hurd/sethostid.c: Likewise.
9944 * sysdeps/mach/hurd/xmknodat.c: Likewise.
9945 * sysdeps/mach/xpg-strerror.c: Likewise.
9946 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9947 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9948 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
9949 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
9950 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9951 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
9952 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9953 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9954 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
9955 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
9956 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
9957 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9958 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
9959 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9960 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9961 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
9962 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
9963 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9964 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9965 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9966 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
9967
9968 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
9969
9970 * stdio-common/_itoa.h: Moved to ...
9971 * sysdeps/generic/_itoa.h: Here.
9972
9973 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
9974
9975 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
9976 instead of "_itoa.h" and "_itowa.h".
9977 * stdio-common/vfprintf.: Likewise.
9978
d1af992d
L
99792012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9980
9981 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
9982 <bits/wordsize.h>.
9983 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
9984 (__signbit): Likwise.
9985 (llrintf): Likwise.
9986 (llrint): Likwise.
9987
114883e0
L
99882012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9989
9990 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
9991 __WORDSIZE != 64.
9992
c135cc1b
JM
99932012-03-20 Joseph Myers <joseph@codesourcery.com>
9994
9995 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
9996 OVERFLOW_EXCEPTION_OK.
9997 * math/libm-test.inc ("Philosophy"): Update comment about
9998 exception testing.
9999 (OVERFLOW_EXCEPTION): Define.
10000 (OVERFLOW_EXCEPTION_OK): Likewise.
10001 (INVALID_EXCEPTION_OK): Renumber.
10002 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10003 (IGNORE_ZERO_INF_SIGN): Likewise.
10004 (test_exceptions): Handle FE_OVERFLOW.
10005 (exp10_test): Expect overflow exceptions.
10006 (exp2_test): Likewise.
10007 (expm1_test): Likewise.
10008 (nextafter_test): Likewise.
10009 (pow_test): Likewise.
10010 (scalbn_test): Likewise.
10011 (scalbln_test): Likewise.
10012
95443d88
L
100132012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10014
10015 * sysdeps/x86_64/bits/atomic.h
10016 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
10017 64bit integer.
10018 (atomic_exchange_acq): Likewise.
10019 (__arch_exchange_and_add_body): Likewise.
10020 (__arch_add_body): Likewise.
10021 (atomic_add_negative): Likewise.
10022 (atomic_add_zero): Likewise.
10023
490df6c4
L
100242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10025
c2722551 10026 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
10027 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
10028
5e52b189
L
100292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10030
10031 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
10032 Check __x86_64__ instead of __WORDSIZE.
10033
a9879d4c
L
100342012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10035
10036 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
10037
5df98260
DM
100382012-03-19 David S. Miller <davem@davemloft.net>
10039
e1497744
DM
10040 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10041
5df98260
DM
10042 * sysdeps/sparc/fpu/fenv_private.h: New file.
10043 * sysdeps/sparc/fpu/math_private.h: Use it.
10044 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
10045 Remove.
10046 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
10047 (libc_feholdexcept_setroundl): Remove.
10048 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
10049 Remove.
10050 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
10051 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
10052
b4c35121
L
100532012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10054
10055 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
10056 int64_t instead of long int.
10057 (INSERT_WORDS64): Likwise.
10058
56965fd7
L
100592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10060
10061 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
10062 _Unwind_GetCFA return to _Unwind_Ptr first.
10063
83d1aec8
JM
100642012-03-19 Joseph Myers <joseph@codesourcery.com>
10065
1897ad44
JM
10066 [BZ #13629]
10067 * math/s_clog.c: Include <float.h>.
10068 (__clog): Scale large or subnormal inputs.
10069 * math/s_clogf.c: Likewise.
10070 * math/s_clogl.c: Likewise.
10071 * math/s_clog10.c: Include <float.h>.
10072 (M_LOG10_2): Define.
10073 (__clog10): Scale large or subnormal inputs.
10074 * math/s_clog10f.c: Likewise.
10075 * math/s_clog10l.c: Likewise.
10076 * math/libm-test.inc (clog_test): Add more tests.
10077 (clog10_test): Likewise.
10078 * sysdeps/i386/fpu/libm-test-ulps: Update.
10079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10080
7726d6a9
JM
10081 [BZ #11451]
10082 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
10083 x and y.
10084 * math/libm-test.inc (atan2_test): Add another test.
10085
83d1aec8
JM
10086 * Makerules (common-objdir-compile): Remove.
10087 * sysdeps/unix/Makefile (config-generated): Do not add
10088 $(unix-generated) to variable.
10089 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
10090 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
10091 Remove rule.
10092 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
10093 Likewise.
10094 [generic bits/local_lim.h] (before-compile): Do not append to
10095 variable.
10096 [generic bits/local_lim.h] (common-generated): Likewise.
10097 [generic sys/param.h] (before-compile): Do not append to variable.
10098 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
10099 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
10100 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
10101 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
10102 include.
10103 [generic sys/param.h] (sys/param.h-includes): Remove variable.
10104 [generic sys/param.h] (sys/param.h-includes): Remove rule.
10105 [generic sys/param.h] ($(addprefix
10106 $(common-objpfx),$(sys/param.h-includes))): Likewise.
10107 [generic sys/param.h] (common-generated): Do not append to
10108 variable.
10109 [generic sys/param.h] (sysdep_headers): Likewise.
10110 [generic bits/errno.h] (before-compile): Do not append to
10111 variable.
10112 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
10113 rule.
10114 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
10115 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
10116 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
10117 [generic bits/errno.h] (common-generated): Do not append to
10118 variable.
10119 [generic bits/ioctls.h] (before-compile): Do not append to
10120 variable.
10121 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
10122 rule.
10123 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
10124 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
10125 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
10126 rule.
10127 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
10128 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
10129 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
10130 [generic bits/ioctls.h] (common-generated): Do not append to
10131 variable.
10132 [generic sys/syscall.h] (syscall.h): Remove variable.
10133 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
10134 rule.
10135 [generic sys/syscall.h] (before-compile): Do not append to
10136 variable.
10137 [generic sys/syscall.h] (common-generated): Likewise.
10138 * sysdeps/unix/errnos-tmpl.c: Remove file.
10139 * sysdeps/unix/errnos.awk: Likewise.
10140 * sysdeps/unix/ioctls-tmpl.c: Likewise.
10141 * sysdeps/unix/ioctls.awk: Likewise.
10142 * sysdeps/unix/mk-local_lim.c: Likewise.
10143 * sysdeps/unix/snarf-ioctls: Likewise.
10144
4851a949
RH
101452012-03-19 Richard Henderson <rth@twiddle.net>
10146
bd37f2ee
RH
10147 * sysdeps/i386/fpu/fenv_private.h: New file.
10148 * sysdeps/i386/fpu/math_private.h: Use it.
10149 (math_opt_barrier, math_force_eval): Remove.
10150 (libc_feholdexcept_setround_53bit): Remove.
10151 (libc_feupdateenv_53bit): Remove.
10152 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10153 (math_opt_barrier, math_force_eval): Remove.
10154 (libc_feholdexcept): Remove.
10155 (libc_feholdexcept_setround): Remove.
10156 (libc_fetestexcept, libc_fesetenv): Remove.
10157 (libc_feupdateenv_test): Remove.
10158 (libc_feupdateenv, libc_feholdsetround): Remove.
10159 (libc_feresetround): Remove.
10160
d0adc922
RH
10161 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
10162 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10163
0fe0f1f8
RH
10164 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
10165 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
10166 (libc_feupdateenv_testl): New.
10167 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
10168 (libc_feupdateenv_testf): New.
10169 (libc_feupdateenv): Use libc_feupdateenv_test.
10170 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
10171 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
10172
eb92c487
RH
10173 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
10174 (libc_feholdsetroundf, libc_feholdsetroundl): New.
10175 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
10176 (libc_feresetround_noex): New.
10177 (libc_feresetround_noexf): New.
10178 (libc_feresetround_noexl): New.
10179 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
10180 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
10181 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
10182 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
10183 SET_RESTORE_ROUND.
10184 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10185 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
10186 (__cos): Likewise.
10187 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
10188 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10189 SET_RESTORE_ROUND_NOEX.
10190 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
10191 SET_RESTORE_ROUND_NOEXF.
10192 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
10193 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
10194 (libc_feholdsetroundf): New.
10195 (libc_feresetround, libc_feresetroundf): New.
10196
7d2e8012
RH
10197 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
10198 (libc_feholdexcept_setround_53bit): Convert from macro to function.
10199 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
10200
b4dabbb4
RH
10201 * sysdeps/generic/math_private.h: Include <fenv.h>.
10202 (default_libc_feholdexcept): New.
10203 (default_libc_feholdexcept_setround): New.
10204 (default_libc_fesetenv, default_libc_feupdateenv): New.
10205 (libc_feholdexcept): Only define if undefined.
10206 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
10207 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
10208 (libc_feholdexcept_setroundl): Likewise.
10209 (libc_feholdexcept_setround_53bit): Likewise.
10210 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
10211 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
10212 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
10213 (libc_feupdateenv_53bit): Likewise.
10214 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
10215 (libc_feholdexcept): Convert from macro to inline function.
10216 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
10217 (libc_fesetenv, libc_feupdateenv): Likewise.
10218
4851a949
RH
10219 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
10220 not previously defined.
10221 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
10222 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
10223 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
10224 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
10225 * sysdeps/ieee754/flt-32/math_private.h: New file.
10226 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
10227 math_private.h below SET_FLOAT_WORD.
10228 (__isnan, __isinf_ns, __finite): Remove.
10229 (__isnanf, __isinf_nsf, __finitef): Remove.
10230
e79d442e
AS
102312012-03-18 Andreas Schwab <schwab@linux-m68k.org>
10232
10233 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10234
90b80344
DM
102352012-03-17 David S. Miller <davem@davemloft.net>
10236
10237 [BZ #6471]
10238 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
10239 for 2.16.
10240
edc21804
DM
102412012-03-16 David S. Miller <davem@davemloft.net>
10242
77e927af
DM
10243 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
10244 warnings.
10245
374976dd
DM
10246 [BZ #6471]
10247 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
10248 properly.
10249 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
10250 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
10251 sysdep_routines when subdir is sysvipc.
10252 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
10253 __getshmlba helper.
10254
edc21804
DM
10255 * sysdeps/sparc/fpu/libm-test/ulps: Update.
10256
473c3ef3
L
102572012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10258
10259 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
10260 [__LP64__].
10261
eb0f39b6
L
102622012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10263
10264 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
10265 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
10266 (__lround): Renamed to ...
10267 (__llround): This. Replace long int with long long int.
10268 Define lround functions as aliases of llround functions.
10269 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
10270
6b6cd74b
L
102712012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10272
10273 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
10274 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
10275 adresses to uintptr_t. Replace "long int" and "unsigned long
10276 int" with "greg_t" on va_arg.
10277
f1a77b01
L
102782012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10279
10280 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
10281 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
10282
10283 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
10284 Move e_machine check before EI_CLASS check. Handle x32
10285 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
10286 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
10287 SKIP_EM_IA_64 and include
10288 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
10289
10290 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
10291 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
10292 (add_system_dir): New macro.
10293
10294 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
10295 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
10296
11b90b9f
JM
102972012-03-16 Joseph Myers <joseph@codesourcery.com>
10298
c36e1d23
JM
10299 [BZ #2551]
10300 [BZ #2552]
10301 [BZ #2553]
10302 [BZ #2554]
10303 [BZ #2562]
10304 [BZ #2563]
10305 [BZ #2565]
10306 [BZ #2566]
10307 [BZ #2576]
10308 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
10309 (y0): Likewise.
10310 * math/w_j0f.c (j0f): Likewise.
10311 (y0f): Likewise.
10312 * math/w_j0l.c (__j0l): Likewise.
10313 (__y0l): Likewise.
10314 * math/w_j1.c (j1): Likewise.
10315 (y1): Likewise.
10316 * math/w_j1f.c (j1f): Likewise.
10317 (y1f): Likewise.
10318 * math/w_j1l.c (__j1l): Likewise.
10319 (__y1l): Likewise.
10320 * math/w_jn.c (jn): Likewise.
10321 (yn): Likewise.
10322 * math/w_jnf.c (jnf): Likewise.
10323 (ynf): Likewise.
10324 * math/w_jnl.c (__jnl): Likewise.
10325 (__ynl): Likewise.
10326 * math/libm-test.inc (j0_test): Add more tests.
10327 (j1_test): Likewise.
10328 (jn_test): Likewise. Add trailing semicolon to existing test.
10329 (y0_test): Likewise.
10330 (y1_test): Likewise.
10331 * sysdeps/i386/fpu/libm-test-ulps: Update.
10332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10333
11b90b9f
JM
10334 [BZ #13851]
10335 [BZ #13854]
10336 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10337 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
10338 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
10339 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
10340 (__tanl): Set errno for infinite argument.
10341 * sysdeps/i386/fpu/mptan.c: Remove.
10342 * sysdeps/i386/fpu/s_tan.S: Likewise.
10343 * sysdeps/i386/fpu/s_tanl.S: Likewise.
10344 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
10345 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
10346 * math/libm-test.inc (tan_test): Add more tests and enable more
10347 tests for double and long double.
10348 * sysdeps/i386/fpu/libm-test-ulps: Update.
10349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10350
6a1bd2a1
JK
103512012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10352
10353 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
10354 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
10355
10a803e0
RM
103562012-03-16 Roland McGrath <roland@hack.frob.com>
10357
10358 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
10359 * configure.in: Use it for both main tree and add-ons.
10360 * configure: Regenerated.
10361
f196c7f7
L
103622012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10363
10364 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
10365
8848d99d
JM
103662012-03-16 Joseph Myers <joseph@codesourcery.com>
10367
96cbe7f4
JM
10368 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
10369 in comment.
10370
8848d99d
JM
10371 [BZ #13851]
10372 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
10373 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
10374 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10375 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
10376 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
10377 infinite argument.
10378 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
10379 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
10380 != 0 for prec == 2.
10381 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
10382 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
10383 * sysdeps/i386/fpu/s_cosl.S: Likewise.
10384 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
10385 * sysdeps/i386/fpu/s_sinl.S: Likewise.
10386 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
10387 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
10388 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
10389 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
10390 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
10391 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
10392 * math/libm-test.inc (cos_test): Add more tests and enable more
10393 tests for long double.
10394 (sin_test): Likewise.
10395 (sincos_test): Likewise.
10396 * sysdeps/i386/fpu/libm-test-ulps: Update.
10397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10398
dd7f4703
DM
103992012-03-16 David S. Miller <davem@davemloft.net>
10400
10401 * sysdeps/sparc/fpu/math_private.h: New file.
10402
006f1daa
DM
104032012-03-15 David S. Miller <davem@davemloft.net>
10404
c0c83bc8
DM
10405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
10406 file.
e6a62e18 10407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
10408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
10409 file.
e6a62e18
DM
10410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
10411 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
10412 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
10413 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
10414 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
10415 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
10416 sysdep routines.
10417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10418
88cb87d9
DM
10419 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
10420 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
10421
006f1daa 10422 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
10423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
10424 sparc-ifunc.h
006f1daa 10425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
10426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
10427 Likewise.
10428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
10429 Likewise.
006f1daa
DM
10430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
10431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
10432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
10433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10434 Likewise.
006f1daa
DM
10435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
10439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
10440 Likewise.
10441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
10442 Likewise.
006f1daa
DM
10443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
10445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10447 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10448 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10449 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
10450 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
10451 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10452 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10453 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10454 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10455 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10456 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10457 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
10458 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
10459 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
10460 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
10461 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
10462 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
10463 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
10464 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
10465 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
10466 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
10467
11e0098e
AS
104682012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10469
10470 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
10471 scaling.
10472 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10473
e85b09d0
AJ
104742012-03-15 Andreas Jaeger <aj@suse.de>
10475
10476 [BZ #13852]
10477 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
10478 ieee754/flt-32 implementation for sin, cos and sincos.
10479 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
10480 * sysdeps/i386/fpu/s_cosf.S: Likewise.
10481 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
10482 * sysdeps/i386/fpu/s_sinf.S: Likewise.
10483 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
10484 ieee754/flt-32 implementation for tan.
10485
10486 * math/libm-test.inc (cos_test): Enable some large input tests for
10487 float as well
10488 (sin_test): Likewise.
10489 (sincos_test): Likewise.
10490 (tan_test): Add tests for large input.
10491
10492 * sysdeps/i386/fpu/libm-test-ulps: Update.
10493
81c64153
AJ
104942012-03-15 Andreas Jaeger <aj@suse.de>
10495
10496 [BZ #13658]
10497 * math/libm-test.inc (cos_test): Add more test cases.
10498 (sin_test): Likewise.
10499 (sincos_test): Likewise.
10500
7bbfa5c6
AJ
105012012-03-15 Andreas Jaeger <aj@suse.de>
10502
10503 [BZ #13837]
10504 * math/libm-test.inc (cos_test): Add a test case for large input
10505 value.
10506 (sin_test): Likewise.
10507 (sincos_test): Likewise.
10508
105092012-03-15 Andreas Jaeger <aj@suse.de>,
10510 Joseph Myers <joseph@codesourcery.com>
10511
10512 [BZ #13658]
0671f479 10513 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
10514 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
10515 * sysdeps/i386/fpu/branred.c: Likewise.
10516 * sysdeps/i386/fpu/dosincos.c: Likewise.
10517 * sysdeps/i386/fpu/mpa.c: Likewise.
10518 * sysdeps/i386/fpu/s_cos.S: Likewise.
10519 * sysdeps/i386/fpu/s_sin.S: Likewise.
10520 * sysdeps/i386/fpu/s_sincos.S: Likewise.
10521 * sysdeps/i386/fpu/sincos32.c: Likewise.
10522
10523 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
10524 Define.
10525 (libc_feupdateenv_53bit): Define.
10526 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
10527 Define.
10528 (libc_feupdateenv_53bit): Define.
10529
10530 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
10531 53 bit (without extend i386 double precision).
10532
10533 * math/libm-test.inc (sincos_test): Add tests for large input.
10534 (sin): Likewise.
10535 (cos): Likewise.
10536
10537 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10538
9cad04ea
AS
105392012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10540
10541 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10542
f7062b9a
DM
105432012-03-15 David S. Miller <davem@davemloft.net>
10544
10545 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
10546 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
10547 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
10548 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
10549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
10550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
10551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
10552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
10553 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
10554 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
10555 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
10556 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
10557 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
10558 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
10559 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
10560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
10561 file.
f7062b9a 10562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
10563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
10564 file.
f7062b9a 10565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
10566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
10567 file.
f7062b9a 10568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
10569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
10570 file.
f7062b9a
DM
10571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
10572 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
10573 fmin/fmax sysdep routines.
10574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10575
7bd951ff
DM
105762012-03-14 David S. Miller <davem@davemloft.net>
10577
559398ab
DM
10578 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
10579 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
10580 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
10581 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
10582 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
10583 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
10584 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
10585 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
10586 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
10587 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
10588 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
10589 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
10590 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
10591 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
10592 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
10593 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
10594 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
10595 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
10596 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
10597 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
10598 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
10599 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
10600 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
10601 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
10602 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
10603 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
10604 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
10605 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
10606 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
10607 routines.
10608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
10609 file.
559398ab 10610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
10611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
10612 file.
559398ab 10613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
10614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
10615 file.
559398ab 10616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
10617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
10618 file.
559398ab 10619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
10620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
10621 file.
559398ab 10622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
10623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
10624 file.
10625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
10626 file.
10627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
10628 file.
10629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
10630 file.
10631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
10632 New file.
10633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
10634 file.
10635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
10636 file.
559398ab 10637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
10638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
10639 file.
559398ab 10640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
10641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
10642 file.
559398ab 10643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
10644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
10645 file.
559398ab 10646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
10647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
10648 VIS3 routines.
559398ab
DM
10649
10650 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10651 New file.
10652
5a1c1e32
DM
10653 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10654
eae47a36
DM
10655 * sysdeps/sparc/configure.in: New file.
10656 * sysdeps/sparc/configure: Generate.
10657 * configure.in (libc_cv_sparc_as_vis3): Substitute.
10658 * configure: Regenerate.
10659 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
10660 * config.make.in (have-as-vis3): New.
10661 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
10662 available use -Av9d instead of -Av9a.
10663 * sysdeps/sparc/sparc64/Makefile: Likewise.
10664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
10665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
10666 New file.
10667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
10668 file.
10669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
10670 New file.
10671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
10672 file.
eae47a36
DM
10673 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
10674 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
10675 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
10676 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
10677 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
10678
c0c83bc8
DM
10679 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
10680 fzeros/fnegs to load 0x80000000 into a float register instead of
10681 using the stack.
7bd951ff
DM
10682 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
10683
bd951ccb
JM
106842012-03-14 Joseph Myers <joseph@codesourcery.com>
10685
10686 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10687 bits/syscall.h.
10688 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
10689 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
10690 ($(inst_includedir)/bits/syscall.h): Remove rule.
10691 ($(objpfx)bits/syscall.d): Include instead of
10692 $(objpfx)syscall-list.d.
10693 (generated): Change syscall-list.h and syscall-list.d to
10694 bits/syscall.h and bits/syscall.d.
10695
bb4e6db2
RM
106962012-03-14 Roland McGrath <roland@hack.frob.com>
10697
10698 [BZ #13846]
10699 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
10700
aa4a2ae1
JM
107012012-03-14 Joseph Myers <joseph@codesourcery.com>
10702
e456826d
JM
10703 [BZ #13841]
10704 * math/s_csqrt.c: Include <float.h>.
10705 (__csqrt): Scale large or subnormal inputs.
10706 * math/s_csqrtf.c: Likewise.
10707 * math/s_csqrtl.c: Likewise.
10708 * math/libm-test.inc (csqrt_test): Add more tests.
10709 * sysdeps/i386/fpu/libm-test-ulps: Update.
10710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10711
aa4a2ae1
JM
10712 [BZ #13840]
10713 * math/libm-test.inc (hypot_test): Add more tests.
10714
7c10fd35
DM
107152012-03-13 David S. Miller <davem@davemloft.net>
10716
10717 [BZ #13840]
10718 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
10719 double-precision for the calculation instead of scaling.
10720
f453b98b
JM
107212012-03-13 Joseph Myers <joseph@codesourcery.com>
10722
10723 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
10724 manipulate bits before adding and subtracting TWO52[sx].
10725 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
10726 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10727 Likewise.
10728 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
10729
09a3453f
DM
107302012-03-13 David S. Miller <davem@davemloft.net>
10731
8e59da90
DM
10732 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
10733 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
10734 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
10735 rtld-global-offsets.h
10736 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10737
2a8ab7f2
DM
10738 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
10739 large parameters.
10740
10f62770
DM
10741 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
10742
5f0bdb18
DM
10743 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
10744 'err' in the ifdef scope in which it is actually used.
10745
09a3453f
DM
10746 * nss/nss_db/db-init.c: Include string.h
10747
b4b2eb5e
DM
107482012-03-12 David S. Miller <davem@davemloft.net>
10749
98bb2f1c
DM
10750 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10751 masking out of the most significant byte of random value used.
10752 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10753 Fix coding style in previous change.
10754
b4b2eb5e
DM
10755 * sysdeps/unix/sysv/linux/kernel-features.h
10756 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
10757 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
10758 expression.
10759 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
10760 later.
10761
6e226b09
DM
107622012-03-11 David S. Miller <davem@davemloft.net>
10763
a1bcbd40
DM
10764 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10765 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
10766 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
10767 for 'resultvar' otherwise things get truncated on 64-bit.
10768
cb9d6174
DM
10769 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10770 Fix masking out of the most significant byte of random value used.
10771
6e226b09
DM
10772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10773
058c132d
AS
107742012-03-10 Andreas Schwab <schwab@linux-m68k.org>
10775
10776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10777
2d2cd515
DM
107782012-03-09 David S. Miller <davem@davemloft.net>
10779
10780 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
10781 variables with appropriate CPP guards.
10782 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
10783 frame pointer, not the stack pointer. Correct layout comments. Fix test
10784 on resulting framesize and the management of the outregs buffer for pltexit.
10785 Preserve floating point return values across _dl_call_pltexit call.
10786 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
10787 framesize and the management of the outregs buffer for pltexit.
10788 Preserve floating point return values across _dl_call_pltexit
10789 call.
10790 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
10791 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
10792 (print_exit): Fix format string for return register value.
10793
9a07f9d0
JM
107942012-03-10 Joseph Myers <joseph@codesourcery.com>
10795
10796 * sunrpc/Makefile (others): Add rpcgen.
10797 ($(objpfx)rpcgen): Remove special build rule and dependency on
10798 libc.
10799 * sunrpc/rpcgen.c: New file.
10800
547b5e30
PE
108012012-03-09 Paul Eggert <eggert@cs.ucla.edu>
10802
c524201a
PE
10803 [BZ #13673]
10804 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
10805 * stdio-common/bug-vfprintf-nargs.c: Likewise.
10806 * sysdeps/i386/crti.S: Likewise.
10807 * sysdeps/i386/crtn.S: Likewise.
10808 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
10809 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
10810 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
10811 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
10812 * sysdeps/sh/crti.S: Likewise.
10813 * sysdeps/sh/crtn.S: Likewise.
10814 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10815
7b6235f2
PE
10816 [BZ #13673]
10817 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
10818 with URL.
10819 * locale/programs/locfile-kw.gperf: Likewise.
10820 * locale/programs/charmap-kw.h: Regenerated.
10821 * locale/programs/locfile-kw.h: Likewise.
10822
547b5e30
PE
10823 [BZ #13673]
10824 * intl/plural.y: Replace FSF snail mail address with URL.
10825 * intl/plural.c: Regenerated.
10826
5f0a5dae
RH
108272012-03-09 Richard Henderson <rth@twiddle.net>
10828
10829 * include/math_private.h: Remove file.
10830 * math/math_private.h: Move file ...
10831 * sysdeps/generic/math_private.h: ... here.
10832
b8c03620
RH
10833 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
10834 * sysdeps/powerpc/fpu/math_private.h: Likewise.
10835 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10836
4e234f5d 10837 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
10838 and <math_private.h>.
10839 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10840 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10841 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10842 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10843 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10844 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
10845 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10846 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10847 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10848 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10849 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10850 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10851 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10852 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10853 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10854 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10855 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10856 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10857 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10858 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10859 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10860 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10861 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10862 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10863 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10864 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10865 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10866 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10867 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10868 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10869 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10870 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10871 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10872 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10873 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10874 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10875 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10876 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10877 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10878 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10879 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
10880 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10881 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10882 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10883 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10884 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10885 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10886 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10887 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10888 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10889 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10890 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10891 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10892 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10893 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10894 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10895 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10896 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10897 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10898 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
10899 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10900 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10901 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10902 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10903 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10904 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10905 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10906 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10907 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
10908 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
10909 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10910 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10911 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10912 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10913 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
10914 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10915 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
10916 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10917 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
10918 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10919 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10920 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10921 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10922 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10923 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10924 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10925 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
10926 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10927 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10928 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10929 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10930 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10931 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10932 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10933 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10934 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10935 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10936 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10937 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10938 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10939 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10940 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10941 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10942 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10943 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10944 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10945 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10946 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10947 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10948 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10949 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10950 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10951 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10952 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10953 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10954 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10955 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10956 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10957 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10958 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10959 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10960 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10961 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10962 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
10963 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10964 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10965 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10966 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
10967 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10968 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10969 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10970 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10971 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10972 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10973 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10974 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10975 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10976 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10977 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
10978 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10979 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10980 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10981 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10982 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
10983 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
10984 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10985 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10986 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10987 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10988 * sysdeps/ieee754/k_standard.c: Likewise.
10989 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10990 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10991 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10992 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10993 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10994 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10995 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10996 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10997 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10998 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10999 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11000 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11001 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11002 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11003 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11004 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11005 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11006 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11007 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11008 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11009 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11010 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11011 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11012 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11013 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11014 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11015 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11016 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11017 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11018 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11019 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11020 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11021 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11022 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11023 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11024 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11025 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11026 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
11027 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11028 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11029 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11030 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11031 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11032 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11033 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11034 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11035 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11036 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11037 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11038 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11039 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11040 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11041 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11042 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11043 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11044 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11045 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
11046 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11047 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11048 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11049 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11050 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11051 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11052 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11053 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11054 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11055 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11056 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11057 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11058 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11059 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11060 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11061 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11062 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11063 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11064 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11065 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
11066 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11067 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11068 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11069 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11070 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11071 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11072 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11073 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11074 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11075 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11076 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11077 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11078 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11079 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
11080 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11081 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11082 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11083 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11084 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11085 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
11086 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11087 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11088 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
11089 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11090 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11091 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11092 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11093 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
11094 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11095 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11096 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11097 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
11098 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11099 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11100 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11101 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11102 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11103 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11104 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11105 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11106 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11107 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11108 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11109 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11110 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11111 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11112 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11113 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11114 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11115 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11116 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11117 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11118 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11119 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11120 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11121 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11122 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11123 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11124 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11125 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
11126 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11127 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11128 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11129 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11130 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11131 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11132 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11133 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11134 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11135 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11136 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11137 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11138 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
11139 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11140 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11141 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11142 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11143 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
11144 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
11145 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11146 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11147 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11148 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11149 * sysdeps/ieee754/s_lib_version.c: Likewise.
11150 * sysdeps/ieee754/s_matherr.c: Likewise.
11151 * sysdeps/ieee754/s_signgam.c: Likewise.
11152 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11153 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11154 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11155 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11156 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11157 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11158 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
11159 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
11160 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
11161 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11162 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11163 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11164 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11165 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11166 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
11167 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11168 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11169 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11170 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11171 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11172 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 11173
1991fa03
JM
111742012-03-09 Joseph Myers <joseph@codesourcery.com>
11175
11176 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
11177 * sunrpc/rpc_main.c: Likewise.
11178 * sunrpc/rpc_svcout.c: Likewise.
11179
60d6f5a6
DM
111802012-03-09 David S. Miller <davem@davemloft.net>
11181
11182 * include/math_private.h: New file.
11183
4962050e
JM
111842012-03-09 Joseph Myers <joseph@codesourcery.com>
11185
02a6f887
JM
11186 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
11187 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
11188 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
11189 from <bits/socket_type.h>.
11190 (enum __socket_type): Don't define here.
11191 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
11192 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11193 bits/socket_type.h.
11194
c6e013c1
JM
11195 [BZ #13566]
11196 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
11197 checking __USE_GNU.
11198
4962050e
JM
11199 * Makerules ($(inst_includedir)/%.h): New rule.
11200 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
11201 (install-others): Remove variable setting.
11202 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
11203
38842f45
RH
112042012-03-08 Richard Henderson <rth@twiddle.net>
11205
67bb6da6
RH
11206 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
11207 from macro to inline function; merge with the
11208 !__LIBC_INTERNAL_MATH_INLINES version.
11209 (__ieee754_sqrtf): Likewise.
11210
15194b4b
RH
11211 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
11212 to inline function.
11213 (__rintf, __floor, __floorf): Likewise.
11214
64e21ede
RH
11215 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
11216 macro to inline function.
11217 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
11218
38842f45
RH
11219 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
11220 not <math/math_private.h>.
11221
c64bf5fe
DM
112222012-03-08 David S. Miller <davem@davemloft.net>
11223
11224 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
11225 copyright year.
11226 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11227
82d86f28
TS
112282012-03-08 Thomas Schwinge <thomas@codesourcery.com>
11229
11230 * resolv/gai_misc.c (handle_requests): Fix struct timespec
11231 normalization.
11232 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
11233 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11234
aea5d727
UD
112352012-03-08 Ulrich Drepper <drepper@gmail.com>
11236
11237 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
11238 be defined individually, they must be defined as a block. Define
11239 S for printing a string instead of hidint the different by using a
11240 macro for adding the 'l'.
11241 * stdio-common/tst-fphex-wide.c: Adjust.
11242
70bca0a3
MP
112432012-03-07 Marek Polacek <polacek@redhat.com>
11244
11245 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
11246
65b81130
MP
112472012-03-08 Marek Polacek <polacek@redhat.com>
11248
11249 [BZ #13806]
11250 * stdio-common/Makefile (tests): Add tst-fphex-wide.
11251 * stdio-common/tst-fphex.c: Define a few macros to make the
11252 test reusable. Use them.
11253 * stdio-common/tst-fphex-wide.c: New file.
11254
07037eeb
JM
112552012-03-08 Joseph Myers <joseph@codesourcery.com>
11256
a7a93d50
JM
11257 [BZ #6911]
11258 * manual/macros.texi (gnusystems): New macro.
11259 (nongnusystems): Likewise.
11260 (gnulinuxhurdsystems): Likewise.
11261 (gnuhurdsystems): Likewise..
11262 (gnulinuxsystems): Likewise.
11263 * manual/charset.texi: Use new macros or @theglibc{} to refer to
11264 variants of the GNU system, not "GNU system".
11265 * manual/conf.texi: Likewise.
11266 * manual/errno.texi: Likewise. Update example of errno macro
11267 expansion.
11268 * manual/filesys.texi: Likewise.
11269 (getumask): Document as specific to GNU/Hurd.
11270 * manual/install.texi: Likewise. Reword some references to
11271 GNU/Linux.
11272 * manual/intro.texi: Likewise.
11273 * manual/io.texi: Likewise.
11274 (File Name Portability): Detail which constraints are inapplicable
11275 to all GNU systems and which are only inapplicable to GNU/Hurd.
11276 * manual/job.texi: Likewise.
11277 * manual/llio.texi: Likewise.
11278 (O_NOCTTY): Document as present on GNU/Linux.
11279 * manual/maint.texi: Likewise.
11280 * manual/memory.texi: Likewise.
11281 * manual/pattern.texi: Likewise.
11282 * manual/pipe.texi: Likewise.
11283 * manual/process.texi: Likewise.
11284 * manual/resource.texi: Likewise.
11285 (RUSAGE_CHILDREN): Remove statement about specifying a particular
11286 child on GNU/Hurd.
11287 * manual/setjmp.texi: Likewise.
11288 * manual/signal.texi: Likewise.
11289 * manual/startup.texi: Likewise.
11290 * manual/stdio.texi: Likewise.
11291 * manual/terminal.texi: Likewise.
11292 (ONLCR): Document as POSIX.
11293 (OXTABS): Document availability on GNU/Linux as XTABS.
11294 (ONOEOT): Document availability separately from other bits.
11295 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
11296 * manual/time.texi: Likewise.
11297 * manual/users.texi: Likewise.
11298 * INSTALL: Regenerated.
11299 * sysdeps/gnu/errlist.c: Regenerated.
11300
07037eeb
JM
11301 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
11302 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
11303 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
11304 puts.
11305 * configure: Regenerated.
11306
d1d3431a
JM
113072012-03-07 Joseph Myers <joseph@codesourcery.com>
11308
af6a1e37
JM
11309 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
11310 default includes instead of AC_HEADER_CHECK.
11311 * sysdeps/i386/configure: Regenerated.
11312
d1d3431a
JM
11313 [BZ #10716]
11314 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
11315 * math/s_cacoshf.c (__cacoshf): Likewise.
11316 * math/s_cacoshl.c (__cacoshl): Likewise.
11317 * math/s_casinh.c (__casinh): Set signs of result from argument.
11318 * math/s_casinhf.c (__casinhf): Likewise.
11319 * math/s_casinhl.c (__casinhl): Likewise.
11320 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
11321 (casinh_test): Add more tests.
11322 * sysdeps/i386/fpu/libm-test-ulps: Update.
11323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11324
482ff4da
UD
113252012-03-07 Ulrich Drepper <drepper@gmail.com>
11326
872fda05
UD
11327 * po/zh_TW.po: Update from translation team.
11328
a4300c7a
UD
11329 * login/Makefile (distribute): Remove variable.
11330 * catgets/Makefile: Likewise.
11331 * mach/Makefile: Likewise.
11332 * malloc/Makefile: Likewise.
11333 * misc/Makefile: Likewise.
11334 * iconv/Makefile: Likewise.
11335 * nscd/Makefile: Likewise.
11336 * hurd/Makefile: Likewise.
11337 * manual/Makefile: Likewise.
11338 * locale/Makefile: Likewise.
11339 * intl/Makefile: Likewise.
11340 * conform/Makefile: Likewise.
11341 * nss/Makefile: Likewise.
11342 * time/Makefile: Likewise.
11343 * soft-fp/Makefile: Likewise.
11344 * dirent/Makefile: Likewise.
11345 * gmon/Makefile: Likewise.
11346 * po/Makefile: Likewise.
11347 * rt/Makefile: Likewise.
11348 * socket/Makefile: Likewise.
11349 * math/Makefile: Likewise.
11350 * signal/Makefile: Likewise.
11351 * debug/Makefile: Likewise.
11352 * elf/Makefile: Likewise.
11353 * timezone/Makefile: Likewise.
11354 * stdlib/Makefile: Likewise.
11355 * iconvdata/Makefile: Likewise.
11356 * sunrpc/Makefile: Likewise.
11357 * io/Makefile: Likewise.
11358 * argp/Makefile: Likewise.
11359 * inet/Makefile: Likewise.
11360 * hesiod/Makefile: Likewise.
11361 * grp/Makefile: Likewise.
11362 * csu/Makefile: Likewise.
11363 * wctype/Makefile: Likewise.
11364 * crypt/Makefile: Likewise.
11365 * libio/Makefile: Likewise.
11366 * string/Makefile: Likewise.
11367 * nis/Makefile: Likewise.
11368 * resolv/Makefile: Likewise.
11369 * stdio-common/Makefile: Likewise.
11370 * wcsmbs/Makefile: Likewise.
11371 * dlfcn/Makefile: Likewise.
11372 * posix/Makefile: Likewise.
11373
3b7c4e74 11374 [BZ #6959]
482ff4da
UD
11375 * timezone/Makefile: Don't install timezone files, just the programs
11376 and scripts.
11377
f72ed77d
UD
113782012-03-06 Ulrich Drepper <drepper@gmail.com>
11379
a000466f
UD
11380 * nss/databases.def: Add missing gshadow entry.
11381
f72ed77d
UD
11382 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
11383
a53b7a4e
MP
113842012-03-06 Marek Polacek <polacek@redhat.com>
11385
11386 [BZ #13726]
11387 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
11388 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11389 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
11390 * stdio-common/tst-long-dbl-fphex.c: New file.
11391
e9258400
DM
113922012-03-06 David S. Miller <davem@davemloft.net>
11393
11394 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11395 (set_obp_int): New function.
11396 (get_obp_int): New function.
11397 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
11398 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
11399 Avoid unused variable warnings on 'val' and use builtin_expect.
11400 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
11401 __builtin_expect.
e9258400
DM
11402 (INLINE_CLONE_SYSCALL): Likewise.
11403
3bd2c723
DM
114042012-03-05 David S. Miller <davem@davemloft.net>
11405
11406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11407
bbb78d03
AS
114082012-03-05 Andreas Schwab <schwab@linux-m68k.org>
11409
884c5db4
AS
11410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11411
bbb78d03
AS
11412 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
11413 only for |x| >= 40.
11414 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11415
1c9f702a 114162012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
11417
11418 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
11419 Replace gettimeofday with __vdso_gettimeofday.
11420
7be16f82
RM
11421 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11422 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
11423 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
11424
11425 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
11426 time with __vdso_time.
11427
ed58a00f
JM
114282012-03-05 Joseph Myers <joseph@codesourcery.com>
11429
11430 * manual/lang.texi (size_t): Note types to which size_t may be
11431 equivalent with the GNU C Library, but do not describe when
11432 differences between them are significant.
11433
30ee4ced
AJ
114342012-03-05 Andreas Jaeger <aj@suse.de>
11435
11436 * sysdeps/i386/fpu/libm-test-ulps: Update.
11437
b7cd39e8
JM
114382012-03-05 Joseph Myers <joseph@codesourcery.com>
11439
11440 [BZ #3976]
11441 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
11442 (__ieee754_pow): Save and restore rounding mode and use
11443 round-to-nearest for main computations.
11444 * math/libm-test.inc (pow_test_tonearest): New function.
11445 (pow_test_towardzero): Likewise.
11446 (pow_test_downward): Likewise.
11447 (pow_test_upward): Likewise.
11448 (main): Call the new functions.
11449 * sysdeps/i386/fpu/libm-test-ulps: Update.
11450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
11451
11452 [BZ #3976]
11453 * math/libm-test.inc (cosh_test_tonearest): New function.
11454 (cosh_test_towardzero): Likewise.
11455 (cosh_test_downward): Likewise.
11456 (cosh_test_upward): Likewise.
11457 (sinh_test_tonearest): Likewise.
11458 (sinh_test_towardzero): Likewise.
11459 (sinh_test_downward): Likewise.
11460 (sinh_test_upward): Likewise.
11461 (main): Call the new functions.
11462 * sysdeps/i386/fpu/libm-test-ulps: Update.
11463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11464
6c6a98c9
TV
114652012-03-05 Tom de Vries <tom@codesourcery.com>
11466
11467 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
11468 default stack guard is set in last bytes.
11469 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
11470
21bb2d2e 114712012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 11472
21bb2d2e 11473 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 11474
21bb2d2e
AJ
11475 [BZ #13656]
11476 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
11477 possibly allocate from heap instead of stack.
11478 * stdio-common/bug-vfprintf-nargs.c: New file.
11479 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 11480
c6922934
AS
114812012-03-03 Andreas Schwab <schwab@linux-m68k.org>
11482
11483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11484
bc957d53
MP
114852012-03-03 Marek Polacek <polacek@redhat.com>
11486
11487 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
11488 * math/math_private.h: Likewise.
11489 * stdlib/tst-strtod.c: Likewise.
11490 * sysdeps/i386/i486/bits/atomic.h: Likewise.
11491 * sysdeps/x86_64/bits/atomic.h: Likewise.
11492
6358490d
DM
114932012-03-02 David S. Miller <davem@davemloft.net>
11494
11495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
11496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
11497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
11498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
11499 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
11500 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
11501 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
11502 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
11503
01ae168d
RM
115042012-03-02 Roland McGrath <roland@hack.frob.com>
11505
d9a17c07
RM
11506 [BZ #13792]
11507 * manual/examples/README: New file, says the example source files
11508 can be used under GPL>=2.
11509 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
11510 line containing just "*/".
11511 * manual/examples/add.c: Add copyright header (GPL>=2).
11512 * manual/examples/argp-ex1.c: Likewise.
11513 * manual/examples/argp-ex2.c: Likewise.
11514 * manual/examples/argp-ex3.c: Likewise.
11515 * manual/examples/argp-ex4.c: Likewise.
11516 * manual/examples/atexit.c: Likewise.
11517 * manual/examples/db.c: Likewise.
11518 * manual/examples/dir.c: Likewise.
11519 * manual/examples/dir2.c: Likewise.
11520 * manual/examples/execinfo.c: Likewise.
11521 * manual/examples/filecli.c: Likewise.
11522 * manual/examples/filesrv.c: Likewise.
11523 * manual/examples/fmtmsgexpl.c: Likewise.
11524 * manual/examples/genpass.c: Likewise.
11525 * manual/examples/inetcli.c: Likewise.
11526 * manual/examples/inetsrv.c: Likewise.
11527 * manual/examples/isockad.c: Likewise.
11528 * manual/examples/longopt.c: Likewise.
11529 * manual/examples/memopen.c: Likewise.
11530 * manual/examples/memstrm.c: Likewise.
11531 * manual/examples/mkfsock.c: Likewise.
11532 * manual/examples/mkisock.c: Likewise.
11533 * manual/examples/mygetpass.c: Likewise.
11534 * manual/examples/pipe.c: Likewise.
11535 * manual/examples/popen.c: Likewise.
11536 * manual/examples/rprintf.c: Likewise.
11537 * manual/examples/search.c: Likewise.
11538 * manual/examples/select.c: Likewise.
11539 * manual/examples/setjmp.c: Likewise.
11540 * manual/examples/sigh1.c: Likewise.
11541 * manual/examples/sigusr.c: Likewise.
11542 * manual/examples/stpcpy.c: Likewise.
11543 * manual/examples/strdupa.c: Likewise.
11544 * manual/examples/strftim.c: Likewise.
11545 * manual/examples/strncat.c: Likewise.
11546 * manual/examples/subopt.c: Likewise.
11547 * manual/examples/swapcontext.c: Likewise.
11548 * manual/examples/termios.c: Likewise.
11549 * manual/examples/testopt.c: Likewise.
11550 * manual/examples/testpass.c: Likewise.
11551 * manual/examples/timeval_subtract.c: Likewise.
11552
01ae168d
RM
11553 [BZ #13792]
11554 * manual/time.texi (Elapsed Time): Move timeval_subtract example
11555 function to ...
11556 * manual/timeval_subtract.c.texi: ... here, new file.
11557
49efa33d
DM
115582012-03-02 David S. Miller <davem@davemloft.net>
11559
11560 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
11561
28afd92d
JM
115622012-03-02 Joseph Myers <joseph@codesourcery.com>
11563
804360ed
JM
11564 [BZ #3976]
11565 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
11566 (__sin): Save and restore rounding mode and use round-to-nearest
11567 for all computations.
11568 (__cos): Save and restore rounding mode and use round-to-nearest
11569 for all computations.
11570 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
11571 <fenv.h>.
11572 (tan): Save and restore rounding mode and use round-to-nearest for
11573 all computations.
11574 * math/libm-test.inc (cos_test_tonearest): New function.
11575 (cos_test_towardzero): Likewise.
11576 (cos_test_downward): Likewise.
11577 (cos_test_upward): Likewise.
11578 (sin_test_tonearest): Likewise.
11579 (sin_test_towardzero): Likewise.
11580 (sin_test_downward): Likewise.
11581 (sin_test_upward): Likewise.
11582 (tan_test_tonearest): Likewise.
11583 (tan_test_towardzero): Likewise.
11584 (tan_test_downward): Likewise.
11585 (tan_test_upward): Likewise.
11586 (main): Call the new functions.
11587 * sysdeps/i386/fpu/libm-test-ulps: Update.
11588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11589
a6d06d7b
JM
11590 [BZ #10135]
11591 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
11592 small n, then large n, before computing and testing k+n.
11593 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11594 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11595 Likewise.
11596 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11597 Likewise.
11598 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
11599 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11600 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11601 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11602 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11603 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11604 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11605 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
11606 * math/libm-test.inc (scalbn_test): Add more tests.
11607 (scalbln_test): Likewise.
11608
07e12bb3
JM
11609 * manual/filesys.texi (mode_t): Describe constraints on size and
11610 signedness, not exact equivalence to a particular type.
11611 (ino_t): Likewise.
11612 (ino64_t): Likewise.
11613 (dev_t): Likewise.
11614 (nlink_t): Likewise.
11615 (blkcnt_t): Likewise.
11616 (blkcnt64_t): Likewise.
11617 * manual/llio.texi (off_t): Likewise.
11618
28afd92d
JM
11619 [BZ #3976]
11620 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
11621 (__ieee754_exp): Save and restore rounding mode and use
11622 round-to-nearest for all computations.
11623 * math/libm-test.inc (exp_test_tonearest): New function.
11624 (exp_test_towardzero): Likewise.
11625 (exp_test_downward): Likewise.
11626 (exp_test_upward): Likewise.
11627 (main): Call the new functions.
11628 * sysdeps/i386/fpu/libm-test-ulps: Update.
11629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11630
b1eeb65d
CD
116312012-03-01 Chris Demetriou <cgd@google.com>
11632
11633 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
11634 have predictable order.
11635
53362a4b
DM
116362012-03-01 David S. Miller <davem@davemloft.net>
11637
3c969083
DM
11638 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
11639
759707de
DM
11640 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
11641 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
11642 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
11643 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
11644
dfdb8ff2
DM
11645 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
11646 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
11647 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
11648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
11649 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
11650 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
11651 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
11652 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
11653 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
11654
ead89f96
DM
11655 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11656
7f66bd07
DM
11657 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
11658 * sysdeps/sparc/fpu/libm-test-ulps: to here.
11659 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
11660
53362a4b
DM
11661 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
11662 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11663 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11664 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11665 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11666 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11667 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11668 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11669 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11670 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11671 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11672 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11673 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11674 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11675 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11676 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11677 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
11678 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
11679 * sysdeps/sparc/elf/configure: Regenerated.
11680
7b1902cb
JM
116812012-03-01 Joseph Myers <joseph@codesourcery.com>
11682
bec039bc
JM
11683 * configure.in (AS, LD): Require binutils 2.20 or later.
11684 * configure: Regenerated.
11685 * manual/install.texi (Tools for Compilation): Give binutils 2.20
11686 as required minimum version.
11687 * INSTALL: Regenerated.
11688
7b1902cb
JM
11689 [BZ #2541]
11690 [BZ #4108]
11691 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
11692 before squaring exponent.
11693 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
11694 bottom long double and 27 bits of top long double before squaring
11695 exponent.
11696 * math/libm-test.inc (erfc_test): Add more tests.
11697 * sysdeps/i386/fpu/libm-test-ulps: Update.
11698 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11700
f775c276
KT
117012012-03-01 Kai Tietz <ktietz@redhat.com>
11702
11703 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
11704 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
11705 containing bit-fields.
11706 * soft-fp/extended.h (_FP_UNION_E): Likewise.
11707 * soft-fp/single.h (_FP_UNION_S): Likewise.
11708 * soft-fp/double.h (_FP_UNION_D): Likewise.
11709
5b8a4d4a
JM
117102012-02-29 Joseph Myers <joseph@codesourcery.com>
11711
0bab47b6
JM
11712 [BZ #13786]
11713 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
11714 not include ../strcmp.S.
11715 [USE_AS_STRNCASECMP_L]: Likewise.
11716 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
11717 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
11718 * sysdeps/i386/i686/multiarch/strncase_l-c.c
11719 (__strncasecmp_l_ia32): Define as alias to
11720 __strncasecmp_l_nonascii.
11721
0fcad3e2
JM
11722 [BZ #5794]
11723 * math/libm-test.inc (expm1_test): Add test for bug 5794.
11724 * sysdeps/i386/fpu/libm-test-ulps: Update.
11725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11726
5b8a4d4a
JM
11727 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
11728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11729
8fdceb2e
JL
117302012-02-29 Jeff Law <law@redhat.com>
11731
11732 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
11733 out of bounds read.
11734
1f393a11
MP
117352012-02-29 Marek Polacek <polacek@redhat.com>
11736
11737 [BZ #13706]
11738 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
11739 * elf/Makefile: Add rules to run tst-unused-dep.out.
11740
8847f037
DM
117412012-02-28 David S. Miller <davem@davemloft.net>
11742
11743 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
11744 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
11745 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
11746 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
11747 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
11748 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
11749
169d7f11
JM
117502012-02-29 Joseph Myers <joseph@codesourcery.com>
11751
11752 * math/libm-test.inc (llround_test): Move one test from
11753 lround_test. Use TEST_f_L in moved test.
11754 (lround_test): Move misplaced test to llround_test. Add testcase
11755 from bug 2561.
11756
39adf059
UD
117572012-02-28 Ulrich Drepper <drepper@gmail.com>
11758
11759 * sysdeps/x86_64/fpu/e_expf.S: New file.
11760 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
11761
71b5d1c5
SB
117622012-02-28 Stanislav Brabec <sbrabec@suse.cz>
11763
11764 [BZ #13637]
11765 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
11766 of remain_len that may cause incomplete multi-byte character and
11767 false match.
11768 * posix/bug-regex33.c: New file.
11769 * posix/Makefile (tests): Add bug-regex33.
11770
1f77f049
JM
117712012-02-28 Joseph Myers <joseph@codesourcery.com>
11772
11773 * manual/macros.texi: New file.
11774 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
11775 * manual/libc.texinfo: Include macros.texi.
11776 * manual/creatute.texi: Likewise.
11777 * manual/install.texi: Likewise.
11778 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
11779 @glibcadj{} in references to the GNU C Library.
11780 * manual/charset.texi: Likewise.
11781 * manual/conf.texi: Likewise.
11782 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
11783 when not using those macros.
11784 * manual/creature.texi: Likewise.
11785 * manual/crypt.texi: Likewise.
11786 * manual/errno.texi: Likewise.
11787 * manual/filesys.texi: Likewise.
11788 * manual/header.texi: Likewise.
11789 * manual/install.texi: Likewise.
11790 * manual/intro.texi: Likewise.
11791 * manual/io.texi: Likewise.
11792 * manual/job.texi: Likewise.
11793 * manual/lang.texi: Likewise.
11794 * manual/libc.texiinfo: Likewise.
11795 * manual/llio.texi: Likewise.
11796 * manual/locale.texi: Likewise.
11797 * manual/maint.texi: Likewise.
11798 * manual/math.texi: Likewise.
11799 * manual/memory.texi: Likewise.
11800 * manual/message.texi: Likewise.
11801 * manual/nss.texi: Likewise.
11802 * manual/pattern.texi: Likewise.
11803 * manual/process.texi: Likewise.
11804 * manual/resource.texi: Likewise.
11805 * manual/search.texi: Likewise.
11806 * manual/setjmp.texi: Likewise.
11807 * manual/signal.texi: Likewise.
11808 * manual/socket.texi: Likewise.
11809 * manual/startup.texi: Likewise.
11810 * manual/stdio.texi: Likewise.
11811 * manual/string.texi: Likewise.
11812 * manual/sysinfo.texi: Likewise.
11813 * manual/syslog.texi: Likewise.
11814 * manual/terminal.texi: Likewise.
11815 * manual/time.texi: Likewise.
11816 * manual/users.texi: Likewise.
11817 * INSTALL: Regenerated.
11818 * NOTES: Regenerated.
d40c5d54 11819 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 11820
450bf206
AS
118212012-02-28 Andreas Schwab <schwab@linux-m68k.org>
11822
11823 * include/dirent.h: Include <dirstream.h> before
11824 <dirent/dirent.h>.
11825
741a235b
DM
118262012-02-28 David S. Miller <davem@davemloft.net>
11827
11828 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
11829 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
11830 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
11831 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
11832
d6b5aa58
DM
118332012-02-27 David S. Miller <davem@davemloft.net>
11834
1aff59a3
DM
11835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
11836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
11837 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
11838 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
11839
d6b5aa58
DM
11840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
11841 frame pointer instead of stack pointer relative arg slot.
11842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11843 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11844 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11845
433f48bf
CD
118462012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
11847
11848 [BZ #3992]
11849 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
11850
d674b76d
DM
118512012-02-27 David S. Miller <davem@davemloft.net>
11852
11853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
11854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
11857 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11858 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11859 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
11860 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
11861
0e7727f7
JM
118622012-02-27 Joseph Myers <joseph@codesourcery.com>
11863
11864 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
11865 later. Allow versions 5-9.
43be4ca2 11866 * configure: Regenerated.
0e7727f7
JM
11867 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
11868 required minimum version and 4.6 as recommended version. Do not
11869 mention bugs in GCC 2.7 and 2.8.
43be4ca2 11870 * INSTALL: Regenerated.
0e7727f7 11871
a78bc654
DM
118722012-02-27 David S. Miller <davem@davemloft.net>
11873
428d5830
DM
11874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
11875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
11876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
11877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
11878 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
11879 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
11880 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
11881 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
11882
a78bc654
DM
11883 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
11884 manipulate bits before adding and subtracting TWO112[sx].
11885 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11886
4579f81c
RM
118872012-02-27 Roland McGrath <roland@hack.frob.com>
11888
36c8acb4
RM
11889 [BZ #13775]
11890 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
11891 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
11892 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
11893 being in POSIX, because they are in 1003.1-2008.
11894
84ad622b
RM
11895 * rt/tst-aio.c: Include <fcntl.h>.
11896 * rt/tst-aio7.c: Likewise.
11897 * rt/tst-aio64.c: Likewise.
11898
4579f81c
RM
11899 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
11900
abd923db
JM
119012012-02-27 Joseph Myers <joseph@codesourcery.com>
11902
11903 * manual/install.texi (--with-headers): Describe headers as
11904 interface headers, not private headers.
11905 (Specific advice for GNU/Linux systems): Describe use of headers
11906 from "make headers_install", not private headers from older
11907 kernels.
43be4ca2 11908 * INSTALL: Regenerated.
abd923db
JM
11909 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
11910 Change to 2.6.19.
11911 * sysdeps/unix/sysv/linux/configure: Regenerated.
11912
6664049b
JM
11913 * manual/llio.texi (fclean): Remove documentation.
11914
bb8b6697
JM
11915 * manual/Makefile (libc-texi-generated): New variable. Include
11916 version.texi.
11917 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
11918 $(libc-texi-generated), not duplicated list of files.
11919 (version.texi, stamp-version): New rules.
11920 (realclean): Remove $(libc-texi-generated), not individual files
11921 from that list. Do not remove dir-add.texinfo.
11922 * manual/libc.texinfo: Comment out uses of edition numbers and
11923 references to printed manual. Remove last-updated dates.
11924 (EDITION): Comment out.
11925 (ISBN): Likewise.
11926 (VERSION, UPDATED): Remove.
11927 (version.texi): Include.
11928
12e5c3b9
AS
119292012-02-27 Andreas Schwab <schwab@linux-m68k.org>
11930
11931 * sysdeps/posix/spawni.c: Include <signal.h>.
11932 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
11933 * sysdeps/pthread/aio_fsync.c: Likewise.
11934
4efeffc1 119352012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 11936
ba63ba08
UD
11937 * conform/Makefile (tests): Run only when not cross-compiling and
11938 when fast-check is not defined.
11939
d94a4670
UD
11940 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
11941 * conform/data/limits.h-data: Fixes for POSIX2008.
11942 * conform/run-conformtest.sh: Run all tests.
11943 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
11944 headers.
11945 * include/bits/dlfcn.h: Likewise.
11946 * include/langinfo.h: Likewise.
11947 * include/monetary.h: Likewise.
11948 * include/sys/poll.h: Likewise.
11949
11950 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
11951 for __USE_GNU.
11952 * posix/spawn.h: Define __need_sigset_t.
11953 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
11954 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
11955 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
11956 to get sigevent_t only.
11957 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
11958 only for __USE_GNU.
11959 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11960 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11961 process_vm_writev only for __USE_GNU.
11962 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
11963
11964 * conform/Makefile: For now ignore errors from run-conformtest.
11965 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
11966 POSIX to avoid namespace pollution. Don't prepend headers.
11967 * conform/data/aio.h-data: Fixes for POSIX testing.
11968 * conform/data/fcntl.h-data: Likewise.
11969 * conform/data/glob.h-data: Likewise.
11970 * conform/data/grp.h-data: Likewise.
11971 * conform/data/pthread.h-data: Likewise.
11972 * conform/data/pwd.h-data: Likewise.
11973 * conform/data/signal.h-data: Likewise.
11974 * conform/data/spawn.h-data: Likewise.
11975 * conform/data/stdio.h-data: Likewise.
11976 * conform/data/stdlib.h-data: Likewise.
11977 * conform/data/stropts.h-data: Likewise.
11978 * conform/data/sys/mman.h-data: Likewise.
11979 * conform/data/sys/stat.h-data: Likewise.
11980 * conform/data/sys/types.h-data: Likewise.
11981 * conform/data/sys/wait.h-data: Likewise.
11982 * conform/data/time.h-data: Likewise.
11983 * conform/data/unistd.h-data: Likewise.
11984 * conform/data/utime.h-data: Likewise.
11985
11986 * io/sys/stat.h: fchmod was always in POSIX.
11987 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
11988 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
11989 * rt/aio.h: Define __need_timespec before including <time.h>.
11990 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
11991 struct. Add forward declaration of pthread_attr_t and use it in
11992 sigevent.
11993 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11994 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11995 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
11996 always remove CLK_TCK definition.
11997
c20105c3
AS
119982012-02-26 Andreas Schwab <schwab@linux-m68k.org>
11999
12000 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
12001
7a270350
UD
120022012-02-25 Ulrich Drepper <drepper@gmail.com>
12003
31341567
UD
12004 * conform/run-conformtest.sh: New file.
12005 * conform/Makefile: Run run-conformtest for tests.
12006 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
12007 support.
12008
12009 * conform/data/uchar.h-data: New file.
12010 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
12011 * conform/data/arpa/inet.h-data: Likewise.
12012 * conform/data/assert.h-data: Likewise.
12013 * conform/data/complex.h-data: Likewise.
12014 * conform/data/cpio.h-data: Likewise.
12015 * conform/data/ctype.h-data: Likewise.
12016 * conform/data/dirent.h-data: Likewise.
12017 * conform/data/dlfcn.h-data: Likewise.
12018 * conform/data/errno.h-data: Likewise.
12019 * conform/data/fcntl.h-data: Likewise.
12020 * conform/data/float.h-data: Likewise.
12021 * conform/data/fmtmsg.h-data: Likewise.
12022 * conform/data/fnmatch.h-data: Likewise.
12023 * conform/data/ftw.h-data: Likewise.
12024 * conform/data/glob.h-data: Likewise.
12025 * conform/data/grp.h-data: Likewise.
12026 * conform/data/iconv.h-data: Likewise.
12027 * conform/data/inttypes.h-data: Likewise.
12028 * conform/data/langinfo.h-data: Likewise.
12029 * conform/data/libgen.h-data: Likewise.
12030 * conform/data/limits.h-data: Likewise.
12031 * conform/data/locale.h-data: Likewise.
12032 * conform/data/math.h-data: Likewise.
12033 * conform/data/monetary.h-data: Likewise.
12034 * conform/data/mqueue.h-data: Likewise.
12035 * conform/data/ndbm.h-data: Likewise.
12036 * conform/data/net/if.h-data: Likewise.
12037 * conform/data/netdb.h-data: Likewise.
12038 * conform/data/netinet/in.h-data: Likewise.
12039 * conform/data/nl_types.h-data: Likewise.
12040 * conform/data/poll.h-data: Likewise.
12041 * conform/data/pthread.h-data: Likewise.
12042 * conform/data/pwd.h-data: Likewise.
12043 * conform/data/regex.h-data: Likewise.
12044 * conform/data/sched.h-data: Likewise.
12045 * conform/data/search.h-data: Likewise.
12046 * conform/data/semaphore.h-data: Likewise.
12047 * conform/data/setjmp.h-data: Likewise.
12048 * conform/data/signal.h-data: Likewise.
12049 * conform/data/spawn.h-data: Likewise.
12050 * conform/data/stdarg.h-data: Likewise.
12051 * conform/data/stdio.h-data: Likewise.
12052 * conform/data/stdlib.h-data: Likewise.
12053 * conform/data/string.h-data: Likewise.
12054 * conform/data/strings.h-data: Likewise.
12055 * conform/data/stropts.h-data: Likewise.
12056 * conform/data/sys/ipc.h-data: Likewise.
12057 * conform/data/sys/mman.h-data: Likewise.
12058 * conform/data/sys/msg.h-data: Likewise.
12059 * conform/data/sys/resource.h-data: Likewise.
12060 * conform/data/sys/select.h-data: Likewise.
12061 * conform/data/sys/sem.h-data: Likewise.
12062 * conform/data/sys/shm.h-data: Likewise.
12063 * conform/data/sys/socket.h-data: Likewise.
12064 * conform/data/sys/stat.h-data: Likewise.
12065 * conform/data/sys/statvfs.h-data: Likewise.
12066 * conform/data/sys/time.h-data: Likewise.
12067 * conform/data/sys/timeb.h-data: Likewise.
12068 * conform/data/sys/times.h-data: Likewise.
12069 * conform/data/sys/types.h-data: Likewise.
12070 * conform/data/sys/uio.h-data: Likewise.
12071 * conform/data/sys/un.h-data: Likewise.
12072 * conform/data/sys/utsname.h-data: Likewise.
12073 * conform/data/sys/wait.h-data: Likewise.
12074 * conform/data/syslog.h-data: Likewise.
12075 * conform/data/tar.h-data: Likewise.
12076 * conform/data/termios.h-data: Likewise.
12077 * conform/data/utime.h-data: Likewise.
12078 * conform/data/utmpx.h-data: Likewise.
12079 * conform/data/varargs.h-data: Likewise.
12080 * conform/data/wchar.h-data: Likewise.
12081 * conform/data/wctype.h-data: Likewise.
12082 * conform/data/wordexp.h-data: Likewise.
12083
12084 * include/stropts.h: New file.
12085 * include/uchar.h: New file.
12086 * include/aio.h: Changes to allow conformtest.pl to use the headers.
12087 * include/assert.h: Likewise.
12088 * include/ctype.h: Likewise.
12089 * include/dirent.h: Likewise.
12090 * include/dlfcn.h: Likewise.
12091 * include/fcntl.h: Likewise.
12092 * include/fnmatch.h: Likewise.
12093 * include/glob.h: Likewise.
12094 * include/grp.h: Likewise.
12095 * include/libio.h: Likewise.
12096 * include/locale.h: Likewise.
12097 * include/math.h: Likewise.
12098 * include/net/if.h: Likewise.
12099 * include/netdb.h: Likewise.
12100 * include/netinet/in.h: Likewise.
12101 * include/pthread.h: Likewise.
12102 * include/pwd.h: Likewise.
12103 * include/regex.h: Likewise.
12104 * include/sched.h: Likewise.
12105 * include/search.h: Likewise.
12106 * include/setjmp.h: Likewise.
12107 * include/signal.h: Likewise.
12108 * include/stdio.h: Likewise.
12109 * include/stdlib.h: Likewise.
12110 * include/string.h: Likewise.
12111 * include/sys/cdefs.h: Likewise.
12112 * include/sys/mman.h: Likewise.
12113 * include/sys/msg.h: Likewise.
12114 * include/sys/resource.h: Likewise.
12115 * include/sys/select.h: Likewise.
12116 * include/sys/socket.h: Likewise.
12117 * include/sys/stat.h: Likewise.
12118 * include/sys/statvfs.h: Likewise.
12119 * include/sys/time.h: Likewise.
12120 * include/sys/times.h: Likewise.
12121 * include/sys/uio.h: Likewise.
12122 * include/sys/utsname.h: Likewise.
12123 * include/sys/wait.h: Likewise.
12124 * include/termios.h: Likewise.
12125 * include/time.h: Likewise.
12126 * include/ulimit.h: Likewise.
12127 * include/unistd.h: Likewise.
12128 * include/utime.h: Likewise.
12129 * include/wchar.h: Likewise.
12130 * include/wctype.h: Likewise.
12131 * include/wordexp.h: Likewise.
12132
12133 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
12134
7a270350
UD
12135 * time/time.h: TIME_UTC must be a macro.
12136 Make timespec_get available for ISO C11 only as well.
12137
7724defc
UD
121382012-02-24 Ulrich Drepper <drepper@gmail.com>
12139
12140 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
12141 Reported by Peng Haitao <penght@cn.fujitsu.com>.
12142
6b1d1d46
JM
121432012-02-24 Joseph Myers <joseph@codesourcery.com>
12144
12145 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 12146
0f8bbd69
JM
121472012-02-24 Joseph Myers <joseph@codesourcery.com>
12148
12149 * manual/texinfo.tex: Update to version 2012-01-19.16.
12150
66ab80bc
JM
121512012-02-24 Joseph Myers <joseph@codesourcery.com>
12152
12153 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
12154
74981cc5
RM
121552012-02-24 Roland McGrath <roland@hack.frob.com>
12156
ee968201
RM
12157 [BZ #13738]
12158 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
12159 * manual/fdl-1.3.texi: New file.
12160 * manual/fdl-1.1.texi: File removed.
12161
74981cc5
RM
12162 [BZ #13738]
12163 * manual/libc.texinfo (FDL_VERSION): New @set.
12164 Use it for mention of FDL in cover text.
12165 (Documentation License): Use it in @include file name.
12166
7bb764bc
JM
121672012-02-22 Joseph Myers <joseph@codesourcery.com>
12168 Roland McGrath <roland@hack.frob.com>
12169
12170 [BZ #5461]
12171 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
12172 not LONG_LONG_MAX and LONG_LONG_MIN.
12173 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
12174 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
12175 name.
12176 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
12177
6cbeae47
JM
121782012-02-22 Joseph Myers <joseph@codesourcery.com>
12179
12180 [BZ #2547]
12181 [BZ #11365]
12182 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
12183 manipulate bits before adding and subtracting TWO23[sx].
12184 * math/libm-test.inc (nearbyint_test): Add more tests.
12185
fe45ce09
JM
121862012-02-22 Joseph Myers <joseph@codesourcery.com>
12187
12188 [BZ #2548]
12189 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
12190 bits before adding and subtracting TWO23[sx].
12191 * math/libm-test.inc (rint_test): Add more tests.
12192 (rint_test_tonearest): Likewise.
12193 (rint_test_towardzero): Likewise.
12194 (rint_test_downward): Likewise.
12195 (rint_test_upward: Likewise.
12196
ff3b3d82
JM
121972012-02-22 Joseph Myers <joseph@codesourcery.com>
12198
12199 [BZ #10110]
12200 * include/stdc-predef.h: New file. Extracted from features.h.
12201 * include/features.h: Include stdc-predef.h.
12202 * Makefile (headers): Add stdc-predef.h.
12203 * CONFORMANCE (Compiler limitations): Update.
12204
ef0aab35
JM
122052012-02-22 Joseph Myers <joseph@codesourcery.com>
12206
12207 * manual/libc.texinfo (VERSION, UPDATED): Revert.
12208
58639409
DM
122092012-02-21 David S. Miller <davem@davemloft.net>
12210
12211 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
12212 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12213
c0e70b25
DM
122142012-02-20 David S. Miller <davem@davemloft.net>
12215
12216 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
12217 using a normal save/restore sequence, rather than allocating a
12218 dummy stack frame just to store a frame pointer and restore.
12219 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12220
fb06851d
JM
122212012-02-21 Joseph Myers <joseph@codesourcery.com>
12222
12223 * manual/install.texi: Fix stray word in line-wrapped comment.
12224
7a8b71c3
DM
122252012-02-20 David S. Miller <davem@davemloft.net>
12226
d510c123
DM
12227 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
12228 both binutils and gcc support GOTDATA.
12229
0722d7c2
DM
12230 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
12231 "rd %pc" in the PIC register setup sequences.
12232
3d2b3019
DM
12233 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
12234 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12235 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12236 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12237 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12238 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12239 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12240 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12241 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
12242 (SYSCALL_ERROR_HANDLER): Likewise.
12243 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12244 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12245 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
12246 (SYSCALL_ERROR_HANDLER): Likewise.
12247
c80098a9
DM
12248 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
12249 (HAVE_GCC_GOTDATA): New.
12250 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
12251 relocation support in both binutils and gcc.
12252 * sysdeps/sparc/elf/configure: Regenerate.
12253
3a2545a0
DM
12254 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
12255 * sysdeps/sparc/sparc32/elf/configure: Delete.
12256 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
12257 * sysdeps/sparc/sparc64/elf/configure: Delete.
12258 * sysdeps/sparc/elf/configure.in: New file.
12259 * sysdeps/sparc/elf/configure: Generate.
12260
7a8b71c3
DM
12261 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
12262 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
12263 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12264 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
12265 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
12266
f1e86fca
JM
122672012-02-21 Joseph Myers <joseph@codesourcery.com>
12268
12269 * manual/install.texi: Do not mention specific glibc version
12270 numbers.
12271 * manual/libc.texinfo (VERSION, UPDATED): Update.
12272 (@copying): Use @copyright{} and range of years.
12273
0e7dfaef
JM
122742012-02-21 Joseph Myers <joseph@codesourcery.com>
12275
12276 [BZ #13695]
12277 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
12278 [crti.S not in sysdirs] (generated): Do not append.
12279 [crti.S not in sysdirs] (omit-deps): Likewise.
12280 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
12281 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
12282 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
12283 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
12284 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
12285 Likewise.
12286 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
12287 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
12288 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
12289 * csu/defs.awk: Remove file.
12290 * sysdeps/generic/initfini.c: Likewise.
12291 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
12292 variable.
12293 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
12294 Likewise.
12295
599af3ca
JM
122962012-02-20 Joseph Myers <joseph@codesourcery.com>
12297
12298 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
12299 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
12300 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
12301 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
12302 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12303 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
12304 <bits/epoll.h>.
12305 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
12306 (__EPOLL_PACKED): Define to empty if not defined by
12307 <bits/epoll.h>.
12308 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
12309 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12310 bits/epoll.h.
12311
0e499750
JM
123122012-02-20 Joseph Myers <joseph@codesourcery.com>
12313
12314 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
12315 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
12316 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
12317 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
12318 <bits/timerfd.h>.
12319 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
12320 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12321 bits/timerfd.h.
12322
5ad91f6e
JM
123232012-02-20 Joseph Myers <joseph@codesourcery.com>
12324
12325 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
12326 in C locale.
12327 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12328 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12329 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
12330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12331
06b99b02
AJ
123322012-02-20 Aurelien Jarno <aurelien@aurel32.net>
12333
12334 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12335 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12336
7638c0fd
AS
123372012-02-19 Andreas Schwab <schwab@linux-m68k.org>
12338
12339 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
12340 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
12341 defined.
12342 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
12343 Likewise.
12344 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
12345 entry for 2.16.
12346
92221550
AJ
123472012-02-19 Aurelien Jarno <aurelien@aurel32.net>
12348
12349 * math/w_acos.c: Use non-signaling floating-point comparisons.
12350 * math/w_acosf.c: Likewise.
12351 * math/w_acosh.c: Likewise.
12352 * math/w_acoshf.c: Likewise.
12353 * math/w_acoshl.c: Likewise.
12354 * math/w_acosl.c: Likewise.
12355 * math/w_asin.c: Likewise.
12356 * math/w_asinf.c: Likewise.
12357 * math/w_asinl.c: Likewise.
12358 * math/w_atanh.c: Likewise.
12359 * math/w_atanhf.c: Likewise.
12360 * math/w_atanhl.c: Likewise.
12361 * math/w_exp2.c: Likewise.
12362 * math/w_exp2f.c: Likewise.
12363 * math/w_exp2l.c: Likewise.
12364 * math/w_j0.c: Likewise.
12365 * math/w_j0f.c: Likewise.
12366 * math/w_j0l.c: Likewise.
12367 * math/w_j1.c: Likewise.
12368 * math/w_j1f.c: Likewise.
12369 * math/w_j1l.c: Likewise.
12370 * math/w_jn.c: Likewise.
12371 * math/w_jnf.c: Likewise.
12372 * math/w_log.c: Likewise.
12373 * math/w_log10.c: Likewise.
12374 * math/w_log10f.c: Likewise.
12375 * math/w_log10l.c: Likewise.
12376 * math/w_log2.c: Likewise.
12377 * math/w_log2f.c: Likewise.
12378 * math/w_log2l.c: Likewise.
12379 * math/w_logf.c: Likewise.
12380 * math/w_logl.c: Likewise.
12381 * math/w_sqrt.c: Likewise.
12382 * math/w_sqrtf.c: Likewise.
12383 * math/w_sqrtl.c: Likewise.
12384 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12385 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12386 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12387 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12388 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12389
ebaf36eb
JM
123902012-02-19 Joseph Myers <joseph@codesourcery.com>
12391
12392 [BZ #9739]
12393 * manual/string.texi (strnlen): Use correct parameter name in
12394 equivalent expression.
12395
71c254a6
JM
123962012-02-19 Joseph Myers <joseph@codesourcery.com>
12397
12398 [BZ #11174]
12399 * manual/users.texi (seteuid): Consistently use neweuid for
12400 argument name.
12401
16d2c631
JM
124022012-02-19 Joseph Myers <joseph@codesourcery.com>
12403
12404 [BZ #13704]
12405 * manual/nss.texi (Services in the NSS configuration): Correct
12406 list of services in example configuration file.
12407
cd837b09
NB
124082012-02-19 Nick Bowler <nbowler@draconx.ca>
12409
12410 [BZ #11322]
12411 * manual/arith.texi: Remove statements about negative zero
12412 behaving identically to zero.
12413
02c4bbad
JM
124142012-02-18 Joseph Myers <joseph@codesourcery.com>
12415
12416 [BZ #5993]
12417 * manual/install.texi: Do not document upgrading from libc5.
12418
366842e7
JM
124192012-02-18 Joseph Myers <joseph@codesourcery.com>
12420
12421 [BZ #4596]
12422 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
12423
dd54084d
DM
124242012-02-18 David S. Miller <davem@davemloft.net>
12425
12426 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
12427 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
12428 %o7 across the call.
12429 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
12430 instead.
12431 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
12432 SETUP_PIC_REG_LEAF.
12433 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12434 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
12435 * sysdeps/sparc/crtn.S: Likewise.
12436
2bcc53a3
UD
124372012-02-17 Ulrich Drepper <drepper@gmail.com>
12438
12439 * aout/Makefile: Remove.
12440
09c093b5
RK
124412012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
12442
12443 [BZ #13058]
12444 * manual/examples/argp-ex1.c (main): Format definition in GNU
12445 style.
12446 * manual/examples/argp-ex2.c (main): Likewise.
12447 * manual/examples/argp-ex3.c (main): Likewise.
12448 * manual/examples/argp-ex4.c (main): Likewise.
12449 * manual/examples/longopt.c (main): Use new-style prototype
12450 definition.
12451 * manual/examples/strncat.c (main): Specify return type and use
12452 (void) for arguments.
12453 * manual/examples/subopt.c (main): Use char **argv argument.
12454
2ee633a2
JM
124552012-02-17 Joseph Myers <joseph@codesourcery.com>
12456
12457 [BZ #5077]
12458 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
12459 rounding modes.
12460
0520adde
FB
124612012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
12462
12463 [BZ #6907]
12464 * manual/string.texi (strchr): Change when strchrnul is
12465 recommended.
12466
3f4081cd
DGM
124672012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
12468
12469 [BZ #174]
12470 * manual/locale.texi (setlocale): Document LOCPATH.
12471
d1b10e78
JM
124722012-02-17 Joseph Myers <joseph@codesourcery.com>
12473
12474 [BZ #10210]
12475 * manual/process.texi (execle): Move @dots{} before last argument.
12476
79c6869c
PB
124772012-02-17 Paul Bolle <pebolle@tiscali.nl>
12478
12479 [BZ #12047]
12480 * manual/charset.texi (Generic Charset Conversion): Fix typo
12481 (LC_TYPE -> LC_CTYPE).
12482
cc6e48bc
NB
124832012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
12484
12485 [BZ #5805]
12486 * manual/arith.texi (scalbn): Use @var{} on parameter names.
12487 (scalbnf): Likewise.
12488 (scalbnl): Likewise.
12489 (scalbln): Likewise.
12490 (scalblnf): Likewise.
12491 (scalblnl): Likewise.
12492 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
12493 (vwarnx): Likewise.
12494 (verr): Likewise.
12495 (verrx): Likewise.
12496 * manual/filesys.texi (telldir): Use braces around return type.
12497 * manual/llio.texi (mmap): Add space after comma.
12498 (mmap64): Likewise.
12499 * manual/math.texi (jn): Use @var{} on parameter names.
12500 (jnf): Likewise.
12501 (jnl): Likewise.
12502 (yn): Likewise.
12503 (ynf): Likewise.
12504 (ynl): Likewise.
12505 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
12506 line.
12507 * manual/resource.texi (ulimit): Use @dots{} instead of literal
12508 "...".
12509 (sched_get_priority_min): Remove semicolon on @deftypefun line.
12510 (sched_get_priority_max): Likewise.
12511 * manual/signal.texi (sigvec): Add space after comma.
12512 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
12513 names.
12514 (if_indextoname): Likewise.
12515 (if_freenameindex): Likewise.
12516 (sendto): Use ',' instead of '.' in prototype.
12517 * manual/startup.texi (syscall): Use @dots{} instead of literal
12518 "...".
12519 * manual/stdio.texi (__fpending): Separate initial words of
12520 paragraph from @deftypefun line.
12521 * manual/syslog.texi (syslog): Use @dots{} instead of literal
12522 "...".
12523 (vsyslog): Use @var{} on parameter names.
12524 * manual/terminal.texi (stty): Use @var{} on parameter names.
12525 * manual/users.texi (getutmp): Use @var{} on parameter names.
12526 (getutmpx): Likewise.
12527
5b23062f
JM
125282012-02-17 Joseph Myers <joseph@codesourcery.com>
12529
12530 [BZ #6884]
12531 * manual/stdio.texi (fopen): Fix typos in description of
12532 ",ccs=STRING".
12533
8dee4833
AJ
125342012-02-17 Aurelien Jarno <aurelien@aurel32.net>
12535
12536 [BZ #4026]
12537 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
12538 get clock_id definition.
12539
9078ce93
TS
125402012-02-17 Thomas Schwinge <thomas@schwinge.name>
12541
12542 [BZ #4822]
12543 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
12544 (madvise): Cast every argument to void on its own.
12545
3835c55f
JM
125462012-02-17 Joseph Myers <joseph@codesourcery.com>
12547
12548 [BZ #9902]
12549 * manual/startup.texi (Exit Status): Fix typo.
12550
35c47e37
JM
125512012-02-17 Joseph Myers <joseph@codesourcery.com>
12552
12553 [BZ #10140]
12554 * manual/examples/argp-ex1.c: Include <stdlib.h>.
12555 * manual/examples/argp-ex2.c: Likewise.
12556 * manual/examples/argp-ex3.c: Likewise.
12557
e3b69ca7
RH
125582012-02-16 Richard Henderson <rth@redhat.com>
12559
12560 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
12561 * sysdeps/s390/s390-32/initfini.c: Remove.
12562 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
12563 * sysdeps/s390/s390-64/initfini.c: Remove.
12564
df83af67
KK
125652012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12566
12567 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
12568 compiler output for sysdeps/generic/initfini.c.
12569 * sysdeps/sh/elf/initfini.c: Remove file.
12570
f63f3380
DM
125712012-02-16 David S. Miller <davem@davemloft.net>
12572
fb59b3a4
DM
12573 [BZ #11494]
12574 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
12575
f63f3380
DM
12576 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
12577 * sysdeps/sparc/crti.S: New file.
12578 * sysdeps/sparc/crtn.S: New file.
12579 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
12580 * sysdeps/sparc/sparc64/Makefile: Likewise.
12581
df6a4a4a
MF
125822012-02-15 Mike Frysinger <vapier@gentoo.org>
12583
6dd8f3dc 12584 [BZ #3335]
df6a4a4a
MF
12585 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
12586
1cac7236
RM
125872012-02-15 Roland McGrath <roland@hack.frob.com>
12588
d2c736f8
RM
12589 [BZ #4822]
12590 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
12591
1cac7236
RM
12592 * mach/devstream.c (cookie_io_functions_t): Macro removed.
12593 (write, read, close): Likewise.
12594 Patch by Aurelien Jarno <aurelien@aurel32.net>.
12595
8e475601
JM
125962012-02-15 Joseph Myers <joseph@codesourcery.com>
12597
12598 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
12599 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
12600 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
12601 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
12602 <bits/signalfd.h>.
12603 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
12604 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12605 bits/signalfd.h.
12606
ed656b40
MP
126072012-02-14 Marek Polacek <polacek@redhat.com>
12608
12609 * sysdeps/x86_64/crti.S: New file.
12610 * sysdeps/x86_64/crtn.S: New file.
12611 * sysdeps/x86_64/elf/initfini.c: Remove file.
12612
2a979d3a
JM
126132012-02-13 Joseph Myers <joseph@codesourcery.com>
12614
12615 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
12616 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
12617 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
12618 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
12619 <bits/inotify.h>.
12620 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
12621 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12622 bits/inotify.h.
12623
2a418ac3
JM
126242012-02-13 Joseph Myers <joseph@codesourcery.com>
12625
12626 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
12627 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
12628 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
12629 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
12630 <bits/eventfd.h>.
12631 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
12632 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12633 bits/eventfd.h.
12634
fb779be7
TS
126352012-02-10 Thomas Schwinge <thomas@codesourcery.com>
12636
e19e83c5
RM
12637 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
12638 __feraiseexcept instead of feraiseexcept.
7c35ffed 12639
fb779be7
TS
12640 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
12641 nanosleep invocations.
12642 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
12643 strings, and add error checking for a nanosleep invocations.
12644
59ba27a6
PE
126452012-02-09 Paul Eggert <eggert@cs.ucla.edu>
12646
12647 Replace FSF snail mail address with URLs, as per GNU coding standards.
12648 Most of the snail mail addresses were wrong anyway, and omitting
12649 them makes the source code easier to maintain. Almost all of the
12650 changes are to license notices and to locale LC_IDENTIFICATION
12651 addresses, except for this one:
12652 * manual/libc.texinfo: In "Published by", give the FSF's URL,
12653 not its snail mail address.
12654
57b957eb
RH
126552012-02-09 Richard Henderson <rth@twiddle.net>
12656
af850b1c
RH
12657 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
12658 of kernel-features.h.
12659
57b957eb
RH
12660 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
12661
6b73181a
MP
126622012-02-08 Marek Polacek <polacek@redhat.com>
12663
12664 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
12665 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
12666 * sysdeps/gnu/_G_config.h: Likewise.
12667 * sysdeps/generic/_G_config.h: Likewise.
12668
26ecc33a
AS
126692012-02-08 Andreas Schwab <schwab@linux-m68k.org>
12670
6c6dbc63
AS
12671 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
12672 tests.
12673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12674
e216c012
AS
12675 * sysdeps/powerpc/powerpc32/crti.S: New file.
12676 * sysdeps/powerpc/powerpc32/crtn.S: New file.
12677 * sysdeps/powerpc/powerpc64/crti.S: New file.
12678 * sysdeps/powerpc/powerpc64/crtn.S: New file.
12679
26ecc33a
AS
12680 * Makeconfig (have-initfini): Don't set.
12681 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
12682 * configure.in (nopic_initfini): Don't substitute.
12683 * config.h.in (HAVE_INITFINI): Don't #undef.
12684 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
12685 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
12686
3add8e13
JM
126872012-02-08 Joseph Myers <joseph@codesourcery.com>
12688
12689 Support crti.S and crtn.S provided directly by architectures.
12690 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
12691 [crti.S in sysdirs] (omit-deps): Likewise.
12692 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
12693 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
12694 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
12695 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
12696 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
12697 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
12698 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
12699 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
12700 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
12701 compiler output for sysdeps/generic/initfini.c.
12702 * sysdeps/i386/elf/Makefile: Remove file.
12703 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
12704
a22f12b4
MP
127052012-02-07 Marek Polacek <polacek@redhat.com>
12706
12707 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
12708 * sysdeps/gnu/_G_config.h: Likewise.
12709 * sysdeps/mach/hurd/_G_config.h: Likewise.
12710
148cf100
MP
127112012-02-07 Marek Polacek <polacek@redhat.com>
12712
12713 * math/Makefile (tests): Add tst-CMPLX2.
12714 * math/tst-CMPLX2.c: New file.
12715
cfdc0dd7
AS
127162012-02-07 Andreas Schwab <schwab@linux-m68k.org>
12717
84ba42c4
AS
12718 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12719
cfdc0dd7
AS
12720 * math/libm-test.inc (jn_test): Add missing L suffix.
12721
622c86f4
MP
127222012-02-06 Marek Polacek <polacek@redhat.com>
12723
12724 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
12725 * sysdeps/i386/fpu/e_powf.S: Likewise.
12726 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12727 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12728 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12729 * sysdeps/i386/fpu/e_pow.S: Likewise.
12730 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12731 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12732 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12733 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12734 * sysdeps/i386/fpu/e_log2.S: Likewise.
12735 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12736 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12737 * sysdeps/i386/fpu/e_powl.S: Likewise.
12738 * sysdeps/i386/fpu/s_log1p.S: Likewise.
12739 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12740 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12741 * sysdeps/i386/fpu/e_logl.S: Likewise.
12742 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12743 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
12744 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12745 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12746 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12747 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12748 * sysdeps/i386/fpu/e_log.S: Likewise.
12749 * sysdeps/i386/fpu/s_cexp.S: Likewise.
12750 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12751 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
12752 * sysdeps/i386/fpu/e_logf.S: Likewise.
12753 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12754 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12755 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
12756 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12757 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12758 * sysdeps/i386/fpu/e_log10.S: Likewise.
12759 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12760 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12761 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12762 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12763 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12764 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12765 * sysdeps/i386/asm-syntax.h: Likewise.
12766 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12767 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12768 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12769 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
12770 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
12771 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12772 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12773 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12774 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12775 * sysdeps/powerpc/sysdep.h: Likewise.
12776 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
12777 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12778
d4a54ac6
JM
127792012-02-06 Joseph Myers <joseph@codesourcery.com>
12780
12781 [BZ #411]
12782 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
12783
314054ea
JM
127842012-02-06 Joseph Myers <joseph@codesourcery.com>
12785
12786 * sysdeps/i386/sysdep.h: Include <features.h>.
12787 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
12788 version.
12789
d8e0ca50
JM
127902012-02-05 Joseph Myers <joseph@codesourcery.com>
12791
12792 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
12793 Define.
12794 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
12795 LOAD_PIC_REG_STR.
12796
b1da7dd9
JM
127972012-02-03 Joseph Myers <joseph@codesourcery.com>
12798
12799 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
12800 (SETUP_PIC_REG): Use GET_PC_THUNK.
12801 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
12802 macro.
12803
9a1d9254
JM
128042012-02-03 Joseph Myers <joseph@codesourcery.com>
12805
12806 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
12807 for non-PIC compilation.
12808 (SETUP_PIC_REG): Add .p2align directive.
12809 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
12810 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12811 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12812 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12813 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12814 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12815 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12816 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12817 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12818 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12819 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12820 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12821 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12822 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12823 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12824 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12825 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12826 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12827 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12828 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12829 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12830 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12831 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12832 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12833 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12834 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12835 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12836 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12837 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12838 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12839 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12840 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12841 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12842 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12843 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12844 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12845 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12846 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12847 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12848 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12849 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12850
65dc3b75
JM
128512012-02-03 Joseph Myers <joseph@codesourcery.com>
12852
12853 * math/tst-CMPLX.c: Include <stdio.h>.
12854
d55bf177
JM
128552012-01-31 Joseph Myers <joseph@codesourcery.com>
12856
12857 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
12858 float.
12859 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12860 * sysdeps/sparc/bits/mathdef.h: Likewise.
12861
69db4f8f
MP
128622012-01-31 Marek Polacek <polacek@redhat.com>
12863
12864 * libio/libio.h: Don't define _PARAMS.
12865 * locale/programs/config.h: Don't define PARAMS.
12866 * stdlib/strtol_l.c: Likewise.
12867 (__strtol_l): Remove PARAMS from the prototype.
12868
41b81892
UD
128692012-01-31 Ulrich Drepper <drepper@gmail.com>
12870
3b49edc0
UD
12871 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
12872 names. Just use the correct names. Remove unnecessary wrapper
12873 functions.
12874 * malloc/arena.c: Likewise.
12875 * malloc/hooks.c: Likewise.
12876
41b81892
UD
12877 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
12878 ARENA_TEST says not to. Simplify test for creation of a new arena.
12879 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
12880
27a25b6e
UD
128812012-01-30 Ulrich Drepper <drepper@gmail.com>
12882
12883 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
12884 into tail calls.
12885 (update_get_addr): New function.
12886 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
12887 GET_ADDR_MODULE parameter.
12888
c8a89e7d
JM
128892012-01-30 Joseph Myers <joseph@codesourcery.com>
12890
12891 * crypt/cert.c: Remove __STDC__ conditionals.
12892 * crypt/crypt-entry.c: Likewise.
12893 * crypt/crypt_util.c: Likewise.
12894 * libio/filedoalloc.c: Likewise.
12895 * libio/fileops.c: Likewise.
12896 * libio/genops.c: Likewise.
12897 * libio/iofclose.c: Likewise.
12898 * libio/iofdopen.c: Likewise.
12899 * libio/iofopen.c: Likewise.
12900 * libio/iofopen64.c: Likewise.
12901 * libio/iogetdelim.c: Likewise.
12902 * libio/iopopen.c: Likewise.
12903 * libio/obprintf.c: Likewise.
12904 * libio/oldfileops.c: Likewise.
12905 * libio/oldiofclose.c: Likewise.
12906 * libio/oldiofdopen.c: Likewise.
12907 * libio/oldiofopen.c: Likewise.
12908 * libio/oldiopopen.c: Likewise.
12909 * libio/wfiledoalloc.c: Likewise.
12910 * libio/wgenops.c: Likewise.
12911 * locale/programs/xmalloc.c: Likewise.
12912 * misc/syslog.c: Likewise.
12913 * stdio-common/xbug.c: Likewise.
12914 * string/memchr.c: Likewise.
12915 * string/memcmp.c: Likewise.
12916 * string/memrchr.c: Likewise.
12917 * string/rawmemchr.c: Likewise.
12918 * sysdeps/posix/getcwd.c: Likewise.
12919 * time/strftime_l.c: Likewise.
12920
3b100462
JM
129212012-01-30 Joseph Myers <joseph@codesourcery.com>
12922
12923 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
12924 * config.make.in (config-cflags-sse2avx): Define.
12925 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
12926 Fix typo.
12927
607998af
CM
129282012-01-29 Chris Metcalf <cmetcalf@tilera.com>
12929
12930 * scripts/config.guess: Update from upstream config git repository.
12931 * scripts/config.sub: Likewise.
12932
3601428f
CM
129332012-01-28 Chris Metcalf <cmetcalf@tilera.com>
12934
3ac8b282
CM
12935 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
12936 (EM_NUM): Update.
12937 (R_TILEPRO_*, R_TILEGX_*): New macros.
12938
e034841e
CM
12939 * scripts/firstversions.awk: Fix bug in version range handling.
12940
540d7568
CM
12941 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
12942
3601428f
CM
12943 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
12944
463de862
CM
12945 * include/sys/epoll.h: New file.
12946 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
12947 libc_hidden_def.
12948
73139a76
UD
129492012-01-28 Ulrich Drepper <drepper@gmail.com>
12950
96bc5b45
UD
12951 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
12952 Avoid unnecessary __WORDSIZE == 64 test.
12953 (fmaxf): Use VEX format if possible.
12954 (fmax): Likewise.
12955 (fminf): Likewise.
12956 (fmin): Likewise.
12957
56f6f6a2
UD
12958 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
12959 * math/math_private.h: Remove libc_fegetround* and
12960 libc_fesetround*.
12961 * sysdeps/i386/configure.in: Check for -msse2avx.
12962 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
12963 also if SSE2AVX is defined.
12964 Remove libc_fegetround* and libc_fesetround*.
12965 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
12966 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
12967 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
12968 of HAS_YMM_USABLE.
12969 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12970 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12971 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12972 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12973 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12974
73139a76
UD
12975 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
12976
d73f93a4
AZ
129772012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12978
12979 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
12980 size is not set.
12981 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12982
6ee65ed6
UD
129832012-01-27 Ulrich Drepper <drepper@gmail.com>
12984
12985 [BZ #13618]
12986 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
12987 relocation.
12988 * Makeconfig (libm): Define.
12989 * elf/Makefile: Add rules to build and run tst-relsort1.
12990 * elf/tst-relsort1.c: New file.
12991 * elf/tst-relsort1mod1.c: New file.
12992 * elf/tst-relsort1mod2.c: New file.
12993
8db21882
JM
129942012-01-27 Joseph Myers <joseph@codesourcery.com>
12995
12996 * math/s_ldexp.c: Remove __STDC__ conditionals.
12997 * math/s_ldexpf.c: Likewise.
12998 * math/s_ldexpl.c: Likewise.
12999 * math/s_nextafter.c: Likewise.
13000 * math/s_nexttowardf.c: Likewise.
13001 * math/s_significand.c: Likewise.
13002 * math/s_significandf.c: Likewise.
13003 * math/s_significandl.c: Likewise.
13004 * math/w_jnl.c: Likewise.
13005 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13006 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13007 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13008 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13009 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13010 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13011 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
13012 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13013 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13014 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13015 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13016 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13017 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13018 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13019 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13020 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13021 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13022 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13023 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13024 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13025 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13026 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13027 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13028 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13029 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13030 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13031 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13032 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13033 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13034 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13035 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13036 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13037 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13038 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13039 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13040 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13041 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13042 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13043 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13044 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13045 * sysdeps/ieee754/k_standard.c: Likewise.
13046 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13047 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13048 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13049 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13050 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13051 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13052 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13053 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13054 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13055 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13056 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13057 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13058 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13059 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13060 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13061 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13062 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13063 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13064 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13065 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13066 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13067 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13068 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13069 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13070 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13071 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13072 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13073 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13074 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13075 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13076 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13077 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
13078 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13079 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13080 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13081 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13082 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
13083 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13084 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13085 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13086 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13087 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13088 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13089 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13090 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13091 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13092 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13093 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13094 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13095 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13096 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
13097 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13098 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13099 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13100 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13101 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13102 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
13103 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13104 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13105 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13106 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13107 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13108 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13109 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13110 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13111 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13112 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13113 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13114 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13115 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13116 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13117 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13118 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13119 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13120 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13121 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13122 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13123 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13124 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13125 * sysdeps/ieee754/s_matherr.c: Likewise.
13126 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13127 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13128 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13129 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13130
965a54a4
JM
131312012-01-26 Joseph Myers <joseph@codesourcery.com>
13132
13133 * crypt/md5.h: Remove __STDC__ conditionals.
13134 * libio/libioP.h: Likewise.
13135 * locale/programs/config.h: Likewise.
13136 * sysdeps/generic/sysdep.h: Likewise.
13137 * sysdeps/i386/asm-syntax.h: Likewise.
13138 * sysdeps/s390/asm-syntax.h: Likewise.
13139 * sysdeps/unix/sysdep.h: Likewise.
13140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13142
7071ad79
JM
131432012-01-26 Joseph Myers <joseph@codesourcery.com>
13144
13145 * libio/libio.h: Remove __STDC__ conditionals.
13146 * malloc/obstack.h: Likewise.
13147 * math/complex.h: Likewise.
13148 * math/math.h: Likewise.
13149 * sysdeps/generic/_G_config.h: Likewise.
13150 * sysdeps/gnu/_G_config.h: Likewise.
13151 * sysdeps/mach/hurd/_G_config.h: Likewise.
13152 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13153 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13154 * sysdeps/sparc/bits/mathdef.h: Likewise.
13155
afc5ed09
UD
131562012-01-26 Ulrich Drepper <drepper@gmail.com>
13157
13158 [BZ #13583]
13159 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 13160 Clean up HAS_* macros.
afc5ed09 13161 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
13162 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
13163 possible.
13164 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
13165 HAS_AVX.
13166 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13167 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13168 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13169 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13170 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 13171
bdb6de1d
JM
131722012-01-25 Joseph Myers <joseph@codesourcery.com>
13173
13174 * elf/tst-unique3.cc (gets): Remove declaration.
13175 * elf/tst-unique3lib.cc (gets): Likewise.
13176 * elf/tst-unique3lib2.cc (gets): Likewise.
13177 * elf/tst-unique4.cc (gets): Likewise.
13178
b15549e6
UD
131792012-01-24 Ulrich Drepper <drepper@gmail.com>
13180
13181 * include/stdio.h: Add C++ protection. Add gets declarations and
13182 definitions.
13183 * debug/tst-chk1.c: Don't declare gets here.
13184 * stdio-common/tst-gets.c: Likewise.
13185
a037381f
JM
131862012-01-24 Joseph Myers <joseph@codesourcery.com>
13187
13188 * posix/glob: Remove directory.
13189
f1d4aa75
JM
131902012-01-24 Joseph Myers <joseph@codesourcery.com>
13191
13192 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
13193
81c0c964
PT
131942012-01-22 Pino Toscano <toscano.pino@tiscali.it>
13195
13196 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
13197 of the non-standard EPFNOSUPPORT.
13198
0ea698ae
ST
131992011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
13200
13201 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
13202 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
13203 ANYWHERE set to 1 only on KERN_NO_SPACE error.
13204
d220b117
UD
132052012-01-21 Ulrich Drepper <drepper@gmail.com>
13206
13207 * wcsmbs/uchar.h: Test __STDC_VERSION__.
13208
3e1aa84e
UD
132092012-01-20 Ulrich Drepper <drepper@gmail.com>
13210
13211 * nscd/aicache.c (addhstaiX): Do not cache negative results of
13212 transient errors.
13213 * nscd/grpcache.c (cache_addgr): Likewise.
13214 * nscd/hstcache.c (cache_addhst): Likewise.
13215 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13216 * nscd/pwdcache.c (cache_addpw): Likewise.
13217 * nscd/servicescache.c (cache_addserv): Likewise.
13218
400aa020
UD
132192012-01-16 Ulrich Drepper <drepper@gmail.com>
13220
d77e7869
UD
13221 * malloc/malloc.c: Various cleanups.
13222 * malloc/hooks.c: Likewise.
13223
400aa020
UD
13224 * stdlib/Makefile (tests): Add bug-fmtmsg1.
13225 * stdlib/bug-fmtmsg1.c: New file.
13226
13227 * stdlib/fmtmsg.c (init): Add missing unlock.
13228 Patch by Peng Haitao <penght@cn.fujitsu.com>.
13229
e0a309cf
MP
132302012-01-12 Marek Polacek <polacek@redhat.com>
13231
13232 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
13233 and _GNU_SOURCE.
13234
929d11c7
WS
132352012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13236
13237 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
13238 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
13239 macro to ensure uniqueness of label name.
13240 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13241 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13242
41d0e869
UD
132432012-01-11 Ulrich Drepper <drepper@gmail.com>
13244
0cc5ed3b
UD
13245 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
13246
41d0e869
UD
13247 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
13248 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13249 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13250 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
13251
a47a831a
UD
132522012-01-10 Ulrich Drepper <drepper@gmail.com>
13253
daa891c0
UD
13254 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
13255
13256 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
13257 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13258 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13259
e58ef0f2
UD
13260 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
13261
a47a831a 13262 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
13263 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13264 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 13265 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
13266
13267 * math/bits/math-finite.h: Add ldexp support.
13268
a0bfc9c7
MP
132692012-01-10 Marek Polacek <polacek@redhat.com>
13270
13271 * locale/programs/localedef.h (show_archive_content): Add noreturn
13272 attribute.
13273
d6e97a1d
UD
132742012-01-09 Ulrich Drepper <drepper@gmail.com>
13275
13276 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
13277
d5835c26
UD
132782012-01-08 Ulrich Drepper <drepper@gmail.com>
13279
e5f484c6
UD
13280 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
13281
d5835c26
UD
13282 * io/Makefile (headers): Add bits/poll2.h.
13283
d1f741e9
WS
132842011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
13285
13286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
13287 typo #include statement.
13288
ec09c1c4
UD
132892012-01-08 Ulrich Drepper <drepper@gmail.com>
13290
13291 * include/sys/cdefs.h: Define __attribute_alloc_size.
13292 * catgets/gencat.c: Add alloc_size attribute and apply consistently
13293 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
13294 * elf/pldd.c: Likewise.
13295 * iconv/iconv_charmap.c: Likewise.
13296 * iconv/iconvconfig.c: Likewise.
13297 * iconv/strtab.c: Likewise.
13298 * locale/programs/locale.c: Likewise.
13299 * locale/programs/localedef.h: Likewise.
13300 * locale/programs/simple-hash.c: Likewise.
13301 * nscd/nscd.h: Likewise.
13302 * nss/makedb.c: Likewise.
13303 * sysdeps/generic/ldconfig.h: Likewise.
13304 * locale/programs/localedef.c: Remove xmalloc prototype.
13305 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
13306
20b38e03
PP
133072012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13308
13309 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
13310 appropriate.
13311
a0da5fe1
UD
133122012-01-08 Ulrich Drepper <drepper@gmail.com>
13313
1d5a644a 13314 * math/Makefile (tests): Add tst-CMPLX.
669704fd 13315 * math/tst-CMPLX.c: New file.
1d5a644a 13316
8784a6db
UD
13317 * math/complex.h (CMPLXL): Fix typo.
13318
d9a216c0
UD
13319 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
13320 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
13321 GLIBC_2.16.
13322 * debug/tst-chk1.c: Add poll and ppoll tests.
13323 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
13324 * include/sys/poll.h: Add hidden proto for ppoll.
13325 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
13326 * sysdeps/mach/hurd/ppoll.c: Likewise.
13327 * io/ppoll.c: Likewise.
13328 * debug/poll_chk.c: New file.
13329 * debug/ppoll_chk.c: New file.
13330 * include/bits/poll2.h: New file.
13331 * io/bits/poll2.h: New file.
13332
ac097f5c
UD
13333 [BZ #1350]
13334 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
13335
2119dcfa
UD
13336 * configure.in: static is always set to yes. Remove.
13337 * config.make.in: Don't set build-static.
13338 * Makeconfig: Remove use of build-static.
13339 * dlfcn/Makefile: Likewise.
13340 * elf/Makefile: Likewise.
13341 * math/Makefile: Likewise.
13342 * misc/Makefile: Likewise.
13343 * nptl/Makefile: Likewise.
13344 * sysdeps/mach/hurd/Makefile: Likewise.
13345
121766a9
UD
13346 * configure.in: PWD_P is not used anymore.
13347 * config.make.in: Remove PWD_P entry.
13348
51a1d39c 13349 * configure.in: Remove last remnants of RANLIB.
8720d066 13350 No need to check for signed size_t anymore.
215f4bdc
UD
13351 Don't set libc_commonpagesize and libc_relro_required here for Alpha
13352 and IA-64.
3857022a 13353 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
13354 * aclocal.m4: Likewise.
13355
d3ed7225
UD
13356 * wcsmbs/mbrtoc16.c: Implement using towc function.
13357 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
13358 * wcsmbs/wcsmbsload.c: Likewise.
13359 * iconv/gconv_simple.c: Likewise.
13360 * iconv/gconv_int.h: Likewise.
13361 * iconv/gconv_builtin.h: Likewise.
13362 * iconv/iconv_prog.c: Remove CHAR16 handling.
13363
13364 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
13365
13366 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
13367
a0da5fe1
UD
13368 * configure.in: Remove --with-elf and --enable-bounded options.
13369 Dont set base_machine for ia64. More non-ELF conditions removed.
13370 Remove testing and setting of leading underscore information.
13371 * config.make.in (build-bounded): Set to no.
13372 * config.h.in: Remove NO_UNDERSCORES entry.
13373 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
13374 them.
13375 * csu/start.c: Remove !NO_UNDERSCORE code.
13376 * locale/localeinfo.h: Likewise.
13377 * sysdeps/generic/machine-gmon.h: Likewise.
13378 * sysdeps/generic/sysdep.h: Likewise.
13379 * sysdeps/i386/sysdep.h: Likewise.
13380 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13381 * sysdeps/mach/sysdep.h: Likewise.
13382 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13383 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13384 * sysdeps/sh/sysdep.h: Likewise.
13385 * sysdeps/sparc/sparc32/alloca.S: Likewise.
13386 * sysdeps/unix/i386/sysdep.S: Likewise.
13387 * sysdeps/unix/sparc/start.c: Likewise.
13388 * sysdeps/unix/sparc/sysdep.S: Likewise.
13389 * sysdeps/unix/sparc/sysdep.h: Likewise.
13390 * sysdeps/unix/start.c: Likewise.
13391 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13392 * sysdeps/x86_64/sysdep.h: Likewise.
13393
df78418a
UD
133942012-01-07 Ulrich Drepper <drepper@gmail.com>
13395
a784e502
UD
13396 [BZ #13553]
13397 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
13398 for non-gcc.
13399 * argp/argp-fmtstream.h: Use const instead __const.
13400 * argp/argp.h: Likewise.
13401 * assert/assert.h: Likewise.
13402 * bits/fenv.h: Likewise.
13403 * bits/sched.h: Likewise.
13404 * bits/sigset.h: Likewise.
13405 * bits/sigthread.h: Likewise.
13406 * catgets/nl_types.h: Likewise.
13407 * conform/data/pthread.h-data: Likewise.
13408 * crypt/crypt-private.h: Likewise.
13409 * crypt/crypt.h: Likewise.
13410 * crypt/crypt_util.c: Likewise.
13411 * ctype/ctype.h: Likewise.
13412 * debug/execinfo.h: Likewise.
13413 * debug/mbsnrtowcs_chk.c: Likewise.
13414 * debug/mbsrtowcs_chk.c: Likewise.
13415 * debug/wcsnrtombs_chk.c: Likewise.
13416 * debug/wcsrtombs_chk.c: Likewise.
13417 * debug/wcstombs_chk.c: Likewise.
13418 * dirent/dirent.h: Likewise.
13419 * dlfcn/dlfcn.h: Likewise.
13420 * elf/neededtest4.c: Likewise.
13421 * grp/grp.h: Likewise.
13422 * gshadow/gshadow.h: Likewise.
13423 * iconv/gconv.h: Likewise.
13424 * iconv/gconv_int.h: Likewise.
13425 * iconv/gconv_simple.c: Likewise.
13426 * iconv/iconv.h: Likewise.
13427 * iconv/loop.c: Likewise.
13428 * iconv/skeleton.c: Likewise.
13429 * include/aio.h: Likewise.
13430 * include/aliases.h: Likewise.
13431 * include/argz.h: Likewise.
13432 * include/arpa/inet.h: Likewise.
13433 * include/assert.h: Likewise.
13434 * include/dirent.h: Likewise.
13435 * include/dlfcn.h: Likewise.
13436 * include/execinfo.h: Likewise.
13437 * include/fcntl.h: Likewise.
13438 * include/fenv.h: Likewise.
13439 * include/glob.h: Likewise.
13440 * include/grp.h: Likewise.
13441 * include/libintl.h: Likewise.
13442 * include/mntent.h: Likewise.
13443 * include/netdb.h: Likewise.
13444 * include/pwd.h: Likewise.
13445 * include/rpc/netdb.h: Likewise.
13446 * include/sched.h: Likewise.
13447 * include/search.h: Likewise.
13448 * include/shadow.h: Likewise.
13449 * include/signal.h: Likewise.
13450 * include/stdio.h: Likewise.
13451 * include/stdlib.h: Likewise.
13452 * include/string.h: Likewise.
13453 * include/sys/socket.h: Likewise.
13454 * include/sys/stat.h: Likewise.
13455 * include/sys/statfs.h: Likewise.
13456 * include/sys/statvfs.h: Likewise.
13457 * include/sys/syslog.h: Likewise.
13458 * include/sys/time.h: Likewise.
13459 * include/sys/uio.h: Likewise.
13460 * include/time.h: Likewise.
13461 * include/unistd.h: Likewise.
13462 * include/utmp.h: Likewise.
13463 * include/wchar.h: Likewise.
13464 * include/wctype.h: Likewise.
13465 * inet/aliases.h: Likewise.
13466 * inet/arpa/inet.h: Likewise.
13467 * inet/netinet/ether.h: Likewise.
13468 * inet/netinet/in.h: Likewise.
13469 * intl/libintl.h: Likewise.
13470 * io/bits/fcntl2.h: Likewise.
13471 * io/fcntl.h: Likewise.
13472 * io/ftw.h: Likewise.
13473 * io/sys/poll.h: Likewise.
13474 * io/sys/stat.h: Likewise.
13475 * io/sys/statfs.h: Likewise.
13476 * io/sys/statvfs.h: Likewise.
13477 * io/utime.h: Likewise.
13478 * libio/bits/stdio.h: Likewise.
13479 * libio/bits/stdio2.h: Likewise.
13480 * libio/libio.h: Likewise.
13481 * libio/libioP.h: Likewise.
13482 * libio/stdio.h: Likewise.
13483 * locale/lc-ctype.c: Likewise.
13484 * locale/locale.h: Likewise.
13485 * login/utmp.h: Likewise.
13486 * malloc/arena.c: Likewise.
13487 * malloc/malloc.c: Likewise.
13488 * malloc/malloc.h: Likewise.
13489 * malloc/mcheck.c: Likewise.
13490 * malloc/mtrace.c: Likewise.
13491 * math/bits/mathcalls.h: Likewise.
13492 * math/fenv.h: Likewise.
13493 * math/math_private.h: Likewise.
13494 * misc/bits/error.h: Likewise.
13495 * misc/bits/syslog.h: Likewise.
13496 * misc/err.h: Likewise.
13497 * misc/error.h: Likewise.
13498 * misc/fstab.h: Likewise.
13499 * misc/mntent.h: Likewise.
13500 * misc/regexp.h: Likewise.
13501 * misc/search.h: Likewise.
13502 * misc/sgtty.h: Likewise.
13503 * misc/sys/mman.h: Likewise.
13504 * misc/sys/syslog.h: Likewise.
13505 * misc/sys/uio.h: Likewise.
13506 * misc/sys/xattr.h: Likewise.
13507 * misc/ttyent.h: Likewise.
13508 * nis/rpcsvc/ypclnt.h: Likewise.
13509 * nss/nss.h: Likewise.
13510 * posix/bits/unistd.h: Likewise.
13511 * posix/fnmatch.h: Likewise.
13512 * posix/glob.h: Likewise.
13513 * posix/sched.h: Likewise.
13514 * posix/spawn.h: Likewise.
13515 * posix/sys/wait.h: Likewise.
13516 * posix/unistd.h: Likewise.
13517 * posix/wordexp.h: Likewise.
13518 * pwd/pwd.h: Likewise.
13519 * resolv/netdb.h: Likewise.
13520 * resource/sys/resource.h: Likewise.
13521 * rt/aio.h: Likewise.
13522 * rt/bits/mqueue2.h: Likewise.
13523 * rt/mqueue.h: Likewise.
13524 * shadow/shadow.h: Likewise.
13525 * signal/signal.h: Likewise.
13526 * socket/send.c: Likewise.
13527 * socket/sendto.c: Likewise.
13528 * socket/sys/socket.h: Likewise.
13529 * stdio-common/printf.h: Likewise.
13530 * stdlib/bits/stdlib.h: Likewise.
13531 * stdlib/fmtmsg.h: Likewise.
13532 * stdlib/monetary.h: Likewise.
13533 * stdlib/stdlib.h: Likewise.
13534 * stdlib/ucontext.h: Likewise.
13535 * streams/stropts.h: Likewise.
13536 * string/argz.h: Likewise.
13537 * string/bits/string2.h: Likewise.
13538 * string/string.h: Likewise.
13539 * string/strings.h: Likewise.
13540 * sunrpc/rpc/auth.h: Likewise.
13541 * sunrpc/rpc/auth_des.h: Likewise.
13542 * sunrpc/rpc/clnt.h: Likewise.
13543 * sunrpc/rpc/netdb.h: Likewise.
13544 * sunrpc/rpc/pmap_clnt.h: Likewise.
13545 * sunrpc/rpc/xdr.h: Likewise.
13546 * sysdeps/generic/inttypes.h: Likewise.
13547 * sysdeps/generic/net/if.h: Likewise.
13548 * sysdeps/generic/sys/swap.h: Likewise.
13549 * sysdeps/gnu/net/if.h: Likewise.
13550 * sysdeps/gnu/utmpx.h: Likewise.
13551 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
13552 * sysdeps/i386/i486/bits/string.h: Likewise.
13553 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
13554 * sysdeps/s390/bits/string.h: Likewise.
13555 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
13556 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
13557 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
13558 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
13559 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13560 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
13561 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
13562 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
13563 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
13564 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
13565 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
13566 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13567 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
13568 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13569 * sysdeps/unix/sysv/linux/readv.c: Likewise.
13570 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
13571 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13572 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13573 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13574 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13575 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13576 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
13577 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
13578 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
13579 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
13580 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
13581 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
13582 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13583 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
13584 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
13585 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
13586 * sysvipc/sys/ipc.h: Likewise.
13587 * sysvipc/sys/msg.h: Likewise.
13588 * sysvipc/sys/sem.h: Likewise.
13589 * sysvipc/sys/shm.h: Likewise.
13590 * termios/termios.h: Likewise.
13591 * time/sys/time.h: Likewise.
13592 * time/time.h: Likewise.
13593 * wcsmbs/bits/wchar2.h: Likewise.
13594 * wcsmbs/uchar.h: Likewise.
13595 * wcsmbs/wchar.h: Likewise.
13596 * wctype/wctype.h: Likewise.
13597
0269750c
UD
13598 [BZ #13551]
13599 * Makeconfig: Remove all but ELF support including AIX support.
13600 * Makerules: Likewise.
13601 * config.h.in: Likewise.
13602 * config.make.in: Likewise.
13603 * configure: Likewise.
13604 * configure.in: Likewise.
13605 * csu/Makefile: Likewise.
13606 * csu/version.c: Likewise.
13607 * debug/Makefile: Likewise.
13608 * dlfcn/Makefile: Likewise.
13609 * elf/Makefile: Likewise.
13610 * extra-lib.mk: Likewise.
13611 * iconv/Makefile: Likewise.
13612 * include/libc-symbols.h: Likewise.
13613 * include/shlib-compat.h: Likewise.
13614 * resolv/Makefile: Likewise.
13615 * resolv/res_libc.c: Likewise.
13616 * rt/Makefile: Likewise.
13617 * sysdeps/i386/asm-syntax.h: Likewise.
13618 * sysdeps/i386/sysdep.h: Likewise.
13619 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13620 * sysdeps/mach/sysdep.h: Likewise.
13621 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
13622 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
13623 * sysdeps/s390/asm-syntax.h: Likewise.
13624 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13625 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13626 * sysdeps/sh/sysdep.h: Likewise.
13627 * sysdeps/unix/sparc/sysdep.h: Likewise.
13628 * sysdeps/wordsize-32/divdi3.c: Likewise.
13629 * sysdeps/x86_64/sysdep.h: Likewise.
13630
00bbd29b
UD
13631 * argp/Versions: Remove _argp_unlock_xxx.
13632
13633 [BZ #13559]
13634 * abilist/ld.abilist: Update. Adjust for removal of tls option.
13635 * abilist/libBrokenLocale.abilist: Likewise.
13636 * abilist/libanl.abilist: Likewise.
13637 * abilist/libc.abilist: Likewise.
13638 * abilist/libcrypt.abilist: Likewise.
13639 * abilist/libdl.abilist: Likewise.
13640 * abilist/libm.abilist: Likewise.
13641 * abilist/libnsl.abilist: Likewise.
13642 * abilist/libpthread.abilist: Likewise.
13643 * abilist/libresolv.abilist: Likewise.
13644 * abilist/librt.abilist: Likewise.
13645 * abilist/libthread_db.abilist: Likewise.
13646 * abilist/libutil.abilist: Likewise.
13647 * abilist/libnss_db.abilist: New file.
13648
13649 * scripts/abilist.awk: Add support for indirect functions.
13650
a2693a0e
UD
13651 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
13652
3f05895f
UD
13653 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
13654
ecb6fb48
UD
13655 * shlib-versions: Remove entries for ports architectures.
13656
664f8cb9
UD
13657 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
13658 files in ports.
13659 * elf/stackguard-macros.h: Remove support for IA-64.
13660 * elf/tst-auditmod1.c: Likewise.
13661 * sysdeps/generic/ldsodefs.h: Likewise.
13662
7ae81d88
UD
13663 * sysdeps/unix/sysv/linux/configure.in: Ports should define
13664 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
13665 configure files.
13666
bdeba135
UD
13667 [BZ #13552]
13668 * configure.in: Remove --enable-omitfp support.
13669 * FAQ.in: Adjust.
13670 * config.make.in: Likewise.
13671 * Makeconfig: Likewise.
13672 * manual/install.texi: Likewise.
13673
d75a0a62
UD
13674 In case anyone cares, the IA-64 architecture could move to ports.
13675 * sysdeps/ia64/*: Removed.
13676 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 13677 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 13678
dcc9756b
UD
13679 [BZ #13555]
13680 * configure.in: Remove entries for unsupported architectures.
13681
d3761ebc 13682 [BZ #13533]
9954432e
UD
13683 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
13684 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
13685 routines.
13686 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
13687 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
13688 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
13689 fall back to using wcrtomb.
13690 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
13691 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
13692 renaming.
13693 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
13694 * wcsmbs/tst-c16c32-1.c: New file.
13695
13696 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
13697 local variable.
13698
c3a87236
UD
13699 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
13700
28926a1b
UD
13701 * elf/tst-unique3.cc: Add explicit declaration of gets.
13702 * elf/tst-unique3lib.cc: Likewise.
13703 * elf/tst-unique3lib2.cc: Likewise.
13704 * elf/tst-unique4.cc: Likewise.
13705
df78418a
UD
13706 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
13707
8ecd6b2a
JM
137082012-01-06 Joseph Myers <joseph@codesourcery.com>
13709
13710 [BZ #13566]
13711 * assert/assert.h (static_assert): Don't define for C++.
13712 * libio/stdio.h (gets): Do declare for C++ <= C++11.
13713 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
13714
9f115170
UD
137152012-01-03 Ulrich Drepper <drepper@gmail.com>
13716
5e0d0300
UD
13717 * iconv/loop.c (single loop): Fix assertion in storing of
13718 remaining bytes.
13719
9f115170
UD
13720 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
13721
81fb02b0
UD
137222012-01-01 Ulrich Drepper <drepper@gmail.com>
13723
13724 * posix/getconf.c: Update copyright year.
13725 * nss/getent.c: Likewise.
a316c1f6 13726 * nss/makedb.c: Likewise.
81fb02b0
UD
13727 * iconv/iconvconfig.c: Likewise.
13728 * iconv/iconv_prog.c: Likewise.
13729 * elf/ldconfig.c: Likewise.
a316c1f6
UD
13730 * elf/pldd.c: Likewise.
13731 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
13732 * catgets/gencat.c: Likewise.
13733 * csu/version.c: Likewise.
13734 * elf/ldd.bash.in: Likewise.
13735 * elf/sprof.c (print_version): Likewise.
13736 * locale/programs/locale.c: Likewise.
13737 * locale/programs/localedef.c: Likewise.
a316c1f6 13738 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
13739 * nscd/nscd.c (print_version): Likewise.
13740 * debug/xtrace.sh: Likewise.
13741 * malloc/memusage.sh: Likewise.
13742 * malloc/mtrace.pl: Likewise.
13743 * debug/catchsegv.sh: Likewise.
13744
2ba92745
JJ
137452011-12-30 Jakub Jelinek <jakub@redhat.com>
13746
13747 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
13748 pure attribute.
13749
dadebdae
UD
137502011-12-24 Ulrich Drepper <drepper@gmail.com>
13751
d3761ebc 13752 [BZ #13533]
db6af3eb
UD
13753 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
13754 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
13755 transformations.
13756 * iconv/gconv_int.h: Likewise.
13757 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
13758 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
13759 from libc for GLIBC_2.16.
13760 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
13761 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
13762 * wcsmbs/uchar.h: Really define mbstate_t.
13763 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
13764 * wcsmbs/c16rtomb.c: New file.
13765 * wcsmbs/mbrtoc16.c: New file.
13766 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
13767 for C/POSIX locale.
13768 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
13769 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
13770
dadebdae
UD
13771 * wcsmbs/wchar.h: Add missing __restrict.
13772
67371b56
UD
137732011-12-23 Ulrich Drepper <drepper@gmail.com>
13774
74033a25
UD
13775 [BZ #13532]
13776 * time/Makefile (routines): Add timespec_get.
13777 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
13778 * time/time.h: Define TIME_UTC and declare timespec_get. Define
13779 timespec for ISO C11.
13780 * time/timespec_get.c: New file.
13781 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
13782 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
13783
380d7e87
UD
13784 [BZ #13531]
13785 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
13786 * stdlib/stdlib.h: Declare aligned_alloc.
13787 * Versions.def: Add GLIBC_2.16 for libc.
13788 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
13789
4e9e7a35
UD
13790 [BZ 13527]
13791 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
13792 ISO C11.
13793
380d7e87 13794 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
13795 code.
13796
03a71829
UD
13797 [BZ #13528]
13798 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
13799
839e283e
UD
13800 [BZ #13529]
13801 * assert/assert.h (static_assert): Define.
13802
ce5294e2 13803 * version.h: Update for 2.16 development version.
90fa7312 13804
8d44e150 13805 [BZ #13526]
d7809905
UD
13806 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
13807 _ISOC11_SOURCE.
13808
c0da14cd
UD
13809 * version.h (RELEASE): Bump for 2.15 release.
13810 * include/features.h (__GLIBC_MINOR__): Bump to 15.
13811
530a3249
MP
13812 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
13813 Patch by Marek Polacek <mpolacek@redhat.com>.
13814
67371b56
UD
13815 * bits/byteswap.h: Protect long long constants with __extension__.
13816 * sysdeps/i386/bits/byteswap.h: Likewise.
13817 * sysdeps/ia64/bits/byteswap.h: Likewise.
13818 * sysdeps/s390/bits/byteswap.h: Likewise.
13819 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13820
15db4de1
LD
138212011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13822
13823 [BZ #13540]
bbe315ea
LD
13824 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
13825 destination buffer.
15db4de1
LD
13826 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13827
2b2596b1
MP
138282011-12-23 Marek Polacek <polacek@redhat.com>
13829
13830 * elf/dl-addr.c (determine_info): Add inline keyword.
13831 * elf/tst-auditmod4b.c (check_avx): Likewise.
13832 * elf/tst-auditmod6b.c (check_avx): Likewise.
13833 * elf/tst-auditmod6c.c (check_avx): Likewise.
13834 * elf/tst-auditmod7b.c (check_avx): Likewise.
13835
70c6c246
UD
138362011-12-23 Ulrich Drepper <drepper@gmail.com>
13837
13838 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
13839 !__SSE_MATH__.
13840
c044cf14
LD
138412011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13842
15db4de1 13843 [BZ #13540]
c044cf14
LD
13844 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
13845 processing for last bytes.
13846
6b13d9d9
BH
138472011-08-06 Bruno Haible <bruno@clisp.org>
13848
d455f537
BH
13849 [BZ #13061]
13850 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
13851 U+0385, not to U+1FEE.
13852
6b13d9d9
BH
13853 [BZ #13062]
13854 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
13855 entry for U+00A5 U+0301.
13856
db910efd
UD
138572011-12-22 Ulrich Drepper <drepper@gmail.com>
13858
27deeafc
UD
13859 [BZ #13166]
13860 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
13861 buffer for the output is too small.
13862
aed9d171
UD
13863 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
13864 optimization.
13865
db910efd
UD
13866 [BZ #13185]
13867 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
13868 SSE flags if possible.
13869
2bd779ae
LD
138702011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13871
e7f9dac3 13872 [BZ #13540]
2bd779ae
LD
13873 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
13874 processing for last bytes.
13875
154bfc16
JM
138762011-12-22 Joseph Myers <joseph@codesourcery.com>
13877
13878 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
13879 (syscall-list-default-options, syscall-list-default-condition)
13880 (syscall-list-includes): Define.
13881 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
13882 list of ABIs and options and #if conditions for each ABI. Do not
13883 handle common syscalls between ABIs specially.
13884 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
13885 Remove.
13886 (syscall-list-variants, syscall-list-32bit-options)
13887 (syscall-list-32bit-condition, syscall-list-64bit-options)
13888 (syscall-list-64bit-condition): Define.
13889 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
13890 (syscall-list-variants, syscall-list-32bit-options)
13891 (syscall-list-32bit-condition, syscall-list-64bit-options)
13892 (syscall-list-64bit-condition): Define.
13893 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
13894 Remove.
13895 (syscall-list-variants, syscall-list-32bit-options)
13896 (syscall-list-32bit-condition, syscall-list-64bit-options)
13897 (syscall-list-64bit-condition): Define.
13898 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
13899 Remove.
13900 (syscall-list-variants, syscall-list-32bit-options)
13901 (syscall-list-32bit-condition, syscall-list-64bit-options)
13902 (syscall-list-64bit-condition): Define.
13903
21eaf3a5
UD
139042011-12-22 Ulrich Drepper <drepper@gmail.com>
13905
16c6f992
UD
13906 * locale/iso-639.def: Add brx entry.
13907
41043168
UD
13908 [BZ #13328]
13909 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
13910 Proposed by Mariusz_Cukr <marcukr@op.pl>.
13911
21eaf3a5
UD
13912 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
13913 __feraiseexcept_renamed.
13914
e3a851a2
UD
139152011-12-21 Ulrich Drepper <drepper@gmail.com>
13916
4920765e
UD
13917 [BZ #13538]
13918 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
13919 EPOLLET with unsigned values.
13920 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13921 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13922
e3a851a2
UD
13923 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
13924 to large cancellation.
13925 * math/s_cacoshf.c: Likewise.
13926 * math/s_cacoshl.c: Likewise.
13927
b27e24b8
RK
139282011-11-18 Richard B. Kreckel <kreckel@ginac.de>
13929
13930 [BZ #13305]
aebefeee 13931 [BZ #12786]
b27e24b8
RK
13932 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
13933 * math/s_cacoshf.c: Likewise.
13934 * math/s_cacoshl.c: Likewise.
13935
ee190f67
UD
139362011-12-21 Ulrich Drepper <drepper@gmail.com>
13937
13938 [BZ #13439]
13939 * iconv/gconv.h: Define __GCONV_SWAP.
13940 * iconvdata/unicode.c: The swap bit must be stored in __flags.
13941 * iconvdata/utf-16.c: Likewise.
13942 * iconvdata/utf-32.c: Likewise.
13943
707f25df
AS
139442011-12-21 Andreas Schwab <schwab@linux-m68k.org>
13945
13946 [BZ #13524]
13947 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
13948 numerator after shifting it by one limb.
13949
d2daaa1e
RÁE
139502011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
13951
13952 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
13953 under [__USE_EXTERN_INLINES].
13954
a4647e72
UD
139552011-12-17 Ulrich Drepper <drepper@gmail.com>
13956
13957 [BZ #13446]
13958 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
13959
f0b264f1
AZ
139602011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13961
13962 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
13963 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
13964 optimized code.
13965 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
13966 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
13967 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
13968 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
13969 for strncasecmp/strncasecmp_l compilation.
13970 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
13971 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
13972
8ef4f244
MP
139732011-12-08 Marek Polacek <mpolacek@redhat.com>
13974
13975 [BZ #13484]
13976 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
13977 of __asm__.
13978
97ac2654
UD
139792011-12-17 Ulrich Drepper <drepper@gmail.com>
13980
13981 [BZ #13506]
13982 * time/tzfile.c (__tzfile_read): Check values from file header.
13983
91d2a845
WS
139842011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13985
13986 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
13987 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
13988 * powerpc/powerpc32/dl-start.S: Likewise.
13989 * powerpc/powerpc32/elf/start.S: Likewise.
13990 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13991 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
13992 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
13993 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
13994 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13995 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
13996 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
13997 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13998 * powerpc/powerpc32/fpu/s_round.S: Likewise.
13999 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14000 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14001 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14002 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
14003 * powerpc/powerpc32/memset.S: Likewise.
14004 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14005 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14006 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14007 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14008 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14009 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14010 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14011 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14012 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
14013 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
14014 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
14015 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14016 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14017
a1267ba1
AZ
140182011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14019
14020 * math/libm-test.inc: Added more nearbyint tests.
14021 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
14022 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
14023 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
14024 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
14025
ad8ac1bd
RL
140262011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
14027
14028 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
14029 FD_CLOEXEC.
14030
1d3e4b61
UD
140312011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14032
14033 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
14034 Add wcscpy-ssse3 wcscpy-c.
14035 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
14036 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
14037 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
14038 * sysdeps/x86_64/wcschr.S: New file.
14039 * sysdeps/x86_64/wcsrchr.S: New file.
14040 * string/test-strcmp.c: Remove checking of wcscmp function for
14041 wrong alignments.
14042 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
14043 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
14044 wcsrchr-sse2 wcsrchr-c.
14045 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
14046 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
14047 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
14048 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
14049 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
14050 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
14051 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
14052 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
14053 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
14054 * wcsmbc/wcschr.c (WCSCHR): New macro.
14055
5b330a2d
UD
140562011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14057
14058 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
14059 * wcsmbs/test-wcsrchr.c: New file.
14060 * string/test-strrchr.c: Add wcsrchr support.
14061 (WIDE): New macro.
14062 * wcsmbs/test-wcscpy.c: New file.
14063 * string/test-strcpy.c: Add wcscpy support.
14064 (WIDE): New macro.
26428b7c 14065
f039c043
UD
140662011-12-10 Ulrich Drepper <drepper@gmail.com>
14067
14068 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
14069 the inner loop.
14070
850fb039
AS
140712011-12-06 Andreas Schwab <schwab@linux-m68k.org>
14072
14073 [BZ #13472]
14074 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
14075
4efbd5cb
UD
140762011-12-04 Ulrich Drepper <drepper@gmail.com>
14077
52ff5dd0 14078 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 14079 Minor optimizations.
52ff5dd0 14080
4efbd5cb
UD
14081 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
14082 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
14083 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14084
8a426e12
UD
140852011-12-03 Ulrich Drepper <drepper@gmail.com>
14086
aff2453d
UD
14087 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
14088 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
14089 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
14090 for gcc to avoid warnings.
14091 * inet/Makefile (tests): Add tst-checks.
14092 * inet/tst-checks.c: New file.
14093
14094 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
14095 warning.
14096
14097 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
14098 __wmemcmp_sse2.
14099
14100 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
14101 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
14102
8a426e12
UD
14103 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
14104
9bea3473
UD
141052011-12-02 Ulrich Drepper <drepper@gmail.com>
14106
3a965496
UD
14107 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
14108 problem.
14109
9bea3473
UD
14110 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
14111
f101631b
UD
141122011-11-29 Joseph Myers <joseph@codesourcery.com>
14113
14114 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
14115 conditional on GCC version.
14116 (__arch_compare_and_exchange_val_8_acq)
14117 (__arch_compare_and_exchange_val_16_acq)
14118 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
14119 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
14120 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
14121
a98275aa
UD
141222011-12-02 Joseph Myers <joseph@codesourcery.com>
14123
14124 * sysdeps/sh/backtrace.c: New file.
14125
d4cc29a2
AS
141262011-12-02 Andreas Schwab <schwab@redhat.com>
14127
14128 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
14129 parenthesis.
14130
6257af2d
AS
141312011-12-01 Andreas Schwab <schwab@redhat.com>
14132
14133 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
14134 falling back to utime.
14135
b5f44c1a
AS
141362011-11-30 Andreas Schwab <schwab@redhat.com>
14137
14138 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
14139 expectations for float.
14140
f3a6cc0a
AS
141412011-11-29 Andreas Schwab <schwab@redhat.com>
14142
14143 * locale/weight.h (findidx): Add parameter len.
14144 * locale/weightwc.h (findidx): Likewise.
14145 * posix/fnmatch_loop.c (FCT): Adjust caller.
14146 * posix/regcomp.c (build_equiv_class): Likewise.
14147 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
14148 * posix/regexec.c (check_node_accept_bytes): Likewise.
14149 * string/strcoll_l.c (STRCOLL): Likewise.
14150 * string/strxfrm_l.c (STRXFRM): Likewise.
14151
9d65ea3a
UD
141522011-11-17 Ulrich Drepper <drepper@gmail.com>
14153
14154 * Makefile.in: Remove CVSOPT handling.
14155 * configure.in: Remove use of AC_REVISION.
14156 * iconvdata/Makefile (distribute): No need to filter out CVS.
14157 * scripts/list-sources.sh: Remove CVS, subversion and monotone
14158 handling.
14159
5583a086
AS
141602011-11-16 Andreas Schwab <schwab@redhat.com>
14161
14162 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
14163 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
14164 [USE_AS_STRNCASECMP_L]: Likewise.
14165 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
14166 NO_TLS_DIRECT_SEG_REFS.
14167 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
14168 Fix argument offsets for non-PIC.
14169 [USE_AS_STRNCASECMP_L]: Likewise.
14170 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
14171 NO_TLS_DIRECT_SEG_REFS.
14172
d62a8200
UD
141732011-11-15 Ulrich Drepper <drepper@gmail.com>
14174
9d65ea3a 14175 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
14176 O_CLOEXEC.
14177 * locale/loadlocale.c (_nl_load_locale): Likewise.
14178
09f93bd3
AS
141792011-11-15 Andreas Schwab <schwab@redhat.com>
14180
446514f9
AS
14181 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
14182 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
14183 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
14184 (SYSCALL_GETTIME): Set errno on error.
14185
09f93bd3
AS
14186 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
14187 count references to noai6ai_cached.
14188
312be3f9
UD
141892011-11-15 Ulrich Drepper <drepper@gmail.com>
14190
14191 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
14192
14193 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
14194 FD_CLOEXEC for /proc/self/maps.
14195
14196 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
14197 FD_CLOEXEC for /proc/meminfo.
14198
14199 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
14200 gai.conf.
14201
14202 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
14203 FD_CLOEXEC for given file.
14204
14205 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
14206
14207 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
14208 FD_CLOEXEC for /etc/hosts.
14209 (_gethtent): Likewise.
14210
14211 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
14212
14213 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
14214 cancellation and set FD_CLOEXEC for /etc/netgroup.
14215
14216 * nss/nss_files/files-key.c (search): Don't allow cancellation when
14217 reading /etc/publickey.
14218
14219 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
14220 allow cancellation when reading /etc/group.
14221
14222 * nss/nss_files/files-alias.c (internal_setent): Don't allow
14223 cancellation.
14224 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
14225
14226 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
14227 when using data file.
14228
14229 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
14230
14231 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
14232 (write_nis_obj): Use "c" and "e" in fopen.
14233
14234 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
14235
14236 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
14237
14238 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
14239
14240 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
14241
14242 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
14243 locale.alias.
14244
14245 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
14246
14247 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
14248
14249 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
14250
14251 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
14252 file parsing and set FD_CLOEXEC.
14253
82af0fa8
UD
142542011-11-14 Ulrich Drepper <drepper@gmail.com>
14255
14256 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
14257
a5fb313c
AS
142582011-11-14 Andreas Schwab <schwab@redhat.com>
14259
14260 * malloc/arena.c (arena_get2): Don't call reused_arena when
14261 _int_new_arena failed.
14262
6abf3465
UD
142632011-11-14 Ulrich Drepper <drepper@gmail.com>
14264
14265 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
14266 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
14267 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
14268 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14269 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14270 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
14271 to compile strcasecmp and strncasecmp.
14272 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
14273 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
14274
14275 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
14276
76e3966e
UD
142772011-11-13 Ulrich Drepper <drepper@gmail.com>
14278
14279 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
14280 locale-defines.sym to gen-as-const-headers.
14281 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
14282 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
14283 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
14284 to compile strcasecmp and strncasecmp.
14285 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
14286 strcasecmp_l and strncasecmp_l.
14287 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
14288 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
14289 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
14290 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
14291 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
14292 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
14293 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
14294 * sysdeps/i386/i686/multiarch/strncase.S: New file.
14295 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
14296 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
14297 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
14298
ab26144e
UD
142992011-11-12 Ulrich Drepper <drepper@gmail.com>
14300
7edb22ef
UD
14301 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
14302 result of SYSDEP_GETTIME_CPU to retval.
14303 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
14304 parameter list to macro. Remove trailing semicolon. Adjust users.
14305
9694fc44
UD
14306 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
14307 variable.
14308
8ad89ef8
UD
14309 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
14310 mantissa words.
14311 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14312
0c822ef9
UD
14313 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
14314 from unused variable.
14315
874e0564
UD
14316 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
14317 DWARF definitions.
14318 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
14319 for assembling.
14320
3a2edc79
UD
14321 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
14322 over namespaces.
14323
f3c2577f
UD
14324 * sunrpc/rpc_prot.c (rejected): Fix case value.
14325
294ce126
UD
14326 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
14327 unsigned long long int to avoid warnings in shift.
14328
5e2b63c6
UD
14329 * posix/regex_internal.c (re_string_reconstruct): Actually use result
14330 of use of trans.
14331 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
14332 variable tmp.
14333
e7f4b08e
UD
14334 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
14335 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
14336 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
14337
ab26144e
UD
14338 * nis/nis_table.c (nis_list): Use variable of correct type for
14339 result of __follow_path call.
14340
8a6d5255
AZ
143412011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14342
14343 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
14344 of math functions ceil, trunc, floor, round, and sqrt, when
14345 avaliable on the platform.
14346 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
14347 name clash.
14348 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14349 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14350 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14351
aaddc98c
MP
143522011-10-30 Marek Polacek <mpolacek@redhat.com>
14353
14354 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
14355 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14356
95b7042b
RM
143572011-11-11 Roland McGrath <roland@hack.frob.com>
14358
14359 * include/unistd.h: Fix __readlink return type.
14360 Reported by Chris Metcalf <cmetcalf@tilera.com>.
14361
57769839
UD
143622011-11-11 Ulrich Drepper <drepper@gmail.com>
14363
14364 * stdlib/ucontext.h: Undo last change for makecontext.
14365
edc5984d
AS
143662011-11-11 Andreas Schwab <schwab@redhat.com>
14367
98591e58
AS
14368 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
14369
edc5984d
AS
14370 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
14371 * setjmp/setjmp.h: Mark functions as non-leaf.
14372 * setjmp/bits/setjmp2.h: Likewise.
14373 * stdlib/ucontext.h: Likewise.
14374
77cdc054
AS
143752011-11-10 Andreas Schwab <schwab@redhat.com>
14376
14377 * malloc/arena.c (_int_new_arena): Don't increment narenas.
14378 (reused_arena): Don't check arena limit.
14379 (arena_get2): Atomically check arena limit.
14380
fe72eebd
UD
143812011-11-08 Ulrich Drepper <drepper@gmail.com>
14382
5f078c32
UD
14383 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
14384 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
14385
fe72eebd
UD
14386 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
14387 instructions.
14388
ae1bc2fa
AS
143892011-11-07 Andreas Schwab <schwab@redhat.com>
14390
7583a88d
AS
14391 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
14392 handler when locking.
14393
ae1bc2fa
AS
14394 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14395 Fix size of allocated buffer.
14396
10fb0bfa
AS
143972011-11-04 Andreas Schwab <schwab@redhat.com>
14398
998832a4
AS
14399 [BZ #10103]
14400 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
14401 declarations for long double functions.
14402 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
14403
10fb0bfa
AS
14404 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
14405
3d7ba52b
AS
144062011-11-03 Andreas Schwab <schwab@redhat.com>
14407
a9ae54a1
AS
14408 * nscd/nscd.c (main): Don't start AVC thread until credentials are
14409 installed.
14410
3d7ba52b
AS
14411 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
14412 is disabled.
14413
bc8db248
ST
144142011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14415
14416 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
14417
45b96dd6
AS
144182011-11-01 Andreas Schwab <schwab@linux-m68k.org>
14419
647776f6
AS
14420 * include/alloca.h (stackinfo_alloca_round): Define.
14421 (extend_alloca): Use it.
14422 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
14423 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
14424 here.
14425
d91a8b93
AS
14426 * scripts/check-local-headers.sh: Ignore libaudit.h.
14427
45b96dd6
AS
14428 * nscd/Makefile (extra-objs): Make recursively expanded.
14429
432d41ce
UD
144302011-11-01 Ulrich Drepper <drepper@gmail.com>
14431
34372fc6
UD
14432 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
14433 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14434
fadb59f8
UD
14435 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
14436 * posix/tst-rfc3484-2.c: Likewise.
14437 * posix/tst-rfc3484-3.c: Likewise.
14438
78239589
UD
14439 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14440 process_vm_writev.
14441 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
14442 process_vm_writev.
14443 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
14444 process_vm_writev from libc using GLIBC_2.15 version.
14445
432d41ce
UD
14446 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
14447
02f9c6cf
PP
144482011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
14449
14450 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
14451 stack usage.
14452
3a2c0242
UD
144532011-10-31 Ulrich Drepper <drepper@gmail.com>
14454
f4ec4833
UD
14455 [BZ #13367]
14456 * nss/getent.c (initgroups_keys): Show error message in case no group
14457 names are given.
14458
3a2c0242
UD
14459 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
14460 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
14461 __bump_nl_timestamp.
14462 * nscd/connections (nscd_init): When host database is served open
14463 netlink socket and request notification about configuration changes.
14464 (main_loop_poll): Track netlink file descriptor and bump timestamp
14465 in case data becomes available.
14466 (main_loop_epoll): Likewise.
14467 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
14468 (database_pers_head): Add extra_data fileds.
14469 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
14470 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
14471 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
14472 Adjust caller.
14473 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
14474 in6ai data, call __free_in6ai.
14475 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
14476 Add -DHAVE_NETLINK.
14477 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
14478 interface information. Reuse previous data if netlink timestamp
14479 is not changed.
14480 (__bump_nl_timestamp): New function.
14481 (__free_in6ai): New function.
14482
636064eb
UD
144832011-10-30 Ulrich Drepper <drepper@gmail.com>
14484
14485 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
14486 close_not_cancel_no_status here.
14487 (__check_pf): Reorganize code a bit to not call close twice if OOM.
14488
9beb2334
UD
144892011-10-29 Ulrich Drepper <drepper@gmail.com>
14490
6ef76f3b
UD
14491 [BZ #13276]
14492 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
14493 return value.
14494
0ffc4f3e 14495 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
14496 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
14497 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
14498
cb95113e
UD
144992011-07-03 Andreas Jaeger <aj@suse.de>
14500
14501 [BZ #10709]
14502 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
14503 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
14504 * math/libm-test.inc (sin_test): Add test case.
14505
a1b560ff
UD
145062011-10-29 Ulrich Drepper <drepper@gmail.com>
14507
c9aaface
UD
14508 [BZ #13337]
14509 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
14510 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14511
d272e7f1
UD
14512 * elf/chroot_canon.c (chroot_canon): Cleanups.
14513
1bc33071
UD
14514 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
14515
1760874d
TJ
14516 [BZ #13335]
14517 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
14518 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14519
51d91b18
UD
14520 * string/test-strchr.c: Make usable for strchrnul testing.
14521 * string/test-strchrnul.c: New file.
14522 * string/Makefile (strop-tests): Add strchrnul.
14523
a1b560ff 14524 * po/it.po: Update from translation team.
b611fb81 14525 * po/es.po: Likewise.
a1b560ff 14526
a5b81e1f
UD
145272011-10-28 Ulrich Drepper <drepper@gmail.com>
14528
fd52bc6d
UD
14529 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
14530 the three constants needed as parameters. Drop the others.
14531 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
14532 __m128i_strloadu_tolower.
52e4b9eb
UD
14533 Create and initialize variable zero and use it in all the places
14534 where _mm_setzero_si128 was used.
fd52bc6d 14535
a5b81e1f
UD
14536 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
14537 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
14538 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
14539 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
14540 anymore.
14541 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
14542 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
14543 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
14544 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
14545 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
14546 __mpranred, __mptan.
14547 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
14548 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
14549 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
14550 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
14551 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
14552 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
14553 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
14554 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
14555 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
14556
b4343346
AS
145572011-10-28 Andreas Schwab <schwab@redhat.com>
14558
0c92d8a8
AS
14559 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
14560 redefine if SHARED.
14561 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
14562
b4343346
AS
14563 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
14564 wide char related routines to wcsmbs subdir.
14565
3871f58f
AS
145662011-10-27 Andreas Schwab <schwab@redhat.com>
14567
14568 [BZ #13344]
14569 * misc/sys/cdefs.h (__THROWNL): Define.
14570 * posix/unistd.h: Use __THREADNL instead of __THREAD
14571 for memory synchronization functions.
14572
94d44d9f
RM
145732011-10-26 Roland McGrath <roland@hack.frob.com>
14574
21b64b15 14575 [BZ #13349]
94d44d9f
RM
14576 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
14577 doesn't exist.
14578 * manual/stdio.texi (Obstack Streams): Node removed.
14579
f6ce9294
AS
145802011-10-26 Andreas Schwab <schwab@redhat.com>
14581
80479147
AS
14582 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
14583 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14584 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14585
f6ce9294
AS
14586 * math/math_private.h (math_force_eval): Allow non-addressable
14587 arguments.
14588 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
14589
618280a1
UD
145902011-10-25 Ulrich Drepper <drepper@gmail.com>
14591
e0016b11
UD
14592 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
14593 file is not needed.
14594
14595 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
14596 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14597 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14598 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14599 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14600 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14601 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14602 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
14603 Add AVX variants.
14604 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
14605 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
14606 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
14607 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
14608 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
14609 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
14610 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
14611 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
14612 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
14613 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
14614 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
14615 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
14616 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
14617 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
14618 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
14619 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
14620 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
14621 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
14622 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
14623
14624 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
14625 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
14626
618280a1
UD
14627 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
14628 place. Use VEX encoding when compiling for AVX.
14629
37822576
AS
146302011-10-25 Andreas Schwab <schwab@redhat.com>
14631
1f1e1947
AS
14632 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
14633 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14634
37822576
AS
14635 * string/test-strchr.c (do_test): Don't generate NUL bytes.
14636
31ea014d
UD
146372011-10-25 Ulrich Drepper <drepper@gmail.com>
14638
d7826aa1 14639 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 14640 useless if() expression.
d7826aa1
UD
14641 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14642 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14643 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14644 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14645 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14646 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14647 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14648 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14649 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14650 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14651 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14652 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14653 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14654 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14655 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14656 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14657 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14658 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14659 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14660
31ea014d
UD
14661 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
14662
16437fec
AS
146632011-10-25 Andreas Schwab <schwab@redhat.com>
14664
14665 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
14666 condition.
14667 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14668
31d3cc00
UD
146692011-10-25 Ulrich Drepper <drepper@gmail.com>
14670
14671 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
14672 .text section. Avoid duplicate constants.
14673 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14674 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14675 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14676 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14677 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14678 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14679 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14680 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14681 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14682 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
14683 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14684 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14685 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14686 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14687 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14688 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14689 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14690 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14691 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14692 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14693 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14694 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14695 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14696 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
14697 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
14698 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
14699 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
14700 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
14701 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
14702 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14703 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
14704 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14705 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14706 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
14707 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
14708 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14709 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14710 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
14711 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
14712 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
14713 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
14714 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
14715 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
14716 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
14717 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14718
58985aa9
UD
147192011-10-24 Ulrich Drepper <drepper@gmail.com>
14720
202c9deb
UD
14721 * sysdeps/x86_64/dla.h: Move to ...
14722 * sysdeps/x86_64/fpu/dla.h: ...here.
14723 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
14724 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 14725
af968f62
UD
14726 * config.make.in: Add have-mfma4 entry.
14727 * configure.in: Substitute libc_cv_cc_fma4.
14728 * math/Makefile (dbl-only-routines): Add sincostab.
14729 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
14730 Use __sincostab not sincos.
14731 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
14732 name is a macro.
14733 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14734 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14735 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14736 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
14737 using __copysign.
14738 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
14739 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
14740 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
14741 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
14742 and __inv.
14743 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
14744 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
14745 __copysign.
14746 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
14747 define aliases when function name is a macro.
14748 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
14749 sysdeps/ieee754/dbl-64/sincos.tbl.
14750 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
14751 fma4-enabled routines.
14752 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
14753 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
14754 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
14755 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
14756 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
14757 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
14758 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
14759 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
14760 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
14761 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
14762 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
14763 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
14764 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
14765 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
14766 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
14767 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
14768 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
14769 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
14770 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
14771 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
14772 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
14773 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
14774 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
14775 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
14776 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
14777 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
14778 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
14779 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
14780 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
14781 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
14782
58985aa9
UD
14783 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
14784 rename.
14785 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14786 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14787 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14788 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14789 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14790 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14791 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14792 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14793
a201fbcf
AS
147942011-10-24 Andreas Schwab <schwab@redhat.com>
14795
14796 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
14797
fc2ee42a
LD
147982011-10-23 Ulrich Drepper <drepper@gmail.com>
14799
bb3129bd
UD
14800 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
14801
0275fff8
UD
14802 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
14803 prediction.
14804 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
14805
2fa2ae85
UD
14806 * string/strnlen.c: Don't define STRNLEN, reverse logic.
14807 Remove unused variable magic_bits.
14808 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
14809
fc2ee42a
LD
14810 * string/strnlen.c: Define and use STRNLEN macro.
14811 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
14812 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
14813 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
14814 * wcsmbs/wcslen.c: Define and use WCSLEN.
14815 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
14816 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
14817 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
14818 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
14819 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
14820 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
14821 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14822
ce7dd29f
LD
148232011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14824
14825 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14826 strnlen-sse2-no-bsf.
14827 Rename strlen-no-bsf to strlen-sse2-no-bsf.
14828 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
14829 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
14830 Add strnlen support.
14831 (USE_AS_STRNLEN): New macro.
14832 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
14833 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
14834 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
14835 * sysdeps/x86_64/wcslen.S: New file.
14836
979c70a3
MZ
148372011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
14838
14839 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14840 XMM-moves are used for copying on small sizes.
14841
2d09f82f
LD
148422011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14843
14844 * wcsmbs/Makefile (strop-tests): Add wcschr.
14845 * wcsmbs/test-wcschr.c: New file.
14846 * string/test-strchr.c: Update.
14847 Add wcschr support.
14848 (WIDE): New macro.
14849
619fccca
LD
148502011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14851
2d09f82f 14852 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
14853 * wcsmbs/test-wcslen.c: New file.
14854 * string/test-strlen.c: Update.
14855 Add wcslen support.
14856 (WIDE): New macro.
14857
09f699ea
UD
148582011-10-23 Ulrich Drepper <drepper@gmail.com>
14859
14860 * po/it.po: Update from translation team.
14861
95584d3b
LD
148622011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14863
14864 * sysdeps/x86_64/wcscmp.S: Update.
14865 Fix wrong comparison semantics.
14866 wcscmp shall use signed comparison not unsigned.
14867 Don't use substraction to avoid overflow bug.
14868 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14869 * wcsmbc/wcscmp.c: Likewise.
14870 * string/test-strcmp.c: Likewise.
14871 Add new tests to check cases with negative values.
14872
c8b3296b
UD
148732011-10-23 Ulrich Drepper <drepper@gmail.com>
14874
14875 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
14876 * sysdeps/x86_64/dla.h: ...here. New file.
14877 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
14878 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14879 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14880 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14881 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14882 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14883 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14884 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14885 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14886
246ad57a
AS
148872011-10-23 Andreas Schwab <schwab@linux-m68k.org>
14888
14889 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
14890 __ynl_finite aliases.
14891
a1a87169
UD
148922011-10-22 Ulrich Drepper <drepper@gmail.com>
14893
0d355eb7
UD
14894 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14895
a1a87169
UD
14896 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
14897 define DLA_FMA.
14898 [DLA_FMA] (EMULV): Use DLA_FMA.
14899 [DLA_FMA] (MUL12): Use EMULV.
14900 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
14901 that are not needed.
14902 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14903 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14904 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14905 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14906 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14907 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14908 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14909
ee2aafe0
AS
149102011-10-22 Andreas Schwab <schwab@linux-m68k.org>
14911
14912 * math/s_nan.c: Undef __nan.
14913 * math/s_nanf.c: Undef __nanf.
14914 * math/s_nanl.c: Undef __nanl.
14915 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
14916 "math_private.h".
14917
bc62c2fb
UD
149182011-10-22 Ulrich Drepper <drepper@gmail.com>
14919
77425c63
UD
14920 * math/s_catan.c: Add branch predictions.
14921 * math/s_catanf.c: Likewise.
14922 * math/s_catanh.c: Likewise.
14923 * math/s_catanhf.c: Likewise.
14924 * math/s_catanhl.c: Likewise.
14925 * math/s_catanl.c: Likewise.
14926 * math/s_cexp.c: Likewise.
14927 * math/s_cexpf.c: Likewise.
14928 * math/s_cexpl.c: Likewise.
14929 * math/s_clog.c: Likewise.
14930 * math/s_clog10.c: Likewise.
14931 * math/s_clog10f.c: Likewise.
14932 * math/s_clog10l.c: Likewise.
14933 * math/s_clogf.c: Likewise.
14934 * math/s_clogl.c: Likewise.
14935 * math/s_csqrt.c: Likewise.
14936 * math/s_csqrtf.c: Likewise.
14937 * math/s_csqrtl.c: Likewise.
14938 * math/s_ctanf.c: Likewise.
14939 * math/s_ctanh.c: Likewise.
14940 * math/s_ctanhf.c: Likewise.
14941 * math/s_ctanhl.c: Likewise.
14942 * math/s_ctanl.c: Likewise.
14943
bc62c2fb
UD
14944 * math/math_private.h: Define __nan, __nanf, __nanl.
14945 * math/s_cacosh.c: Include <math_private.h>.
14946 * math/s_cacoshl.c: Likewise.
14947 * math/s_casinh.c: Likewise.
14948 * math/s_casinhf.c: Likewise.
14949 * math/s_casinhl.c: Likewise.
14950 * math/s_ccos.c: Rely entire on ccosh.
14951 * math/s_ccosf.c: Rely entire on ccoshf.
14952 * math/s_ccosl.c: Rely entirely on ccoshl.
14953 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
14954 Remove tests for FE_INVALID.
14955 * math/s_ccoshf.c: Likewise.
14956 * math/s_ccoshl.c: Likewise.
14957 * math/s_csin.c: Likewise.
14958 * math/s_csinf.c: Likewise.
14959 * math/s_csinh.c Likewise.
14960 * math/s_csinhf.c: Likewise.
14961 * math/s_csinhl.c: Likewise.
14962 * math/s_csinl.c: Likewise.
14963 * math/s_ctan.c: Likewise.
14964 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
14965 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
14966 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
14967
8ec250a4
UD
149682011-10-21 Ulrich Drepper <drepper@gmail.com>
14969
c196fed8
UD
14970 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
14971 compilation problems.
14972
8ec250a4
UD
14973 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
14974 __builtin_expect.
14975
8d4f46c6
UD
149762011-10-20 Ulrich Drepper <drepper@gmail.com>
14977
ed72b654
UD
14978 * sysdeps/i386/configure.in: Test for -mfma4 option.
14979 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
14980 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
14981 COMMON_CPUID_INDEX_80000001.
14982 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
14983 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
14984 use it if FMA3 is not supported.
14985 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14986
8d4f46c6
UD
14987 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
14988 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14989
d45c60c2
AS
149902011-10-20 Andreas Schwab <schwab@redhat.com>
14991
14992 [BZ #12892]
14993 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
14994 it would create a cycle with a link time dependency.
14995
d9a4d2ab
UD
149962011-10-19 Ulrich Drepper <drepper@gmail.com>
14997
855d1560
UD
14998 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
14999 instruction.
15000 * string/Makefile (strop-tests): Add rawmemchr.
15001 * string/test-rawmemchr.c: New file.
15002
d9a4d2ab
UD
15003 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
15004 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
15005 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
15006 when compiling str{,n}casecmp and when AVX is available. Hook up
15007 new optimized code in initializers.
15008
8f3b1ffe
AS
150092011-10-19 Andreas Schwab <schwab@redhat.com>
15010
15011 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
15012 __feraiseexcept instead of feraiseexcept.
15013
d38f1dba
UD
150142011-10-18 Ulrich Drepper <drepper@gmail.com>
15015
d9a8d0ab
UD
15016 * math/math_private.h: Define defaults for libc_fetestexcept and
15017 libc_feupdateenv.
15018 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
15019 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15020 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15021 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15022 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15023 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15024 libc_fetestexcept and libc_feupdateenv.
15025
4855e3dd
UD
15026 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
15027 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
15028 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
15029 * sysdeps/x86_64/fpu/math_private.h: Define special version of
15030 libc_feholdexcept_setround.
15031
581d30e3
UD
15032 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
15033 Add s_nearbyint-c and s_nearbyintf-c.
15034 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
15035 nearbyintf inlines.
15036 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
15037 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
15038 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
15039 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
15040
d38f1dba
UD
15041 * math/math_private.h: Define defaults for libc_fegetround,
15042 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
15043 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
15044 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
15045 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
15046 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
15047 standard functions.
15048 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15049 Remove comments and hacks for old compiler versions.
15050 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15051 libc_fegetround, libc_fesetround, libc_feholdexcept, and
15052 libc_feholdexceptl.
15053
caa6c9d8
AS
150542011-10-18 Andreas Schwab <schwab@redhat.com>
15055
15056 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
15057 (__feraiseexcept_renamed): Add __NTH.
15058 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
15059 namespace violations.
15060
97c066e6
UD
150612011-10-17 Ulrich Drepper <drepper@gmail.com>
15062
99ce7b04
UD
15063 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
15064
1004d182
UD
15065 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
15066
228a984d
UD
15067 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
15068 recently added interfaces.
15069 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
15070
c8553a6a
UD
15071 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
15072 about macro parameter expansion.
15073
ed22dcf6
UD
15074 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
15075 __NO_MATH_INLINES is defined. Cleanups.
15076
15077 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
15078 and __floorf is target has SSE4.1.
15079 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
15080 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
15081 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
15082 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
15083
b171c137
UD
15084 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
15085 name.
15086 (floorf): Likewise.
15087
97c066e6
UD
15088 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
15089
629f62ef
AS
150902011-10-17 Andreas Schwab <schwab@redhat.com>
15091
49a43d80
AS
15092 * misc/sys/cdefs.h: Fix last change.
15093
629f62ef
AS
15094 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
15095 database lookup.
15096
e453f6cd
UD
150972011-10-16 Ulrich Drepper <drepper@gmail.com>
15098
aa78043a
UD
15099 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
15100
ad0f5cad
UD
15101 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
15102 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15103 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15104 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15105 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15106 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15107 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15108 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15109 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15110 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
15111 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
15112 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
15113 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
15114 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
15115 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
15116 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
15117 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
15118 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
15119 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
15120 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
15121 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
15122 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
15123
15124 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
15125 ceil, ceilf, floor, floorf.
15126
15127 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
15128 Perform IRELATIVE relocations last.
15129
e453f6cd
UD
15130 * elf/do-rel.h: Add another parameter nrelative, replacing the
15131 local variable with the same name. Change name of the function
15132 to end in Rel or Rela (uppercase).
15133 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
15134 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
15135 elf_dynamic_do_##reloc function.
15136
fd5bdc09
UD
151372011-10-15 Ulrich Drepper <drepper@gmail.com>
15138
79b195b5
UD
15139 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
15140 is sufficient, at least on modern CPUs.
15141
d4a28569
UD
15142 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
15143
b61099b5
UD
15144 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
15145 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
15146
bcf01e6d
UD
15147 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
15148 __expl_finite.
15149 * math/bits/math-finite.h: Add entries for exp.
15150 * math/e_expl.c: Add __*_finite alias.
15151 * sysdeps/i386/fpu/e_exp.S: Likewise.
15152 * sysdeps/i386/fpu/e_expf.S: Likewise.
15153 * sysdeps/i386/fpu/e_expl.c: Likewise.
15154 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15155 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15156 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15157 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15158 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
15159 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15160 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15161
ba1a0d59
UD
15162 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
15163 is sufficient, at least on modern CPUs.
15164
fd5bdc09
UD
15165 * ctype/ctype-info.c (__ctype_init): Define.
15166 * include/ctype.h (__ctype_init): Declare.
15167 (__ctype_b_loc): The variable is always initialized.
15168 (__ctype_toupper_loc): Likewise.
15169 (__ctype_tolower_loc): Likewise.
15170 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
15171 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
15172
7872cfb0
AS
151732011-10-15 Andreas Schwab <schwab@linux-m68k.org>
15174
b468825a
AS
15175 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
15176
7872cfb0
AS
15177 * configure.in: Also look in $cxxmachine/include for C++ system
15178 headers.
15179
be13f7bf
LD
151802011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15181
15182 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
15183 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
15184 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
15185 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
15186 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
15187 (USE_AS_WMEMCMP): New macro.
15188 Fixing indents.
15189 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
15190 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
15191 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
15192 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
15193 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15194 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
15195 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
15196 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
15197 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
15198 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
15199 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
15200 (USE_AS_WMEMCMP): New macro.
15201 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
15202 * sysdeps/string/test-memcmp.c: Update.
15203 Fix simple_wmemcmp.
15204 Add new tests.
15205 * wcsmbs/wmemcmp.c: Update.
15206 (WMEMCMP): New macro.
15207 Fix overflow bug.
15208
556a2007
AJ
152092011-10-12 Andreas Jaeger <aj@suse.de>
15210
15211 [BZ #13268]
15212 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
15213
538faaa7
UD
152142011-10-15 Ulrich Drepper <drepper@gmail.com>
15215
ab6737ff
UD
15216 * libio/iofwide.c (do_length): Avoid warning.
15217
538faaa7
UD
15218 * ctype/ctype.h (__isctype_f): Add missing __THROW.
15219
396a21b1
UD
152202011-10-14 Ulrich Drepper <drepper@gmail.com>
15221
cdf2901f
UD
15222 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
15223
38ad40ce
UD
15224 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
15225 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
15226 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
15227 * sysdeps/i386/i686/fpu/e_log.S: New file.
15228 * sysdeps/i386/i686/fpu/e_logf.S: New file.
15229 * sysdeps/i386/i686/fpu/e_logl.S: New file.
15230
396a21b1
UD
15231 * ctype/ctype.h: Add support for inlined isXXX functions when
15232 compiling C++ code.
15233
6b1f68c9
AS
152342011-10-14 Andreas Schwab <schwab@redhat.com>
15235
349290c0
AS
15236 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15237
6b1f68c9
AS
15238 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
15239
f2282d42
RM
152402011-10-13 Roland McGrath <roland@hack.frob.com>
15241
15242 [BZ #13291]
15243 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
15244
5298ffa8
AS
152452011-10-13 Andreas Schwab <schwab@redhat.com>
15246
714fad23
AS
15247 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
15248 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
15249 feraiseexcept.
15250
81dcc7fb
AS
15251 * sysdeps/x86_64/memrchr.S: Check for zero size.
15252
5298ffa8
AS
15253 * string/stratcliff.c: Add memrchr tests.
15254
951fbcec
LD
152552011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15256
15257 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15258 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
15259 rawmemchr-sse2 rawmemchr-sse2-bsf.
15260 * sysdeps/i386/i686/multiarch/memchr.S: New file.
15261 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
15262 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
15263 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
15264 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
15265 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
15266 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
15267 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
15268 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
15269 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
15270 * string/memrchr.c (MEMRCHR): New macro.
15271
0ac5ae23
UD
152722011-10-12 Ulrich Drepper <drepper@gmail.com>
15273
15274 Add integration with gcc's -ffinite-math-only and optimize wrapper
15275 functions in libm.
15276 * Versions.def: Define GLIBC_2.15 version for libm.
15277 * math/Makefile (headers): Add bits/math-finite.h.
15278 * math/bits/math-finite.h: New file.
15279 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
15280 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
15281 * math/e_acoshl.c: Add __*_finite alias.
15282 * math/e_acosl.c: Likewise.
15283 * math/e_asinl.c: Likewise.
15284 * math/e_atan2l.c: Likewise.
15285 * math/e_atanhl.c: Likewise.
15286 * math/e_coshl.c: Likewise.
15287 * math/e_exp10.c: Likewise.
15288 * math/e_exp10f.c: Likewise.
15289 * math/e_exp10l.c: Likewise.
15290 * math/e_exp2l.c: Likewise.
15291 * math/e_fmodl.c: Likewise.
15292 * math/e_gammal_r.c: Likewise.
15293 * math/e_hypotl.c: Likewise.
15294 * math/e_j0l.c: Likewise.
15295 * math/e_j1l.c: Likewise.
15296 * math/e_jnl.c: Likewise.
15297 * math/e_lgammal_r.c: Likewise.
15298 * math/e_log10l.c: Likewise.
15299 * math/e_log2l.c: Likewise.
15300 * math/e_logl.c: Likewise.
15301 * math/e_powl.c: Likewise.
15302 * math/e_sinhl.c: Likewise.
15303 * math/e_sqrtl.c: Likewise.
15304 * math/e_scalb.c: Completely rewritten and optimized.
15305 * math/e_scalbf.c: Likewise.
15306 * math/e_scalbl.c: Likewise.
15307 * math/w_acos.c: Likewise.
15308 * math/w_acosf.c: Likewise.
15309 * math/w_acosl.c: Likewise.
15310 * math/w_acosh.c: Likewise.
15311 * math/w_acoshf.c: Likewise.
15312 * math/w_acoshl.c: Likewise.
15313 * math/w_asin.c: Likewise.
15314 * math/w_asinf.c: Likewise.
15315 * math/w_asinl.c: Likewise.
15316 * math/w_atan2.c: Likewise.
15317 * math/w_atan2f.c: Likewise.
15318 * math/w_atan2l.c: Likewise.
15319 * math/w_atanh.c: Likewise.
15320 * math/w_atanhf.c: Likewise.
15321 * math/w_atanhl.c: Likewise.
15322 * math/w_exp10.c: Likewise.
15323 * math/w_exp10f.c: Likewise.
15324 * math/w_exp10l.c: Likewise.
15325 * math/w_fmod.c: Likewise.
15326 * math/w_fmodf.c: Likewise.
15327 * math/w_fmodl.c: Likewise.
15328 * math/w_j0.c: Likewise.
15329 * math/w_j0f.c: Likewise.
15330 * math/w_j0l.c: Likewise.
15331 * math/w_j1.c: Likewise.
15332 * math/w_j1f.c: Likewise.
15333 * math/w_j1l.c: Likewise.
15334 * math/w_jn.c: Likewise.
15335 * math/w_jnf.c: Likewise.
15336 * math/w_log.c: Likewise.
15337 * math/w_logf.c: Likewise.
15338 * math/w_logl.c: Likewise.
15339 * math/w_log10.c: Likewise.
15340 * math/w_log10f.c: Likewise.
15341 * math/w_log10l.c: Likewise.
15342 * math/w_log2.c: Likewise.
15343 * math/w_log2f.c: Likewise.
15344 * math/w_log2l.c: Likewise.
15345 * math/w_pow.c: Likewise.
15346 * math/w_powf.c: Likewise.
15347 * math/w_powl.c: Likewise.
15348 * math/w_remainder.c: Likewise.
15349 * math/w_remainderf.c: Likewise.
15350 * math/w_remainderl.c: Likewise.
15351 * math/w_scalb.c: Likewise.
15352 * math/w_scalbf.c: Likewise.
15353 * math/w_scalbl.c: Likewise.
15354 * math/w_sqrt.c: Likewise.
15355 * math/w_sqrtf.c: Likewise.
15356 * math/w_sqrtl.c: Likewise.
15357 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
15358 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
15359 used.
15360 * math/math_private.h: Declare __kernel_standard_f.
15361 * math/w_cosh.c: Remove cruft and optimize a bit.
15362 * math/w_coshf.c: Likewise.
15363 * math/w_coshl.c: Likewise.
15364 * math/w_exp2.c: Likewise.
15365 * math/w_exp2f.c: Likewise.
15366 * math/w_exp2l.c: Likewise.
15367 * math/w_hypot.c: Likewise.
15368 * math/w_hypotf.c: Likewise.
15369 * math/w_hypotl.c: Likewise.
15370 * math/w_lgamma.c: Likewise.
15371 * math/w_lgamma_r.c: Likewise.
15372 * math/w_lgammaf.c: Likewise.
15373 * math/w_lgammaf_r.c: Likewise.
15374 * math/w_lgammal.c: Likewise.
15375 * math/w_lgammal_r.c: Likewise.
15376 * math/w_sinh.c: Likewise.
15377 * math/w_sinhf.c: Likewise.
15378 * math/w_sinhl.c: Likewise.
15379 * math/w_tgamma.c: Likewise.
15380 * math/w_tgammaf.c: Likewise.
15381 * math/w_tgammal.c: Likewise.
15382 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15383 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15384 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
15385 Minor optimizations. Pretty printing. Remove cruft.
15386 * sysdeps/i386/fpu/e_acosf.S: Likewise.
15387 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15388 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15389 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15390 * sysdeps/i386/fpu/e_acosl.c: Likewise.
15391 * sysdeps/i386/fpu/e_asin.S: Likewise.
15392 * sysdeps/i386/fpu/e_asinf.S: Likewise.
15393 * sysdeps/i386/fpu/e_atan2.S: Likewise.
15394 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
15395 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
15396 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15397 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15398 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15399 * sysdeps/i386/fpu/e_exp10.S: Likewise.
15400 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
15401 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
15402 * sysdeps/i386/fpu/e_exp2.S: Likewise.
15403 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
15404 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
15405 * sysdeps/i386/fpu/e_fmod.S: Likewise.
15406 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
15407 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
15408 * sysdeps/i386/fpu/e_hypot.S: Likewise.
15409 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
15410 * sysdeps/i386/fpu/e_log.S: Likewise.
15411 * sysdeps/i386/fpu/e_log10.S: Likewise.
15412 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15413 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15414 * sysdeps/i386/fpu/e_log2.S: Likewise.
15415 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15416 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15417 * sysdeps/i386/fpu/e_logf.S: Likewise.
15418 * sysdeps/i386/fpu/e_logl.S: Likewise.
15419 * sysdeps/i386/fpu/e_pow.S: Likewise.
15420 * sysdeps/i386/fpu/e_powf.S: Likewise.
15421 * sysdeps/i386/fpu/e_powl.S: Likewise.
15422 * sysdeps/i386/fpu/e_remainder.S: Likewise.
15423 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
15424 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
15425 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15426 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15427 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15428 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
15429 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
15430 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
15431 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15432 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15433 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15434 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15435 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15436 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15437 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15438 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15439 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15440 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15441 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15442 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15443 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15444 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15445 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15446 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15447 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15448 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15449 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15450 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15451 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15452 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15453 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15454 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15455 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15456 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15457 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15458 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15459 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15460 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15461 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15462 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15463 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15464 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15465 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15466 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15467 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15468 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15469 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15470 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15471 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15472 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15473 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15474 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15475 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15476 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15477 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15478 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15479 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15480 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15481 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15482 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15483 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15484 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15485 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15486 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15487 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15488 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15489 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15490 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15491 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15492 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15493 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15494 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15495 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15496 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15497 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15498 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15499 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15500 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15501 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15502 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15503 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15504 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15505 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15506 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15507 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15508 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15509 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15510 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15511 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15512 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15513 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15514 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15515 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15516 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15517 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15518 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15519 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15520 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15521 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15522 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15523 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15524 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15525 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15526 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15527 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15528 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15529 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15530 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15531 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
15532 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
15533 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
15534 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
15535 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15536 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15537 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15538 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15539 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
15540 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15541 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
15542 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
15543 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
15544 (__isnanf): Likewise.
15545 (__isinf_ns): Likewise.
15546 (__isinf_nsf): Likewise.
15547 (__finite): Likewise.
15548 (__finitef): Likewise.
15549 (__ieee754_sqrt): Define as macro.
15550 (__ieee754_sqrtf): Define as macro.
15551 (__ieee754_sqrtl): Define as macro.
15552 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
15553 inlined copy.
15554 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
15555 __FINITE_MATH_ONLY__ consistent.
15556 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
15557
12cc2fcd
AS
155582011-10-10 Andreas Schwab <schwab@linux-m68k.org>
15559
a843a204
AS
15560 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
15561 of rawmemchr.
15562
12cc2fcd
AS
15563 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
15564
c853acd5
UD
155652011-10-09 Ulrich Drepper <drepper@gmail.com>
15566
15567 * po/ja.po: Update from translation team.
15568
c658d255
RM
155692011-10-08 Roland McGrath <roland@hack.frob.com>
15570
110946e4
RM
15571 * locale/programs/locarchive.c (prepare_address_space): New function.
15572 (create_archive, enlarge_archive, open_archive): Use it.
15573
50604220
RM
15574 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
15575 inside [SHARED], where it is used.
15576
c658d255
RM
15577 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
15578
15579 * nss/getent.c (netgroup_keys): Remove unused variable.
15580 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15581
6a621eb7
UD
155822011-10-08 Ulrich Drepper <drepper@gmail.com>
15583
7edb55ce
UD
15584 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
15585 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
15586 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
15587 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
15588 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
15589 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
15590 * math/Makefile (libm-calls): Add s_isinf_ns.
15591 * math/divtc3.c: Use __isinf_nsl instead of isinf.
15592 * math/multc3.c: Likewise.
15593 * math/s_casin.c: Likewise.
15594 * math/s_casinf.c: Likewise.
15595 * math/s_casinl.c: Likewise.
15596 * math/s_ccos.c: Likewise.
15597 * math/s_ccosf.c: Likewise.
15598 * math/s_ccosl.c: Likewise.
15599 * math/s_ctan.c: Likewise.
15600 * math/s_ctanf.c: Likewise.
15601 * math/s_ctanh.c: Likewise.
15602 * math/s_ctanhf.c: Likewise.
15603 * math/s_ctanhl.c: Likewise.
15604 * math/s_ctanl.c: Likewise.
15605 * math/w_fmod.c: Likewise.
15606 * math/w_fmodf.c: Likewise.
15607 * math/w_fmodl.c: Likewise.
15608 * math/w_remainder.c: Likewise.
15609 * math/w_remainderf.c: Likewise.
15610 * math/w_remainderl.c: Likewise.
15611 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
15612 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
15613 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
15614 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
15615 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
15616 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
15617 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
15618 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
15619
187da0ae
UD
15620 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
15621 of the number.
15622 * stdio-common/printf_fphex.c: Likewise.
15623 * stdio-common/printf_size.c: Likewise.
15624
9277c064
UD
15625 * math/e_exp10.c: Include math_private.h using <...> not "...".
15626 * math/e_exp10f.c: Likewise.
15627 * math/e_exp10l.c: Likewise.
15628 * math/e_exp2l.c: Likewise.
15629 * math/e_j0l.c: Likewise.
15630 * math/e_j1l.c: Likewise.
15631 * math/e_jnl.c: Likewise.
15632 * math/e_lgammal_r.c: Likewise.
15633 * math/e_rem_pio2l.c: Likewise.
15634 * math/e_scalb.c: Likewise.
15635 * math/e_scalbf.c: Likewise.
15636 * math/e_scalbl.c: Likewise.
15637 * math/k_cosl.c: Likewise.
15638 * math/k_sinl.c: Likewise.
15639 * math/k_tanl.c: Likewise.
15640 * math/s_cacoshf.c: Likewise.
15641 * math/s_catan.c: Likewise.
15642 * math/s_catanf.c: Likewise.
15643 * math/s_catanh.c: Likewise.
15644 * math/s_catanhf.c: Likewise.
15645 * math/s_catanhl.c: Likewise.
15646 * math/s_catanl.c: Likewise.
15647 * math/s_ccosh.c: Likewise.
15648 * math/s_ccoshf.c: Likewise.
15649 * math/s_ccoshl.c: Likewise.
15650 * math/s_cexp.c: Likewise.
15651 * math/s_cexpf.c: Likewise.
15652 * math/s_cexpl.c: Likewise.
15653 * math/s_clog.c: Likewise.
15654 * math/s_clog10.c: Likewise.
15655 * math/s_clog10f.c: Likewise.
15656 * math/s_clog10l.c: Likewise.
15657 * math/s_clogf.c: Likewise.
15658 * math/s_clogl.c: Likewise.
15659 * math/s_csin.c: Likewise.
15660 * math/s_csinf.c: Likewise.
15661 * math/s_csinh.c: Likewise.
15662 * math/s_csinhf.c: Likewise.
15663 * math/s_csinhl.c: Likewise.
15664 * math/s_csinl.c: Likewise.
15665 * math/s_csqrt.c: Likewise.
15666 * math/s_csqrtf.c: Likewise.
15667 * math/s_csqrtl.c: Likewise.
15668 * math/s_ctan.c: Likewise.
15669 * math/s_ctanf.c: Likewise.
15670 * math/s_ctanh.c: Likewise.
15671 * math/s_ctanhf.c: Likewise.
15672 * math/s_ctanhl.c: Likewise.
15673 * math/s_ctanl.c: Likewise.
15674 * math/s_ldexp.c: Likewise.
15675 * math/s_ldexpf.c: Likewise.
15676 * math/s_ldexpl.c: Likewise.
15677 * math/s_significand.c: Likewise.
15678 * math/s_significandf.c: Likewise.
15679 * math/s_significandl.c: Likewise.
15680 * math/w_acos.c: Likewise.
15681 * math/w_acosf.c: Likewise.
15682 * math/w_acosh.c: Likewise.
15683 * math/w_acoshf.c: Likewise.
15684 * math/w_acoshl.c: Likewise.
15685 * math/w_acosl.c: Likewise.
15686 * math/w_asin.c: Likewise.
15687 * math/w_asinf.c: Likewise.
15688 * math/w_asinl.c: Likewise.
15689 * math/w_atan2.c: Likewise.
15690 * math/w_atan2f.c: Likewise.
15691 * math/w_atan2l.c: Likewise.
15692 * math/w_atanh.c: Likewise.
15693 * math/w_atanhf.c: Likewise.
15694 * math/w_atanhl.c: Likewise.
15695 * math/w_cosh.c: Likewise.
15696 * math/w_coshf.c: Likewise.
15697 * math/w_coshl.c: Likewise.
15698 * math/w_dremf.c: Likewise.
15699 * math/w_exp10.c: Likewise.
15700 * math/w_exp10f.c: Likewise.
15701 * math/w_exp10l.c: Likewise.
15702 * math/w_exp2.c: Likewise.
15703 * math/w_exp2f.c: Likewise.
15704 * math/w_fmod.c: Likewise.
15705 * math/w_fmodf.c: Likewise.
15706 * math/w_fmodl.c: Likewise.
15707 * math/w_hypot.c: Likewise.
15708 * math/w_hypotf.c: Likewise.
15709 * math/w_hypotl.c: Likewise.
15710 * math/w_j0.c: Likewise.
15711 * math/w_j0f.c: Likewise.
15712 * math/w_j0l.c: Likewise.
15713 * math/w_j1.c: Likewise.
15714 * math/w_j1f.c: Likewise.
15715 * math/w_j1l.c: Likewise.
15716 * math/w_jn.c: Likewise.
15717 * math/w_jnf.c: Likewise.
15718 * math/w_jnl.c: Likewise.
15719 * math/w_lgamma.c: Likewise.
15720 * math/w_lgamma_r.c: Likewise.
15721 * math/w_lgammaf.c: Likewise.
15722 * math/w_lgammaf_r.c: Likewise.
15723 * math/w_lgammal.c: Likewise.
15724 * math/w_lgammal_r.c: Likewise.
15725 * math/w_log.c: Likewise.
15726 * math/w_log10.c: Likewise.
15727 * math/w_log10f.c: Likewise.
15728 * math/w_log10l.c: Likewise.
15729 * math/w_log2.c: Likewise.
15730 * math/w_log2f.c: Likewise.
15731 * math/w_log2l.c: Likewise.
15732 * math/w_logf.c: Likewise.
15733 * math/w_logl.c: Likewise.
15734 * math/w_pow.c: Likewise.
15735 * math/w_powf.c: Likewise.
15736 * math/w_powl.c: Likewise.
15737 * math/w_remainder.c: Likewise.
15738 * math/w_remainderf.c: Likewise.
15739 * math/w_remainderl.c: Likewise.
15740 * math/w_scalb.c: Likewise.
15741 * math/w_scalbf.c: Likewise.
15742 * math/w_scalbl.c: Likewise.
15743 * math/w_sinh.c: Likewise.
15744 * math/w_sinhf.c: Likewise.
15745 * math/w_sinhl.c: Likewise.
15746 * math/w_sqrt.c: Likewise.
15747 * math/w_sqrtf.c: Likewise.
15748 * math/w_sqrtl.c: Likewise.
15749 * math/w_tgamma.c: Likewise.
15750 * math/w_tgammaf.c: Likewise.
15751 * math/w_tgammal.c: Likewise.
15752
6a621eb7
UD
15753 * po/ja.po: Update from translation team.
15754
bf582445
AJ
157552011-09-29 Andreas Jaeger <aj@suse.de>
15756
f9efbf3a
AJ
15757 [BZ #13179]
15758 * sunrpc/netname.c (netname2host): Fix logic.
15759
bf582445
AJ
15760 [BZ #6779]
15761 [BZ #6783]
15762 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
15763 correctly.
15764 * math/w_remainder.c (__remainder): Likewise.
15765 * math/w_remainderf.c (__remainderf): Likewise.
15766 * math/libm-test.inc (remainder_test): Add test cases.
15767
48693bea
AK
157682011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15769
15770 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
15771 sdiv_qrnnd.
15772
42622229
LD
157732011-10-07 Ulrich Drepper <drepper@gmail.com>
15774
15775 * string/test-memcmp.c: Avoid unncessary #defines.
15776 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15777
093ecf92
LD
157782011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15779
15780 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
15781 Use new sse2 version for core i3 - i7 as it's faster
15782 than sse42 version.
15783 (bit_Prefer_PMINUB_for_stringop): New.
15784 * sysdeps/x86_64/rawmemchr.S: Update.
15785 Replace with faster SSE2 version.
15786 * sysdeps/x86_64/memrchr.S: New file.
15787 * sysdeps/x86_64/memchr.S: Update.
15788 Replace with faster SSE2 version.
15789
fde56e5c
MP
157902011-09-12 Marek Polacek <mpolacek@redhat.com>
15791
15792 * elf/dl-load.c (lose): Add cast to avoid warning.
15793
21fd49a9
UD
157942011-10-07 Ulrich Drepper <drepper@gmail.com>
15795
5a06e643
UD
15796 * po/ca.po: Update from translation team.
15797
684ae515
UD
15798 * inet/getnetgrent_r.c: Hook up nscd.
15799 * nscd/Makefile (routines): Add nscd_netgroup.
15800 (nscd-modules): Add netgroupcache.
15801 (CFLAGS-netgroupcache.c): Define.
15802 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
15803 (cache_search): Add const to second parameter.
15804 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
15805 INNETGR.
15806 (dbs): Add netgrdb entry.
15807 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
15808 (verify_persistent_db): Handle netgrdb.
15809 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
15810 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
15811 GETFDNETGR.
15812 (netgroup_response_header): Define.
15813 (innetgroup_response_header): Define.
15814 (datahead): Add netgroup_response_header and innetgroup_response_header
15815 elements.
15816 * nscd/nscd.conf: Add entries for netgroup cache.
15817 * nscd/nscd.h (dbtype): Add netgrdb.
15818 (_PATH_NSCD_NETGROUP_DB): Define.
15819 (netgroup_iov_disabled): Declare.
15820 (xmalloc, xcalloc, xrealloc): Move declarations here.
15821 (cache_search): Adjust prototype.
15822 Add netgroup-related prototypes.
15823 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
15824 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
15825 (__nscd_innetgr): Declare.
15826 * nscd/selinux.c (perms): Use access_vector_t as element type and
15827 add netgroup-related initializers.
15828 * nscd/netgroupcache.c: New file.
15829 * nscd/nscd_netgroup.c: New file.
15830 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
15831 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
15832 For four parameters use innetgr.
15833 * nss/nss_files/files-init.c: Add definition and callback for netgr.
15834 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
15835 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
15836 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
15837
21fd49a9
UD
15838 * nscd/connections.c (register_traced_file): Don't register file
15839 for disabled databases.
15840
054c0457
UD
158412011-10-06 Ulrich Drepper <drepper@gmail.com>
15842
32b63198
UD
15843 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
15844
054c0457
UD
15845 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
15846 from tree and freeing node.
15847
64031225
JO
158482011-09-25 Jiri Olsa <jolsa@redhat.com>
15849
15850 * nss/nsswitch.c (__nss_database_lookup): Handle
15851 nss_parse_service_list out of memory case.
15852
0490345c
JO
158532011-09-15 Jiri Olsa <jolsa@redhat.com>
15854
15855 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
15856 out of memory case.
15857
3a62d00d
AS
158582011-10-04 Andreas Schwab <schwab@redhat.com>
15859
15860 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
15861 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
15862 pass it down.
15863 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
15864 elf_machine_rela, elf_machine_lazy_rel.
15865 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
15866 (ELF_DYNAMIC_DO_REL): Likewise.
15867 (ELF_DYNAMIC_DO_RELA): Likewise.
15868 (ELF_DYNAMIC_RELOCATE): Likewise.
15869 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
15870 to ELF_DYNAMIC_DO_REL.
15871 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
15872 (dl_main): In trace mode always set __RTLD_NOIFUNC.
15873 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
15874 elf_machine_rela.
15875 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
15876 skip_ifunc, don't call ifunc function if non-zero.
15877 (elf_machine_rela): Likewise.
15878 (elf_machine_lazy_rel): Likewise.
15879 (elf_machine_lazy_rela): Likewise.
15880 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15881 (elf_machine_lazy_rel): Likewise.
15882 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15883 Likewise.
15884 (elf_machine_lazy_rel): Likewise.
15885 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15886 Likewise.
15887 (elf_machine_lazy_rel): Likewise.
15888 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
15889 (elf_machine_lazy_rel): Likewise.
15890 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
15891 (elf_machine_lazy_rel): Likewise.
15892 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15893 (elf_machine_lazy_rel): Likewise.
15894 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
15895 (elf_machine_lazy_rel): Likewise.
15896 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
15897 (elf_machine_lazy_rel): Likewise.
15898 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15899 (elf_machine_lazy_rel): Likewise.
15900
68577918
UD
159012011-09-28 Ulrich Drepper <drepper@gmail.com>
15902
15903 * nss/nss_files/files-init.c (_nss_files_init): Use static
15904 initialization for all the *_traced_file variables.
15905
68822d74
AS
159062011-09-28 Andreas Schwab <schwab@redhat.com>
15907
15908 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15909
2056100b
RM
159102011-09-27 Roland McGrath <roland@hack.frob.com>
15911
15912 [BZ #13226]
15913 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
15914
32c76b63
AS
159152011-09-27 Andreas Schwab <schwab@redhat.com>
15916
15917 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15918 Reread the line before reparsing it.
15919
bf972c9d
AS
159202011-09-26 Andreas Schwab <schwab@redhat.com>
15921
15922 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
15923
e057a1b5
JM
159242011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
15925 Maxim Kuvyrkov <maxim@codesourcery.com>
15926 Joseph Myers <joseph@codesourcery.com>
15927
15928 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
15929 if needed for __stack_chk_guard.
15930
bc7e1c36
RM
159312011-09-19 Roland McGrath <roland@hack.frob.com>
15932
ecb1482f
RM
15933 * sysdeps/posix/spawni.c (script_execute): Always define it.
15934 It will be optimized away if unused.
15935 (maybe_script_execute): New function.
15936 (__spawni): Call it.
15937
bc7e1c36
RM
15938 * Makerules: Don't include tls.make.
15939 (config-tls): Always set to thread.
15940 * tls.make.c: File removed.
15941
1c3b002b
MF
159422011-09-19 Mike Frysinger <vapier@gentoo.org>
15943
15944 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
15945 * config.make.in (CPPFLAGS-config): New substituted variable.
15946
2840865d
UD
159472011-09-15 Ulrich Drepper <drepper@gmail.com>
15948
88738eb6
UD
15949 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
15950
cbf645a6 15951 [BZ #13192]
2840865d
UD
15952 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
15953 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
15954
b402e91a
RM
159552011-09-15 Roland McGrath <roland@hack.frob.com>
15956
15957 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
15958 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
15959 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15960 (CALL_FAIL): Likewise.
15961 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
15962 (CALL_FAIL): Macro removed.
15963 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
15964
4c1a1f71
UD
159652011-09-15 Ulrich Drepper <drepper@gmail.com>
15966
15967 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
15968 for __FINITE_MATH_ONLY__ == 1.
15969
edc121be
AS
159702011-09-15 Andreas Schwab <schwab@redhat.com>
15971
15972 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
15973 __ieee754_sqrt instead of sqrt.
15974 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
15975 __ieee754_sqrtf instead of sqrtf.
15976 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
15977 __floorf instead of floorf.
15978 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
15979 __floorf, __truncf instead of floorf, truncf.
15980
cd205654
UD
159812011-09-14 Ulrich Drepper <drepper@gmail.com>
15982
ee4d0315
UD
15983 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
15984
cd205654
UD
15985 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
15986 __extern_always_inline.
15987 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
15988 32-bit.
15989
48b67d71
AS
159902011-09-14 Andreas Schwab <schwab@redhat.com>
15991
15992 * elf/rtld.c (dl_main): Also relocate in dependency order when
15993 doing symbol dependency testing.
15994
1ae12c75
AS
159952011-09-13 Andreas Schwab <schwab@linux-m68k.org>
15996
15997 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15998 Always define `refsym'.
15999
995a80df
AS
160002011-09-13 Andreas Schwab <schwab@redhat.com>
16001
e529793b
AS
16002 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
16003 (__FD_ELT): Renamed from __FDELT.
16004 * misc/bits/select2.h (__FD_ELT): Likewise.
16005 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
16006 __FD_MASK instead of __FDELT, __FDMASK.
16007 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16008 Likewise.
16009 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16010 Likewise.
16011
52d4fef8
AS
16012 * elf/Makefile (gen-ldd): Fix pattern.
16013
995a80df
AS
16014 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
16015 (init_tls): Likewise.
16016
8682f8b0
UD
160172011-09-12 Ulrich Drepper <drepper@gmail.com>
16018
16019 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
16020
de82006d
AS
160212011-09-12 Andreas Schwab <schwab@redhat.com>
16022
a7c8e6a1
AS
16023 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
16024 `struct cmsghdr *' instead of `void *'.
16025 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
16026 Likewise.
16027
0f31fe77
AS
160282011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16029
16030 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
16031 if non-absolute.
16032 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
16033 ldd_rewrite_script.
0f31fe77 16034
32b4c839
UD
160352011-09-11 Ulrich Drepper <drepper@gmail.com>
16036
83cd1420
UD
16037 * configure.in: Remove --with-tls option.
16038 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
16039 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
16040 out in case it is missing.
16041 * sysdeps/ia64/elf/configure.in: Likewise.
16042 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
16043 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
16044 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
16045 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
16046 * sysdeps/sh/elf/configure.in: Likewise.
16047 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
16048 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16049 * sysdeps/x86_64/elf/configure.in: Likewise.
16050 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
16051 * sysdeps/mach/hurd/tls.h: Likewise.
16052
633f745d
UD
16053 [BZ #13067]
16054 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
16055
f318beb8
UD
16056 [BZ #13090]
16057 * configure.in: Fix use of AC_INIT.
16058
32b4c839
UD
16059 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
16060
3ce1f295
UD
160612011-09-10 Ulrich Drepper <drepper@gmail.com>
16062
bb016596
UD
16063 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
16064 __set_errno.
8e58439c
UD
16065 * malloc/hooks.c: Likewise.
16066
aebae053 16067 [BZ #11929]
02d46fc4
UD
16068 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
16069 variables statically.
16070 (narenas): Initialize.
16071 (list_lock): Initialize.
bb016596
UD
16072 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
16073 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
16074 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
16075 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
16076 Add initializers to main_arena and mp_.
16077 (malloc_state): Remove pagesize member. Change all users to use
16078 GLRO(dl_pagesize).
16079
16080 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
16081 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
16082 is always initialized.
16083
22a89187
UD
16084 * malloc/malloc.c: Removed unused configurations and dead code.
16085 * malloc/arena.c: Likewise.
16086 * malloc/hooks.c: Likewise.
02d46fc4 16087 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 16088
d063d164
UD
16089 * include/tls.h: Removed. USE___THREAD must always be defined.
16090 * bits/libc-tsd.h: Don't handle !USE___THREAD.
16091 * elf/dl-libc.c: Likewise.
16092 * elf/dl-tsd.c: Likewise.
16093 * include/errno.h: Likewise.
16094 * include/netdb.h: Likewise.
16095 * include/resolv.h: Likewise.
16096 * inet/herrno-loc.c: Likewise.
16097 * inet/herrno.c: Likewise.
16098 * malloc/arena.c: Likewise.
16099 * malloc/hooks.c: Likewise.
16100 * malloc/malloc.c: Likewise.
16101 * resolv/res-state.c: Likewise.
16102 * resolv/res_libc.c: Likewise.
16103 * sysdeps/i386/dl-machine.h: Likewise.
16104 * sysdeps/ia64/dl-machine.h: Likewise.
16105 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16106 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16107 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16108 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16109 * sysdeps/sh/dl-machine.h: Likewise.
16110 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16111 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16112 * sysdeps/unix/i386/sysdep.S: Likewise.
16113 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16114 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
16115 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
16116 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16117 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
16118 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16119 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16120 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16121 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16122 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16123 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16124 * sysdeps/x86_64/dl-machine.h: Likewise.
16125 * tls.make.c: Likewise.
16126
3ce1f295
UD
16127 * configure.in: Remove --with-__thread option. Make tests for
16128 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
16129 tls_model attribute fail if no support is available. Remove
16130 USE_IN_LIBIO.
16131 * Makeconfig: Adjust for dropped configure option. All features are
16132 now mandatory.
16133 * Makerules: Likewise.
16134 * Versions.def: Likewise.
16135 * argp/argp-fmtstream.c: Likewise.
16136 * argp/argp-fmtstream.h: Likewise.
16137 * argp/argp-help.c: Likewise.
16138 * assert/assert.c: Likewise.
16139 * config.h.in: Likewise.
16140 * config.make.in: Likewise.
16141 * configure: Likewise.
16142 * configure.in: Likewise.
16143 * csu/Versions: Likewise.
16144 * csu/init.c: Likewise.
16145 * elf/tst-audit2.c: Likewise.
16146 * elf/tst-tls10.c: Likewise.
16147 * elf/tst-tls10.h: Likewise.
16148 * elf/tst-tls11.c: Likewise.
16149 * elf/tst-tls12.c: Likewise.
16150 * elf/tst-tls14.c: Likewise.
16151 * elf/tst-tlsmod11.c: Likewise.
16152 * elf/tst-tlsmod12.c: Likewise.
16153 * elf/tst-tlsmod13.c: Likewise.
16154 * elf/tst-tlsmod13a.c: Likewise.
16155 * elf/tst-tlsmod14a.c: Likewise.
16156 * elf/tst-tlsmod15b.c: Likewise.
16157 * elf/tst-tlsmod16a.c: Likewise.
16158 * elf/tst-tlsmod16b.c: Likewise.
16159 * elf/tst-tlsmod7.c: Likewise.
16160 * elf/tst-tlsmod8.c: Likewise.
16161 * elf/tst-tlsmod9.c: Likewise.
16162 * gmon/gmon.c: Likewise.
16163 * grp/fgetgrent_r.c: Likewise.
16164 * grp/putgrent.c: Likewise.
16165 * hurd/fopenport.c: Likewise.
16166 * include/libc-symbols.h: Likewise.
16167 * include/tls.h: Likewise.
16168 * intl/gettextP.h: Likewise.
16169 * intl/loadinfo.h: Likewise.
16170 * locale/global-locale.c: Likewise.
16171 * locale/localeinfo.h: Likewise.
16172 * mach/devstream.c: Likewise.
16173 * malloc/arena.c: Likewise.
16174 * malloc/set-freeres.c: Likewise.
16175 * misc/err.c: Likewise.
16176 * misc/getttyent.c: Likewise.
16177 * misc/mntent_r.c: Likewise.
16178 * posix/getopt.c: Likewise.
16179 * posix/wordexp.c: Likewise.
16180 * pwd/fgetpwent_r.c: Likewise.
16181 * resolv/Versions: Likewise.
16182 * resolv/res_hconf.c: Likewise.
16183 * shadow/fgetspent_r.c: Likewise.
16184 * shadow/putspent.c: Likewise.
16185 * stdio-common/printf_fphex.c: Likewise.
16186 * stdio-common/tmpfile.c: Likewise.
16187 * stdlib/abort.c: Likewise.
16188 * stdlib/fmtmsg.c: Likewise.
16189 * sunrpc/auth_unix.c: Likewise.
16190 * sunrpc/clnt_perr.c: Likewise.
16191 * sunrpc/clnt_tcp.c: Likewise.
16192 * sunrpc/clnt_udp.c: Likewise.
16193 * sunrpc/clnt_unix.c: Likewise.
16194 * sunrpc/openchild.c: Likewise.
16195 * sunrpc/svc_simple.c: Likewise.
16196 * sunrpc/svc_tcp.c: Likewise.
16197 * sunrpc/svc_udp.c: Likewise.
16198 * sunrpc/svc_unix.c: Likewise.
16199 * sunrpc/xdr.c: Likewise.
16200 * sunrpc/xdr_array.c: Likewise.
16201 * sunrpc/xdr_rec.c: Likewise.
16202 * sunrpc/xdr_ref.c: Likewise.
16203 * sunrpc/xdr_stdio.c: Likewise.
16204
1248c1c4
PB
162052011-09-09 Ulrich Drepper <drepper@gmail.com>
16206
16207 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16208
162092011-07-03 Andreas Jaeger <aj@suse.de>
16210
16211 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
16212 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
16213 regenerate with gen-libm-tests.pl.
16214
162152010-05-12 Petr Baudis <pasky@suse.cz>
16216
16217 [BZ #11589]
16218 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
16219 around j0() zero points by switching to j1().
16220 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16221 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16222 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16223 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16224
f22e1074
UD
162252011-09-09 Ulrich Drepper <drepper@gmail.com>
16226
f19009c1
UD
16227 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
16228 instead of 0.
16229 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
16230 instead of 0. .
16231 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16232 Patch in part by Pavel Roskin <proski@gnu.org>.
16233
3f8cc204
UD
16234 [BZ #13138]
16235 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
16236 realloc.
16237 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
16238 Free memory block if necessary.
16239
f22e1074
UD
16240 [BZ #12847]
16241 * libio/genops.c (INTDEF): For string streams the _lock pointer can
16242 be NULL. Don't lock in this case.
16243
0a2349f9
RM
162442011-09-09 Roland McGrath <roland@hack.frob.com>
16245
16246 * elf/elf.h (ELFOSABI_GNU): New macro.
16247 (ELFOSABI_LINUX): Define to that.
16248
f3cdd467
DZ
162492011-07-29 Denis Zaitceff <zaitceff@gmail.com>
16250
16251 * string/strncat.c (strncat): Undef the symbol in case it has been
16252 defined in bits/string.h.
16253
74718d13
UD
162542011-09-09 Ulrich Drepper <drepper@gmail.com>
16255
633e9e0f
UD
16256 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
16257
0a2349f9 16258 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
16259 link map.
16260
f9924780
AJ
162612011-08-17 Andreas Jaeger <aj@suse.de>
16262
16263 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
16264
7f5517aa
PP
162652011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16266 Ian Lance Taylor <iant@google.com>
16267
16268 * math/libm-test.inc (lround_test): New testcase.
16269 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
16270
762011fe
UD
162712011-09-08 Ulrich Drepper <drepper@gmail.com>
16272
92963737
UD
16273 * Makefile: Remove support for automatic cvs check-ins.
16274 * Makerules: Likewise.
16275 * config.make.in: Likewise.
16276 * configure.in: Likewise.
16277 * intl/Makefile: Likewise.
16278 * locale/Makefile: Likewise.
16279 * po/Makefile: Likewise.
16280 * posix/Makefile: Likewise.
16281 * sysdeps/gnu/Makefile: Likewise.
16282 * sysdeps/mach/hurd/Makefile: Likewise.
16283 * sysdeps/sparc/sparc32/Makefile: Likewise.
16284
b0727fd8
JS
16285 [BZ #13118]
16286 * posix/Makefile (bug-regex32-ENV): Define.
16287 Patch by John Stanley <jpsinthemix@verizon.net>.
16288
a0f33f99
UD
16289 * misc/Makefile (headers): Add bits/select2.h.
16290 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
16291 * misc/bits/select2.h: New file.
16292 * include/bits/select2.h: New file.
16293 * debug/Makefile (routines): Add fdelt_chk.
16294 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
16295 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
16296 FD_ISSET.
16297 * debug/fdelt_chk.c: New file.
16298
762011fe
UD
16299 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
16300 * wcsmbs/test-wmemcmp.c: Likewise.
16301 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 16302 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
16303
163042011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16305
16306 * string/Makefile (strop-tests): Add memcmp.
16307 * string/test-wmemcmp.c: New file.
16308 * string/test-memcmp.c: Add wmemcmp support.
16309
7f513ec8
RM
163102011-09-08 Roland McGrath <roland@hack.frob.com>
16311
0442afb4
RM
16312 [BZ #13153]
16313 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
16314 2011-07-19 change.
16315
7f513ec8
RM
16316 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
16317 garbage value in a __mach_port_mod_refs call in the cases of the
16318 task-self and thread-self ports.
16319
a12b2239
ST
163202011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16321
16322 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
16323
610f9ab4
AS
163242011-09-08 Andreas Schwab <schwab@redhat.com>
16325
7f513ec8 16326 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 16327
48882a1a
LD
163282011-09-07 Ulrich Drepper <drepper@gmail.com>
16329
b49865be
UD
16330 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
16331
fdc86bc9
UD
16332 * elf/dl-libc.c (dlerror_run): Pass back error code from
16333 dl_catch_error.
16334
c966526a
UD
16335 [BZ #13123]
16336 * elf/dl-load.c (lose): Free l_origin if it is valid.
16337
48882a1a
LD
16338 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
16339 names.
16340 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16341 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16342 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16343 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16344 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16345 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
16346
77a2a8b4
AZ
163472011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16348
16349 * sysdeps/powerpc/fpu/e_hypot.c: New file.
16350 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
16351 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
16352 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
16353 * sysdeps/powerpc/fpu/k_cosf.c: New file.
16354 * sysdeps/powerpc/fpu/k_sinf.c: New file.
16355 * sysdeps/powerpc/fpu/s_cosf.c: New file.
16356 * sysdeps/powerpc/fpu/s_sinf.c: New file.
16357 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
16358 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
16359
24f579d8
AM
163602011-08-15 Alan Modra <amodra@gmail.com>
16361
16362 [BZ #13092]
16363 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
16364 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
16365 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
16366 ppc_mcount to static-only-routines.
16367 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
16368 __mcount_internal.
16369 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
16370 __mcount_internal with usual JUMPTARGET. Remove useless nop.
16371
3d4837df
UD
163722011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
16373
16374 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
16375 for finite and infinity parameters.
16376
22700377
WS
163772011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16378
16379 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
16380 and add nop instructions for throughput optimization.
16381 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16382
5025581e
WS
163832011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
16384
16385 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
16386 aligned copy for power7 with vector-scalar instructions.
16387 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16388
08a300c9
L
163892011-07-24 H.J. Lu <hongjiu.lu@intel.com>
16390
16391 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
16392 AVX check.
16393
59178ef9
AS
163942011-09-07 Andreas Schwab <schwab@redhat.com>
16395
16396 [BZ #13144]
16397 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
16398 last change.
16399
e38ba7ab
UD
164002011-09-07 Ulrich Drepper <drepper@gmail.com>
16401
16402 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16403 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
16404 syscall wrapper around clock_gettime in __vdso_clock_gettime.
16405 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
16406 clock_gettime.
16407
d53a73ac
UD
164082011-09-06 Ulrich Drepper <drepper@gmail.com>
16409
fc8bffcc
UD
16410 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
16411 Forgot to demangle the pointer.
16412
ceaa0c5d
UD
16413 * sysdeps/i386/sysdep.h: Define atom_text_section.
16414 * sysdeps/x86_64/sysdep.h: Likewise.
16415 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
16416 section with atom_text_section.
16417 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16418 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16419 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16420 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16421 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
16422
a77d3c17
UD
16423 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
16424 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
16425 already be defined. Change to take two parameters and don't assign
16426 result to variable. Adjust all users.
16427 Define INTERNAL_GETTIME if not already defined.
16428 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
16429 call.
16430 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
16431 HAVE_CLOCK_GETTIME_VSYSCALL.
16432 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
16433
d53a73ac
UD
16434 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
16435 gettimeofday vsyscall, just use time.
16436
a8f84144
AS
164372011-09-06 Andreas Schwab <schwab@redhat.com>
16438
16439 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
16440 <errno.h>.
16441
ef606249
UD
164422011-09-06 Ulrich Drepper <drepper@gmail.com>
16443
16444 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
16445 syscall on x86-64.
16446 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
16447 syscall.
16448 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16449 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
16450 syscall if possible.
16451
6585cb60
UD
164522011-09-05 Ulrich Drepper <drepper@gmail.com>
16453
16454 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
16455 e_ident. Don't pass to find_mapsXX.
16456 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
16457
a5f524e4
LD
164582011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16459
16460 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16461 strchr-sse2-no-bsf strrchr-sse2-no-bsf
16462 * sysdeps/x86_64/multiarch/strchr.S: Update.
16463 Check bit_slow_BSF bit.
16464 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16465 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
16466 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
16467
554881ef
UD
164682011-09-05 Ulrich Drepper <drepper@gmail.com>
16469
d96de963
UD
16470 [BZ #13134]
16471 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
16472 before glibc 2.15.
16473 (tryshell): Define.
16474 (__spawni): Change last parameter to be flag. Test
16475 SPAWN_XFLAGS_USE_PATH flag to use path or not.
16476 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
16477 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
16478 * posix/spawni.c: Likewise.
16479 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
16480 * posix/spawnp.c: Likewise. Change normal version to use
16481 SPAWN_XFLAGS_USE_PATH.
16482 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
16483 SPAWN_XFLAGS_TRY_SHELL.
16484
d48e5868
UD
16485 [BZ #13150]
16486 * posix/glob.h: Remove gcc 1.x support.
16487
554881ef
UD
16488 [BZ #13068]
16489 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
16490
693fb948
LD
164912011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16492
16493 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16494 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
16495 strrchr-sse2-bsf
16496 * sysdeps/i386/i686/multiarch/strchr.S: New file.
16497 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
16498 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
16499 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
16500 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
16501 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
16502
1b48c537
UD
165032011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16504
49d42c37
UD
16505 * sysdeps/x86_64/wcscmp.S: New file.
16506
1b48c537
UD
16507 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
16508 wcscmp-c wcscmp-sse2
16509 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
16510 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
16511 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
16512 * wcsmbs/wcscmp.c: Allow renaming.
16513
15c95c5d
DM
165142011-09-05 David S. Miller <davem@davemloft.net>
16515
16516 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
16517 stack slot, rather than the struct return pointer slot.
16518 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
16519 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
16520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
16521 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
16522
2f0ad8f3
UD
165232011-09-05 Ulrich Drepper <drepper@gmail.com>
16524
d88ae418
UD
16525 * po/ja.po: Update from translation team.
16526
2f0ad8f3
UD
16527 [BZ #13144]
16528 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
16529 kernel in 64-bit binaries.
16530
5f4318d1
DM
165312011-09-01 David S. Miller <davem@davemloft.net>
16532
16533 * elf/elf.h (HWCAP_SPARC_*): Move to..
16534 * sysdeps/sparc/sysdep.h: this new file and add new values.
16535 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
16536 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
16537 _DL_HWCAP_COUNT to 24.
16538 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16539 entries.
16540 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
16541 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
16542 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
16543 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
16544 instead of magic constants.
16545 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16546
3ba57516
DM
165472011-08-31 David S. Miller <davem@davemloft.net>
16548
16549 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
16550 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
16551 Reimplement to do errno handling inline.
16552 (SYSCALL_ERROR_HANDLER): New macro.
16553 (__SYSCALL_STRING): Do not do errno handling in asm.
16554 (__CLONE_SYSCALL_STRING): Delete.
16555 (__INTERNAL_SYSCALL_STRING): Delete.
16556 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
16557 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
16558 (PSEUDO): Reimplement to do errno handling inline.
16559 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
16560 (SYSCALL_ERROR_HANDLER): New macro.
16561 (__SYSCALL_STRING): Do not do errno handling in asm.
16562 (__CLONE_SYSCALL_STRING): Delete.
16563 (__INTERNAL_SYSCALL_STRING): Delete.
16564 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
16565 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
16566 i386.
16567 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
16568 (inline_syscall*): Add 'err' argument.
16569 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
16570 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
16571 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
16572 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
16573
16574 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
16575 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16576
2bc17433
AS
165772011-08-30 Andreas Schwab <schwab@redhat.com>
16578
16579 * elf/rtld.c (dl_main): Relocate objects in dependency order.
16580
fbeb5f4d
JO
165812011-08-29 Jiri Olsa <jolsa@redhat.com>
16582
16583 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
16584 directive.
16585
ad69cc26
DM
165862011-08-24 David S. Miller <davem@davemloft.net>
16587
16588 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
16589
39dd69df
AS
165902011-08-24 Andreas Schwab <schwab@redhat.com>
16591
16592 * elf/Makefile: Add rules to build and run unload8 test.
16593 * elf/unload8.c: New file.
16594 * elf/unload8mod1.c: New file.
16595 * elf/unload8mod1x.c: New file.
16596 * elf/unload8mod2.c: New file.
16597 * elf/unload8mod3.c: New file.
16598
16599 * elf/dl-close.c (_dl_close_worker): Reset private search list if
16600 it wasn't used.
16601
2c0b250a
DM
166022011-08-23 David S. Miller <davem@davemloft.net>
16603
16604 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
16605 subtract stack bias.
16606 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
16607 %sp not %fp in calculations.
16608 (_JMPBUF_UNWINDS_ADJ): Likewise.
16609
22044b48
DM
16610 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
16611 (aio_suspend): Call it to force an exception region around the
16612 AIO_MISC_WAIT() invocation.
16613
2cae4995
AS
166142011-08-23 Andreas Schwab <schwab@redhat.com>
16615
16616 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
16617 backslash.
16618
873a772e
AJ
166192011-07-04 Aurelien Jarno <aurelien@aurel32.net>
16620
16621 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
16622 protection macro.
16623 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
16624 and <dl-machine.h>.
16625 (Elf64_FuncDesc): Remove.
16626
25ad0df1
DM
166272011-08-22 David S. Miller <davem@davemloft.net>
16628
16629 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
16630 sigaltstack check, add missing cfi directives.
16631 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
16632 missing cfi directives, and sigaltstack handling.
16633
e888bcbe
AS
166342011-08-16 Andreas Schwab <schwab@redhat.com>
16635
16636 [BZ #11724]
16637 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
16638 object is seen twice.
16639 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16640
16641 * elf/Makefile (distribute): Add tst-initorder2.c.
16642 (tests): Add tst-initorder2.
16643 (modules-names): Add tst-initorder2a tst-initorder2b
16644 tst-initorder2c tst-initorder2d. Add rules to build them.
16645 ($(objpfx)tst-initorder2.out): New rule.
16646 * elf/tst-initorder2.c: New file.
16647 * elf/tst-initorder2.exp: New file.
16648
87162f46
AS
166492011-08-22 Andreas Schwab <schwab@redhat.com>
16650
70538b7f
AS
16651 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
16652
f55ffe58
AS
16653 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
16654 dependencies back to end of function.
16655
87162f46
AS
16656 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16657 $(elfobjdir)/ld.so.
16658
91b392a4
UD
166592011-08-21 Ulrich Drepper <drepper@gmail.com>
16660
16661 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
16662 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
16663 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
16664 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
16665 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
16666 of __vdso_gettimeofday.
16667 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
16668 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
16669 attribute_hidden.
16670 (_libc_vdso_platform_setup): Remove initialization of
16671 __vdso_gettimeofday and __vdso_time.
16672
5c43483f
UD
166732011-08-20 Ulrich Drepper <drepper@gmail.com>
16674
775a77e7
UD
16675 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
16676 and fgetc_unlocked.
16677 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
16678 getc_unlocked.
89f447ed 16679
49c74ba9
UD
16680 * elf/dl-open.c (add_to_global): Report additions to the global scope
16681 for LD_DEBUG=scopes.
16682 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 16683 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 16684
5c43483f
UD
16685 [BZ #13114]
16686 * stdio-common/Makefile (tests): Add bug24.
16687 * stdio-common/bug24.c: New file.
16688
a101b025
AJ
166892011-08-19 Andreas Jaeger <aj@suse.de>
16690
16691 [BZ #13114]
16692 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
16693 non-existant file when using close-on-exec mode.
16694
c88f1766
UD
166952011-08-20 Ulrich Drepper <drepper@gmail.com>
16696
0276a718
UD
16697 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
16698 the very first instruction.
16699
c88f1766
UD
16700 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
16701 the CFI state in the end.
16702 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
16703 inclusion of dl-trampoline.h.
16704 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
16705
51ccffa0
AS
167062011-08-19 Andreas Schwab <schwab@redhat.com>
16707
94d7165f
AS
16708 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
16709 expectations for long double.
16710
51ccffa0
AS
16711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
16712 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
16713
fd708658 167142011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
16715
16716 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
16717 artificual limit depends upon the system page size.
16718
44f0a71e
UD
167192011-08-17 Ulrich Drepper <drepper@gmail.com>
16720
16721 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
16722 * resolv/Makefile: Define CFLAGS-libresolv.
16723
8de79a24
AS
167242011-08-17 Andreas Schwab <schwab@redhat.com>
16725
16726 * nss/makedb.c (compute_tables): Make variables used in nested
16727 function static.
16728
27724598
UD
167292011-08-17 Ulrich Drepper <drepper@gmail.com>
16730
c5305d88
UD
16731 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
16732 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
16733 if buffer was too small.
16734
27724598
UD
16735 * elf/pldd.c (main): Attach to all threads in the process.
16736 Rewrite /proc handling to use *at functions.
16737
076fe015
UD
167382011-08-16 Ulrich Drepper <drepper@gmail.com>
16739
174baab3
UD
16740 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
16741 specifies first scope to show.
16742 (dl_open_worker): Update callers. Move printing scope of new
16743 object to before the relocation.
44f0a71e 16744 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
16745 * sysdeps/generic/ldsodefs.h: Update declaration.
16746
076fe015
UD
16747 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
16748 string for the scope number.
16749
a60df2c3
UD
167502011-08-14 Ulrich Drepper <drepper@gmail.com>
16751
16752 * nscd/servicescache.c (cache_addserv): Make sure written is always
16753 initialized.
16754
5e4287d1
RM
167552011-08-14 Roland McGrath <roland@hack.frob.com>
16756
85ae0589
RM
16757 * sysdeps/i386/i486/bits/atomic.h
16758 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
16759 statement expression, so as to suppress "set but not used" warning.
16760 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
16761
69f63097
RM
16762 * string/strncat.c (STRNCAT): Use prototype definition.
16763
675456ef
RM
16764 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
16765 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
16766 -Iprograms here.
16767 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
16768 (localedef-modules): Add localedef.
16769 (locale-modules): Add locale.
16770
5e4287d1
RM
16771 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
16772 * elf/rtld.c (dl_main): Invert order of assignment in last change,
16773 to avoid a warning.
16774
9c96ff23
DM
167752011-08-14 David S. Miller <davem@davemloft.net>
16776
16777 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
16778 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
16779
f9ddf089
UD
167802011-08-13 Ulrich Drepper <drepper@gmail.com>
16781
44f0a71e 16782 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
16783 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
16784 * elf/rtld.c (dl_main): Set l_name of vDSO.
16785 Call _dl_show_scope when DL_DEBUG_SCOPES.
16786 (process_dl_debug): Recognize scopes flag and also set it for all.
16787 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
16788 Declare _dl_show_scope.
16789
1dc27704
UD
16790 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
16791 (do_dlopen): Pass caller_dlopen to dl_open.
16792 (__libc_dlopen_mode): Initialize caller_dlopen.
16793
f9ddf089
UD
16794 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
16795 of libc. Make tolower call locale-independent. Optimize a bit by
16796 using isdigit instead of isalnum.
16797 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
16798
9ac533d3
UD
167992011-08-12 Ulrich Drepper <drepper@gmail.com>
16800
16801 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
16802 was a dependency or dynamically loaded.
16803
89edf2e9
UD
168042011-08-11 Ulrich Drepper <drepper@gmail.com>
16805
8e999d29
UD
16806 * intl/l10nflist.c: Allow architecture-specific pop function.
16807 * sysdeps/x86_64/l10nflist.c: New file.
16808
89edf2e9
UD
16809 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
16810 classification.
16811
14d96785
AS
168122011-08-10 Andreas Schwab <schwab@redhat.com>
16813
16814 * include/dirent.h: Add libc_hidden_proto for scandirat and
16815 scandirat64. Don't declare __scandirat64.
16816 * dirent/scandirat.c: Add libc_hidden_def.
16817 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
16818 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
16819
6761ac04
DM
168202011-08-10 David S. Miller <davem@davemloft.net>
16821
16822 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
16823 enum.
16824 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16825 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16826 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16827
c55fbd1e
UD
168282011-08-09 Ulrich Drepper <drepper@gmail.com>
16829
16830 * Versions.def [libc]: Add GLIBC_2.15.
16831 * dirent/Makefile (routines): Add scandirat and scandirat64.
16832 * dirent/Versions [libc]: Export scandirat and scandirat64 for
16833 GLIBC_2.15.
16834 * dirent/dirent.h: Declare scandirat and scandirat64.
16835 * dirent/scandirat.c: New file.
16836 * dirent/scandirat64.c: New file.
16837 * sysdeps/wordsize-64/scandirat.c: New file.
16838 * sysdeps/wordsize-64/scandirat64.c: New file.
16839 * dirent/opendir.c: Define opendirat.
16840 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
16841 using scandirat.
16842 * dirent/scandir64.c: Adjust for scandir.c change.
16843 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
16844 __scandirat64, and __scandir_cancel_handler.
16845 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
16846 additional parameter and use openat instead of open (outside of ld.so).
16847 Add new __opendir as wrapper around __opendirat.
16848 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
16849 here without requiring old scandirat implementation.
16850
879165f2
UD
168512011-08-08 Ulrich Drepper <drepper@gmail.com>
16852
16853 * dirent/scandir.c (cancel_handler): Renamed to
16854 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
16855 defined. Adjust users.
16856 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
16857 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16858
cb7e923b
UD
168592011-08-04 Ulrich Drepper <drepper@gmail.com>
16860
16292edd
UD
16861 * string/test-string.h (IMPL): Use __STRING to expand name and then
16862 stringify it.
16863
cb7e923b
UD
16864 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
16865 of cleanups.
16866
cff82933
LD
168672011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16868
16869 * string/Makefile: Update.
16870 (strop-tests): Append strncat.
16871 * string/test-wcscmp.c: New file.
16872 New comprehensive test for wcscmp.
16873 * string/test-strcmp.c: Update.
16874 (WIDE): New define.
16875
9be9bfcc
AS
168762011-07-22 Andreas Schwab <schwab@redhat.com>
16877
16878 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
16879 line.
16880
2e96f1c7
AS
168812011-07-26 Andreas Schwab <schwab@redhat.com>
16882
16883 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16884 encoding to ACE if AI_IDN.
16885
85188888
JJ
168862011-08-01 Jakub Jelinek <jakub@redhat.com>
16887
16888 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
16889 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
16890
5fa16e9b
LD
168912011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16892
16893 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
16894 Fix overflow bug in strncat.
16895 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16896
16897 * string/test-strncat.c: Update.
16898 Add new tests for checking overflow bugs.
16899
169002011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16901
16902 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16903 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
16904 * sysdeps/i386/i686/multiarch/strcat.S: New file.
16905 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
16906 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
16907 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
16908 * sysdeps/i386/i686/multiarch/strncat.S: New file.
16909 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
16910 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
16911
16912 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
16913 (USE_AS_STRCAT): Define.
16914 Add strcat and strncat support.
16915 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16916
8c1a459f
AS
169172011-07-25 Andreas Schwab <schwab@redhat.com>
16918
16919 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
16920 __n bigger than INT_MAX+1.
16921 (__strncmp_g): Likewise.
16922
bba33c28
UD
169232011-07-23 Ulrich Drepper <drepper@gmail.com>
16924
798be72d
UD
16925 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
16926 * libio/stido.h: Likewise.
16927
8accd4dc
UD
16928 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
16929 (AF_NFC): Define.
16930 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
16931 (AF_NFC): Define.
16932
cbff0d96
UD
16933 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
16934 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16935 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16936 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16937 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16938
9191c04a
UD
16939 [BZ #13021]
16940 * scripts/test-installation.pl: Don't expect libnss_test1 to be
16941 installed.
16942
bba33c28
UD
16943 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
16944 typo.
16945 (_dl_x86_64_save_sse): Likewise.
16946
90f139dd
UD
169472011-07-22 Ulrich Drepper <drepper@gmail.com>
16948
1aae088a
UD
16949 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
16950 OSXSAVE.
16951 (_dl_x86_64_save_sse): Likewise.
16952
8e2045f5
UD
16953 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
16954
90f139dd
UD
16955 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
16956
1d002f25
AS
169572011-07-21 Andreas Schwab <schwab@redhat.com>
16958
16959 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
16960 change.
16961 (_dl_x86_64_save_sse): Use correct AVX check.
16962
21137f89
UD
169632011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16964
16965 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
16966 bug in strncpy/strncat.
16967 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16968
a65c0b7a
UD
169692011-07-21 Ulrich Drepper <drepper@gmail.com>
16970
16971 * string/tester.c (test_strcat): Add tests for different alignments
16972 of source and destination.
16973 (test_strncat): Likewise.
16974
6986b98a
UD
169752011-07-20 Ulrich Drepper <drepper@gmail.com>
16976
90bb2039
UD
16977 [BZ #12852]
16978 * posix/glob.c (glob): Check passed in values before using them in
16979 expressions to avoid some overflows.
16980 (glob_in_dir): Likewise.
16981
5644ef54
UD
16982 [BZ #13007]
16983 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
16984 check for AVX enablement so that we don't crash with old kernels and
16985 new hardware.
16986 * elf/tst-audit4.c: Add same checks here.
16987 * elf/tst-audit6.c: Likewise.
16988
16989 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 16990
bfc9dc9b
AS
169912011-07-09 Andreas Schwab <schwab@linux-m68k.org>
16992
16993 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
16994
702e64bb
UD
169952011-07-20 Ulrich Drepper <drepper@gmail.com>
16996
16997 * po/cs.po: Update from translation team.
16998 * po/bg.po: Likewise.
16999
295e904f
MP
170002011-07-12 Marek Polacek <mpolacek@redhat.com>
17001
17002 * misc/sys/cdefs.h: Add support for const attribute.
17003 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
17004 to gnu_dev_{major,minor,makedev} functions.
17005
3ff94596
MP
170062011-07-20 Marek Polacek <mpolacek@redhat.com>
17007
17008 * intl/dcigettext.c (get_output_charset): Add missing bracket.
17009
28b59fca
AS
170102011-07-20 Andreas Schwab <schwab@redhat.com>
17011
17012 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
17013 strlen results.
17014
19df733e
AK
170152011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17016
17017 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17018 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
17019 register in order to avoid conflicts with the soft frame pointer
17020 being held in r11 when necessary.
17021 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17022 (INTERNAL_VSYSCALL_NCS): Likewise.
17023
c8835729
MP
170242011-07-14 Marek Polacek <mpolacek@redhat.com>
17025
17026 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
17027 * elf/dl-fini.c (_dl_fini): Adjust caller.
17028 * elf/dl-close.c (_dl_close_worker): Likewise.
17029 * sysdeps/generic/ldsodefs.h: Adjust declaration.
17030
b902330c
MP
170312011-07-15 Marek Polacek <mpolacek@redhat.com>
17032
8991e135
MP
17033 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
17034 "aux_cache->nlibs < 0".
17035
b902330c
MP
17036 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
17037 in the reload-count case.
17038
99710781
LD
170392011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17040
17041 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17042 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
17043 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
17044 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
17045 * sysdeps/x86_64/multiarch/strcat.S: New file.
17046 * sysdeps/x86_64/multiarch/strncat.S: New file.
17047 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
17048 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
17049 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
17050 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
17051 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
17052 (USE_AS_STRCAT): Define.
17053 Add strcat and strncat support.
17054 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17055 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17056 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
17057 * string/strncat.c: Update.
17058 (USE_AS_STRNCAT): Define.
17059 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17060 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
17061 and i7.
17062 * sysdeps/x86_64/multiarch/init-arch.h
17063 (bit_Prefer_PMINUB_for_stringop): New.
17064 (index_Prefer_PMINUB_for_stringop): Likewise.
17065 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
17066 bit_Prefer_PMINUB_for_stringop.
17067
7dc6bd90
UD
170682011-07-19 Ulrich Drepper <drepper@gmail.com>
17069
17070 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
17071 buffer64.
17072 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
17073 of casting of buffer.
17074 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
17075 buffer32 and buffer64.
17076 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
17077 writes instead of casting of buffer.
17078 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
17079 buffer32.
17080 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
17081 casting of buffer.
17082
e0e72284
AS
170832011-07-19 Andreas Schwab <schwab@redhat.com>
17084
17085 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
17086
feb1eb0b
UD
170872011-07-19 Ulrich Drepper <drepper@gmail.com>
17088
17089 * nscd/nscd.c (termination_handler): Don't do anything for a database
17090 if it has not yet been initialized.
17091
298711ff
UD
170922011-07-18 Ulrich Drepper <drepper@gmail.com>
17093
17094 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17095
170962011-07-15 Marek Polacek <mpolacek@redhat.com>
17097
17098 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17099
f9d68389
UD
171002011-07-18 Ulrich Drepper <drepper@gmail.com>
17101
17102 * po/nl.po: Update from translation team.
17103 * po/sv.po: Likewise.
17104
db290cf5
RM
171052011-07-16 Roland McGrath <roland@hack.frob.com>
17106
17107 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
17108 now disallowed by GCC.
5c550700 17109
fd5e21c7
RM
17110 * configure.in (use-default-link): Default to yes if a test -shared
17111 link meets our qualifications.
17112 * configure: Regenerated.
17113
5c550700
RM
17114 * config.make.in (output-format): New variable.
17115 * configure.in: Check for ld --print-output-format support.
17116 * configure: Regenerated.
17117 * Makerules ($(common-objpfx)format.lds)
17118 [$(output-format) != unknown]: Just use $(output-format),
17119 instead of the linker-script munging.
17120
9fa2c032
RM
171212011-07-14 Roland McGrath <roland@hack.frob.com>
17122
a6928d51
RM
17123 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
17124 of $(common-objpfx)shlib.lds.
17125 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
17126
661607b3
RM
17127 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
17128 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
17129
9fa2c032
RM
17130 * configure.in (-z relro check): Adjust test code to add a large
17131 writable data section after it.
17132 * configure: Regenerated.
17133
defe9061
RM
171342011-07-11 Roland McGrath <roland@hack.frob.com>
17135
17136 * configure.in (-z relro check): Fix test code to make the variable
17137 truly const.
17138 * configure: Regenerated.
17139
319b9ad4
UD
171402011-07-11 Ulrich Drepper <drepper@gmail.com>
17141
17142 * nscd/nscd.h (struct traced_file): Define.
17143 (struct database_dyn): Remove inotify_descr, reset_res, and filename
17144 elements. Add traced_files.
17145 (inotify_fd): Declare.
17146 (register_traced_file): Declare.
17147 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
17148 (inotify_fd): Export.
17149 (resolv_conf_descr): Remove.
17150 (nscd_init): Move inotify descriptor creation to main.
17151 Don't register files for notification here.
17152 (register_traced_file): New function.
17153 (invalidate_cache): Don't use reset_res to determine whether to call
17154 res_init, go through the list of registered files.
17155 (main_loop_poll): The inotify descriptors are now stored in the
17156 structures for the traced files.
17157 (main_loop_epoll): Likewise
17158 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
17159 to __nss_disable_nscd.
17160 * nscd/cache.c (prune_cache): There is no single inotify descriptor
17161 for a database anymore. Check the records for all the registered
17162 files instead.
17163 * nss/Makefile (libnss_files-routines): Add files-init.
17164 (libnss_db-routines): Add db-init.
17165 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
17166 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
17167 * nss/nss_db/db-init.c: New file.
17168 * nss/nss_files/files-init.c: New file.
17169 * nss/nsswitch.c (nss_load_library): New function. Broken out of
17170 __nss_lookup_function.
17171 (__nss_lookup_function): Call nss_load_library.
17172 (nss_load_all_libraries): New function.
17173 (__nss_disable_nscd): Take parameter with callback function for files
17174 to register. Set is_nscd. Load all the DSOs for the NSS modules
17175 used for the cached services.
17176 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
17177 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
17178 options for features to all the files in nscd.
17179
17180 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
17181
23bee3e8
RM
171822011-07-10 Roland McGrath <roland@hack.frob.com>
17183
17184 * csu/elf-init.c (__libc_csu_init): Comment typo.
17185
46a5b7f0
UD
171862011-07-09 Ulrich Drepper <drepper@gmail.com>
17187
17188 * po/pl.po: Update from translation team.
17189 * po/ja.po: Likewise.
17190 * po/ru.po: Likewise.
17191 * po/ko.po: Likewise.
17192 * po/fr.po: Likewise.
17193
d30cf5bb
RM
171942011-07-09 Roland McGrath <roland@hack.frob.com>
17195
113ddea4
RM
17196 * configure.in (.ctors/.dtors header and trailer check):
17197 Use an empirical test on a built program.
17198 * configure: Regenerated.
17199
574920b4
RM
17200 * configure.in (-z relro check): Use an empirical test on a built DSO.
17201 Detect, but do not require, on ia64.
17202 * configure: Regenerated.
17203
d30cf5bb
RM
17204 * configure.in (READELF): Find it with AC_CHECK_TOOL.
17205 Update tests that use readelf to use $READELF instead.
17206 * configure: Regenerated.
17207
8538fdb3
UD
172082011-07-08 Ulrich Drepper <drepper@gmail.com>
17209
17210 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
17211 if the result is not used.
17212
04d08991
AJ
172132011-07-05 Andreas Jaeger <aj@suse.de>
17214
17215 [BZ#9696]
17216 * stdlib/tst-strtod.c: Add testcase.
17217
de283087
AD
172182011-07-07 Ulrich Drepper <drepper@gmail.com>
17219
4e5f31c8 17220 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 17221 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
17222 The latter has a higher limit. Take additional parameter to pass to
17223 the new function.
17224 (__pathconf): Pass file to __statfs_link_max.
17225 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
17226 __statfs_link_max.
17227 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
17228 __statfs_link_max.
17229
de283087
AD
17230 [BZ #12868]
17231 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
17232 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17233 Handle Lustre.
17234 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
17235 (__statfs_filesize_max): Likewise.
17236 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
17237
c75fa153
AJ
172382011-07-05 Andreas Jaeger <aj@suse.de>
17239
17240 * resolv/res_comp.c (dn_skipname): Remove unused variable.
17241
1a544854
UD
172422011-07-06 Marek Polacek <mpolacek@redhat.com>
17243
17244 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
17245 `status' variable.
17246 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
17247 Likewise.
17248
6f0eec67
UD
172492011-07-04 H.J. Lu <hongjiu.lu@intel.com>
17250
17251 * Makefile (strop-tests): Add strncat.
17252 * string/test-strncat.c: New file.
17253
aae30307
UD
172542011-06-30 Marek Polacek <mpolacek@redhat.com>
17255
17256 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
17257
c0cfb5eb
UD
172582011-06-21 Andreas Jaeger <aj@suse.de>
17259
17260 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
17261 Copy rule from iconvdata/Makefile.
17262
01636b21
UD
172632011-07-06 Ulrich Drepper <drepper@gmail.com>
17264
17265 [BZ #12922]
17266 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
17267 but no long options are defined, just return 'W'.
17268
9895c8bc
UD
172692011-06-22 Marek Polacek <mpolacek@redhat.com>
17270
17271 [BZ #9696]
17272 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
17273
5d4cf042
UD
172742011-07-06 Ulrich Drepper <drepper@gmail.com>
17275
17276 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
17277 netgroups to read.
960e5535 17278 (innetgr): Likewise.
5d4cf042 17279
751eb97e
RM
172802011-07-05 Roland McGrath <roland@hack.frob.com>
17281
17282 * config.make.in (install_root): Default to $(DESTDIR).
17283
f15f1e45
UD
172842011-07-05 Ulrich Drepper <drepper@gmail.com>
17285
17286 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
17287
4e34ac6a
RM
172882011-07-02 Roland McGrath <roland@hack.frob.com>
17289
5e9b6af4
RM
17290 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
17291
84f9ea0f
RM
17292 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
17293 containing directory rather than embedding absolute directory names.
17294
ea5ee9f7
RM
17295 * scripts/check-local-headers.sh: Rewritten using awk.
17296 Match by word, not by line. Print error messages for matches.
17297 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
17298
1b74661a
RM
17299 * Makerules [shlib-lds-flags empty]:
17300 ($(common-objpfx)libc_pic.opts): New target.
17301 ($(common-objpfx)libc_pic.os.clean): New target.
17302 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
17303
17304 * config.make.in (OBJCOPY): New variable.
17305 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
17306 * configure: Regenerated.
17307
f781ef40
RM
17308 * config.make.in (use-default-link): New variable.
17309 * configure.in (use_default_link): Grok --with-default-link to set it.
17310 * configure: Regenerated.
17311 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
17312 (shlib-lds, shlib-lds-flags): Define to empty.
17313
2d4fa81e
RM
17314 * Makerules (shlib-lds): New variable.
17315 (shlib-lds-flags): New variable.
17316 (build-shlib, build-moduile, build-module-asneeded): Use it.
17317 ($(common-objpfx)libc.so): Use $(shlib-lds).
17318 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
17319 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
17320
31fffa6b
RM
17321 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
17322 DT_FLAGS/DT_FLAGS_1 with zero flags.
17323
4e34ac6a
RM
17324 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
17325 linker script munging.
17326
fcfc776b
UD
173272011-07-02 Ulrich Drepper <drepper@gmail.com>
17328
17329 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
17330 as 128-bit value.
17331 * crypt/sha512.c (sha512_process_block): Perform total addition using
17332 128-bit if possible.
17333 (__sha512_finish_ctx): Likewise.
17334 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
17335 as 64-bit value.
17336 * crypt/sha256.c (SWAP64): Define.
17337 (sha256_process_block): Perform total addition using 64-bit if
17338 possible.
17339 (__sha256_finish_ctx): Likewise.
17340
99231d9a
UD
173412011-07-01 Ulrich Drepper <drepper@gmail.com>
17342
17343 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
17344 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17345 * nscd/hstcache.c (cache_addhst): Likewise.
17346 * nscd/grpcache.c (cache_addgr): Likewise.
17347 * nscd/aicache.c (addhstaiX): Likewise
17348 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
17349
445b4a53
TK
173502011-07-01 Thorsten Kukuk <kukuk@suse.de>
17351
17352 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
17353 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17354 * nscd/hstcache.c (cache_addhst): Likewise.
17355 * nscd/grpcache.c (cache_addgr): Likewise.
17356 * nscd/aicache.c (addhstaiX): Likewise
17357
6d4d8e8e
AS
173582011-07-01 Andreas Schwab <schwab@redhat.com>
17359
17360 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
17361 domain only when needed.
17362
89f654c5
AS
173632011-06-30 Andreas Schwab <schwab@redhat.com>
17364
17365 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
17366 is always restored.
17367
cf3b23ff
UD
173682011-06-29 Ulrich Drepper <drepper@gmail.com>
17369
17370 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
17371 are re-adding the entry.
17372 * nscd/servicescache.c (cache_addserv): Likewise.
17373
751626f9
AJ
173742011-06-30 Aurelien Jarno <aurelien@aurel32.net>
17375
17376 * sysdeps/generic/dl-irel.h: fix protection against multiple
17377 inclusions.
17378 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
17379
9113ea1f
UD
173802011-06-28 Ulrich Drepper <drepper@gmail.com>
17381
5c0b8d90
UD
17382 [BZ #12935]
17383 * malloc/memusage.sh: Fix quoting in message.
17384 * debug/xtrace.sh: Likewise.
17385
9113ea1f
UD
17386 * configure.in: Remove support for --experimental-malloc option, make
17387 it the default.
17388 * config.make.in: Likewise.
17389 * malloc/Makefile: Likewise.
17390
a4172181
AS
173912011-06-27 Andreas Schwab <schwab@redhat.com>
17392
17393 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
17394 two-byte characters.
17395
78a7eee7
RM
173962011-06-27 Roland McGrath <roland@hack.frob.com>
17397
62bede13
RM
17398 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
17399 AC_CACHE_CHECK invocation.
17400 * configure: Regenerated.
17401
78a7eee7
RM
17402 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
17403
5ce33a62
UD
174042011-06-27 Ulrich Drepper <drepper@gmail.com>
17405
034807a9
UD
17406 [BZ #12350]
17407 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
17408 bit from old_res_options.
17409
4902da17
UD
17410 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
17411
5ce33a62
UD
17412 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
17413 value type for setfct.
17414
c2344f56
L
174152011-06-23 H.J. Lu <hongjiu.lu@intel.com>
17416
17417 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17418 __gettimeofday instead of gettimeofday.
17419
68468076
UD
174202011-06-26 Ulrich Drepper <drepper@gmail.com>
17421
17422 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
17423
acb0d739
L
174242011-06-24 H.J. Lu <hongjiu.lu@intel.com>
17425
17426 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
17427
17428 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
17429 info.
17430
8912479f
L
174312011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17432
17433 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17434 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17435 strcpy-sse2-unaligned strncpy-sse2-unaligned
17436 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
17437 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
17438 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
17439 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
17440 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
17441 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
17442 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
17443 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
17444 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
17445 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
17446 (STRCPY): Support SSE2 and SSSE3 versions.
17447
d5495a11
UD
174482011-06-24 Ulrich Drepper <drepper@gmail.com>
17449
17450 [BZ #12874]
17451 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
17452 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
17453 kernels which artificially limit size of requests.
17454
0b1cbaae
L
174552011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17456
17457 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17458 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17459 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
17460 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
17461 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
17462 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
17463 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
17464 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
17465 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
17466 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
17467 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
17468 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
17469 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
17470 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
17471 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
17472 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17473 Enable unaligned load optimization for Intel Core i3, i5 and i7
17474 processors.
17475 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
17476 Define.
17477 (index_Fast_Unaligned_Load): Define.
17478 (HAS_FAST_UNALIGNED_LOAD): Define.
17479
07f494a0
MP
174802011-06-23 Marek Polacek <mpolacek@redhat.com>
17481
17482 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
17483
fa3fc0fe
UD
174842011-06-22 Ulrich Drepper <drepper@gmail.com>
17485
17486 [BZ #12907]
17487 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
17488 until it is clear that the information is realy needed.
17489 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
17490
e12df166
AS
174912011-06-22 Andreas Schwab <schwab@redhat.com>
17492
17493 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
17494
852eb34d
UD
174952011-06-22 Ulrich Drepper <drepper@gmail.com>
17496
84e2a551
UD
17497 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17498 /sys/devices/system/cpu/online if it is usable.
17499
852eb34d
UD
17500 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
17501 reading the information from the /proc filesystem to once a second.
17502
6e502e19
UD
175032011-06-21 Andreas Jaeger <aj@suse.de>
17504
17505 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
17506 NULL after inclusion of kernel headers.
17507
75d39ff2
UD
175082011-06-21 Ulrich Drepper <drepper@gmail.com>
17509
51f9aa6a
UD
17510 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
17511 calls to internal_setent.
17512
c0244a9d
UD
17513 [BZ #12885]
17514 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
17515 addresses using gethostbyname4_r ignore IPv4 addresses.
17516
c5e3c2ae
UD
17517 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
17518 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
17519
75d39ff2
UD
17520 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
17521
42675c6f
DM
175222011-06-20 David S. Miller <davem@davemloft.net>
17523
17524 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
17525 inclusions.
17526 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
17527
17528 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
17529 (elf_irel): Use it.
17530 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
17531 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
17532 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
17533 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
17534 * sysdeps/x86_64/dl-irel.h: Likewise.
17535
17536 * elf/dl-runtime.c: Use elf_ifunc_invoke.
17537 * elf/dl-sym.c: Likewise.
17538
57912a71
UD
175392011-06-15 Ulrich Drepper <drepper@gmail.com>
17540
17541 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
17542 need to dereference resplen2.
17543
ee22793d
AS
175442011-06-14 Andreas Schwab <schwab@redhat.com>
17545
17546 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
17547
a9e836b0
UD
175482011-06-15 Ulrich Drepper <drepper@gmail.com>
17549
77fb9117
UD
17550 * Makeconfig: Define vardbdir and inst_vardbdir.
17551 * nss/Makefile: Add rules to install db-Makefile.
17552
40c1b22c
UD
17553 * nss/nss_db/db-XXX.c: Cleanup.
17554
9f2da732
UD
17555 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
17556 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
17557 GLIBC_PRIVATE.
17558 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
17559 * nss/makedb.c: Implement -g option to specify that value strings
17560 are generated and should not be added to table iterated over for
17561 get*ent calls.
17562 * nss/nss_db/db-initgroups.c: New file.
17563
82e9a1f7
UD
17564 * nss/getent.c: Add support for initgroups lookups through getgrouplist
17565 interface.
17566
c41af17e
UD
17567 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
17568 (internal_getgrouplist): Adjust to name change.
17569 Update use_initgroups_entry if this is not the first call.
17570 * nss/databases.def: Add initgroups entry.
17571
a9e836b0
UD
17572 * nss/makedb.c (compute_tables): Check result of multiple hash table
17573 sizes to minimize maximum chain length.
17574
2666d441
UD
175752011-06-14 Ulrich Drepper <drepper@gmail.com>
17576
17577 * Versions.def: Add entry for libnss_db.
17578 * shlib-versions: Likewise.
17579 * nss/Makefile: Add rules to build libnss_db.
17580 * nss/Versions: Add libnss_db information. Organize libnss_files
17581 entries better.
17582 * nss/db-Makefile: Add gshadow support. Change rules for the new
17583 makedb progra. Some minor improvements to generate smaller files.
17584 * nss/nss_db/nss_db.h: Move NSS database header data structures to
17585 here from...
17586 * nss/makedb.c: ...here.
17587 Improve database format to be smaller and require less memory at
17588 runtime.
17589 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
17590 db anymore.
17591 * nss/nss_db/db-netgrp.c: Likewise.
17592 * nss/nss_db/db-open.c: Likewise.
17593 * nss/nss_files/flies-XXX.x: Adjust comments.
17594 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
17595 * nss/nss_files/files-grp.c: Likewise.
17596 * nss/nss_files/files-hosts.c: Likewise.
17597 * nss/nss_files/files-network.c: Likewise.
17598 * nss/nss_files/files-proto.c: Likewise.
17599 * nss/nss_files/files-pwd.c: Likewise.
17600 * nss/nss_files/files-rpc.c: Likewise.
17601 * nss/nss_files/files-service.c: Likewise.
17602 * nss/nss_files/files-sgrp.c: Likewise.
17603 * nss/nss_files/files-spwd.c: Likewise.
17604 * nss/nss_db/db-alias.c: Removed.
17605 * nss/nss_db/dummy-db.h: Removed.
17606
9ee76b5a
UD
176072011-06-02 Ulrich Drepper <drepper@gmail.com>
17608
17609 * nss/makedb.c: Rewritten to not use database library.
17610 * nss/Makefile: Update to build new makedb program.
17611
c71ca1f8
AJ
176122011-06-14 Andreas Jaeger <aj@suse.de>
17613
17614 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
17615 memset declaration.
17616
3154bfb8
UD
176172011-06-10 Andreas Schwab <schwab@redhat.com>
17618
17619 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
17620 tmpbuf.
17621
b350afab
RM
176222011-06-10 Roland McGrath <roland@hack.frob.com>
17623
decd4e50
RM
17624 * Makerules (shlib.lds): Fail if the linker script comes out empty.
17625 * elf/Makefile ($(objpfx)ld.so): Likewise.
17626
5615eaf2
RM
17627 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
17628 Don't list ld.so twice in dependencies.
17629
17630 * posix/bug-regex31.c: Include <stdlib.h>.
17631
17632 * nscd/hstcache.c (cache_addhst): Remove unused variable.
17633
17634 * nis/nss_compat/compat-spwd.c
17635 (getspent_next_nss_netgr): Remove unused variable.
17636 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
17637
17638 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
17639 nonmembers" output to use the right array.
17640
17641 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
17642
17643 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
17644
17645 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
17646 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
17647 * catgets/gencat.c (read_input_file): Likewise.
17648 * locale/programs/locarchive.c (enlarge_archive): Likewise.
17649
17650 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
17651 variable definition inside #if's controlling its use.
17652
17653 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
17654
17655 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
17656
17657 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
17658
17659 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
17660 unreachable code.
17661
17662 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
17663
b68e08db
RM
17664 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
17665 * configure: Regenerated.
17666
b350afab
RM
17667 * Makerules: Revert last change.
17668 * elf/Makefile: Likewise.
17669
28368601
RM
176702011-06-09 Roland McGrath <roland@hack.frob.com>
17671
17672 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
17673 * elf/Makefile ($(objpfx)librtld.os): Likewise.
17674 (reloc-link): Likewise.
17675
11988f8f
UD
176762011-06-09 Ulrich Drepper <drepper@gmail.com>
17677
17678 * elf/Makefile: Add rules to build pldd.
17679 * elf/pldd.c: New file.
17680 * elf/pldd-xx.c: New file.
17681
e80fab37
UD
176822011-06-07 Ulrich Drepper <drepper@gmail.com>
17683
17684 * version.h: Update for 2.15 development version.
17685
9b849836
DM
176862011-06-07 David S. Miller <davem@davemloft.net>
17687
17688 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
17689 ifuncs.
17690 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
17691 elf_machine_lazy_rel): Likewise.
17692 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17693 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
17694 elf_machine_lazy_rel): Likewise.
17695 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
17696 dl_hwcap via passed in argument.
17697 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
17698 Likewise.
17699
5a31b283
AK
177002011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17701
17702 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
17703
069e52f8
RM
177042011-06-06 Roland McGrath <roland@hack.frob.com>
17705
17706 [BZ #12849]
17707 * manual/fdl-1.1.texi: New file, verbatim from:
17708 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
17709 * manual/lgpl-2.1.texi: New file, verbatim from:
17710 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
17711 * manual/Makefile (licenses): New variable, list those new file names.
17712 (texis): Use it.
17713 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
17714
17715 * manual/fdl.texi: File removed.
17716 * manual/lesser.texi: File removed.
17717 * manual/libc.texinfo (Copying, Documentation License):
17718 Use new @include file names, put @appendix directive before @include.
17719
f16846a5
JJ
177202011-06-04 Jakub Jelinek <jakub@redhat.com>
17721
17722 [BZ #12841]
17723 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
17724 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
17725 (mq_open): Add __NTH.
17726
3d29045b
L
177272011-06-02 H.J. Lu <hongjiu.lu@intel.com>
17728
17729 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17730 Assume Intel Core i3/i5/i7 processor if AVX is available.
17731
8c297311
UD
177322011-05-31 Ulrich Drepper <drepper@gmail.com>
17733
17734 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17735 typo.
17736
c8fc0c91
UD
177372011-05-31 Andreas Schwab <schwab@redhat.com>
17738
17739 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
17740 memory. Use alloca_account. Fix memory leak when retrying.
17741
5b27a807
UD
177422011-05-31 Ulrich Drepper <drepper@gmail.com>
17743
356f8bc6
UD
17744 * version.h (RELEASE): Bump for 2.14 release.
17745 * include/features.h (__GLIBC_MINOR__): Bump to 14.
17746
5b27a807
UD
17747 * config.make.in (RANLIB): Remove entry.
17748
01f16ab0
UD
177492011-05-30 Ulrich Drepper <drepper@gmail.com>
17750
41fce8bd
UD
17751 * po/Makefile (po-sed-cmd): Add ksh to extensions.
17752 (libc.pot): Work around missing support for .ksh extension in xgettext.
17753
4769ae77
UD
17754 [BZ #12684]
17755 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
17756 if both request failed.
17757 (send_dg): In case of server errors clear resplen or *resplen2.
17758
6b1e7d19
UD
17759 [BZ #12454]
17760 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
17761 when there are multiple maps.
17762 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
17763 (_dl_fini): Remove test here.
17764
01f16ab0
UD
17765 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
17766
b1ebd700
UD
177672011-05-29 Ulrich Drepper <drepper@gmail.com>
17768
7ae22829
UD
17769 [BZ #12350]
17770 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
17771 bit from old_res_options.
17772 (gaih_inet): Likewise.
17773
553149f6 17774 [BZ #11099]
18a84741 17775 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
17776 as signed.
17777
652ffab1
UD
17778 * resolv/res_init.c (res_setoptions): Make the code more compact.
17779
16985fd0
UD
17780 [BZ #11558]
17781 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
17782 set RES_USEVC.
17783
0464f746
UD
17784 [BZ #11634]
17785 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
17786
7d17596c
UD
17787 * malloc/malloc.h: Mark malloc hook variables as deprecated.
17788
cf6bbbd7
UD
17789 [BZ #11781]
17790 * malloc/malloc.h: Declare malloc hook variables as volatile.
17791
13f1ab36
UD
17792 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
17793 in last patch.
17794
b1ebd700
UD
17795 [BZ #11799]
17796 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 17797 raise in the comment.
80e2212d
UD
17798 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17799 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17800 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 17801
ce67228d
UD
178022011-05-28 Ulrich Drepper <drepper@gmail.com>
17803
8887a920
UD
17804 [BZ #12811]
17805 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
17806 grow the buffers more if it already has to be sufficient.
17807 (build_wcs_upper_buffer): Likewise.
17808 * posix/regexec.c (check_matching): Likewise.
17809 (clean_state_log_if_needed): Likewise.
17810 (extend_buffers): Don't enlarge buffers beyond size of the input
17811 buffer.
17812 Patches mostly by Emil Wojak <emil@wojak.eu>.
17813 * posix/bug-regex32.c: New file.
17814 * posix/Makefile (tests): Add bug-regex32.
17815
4f031072
UD
17816 * locale/findlocale.c (_nl_find_locale): Return right away if
17817 _nl_explode_name failed.
17818 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17819
d0478f0c
UD
17820 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
17821
de81b246
UD
17822 * debug/xtrace.sh: Unify messages.
17823 * malloc/memusage.sh: Likewise.
17824
c738465a
UD
17825 [BZ #12813]
17826 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
17827 time symbol from vDSO. Substitute with vsyscall if not available.
17828 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
17829 __vdso_time.
17830
f1f929d7
UD
17831 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
17832 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
17833 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
17834 Add sendmmsg and internal_sendmmsg.
17835 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
17836 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
17837 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
17838
ce67228d
UD
17839 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
17840 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
17841 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
17842
e57420c6
UD
178432011-05-27 Ulrich Drepper <drepper@gmail.com>
17844
a8509ca5
UD
17845 [BZ #12813]
17846 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
17847 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
17848 available.
17849 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
17850 __vdso_getcpu.
17851
e57420c6
UD
17852 [BZ #12814]
17853 * iconvdata/Makefile (tests): Add bug-iconv9.
17854 * iconvdata/bug-iconv9.c: New file.
17855
4d07db15
AS
178562011-05-27 Andreas Schwab <schwab@redhat.com>
17857
17858 [BZ #12814]
17859 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
17860
ea486f69
JJ
178612011-05-25 Jakub Jelinek <jakub@redhat.com>
17862
17863 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17864 (struct user_regs_struct): Change intcs field back to cs.
17865
6f038433
UD
178662011-05-25 Ulrich Drepper <drepper@gmail.com>
17867
17868 * po/ja.po: Update from translation team.
17869
67f86a25
UD
178702011-05-23 Ulrich Drepper <drepper@gmail.com>
17871
17872 [BZ #12795]
17873 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
17874 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
17875
def7fbd6
AS
178762011-05-20 Andreas Schwab <schwab@redhat.com>
17877
17878 * stdlib/longlong.h: Update from GCC.
17879
f50ef8f1
AS
178802011-05-23 Andreas Schwab <schwab@redhat.com>
17881
17882 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
17883 parameter name.
17884 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
17885 Add parameter name.
17886 (__sysconf): Pass it down.
17887
de7ce8f1
UD
178882011-05-22 Ulrich Drepper <drepper@gmail.com>
17889
f2962a71
UD
17890 [BZ #12671]
17891 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
17892 some situations.
17893 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17894 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
17895 add in in __libc_use_alloca calls. Adjust callers.
17896 (glob): Use malloc in some situations.
17897
de7ce8f1
UD
17898 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
17899 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
17900 pltexit.
17901
aec84f53
UD
179022011-05-21 Ulrich Drepper <drepper@gmail.com>
17903
05bb4a68
UD
17904 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
17905 and CLOCK_BOOTTIME_ALARM.
17906
7ea72f99
UD
17907 [BZ #12782]
17908 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
17909 is returned.
17910
7e4afad5
UD
17911 * string/_strerror.c (__strerror_r): Print negative errors as signed
17912 numbers.
17913
8e211fec
UD
17914 [BZ #12777]
17915 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
17916 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
17917 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
17918
f7d82dc9
UD
17919 * configure.in: Fix typo in redirection and correct removal of test
17920 files in two cases.
17921
cc9e536d
UD
17922 [BZ #12788]
17923 * locale/setlocale.c (new_composite_name): Fix test to check for
17924 identical name of all categories.
17925
aec84f53
UD
17926 [BZ #12792]
17927 * libio/filedoalloc.c (local_isatty): New function.
17928 (_IO_file_doallocate): Use local_isatty.
17929 * stdio-common/perror.c (perror): In case a new stream is used
17930 forward the stream error.
17931 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
17932 error flag.
17933
78e64fdc
RT
179342011-05-20 Ulrich Drepper <drepper@gmail.com>
17935
34a9094f
UD
17936 [BZ #11869]
17937 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
17938 alloca.
17939 * include/alloca.h (extend_alloca_account): Define.
17940
78e64fdc
RT
17941 [BZ #11857]
17942 * posix/regex.h: Fix comments with documentation of user-accessible
17943 fields after compilation and describe correct free'ing of pattern
17944 after re_compile_pattern.
17945 Patch by Reuben Thomas <rrt@sc3d.org>.
17946
457bddfc
RA
179472011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
17948
17949 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
17950 and -mno-altivec to prevent the compiler from using Altivec and/or
17951 VSX instructions when the corresponding registers are not available.
17952
a4527b51
AS
179532011-05-19 Andreas Schwab <schwab@redhat.com>
17954
17955 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
17956
ed690b2f
UD
179572011-05-19 Ulrich Drepper <drepper@gmail.com>
17958
17959 * libio/freopen.c (freopen): Use __dup2, not dup2.
17960 * libio/freopen64.c (freopen64): Likewise.
17961
8db73634
L
179622011-05-17 H.J. Lu <hongjiu.lu@intel.com>
17963
17964 [BZ #12775]
17965 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
17966 * math/Makefile (tests): Add test-powl.
17967 (CFLAGS-test-powl.c): Define.
17968 * math/test-powl.c: New file.
17969
0a197a9d
L
179702011-05-16 H.J. Lu <hongjiu.lu@intel.com>
17971
17972 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
17973
ee30c380
UD
179742011-05-17 Ulrich Drepper <drepper@gmail.com>
17975
17976 [BZ #11837]
17977 * iconvdata/gb18030.c: Update to GB18020-2005.
17978
6ce75379
UD
179792011-05-16 Ulrich Drepper <drepper@gmail.com>
17980
a4b89fd8
AR
17981 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
17982 RE_SYNTAX_POSIX_AWK): Update to match recent development.
17983 Patch by Aharon Robbins <arnold@skeeve.com>.
17984
ea389b12
UD
17985 [BZ #11892]
17986 * stdlib/putenv.c (putenv): Don't always create copy of the variable
17987 on the stack.
17988
68a3f91f
UD
17989 [BZ #11895]
17990 * misc/pselect.c (__pselect): Handle timeout value errors hidden
17991 through underflows.
17992
15cc7dd1
UD
17993 [BZ #12766]
17994 * misc/error.c (error_at_line): Ensure file_name and old_file_name
17995 point to strings before performing equality test for error_one_per_line
17996 mode.
17997
f3799213
UD
17998 [BZ #11697]
17999 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
18000
d79a9c94
UD
18001 [BZ #11820]
18002 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18003 (struct user_fpregs_struct): Avoid __uint*_t types.
18004
56e5eb46
UD
18005 [BZ #6420]
18006 * malloc/mtrace.c (tr_where): Add additional parameter to point to
18007 symbol info. Use it instead of calling _dl_addr locally.
18008 (lock_and_info): New function.
18009 (tr_freehook): Call lock_and_info and pass symbol info as additional
18010 parameter to tr_where.
18011 (tr_mallochook): Likewise.
18012 (tr_reallochook): Likewise.
18013 (tr_memalignhook): Likewise.
18014
6ce75379
UD
18015 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
18016 used and couldn't be at all thread-safe.
18017
f8a3b5bf
UD
180182011-05-15 Ulrich Drepper <drepper@gmail.com>
18019
94b7cc37
UD
18020 * libio/freopen.c (freopen): Don't close old file descriptor
18021 before the new one is opened. Instead dup the new file descriptor
18022 to the old one after the new stream is created.
18023 * libio/freopen64.c (freopen64): Likewise.
18024 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
18025 * libio/fileops.c (_IO_new_file_close_it): Handle new
18026 _IO_FLAGS2_NOCLOSE flag.
18027 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
18028 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
18029 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
18030 _IO_FLAGS2_NOCLOSE flag.
18031 * include/unistd.h: Add hidden_proto for dup3.
18032 Define __have_dup3.
18033 * io/dup3.c: Define hidden symbol.
18034 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
18035
bd25564e
UD
18036 [BZ #7101]
18037 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
18038 when an incomplete long option is used.
18039 * posix/tst-getopt_long1.c: New file.
18040 * posix/Makefile (tests): Add tst-getopt_long1.
18041
c84cfef4
UD
18042 [BZ #10138]
18043 * scripts/config.guess: Update from autoconf-2.68.
18044 * scripts/config.sub: Likewise.
18045
3b85df27
UD
18046 [BZ #10157]
18047 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
18048 tests into ...
18049 (has_cpuclock): ...this. New function.
18050 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
18051 macro here based on has_cpuclock code.
18052
15a856b1
UD
18053 [BZ #10149]
18054 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18055 First byte (not low byte) is now always NUL.
18056 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
18057
05f399e6
UD
18058 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18059 Use non-cancelable interfaces.
18060
10a52685 18061 [BZ #9809]
94ecc67d
UD
18062 * locale/iso-639.def: Add entry for Sorani.
18063
f8a3b5bf
UD
18064 [BZ #11901]
18065 * include/stdlib.h: Move include protection to the right place.
18066 Define abort_msg_s. Declare __abort_msg with it.
18067 * stdlib/abort.c (__abort_msg): Adjust type.
18068 * assert/assert.c (__assert_fail_base): New function. Majority
18069 of code from __assert_fail. Allocate memory for __abort_msg with
18070 mmap.
18071 (__assert_fail): Now call __assert_fail_base.
18072 * assert/assert-perr.c: Remove bulk of implementation. Use
18073 __assert_fail_base.
18074 * include/assert.hL Declare __assert_fail_base.
18075 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
18076 mmap.
18077 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
18078
1af4e298
UD
180792011-05-14 Ulrich Drepper <drepper@gmail.com>
18080
f8a3b5bf 18081 [BZ #11952]
d26dfc60
MG
18082 [BZ #12453]
18083 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
18084 until all modules are registered in the DTV.
18085 * elf/Makefile: Add rules to build and run tst-tls19.
18086 * elf/tst-tls19.c: New file.
18087 * elf/tst-tls19mod1.c: New file.
18088 * elf/tst-tls19mod2.c: New file.
18089 * elf/tst-tls19mod3.c: New file.
18090 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
18091
2fc54d6f
UD
18092 [BZ #12083]
18093 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
18094 correctly.
18095
98d76b46
UD
18096 [BZ #12601]
18097 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
18098 two-byte sequence errors.
18099 * iconvdata/Makefile (tests): Add bug-iconv8.
18100 * iconvdata/bug-iconv8.c: New file.
18101
da3c19ef
UD
18102 [BZ #12626]
18103 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
18104 buf2 definition.
18105
ca408c15
UD
18106 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
18107
d6f67f7d
UD
18108 [BZ #12432]
18109 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
18110 (dummy_getcfa): New function.
18111 (init): Get _Unwind_GetCFA address, use dummy if not found.
18112 (backtrace_helper): In recursion check, also check whether CFA changes.
18113 (__backtrace): Completely initialize arg.
18114
1af4e298 18115 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
18116 storing incomplete byte sequence in state object. Avoid testing for
18117 guaranteed too small input if we know there is enough data available.
1af4e298 18118
da62f81b
AS
181192011-05-11 Andreas Schwab <schwab@redhat.com>
18120
18121 * Makeconfig (+link-pie): Indent.
18122 * Rules (binaries-pie): Define if $(have-fpie) and
18123 $(build-shared).
18124 (binaries-shared): Also filter out $(binaries-pie).
18125 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
18126 * nscd/Makefile (others-pie): Add nscd.
18127 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
18128 ($(objpfx)nscd): Remove command override.
18129 * login/Makefile (others-pie): Add pt_chown.
18130 ($(objpfx)pt_chown): Remove command override.
18131 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
18132 remove command overrides.
18133
fcabc0f8
UD
181342011-05-13 Ulrich Drepper <drepper@gmail.com>
18135
20030ae6
UD
18136 * libio/tst_putwc.c: Fix error messages.
18137
fcabc0f8
UD
18138 [BZ #12724]
18139 * libio/fileops.c (_IO_new_file_close_it): Always flush when
18140 currently writing and seek to current position when not.
18141 * libio/Makefile (tests): Add bug-fclose1.
18142 * libio/bug-fclose1.c: New file.
18143
320a5dc0
PB
181442011-05-12 Ulrich Drepper <drepper@gmail.com>
18145
18146 [BZ #12511]
18147 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
18148 don't set DF_1_NODELETE here.
18149 (do_lookup_x): When entering new entry test for copy relocation
18150 and if necessary set DF_1_NODELETE flag.
18151 * elf/tst-unique4.cc: New file.
18152 * elf/tst-unique4.h: New file.
18153 * elf/tst-unique4lib.cc: New file.
18154 * elf/Makefile: Add rules to build and run tst-unique4.
18155 Patch by Piotr Bury <pbury@goahead.com>.
18156
22836f52
UD
181572011-05-11 Ulrich Drepper <drepper@gmail.com>
18158
f574184a
UD
18159 [BZ #12052]
18160 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
18161
e1fb097f
UD
18162 [BZ #12625]
18163 * misc/mntent_r.c (addmntent): Flush the stream after the output
18164
22836f52
UD
18165 [BZ #12393]
18166 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
18167 (is_trusted_path_normalize): Skip initial colon. Append slash
18168 to empty buffer. Duplicate is_trusted_path code but allow
18169 constructed patch to be prefix.
18170 (is_dst): Allow $ORIGIN followed by /.
18171 (_dl_dst_substitute): Correct clearing of check_for_trusted.
18172 Correct testing of result of is_trusted_path_normalize
18173 (decompose_rpath): Fix warning.
18174
7b3b0b2a
UD
181752011-05-10 Ulrich Drepper <drepper@gmail.com>
18176
18177 [BZ #11257]
18178 * grp/initgroups.c (internal_getgrouplist): When we found the service
18179 list through the initgroups entry in nsswitch.conf do not always
18180 continue on a successful lookup. Don't always use the
eac80ce2 18181 __nss_group_database value if it is set.
7b3b0b2a
UD
18182 * nss/nsswitch.conf (initgroups): Change action for successful db
18183 lookup to continue for compatibility.
18184
2a81eaa5
UD
181852011-05-09 Ulrich Drepper <drepper@gmail.com>
18186
be97a69e
UD
18187 [BZ #11532]
18188 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
18189 and CP774 modules.
18190 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
18191 and CP774 modules.
18192 * iconvdata/tst-tables.sh: Likewise.
18193 * iconvdata/cp770.c: New file.
18194 * iconvdata/cp771.c: New file.
18195 * iconvdata/cp772.c: New file.
18196 * iconvdata/cp773.c: New file.
18197 * iconvdata/cp774.c: New file.
18198 * iconvdata/testdata/CP770: New file.
18199 * iconvdata/testdata/CP770..UTF8: New file.
18200 * iconvdata/testdata/CP771: New file.
18201 * iconvdata/testdata/CP771..UTF8: New file.
18202 * iconvdata/testdata/CP772: New file.
18203 * iconvdata/testdata/CP772..UTF8: New file.
18204 * iconvdata/testdata/CP773: New file.
18205 * iconvdata/testdata/CP773..UTF8: New file.
18206 * iconvdata/testdata/CP774: New file.
18207 * iconvdata/testdata/CP774..UTF8: New file.
18208
18209 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
18210 END CHARMAP line.
18211 * iconvdata/gen-8bit-gap.sh: Likewise.
18212 * iconvdata/gen-8bit.sh: Likewise.
18213
c1e9e399
UD
18214 * locale/iso-639.def: Add ary entry.
18215
24c55fb3 18216 [BZ #11258]
96b4b1b0
UD
18217 * locale/C-translit.h.in: Add U20A1 transliteration.
18218
bdc2f971
KB
18219 [BZ #12178]
18220 * locale/iso-639.def: Add wae entry.
18221 Patch by Kevin Bortis <bortis@translate-wae.ch>.
18222
2952b117
UD
18223 [BZ #12545]
18224 * locale/programs/localedef.c (construct_output_path): Use ssize_t
18225 for n.
18226
2a81eaa5
UD
18227 [BZ #12711]
18228 * locale/C-translit.h.in: Add entry for U20B9.
18229 Patch by pravin.d.s@gmail.com.
18230
28377d1b
UD
182312011-05-08 Ulrich Drepper <drepper@gmail.com>
18232
7fb90fb8
UD
18233 [BZ #12713]
18234 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
18235 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
18236 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
18237 in rtld. Use *stat64.
7fb90fb8 18238 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 18239 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 18240 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
18241 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
18242 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
18243 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
18244 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
18245 __fstatat64 macros.
7fb90fb8
UD
18246 * include/dirent.h: Add libc_hidden_proto for rewinddir.
18247 * dirent/rewinddir.c: Add libc_hidden_def.
18248 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 18249 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 18250
28377d1b
UD
18251 * include/dirent.h (__alloc_dir): Add flags parameter.
18252 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
18253 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
18254 __alloc_dir.
18255 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
18256 from fdopendir if O_CLOEXEC is already set.
18257
66bdbaa4
AM
182582011-03-15 Alan Modra <amodra@gmail.com>
18259
18260 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
18261 l_tls_firstbyte_offset non-zero. Save padding offset in
18262 l_tls_firstbyte_offset for later use.
18263 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
18264 freeing static tls block.
18265
95721191
JN
182662011-03-05 Jonathan Nieder <jrnieder@gmail.com>
18267
18268 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
18269 where #ifdef was intended. The intent is to prevent ARG_MAX from
18270 being defined by the kernel headers.
18271
f87dfb1f
UD
182722011-05-07 Ulrich Drepper <drepper@gmail.com>
18273
18274 [BZ #12734]
18275 * resolv/resolv.h: Define RES_NOTLDQUERY.
18276 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
18277 no-tld-query and set RES_NOTLDQUERY.
18278 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
18279 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
18280 modern BIND to search name as TLD unless forbidden.
18281
47c3cd7a
UD
182822011-05-07 Petr Baudis <pasky@suse.cz>
18283 Ulrich Drepper <drepper@gmail.com>
18284
18285 [BZ #12393]
18286 * elf/dl-load.c (fillin_rpath): Move trusted path check...
18287 (is_trusted_path): ...to here.
c1e9ea35 18288 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 18289 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 18290 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 18291
8a35c912
PP
182922011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18293
18294 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
18295 __BEGIN/__END_DECLS.
18296
acd41f47
UD
182972011-05-06 Ulrich Drepper <drepper@gmail.com>
18298
18299 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
18300 NSS_STATUS_NOTFOUND if no record was found.
18301
597df647
AS
183022011-05-05 Andreas Schwab <schwab@redhat.com>
18303
18304 * sunrpc/Makefile (headers): Add rpc/netdb.h.
18305 (headers-not-in-tirpc): Remove rpc/netdb.h
18306 * resolv/netdb.h: Revert last change.
18307
b9af1301
PP
183082011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18309
18310 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
18311 circular dependency between libgcc.a and libc.a.
18312
4e34d5f5
AS
183132011-05-05 Andreas Schwab <schwab@redhat.com>
18314
18315 * resolv/netdb.h: Don't include <rpc/netdb.h>.
18316 * nis/Makefile: Don't install rpcsvc/*.
18317 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
18318 instead of <rpc/types.h>.
18319 (MAXHOSTNAMELEN): Define.
18320
00ee369c
AS
183212011-05-03 Andreas Schwab <schwab@redhat.com>
18322
18323 * elf/ldconfig.c (add_dir): Don't crash on empty path.
18324
0b592a30
MB
183252011-04-28 Maciej Babinski <mbabinski@google.com>
18326
18327 [BZ #12714]
18328 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
18329 gethostbyname4_r when IPv6 results are possible.
18330
6e04cbbe
UD
183312011-05-02 Ulrich Drepper <drepper@gmail.com>
18332
18333 [BZ #12723]
18334 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
18335 _PC_PIPE_BUF handling.
18336
e4ecafe0
BH
183372011-04-30 Bruno Haible <bruno@clisp.org>
18338
18339 [BZ #12717]
18340 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
18341 * resolv/netdb.h (getnameinfo): Change type of flags parameter
18342 to 'int'.
18343 * inet/getnameinfo.c (getnameinfo): Likewise.
18344
125ee683
UD
183452011-04-29 Ulrich Drepper <drepper@gmail.com>
18346
18347 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
18348 to groups setting in database lookup.
18349 * nss/nsswitch.conf: Add initgroups entry.
18350
b722481a
EB
183512011-04-22 Ulrich Drepper <drepper@gmail.com>
18352
18353 [BZ #12685]
18354 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
18355 mode string.
18356 Patch by Eric Blake <eblake@redhat.com>.
18357
4df46dbd
L
183582011-04-20 H.J. Lu <hongjiu.lu@intel.com>
18359
18360 * sunrpc/Makefile (need-export-routines): Add svc_run.
18361 (routines): Remove svc_run.
18362 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
18363 * sunrpc/clnt_perr.c (clnt_perrno): Export.
18364 * sunrpc/svc_run.c (svc_run): Likewise.
18365 * sunrpc/svc_udp.c (svcudp_create): Likewise.
18366
e84142d2
UD
183672011-04-21 Ulrich Drepper <drepper@gmail.com>
18368
18369 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
18370 problem in reallocation in last patch.
18371
877175d8
UD
183722011-04-20 Ulrich Drepper <drepper@gmail.com>
18373
18374 * sunrpc/Makefile: Move inclusion of Rules.
18375
ab8eed78
UD
183762011-04-19 Ulrich Drepper <drepper@gmail.com>
18377
18378 * nss/nss_files/files-initgroups.c: New file.
18379 * nss/Makefile (libnss_files-routines): Add files-initgroups.
18380 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
18381 _nss_files_initgroups_dyn.
18382
e3d8f584
RS
183832011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
18384
18385 * elf/elf.h (R_ARM_IRELATIVE): Define.
18386
af190f45
UD
183872011-04-19 Ulrich Drepper <drepper@gmail.com>
18388
18389 * po/ru.po: Update from translation team.
18390
53cf59ef
UD
183912011-04-17 Ulrich Drepper <drepper@gmail.com>
18392
18393 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
18394 dependencies.
18395
4c559bcd
MF
183962011-02-06 Mike Frysinger <vapier@gentoo.org>
18397
18398 [BZ #12653]
18399 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
18400 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
18401 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18402 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18403 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18404
4420675c
AS
184052011-03-28 Andreas Schwab <schwab@linux-m68k.org>
18406
18407 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
18408 differing bytes.
18409 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18410 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18411 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18412
75ea32ab
UD
184132011-04-17 Ulrich Drepper <drepper@gmail.com>
18414
18415 [BZ #12420]
18416 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
18417 storing it.
18418 * stdlib/bug-getcontext.c: New file.
18419 * stdlib/Makefile: Add rules to build and run bug-getcontext.
18420
27390476
AK
184212011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18422
18423 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
18424 instructions into .machine "z9-109".
18425 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18426 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18427
10442705
AK
184282011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18429
18430 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
18431 between environment variables and auxiliary vector.
18432
7b57bfe5
UD
184332011-04-16 Ulrich Drepper <drepper@gmail.com>
18434
18435 * Makefile: Add rules to build linkobj/libc.so.
18436 * include/libc-symbols.h: Define libc_hidden_nolink.
18437 * include/rpc/auth.h: Mark functions which are to be hidden.
18438 * include/rpc/auth_des.h: Likewise.
18439 * include/rpc/auth_unix.h: Likewise.
18440 * include/rpc/clnt.h: Likewise.
18441 * include/rpc/des_crypt.h: Likewise.
18442 * include/rpc/key_prot.h: Likewise.
18443 * include/rpc/pmap_clnt.h: Likewise.
18444 * include/rpc/pmap_prot.h: Likewise.
18445 * include/rpc/pmap_rmt.h: Likewise.
18446 * include/rpc/rpc_msg.h: Likewise.
18447 * include/rpc/svc.h: Likewise.
18448 * include/rpc/svc_auth.h: Likewise.
18449 * include/rpc/xdr.h: Likewise.
18450 * nis/Makefile: Link all DSOs against linkobj/libc.so.
18451 * nss/Makefile: Likewise.
18452 * sunrpc/Makefile: Don't install headers. Build library with normal
18453 entry points. Don't build rpcinfo. Link RPC tests appropriately.
18454 * sunrpc/auth_des.c: Hide exported symbols by default, export some
18455 for the compat linking library. Remove use of INTDEF/INTUSE.
18456 * sunrpc/auth_none.c: Likewise.
18457 * sunrpc/auth_unix.c: Likewise.
18458 * sunrpc/authdes_prot.c: Likewise.
18459 * sunrpc/authuxprot.c: Likewise.
18460 * sunrpc/clnt_gen.c: Likewise.
18461 * sunrpc/clnt_perr.c: Likewise.
18462 * sunrpc/clnt_raw.c: Likewise.
18463 * sunrpc/clnt_simp.c: Likewise.
18464 * sunrpc/clnt_tcp.c: Likewise.
18465 * sunrpc/clnt_udp.c: Likewise.
18466 * sunrpc/clnt_unix.c: Likewise.
18467 * sunrpc/des_crypt.c: Likewise.
18468 * sunrpc/des_soft.c: Likewise.
18469 * sunrpc/get_myaddr.c: Likewise.
18470 * sunrpc/key_call.c: Likewise.
18471 * sunrpc/key_prot.c: Likewise.
18472 * sunrpc/netname.c: Likewise.
18473 * sunrpc/pm_getmaps.c: Likewise.
18474 * sunrpc/pm_getport.c: Likewise.
18475 * sunrpc/pmap_clnt.c: Likewise.
18476 * sunrpc/pmap_prot.c: Likewise.
18477 * sunrpc/pmap_prot2.c: Likewise.
18478 * sunrpc/pmap_rmt.c: Likewise.
18479 * sunrpc/publickey.c: Likewise.
18480 * sunrpc/rpc_cmsg.c: Likewise.
18481 * sunrpc/rpc_common.c: Likewise.
18482 * sunrpc/rpc_dtable.c: Likewise.
18483 * sunrpc/rpc_prot.c: Likewise.
18484 * sunrpc/rpc_thread.c: Likewise.
18485 * sunrpc/rtime.c: Likewise.
18486 * sunrpc/svc.c: Likewise.
18487 * sunrpc/svc_auth.c: Likewise.
18488 * sunrpc/svc_authux.c: Likewise.
18489 * sunrpc/svc_raw.c: Likewise.
18490 * sunrpc/svc_run.c: Likewise.
18491 * sunrpc/svc_simple.c: Likewise.
18492 * sunrpc/svc_tcp.c: Likewise.
18493 * sunrpc/svc_udp.c: Likewise.
18494 * sunrpc/svc_unix.c: Likewise.
18495 * sunrpc/svcauth_des.c: Likewise.
18496 * sunrpc/xcrypt.c: Likewise.
18497 * sunrpc/xdr.c: Likewise.
18498 * sunrpc/xdr_array.c: Likewise.
18499 * sunrpc/xdr_float.c: Likewise.
18500 * sunrpc/xdr_intXX_t.c: Likewise.
18501 * sunrpc/xdr_mem.c: Likewise.
18502 * sunrpc/xdr_rec.c: Likewise.
18503 * sunrpc/xdr_ref.c: Likewise.
18504 * sunrpc/xdr_sizeof.c: Likewise.
18505 * sunrpc/xdr_stdio.c: Likewise.
18506
e6c61494
UD
185072011-04-10 Ulrich Drepper <drepper@gmail.com>
18508
18509 [BZ #12650]
18510 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
18511 * sysdeps/ia64/dl-tls.h: Likewise.
18512 * sysdeps/powerpc/dl-tls.h: Likewise.
18513 * sysdeps/s390/dl-tls.h: Likewise.
18514 * sysdeps/sh/dl-tls.h: Likewise.
18515 * sysdeps/sparc/dl-tls.h: Likewise.
18516 * sysdeps/x86_64/dl-tls.h: Likewise.
18517 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
18518
34fe483e
AS
185192011-03-14 Andreas Schwab <schwab@redhat.com>
18520
18521 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
18522 rpath element also skip the following colon.
18523 (expand_dynamic_string_token): Add is_path parameter and pass
18524 down to DL_DST_REQUIRED and _dl_dst_substitute.
18525 (decompose_rpath): Call expand_dynamic_string_token with
18526 non-zero is_path. Ignore empty rpaths.
18527 (_dl_map_object_from_fd): Call expand_dynamic_string_token
18528 with zero is_path.
18529
f12a32e6
AS
185302011-04-08 Andreas Schwab <schwab@linux-m68k.org>
18531
18532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18533 Make cancelable.
18534
38a7d692
UD
185352011-04-09 Ulrich Drepper <drepper@gmail.com>
18536
18537 [BZ #12655]
18538 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
18539 Patch by Filipe David Manana <fdmanana@apache.org>.
18540
e451d22b
AS
185412011-04-07 Andreas Schwab <schwab@redhat.com>
18542
18543 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
18544 Maintain aligned stack.
18545 (CHECK_RSP): Remove unused macro.
18546
dedc7c7b
UD
185472011-04-03 Ulrich Drepper <drepper@gmail.com>
18548
18549 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
18550 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
18551
94521213
UD
185522011-04-02 Ulrich Drepper <drepper@gmail.com>
18553
18554 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
18555
8cb700c0 18556 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 18557
0354e355
L
185582011-03-26 H.J. Lu <hongjiu.lu@intel.com>
18559
18560 [BZ #12518]
18561 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
18562 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
18563 * sysdeps/x86_64/memmove.c: New file.
18564 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
18565 (memcpy): Renamed to ...
18566 (__new_memcpy): This.
18567 (memcpy): Provide GLIBC_2_14 memcpy.
18568 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
18569 (memcpy): Provide GLIBC_2_2_5 memcpy.
18570
8593482f
UD
185712011-04-01 Ulrich Drepper <drepper@gmail.com>
18572
18573 [BZ #12631]
18574 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
18575
81a5726b
AS
185762011-03-30 Andreas Schwab <schwab@redhat.com>
18577
18578 * misc/syncfs.c: New file.
18579 * misc/Makefile (routines): Add syncfs.
18580 * posix/unistd.h: Declare syncfs.
18581 * sysdeps/unix/syscalls.list: Add syncfs.
18582
00e5419f
AS
185832011-04-01 Andreas Schwab <schwab@redhat.com>
18584
18585 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
18586 open_by_handle_at.
18587 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18588 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18589 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18590 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18591 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18592 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
18593 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18594
748876bf
UD
185952011-04-01 Ulrich Drepper <drepper@gmail.com>
18596
658e451d
UD
18597 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
18598 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18599 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
18600 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18601 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18602 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18603 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18604
748876bf
UD
18605 * io/Makefile: Compile fallocate.c, fallocate64.c, and
18606 sync_file_range.c with -fexceptions.
18607 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
18608 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
18609 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18610 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18611 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
18612 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18613 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
18614 sync_file_range as cancellation point
18615 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
18616 now a wrapper around __call_sync_file_range with cancellation handling.
18617 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
18618 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
18619 function name to __call_sync_file_range.
18620 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
18621 Add call_sync_file_range.
748876bf 18622
6e63d5e1
AS
186232011-04-01 Andreas Schwab <schwab@redhat.com>
18624
18625 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 18626 bits/timex.h.
6e63d5e1 18627
46998f74
UD
186282011-04-01 Ulrich Drepper <drepper@gmail.com>
18629
4c1423ed
UD
18630 * iconv/iconv.h: Fix typo in comment.
18631 * io/fcntl.h: Likewise.
18632 * libio/stdio.h: Likewise.
18633 * posix/spawn.h: Likewise.
18634 * posix/unistd.h: Likewise.
18635 * stdlib/stdlib.h: Likewise.
18636 * time/time.h: Likewise.
18637 * wcsmbs/wchar.h: Likewise.
18638
158648c0
UD
18639 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
18640 open_by_handle): Add.
18641 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
18642 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
18643 Augment a few comments.
18644 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18645 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18646 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18647 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18648 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18649 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
18650 open_by_handle.
18651
46998f74
UD
18652 * io/fcntl.h (AT_EMPTY_PATH): Define.
18653
83fe108b
UD
186542011-03-30 Ulrich Drepper <drepper@gmail.com>
18655
18656 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
18657 * sysdeps/unix/sysv/linux/bits/time.h: New file.
18658 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
18659 to...
18660 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
18661 * Versions.def: Add GLIBC_2.14.
18662 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
18663 Export.
83fe108b 18664
bb242059
UD
186652011-03-22 Ulrich Drepper <drepper@gmail.com>
18666
18667 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
18668 round counter.
18669 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18670
c97a1282
L
186712011-03-20 H.J. Lu <hongjiu.lu@intel.com>
18672
18673 [BZ #12597]
18674 * string/test-strncmp.c (do_page_test): New function.
18675 (check2): Likewise.
18676 (test_main): Call check2.
18677 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
18678
2a115601
UD
186792011-03-20 Ulrich Drepper <drepper@gmail.com>
18680
18681 [BZ #12587]
18682 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
18683 Handle cache information in CPU leaf 4.
18684 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18685
8126d904
UD
186862011-03-18 Ulrich Drepper <drepper@gmail.com>
18687
042c49c6 18688 [BZ #12583]
8126d904
UD
18689 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
18690 character representation.
18691 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
18692
ccfe366e
RA
186932011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
18694
18695 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
18696 END(__isnan) to END(__isnanf) to match function entry point/label
18697 EALIGN(__isnanf,...).
18698
c6e13027
JJ
186992011-03-10 Jakub Jelinek <jakub@redhat.com>
18700
18701 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
18702
33f85a3f
UD
187032011-03-10 Ulrich Drepper <drepper@gmail.com>
18704
028478fa
UD
18705 [BZ #12510]
18706 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
18707 copy from the symbol referenced in the relocation to initialize the
18708 used variable.
18709 Patch by Piotr Bury <pbury@goahead.com>.
18710 * elf/Makefile: Add rules to build and tst-unique3.
18711 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
18712 * elf/tst-unique3.cc: New file.
18713 * elf/tst-unique3.h: New file.
18714 * elf/tst-unique3lib.cc: New file.
18715 * elf/tst-unique3lib2.cc: New file.
18716
33f85a3f
UD
18717 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
18718
03592fc7
MF
187192011-03-10 Mike Frysinger <vapier@gentoo.org>
18720
18721 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
18722 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
18723 to _start.
03592fc7 18724
6a5ee102
UD
187252011-03-06 Ulrich Drepper <drepper@gmail.com>
18726
18727 * elf/dl-load.c (_dl_map_object): If we are looking for the first
18728 to-be-loaded object along a path to loader is ld.so.
18729
7e4ba49c
HJ
187302011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18731 Ulrich Drepper <drepper@gmail.com>
18732
18733 * sysdeps/x86_64/memset.S: After aligning destination, code
18734 branches to different locations depending on the value of
18735 misalignment, when multiarch is enabled. Fix this.
18736
187372011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18738
18739 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
18740 Set _x86_64_preferred_memory_instruction for AMD processsors.
18741 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18742 Set bit_Prefer_SSE_for_memop for AMD processors.
18743
13a804de
UD
187442011-03-04 Ulrich Drepper <drepper@gmail.com>
18745
18746 * libio/fmemopen.c (fmemopen): Optimize a bit.
18747
9d25c392
AS
187482011-03-03 Andreas Schwab <schwab@redhat.com>
18749
18750 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
18751
a5543c6a
RM
187522011-03-03 Roland McGrath <roland@redhat.com>
18753
18754 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
18755
012d35f7
DM
187562011-02-28 Aurelien Jarno <aurelien@aurel32.net>
18757
7e4ba49c 18758 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
18759 __bzero_ultra1 instead of __memset_ultra1.
18760
4bff6e01
AS
187612011-02-23 Andreas Schwab <schwab@redhat.com>
18762 Ulrich Drepper <drepper@gmail.com>
18763
18764 [BZ #12509]
18765 * include/link.h (struct link_map): Add l_orig_initfini.
18766 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
18767 returning unsuccessfully.
18768 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
18769 close of a file loaded at startup, restore the original l_initfini
18770 list.
18771 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
18772 list, store the pointer.
18773 * elf/Makefile ($(objpfx)noload-mem): New rule.
18774 (noload-ENV): Define.
18775 (tests): Add $(objpfx)noload-mem.
18776 * elf/noload.c: Include <memcheck.h>.
18777 (main): Call mtrace. Close all opened handles.
18778
f2092faf
AS
187792011-02-17 Andreas Schwab <schwab@redhat.com>
18780
18781 [BZ #12454]
18782 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
18783 dependencies are missing.
18784
6c8a2e88
ST
187852011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
18786
f2092faf 18787 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
18788 Hurd needs munmap.
18789 * sysdeps/mach/hurd/ifreq.h: New file.
18790
84a42118
PB
187912011-01-27 Petr Baudis <pasky@suse.cz>
18792 Ulrich Drepper <drepper@gmail.com>
18793
071f805e 18794 [BZ 12445]#
84a42118
PB
18795 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
18796 to extend_alloca().
18797 * stdio-common/bug23.c: New file.
18798 * stdio-common/Makefile (tests): Add bug23.
18799
e23fe25b
AS
188002010-09-28 Andreas Schwab <schwab@redhat.com>
18801 Ulrich Drepper <drepper@gmail.com>
18802
18803 [BZ #12489]
18804 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
18805 before performing relro protection. At old place add assertion
18806 to make sure nothing changed.
18807
d3f02e10
NS
188082011-02-17 Nathan Sidwell <nathan@codesourcery.com>
18809 Glauber de Oliveira Costa <glommer@gmail.com>
18810
18811 * elf/elf.h: Add new ARM TLS relocs.
18812
d55fd7a5
RA
188132011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
18814
18815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18816 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
18817 cast from r3.
18818 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
18819 'tests' variable.
18820 * sysdeps/wordsize-64/tst-writev.c: New file.
18821
2206397e
RA
188222011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
18823
18824 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
18825 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
18826 insns in _dl_start to prevent a TOC reference before relocs are
18827 resolved.
18828
e9433893
UD
188292011-02-15 Ulrich Drepper <drepper@gmail.com>
18830
18831 [BZ #12469]
18832 * Makeconfig: Remove RANLIB definition.
18833 * Makerules: Don't use RANLIB.
18834 * aclocal.m4: Remove ranlib test.
18835 * configure.in: No need to check for ranlib.
18836 * elf/rtld-Rules: Don't use RANLIB.
18837
f75286c6
ST
188382011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18839
8e31c82d
ST
18840 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
18841 protection macro.
18842 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
18843 inclusion protection macro.
18844
f75286c6
ST
18845 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
18846 SIGRTMIN and SIGRTMAX and print information in that case only when
18847 SIGRTMIN is defined.
18848
c1d0e639
JJ
188492011-02-11 Jakub Jelinek <jakub@redhat.com>
18850
18851 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
18852 arginfo fn returning -1.
18853
18854 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
18855 and thousands string is zero terminated.
18856
edf9294e
AS
188572011-02-03 Andreas Schwab <schwab@redhat.com>
18858
18859 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
18860 sysdeps/unix/sysv/linux/bits/socket.h.
18861
2b7e92df
ST
188622011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18863
edf9294e
AS
18864 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
18865 (__CPU_COUNT): Remove old macros.
18866 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
18867 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
18868 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
18869 (__sched_cpualloc, __sched_cpufree): Add declarations.
18870
a4c7ea7b
UD
188712011-02-05 Ulrich Drepper <drepper@gmail.com>
18872
18873 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
18874 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
18875 * nscd/aicache.c (addhstaiX): Return timeout of added value.
18876 (readdhstai): Return value of addhstaiX call.
18877 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
18878 (addgrbyX): Return value returned by cache_addgr.
18879 (readdgrbyname): Return value returned by addgrbyX.
18880 (readdgrbygid): Likewise.
18881 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
18882 (addpwbyX): Return value returned by cache_addpw.
18883 (readdpwbyname): Return value returned by addhstbyX.
18884 (readdpwbyuid): Likewise.
18885 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
18886 (addservbyX): Return value returned by cache_addserv.
18887 (readdservbyname): Return value returned by addservbyX:
18888 (readdservbyport): Likewise.
18889 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
18890 (addhstbyX): Return value returned by cache_addhst.
18891 (readdhstbyname): Return value returned by addhstbyX.
18892 (readdhstbyaddr): Likewise.
18893 (readdhstbynamev6): Likewise.
18894 (readdhstbyaddrv6): Likewise.
18895 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
18896 (readdinitgroups): Return value returned by addinitgroupsX.
18897 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
18898 (prune_cache): Keep track of timeout value of re-added entries.
18899 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
18900 * nscd/nscd.h: Adjust prototypes of readd* functions.
18901
a0bf67cc
RM
189022011-02-04 Roland McGrath <roland@redhat.com>
18903
18904 * nis/nis_server.c (nis_servstate): Use the right name for 0.
18905 (nis_stats): Likewise.
18906 * nis/nis_modify.c (nis_modify): Likewise.
18907 * nis/nis_remove.c (nis_remove): Likewise.
18908 * nis/nis_add.c (nis_add): Likewise.
18909
18910 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
18911
18912 * posix/fnmatch_loop.c: Add some consts.
18913
18914 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
18915
435b95eb
L
189162011-02-02 H.J. Lu <hongjiu.lu@intel.com>
18917
18918 [BZ #12460]
18919 * config.make.in (config-cflags-novzeroupper): Define.
18920 * configure.in: Substitute libc_cv_cc_novzeroupper.
18921 * elf/Makefile (AVX-CFLAGS): Define.
18922 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
18923 (CFLAGS-tst-auditmod4a.c): Likewise.
18924 (CFLAGS-tst-auditmod4b.c): Likewise.
18925 (CFLAGS-tst-auditmod6b.c): Likewise.
18926 (CFLAGS-tst-auditmod6c.c): Likewise.
18927 (CFLAGS-tst-auditmod7b.c): Likewise.
18928 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
18929
8517b15e
UD
189302011-02-02 Ulrich Drepper <drepper@gmail.com>
18931
18932 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
18933 function to the callback.
18934 Patch partly by Jiri Olsa <jolsa@redhat.com>.
18935
10a656fe
AS
189362011-02-02 Andreas Schwab <schwab@redhat.com>
18937
18938 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
18939 of errno.
18940
968dad0a
UD
189412011-01-19 Ulrich Drepper <drepper@gmail.com>
18942
9f94d2ea 18943 [BZ #11724]
968dad0a
UD
18944 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
18945 of constructors.
18946 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
18947 of destructors.
18948 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
18949
18950 [BZ #11724]
18951 * elf/Makefile: Add rules to build and run new test.
18952 * elf/tst-initorder.c: New file.
18953 * elf/tst-initorder.exp: New file.
18954 * elf/tst-initordera1.c: New file.
18955 * elf/tst-initordera2.c: New file.
18956 * elf/tst-initordera3.c: New file.
18957 * elf/tst-initordera4.c: New file.
18958 * elf/tst-initorderb1.c: New file.
18959 * elf/tst-initorderb2.c: New file.
18960 * elf/tst-order-a1.c: New file.
18961 * elf/tst-order-a2.c: New file.
18962 * elf/tst-order-a3.c: New file.
18963 * elf/tst-order-a4.c: New file.
18964 * elf/tst-order-b1.c: New file.
18965 * elf/tst-order-b2.c: New file.
18966 * elf/tst-order-main.c: New file.
18967 New test case by George Gensure <werkt0@gmail.com>.
18968
86e92359
UD
189692010-10-01 Andreas Schwab <schwab@redhat.com>
18970
18971 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18972 decoding ACE if AI_CANONIDN.
18973
5d5732b0
UD
189742011-01-18 Ulrich Drepper <drepper@gmail.com>
18975
18976 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
18977
a77e8cbc
UD
189782011-01-17 Ulrich Drepper <drepper@gmail.com>
18979
6392473f
UD
18980 * version.h (RELEASE): Bump for 2.13 release.
18981 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
18982
620a0529
UD
18983 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
18984
18ba70a5
UD
18985 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
18986 MADV_NOHUGEPAGE.
32465c3e
UD
18987 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
18988 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18989 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18990 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18991 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18992 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18993
c0dafcf1
UD
18994 * posix/getconf.c: Update copyright year.
18995 * catgets/gencat.c: Likewise.
18996 * csu/version.c: Likewise.
18997 * debug/catchsegv.sh: Likewise.
18998 * debug/xtrace.sh: Likewise.
18999 * elf/ldconfig.c: Likewise.
19000 * elf/ldd.bash.in: Likewise.
19001 * elf/sprof.c (print_version): Likewise.
19002 * iconv/iconv_prog.c: Likewise.
19003 * iconv/iconvconfig.c: Likewise.
19004 * locale/programs/locale.c: Likewise.
19005 * locale/programs/localedef.c: Likewise.
19006 * malloc/memusage.sh: Likewise.
19007 * malloc/mtrace.pl: Likewise.
19008 * nscd/nscd.c (print_version): Likewise.
19009 * nss/getent.c: Likewise.
19010
a77e8cbc
UD
19011 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
19012 PF_CAIF, and PF_ALG.
19013 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19014
77e8bddf
AS
190152011-01-16 Andreas Schwab <schwab@linux-m68k.org>
19016
1f20b93a
AS
19017 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
19018 (modules-names): Use them.
19019 (ifunc-test-modules, ifunc-pie-tests): Define.
19020 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
19021 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
19022 (test-extras): Likewise.
19023 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
19024 $(compile-command.c).
19025 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
19026 (all-built-dso): Define.
19027 (check-textrel.out, check-execstack.out): Depend on it.
19028
77e8bddf
AS
19029 * configure.in: Don't override --enable-multi-arch.
19030
bc425b33
UD
190312011-01-15 Ulrich Drepper <drepper@gmail.com>
19032
19033 [BZ #6812]
19034 * nscd/hstcache.c (tryagain): Define.
19035 (cache_addhst): Return tryagain not notfound for temporary errors.
19036 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
19037 failed.
19038
794c3ad3
UD
190392011-01-14 Ulrich Drepper <drepper@gmail.com>
19040
70181fdd
UD
19041 [BZ #10563]
19042 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
19043 to make the syscall.
19044 * sysdeps/unix/sysv/linux/setgroups.c: New file.
19045
794c3ad3
UD
19046 [BZ #12378]
19047 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
19048 and fall back to matching as normal character if the string ends before
19049 the matching ']' is found. This is what POSIX requires.
19050 * posix/testfnm.c: Adjust test result.
19051 * posix/globtest.sh: Adjust test result. Add new test.
19052 * posix/tst-fnmatch.input: Likewise.
19053 * posix/tst-fnmatch2.c: Add new test.
19054
68dc9497
AS
190552010-12-28 Andreas Schwab <schwab@linux-m68k.org>
19056
19057 * elf/Makefile (check-execstack): Revert last change. Depend on
19058 check-execstack.h.
19059 (check-execstack.h): New target.
19060 (generated): Add check-execstack.h.
19061 * elf/check-execstack.c: Include "check-execstack.h".
19062 (main): Revert last change.
19063 (handle_file): Return zero if GNU_STACK is absent and
19064 DEFAULT_STACK_PERMS doesn't include PF_X.
19065
451f001b
UD
190662011-01-13 Ulrich Drepper <drepper@gmail.com>
19067
cfa28e56
UD
19068 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
19069 in child fails because the descriptor is already closed.
8cf8ce17
UD
19070 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
19071 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
19072 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 19073
1086d70d
UD
19074 [BZ #12397]
19075 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
19076 syscall.
19077
451f001b
UD
19078 [BZ #10484]
19079 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
19080 temporary buffer used to handle multi lookups locally.
a85b5cb4 19081 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 19082
08769175
UD
190832011-01-12 Ulrich Drepper <drepper@gmail.com>
19084
19085 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
19086 loader is ld.so.
19087
5e49c52e
UD
190882011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
19089
19090 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
19091 alignment for SSE2.
19092
60522a5f
UD
190932011-01-12 Ulrich Drepper <drepper@gmail.com>
19094
19095 [BZ #12394]
19096 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
19097 characters. When rounding increased number of integer digits recompute
19098 number of groups.
19099 * stdio-common/tst-grouping.c: New file.
19100 * stdio-common/Makefile: Add rules to build and run tst-grouping.
19101
f257bbd7
UD
191022011-01-09 Ulrich Drepper <drepper@gmail.com>
19103
19104 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
19105 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
19106
19107 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
19108 void.
19109 * bits/select.h: Likewise.
19110
fa9c15cb
UD
191112011-01-08 Ulrich Drepper <drepper@gmail.com>
19112
19113 * po/ja.po: Update from translation team.
19114
16c2895f
DM
191152011-01-04 David S. Miller <davem@sunset.davemloft.net>
19116
19117 [BZ #11155]
19118 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
19119 implementation just like for lxstat, fxstatat, et al.
19120
2543fef2
JM
191212010-12-27 Jim Meyering <meyering@redhat.com>
19122
19123 [BZ #12348]
19124 * posix/regexec.c (build_trtable): Return failure indication upon
19125 calloc failure. Otherwise, re_search_internal could infloop on OOM.
19126
98727dbe
UD
191272010-12-25 Ulrich Drepper <drepper@gmail.com>
19128
5bd6dc5c
UD
19129 [BZ #12201]
19130 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
19131 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
19132 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
19133 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
19134
97983464
UD
19135 [BZ #12207]
19136 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
19137
98727dbe
UD
19138 [BZ #12204]
19139 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
19140 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
19141
4a531bb0
L
191422010-12-15 H.J. Lu <hongjiu.lu@intel.com>
19143
19144 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
19145 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
19146 script has SORT_BY_INIT_PRIORITY.
19147 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
19148 NO_CTORS_DTORS_SECTIONS is defined.
19149 * elf/soinit.c: Likewise.
19150 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
19151 NO_CTORS_DTORS_SECTIONS is defined.
19152 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
19153 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
19154 * sysdeps/sh/init-first.c: Likewise.
19155 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
19156
07eb4b71
UD
191572010-12-24 Ulrich Drepper <drepper@gmail.com>
19158
19159 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
19160 always use the slow path.
19161
30950a5f
RA
191622010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
19163
19164 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
19165 similar rule which adds the sysdep directories to the header search in
19166 order to pick up the correct platform stackinfo.h.
19167 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
19168 perform test if it is, otherwise return successfully without testing.
19169 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
19170 DEFAULT_STACK_PERMS define in stackinfo.h.
19171 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
19172 defined in stackinfo.h.
19173 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
19174 DEFAULT_STACK_PERMS defined in stackinfo.h.
19175 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
19176 * sysdeps/ia64/stackinfo.h: Likewise.
19177 * sysdeps/s390/stackinfo.h: Likewise.
19178 * sysdeps/sh/stackinfo.h: Likewise.
19179 * sysdeps/sparc/stackinfo.h: Likewise.
19180 * sysdeps/x86_64/stackinfo.h: Likewise.
19181 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
19182 PF_X for powerpc64. Retain PF_X for powerpc32.
19183
db753e2c
UD
191842010-12-19 Ulrich Drepper <drepper@gmail.com>
19185
14b697f7
UD
19186 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
19187 accurately.
db753e2c
UD
19188 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
19189 GETDENTS_64BIT_ALIGNED.
19190
28300719
UD
191912010-12-14 Ulrich Drepper <dreper@gmail.com>
19192
14b697f7 19193 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 19194
4f197237
AS
191952010-12-10 Andreas Schwab <schwab@redhat.com>
19196
dbb0472f
AS
19197 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
19198 _GNU_SOURCE.
19199
4f197237
AS
19200 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
19201 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
19202 Remove __restrict.
19203 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
19204 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
19205
fb88ac72
UD
192062010-12-09 Ulrich Drepper <drepper@gmail.com>
19207
19208 [BZ #11655]
19209 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
19210 are initialized.
19211
42acbb92
JJ
192122010-12-09 Jakub Jelinek <jakub@redhat.com>
19213
19214 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
19215
c038d98d
UD
192162010-12-03 Ulrich Drepper <drepper@gmail.com>
19217
19218 * po/it.po: Update from translation team.
19219
3a4a2499
L
192202010-12-01 H.J. Lu <hongjiu.lu@intel.com>
19221
19222 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
19223 unused codes.
19224
1e24cf6e
UD
192252010-11-30 Ulrich Drepper <drepper@gmail.com>
19226
19227 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
19228
a7690819
AS
192292010-11-24 Andreas Schwab <schwab@redhat.com>
19230
19231 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
19232 specially.
19233 (gaih_getanswer_slice): Likewise.
19234
3bf8d1b1
JJ
192352010-10-20 Jakub Jelinek <jakub@redhat.com>
19236
19237 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
19238
6db52fbb
PB
192392010-05-31 Petr Baudis <pasky@suse.cz>
19240
19241 [BZ #11149]
19242 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
19243 silently even in the chroot mode.
19244
eaca7569
UD
192452010-11-22 Ulrich Drepper <drepper@gmail.com>
19246
19247 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
19248 last patch a bit. Pretty printing
19249
3056dcdb
UD
192502010-05-31 Petr Baudis <pasky@suse.cz>
19251
19252 [BZ #10085]
19253 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
19254 initialization of skip_initgroups_dyn.
19255
cf7c9078
UD
192562010-11-19 Ulrich Drepper <drepper@gmail.com>
19257
19258 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
19259 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19260
a1fb5e3e
UD
192612010-11-16 Ulrich Drepper <drepper@gmail.com>
19262
19263 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
19264
3540d66b
AS
192652010-11-11 Andreas Schwab <schwab@redhat.com>
19266
19267 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
19268 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
19269 (tst-fnmatch-ENV): Set MALLOC_TRACE.
19270 ($(objpfx)tst-fnmatch-mem): New rule.
19271 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
19272 * posix/tst-fnmatch.c (main): Call mtrace.
19273
13b69574
L
192742010-11-11 H.J. Lu <hongjiu.lu@intel.com>
19275
19276 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19277 Support Intel processor model 6 and model 0x2c.
19278
da93d214
LM
192792010-11-10 Luis Machado <luisgpm@br.ibm.com>
19280
19281 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
19282 signed comparison.
19283
8ca52c6e
L
192842010-11-09 H.J. Lu <hongjiu.lu@intel.com>
19285
19286 [BZ #12205]
19287 * string/test-strncasecmp.c (check_result): New function.
19288 (do_one_test): Use it.
19289 (check1): New function.
19290 (test_main): Use it.
19291 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
19292 Support strcasecmp and strncasecmp.
19293
69da074d
UD
192942010-11-08 Ulrich Drepper <drepper@gmail.com>
19295
19296 [BZ #12194]
19297 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
19298 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19299
ff02d528
L
193002010-11-07 H.J. Lu <hongjiu.lu@intel.com>
19301
19302 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
19303 IFUNC support.
19304 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19305 memset-x86-64.
19306 * sysdeps/x86_64/multiarch/bzero.S: New file.
19307 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
19308 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
19309 * sysdeps/x86_64/multiarch/memset.S: New file.
19310 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
19311 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19312 Set bit_Prefer_SSE_for_memop for Intel processors.
19313 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
19314 Define.
19315 (index_Prefer_SSE_for_memop): Define.
19316 (HAS_PREFER_SSE_FOR_MEMOP): Define.
19317
344d0b54
LM
193182010-11-04 Luis Machado <luisgpm@br.ibm.com>
19319
19320 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
19321 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
19322
c0dde15b
UD
193232010-11-03 H.J. Lu <hongjiu.lu@intel.com>
19324
19325 [BZ #12191]
19326 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19327 (__x86_64_raw_data_cache_size_half): Likewise.
19328 (__x86_64_raw_shared_cache_size): Likewise.
19329 (__x86_64_raw_shared_cache_size_half): Likewise.
19330
19331 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19332 (__x86_64_raw_data_cache_size_half): Likewise.
19333 (__x86_64_raw_shared_cache_size): Likewise.
19334 (__x86_64_raw_shared_cache_size_half): Likewise.
19335 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
19336 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
19337 and __x86_64_raw_shared_cache_size_half. Round
19338 __x86_64_data_cache_size_half, __x86_64_data_cache_size
19339 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
19340 to multiple of 256 bytes.
19341
0e516e0e
MS
193422010-11-03 Ulrich Drepper <drepper@gmail.com>
19343
19344 [BZ #12167]
19345 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
19346 of inacessible symlinks. Verify result of symlink before returning it.
19347 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19348 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
19349
0e012e87
ER
193502010-10-28 Erich Ritz <erichritz@gmail.com>
19351
19352 * math/math.h (isinf): Fix typo in comment.
19353
de0ff7bc
UD
193542010-11-01 Ulrich Drepper <drepper@gmail.com>
19355
19356 * po/da.po: Update from translation team.
19357
fa41c84d
UD
193582010-10-26 Ulrich Drepper <drepper@gmail.com>
19359
19360 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
19361 is added to the list.
19362
f0967738
AK
193632010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19364 Ulrich Drepper <drepper@gmail.com>
19365
19366 * elf/dl-object.c (_dl_new_object): Don't append the new object to
19367 the global list here. Move code to...
19368 (_dl_add_to_namespace_list): ...here. New function.
19369 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
19370 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
19371 * elf/dl-load.c (lose): Don't remove the element from the list.
19372 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
19373 (_dl_map_object): Likewise.
19374
193752010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
19376
19377 [BZ #12159]
19378 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
19379 into all bytes of SSE register.
19380 Patch by Richard Li <richardpku@gmail.com>.
19381
f0967738 193822010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
19383
19384 [BZ #12140]
19385 * malloc/malloc.c (_int_free): Fill correct number of bytes when
19386 perturbing.
19387
d0b9e94f
MB
193882010-10-20 Michael B. Brutman <brutman@us.ibm.com>
19389
19390 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
19391 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
19392 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
19393 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
19395 submachine.
19396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
19397
8e9f92e9
AS
193982010-10-22 Andreas Schwab <schwab@redhat.com>
19399
19400 * include/dlfcn.h (__RTLD_SECURE): Define.
19401 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
19402 mode & __RTLD_SECURE instead.
19403 (open_path): Rename preloaded parameter to secure.
19404 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
19405 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
19406 * elf/dl-deps.c (openaux): Likewise.
19407 * elf/rtld.c (struct map_args): Remove is_preloaded.
19408 (map_doit): Don't use it.
19409 (dl_main): Likewise.
19410 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
19411 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
19412
bc96fbda
AS
194132010-09-09 Andreas Schwab <schwab@redhat.com>
19414
19415 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
19416 (sysd-rules-targets): Remove duplicates.
19417 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
19418 rtld-%.$o dependency.
19419
22cd1c9b
AS
194202010-10-18 Andreas Schwab <schwab@redhat.com>
19421
19422 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
19423 _dl_map_object do it.
19424
18edac48
UD
194252010-10-19 Ulrich Drepper <drepper@gmail.com>
19426
19427 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
19428 fast fma builtins, define the macros in the C99 standard.
19429 (FP_FAST_FMAF): Likewise.
19430 (FP_FAST_FMAL): Likewise.
19431 * sysdeps/x86_64/bits/mathdef.h: Likewise.
19432
19433 * bits/mathdef.h: Update copyright year.
19434 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19435
d2050124
MM
194362010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
19437
19438 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
19439 builtins, define the macros in the C99 standard.
19440 (FP_FAST_FMAF): Likewise.
19441 (FP_FAST_FMAL): Likewise.
19442 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
19443 multiply/add.
19444 (FP_FAST_FMAF): Likewise.
19445
475facd1
JJ
194462010-10-15 Jakub Jelinek <jakub@redhat.com>
19447
19448 [BZ #3268]
19449 * math/libm-test.inc (fma_test): Some new testcases.
19450 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
19451 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
19452 y and infinite z. Do multiplication by C already in long double.
19453 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
19454 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
19455 y and infinite z. Do bitwise or of inexact bit into u.d.
19456 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
19457 * sysdeps/i386/fpu/s_fmaf.S: Removed.
19458 * sysdeps/i386/fpu/s_fma.S: Removed.
19459 * sysdeps/i386/fpu/s_fmal.S: Removed.
19460
7c08a05c
JJ
194612010-10-16 Jakub Jelinek <jakub@redhat.com>
19462
19463 [BZ #3268]
19464 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
19465 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
19466 computation is not scheduled after fetestexcept. Fix value
19467 of minimum denormal long double.
19468
f3f7372d
JJ
194692010-10-14 Jakub Jelinek <jakub@redhat.com>
19470
19471 [BZ #3268]
19472 * math/libm-test.inc (fma_test): Add some more tests.
19473 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
19474 correctly.
19475
14d43591
AS
194762010-10-15 Andreas Schwab <schwab@redhat.com>
19477
19478 * scripts/data/localplt-s390-linux-gnu.data: New file.
19479 * scripts/data/localplt-s390x-linux-gnu.data: New file.
19480
5e908464
JJ
194812010-10-13 Jakub Jelinek <jakub@redhat.com>
19482
19483 [BZ #3268]
19484 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
19485 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
19486 instead of dbl-64.
19487 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
19488 inlines.
19489 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
19490 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
19491 if one of x and y is very large and the other is subnormal.
19492 * sysdeps/s390/fpu/s_fmaf.c: New file.
19493 * sysdeps/s390/fpu/s_fma.c: New file.
19494 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
19495 * sysdeps/powerpc/fpu/s_fma.S: New file.
19496 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
19497 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
19498 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
19499
195002010-10-12 Jakub Jelinek <jakub@redhat.com>
19501
19502 [BZ #3268]
19503 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
19504 fma tests.
19505 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
19506 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
19507 * sysdeps/i386/i686/multiarch/s_fma.c: Include
19508 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
19509 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
19510 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
19511 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
19512
b833d51f
UD
195132010-10-12 Ulrich Drepper <drepper@redhat.com>
19514
19515 [BZ #12078]
19516 * posix/regcomp.c (parse_branch): One more memory leak plugged.
19517 * posix/bug-regex31.input: Add test case.
19518
1751705d
UD
195192010-10-11 Ulrich Drepper <drepper@gmail.com>
19520
e9b9cbf5
UD
19521 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
19522 * posix/bug-regex31.input: New file.
19523
19524 [BZ #12078]
19525 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
19526 (parse_sub_exp): Fix last change, use postorder.
19527
ef06edbe
UD
19528 * posix/bug-regex31.c: New file.
19529 * posix/Makefile: Add rules to build and run bug-regex31.
19530
a129c80d
UD
19531 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
19532
19533 [BZ #12078]
19534 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
19535
b76b818e
UD
19536 [BZ #12108]
19537 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
19538 to have entries in sys_siglist.
19539
1751705d
UD
19540 [BZ #12093]
19541 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
19542 be NULL.
19543
9ff8d36f
JJ
195442010-10-07 Jakub Jelinek <jakub@redhat.com>
19545
19546 [BZ #3268]
19547 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
19548 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
19549 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
19550 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
19551 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19552 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
19553 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
19554 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
19555 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
19556 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
19557 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
19558 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
19559 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19560 * math/ftestexcept.c (fetestexcept): Likewise.
19561 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
19562 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
19563 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19564 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
19565 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
19566 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
19567 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19568
af325969
UD
195692010-10-11 Ulrich Drepper <drepper@gmail.com>
19570
c579b202 19571 [BZ #12107]
af325969
UD
19572 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
19573 newline.
19574
67a67b95
UD
195752010-10-06 Ulrich Drepper <drepper@gmail.com>
19576
19577 * string/bug-strstr1.c: New file.
19578 * string/Makefile: Add rules to build and run bug-strstr1.
19579
5fb308bc
EB
195802010-10-05 Eric Blake <eblake@redhat.com>
19581
19582 [BZ #12092]
19583 * string/str-two-way.h (two_way_long_needle): Always clear memory
19584 when skipping input due to the shift table.
19585
45db99c7
UD
195862010-10-03 Ulrich Drepper <drepper@gmail.com>
19587
3b111893
UD
19588 [BZ #12005]
19589 * malloc/mcheck.c: Handle large requests.
19590
45db99c7
UD
19591 [BZ #12077]
19592 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
19593 for strncmp and strncasecmp.
19594 * string/stratcliff.c: Add tests for strcmp and strncmp.
19595 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
19596
cf7a1eb8
NI
195972010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19598
19599 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
19600 __set_fpscr.
19601
6484ba5e
AJ
196022010-09-30 Andreas Jaeger <aj@suse.de>
19603
19604 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
19605 (CGROUP_SUPER_MAGIC): Define.
19606 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19607 Handle btrfs and cgroup file systems.
19608 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19609 Likewise.
19610
91c42559
LM
196112010-09-27 Luis Machado <luisgpm@br.ibm.com>
19612
19613 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
19614 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
19615
87a97932
AK
196162010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19617
19618 [BZ #12067]
19619 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
19620 trying to locate the ELF header.
19621
c21cc9bc
AS
196222010-09-27 Andreas Schwab <schwab@redhat.com>
19623
19624 [BZ #11611]
19625 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
19626 Mask out sign-bit copies when constructing f_fsid.
19627
315970f6
PB
196282010-09-24 Petr Baudis <pasky@suse.cz>
19629
19630 * debug/stack_chk_fail_local.c: Add missing licence exception.
19631 * debug/warning-nop.c: Likewise.
19632
1ac7a2c7
JM
196332010-09-15 Joseph Myers <joseph@codesourcery.com>
19634
19635 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
19636 implementing getdents64 using getdents syscall, set d_type if
19637 __ASSUME_GETDENTS32_D_TYPE.
19638
56801c50
AS
196392010-09-16 Andreas Schwab <schwab@redhat.com>
19640
19641 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
19642 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
19643
dda51327
UD
196442010-09-21 Ulrich Drepper <drepper@redhat.com>
19645
19646 [BZ #12037]
19647 * posix/unistd.h: Undo change of feature selection for ftruncate from
19648 2010-01-11.
19649
8ffcee4a
UD
196502010-09-20 Ulrich Drepper <drepper@redhat.com>
19651
a545ecd9 19652 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
19653 detection.
19654
e24f0a8b
AS
196552010-09-20 Andreas Schwab <schwab@redhat.com>
19656
19657 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
19658 fanotify_mark.
19659 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19660
7291c56f
AS
196612010-09-14 Andreas Schwab <schwab@redhat.com>
19662
19663 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
19664 variables after CHECK_SP call.
19665 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
19666
bc5fb037
AS
196672010-09-13 Andreas Schwab <schwab@redhat.com>
19668 Ulrich Drepper <drepper@redhat.com>
19669
19670 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
19671 re-relocationg ld.so.
19672 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
19673 _dl_init_paths call.
19674 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
19675 here anymore.
19676
e66e7419
UD
196772010-09-14 Ulrich Drepper <drepper@redhat.com>
19678
19679 * resolv/res_init.c (__res_vinit): Count the default server we added.
19680
c044aa75
CLT
196812010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
19682 Ulrich Drepper <drepper@redhat.com>
19683
19684 [BZ #11968]
19685 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19686 (____longjmp_chk): Use %ebx for saving value across system call.
19687 Add unwind info.
19688
32cf4069
AS
196892010-09-06 Andreas Schwab <schwab@redhat.com>
19690
19691 * manual/Makefile: Don't mix pattern rules with normal rules.
19692
817328ee
AS
196932010-09-05 Andreas Schwab <schwab@linux-m68k.org>
19694
19695 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
19696 operation.
19697 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19698 * libio/iofopncook.c (_IO_cookie_init): Likewise.
19699 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19700 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19701 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19702 Likewise.
19703
29fddf61
UD
197042010-09-04 Ulrich Drepper <drepper@redhat.com>
19705
19706 [BZ #11979]
19707 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
19708 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
19709
0959ffc9
UD
197102010-09-02 Ulrich Drepper <drepper@redhat.com>
19711
19712 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
19713 * sysdeps/x86_64/addmul_1.S: Likewise.
19714 * sysdeps/x86_64/lshift.S: Likewise.
19715 * sysdeps/x86_64/mul_1.S: Likewise.
19716 * sysdeps/x86_64/rshift.S: Likewise.
19717 * sysdeps/x86_64/sub_n.S: Likewise.
19718 * sysdeps/x86_64/submul_1.S: Likewise.
19719
ece29840
ST
197202010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
19721
0959ffc9
UD
19722 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
19723 Define __sched_param instead of SCHED_* and sched_param when
ece29840 19724 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 19725 * bits/sched.h [__need_schedparam]
ece29840 19726 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
19727 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
19728 (__defined_schedparam): Define to 1.
ece29840
ST
19729 (__sched_param): New structure, identical to sched_param.
19730 (__need_schedparam): Undefine.
19731
e53a31fe
MF
197322010-08-31 Mike Frysinger <vapier@gentoo.org>
19733
fdc0c10d
MF
19734 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
19735 (epoll_create1): Declare.
19736
e53a31fe
MF
19737 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
19738
a726d796
AS
197392010-08-31 Andreas Schwab <schwab@redhat.com>
19740
19741 [BZ #7066]
19742 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
19743 shifting retval into place.
19744
2f3e3dc7
UD
197452010-09-01 Ulrich Drepper <drepper@redhat.com>
19746
f2933da9
UD
19747 * nis/rpcsvc/nis.h: Update copyright notice.
19748 * nis/rpcsvc/nis.x: Likewise.
19749 * nis/rpcsvc/nis_callback.h: Likewise.
19750 * nis/rpcsvc/nis_callback.x: Likewise.
19751 * nis/rpcsvc/nis_object.x: Likewise.
19752 * nis/rpcsvc/nis_tags.h: Likewise.
19753 * nis/rpcsvc/yp.h: Likewise.
19754 * nis/rpcsvc/yp.x: Likewise.
19755 * nis/rpcsvc/ypupd.h: Likewise.
19756 * nis/yp_xdr.c: Likewise.
19757 * nis/ypupdate_xdr.c: Likewise.
19758
2f3e3dc7
UD
19759 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
19760 mainly the body of pmap_getport. Add parameters to specify timeouts.
19761 (pmap_getport): Use __libc_rpc_getport.
19762 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
19763 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
19764 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
19765
f3dcc2f9
AS
197662010-08-31 Andreas Schwab <schwab@linux-m68k.org>
19767
19768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
19769 fanotify_mark.
19770
6d34eb5b
RM
197712010-08-27 Roland McGrath <roland@redhat.com>
19772
19773 * sysdeps/i386/i686/multiarch/Makefile
19774 (CFLAGS-varshift.c): New variable.
19775
9ea3de11
UD
197762010-08-27 Ulrich Drepper <drepper@redhat.com>
19777
c96d23fc
UD
19778 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
19779 * sysdeps/i386/i686/multiarch/varshift.c: New file.
19780
9ea3de11
UD
19781 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
19782
19783 * sysdeps/x86_64/strlen.S: Minimal code improvement.
19784
623aac7f
L
197852010-08-26 H.J. Lu <hongjiu.lu@intel.com>
19786
19787 * sysdeps/x86_64/strlen.S: Unroll the loop.
19788 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19789 strlen-sse2 strlen-sse2-bsf.
19790 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
19791 __strlen_no_bsf if bit_Slow_BSF is set.
19792 (__strlen_sse42): Removed.
19793 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
19794 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
19795
8b2b7715
RM
197962010-08-25 Roland McGrath <roland@redhat.com>
19797
19798 * sysdeps/x86_64/multiarch/varshift.S: File removed.
19799 * sysdeps/x86_64/multiarch/varshift.c: New file.
19800 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
19801 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
19802 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
19803 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19804
e73015f2
L
198052010-08-25 H.J. Lu <hongjiu.lu@intel.com>
19806
19807 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19808 strlen-sse2 strlen-sse2-bsf.
19809 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
19810 __strlen_sse2_bsf if bit_Slow_BSF is unset.
19811 (__strlen_sse2): Removed.
19812 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
19813 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
19814 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19815 bit_Slow_BSF for Atom.
19816 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
19817 (index_Slow_BSF): Define.
19818 (HAS_SLOW_BSF): Define.
19819
df24a73e
UD
198202010-08-25 Ulrich Drepper <drepper@redhat.com>
19821
19822 [BZ #10851]
19823 * resolv/res_init.c (__res_vinit): When no server address at all
19824 is given default to loopback.
19825
f2ac4868
RM
198262010-08-24 Roland McGrath <roland@redhat.com>
19827
09055553
RM
19828 * configure.in: Remove config-name.h generation.
19829 * configure: Regenerated.
19830 * config-name.in: File removed.
19831 * scripts/config-uname.sh: New file.
19832 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
19833 ($(objdir)config-name.h): New target.
19834
f2ac4868
RM
19835 * sunrpc/rpc_parse.h: Avoid nested comment.
19836
73f27d5e
RH
198372010-08-24 Richard Henderson <rth@redhat.com>
19838 Ulrich Drepper <drepper@redhat.com>
19839 H.J. Lu <hongjiu.lu@intel.com>
19840
19841 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
19842 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
19843 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
19844 Replace _mm_srli_si128 with __m128i_shift_right. Replace
19845 _mm_alignr_epi8 with _mm_loadu_si128.
19846 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
19847 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
19848 (__m128i_shift_right): Removed.
19849 * sysdeps/i386/i686/multiarch/varshift.h: New file.
19850 * sysdeps/i386/i686/multiarch/varshift.S: New file.
19851 * sysdeps/x86_64/multiarch/varshift.h: New file.
19852 * sysdeps/x86_64/multiarch/varshift.S: New file.
19853
84b9230c
MF
198542010-08-21 Mike Frysinger <vapier@gentoo.org>
19855
19856 * configure.in: Move assembler checks to before sysdep dir checking.
19857
9bbd0ddc
PB
198582010-08-20 Petr Baudis <pasky@suse.cz>
19859
19860 * LICENSES: Sync the sunrpc license.
19861
9da4bb31
UD
198622010-08-19 Ulrich Drepper <drepper@redhat.com>
19863
a7ab6ec8
UD
19864 * sunrpc/auth_des.c: Update copyright notice once again.
19865 * sunrpc/auth_none.c: Likewise.
19866 * sunrpc/auth_unix.c: Likewise.
19867 * sunrpc/authdes_prot.c: Likewise.
19868 * sunrpc/authuxprot.c: Likewise.
19869 * sunrpc/bindrsvprt.c: Likewise.
19870 * sunrpc/clnt_gen.c: Likewise.
19871 * sunrpc/clnt_perr.c: Likewise.
19872 * sunrpc/clnt_raw.c: Likewise.
19873 * sunrpc/clnt_simp.c: Likewise.
19874 * sunrpc/clnt_tcp.c: Likewise.
19875 * sunrpc/clnt_udp.c: Likewise.
19876 * sunrpc/clnt_unix.c: Likewise.
19877 * sunrpc/des_crypt.c: Likewise.
19878 * sunrpc/des_soft.c: Likewise.
19879 * sunrpc/get_myaddr.c: Likewise.
19880 * sunrpc/getrpcport.c: Likewise.
19881 * sunrpc/key_call.c: Likewise.
19882 * sunrpc/key_prot.c: Likewise.
19883 * sunrpc/openchild.c: Likewise.
19884 * sunrpc/pm_getmaps.c: Likewise.
19885 * sunrpc/pm_getport.c: Likewise.
19886 * sunrpc/pmap_clnt.c: Likewise.
19887 * sunrpc/pmap_prot.c: Likewise.
19888 * sunrpc/pmap_prot2.c: Likewise.
19889 * sunrpc/pmap_rmt.c: Likewise.
19890 * sunrpc/rpc/auth.h: Likewise.
19891 * sunrpc/rpc/auth_unix.h: Likewise.
19892 * sunrpc/rpc/clnt.h: Likewise.
19893 * sunrpc/rpc/des_crypt.h: Likewise.
19894 * sunrpc/rpc/key_prot.h: Likewise.
19895 * sunrpc/rpc/netdb.h: Likewise.
19896 * sunrpc/rpc/pmap_clnt.h: Likewise.
19897 * sunrpc/rpc/pmap_prot.h: Likewise.
19898 * sunrpc/rpc/pmap_rmt.h: Likewise.
19899 * sunrpc/rpc/rpc.h: Likewise.
19900 * sunrpc/rpc/rpc_des.h: Likewise.
19901 * sunrpc/rpc/rpc_msg.h: Likewise.
19902 * sunrpc/rpc/svc.h: Likewise.
19903 * sunrpc/rpc/svc_auth.h: Likewise.
19904 * sunrpc/rpc/types.h: Likewise.
19905 * sunrpc/rpc/xdr.h: Likewise.
19906 * sunrpc/rpc_clntout.c: Likewise.
19907 * sunrpc/rpc_cmsg.c: Likewise.
19908 * sunrpc/rpc_common.c: Likewise.
19909 * sunrpc/rpc_cout.c: Likewise.
19910 * sunrpc/rpc_dtable.c: Likewise.
19911 * sunrpc/rpc_hout.c: Likewise.
19912 * sunrpc/rpc_main.c: Likewise.
19913 * sunrpc/rpc_parse.c: Likewise.
19914 * sunrpc/rpc_parse.h: Likewise.
19915 * sunrpc/rpc_prot.c: Likewise.
19916 * sunrpc/rpc_sample.c: Likewise.
19917 * sunrpc/rpc_scan.c: Likewise.
19918 * sunrpc/rpc_scan.h: Likewise.
19919 * sunrpc/rpc_svcout.c: Likewise.
19920 * sunrpc/rpc_tblout.c: Likewise.
19921 * sunrpc/rpc_util.c: Likewise.
19922 * sunrpc/rpc_util.h: Likewise.
19923 * sunrpc/rpcinfo.c: Likewise.
19924 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
19925 * sunrpc/rpcsvc/key_prot.x: Likewise.
19926 * sunrpc/rpcsvc/klm_prot.x: Likewise.
19927 * sunrpc/rpcsvc/mount.x: Likewise.
19928 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
19929 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
19930 * sunrpc/rpcsvc/rex.x: Likewise.
19931 * sunrpc/rpcsvc/rstat.x: Likewise.
19932 * sunrpc/rpcsvc/rusers.x: Likewise.
19933 * sunrpc/rpcsvc/sm_inter.x: Likewise.
19934 * sunrpc/rpcsvc/spray.x: Likewise.
19935 * sunrpc/rpcsvc/yppasswd.x: Likewise.
19936 * sunrpc/rtime.c: Likewise.
19937 * sunrpc/svc.c: Likewise.
19938 * sunrpc/svc_auth.c: Likewise.
19939 * sunrpc/svc_authux.c: Likewise.
19940 * sunrpc/svc_raw.c: Likewise.
19941 * sunrpc/svc_run.c: Likewise.
19942 * sunrpc/svc_simple.c: Likewise.
19943 * sunrpc/svc_tcp.c: Likewise.
19944 * sunrpc/svc_udp.c: Likewise.
19945 * sunrpc/svc_unix.c: Likewise.
19946 * sunrpc/svcauth_des.c: Likewise.
19947 * sunrpc/xcrypt.c: Likewise.
19948 * sunrpc/xdr.c: Likewise.
19949 * sunrpc/xdr_array.c: Likewise.
19950 * sunrpc/xdr_float.c: Likewise.
19951 * sunrpc/xdr_mem.c: Likewise.
19952 * sunrpc/xdr_rec.c: Likewise.
19953 * sunrpc/xdr_ref.c: Likewise.
19954 * sunrpc/xdr_sizeof.c: Likewise.
19955 * sunrpc/xdr_stdio.c: Likewise.
19956
9da4bb31
UD
19957 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
19958 handling.
19959
bdaa77bc
AS
199602010-08-19 Andreas Schwab <schwab@redhat.com>
19961
19962 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
19963
fe2f79db
LM
199642010-08-19 Luis Machado <luisgpm@br.ibm.com>
19965
19966 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
19967 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
19968 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
19969 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
19970 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
19971 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
19972 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
19973 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
19974 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
19975 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
19976 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
19977 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
19978 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
19979 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
19980
b9b42ee0
AB
199812010-07-26 Anton Blanchard <anton@samba.org>
19982
19983 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
19984 * malloc/arena.c (heap_trim): Likewise.
19985
1c06ba31
UD
199862010-08-16 Ulrich Drepper <drepper@redhat.com>
19987
19988 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
19989 here. Not...
19990 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
19991 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
19992
f8392f40
L
199932010-08-12 H.J. Lu <hongjiu.lu@intel.com>
19994
19995 * sysdeps/i386/elf/Makefile: New file.
19996
3162f12e
AS
199972010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19998
19999 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
20000 from fanotify_init.
20001 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
20002 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20003
28c90b2c
UD
200042010-08-15 Ulrich Drepper <drepper@redhat.com>
20005
20006 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
20007 of strncasecmp_l.
1feccb6c 20008 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 20009
ca6bb004
UD
200102010-08-14 Ulrich Drepper <drepper@redhat.com>
20011
e9f82e0d
UD
20012 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20013 strncase_l-nonascii.
20014 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20015 Add strncase_l-ssse3.
20016 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
20017 * sysdeps/x86_64/strcmp.S: Likewise.
20018 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
20019 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
20020 * sysdeps/x86_64/strncase.S: New file.
20021 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
20022 * sysdeps/x86_64/strncase_l.S: New file.
20023 * string/Makefile (strop-tests): Add strncasecmp.
20024 * string/test-strncasecmp.c: New file.
20025
20026 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
20027 warning.
20028
ca6bb004
UD
20029 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
20030 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
20031
052fa7b3
AS
200322010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20033
20034 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
20035
962dba78
UD
200362010-08-12 Ulrich Drepper <drepper@redhat.com>
20037
20038 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
20039 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
20040 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
20041
bebff237
AM
200422010-05-01 Alan Modra <amodra@gmail.com>
20043
20044 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
20045 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
20046 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
20047 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
20048 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
20049 tidying. Don't tail-call __sigjmp_save for static lib.
20050 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
20051 save location.
20052 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
20053 (CALL_MCOUNT): Add eh info, and nop after bl.
20054 (TAIL_CALL_SYSCALL_ERROR): New macro.
20055 (PSEUDO_RET): Use it.
20056 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20057 Correct save location of integer regs and cr.
20058 (_dl_profile_resolve): Correct cr save location. Delete nops
20059 after bl when SHARED. Reduce cfi size a little by better
20060 placement of cfi directives.
20061 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
20062 make a stack frame. Instead use parm save area as a temp.
20063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
20064 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
20065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20066 Don't make a stack frame for parent, use parm save area.
20067 Increase child stack frame to 112 bytes. Don't save unused reg,
20068 and adjust reg usage. Set up cfi on error recovery and
20069 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
20070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20071 (__makecontext): Add dummy nop after jump to exit.
20072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
20073 Use correct parm save area and cr save, reduce stack frame.
20074 Correct cfi for possible PSEUDO_RET frame setup.
20075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
20076 Branch to local label emitted by PSEUDO_RET rather than
20077 __syscall_error.
20078
02637374
AS
200792010-08-12 Andreas Schwab <schwab@redhat.com>
20080
20081 [BZ #11904]
20082 * locale/programs/locale.c (print_assignment): New function.
20083 (show_locale_vars): Use it.
20084
c3e2f19b
UD
200852010-08-11 Ulrich Drepper <drepper@redhat.com>
20086
3cdaa6ad
UD
20087 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
20088 field.
20089 (struct statfs64): Likewise.
20090 (_STATFS_F_FLAGS): Define.
20091 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
20092 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20093 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
20094 (ST_VALID): Define locally.
20095 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
20096 __statvfs_getflags, use the provided value.
20097 * sysdeps/unix/sysv/linux/kernel-features.h: Define
20098 __ASSUME_STATFS_F_FLAGS.
20099
754f7da3
UD
20100 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
20101
10b3bedc
UD
20102 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
20103 Add sys/fanotify.h.
20104 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
20105 fanotify_mask for GLIBC_2.13.
20106 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
20107 fanotify_init and fanotify_mark.
20108 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20109 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
20110
c08fb0d7
UD
20111 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
20112 Add prlimit.
20113 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
20114 prlimit64 for GLIBC_2.13.
20115 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
20116 prlimit64.
20117 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
20118 syscall.
20119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
20120 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20121 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
20122 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
20123 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
20124 add prlimit alias.
20125 * sysdeps/unix/sysv/linux/prlimit.c: New file.
20126
15bac72b
UD
20127 [BZ #11903]
20128 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
20129 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
20130
c3e2f19b
UD
20131 * nss/Makefile: Add rules to build and run tst-nss-test1.
20132 * shlib-versions: Add entry for libnss_test1.
20133 * nss/nss_test1.c: New file.
20134 * nss/tst-nss-test1.c: New file.
20135
20136 * nss/nsswitch.c (__nss_database_custom): Define new variable.
20137 (__nss_configure_lookup): Set appropriate entry in
20138 __nss_configure_lookup to true.
20139 * nss/nsswitch.h: Define enum with indeces of databases in
20140 databases and __nss_database_custom arrays. Declare
20141 __nss_database_custom.
20142 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
20143 to avoid using nscd when custom rules are installed.
20144 * nss/getXXbyYY_r.c: Likewise.
20145 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20146
20147 * nss/nss_files/files-parse.c: Whitespace fixes.
20148
f15ce4d8
UD
201492010-08-09 Ulrich Drepper <drepper@redhat.com>
20150
20151 [BZ #11883]
20152 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
20153 * posix/fnmatch_loop.c: Likewise.
20154
d22e4cc9
AK
201552010-07-17 Andi Kleen <ak@linux.intel.com>
20156
20157 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
20158 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
20159 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
20160 * Versions.def [GLIBC_2.13]: Add.
20161
805bc17d
UD
201622010-08-06 Ulrich Drepper <drepper@redhat.com>
20163
20164 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20165 Also fail if tpwd after pwuid call is NULL.
20166
5a42321d
ST
201672010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
20168
20169 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
20170 when converting to ms.
20171
fd3ebeda
ST
201722010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20173
20174 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
20175 EOPNOTSUPP errors with ENOTTY.
20176 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
20177 EOPNOTSUPP errors with ENOTTY.
20178
73507d3a
UD
201792010-07-31 Ulrich Drepper <drepper@redhat.com>
20180
20181 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20182 Add strcasecmp_l-ssse3.
20183 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
20184 strcasecmp.
20185 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
20186 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
20187 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
20188
fe36dd02
UD
201892010-07-30 Ulrich Drepper <drepper@redhat.com>
20190
66f6765a
UD
20191 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
20192
42e08a54
UD
20193 * string/Makefile (strop-tests): Add strcasecmp.
20194 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20195 strcasecmp_l-nonascii.
20196 (gen-as-const-headers): Add locale-defines.sym.
20197 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
20198 * sysdeps/x86_64/strcasecmp.S: New file.
20199 * sysdeps/x86_64/strcasecmp_l.S: New file.
20200 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
20201 * sysdeps/x86_64/locale-defines.sym: New file.
20202 * string/test-strcasecmp.c: New file.
20203
fe36dd02
UD
20204 * string/test-strcasestr.c: Test both ends of the range of characters.
20205 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
20206
48cbc0d6
RM
202072010-07-29 Roland McGrath <roland@redhat.com>
20208
76e6d6bc 20209 [BZ #11856]
48cbc0d6
RM
20210 * manual/locale.texi (Yes-or-No Questions): Fix example code.
20211
880113d9
UD
202122010-07-27 Ulrich Drepper <drepper@redhat.com>
20213
20214 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
20215 for ld.so.
20216
deb9cabb
AS
202172010-07-27 Andreas Schwab <schwab@redhat.com>
20218
20219 * manual/memory.texi (Malloc Tunable Parameters): Document
20220 M_PERTURB.
20221
1c7570ff
RM
202222010-07-26 Roland McGrath <roland@redhat.com>
20223
20224 [BZ #11840]
20225 * configure.in (-fgnu89-inline check): Set and substitute
20226 gnu89_inline, not libc_cv_gnu89_inline.
20227 * configure: Regenerated.
20228 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
20229
24fb0f88
UD
202302010-07-26 Ulrich Drepper <drepper@redhat.com>
20231
20232 * string/test-strnlen.c: New file.
20233 * string/Makefile (strop-tests): Add strnlen.
20234 * string/tester.c (test_strnlen): Add a few more test cases.
20235 * string/tst-strlen.c: Better error reporting.
20236
20237 * sysdeps/x86_64/strnlen.S: New file.
20238
8e96b93a
UD
202392010-07-24 Ulrich Drepper <drepper@redhat.com>
20240
20241 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
20242 lower-latency instructions.
20243
dbc676d4
UD
202442010-07-23 Ulrich Drepper <drepper@redhat.com>
20245
20246 * string/test-strcasestr.c: New file.
20247 * string/test-strstr.c: New file.
20248 * string/Makefile (strop-tests): Add strstr and strcasestr.
20249 * string/str-two-way.h: Don't undefine MAX.
20250 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
20251
f6a31e0e
AS
202522010-07-21 Andreas Schwab <schwab@redhat.com>
20253
20254 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20255 strcasestr-nonascii.
20256 (CFLAGS-strcasestr-nonascii.c): Define.
20257 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
20258 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
20259 Remove unused attribute.
20260
5dbc3b6c
RM
202612010-07-20 Roland McGrath <roland@redhat.com>
20262
20263 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
20264 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
20265 ld.so.cache was broken. With it, there is no way to disable dsocaps
20266 like LD_HWCAP_MASK can disable hwcaps.
20267
23d101d8
EPM
202682010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20269
20270 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
20271
cc9f2e47
UD
202722010-07-16 Ulrich Drepper <drepper@redhat.com>
20273
20274 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
20275 call in strcasestr.
20276 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
20277 __strcasestr_sse42_nonascii.
20278 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
20279 strcasestr-nonascii.c.
20280 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
20281
77c1b069
LM
202822010-06-15 Luis Machado <luisgpm@br.ibm.com>
20283
20284 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
20285 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
20286 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
20287 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
20288
440566c3
UD
202892010-07-09 Ulrich Drepper <drepper@redhat.com>
20290
20291 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
20292 fcntl.
20293
5be9d05d
AS
202942010-07-06 Andreas Schwab <schwab@redhat.com>
20295
c30b7ee2 20296 [BZ #11577]
5be9d05d
AS
20297 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
20298 dl_signal_cerror.
20299
8a492a67
UD
203002010-07-06 Ulrich Drepper <drepper@redhat.com>
20301
20302 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
20303 _PC_PIPE_BUF using F_GETPIPE_SZ.
20304
713df3d5
RM
203052010-07-05 Roland McGrath <roland@redhat.com>
20306
20307 * manual/arith.texi (Rounding Functions): Fix rint description
20308 implicit in round description.
20309
702e8f14
UD
203102010-07-02 Ulrich Drepper <drepper@redhat.com>
20311
20312 * elf/Makefile: Fix linking for a few tests to make recent linker
20313 happy.
20314
52ed8be9
AS
203152010-06-30 Andreas Schwab <schwab@redhat.com>
20316
20317 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20318 $(common-objpfx)libc_nonshared.a.
20319
f47c9a11
LM
203202010-06-21 Luis Machado <luisgpm@br.ibm.com>
20321
20322 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
20323 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
20324 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20325 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20326 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
20327 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
20328 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20329 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
20331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
20332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
20333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
20335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
20337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
20338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
20339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
20340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
20342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
20344 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
20345 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
20346 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
20347 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
20348 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
20349 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
20350 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
20351 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
20352 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
20353 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
20354 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
20355 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
20356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
20357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
20358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
20359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
20360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
20361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
20362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
20363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
20364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
20365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
20366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
20367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
20368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
20369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
20370
6fb8cbcb
L
203712010-06-25 H.J. Lu <hongjiu.lu@intel.com>
20372
20373 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
20374 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
20375 * string/memmove.c (memmove): Renamed to ...
20376 (MEMMOVE): ...this. Default to memmove.
20377 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
20378 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
20379 (END_CHK): Define.
20380 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20381 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
20382 mempcpy-ssse3-back memmove-ssse3-back.
20383 * sysdeps/x86_64/multiarch/bcopy.S: New file .
20384 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
20385 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
20386 * sysdeps/x86_64/multiarch/memcpy.S: New file.
20387 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
20388 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
20389 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
20390 * sysdeps/x86_64/multiarch/memmove.c: New file.
20391 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
20392 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
20393 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
20394 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
20395 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
20396 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
20397 Define.
20398 (index_Fast_Copy_Backward): Define.
20399 (HAS_ARCH_FEATURE): Define.
20400 (HAS_FAST_REP_STRING): Define.
20401 (HAS_FAST_COPY_BACKWARD): Define.
20402
4e733bac 204032010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
20404
20405 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20406 Restore proper fallback handling.
20407
63c4ed22
UD
204082010-06-19 Ulrich Drepper <drepper@redhat.com>
20409
ac2b484c
UD
20410 [BZ #11701]
20411 * posix/group_member.c (__group_member): Correct checking loop.
20412
63c4ed22
UD
20413 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
20414 OOM in getpwuid_r correctly. Return error number when the caller
20415 should return, otherwise -1.
20416 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
20417 call returning > 0 value.
20418 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
20419
765ade4b
AS
204202010-06-07 Andreas Schwab <schwab@redhat.com>
20421
20422 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
20423 libc_nonshared.a from targets in modules-names.
20424
80da2e09
KS
204252010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
20426
20427 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
20428 requires it.
20429
158db122
LM
204302010-06-10 Luis Machado <luisgpm@br.ibm.com>
20431
20432 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
20433 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
20434 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
20435 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
20436
caa78cf8
AS
204372010-06-02 Andreas Schwab <schwab@redhat.com>
20438
20439 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
20440
b2ef2c01
UD
204412010-06-14 Ulrich Drepper <drepper@redhat.com>
20442
20443 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
20444 and F_GETPIPE_SZ.
20445 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20446 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20447 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20448 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20449 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20450 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
20451
fbd643b6
RM
204522010-06-14 Roland McGrath <roland@redhat.com>
20453
20454 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
20455
f32f2869
JJ
204562010-06-07 Jakub Jelinek <jakub@redhat.com>
20457
20458 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
20459 __REDIRECT followed by __THROW.
20460 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
20461 * posix/getopt.h (getopt): Likewise.
20462
2a50c078
EPM
204632010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20464
20465 * hurd/lookup-at.c (__file_name_lookup_at): Accept
20466 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
20467 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
20468 in AT_FLAGS.
20469 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
20470 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
20471
eb5ad2eb
LM
204722010-05-28 Luis Machado <luisgpm@br.ibm.com>
20473
20474 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
20475
3c88fe1e
L
204762010-05-26 H.J. Lu <hongjiu.lu@intel.com>
20477
20478 [BZ #11640]
20479 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20480 Properly check family and model.
20481
d2f73151
TY
204822010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
20483
20484 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
20485
ebd2e13d
LM
204862010-05-24 Luis Machado <luisgpm@br.ibm.com>
20487
20488 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
20489
b32b8b45
UD
204902010-05-21 Ulrich Drepper <drepper@redhat.com>
20491
20492 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
20493 symbol reference.
20494
9acbe24d
AS
204952010-05-19 Andreas Schwab <schwab@redhat.com>
20496
20497 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
20498 symbol reference.
20499
f0ccf6ea
AS
205002010-05-21 Andreas Schwab <schwab@redhat.com>
20501
3d04ff3a
AS
20502 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
20503 and internal_recvmmsg.
20504 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
20505 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
20506 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
20507 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
20508
f0ccf6ea
AS
20509 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
20510 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20511 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20512
5b08ac57
AS
205132010-05-20 Andreas Schwab <schwab@redhat.com>
20514
20515 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
20516
4828935d
LM
205172010-05-17 Luis Machado <luisgpm@br.ibm.com>
20518
20519 POWER7 optimizations.
20520 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
20521 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
20522
373d545e
UD
205232010-05-19 Ulrich Drepper <drepper@redhat.com>
20524
20525 * version.h: Update for 2.13 development version.
20526
21a2b1ae
AS
205272010-05-12 Andrew Stubbs <ams@codesourcery.com>
20528
20529 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
20530 exceptions. Return 0.
20531
3f7dcb2b
RM
205322010-05-07 Roland McGrath <roland@redhat.com>
20533
20534 * elf/ldconfig.c (main): Add a const.
20535
5f24d53a 205362010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 20537
a160f8d8
UD
20538 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
20539 (args_options): Add no-idn option.
20540 (ahosts_keys_int): Add idn_flags to ai_flags.
20541 (parse_option): Handle 'i' option to clear idn_flags.
20542
5f24d53a
UD
20543 * malloc/malloc.c (_int_free): Possible race in the most recently
20544 added check. Only act on the data if no current modification
20545 happened.
265bb1ce
UD
20546
20547See ChangeLog.17 for earlier changes.
This page took 2.624798 seconds and 5 git commands to generate.