]> sourceware.org Git - glibc.git/blame - ChangeLog
NEWS
[glibc.git] / ChangeLog
CommitLineData
df78418a
UD
12012-01-07 Ulrich Drepper <drepper@gmail.com>
2
00bbd29b
UD
3 * argp/Versions: Remove _argp_unlock_xxx.
4
5 [BZ #13559]
6 * abilist/ld.abilist: Update. Adjust for removal of tls option.
7 * abilist/libBrokenLocale.abilist: Likewise.
8 * abilist/libanl.abilist: Likewise.
9 * abilist/libc.abilist: Likewise.
10 * abilist/libcrypt.abilist: Likewise.
11 * abilist/libdl.abilist: Likewise.
12 * abilist/libm.abilist: Likewise.
13 * abilist/libnsl.abilist: Likewise.
14 * abilist/libpthread.abilist: Likewise.
15 * abilist/libresolv.abilist: Likewise.
16 * abilist/librt.abilist: Likewise.
17 * abilist/libthread_db.abilist: Likewise.
18 * abilist/libutil.abilist: Likewise.
19 * abilist/libnss_db.abilist: New file.
20
21 * scripts/abilist.awk: Add support for indirect functions.
22
a2693a0e
UD
23 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
24
3f05895f
UD
25 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26
ecb6fb48
UD
27 * shlib-versions: Remove entries for ports architectures.
28
664f8cb9
UD
29 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
30 files in ports.
31 * elf/stackguard-macros.h: Remove support for IA-64.
32 * elf/tst-auditmod1.c: Likewise.
33 * sysdeps/generic/ldsodefs.h: Likewise.
34
7ae81d88
UD
35 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
37 configure files.
38
bdeba135
UD
39 [BZ #13552]
40 * configure.in: Remove --enable-omitfp support.
41 * FAQ.in: Adjust.
42 * config.make.in: Likewise.
43 * Makeconfig: Likewise.
44 * manual/install.texi: Likewise.
45
d75a0a62
UD
46 In case anyone cares, the IA-64 architecture could move to ports.
47 * sysdeps/ia64/*: Removed.
48 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 49 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 50
dcc9756b
UD
51 [BZ #13555]
52 * configure.in: Remove entries for unsupported architectures.
53
d3761ebc 54 [BZ #13533]
9954432e
UD
55 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
56 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
57 routines.
58 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
59 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
60 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
61 fall back to using wcrtomb.
62 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
63 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
64 renaming.
65 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
66 * wcsmbs/tst-c16c32-1.c: New file.
67
68 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
69 local variable.
70
c3a87236
UD
71 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
72
28926a1b
UD
73 * elf/tst-unique3.cc: Add explicit declaration of gets.
74 * elf/tst-unique3lib.cc: Likewise.
75 * elf/tst-unique3lib2.cc: Likewise.
76 * elf/tst-unique4.cc: Likewise.
77
df78418a
UD
78 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
79
8ecd6b2a
JM
802012-01-06 Joseph Myers <joseph@codesourcery.com>
81
82 [BZ #13566]
83 * assert/assert.h (static_assert): Don't define for C++.
84 * libio/stdio.h (gets): Do declare for C++ <= C++11.
85 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
86
9f115170
UD
872012-01-03 Ulrich Drepper <drepper@gmail.com>
88
5e0d0300
UD
89 * iconv/loop.c (single loop): Fix assertion in storing of
90 remaining bytes.
91
9f115170
UD
92 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
93
81fb02b0
UD
942012-01-01 Ulrich Drepper <drepper@gmail.com>
95
96 * posix/getconf.c: Update copyright year.
97 * nss/getent.c: Likewise.
a316c1f6 98 * nss/makedb.c: Likewise.
81fb02b0
UD
99 * iconv/iconvconfig.c: Likewise.
100 * iconv/iconv_prog.c: Likewise.
101 * elf/ldconfig.c: Likewise.
a316c1f6
UD
102 * elf/pldd.c: Likewise.
103 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
104 * catgets/gencat.c: Likewise.
105 * csu/version.c: Likewise.
106 * elf/ldd.bash.in: Likewise.
107 * elf/sprof.c (print_version): Likewise.
108 * locale/programs/locale.c: Likewise.
109 * locale/programs/localedef.c: Likewise.
a316c1f6 110 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
111 * nscd/nscd.c (print_version): Likewise.
112 * debug/xtrace.sh: Likewise.
113 * malloc/memusage.sh: Likewise.
114 * malloc/mtrace.pl: Likewise.
115 * debug/catchsegv.sh: Likewise.
116
2ba92745
JJ
1172011-12-30 Jakub Jelinek <jakub@redhat.com>
118
119 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
120 pure attribute.
121
dadebdae
UD
1222011-12-24 Ulrich Drepper <drepper@gmail.com>
123
d3761ebc 124 [BZ #13533]
db6af3eb
UD
125 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
126 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
127 transformations.
128 * iconv/gconv_int.h: Likewise.
129 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
130 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
131 from libc for GLIBC_2.16.
132 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
133 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
134 * wcsmbs/uchar.h: Really define mbstate_t.
135 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
136 * wcsmbs/c16rtomb.c: New file.
137 * wcsmbs/mbrtoc16.c: New file.
138 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
139 for C/POSIX locale.
140 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
141 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
142
dadebdae
UD
143 * wcsmbs/wchar.h: Add missing __restrict.
144
67371b56
UD
1452011-12-23 Ulrich Drepper <drepper@gmail.com>
146
74033a25
UD
147 [BZ #13532]
148 * time/Makefile (routines): Add timespec_get.
149 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
150 * time/time.h: Define TIME_UTC and declare timespec_get. Define
151 timespec for ISO C11.
152 * time/timespec_get.c: New file.
153 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
154 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
155
380d7e87
UD
156 [BZ #13531]
157 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
158 * stdlib/stdlib.h: Declare aligned_alloc.
159 * Versions.def: Add GLIBC_2.16 for libc.
160 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
161
4e9e7a35
UD
162 [BZ 13527]
163 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
164 ISO C11.
165
380d7e87 166 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
167 code.
168
03a71829
UD
169 [BZ #13528]
170 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
171
839e283e
UD
172 [BZ #13529]
173 * assert/assert.h (static_assert): Define.
174
ce5294e2 175 * version.h: Update for 2.16 development version.
90fa7312 176
8d44e150 177 [BZ #13526]
d7809905
UD
178 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
179 _ISOC11_SOURCE.
180
c0da14cd
UD
181 * version.h (RELEASE): Bump for 2.15 release.
182 * include/features.h (__GLIBC_MINOR__): Bump to 15.
183
530a3249
MP
184 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
185 Patch by Marek Polacek <mpolacek@redhat.com>.
186
67371b56
UD
187 * bits/byteswap.h: Protect long long constants with __extension__.
188 * sysdeps/i386/bits/byteswap.h: Likewise.
189 * sysdeps/ia64/bits/byteswap.h: Likewise.
190 * sysdeps/s390/bits/byteswap.h: Likewise.
191 * sysdeps/x86_64/bits/byteswap.h: Likewise.
192
15db4de1
LD
1932011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
194
195 [BZ #13540]
bbe315ea
LD
196 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
197 destination buffer.
15db4de1
LD
198 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
199
2b2596b1
MP
2002011-12-23 Marek Polacek <polacek@redhat.com>
201
202 * elf/dl-addr.c (determine_info): Add inline keyword.
203 * elf/tst-auditmod4b.c (check_avx): Likewise.
204 * elf/tst-auditmod6b.c (check_avx): Likewise.
205 * elf/tst-auditmod6c.c (check_avx): Likewise.
206 * elf/tst-auditmod7b.c (check_avx): Likewise.
207
70c6c246
UD
2082011-12-23 Ulrich Drepper <drepper@gmail.com>
209
210 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
211 !__SSE_MATH__.
212
c044cf14
LD
2132011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
214
15db4de1 215 [BZ #13540]
c044cf14
LD
216 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
217 processing for last bytes.
218
6b13d9d9
BH
2192011-08-06 Bruno Haible <bruno@clisp.org>
220
d455f537
BH
221 [BZ #13061]
222 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
223 U+0385, not to U+1FEE.
224
6b13d9d9
BH
225 [BZ #13062]
226 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
227 entry for U+00A5 U+0301.
228
db910efd
UD
2292011-12-22 Ulrich Drepper <drepper@gmail.com>
230
27deeafc
UD
231 [BZ #13166]
232 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
233 buffer for the output is too small.
234
aed9d171
UD
235 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
236 optimization.
237
db910efd
UD
238 [BZ #13185]
239 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
240 SSE flags if possible.
241
2bd779ae
LD
2422011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
243
e7f9dac3 244 [BZ #13540]
2bd779ae
LD
245 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
246 processing for last bytes.
247
154bfc16
JM
2482011-12-22 Joseph Myers <joseph@codesourcery.com>
249
250 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
251 (syscall-list-default-options, syscall-list-default-condition)
252 (syscall-list-includes): Define.
253 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
254 list of ABIs and options and #if conditions for each ABI. Do not
255 handle common syscalls between ABIs specially.
256 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
257 Remove.
258 (syscall-list-variants, syscall-list-32bit-options)
259 (syscall-list-32bit-condition, syscall-list-64bit-options)
260 (syscall-list-64bit-condition): Define.
261 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
262 (syscall-list-variants, syscall-list-32bit-options)
263 (syscall-list-32bit-condition, syscall-list-64bit-options)
264 (syscall-list-64bit-condition): Define.
265 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
266 Remove.
267 (syscall-list-variants, syscall-list-32bit-options)
268 (syscall-list-32bit-condition, syscall-list-64bit-options)
269 (syscall-list-64bit-condition): Define.
270 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
271 Remove.
272 (syscall-list-variants, syscall-list-32bit-options)
273 (syscall-list-32bit-condition, syscall-list-64bit-options)
274 (syscall-list-64bit-condition): Define.
275
21eaf3a5
UD
2762011-12-22 Ulrich Drepper <drepper@gmail.com>
277
16c6f992
UD
278 * locale/iso-639.def: Add brx entry.
279
41043168
UD
280 [BZ #13328]
281 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
282 Proposed by Mariusz_Cukr <marcukr@op.pl>.
283
21eaf3a5
UD
284 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
285 __feraiseexcept_renamed.
286
e3a851a2
UD
2872011-12-21 Ulrich Drepper <drepper@gmail.com>
288
4920765e
UD
289 [BZ #13538]
290 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
291 EPOLLET with unsigned values.
292 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
293 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
294
e3a851a2
UD
295 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
296 to large cancellation.
297 * math/s_cacoshf.c: Likewise.
298 * math/s_cacoshl.c: Likewise.
299
b27e24b8
RK
3002011-11-18 Richard B. Kreckel <kreckel@ginac.de>
301
302 [BZ #13305]
aebefeee 303 [BZ #12786]
b27e24b8
RK
304 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
305 * math/s_cacoshf.c: Likewise.
306 * math/s_cacoshl.c: Likewise.
307
ee190f67
UD
3082011-12-21 Ulrich Drepper <drepper@gmail.com>
309
310 [BZ #13439]
311 * iconv/gconv.h: Define __GCONV_SWAP.
312 * iconvdata/unicode.c: The swap bit must be stored in __flags.
313 * iconvdata/utf-16.c: Likewise.
314 * iconvdata/utf-32.c: Likewise.
315
707f25df
AS
3162011-12-21 Andreas Schwab <schwab@linux-m68k.org>
317
318 [BZ #13524]
319 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
320 numerator after shifting it by one limb.
321
d2daaa1e
RÁE
3222011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
323
324 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
325 under [__USE_EXTERN_INLINES].
326
a4647e72
UD
3272011-12-17 Ulrich Drepper <drepper@gmail.com>
328
329 [BZ #13446]
330 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
331
f0b264f1
AZ
3322011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
333
334 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
335 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
336 optimized code.
337 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
338 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
339 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
340 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
341 for strncasecmp/strncasecmp_l compilation.
342 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
343 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
344
8ef4f244
MP
3452011-12-08 Marek Polacek <mpolacek@redhat.com>
346
347 [BZ #13484]
348 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
349 of __asm__.
350
97ac2654
UD
3512011-12-17 Ulrich Drepper <drepper@gmail.com>
352
353 [BZ #13506]
354 * time/tzfile.c (__tzfile_read): Check values from file header.
355
91d2a845
WS
3562011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
357
358 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
359 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
360 * powerpc/powerpc32/dl-start.S: Likewise.
361 * powerpc/powerpc32/elf/start.S: Likewise.
362 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
363 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
364 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
365 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
366 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
367 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
368 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
369 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
370 * powerpc/powerpc32/fpu/s_round.S: Likewise.
371 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
372 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
373 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
374 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
375 * powerpc/powerpc32/memset.S: Likewise.
376 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
377 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
378 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
379 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
380 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
381 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
382 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
383 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
384 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
385 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
386 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
387 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
388 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
389
a1267ba1
AZ
3902011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
391
392 * math/libm-test.inc: Added more nearbyint tests.
393 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
394 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
395 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
396 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
397
ad8ac1bd
RL
3982011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
399
400 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
401 FD_CLOEXEC.
402
1d3e4b61
UD
4032011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
404
405 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
406 Add wcscpy-ssse3 wcscpy-c.
407 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
408 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
409 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
410 * sysdeps/x86_64/wcschr.S: New file.
411 * sysdeps/x86_64/wcsrchr.S: New file.
412 * string/test-strcmp.c: Remove checking of wcscmp function for
413 wrong alignments.
414 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
415 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
416 wcsrchr-sse2 wcsrchr-c.
417 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
418 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
419 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
420 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
421 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
422 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
423 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
424 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
425 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
426 * wcsmbc/wcschr.c (WCSCHR): New macro.
427
5b330a2d
UD
4282011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
429
430 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
431 * wcsmbs/test-wcsrchr.c: New file.
432 * string/test-strrchr.c: Add wcsrchr support.
433 (WIDE): New macro.
434 * wcsmbs/test-wcscpy.c: New file.
435 * string/test-strcpy.c: Add wcscpy support.
436 (WIDE): New macro.
26428b7c 437
f039c043
UD
4382011-12-10 Ulrich Drepper <drepper@gmail.com>
439
440 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
441 the inner loop.
442
850fb039
AS
4432011-12-06 Andreas Schwab <schwab@linux-m68k.org>
444
445 [BZ #13472]
446 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
447
4efbd5cb
UD
4482011-12-04 Ulrich Drepper <drepper@gmail.com>
449
52ff5dd0 450 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 451 Minor optimizations.
52ff5dd0 452
4efbd5cb
UD
453 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
454 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
455 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
456
8a426e12
UD
4572011-12-03 Ulrich Drepper <drepper@gmail.com>
458
aff2453d
UD
459 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
460 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
461 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
462 for gcc to avoid warnings.
463 * inet/Makefile (tests): Add tst-checks.
464 * inet/tst-checks.c: New file.
465
466 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
467 warning.
468
469 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
470 __wmemcmp_sse2.
471
472 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
473 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
474
8a426e12
UD
475 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
476
9bea3473
UD
4772011-12-02 Ulrich Drepper <drepper@gmail.com>
478
3a965496
UD
479 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
480 problem.
481
9bea3473
UD
482 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
483
f101631b
UD
4842011-11-29 Joseph Myers <joseph@codesourcery.com>
485
486 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
487 conditional on GCC version.
488 (__arch_compare_and_exchange_val_8_acq)
489 (__arch_compare_and_exchange_val_16_acq)
490 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
491 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
492 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
493
a98275aa
UD
4942011-12-02 Joseph Myers <joseph@codesourcery.com>
495
496 * sysdeps/sh/backtrace.c: New file.
497
d4cc29a2
AS
4982011-12-02 Andreas Schwab <schwab@redhat.com>
499
500 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
501 parenthesis.
502
6257af2d
AS
5032011-12-01 Andreas Schwab <schwab@redhat.com>
504
505 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
506 falling back to utime.
507
b5f44c1a
AS
5082011-11-30 Andreas Schwab <schwab@redhat.com>
509
510 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
511 expectations for float.
512
f3a6cc0a
AS
5132011-11-29 Andreas Schwab <schwab@redhat.com>
514
515 * locale/weight.h (findidx): Add parameter len.
516 * locale/weightwc.h (findidx): Likewise.
517 * posix/fnmatch_loop.c (FCT): Adjust caller.
518 * posix/regcomp.c (build_equiv_class): Likewise.
519 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
520 * posix/regexec.c (check_node_accept_bytes): Likewise.
521 * string/strcoll_l.c (STRCOLL): Likewise.
522 * string/strxfrm_l.c (STRXFRM): Likewise.
523
9d65ea3a
UD
5242011-11-17 Ulrich Drepper <drepper@gmail.com>
525
526 * Makefile.in: Remove CVSOPT handling.
527 * configure.in: Remove use of AC_REVISION.
528 * iconvdata/Makefile (distribute): No need to filter out CVS.
529 * scripts/list-sources.sh: Remove CVS, subversion and monotone
530 handling.
531
5583a086
AS
5322011-11-16 Andreas Schwab <schwab@redhat.com>
533
534 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
535 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
536 [USE_AS_STRNCASECMP_L]: Likewise.
537 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
538 NO_TLS_DIRECT_SEG_REFS.
539 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
540 Fix argument offsets for non-PIC.
541 [USE_AS_STRNCASECMP_L]: Likewise.
542 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
543 NO_TLS_DIRECT_SEG_REFS.
544
d62a8200
UD
5452011-11-15 Ulrich Drepper <drepper@gmail.com>
546
9d65ea3a 547 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
548 O_CLOEXEC.
549 * locale/loadlocale.c (_nl_load_locale): Likewise.
550
09f93bd3
AS
5512011-11-15 Andreas Schwab <schwab@redhat.com>
552
446514f9
AS
553 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
554 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
555 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
556 (SYSCALL_GETTIME): Set errno on error.
557
09f93bd3
AS
558 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
559 count references to noai6ai_cached.
560
312be3f9
UD
5612011-11-15 Ulrich Drepper <drepper@gmail.com>
562
563 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
564
565 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
566 FD_CLOEXEC for /proc/self/maps.
567
568 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
569 FD_CLOEXEC for /proc/meminfo.
570
571 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
572 gai.conf.
573
574 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
575 FD_CLOEXEC for given file.
576
577 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
578
579 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
580 FD_CLOEXEC for /etc/hosts.
581 (_gethtent): Likewise.
582
583 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
584
585 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
586 cancellation and set FD_CLOEXEC for /etc/netgroup.
587
588 * nss/nss_files/files-key.c (search): Don't allow cancellation when
589 reading /etc/publickey.
590
591 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
592 allow cancellation when reading /etc/group.
593
594 * nss/nss_files/files-alias.c (internal_setent): Don't allow
595 cancellation.
596 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
597
598 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
599 when using data file.
600
601 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
602
603 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
604 (write_nis_obj): Use "c" and "e" in fopen.
605
606 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
607
608 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
609
610 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
611
612 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
613
614 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
615 locale.alias.
616
617 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
618
619 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
620
621 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
622
623 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
624 file parsing and set FD_CLOEXEC.
625
82af0fa8
UD
6262011-11-14 Ulrich Drepper <drepper@gmail.com>
627
628 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
629
a5fb313c
AS
6302011-11-14 Andreas Schwab <schwab@redhat.com>
631
632 * malloc/arena.c (arena_get2): Don't call reused_arena when
633 _int_new_arena failed.
634
6abf3465
UD
6352011-11-14 Ulrich Drepper <drepper@gmail.com>
636
637 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
638 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
639 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
640 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
641 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
642 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
643 to compile strcasecmp and strncasecmp.
644 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
645 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
646
647 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
648
76e3966e
UD
6492011-11-13 Ulrich Drepper <drepper@gmail.com>
650
651 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
652 locale-defines.sym to gen-as-const-headers.
653 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
654 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
655 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
656 to compile strcasecmp and strncasecmp.
657 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
658 strcasecmp_l and strncasecmp_l.
659 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
660 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
661 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
662 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
663 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
664 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
665 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
666 * sysdeps/i386/i686/multiarch/strncase.S: New file.
667 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
668 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
669 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
670
ab26144e
UD
6712011-11-12 Ulrich Drepper <drepper@gmail.com>
672
7edb22ef
UD
673 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
674 result of SYSDEP_GETTIME_CPU to retval.
675 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
676 parameter list to macro. Remove trailing semicolon. Adjust users.
677
9694fc44
UD
678 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
679 variable.
680
8ad89ef8
UD
681 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
682 mantissa words.
683 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
684
0c822ef9
UD
685 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
686 from unused variable.
687
874e0564
UD
688 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
689 DWARF definitions.
690 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
691 for assembling.
692
3a2edc79
UD
693 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
694 over namespaces.
695
f3c2577f
UD
696 * sunrpc/rpc_prot.c (rejected): Fix case value.
697
294ce126
UD
698 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
699 unsigned long long int to avoid warnings in shift.
700
5e2b63c6
UD
701 * posix/regex_internal.c (re_string_reconstruct): Actually use result
702 of use of trans.
703 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
704 variable tmp.
705
e7f4b08e
UD
706 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
707 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
708 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
709
ab26144e
UD
710 * nis/nis_table.c (nis_list): Use variable of correct type for
711 result of __follow_path call.
712
8a6d5255
AZ
7132011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
714
715 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
716 of math functions ceil, trunc, floor, round, and sqrt, when
717 avaliable on the platform.
718 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
719 name clash.
720 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
721 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
722 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
723
aaddc98c
MP
7242011-10-30 Marek Polacek <mpolacek@redhat.com>
725
726 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
727 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
728
95b7042b
RM
7292011-11-11 Roland McGrath <roland@hack.frob.com>
730
731 * include/unistd.h: Fix __readlink return type.
732 Reported by Chris Metcalf <cmetcalf@tilera.com>.
733
57769839
UD
7342011-11-11 Ulrich Drepper <drepper@gmail.com>
735
736 * stdlib/ucontext.h: Undo last change for makecontext.
737
edc5984d
AS
7382011-11-11 Andreas Schwab <schwab@redhat.com>
739
98591e58
AS
740 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
741
edc5984d
AS
742 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
743 * setjmp/setjmp.h: Mark functions as non-leaf.
744 * setjmp/bits/setjmp2.h: Likewise.
745 * stdlib/ucontext.h: Likewise.
746
77cdc054
AS
7472011-11-10 Andreas Schwab <schwab@redhat.com>
748
749 * malloc/arena.c (_int_new_arena): Don't increment narenas.
750 (reused_arena): Don't check arena limit.
751 (arena_get2): Atomically check arena limit.
752
fe72eebd
UD
7532011-11-08 Ulrich Drepper <drepper@gmail.com>
754
5f078c32
UD
755 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
756 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
757
fe72eebd
UD
758 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
759 instructions.
760
ae1bc2fa
AS
7612011-11-07 Andreas Schwab <schwab@redhat.com>
762
7583a88d
AS
763 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
764 handler when locking.
765
ae1bc2fa
AS
766 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
767 Fix size of allocated buffer.
768
10fb0bfa
AS
7692011-11-04 Andreas Schwab <schwab@redhat.com>
770
998832a4
AS
771 [BZ #10103]
772 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
773 declarations for long double functions.
774 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
775
10fb0bfa
AS
776 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
777
3d7ba52b
AS
7782011-11-03 Andreas Schwab <schwab@redhat.com>
779
a9ae54a1
AS
780 * nscd/nscd.c (main): Don't start AVC thread until credentials are
781 installed.
782
3d7ba52b
AS
783 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
784 is disabled.
785
bc8db248
ST
7862011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
787
788 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
789
45b96dd6
AS
7902011-11-01 Andreas Schwab <schwab@linux-m68k.org>
791
647776f6
AS
792 * include/alloca.h (stackinfo_alloca_round): Define.
793 (extend_alloca): Use it.
794 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
795 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
796 here.
797
d91a8b93
AS
798 * scripts/check-local-headers.sh: Ignore libaudit.h.
799
45b96dd6
AS
800 * nscd/Makefile (extra-objs): Make recursively expanded.
801
432d41ce
UD
8022011-11-01 Ulrich Drepper <drepper@gmail.com>
803
34372fc6
UD
804 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
805 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
806
fadb59f8
UD
807 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
808 * posix/tst-rfc3484-2.c: Likewise.
809 * posix/tst-rfc3484-3.c: Likewise.
810
78239589
UD
811 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
812 process_vm_writev.
813 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
814 process_vm_writev.
815 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
816 process_vm_writev from libc using GLIBC_2.15 version.
817
432d41ce
UD
818 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
819
02f9c6cf
PP
8202011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
821
822 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
823 stack usage.
824
3a2c0242
UD
8252011-10-31 Ulrich Drepper <drepper@gmail.com>
826
f4ec4833
UD
827 [BZ #13367]
828 * nss/getent.c (initgroups_keys): Show error message in case no group
829 names are given.
830
3a2c0242
UD
831 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
832 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
833 __bump_nl_timestamp.
834 * nscd/connections (nscd_init): When host database is served open
835 netlink socket and request notification about configuration changes.
836 (main_loop_poll): Track netlink file descriptor and bump timestamp
837 in case data becomes available.
838 (main_loop_epoll): Likewise.
839 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
840 (database_pers_head): Add extra_data fileds.
841 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
842 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
843 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
844 Adjust caller.
845 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
846 in6ai data, call __free_in6ai.
847 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
848 Add -DHAVE_NETLINK.
849 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
850 interface information. Reuse previous data if netlink timestamp
851 is not changed.
852 (__bump_nl_timestamp): New function.
853 (__free_in6ai): New function.
854
636064eb
UD
8552011-10-30 Ulrich Drepper <drepper@gmail.com>
856
857 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
858 close_not_cancel_no_status here.
859 (__check_pf): Reorganize code a bit to not call close twice if OOM.
860
9beb2334
UD
8612011-10-29 Ulrich Drepper <drepper@gmail.com>
862
6ef76f3b
UD
863 [BZ #13276]
864 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
865 return value.
866
0ffc4f3e 867 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
868 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
869 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
870
cb95113e
UD
8712011-07-03 Andreas Jaeger <aj@suse.de>
872
873 [BZ #10709]
874 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
875 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
876 * math/libm-test.inc (sin_test): Add test case.
877
a1b560ff
UD
8782011-10-29 Ulrich Drepper <drepper@gmail.com>
879
c9aaface
UD
880 [BZ #13337]
881 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
882 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
883
d272e7f1
UD
884 * elf/chroot_canon.c (chroot_canon): Cleanups.
885
1bc33071
UD
886 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
887
1760874d
TJ
888 [BZ #13335]
889 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
890 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
891
51d91b18
UD
892 * string/test-strchr.c: Make usable for strchrnul testing.
893 * string/test-strchrnul.c: New file.
894 * string/Makefile (strop-tests): Add strchrnul.
895
a1b560ff 896 * po/it.po: Update from translation team.
b611fb81 897 * po/es.po: Likewise.
a1b560ff 898
a5b81e1f
UD
8992011-10-28 Ulrich Drepper <drepper@gmail.com>
900
fd52bc6d
UD
901 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
902 the three constants needed as parameters. Drop the others.
903 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
904 __m128i_strloadu_tolower.
52e4b9eb
UD
905 Create and initialize variable zero and use it in all the places
906 where _mm_setzero_si128 was used.
fd52bc6d 907
a5b81e1f
UD
908 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
909 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
910 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
911 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
912 anymore.
913 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
914 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
915 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
916 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
917 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
918 __mpranred, __mptan.
919 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
920 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
921 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
922 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
923 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
924 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
925 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
926 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
927 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
928
b4343346
AS
9292011-10-28 Andreas Schwab <schwab@redhat.com>
930
0c92d8a8
AS
931 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
932 redefine if SHARED.
933 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
934
b4343346
AS
935 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
936 wide char related routines to wcsmbs subdir.
937
3871f58f
AS
9382011-10-27 Andreas Schwab <schwab@redhat.com>
939
940 [BZ #13344]
941 * misc/sys/cdefs.h (__THROWNL): Define.
942 * posix/unistd.h: Use __THREADNL instead of __THREAD
943 for memory synchronization functions.
944
94d44d9f
RM
9452011-10-26 Roland McGrath <roland@hack.frob.com>
946
21b64b15 947 [BZ #13349]
94d44d9f
RM
948 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
949 doesn't exist.
950 * manual/stdio.texi (Obstack Streams): Node removed.
951
f6ce9294
AS
9522011-10-26 Andreas Schwab <schwab@redhat.com>
953
80479147
AS
954 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
955 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
956 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
957
f6ce9294
AS
958 * math/math_private.h (math_force_eval): Allow non-addressable
959 arguments.
960 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
961
618280a1
UD
9622011-10-25 Ulrich Drepper <drepper@gmail.com>
963
e0016b11
UD
964 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
965 file is not needed.
966
967 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
968 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
969 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
970 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
971 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
972 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
973 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
974 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
975 Add AVX variants.
976 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
977 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
978 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
979 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
980 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
981 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
982 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
983 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
984 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
985 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
986 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
987 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
988 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
989 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
990 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
991 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
992 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
993 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
994 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
995
996 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
997 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
998
618280a1
UD
999 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
1000 place. Use VEX encoding when compiling for AVX.
1001
37822576
AS
10022011-10-25 Andreas Schwab <schwab@redhat.com>
1003
1f1e1947
AS
1004 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
1005 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1006
37822576
AS
1007 * string/test-strchr.c (do_test): Don't generate NUL bytes.
1008
31ea014d
UD
10092011-10-25 Ulrich Drepper <drepper@gmail.com>
1010
d7826aa1 1011 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 1012 useless if() expression.
d7826aa1
UD
1013 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1014 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1015 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1016 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1017 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1018 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1019 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1020 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1021 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1022 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1023 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1024 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1025 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1026 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1027 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1028 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1029 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1030 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1031 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1032
31ea014d
UD
1033 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
1034
16437fec
AS
10352011-10-25 Andreas Schwab <schwab@redhat.com>
1036
1037 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
1038 condition.
1039 * elf/dl-fini.c (_dl_sort_fini): Likewise.
1040
31d3cc00
UD
10412011-10-25 Ulrich Drepper <drepper@gmail.com>
1042
1043 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
1044 .text section. Avoid duplicate constants.
1045 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1046 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1047 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1048 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1049 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1050 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1051 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1052 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1053 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1054 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
1055 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1056 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1057 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
1058 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
1059 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
1060 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
1061 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
1062 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1063 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1064 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1065 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1066 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1067 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1068 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
1069 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
1070 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
1071 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
1072 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
1073 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
1074 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
1075 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
1076 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
1077 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1078 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
1079 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
1080 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
1081 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
1082 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
1083 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
1084 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
1085 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
1086 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
1087 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
1088 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
1089 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
1090
58985aa9
UD
10912011-10-24 Ulrich Drepper <drepper@gmail.com>
1092
202c9deb
UD
1093 * sysdeps/x86_64/dla.h: Move to ...
1094 * sysdeps/x86_64/fpu/dla.h: ...here.
1095 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
1096 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 1097
af968f62
UD
1098 * config.make.in: Add have-mfma4 entry.
1099 * configure.in: Substitute libc_cv_cc_fma4.
1100 * math/Makefile (dbl-only-routines): Add sincostab.
1101 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
1102 Use __sincostab not sincos.
1103 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
1104 name is a macro.
1105 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1106 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1107 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1108 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
1109 using __copysign.
1110 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
1111 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
1112 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
1113 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
1114 and __inv.
1115 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
1116 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
1117 __copysign.
1118 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
1119 define aliases when function name is a macro.
1120 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
1121 sysdeps/ieee754/dbl-64/sincos.tbl.
1122 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
1123 fma4-enabled routines.
1124 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
1125 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
1126 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
1127 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
1128 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
1129 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
1130 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
1131 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
1132 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
1133 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
1134 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
1135 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
1136 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
1137 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
1138 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
1139 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
1140 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
1141 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
1142 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
1143 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
1144 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
1145 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
1146 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
1147 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
1148 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
1149 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
1150 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
1151 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
1152 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
1153 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
1154
58985aa9
UD
1155 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
1156 rename.
1157 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1158 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1159 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1160 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1161 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1162 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1163 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1164 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1165
a201fbcf
AS
11662011-10-24 Andreas Schwab <schwab@redhat.com>
1167
1168 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
1169
fc2ee42a
LD
11702011-10-23 Ulrich Drepper <drepper@gmail.com>
1171
bb3129bd
UD
1172 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
1173
0275fff8
UD
1174 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
1175 prediction.
1176 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
1177
2fa2ae85
UD
1178 * string/strnlen.c: Don't define STRNLEN, reverse logic.
1179 Remove unused variable magic_bits.
1180 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
1181
fc2ee42a
LD
1182 * string/strnlen.c: Define and use STRNLEN macro.
1183 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
1184 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
1185 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
1186 * wcsmbs/wcslen.c: Define and use WCSLEN.
1187 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
1188 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
1189 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
1190 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
1191 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
1192 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
1193 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
1194
ce7dd29f
LD
11952011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1196
1197 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1198 strnlen-sse2-no-bsf.
1199 Rename strlen-no-bsf to strlen-sse2-no-bsf.
1200 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
1201 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
1202 Add strnlen support.
1203 (USE_AS_STRNLEN): New macro.
1204 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
1205 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
1206 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
1207 * sysdeps/x86_64/wcslen.S: New file.
1208
979c70a3
MZ
12092011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
1210
1211 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
1212 XMM-moves are used for copying on small sizes.
1213
2d09f82f
LD
12142011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1215
1216 * wcsmbs/Makefile (strop-tests): Add wcschr.
1217 * wcsmbs/test-wcschr.c: New file.
1218 * string/test-strchr.c: Update.
1219 Add wcschr support.
1220 (WIDE): New macro.
1221
619fccca
LD
12222011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1223
2d09f82f 1224 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
1225 * wcsmbs/test-wcslen.c: New file.
1226 * string/test-strlen.c: Update.
1227 Add wcslen support.
1228 (WIDE): New macro.
1229
09f699ea
UD
12302011-10-23 Ulrich Drepper <drepper@gmail.com>
1231
1232 * po/it.po: Update from translation team.
1233
95584d3b
LD
12342011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1235
1236 * sysdeps/x86_64/wcscmp.S: Update.
1237 Fix wrong comparison semantics.
1238 wcscmp shall use signed comparison not unsigned.
1239 Don't use substraction to avoid overflow bug.
1240 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
1241 * wcsmbc/wcscmp.c: Likewise.
1242 * string/test-strcmp.c: Likewise.
1243 Add new tests to check cases with negative values.
1244
c8b3296b
UD
12452011-10-23 Ulrich Drepper <drepper@gmail.com>
1246
1247 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
1248 * sysdeps/x86_64/dla.h: ...here. New file.
1249 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
1250 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1251 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1252 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1253 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1254 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1255 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1256 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1257 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1258
246ad57a
AS
12592011-10-23 Andreas Schwab <schwab@linux-m68k.org>
1260
1261 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
1262 __ynl_finite aliases.
1263
a1a87169
UD
12642011-10-22 Ulrich Drepper <drepper@gmail.com>
1265
0d355eb7
UD
1266 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1267
a1a87169
UD
1268 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
1269 define DLA_FMA.
1270 [DLA_FMA] (EMULV): Use DLA_FMA.
1271 [DLA_FMA] (MUL12): Use EMULV.
1272 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
1273 that are not needed.
1274 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1275 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1276 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1277 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1278 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1279 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1280 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1281
ee2aafe0
AS
12822011-10-22 Andreas Schwab <schwab@linux-m68k.org>
1283
1284 * math/s_nan.c: Undef __nan.
1285 * math/s_nanf.c: Undef __nanf.
1286 * math/s_nanl.c: Undef __nanl.
1287 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
1288 "math_private.h".
1289
bc62c2fb
UD
12902011-10-22 Ulrich Drepper <drepper@gmail.com>
1291
77425c63
UD
1292 * math/s_catan.c: Add branch predictions.
1293 * math/s_catanf.c: Likewise.
1294 * math/s_catanh.c: Likewise.
1295 * math/s_catanhf.c: Likewise.
1296 * math/s_catanhl.c: Likewise.
1297 * math/s_catanl.c: Likewise.
1298 * math/s_cexp.c: Likewise.
1299 * math/s_cexpf.c: Likewise.
1300 * math/s_cexpl.c: Likewise.
1301 * math/s_clog.c: Likewise.
1302 * math/s_clog10.c: Likewise.
1303 * math/s_clog10f.c: Likewise.
1304 * math/s_clog10l.c: Likewise.
1305 * math/s_clogf.c: Likewise.
1306 * math/s_clogl.c: Likewise.
1307 * math/s_csqrt.c: Likewise.
1308 * math/s_csqrtf.c: Likewise.
1309 * math/s_csqrtl.c: Likewise.
1310 * math/s_ctanf.c: Likewise.
1311 * math/s_ctanh.c: Likewise.
1312 * math/s_ctanhf.c: Likewise.
1313 * math/s_ctanhl.c: Likewise.
1314 * math/s_ctanl.c: Likewise.
1315
bc62c2fb
UD
1316 * math/math_private.h: Define __nan, __nanf, __nanl.
1317 * math/s_cacosh.c: Include <math_private.h>.
1318 * math/s_cacoshl.c: Likewise.
1319 * math/s_casinh.c: Likewise.
1320 * math/s_casinhf.c: Likewise.
1321 * math/s_casinhl.c: Likewise.
1322 * math/s_ccos.c: Rely entire on ccosh.
1323 * math/s_ccosf.c: Rely entire on ccoshf.
1324 * math/s_ccosl.c: Rely entirely on ccoshl.
1325 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
1326 Remove tests for FE_INVALID.
1327 * math/s_ccoshf.c: Likewise.
1328 * math/s_ccoshl.c: Likewise.
1329 * math/s_csin.c: Likewise.
1330 * math/s_csinf.c: Likewise.
1331 * math/s_csinh.c Likewise.
1332 * math/s_csinhf.c: Likewise.
1333 * math/s_csinhl.c: Likewise.
1334 * math/s_csinl.c: Likewise.
1335 * math/s_ctan.c: Likewise.
1336 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
1337 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
1338 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
1339
8ec250a4
UD
13402011-10-21 Ulrich Drepper <drepper@gmail.com>
1341
c196fed8
UD
1342 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
1343 compilation problems.
1344
8ec250a4
UD
1345 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
1346 __builtin_expect.
1347
8d4f46c6
UD
13482011-10-20 Ulrich Drepper <drepper@gmail.com>
1349
ed72b654
UD
1350 * sysdeps/i386/configure.in: Test for -mfma4 option.
1351 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
1352 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
1353 COMMON_CPUID_INDEX_80000001.
1354 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
1355 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
1356 use it if FMA3 is not supported.
1357 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
1358
8d4f46c6
UD
1359 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
1360 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
1361
d45c60c2
AS
13622011-10-20 Andreas Schwab <schwab@redhat.com>
1363
1364 [BZ #12892]
1365 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
1366 it would create a cycle with a link time dependency.
1367
d9a4d2ab
UD
13682011-10-19 Ulrich Drepper <drepper@gmail.com>
1369
855d1560
UD
1370 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
1371 instruction.
1372 * string/Makefile (strop-tests): Add rawmemchr.
1373 * string/test-rawmemchr.c: New file.
1374
d9a4d2ab
UD
1375 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
1376 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
1377 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
1378 when compiling str{,n}casecmp and when AVX is available. Hook up
1379 new optimized code in initializers.
1380
8f3b1ffe
AS
13812011-10-19 Andreas Schwab <schwab@redhat.com>
1382
1383 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
1384 __feraiseexcept instead of feraiseexcept.
1385
d38f1dba
UD
13862011-10-18 Ulrich Drepper <drepper@gmail.com>
1387
d9a8d0ab
UD
1388 * math/math_private.h: Define defaults for libc_fetestexcept and
1389 libc_feupdateenv.
1390 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
1391 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
1392 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
1393 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
1394 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1395 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
1396 libc_fetestexcept and libc_feupdateenv.
1397
4855e3dd
UD
1398 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
1399 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
1400 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
1401 * sysdeps/x86_64/fpu/math_private.h: Define special version of
1402 libc_feholdexcept_setround.
1403
581d30e3
UD
1404 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
1405 Add s_nearbyint-c and s_nearbyintf-c.
1406 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
1407 nearbyintf inlines.
1408 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
1409 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
1410 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
1411 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
1412
d38f1dba
UD
1413 * math/math_private.h: Define defaults for libc_fegetround,
1414 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
1415 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
1416 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
1417 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
1418 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
1419 standard functions.
1420 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1421 Remove comments and hacks for old compiler versions.
1422 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
1423 libc_fegetround, libc_fesetround, libc_feholdexcept, and
1424 libc_feholdexceptl.
1425
caa6c9d8
AS
14262011-10-18 Andreas Schwab <schwab@redhat.com>
1427
1428 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
1429 (__feraiseexcept_renamed): Add __NTH.
1430 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
1431 namespace violations.
1432
97c066e6
UD
14332011-10-17 Ulrich Drepper <drepper@gmail.com>
1434
99ce7b04
UD
1435 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
1436
1004d182
UD
1437 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
1438
228a984d
UD
1439 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
1440 recently added interfaces.
1441 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
1442
c8553a6a
UD
1443 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
1444 about macro parameter expansion.
1445
ed22dcf6
UD
1446 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
1447 __NO_MATH_INLINES is defined. Cleanups.
1448
1449 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
1450 and __floorf is target has SSE4.1.
1451 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
1452 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
1453 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
1454 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
1455
b171c137
UD
1456 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
1457 name.
1458 (floorf): Likewise.
1459
97c066e6
UD
1460 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
1461
629f62ef
AS
14622011-10-17 Andreas Schwab <schwab@redhat.com>
1463
49a43d80
AS
1464 * misc/sys/cdefs.h: Fix last change.
1465
629f62ef
AS
1466 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
1467 database lookup.
1468
e453f6cd
UD
14692011-10-16 Ulrich Drepper <drepper@gmail.com>
1470
aa78043a
UD
1471 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
1472
ad0f5cad
UD
1473 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
1474 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1475 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1476 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1477 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1478 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1479 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1480 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1481 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1482 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
1483 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
1484 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
1485 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
1486 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
1487 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
1488 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
1489 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
1490 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
1491 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
1492 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
1493 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
1494 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
1495
1496 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
1497 ceil, ceilf, floor, floorf.
1498
1499 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
1500 Perform IRELATIVE relocations last.
1501
e453f6cd
UD
1502 * elf/do-rel.h: Add another parameter nrelative, replacing the
1503 local variable with the same name. Change name of the function
1504 to end in Rel or Rela (uppercase).
1505 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
1506 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
1507 elf_dynamic_do_##reloc function.
1508
fd5bdc09
UD
15092011-10-15 Ulrich Drepper <drepper@gmail.com>
1510
79b195b5
UD
1511 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
1512 is sufficient, at least on modern CPUs.
1513
d4a28569
UD
1514 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
1515
b61099b5
UD
1516 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
1517 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
1518
bcf01e6d
UD
1519 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
1520 __expl_finite.
1521 * math/bits/math-finite.h: Add entries for exp.
1522 * math/e_expl.c: Add __*_finite alias.
1523 * sysdeps/i386/fpu/e_exp.S: Likewise.
1524 * sysdeps/i386/fpu/e_expf.S: Likewise.
1525 * sysdeps/i386/fpu/e_expl.c: Likewise.
1526 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1527 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
1528 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1529 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1530 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
1531 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1532 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1533
ba1a0d59
UD
1534 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
1535 is sufficient, at least on modern CPUs.
1536
fd5bdc09
UD
1537 * ctype/ctype-info.c (__ctype_init): Define.
1538 * include/ctype.h (__ctype_init): Declare.
1539 (__ctype_b_loc): The variable is always initialized.
1540 (__ctype_toupper_loc): Likewise.
1541 (__ctype_tolower_loc): Likewise.
1542 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
1543 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
1544
7872cfb0
AS
15452011-10-15 Andreas Schwab <schwab@linux-m68k.org>
1546
b468825a
AS
1547 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
1548
7872cfb0
AS
1549 * configure.in: Also look in $cxxmachine/include for C++ system
1550 headers.
1551
be13f7bf
LD
15522011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1553
1554 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
1555 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
1556 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
1557 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
1558 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
1559 (USE_AS_WMEMCMP): New macro.
1560 Fixing indents.
1561 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
1562 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
1563 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
1564 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
1565 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1566 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
1567 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
1568 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
1569 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
1570 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
1571 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
1572 (USE_AS_WMEMCMP): New macro.
1573 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
1574 * sysdeps/string/test-memcmp.c: Update.
1575 Fix simple_wmemcmp.
1576 Add new tests.
1577 * wcsmbs/wmemcmp.c: Update.
1578 (WMEMCMP): New macro.
1579 Fix overflow bug.
1580
556a2007
AJ
15812011-10-12 Andreas Jaeger <aj@suse.de>
1582
1583 [BZ #13268]
1584 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
1585
538faaa7
UD
15862011-10-15 Ulrich Drepper <drepper@gmail.com>
1587
ab6737ff
UD
1588 * libio/iofwide.c (do_length): Avoid warning.
1589
538faaa7
UD
1590 * ctype/ctype.h (__isctype_f): Add missing __THROW.
1591
396a21b1
UD
15922011-10-14 Ulrich Drepper <drepper@gmail.com>
1593
cdf2901f
UD
1594 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
1595
38ad40ce
UD
1596 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
1597 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
1598 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
1599 * sysdeps/i386/i686/fpu/e_log.S: New file.
1600 * sysdeps/i386/i686/fpu/e_logf.S: New file.
1601 * sysdeps/i386/i686/fpu/e_logl.S: New file.
1602
396a21b1
UD
1603 * ctype/ctype.h: Add support for inlined isXXX functions when
1604 compiling C++ code.
1605
6b1f68c9
AS
16062011-10-14 Andreas Schwab <schwab@redhat.com>
1607
349290c0
AS
1608 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1609
6b1f68c9
AS
1610 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
1611
f2282d42
RM
16122011-10-13 Roland McGrath <roland@hack.frob.com>
1613
1614 [BZ #13291]
1615 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
1616
5298ffa8
AS
16172011-10-13 Andreas Schwab <schwab@redhat.com>
1618
714fad23
AS
1619 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
1620 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
1621 feraiseexcept.
1622
81dcc7fb
AS
1623 * sysdeps/x86_64/memrchr.S: Check for zero size.
1624
5298ffa8
AS
1625 * string/stratcliff.c: Add memrchr tests.
1626
951fbcec
LD
16272011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1628
1629 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1630 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
1631 rawmemchr-sse2 rawmemchr-sse2-bsf.
1632 * sysdeps/i386/i686/multiarch/memchr.S: New file.
1633 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
1634 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
1635 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
1636 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
1637 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
1638 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
1639 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
1640 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
1641 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
1642 * string/memrchr.c (MEMRCHR): New macro.
1643
0ac5ae23
UD
16442011-10-12 Ulrich Drepper <drepper@gmail.com>
1645
1646 Add integration with gcc's -ffinite-math-only and optimize wrapper
1647 functions in libm.
1648 * Versions.def: Define GLIBC_2.15 version for libm.
1649 * math/Makefile (headers): Add bits/math-finite.h.
1650 * math/bits/math-finite.h: New file.
1651 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
1652 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
1653 * math/e_acoshl.c: Add __*_finite alias.
1654 * math/e_acosl.c: Likewise.
1655 * math/e_asinl.c: Likewise.
1656 * math/e_atan2l.c: Likewise.
1657 * math/e_atanhl.c: Likewise.
1658 * math/e_coshl.c: Likewise.
1659 * math/e_exp10.c: Likewise.
1660 * math/e_exp10f.c: Likewise.
1661 * math/e_exp10l.c: Likewise.
1662 * math/e_exp2l.c: Likewise.
1663 * math/e_fmodl.c: Likewise.
1664 * math/e_gammal_r.c: Likewise.
1665 * math/e_hypotl.c: Likewise.
1666 * math/e_j0l.c: Likewise.
1667 * math/e_j1l.c: Likewise.
1668 * math/e_jnl.c: Likewise.
1669 * math/e_lgammal_r.c: Likewise.
1670 * math/e_log10l.c: Likewise.
1671 * math/e_log2l.c: Likewise.
1672 * math/e_logl.c: Likewise.
1673 * math/e_powl.c: Likewise.
1674 * math/e_sinhl.c: Likewise.
1675 * math/e_sqrtl.c: Likewise.
1676 * math/e_scalb.c: Completely rewritten and optimized.
1677 * math/e_scalbf.c: Likewise.
1678 * math/e_scalbl.c: Likewise.
1679 * math/w_acos.c: Likewise.
1680 * math/w_acosf.c: Likewise.
1681 * math/w_acosl.c: Likewise.
1682 * math/w_acosh.c: Likewise.
1683 * math/w_acoshf.c: Likewise.
1684 * math/w_acoshl.c: Likewise.
1685 * math/w_asin.c: Likewise.
1686 * math/w_asinf.c: Likewise.
1687 * math/w_asinl.c: Likewise.
1688 * math/w_atan2.c: Likewise.
1689 * math/w_atan2f.c: Likewise.
1690 * math/w_atan2l.c: Likewise.
1691 * math/w_atanh.c: Likewise.
1692 * math/w_atanhf.c: Likewise.
1693 * math/w_atanhl.c: Likewise.
1694 * math/w_exp10.c: Likewise.
1695 * math/w_exp10f.c: Likewise.
1696 * math/w_exp10l.c: Likewise.
1697 * math/w_fmod.c: Likewise.
1698 * math/w_fmodf.c: Likewise.
1699 * math/w_fmodl.c: Likewise.
1700 * math/w_j0.c: Likewise.
1701 * math/w_j0f.c: Likewise.
1702 * math/w_j0l.c: Likewise.
1703 * math/w_j1.c: Likewise.
1704 * math/w_j1f.c: Likewise.
1705 * math/w_j1l.c: Likewise.
1706 * math/w_jn.c: Likewise.
1707 * math/w_jnf.c: Likewise.
1708 * math/w_log.c: Likewise.
1709 * math/w_logf.c: Likewise.
1710 * math/w_logl.c: Likewise.
1711 * math/w_log10.c: Likewise.
1712 * math/w_log10f.c: Likewise.
1713 * math/w_log10l.c: Likewise.
1714 * math/w_log2.c: Likewise.
1715 * math/w_log2f.c: Likewise.
1716 * math/w_log2l.c: Likewise.
1717 * math/w_pow.c: Likewise.
1718 * math/w_powf.c: Likewise.
1719 * math/w_powl.c: Likewise.
1720 * math/w_remainder.c: Likewise.
1721 * math/w_remainderf.c: Likewise.
1722 * math/w_remainderl.c: Likewise.
1723 * math/w_scalb.c: Likewise.
1724 * math/w_scalbf.c: Likewise.
1725 * math/w_scalbl.c: Likewise.
1726 * math/w_sqrt.c: Likewise.
1727 * math/w_sqrtf.c: Likewise.
1728 * math/w_sqrtl.c: Likewise.
1729 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
1730 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
1731 used.
1732 * math/math_private.h: Declare __kernel_standard_f.
1733 * math/w_cosh.c: Remove cruft and optimize a bit.
1734 * math/w_coshf.c: Likewise.
1735 * math/w_coshl.c: Likewise.
1736 * math/w_exp2.c: Likewise.
1737 * math/w_exp2f.c: Likewise.
1738 * math/w_exp2l.c: Likewise.
1739 * math/w_hypot.c: Likewise.
1740 * math/w_hypotf.c: Likewise.
1741 * math/w_hypotl.c: Likewise.
1742 * math/w_lgamma.c: Likewise.
1743 * math/w_lgamma_r.c: Likewise.
1744 * math/w_lgammaf.c: Likewise.
1745 * math/w_lgammaf_r.c: Likewise.
1746 * math/w_lgammal.c: Likewise.
1747 * math/w_lgammal_r.c: Likewise.
1748 * math/w_sinh.c: Likewise.
1749 * math/w_sinhf.c: Likewise.
1750 * math/w_sinhl.c: Likewise.
1751 * math/w_tgamma.c: Likewise.
1752 * math/w_tgammaf.c: Likewise.
1753 * math/w_tgammal.c: Likewise.
1754 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1755 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1756 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
1757 Minor optimizations. Pretty printing. Remove cruft.
1758 * sysdeps/i386/fpu/e_acosf.S: Likewise.
1759 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1760 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1761 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1762 * sysdeps/i386/fpu/e_acosl.c: Likewise.
1763 * sysdeps/i386/fpu/e_asin.S: Likewise.
1764 * sysdeps/i386/fpu/e_asinf.S: Likewise.
1765 * sysdeps/i386/fpu/e_atan2.S: Likewise.
1766 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
1767 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
1768 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1769 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1770 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1771 * sysdeps/i386/fpu/e_exp10.S: Likewise.
1772 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
1773 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
1774 * sysdeps/i386/fpu/e_exp2.S: Likewise.
1775 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
1776 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
1777 * sysdeps/i386/fpu/e_fmod.S: Likewise.
1778 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
1779 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
1780 * sysdeps/i386/fpu/e_hypot.S: Likewise.
1781 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
1782 * sysdeps/i386/fpu/e_log.S: Likewise.
1783 * sysdeps/i386/fpu/e_log10.S: Likewise.
1784 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1785 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1786 * sysdeps/i386/fpu/e_log2.S: Likewise.
1787 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1788 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1789 * sysdeps/i386/fpu/e_logf.S: Likewise.
1790 * sysdeps/i386/fpu/e_logl.S: Likewise.
1791 * sysdeps/i386/fpu/e_pow.S: Likewise.
1792 * sysdeps/i386/fpu/e_powf.S: Likewise.
1793 * sysdeps/i386/fpu/e_powl.S: Likewise.
1794 * sysdeps/i386/fpu/e_remainder.S: Likewise.
1795 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
1796 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
1797 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1798 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1799 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1800 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
1801 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
1802 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
1803 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1804 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1805 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1806 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1807 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1808 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1809 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
1810 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1811 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1812 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1813 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1814 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1815 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1816 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1817 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1818 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1819 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1820 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1821 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1822 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1823 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1824 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1825 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1826 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1827 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1828 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1829 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
1830 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1831 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
1832 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1833 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1834 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1835 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1836 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1837 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1838 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1839 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1840 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1841 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1842 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1843 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1844 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1845 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1846 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1847 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1848 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1849 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1850 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1851 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1852 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1853 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1854 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1855 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1856 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1857 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1858 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1859 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1860 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1861 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1862 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1863 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1864 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1865 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1866 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1867 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1868 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1869 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1870 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1871 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
1872 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1873 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1874 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1875 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1876 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1877 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1878 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1879 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
1880 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1881 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1882 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1883 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1884 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1885 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
1886 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1887 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1888 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1889 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1890 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1891 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1892 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1893 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1894 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1895 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1896 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
1897 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
1898 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
1899 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
1900 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
1901 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
1902 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
1903 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
1904 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
1905 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
1906 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
1907 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1908 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1909 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1910 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1911 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
1912 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1913 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
1914 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
1915 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
1916 (__isnanf): Likewise.
1917 (__isinf_ns): Likewise.
1918 (__isinf_nsf): Likewise.
1919 (__finite): Likewise.
1920 (__finitef): Likewise.
1921 (__ieee754_sqrt): Define as macro.
1922 (__ieee754_sqrtf): Define as macro.
1923 (__ieee754_sqrtl): Define as macro.
1924 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
1925 inlined copy.
1926 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
1927 __FINITE_MATH_ONLY__ consistent.
1928 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
1929
12cc2fcd
AS
19302011-10-10 Andreas Schwab <schwab@linux-m68k.org>
1931
a843a204
AS
1932 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
1933 of rawmemchr.
1934
12cc2fcd
AS
1935 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
1936
c853acd5
UD
19372011-10-09 Ulrich Drepper <drepper@gmail.com>
1938
1939 * po/ja.po: Update from translation team.
1940
c658d255
RM
19412011-10-08 Roland McGrath <roland@hack.frob.com>
1942
110946e4
RM
1943 * locale/programs/locarchive.c (prepare_address_space): New function.
1944 (create_archive, enlarge_archive, open_archive): Use it.
1945
50604220
RM
1946 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
1947 inside [SHARED], where it is used.
1948
c658d255
RM
1949 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
1950
1951 * nss/getent.c (netgroup_keys): Remove unused variable.
1952 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1953
6a621eb7
UD
19542011-10-08 Ulrich Drepper <drepper@gmail.com>
1955
7edb55ce
UD
1956 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
1957 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
1958 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
1959 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
1960 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
1961 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
1962 * math/Makefile (libm-calls): Add s_isinf_ns.
1963 * math/divtc3.c: Use __isinf_nsl instead of isinf.
1964 * math/multc3.c: Likewise.
1965 * math/s_casin.c: Likewise.
1966 * math/s_casinf.c: Likewise.
1967 * math/s_casinl.c: Likewise.
1968 * math/s_ccos.c: Likewise.
1969 * math/s_ccosf.c: Likewise.
1970 * math/s_ccosl.c: Likewise.
1971 * math/s_ctan.c: Likewise.
1972 * math/s_ctanf.c: Likewise.
1973 * math/s_ctanh.c: Likewise.
1974 * math/s_ctanhf.c: Likewise.
1975 * math/s_ctanhl.c: Likewise.
1976 * math/s_ctanl.c: Likewise.
1977 * math/w_fmod.c: Likewise.
1978 * math/w_fmodf.c: Likewise.
1979 * math/w_fmodl.c: Likewise.
1980 * math/w_remainder.c: Likewise.
1981 * math/w_remainderf.c: Likewise.
1982 * math/w_remainderl.c: Likewise.
1983 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
1984 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
1985 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
1986 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
1987 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
1988 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
1989 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
1990 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
1991
187da0ae
UD
1992 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
1993 of the number.
1994 * stdio-common/printf_fphex.c: Likewise.
1995 * stdio-common/printf_size.c: Likewise.
1996
9277c064
UD
1997 * math/e_exp10.c: Include math_private.h using <...> not "...".
1998 * math/e_exp10f.c: Likewise.
1999 * math/e_exp10l.c: Likewise.
2000 * math/e_exp2l.c: Likewise.
2001 * math/e_j0l.c: Likewise.
2002 * math/e_j1l.c: Likewise.
2003 * math/e_jnl.c: Likewise.
2004 * math/e_lgammal_r.c: Likewise.
2005 * math/e_rem_pio2l.c: Likewise.
2006 * math/e_scalb.c: Likewise.
2007 * math/e_scalbf.c: Likewise.
2008 * math/e_scalbl.c: Likewise.
2009 * math/k_cosl.c: Likewise.
2010 * math/k_sinl.c: Likewise.
2011 * math/k_tanl.c: Likewise.
2012 * math/s_cacoshf.c: Likewise.
2013 * math/s_catan.c: Likewise.
2014 * math/s_catanf.c: Likewise.
2015 * math/s_catanh.c: Likewise.
2016 * math/s_catanhf.c: Likewise.
2017 * math/s_catanhl.c: Likewise.
2018 * math/s_catanl.c: Likewise.
2019 * math/s_ccosh.c: Likewise.
2020 * math/s_ccoshf.c: Likewise.
2021 * math/s_ccoshl.c: Likewise.
2022 * math/s_cexp.c: Likewise.
2023 * math/s_cexpf.c: Likewise.
2024 * math/s_cexpl.c: Likewise.
2025 * math/s_clog.c: Likewise.
2026 * math/s_clog10.c: Likewise.
2027 * math/s_clog10f.c: Likewise.
2028 * math/s_clog10l.c: Likewise.
2029 * math/s_clogf.c: Likewise.
2030 * math/s_clogl.c: Likewise.
2031 * math/s_csin.c: Likewise.
2032 * math/s_csinf.c: Likewise.
2033 * math/s_csinh.c: Likewise.
2034 * math/s_csinhf.c: Likewise.
2035 * math/s_csinhl.c: Likewise.
2036 * math/s_csinl.c: Likewise.
2037 * math/s_csqrt.c: Likewise.
2038 * math/s_csqrtf.c: Likewise.
2039 * math/s_csqrtl.c: Likewise.
2040 * math/s_ctan.c: Likewise.
2041 * math/s_ctanf.c: Likewise.
2042 * math/s_ctanh.c: Likewise.
2043 * math/s_ctanhf.c: Likewise.
2044 * math/s_ctanhl.c: Likewise.
2045 * math/s_ctanl.c: Likewise.
2046 * math/s_ldexp.c: Likewise.
2047 * math/s_ldexpf.c: Likewise.
2048 * math/s_ldexpl.c: Likewise.
2049 * math/s_significand.c: Likewise.
2050 * math/s_significandf.c: Likewise.
2051 * math/s_significandl.c: Likewise.
2052 * math/w_acos.c: Likewise.
2053 * math/w_acosf.c: Likewise.
2054 * math/w_acosh.c: Likewise.
2055 * math/w_acoshf.c: Likewise.
2056 * math/w_acoshl.c: Likewise.
2057 * math/w_acosl.c: Likewise.
2058 * math/w_asin.c: Likewise.
2059 * math/w_asinf.c: Likewise.
2060 * math/w_asinl.c: Likewise.
2061 * math/w_atan2.c: Likewise.
2062 * math/w_atan2f.c: Likewise.
2063 * math/w_atan2l.c: Likewise.
2064 * math/w_atanh.c: Likewise.
2065 * math/w_atanhf.c: Likewise.
2066 * math/w_atanhl.c: Likewise.
2067 * math/w_cosh.c: Likewise.
2068 * math/w_coshf.c: Likewise.
2069 * math/w_coshl.c: Likewise.
2070 * math/w_dremf.c: Likewise.
2071 * math/w_exp10.c: Likewise.
2072 * math/w_exp10f.c: Likewise.
2073 * math/w_exp10l.c: Likewise.
2074 * math/w_exp2.c: Likewise.
2075 * math/w_exp2f.c: Likewise.
2076 * math/w_fmod.c: Likewise.
2077 * math/w_fmodf.c: Likewise.
2078 * math/w_fmodl.c: Likewise.
2079 * math/w_hypot.c: Likewise.
2080 * math/w_hypotf.c: Likewise.
2081 * math/w_hypotl.c: Likewise.
2082 * math/w_j0.c: Likewise.
2083 * math/w_j0f.c: Likewise.
2084 * math/w_j0l.c: Likewise.
2085 * math/w_j1.c: Likewise.
2086 * math/w_j1f.c: Likewise.
2087 * math/w_j1l.c: Likewise.
2088 * math/w_jn.c: Likewise.
2089 * math/w_jnf.c: Likewise.
2090 * math/w_jnl.c: Likewise.
2091 * math/w_lgamma.c: Likewise.
2092 * math/w_lgamma_r.c: Likewise.
2093 * math/w_lgammaf.c: Likewise.
2094 * math/w_lgammaf_r.c: Likewise.
2095 * math/w_lgammal.c: Likewise.
2096 * math/w_lgammal_r.c: Likewise.
2097 * math/w_log.c: Likewise.
2098 * math/w_log10.c: Likewise.
2099 * math/w_log10f.c: Likewise.
2100 * math/w_log10l.c: Likewise.
2101 * math/w_log2.c: Likewise.
2102 * math/w_log2f.c: Likewise.
2103 * math/w_log2l.c: Likewise.
2104 * math/w_logf.c: Likewise.
2105 * math/w_logl.c: Likewise.
2106 * math/w_pow.c: Likewise.
2107 * math/w_powf.c: Likewise.
2108 * math/w_powl.c: Likewise.
2109 * math/w_remainder.c: Likewise.
2110 * math/w_remainderf.c: Likewise.
2111 * math/w_remainderl.c: Likewise.
2112 * math/w_scalb.c: Likewise.
2113 * math/w_scalbf.c: Likewise.
2114 * math/w_scalbl.c: Likewise.
2115 * math/w_sinh.c: Likewise.
2116 * math/w_sinhf.c: Likewise.
2117 * math/w_sinhl.c: Likewise.
2118 * math/w_sqrt.c: Likewise.
2119 * math/w_sqrtf.c: Likewise.
2120 * math/w_sqrtl.c: Likewise.
2121 * math/w_tgamma.c: Likewise.
2122 * math/w_tgammaf.c: Likewise.
2123 * math/w_tgammal.c: Likewise.
2124
6a621eb7
UD
2125 * po/ja.po: Update from translation team.
2126
bf582445
AJ
21272011-09-29 Andreas Jaeger <aj@suse.de>
2128
f9efbf3a
AJ
2129 [BZ #13179]
2130 * sunrpc/netname.c (netname2host): Fix logic.
2131
bf582445
AJ
2132 [BZ #6779]
2133 [BZ #6783]
2134 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
2135 correctly.
2136 * math/w_remainder.c (__remainder): Likewise.
2137 * math/w_remainderf.c (__remainderf): Likewise.
2138 * math/libm-test.inc (remainder_test): Add test cases.
2139
48693bea
AK
21402011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2141
2142 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
2143 sdiv_qrnnd.
2144
42622229
LD
21452011-10-07 Ulrich Drepper <drepper@gmail.com>
2146
2147 * string/test-memcmp.c: Avoid unncessary #defines.
2148 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
2149
093ecf92
LD
21502011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2151
2152 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
2153 Use new sse2 version for core i3 - i7 as it's faster
2154 than sse42 version.
2155 (bit_Prefer_PMINUB_for_stringop): New.
2156 * sysdeps/x86_64/rawmemchr.S: Update.
2157 Replace with faster SSE2 version.
2158 * sysdeps/x86_64/memrchr.S: New file.
2159 * sysdeps/x86_64/memchr.S: Update.
2160 Replace with faster SSE2 version.
2161
fde56e5c
MP
21622011-09-12 Marek Polacek <mpolacek@redhat.com>
2163
2164 * elf/dl-load.c (lose): Add cast to avoid warning.
2165
21fd49a9
UD
21662011-10-07 Ulrich Drepper <drepper@gmail.com>
2167
5a06e643
UD
2168 * po/ca.po: Update from translation team.
2169
684ae515
UD
2170 * inet/getnetgrent_r.c: Hook up nscd.
2171 * nscd/Makefile (routines): Add nscd_netgroup.
2172 (nscd-modules): Add netgroupcache.
2173 (CFLAGS-netgroupcache.c): Define.
2174 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
2175 (cache_search): Add const to second parameter.
2176 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
2177 INNETGR.
2178 (dbs): Add netgrdb entry.
2179 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
2180 (verify_persistent_db): Handle netgrdb.
2181 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
2182 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
2183 GETFDNETGR.
2184 (netgroup_response_header): Define.
2185 (innetgroup_response_header): Define.
2186 (datahead): Add netgroup_response_header and innetgroup_response_header
2187 elements.
2188 * nscd/nscd.conf: Add entries for netgroup cache.
2189 * nscd/nscd.h (dbtype): Add netgrdb.
2190 (_PATH_NSCD_NETGROUP_DB): Define.
2191 (netgroup_iov_disabled): Declare.
2192 (xmalloc, xcalloc, xrealloc): Move declarations here.
2193 (cache_search): Adjust prototype.
2194 Add netgroup-related prototypes.
2195 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
2196 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
2197 (__nscd_innetgr): Declare.
2198 * nscd/selinux.c (perms): Use access_vector_t as element type and
2199 add netgroup-related initializers.
2200 * nscd/netgroupcache.c: New file.
2201 * nscd/nscd_netgroup.c: New file.
2202 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
2203 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
2204 For four parameters use innetgr.
2205 * nss/nss_files/files-init.c: Add definition and callback for netgr.
2206 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
2207 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
2208 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
2209
21fd49a9
UD
2210 * nscd/connections.c (register_traced_file): Don't register file
2211 for disabled databases.
2212
054c0457
UD
22132011-10-06 Ulrich Drepper <drepper@gmail.com>
2214
32b63198
UD
2215 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
2216
054c0457
UD
2217 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
2218 from tree and freeing node.
2219
64031225
JO
22202011-09-25 Jiri Olsa <jolsa@redhat.com>
2221
2222 * nss/nsswitch.c (__nss_database_lookup): Handle
2223 nss_parse_service_list out of memory case.
2224
0490345c
JO
22252011-09-15 Jiri Olsa <jolsa@redhat.com>
2226
2227 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
2228 out of memory case.
2229
3a62d00d
AS
22302011-10-04 Andreas Schwab <schwab@redhat.com>
2231
2232 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
2233 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
2234 pass it down.
2235 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
2236 elf_machine_rela, elf_machine_lazy_rel.
2237 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
2238 (ELF_DYNAMIC_DO_REL): Likewise.
2239 (ELF_DYNAMIC_DO_RELA): Likewise.
2240 (ELF_DYNAMIC_RELOCATE): Likewise.
2241 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
2242 to ELF_DYNAMIC_DO_REL.
2243 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
2244 (dl_main): In trace mode always set __RTLD_NOIFUNC.
2245 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
2246 elf_machine_rela.
2247 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
2248 skip_ifunc, don't call ifunc function if non-zero.
2249 (elf_machine_rela): Likewise.
2250 (elf_machine_lazy_rel): Likewise.
2251 (elf_machine_lazy_rela): Likewise.
2252 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
2253 (elf_machine_lazy_rel): Likewise.
2254 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
2255 Likewise.
2256 (elf_machine_lazy_rel): Likewise.
2257 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2258 Likewise.
2259 (elf_machine_lazy_rel): Likewise.
2260 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
2261 (elf_machine_lazy_rel): Likewise.
2262 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
2263 (elf_machine_lazy_rel): Likewise.
2264 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2265 (elf_machine_lazy_rel): Likewise.
2266 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
2267 (elf_machine_lazy_rel): Likewise.
2268 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2269 (elf_machine_lazy_rel): Likewise.
2270 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2271 (elf_machine_lazy_rel): Likewise.
2272
68577918
UD
22732011-09-28 Ulrich Drepper <drepper@gmail.com>
2274
2275 * nss/nss_files/files-init.c (_nss_files_init): Use static
2276 initialization for all the *_traced_file variables.
2277
68822d74
AS
22782011-09-28 Andreas Schwab <schwab@redhat.com>
2279
2280 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2281
2056100b
RM
22822011-09-27 Roland McGrath <roland@hack.frob.com>
2283
2284 [BZ #13226]
2285 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
2286
32c76b63
AS
22872011-09-27 Andreas Schwab <schwab@redhat.com>
2288
2289 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
2290 Reread the line before reparsing it.
2291
bf972c9d
AS
22922011-09-26 Andreas Schwab <schwab@redhat.com>
2293
2294 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
2295
e057a1b5
JM
22962011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
2297 Maxim Kuvyrkov <maxim@codesourcery.com>
2298 Joseph Myers <joseph@codesourcery.com>
2299
2300 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
2301 if needed for __stack_chk_guard.
2302
bc7e1c36
RM
23032011-09-19 Roland McGrath <roland@hack.frob.com>
2304
ecb1482f
RM
2305 * sysdeps/posix/spawni.c (script_execute): Always define it.
2306 It will be optimized away if unused.
2307 (maybe_script_execute): New function.
2308 (__spawni): Call it.
2309
bc7e1c36
RM
2310 * Makerules: Don't include tls.make.
2311 (config-tls): Always set to thread.
2312 * tls.make.c: File removed.
2313
1c3b002b
MF
23142011-09-19 Mike Frysinger <vapier@gentoo.org>
2315
2316 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
2317 * config.make.in (CPPFLAGS-config): New substituted variable.
2318
2840865d
UD
23192011-09-15 Ulrich Drepper <drepper@gmail.com>
2320
88738eb6
UD
2321 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
2322
cbf645a6 2323 [BZ #13192]
2840865d
UD
2324 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
2325 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
2326
b402e91a
RM
23272011-09-15 Roland McGrath <roland@hack.frob.com>
2328
2329 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
2330 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
2331 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
2332 (CALL_FAIL): Likewise.
2333 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
2334 (CALL_FAIL): Macro removed.
2335 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
2336
4c1a1f71
UD
23372011-09-15 Ulrich Drepper <drepper@gmail.com>
2338
2339 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
2340 for __FINITE_MATH_ONLY__ == 1.
2341
edc121be
AS
23422011-09-15 Andreas Schwab <schwab@redhat.com>
2343
2344 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
2345 __ieee754_sqrt instead of sqrt.
2346 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
2347 __ieee754_sqrtf instead of sqrtf.
2348 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
2349 __floorf instead of floorf.
2350 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
2351 __floorf, __truncf instead of floorf, truncf.
2352
cd205654
UD
23532011-09-14 Ulrich Drepper <drepper@gmail.com>
2354
ee4d0315
UD
2355 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
2356
cd205654
UD
2357 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
2358 __extern_always_inline.
2359 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
2360 32-bit.
2361
48b67d71
AS
23622011-09-14 Andreas Schwab <schwab@redhat.com>
2363
2364 * elf/rtld.c (dl_main): Also relocate in dependency order when
2365 doing symbol dependency testing.
2366
1ae12c75
AS
23672011-09-13 Andreas Schwab <schwab@linux-m68k.org>
2368
2369 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2370 Always define `refsym'.
2371
995a80df
AS
23722011-09-13 Andreas Schwab <schwab@redhat.com>
2373
e529793b
AS
2374 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
2375 (__FD_ELT): Renamed from __FDELT.
2376 * misc/bits/select2.h (__FD_ELT): Likewise.
2377 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
2378 __FD_MASK instead of __FDELT, __FDMASK.
2379 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
2380 Likewise.
2381 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
2382 Likewise.
2383
52d4fef8
AS
2384 * elf/Makefile (gen-ldd): Fix pattern.
2385
995a80df
AS
2386 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
2387 (init_tls): Likewise.
2388
8682f8b0
UD
23892011-09-12 Ulrich Drepper <drepper@gmail.com>
2390
2391 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
2392
de82006d
AS
23932011-09-12 Andreas Schwab <schwab@redhat.com>
2394
a7c8e6a1
AS
2395 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
2396 `struct cmsghdr *' instead of `void *'.
2397 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
2398 Likewise.
2399
0f31fe77
AS
24002011-09-11 Andreas Schwab <schwab@linux-m68k.org>
2401
2402 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
2403 if non-absolute.
2404 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
2405 ldd_rewrite_script.
0f31fe77 2406
32b4c839
UD
24072011-09-11 Ulrich Drepper <drepper@gmail.com>
2408
83cd1420
UD
2409 * configure.in: Remove --with-tls option.
2410 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
2411 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
2412 out in case it is missing.
2413 * sysdeps/ia64/elf/configure.in: Likewise.
2414 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
2415 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
2416 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
2417 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
2418 * sysdeps/sh/elf/configure.in: Likewise.
2419 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
2420 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
2421 * sysdeps/x86_64/elf/configure.in: Likewise.
2422 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
2423 * sysdeps/mach/hurd/tls.h: Likewise.
2424
633f745d
UD
2425 [BZ #13067]
2426 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
2427
f318beb8
UD
2428 [BZ #13090]
2429 * configure.in: Fix use of AC_INIT.
2430
32b4c839
UD
2431 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
2432
3ce1f295
UD
24332011-09-10 Ulrich Drepper <drepper@gmail.com>
2434
bb016596
UD
2435 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
2436 __set_errno.
8e58439c
UD
2437 * malloc/hooks.c: Likewise.
2438
02d46fc4
UD
2439 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
2440 variables statically.
2441 (narenas): Initialize.
2442 (list_lock): Initialize.
bb016596
UD
2443 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
2444 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
2445 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
2446 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
2447 Add initializers to main_arena and mp_.
2448 (malloc_state): Remove pagesize member. Change all users to use
2449 GLRO(dl_pagesize).
2450
2451 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
2452 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
2453 is always initialized.
2454
22a89187
UD
2455 * malloc/malloc.c: Removed unused configurations and dead code.
2456 * malloc/arena.c: Likewise.
2457 * malloc/hooks.c: Likewise.
02d46fc4 2458 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 2459
d063d164
UD
2460 * include/tls.h: Removed. USE___THREAD must always be defined.
2461 * bits/libc-tsd.h: Don't handle !USE___THREAD.
2462 * elf/dl-libc.c: Likewise.
2463 * elf/dl-tsd.c: Likewise.
2464 * include/errno.h: Likewise.
2465 * include/netdb.h: Likewise.
2466 * include/resolv.h: Likewise.
2467 * inet/herrno-loc.c: Likewise.
2468 * inet/herrno.c: Likewise.
2469 * malloc/arena.c: Likewise.
2470 * malloc/hooks.c: Likewise.
2471 * malloc/malloc.c: Likewise.
2472 * resolv/res-state.c: Likewise.
2473 * resolv/res_libc.c: Likewise.
2474 * sysdeps/i386/dl-machine.h: Likewise.
2475 * sysdeps/ia64/dl-machine.h: Likewise.
2476 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2477 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2478 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2479 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2480 * sysdeps/sh/dl-machine.h: Likewise.
2481 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2482 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2483 * sysdeps/unix/i386/sysdep.S: Likewise.
2484 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2485 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
2486 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
2487 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2488 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
2489 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2490 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2491 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2492 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2493 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2494 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2495 * sysdeps/x86_64/dl-machine.h: Likewise.
2496 * tls.make.c: Likewise.
2497
3ce1f295
UD
2498 * configure.in: Remove --with-__thread option. Make tests for
2499 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
2500 tls_model attribute fail if no support is available. Remove
2501 USE_IN_LIBIO.
2502 * Makeconfig: Adjust for dropped configure option. All features are
2503 now mandatory.
2504 * Makerules: Likewise.
2505 * Versions.def: Likewise.
2506 * argp/argp-fmtstream.c: Likewise.
2507 * argp/argp-fmtstream.h: Likewise.
2508 * argp/argp-help.c: Likewise.
2509 * assert/assert.c: Likewise.
2510 * config.h.in: Likewise.
2511 * config.make.in: Likewise.
2512 * configure: Likewise.
2513 * configure.in: Likewise.
2514 * csu/Versions: Likewise.
2515 * csu/init.c: Likewise.
2516 * elf/tst-audit2.c: Likewise.
2517 * elf/tst-tls10.c: Likewise.
2518 * elf/tst-tls10.h: Likewise.
2519 * elf/tst-tls11.c: Likewise.
2520 * elf/tst-tls12.c: Likewise.
2521 * elf/tst-tls14.c: Likewise.
2522 * elf/tst-tlsmod11.c: Likewise.
2523 * elf/tst-tlsmod12.c: Likewise.
2524 * elf/tst-tlsmod13.c: Likewise.
2525 * elf/tst-tlsmod13a.c: Likewise.
2526 * elf/tst-tlsmod14a.c: Likewise.
2527 * elf/tst-tlsmod15b.c: Likewise.
2528 * elf/tst-tlsmod16a.c: Likewise.
2529 * elf/tst-tlsmod16b.c: Likewise.
2530 * elf/tst-tlsmod7.c: Likewise.
2531 * elf/tst-tlsmod8.c: Likewise.
2532 * elf/tst-tlsmod9.c: Likewise.
2533 * gmon/gmon.c: Likewise.
2534 * grp/fgetgrent_r.c: Likewise.
2535 * grp/putgrent.c: Likewise.
2536 * hurd/fopenport.c: Likewise.
2537 * include/libc-symbols.h: Likewise.
2538 * include/tls.h: Likewise.
2539 * intl/gettextP.h: Likewise.
2540 * intl/loadinfo.h: Likewise.
2541 * locale/global-locale.c: Likewise.
2542 * locale/localeinfo.h: Likewise.
2543 * mach/devstream.c: Likewise.
2544 * malloc/arena.c: Likewise.
2545 * malloc/set-freeres.c: Likewise.
2546 * misc/err.c: Likewise.
2547 * misc/getttyent.c: Likewise.
2548 * misc/mntent_r.c: Likewise.
2549 * posix/getopt.c: Likewise.
2550 * posix/wordexp.c: Likewise.
2551 * pwd/fgetpwent_r.c: Likewise.
2552 * resolv/Versions: Likewise.
2553 * resolv/res_hconf.c: Likewise.
2554 * shadow/fgetspent_r.c: Likewise.
2555 * shadow/putspent.c: Likewise.
2556 * stdio-common/printf_fphex.c: Likewise.
2557 * stdio-common/tmpfile.c: Likewise.
2558 * stdlib/abort.c: Likewise.
2559 * stdlib/fmtmsg.c: Likewise.
2560 * sunrpc/auth_unix.c: Likewise.
2561 * sunrpc/clnt_perr.c: Likewise.
2562 * sunrpc/clnt_tcp.c: Likewise.
2563 * sunrpc/clnt_udp.c: Likewise.
2564 * sunrpc/clnt_unix.c: Likewise.
2565 * sunrpc/openchild.c: Likewise.
2566 * sunrpc/svc_simple.c: Likewise.
2567 * sunrpc/svc_tcp.c: Likewise.
2568 * sunrpc/svc_udp.c: Likewise.
2569 * sunrpc/svc_unix.c: Likewise.
2570 * sunrpc/xdr.c: Likewise.
2571 * sunrpc/xdr_array.c: Likewise.
2572 * sunrpc/xdr_rec.c: Likewise.
2573 * sunrpc/xdr_ref.c: Likewise.
2574 * sunrpc/xdr_stdio.c: Likewise.
2575
1248c1c4
PB
25762011-09-09 Ulrich Drepper <drepper@gmail.com>
2577
2578 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2579
25802011-07-03 Andreas Jaeger <aj@suse.de>
2581
2582 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
2583 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
2584 regenerate with gen-libm-tests.pl.
2585
25862010-05-12 Petr Baudis <pasky@suse.cz>
2587
2588 [BZ #11589]
2589 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
2590 around j0() zero points by switching to j1().
2591 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2592 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2593 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2594 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2595
f22e1074
UD
25962011-09-09 Ulrich Drepper <drepper@gmail.com>
2597
f19009c1
UD
2598 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
2599 instead of 0.
2600 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
2601 instead of 0. .
2602 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2603 Patch in part by Pavel Roskin <proski@gnu.org>.
2604
3f8cc204
UD
2605 [BZ #13138]
2606 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
2607 realloc.
2608 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
2609 Free memory block if necessary.
2610
f22e1074
UD
2611 [BZ #12847]
2612 * libio/genops.c (INTDEF): For string streams the _lock pointer can
2613 be NULL. Don't lock in this case.
2614
0a2349f9
RM
26152011-09-09 Roland McGrath <roland@hack.frob.com>
2616
2617 * elf/elf.h (ELFOSABI_GNU): New macro.
2618 (ELFOSABI_LINUX): Define to that.
2619
f3cdd467
DZ
26202011-07-29 Denis Zaitceff <zaitceff@gmail.com>
2621
2622 * string/strncat.c (strncat): Undef the symbol in case it has been
2623 defined in bits/string.h.
2624
74718d13
UD
26252011-09-09 Ulrich Drepper <drepper@gmail.com>
2626
633e9e0f
UD
2627 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
2628
0a2349f9 2629 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
2630 link map.
2631
f9924780
AJ
26322011-08-17 Andreas Jaeger <aj@suse.de>
2633
2634 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
2635
7f5517aa
PP
26362011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2637 Ian Lance Taylor <iant@google.com>
2638
2639 * math/libm-test.inc (lround_test): New testcase.
2640 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
2641
762011fe
UD
26422011-09-08 Ulrich Drepper <drepper@gmail.com>
2643
92963737
UD
2644 * Makefile: Remove support for automatic cvs check-ins.
2645 * Makerules: Likewise.
2646 * config.make.in: Likewise.
2647 * configure.in: Likewise.
2648 * intl/Makefile: Likewise.
2649 * locale/Makefile: Likewise.
2650 * po/Makefile: Likewise.
2651 * posix/Makefile: Likewise.
2652 * sysdeps/gnu/Makefile: Likewise.
2653 * sysdeps/mach/hurd/Makefile: Likewise.
2654 * sysdeps/sparc/sparc32/Makefile: Likewise.
2655
b0727fd8
JS
2656 [BZ #13118]
2657 * posix/Makefile (bug-regex32-ENV): Define.
2658 Patch by John Stanley <jpsinthemix@verizon.net>.
2659
a0f33f99
UD
2660 * misc/Makefile (headers): Add bits/select2.h.
2661 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
2662 * misc/bits/select2.h: New file.
2663 * include/bits/select2.h: New file.
2664 * debug/Makefile (routines): Add fdelt_chk.
2665 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
2666 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
2667 FD_ISSET.
2668 * debug/fdelt_chk.c: New file.
2669
762011fe
UD
2670 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
2671 * wcsmbs/test-wmemcmp.c: Likewise.
2672 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 2673 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
2674
26752011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2676
2677 * string/Makefile (strop-tests): Add memcmp.
2678 * string/test-wmemcmp.c: New file.
2679 * string/test-memcmp.c: Add wmemcmp support.
2680
7f513ec8
RM
26812011-09-08 Roland McGrath <roland@hack.frob.com>
2682
0442afb4
RM
2683 [BZ #13153]
2684 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
2685 2011-07-19 change.
2686
7f513ec8
RM
2687 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
2688 garbage value in a __mach_port_mod_refs call in the cases of the
2689 task-self and thread-self ports.
2690
a12b2239
ST
26912011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
2692
2693 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
2694
610f9ab4
AS
26952011-09-08 Andreas Schwab <schwab@redhat.com>
2696
7f513ec8 2697 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 2698
48882a1a
LD
26992011-09-07 Ulrich Drepper <drepper@gmail.com>
2700
b49865be
UD
2701 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
2702
fdc86bc9
UD
2703 * elf/dl-libc.c (dlerror_run): Pass back error code from
2704 dl_catch_error.
2705
c966526a
UD
2706 [BZ #13123]
2707 * elf/dl-load.c (lose): Free l_origin if it is valid.
2708
48882a1a
LD
2709 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
2710 names.
2711 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
2712 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2713 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
2714 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
2715 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
2716 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
2717
77a2a8b4
AZ
27182011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2719
2720 * sysdeps/powerpc/fpu/e_hypot.c: New file.
2721 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
2722 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
2723 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
2724 * sysdeps/powerpc/fpu/k_cosf.c: New file.
2725 * sysdeps/powerpc/fpu/k_sinf.c: New file.
2726 * sysdeps/powerpc/fpu/s_cosf.c: New file.
2727 * sysdeps/powerpc/fpu/s_sinf.c: New file.
2728 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
2729 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
2730
24f579d8
AM
27312011-08-15 Alan Modra <amodra@gmail.com>
2732
2733 [BZ #13092]
2734 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
2735 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
2736 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
2737 ppc_mcount to static-only-routines.
2738 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
2739 __mcount_internal.
2740 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
2741 __mcount_internal with usual JUMPTARGET. Remove useless nop.
2742
3d4837df
UD
27432011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
2744
2745 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
2746 for finite and infinity parameters.
2747
22700377
WS
27482011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
2749
2750 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
2751 and add nop instructions for throughput optimization.
2752 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2753
5025581e
WS
27542011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
2755
2756 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
2757 aligned copy for power7 with vector-scalar instructions.
2758 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2759
08a300c9
L
27602011-07-24 H.J. Lu <hongjiu.lu@intel.com>
2761
2762 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
2763 AVX check.
2764
59178ef9
AS
27652011-09-07 Andreas Schwab <schwab@redhat.com>
2766
2767 [BZ #13144]
2768 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
2769 last change.
2770
e38ba7ab
UD
27712011-09-07 Ulrich Drepper <drepper@gmail.com>
2772
2773 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2774 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
2775 syscall wrapper around clock_gettime in __vdso_clock_gettime.
2776 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
2777 clock_gettime.
2778
d53a73ac
UD
27792011-09-06 Ulrich Drepper <drepper@gmail.com>
2780
fc8bffcc
UD
2781 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
2782 Forgot to demangle the pointer.
2783
ceaa0c5d
UD
2784 * sysdeps/i386/sysdep.h: Define atom_text_section.
2785 * sysdeps/x86_64/sysdep.h: Likewise.
2786 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
2787 section with atom_text_section.
2788 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2789 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
2790 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
2791 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
2792 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
2793
a77d3c17
UD
2794 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
2795 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
2796 already be defined. Change to take two parameters and don't assign
2797 result to variable. Adjust all users.
2798 Define INTERNAL_GETTIME if not already defined.
2799 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
2800 call.
2801 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
2802 HAVE_CLOCK_GETTIME_VSYSCALL.
2803 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
2804
d53a73ac
UD
2805 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
2806 gettimeofday vsyscall, just use time.
2807
a8f84144
AS
28082011-09-06 Andreas Schwab <schwab@redhat.com>
2809
2810 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
2811 <errno.h>.
2812
ef606249
UD
28132011-09-06 Ulrich Drepper <drepper@gmail.com>
2814
2815 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
2816 syscall on x86-64.
2817 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
2818 syscall.
2819 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
2820 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
2821 syscall if possible.
2822
6585cb60
UD
28232011-09-05 Ulrich Drepper <drepper@gmail.com>
2824
2825 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
2826 e_ident. Don't pass to find_mapsXX.
2827 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
2828
a5f524e4
LD
28292011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2830
2831 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2832 strchr-sse2-no-bsf strrchr-sse2-no-bsf
2833 * sysdeps/x86_64/multiarch/strchr.S: Update.
2834 Check bit_slow_BSF bit.
2835 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2836 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
2837 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
2838
554881ef
UD
28392011-09-05 Ulrich Drepper <drepper@gmail.com>
2840
d96de963
UD
2841 [BZ #13134]
2842 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
2843 before glibc 2.15.
2844 (tryshell): Define.
2845 (__spawni): Change last parameter to be flag. Test
2846 SPAWN_XFLAGS_USE_PATH flag to use path or not.
2847 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
2848 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
2849 * posix/spawni.c: Likewise.
2850 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
2851 * posix/spawnp.c: Likewise. Change normal version to use
2852 SPAWN_XFLAGS_USE_PATH.
2853 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
2854 SPAWN_XFLAGS_TRY_SHELL.
2855
d48e5868
UD
2856 [BZ #13150]
2857 * posix/glob.h: Remove gcc 1.x support.
2858
554881ef
UD
2859 [BZ #13068]
2860 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
2861
693fb948
LD
28622011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2863
2864 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2865 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
2866 strrchr-sse2-bsf
2867 * sysdeps/i386/i686/multiarch/strchr.S: New file.
2868 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
2869 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
2870 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
2871 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
2872 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
2873
1b48c537
UD
28742011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2875
49d42c37
UD
2876 * sysdeps/x86_64/wcscmp.S: New file.
2877
1b48c537
UD
2878 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
2879 wcscmp-c wcscmp-sse2
2880 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
2881 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
2882 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
2883 * wcsmbs/wcscmp.c: Allow renaming.
2884
15c95c5d
DM
28852011-09-05 David S. Miller <davem@davemloft.net>
2886
2887 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
2888 stack slot, rather than the struct return pointer slot.
2889 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
2890 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
2891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
2892 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
2893
2f0ad8f3
UD
28942011-09-05 Ulrich Drepper <drepper@gmail.com>
2895
d88ae418
UD
2896 * po/ja.po: Update from translation team.
2897
2f0ad8f3
UD
2898 [BZ #13144]
2899 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
2900 kernel in 64-bit binaries.
2901
5f4318d1
DM
29022011-09-01 David S. Miller <davem@davemloft.net>
2903
2904 * elf/elf.h (HWCAP_SPARC_*): Move to..
2905 * sysdeps/sparc/sysdep.h: this new file and add new values.
2906 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
2907 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
2908 _DL_HWCAP_COUNT to 24.
2909 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
2910 entries.
2911 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
2912 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
2913 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
2914 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
2915 instead of magic constants.
2916 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2917
3ba57516
DM
29182011-08-31 David S. Miller <davem@davemloft.net>
2919
2920 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
2921 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
2922 Reimplement to do errno handling inline.
2923 (SYSCALL_ERROR_HANDLER): New macro.
2924 (__SYSCALL_STRING): Do not do errno handling in asm.
2925 (__CLONE_SYSCALL_STRING): Delete.
2926 (__INTERNAL_SYSCALL_STRING): Delete.
2927 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
2928 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
2929 (PSEUDO): Reimplement to do errno handling inline.
2930 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
2931 (SYSCALL_ERROR_HANDLER): New macro.
2932 (__SYSCALL_STRING): Do not do errno handling in asm.
2933 (__CLONE_SYSCALL_STRING): Delete.
2934 (__INTERNAL_SYSCALL_STRING): Delete.
2935 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
2936 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
2937 i386.
2938 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
2939 (inline_syscall*): Add 'err' argument.
2940 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
2941 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
2942 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
2943 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
2944
2945 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
2946 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
2947
2bc17433
AS
29482011-08-30 Andreas Schwab <schwab@redhat.com>
2949
2950 * elf/rtld.c (dl_main): Relocate objects in dependency order.
2951
fbeb5f4d
JO
29522011-08-29 Jiri Olsa <jolsa@redhat.com>
2953
2954 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
2955 directive.
2956
ad69cc26
DM
29572011-08-24 David S. Miller <davem@davemloft.net>
2958
2959 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
2960
39dd69df
AS
29612011-08-24 Andreas Schwab <schwab@redhat.com>
2962
2963 * elf/Makefile: Add rules to build and run unload8 test.
2964 * elf/unload8.c: New file.
2965 * elf/unload8mod1.c: New file.
2966 * elf/unload8mod1x.c: New file.
2967 * elf/unload8mod2.c: New file.
2968 * elf/unload8mod3.c: New file.
2969
2970 * elf/dl-close.c (_dl_close_worker): Reset private search list if
2971 it wasn't used.
2972
2c0b250a
DM
29732011-08-23 David S. Miller <davem@davemloft.net>
2974
2975 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
2976 subtract stack bias.
2977 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
2978 %sp not %fp in calculations.
2979 (_JMPBUF_UNWINDS_ADJ): Likewise.
2980
22044b48
DM
2981 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
2982 (aio_suspend): Call it to force an exception region around the
2983 AIO_MISC_WAIT() invocation.
2984
2cae4995
AS
29852011-08-23 Andreas Schwab <schwab@redhat.com>
2986
2987 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
2988 backslash.
2989
873a772e
AJ
29902011-07-04 Aurelien Jarno <aurelien@aurel32.net>
2991
2992 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
2993 protection macro.
2994 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
2995 and <dl-machine.h>.
2996 (Elf64_FuncDesc): Remove.
2997
25ad0df1
DM
29982011-08-22 David S. Miller <davem@davemloft.net>
2999
3000 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
3001 sigaltstack check, add missing cfi directives.
3002 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
3003 missing cfi directives, and sigaltstack handling.
3004
e888bcbe
AS
30052011-08-16 Andreas Schwab <schwab@redhat.com>
3006
3007 [BZ #11724]
3008 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
3009 object is seen twice.
3010 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3011
3012 * elf/Makefile (distribute): Add tst-initorder2.c.
3013 (tests): Add tst-initorder2.
3014 (modules-names): Add tst-initorder2a tst-initorder2b
3015 tst-initorder2c tst-initorder2d. Add rules to build them.
3016 ($(objpfx)tst-initorder2.out): New rule.
3017 * elf/tst-initorder2.c: New file.
3018 * elf/tst-initorder2.exp: New file.
3019
87162f46
AS
30202011-08-22 Andreas Schwab <schwab@redhat.com>
3021
70538b7f
AS
3022 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
3023
f55ffe58
AS
3024 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
3025 dependencies back to end of function.
3026
87162f46
AS
3027 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
3028 $(elfobjdir)/ld.so.
3029
91b392a4
UD
30302011-08-21 Ulrich Drepper <drepper@gmail.com>
3031
3032 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
3033 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
3034 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
3035 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
3036 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
3037 of __vdso_gettimeofday.
3038 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
3039 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
3040 attribute_hidden.
3041 (_libc_vdso_platform_setup): Remove initialization of
3042 __vdso_gettimeofday and __vdso_time.
3043
5c43483f
UD
30442011-08-20 Ulrich Drepper <drepper@gmail.com>
3045
775a77e7
UD
3046 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
3047 and fgetc_unlocked.
3048 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
3049 getc_unlocked.
89f447ed 3050
49c74ba9
UD
3051 * elf/dl-open.c (add_to_global): Report additions to the global scope
3052 for LD_DEBUG=scopes.
3053 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 3054 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 3055
5c43483f
UD
3056 [BZ #13114]
3057 * stdio-common/Makefile (tests): Add bug24.
3058 * stdio-common/bug24.c: New file.
3059
a101b025
AJ
30602011-08-19 Andreas Jaeger <aj@suse.de>
3061
3062 [BZ #13114]
3063 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
3064 non-existant file when using close-on-exec mode.
3065
c88f1766
UD
30662011-08-20 Ulrich Drepper <drepper@gmail.com>
3067
0276a718
UD
3068 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
3069 the very first instruction.
3070
c88f1766
UD
3071 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
3072 the CFI state in the end.
3073 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
3074 inclusion of dl-trampoline.h.
3075 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
3076
51ccffa0
AS
30772011-08-19 Andreas Schwab <schwab@redhat.com>
3078
94d7165f
AS
3079 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
3080 expectations for long double.
3081
51ccffa0
AS
3082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
3083 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
3084
fd708658 30852011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
3086
3087 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
3088 artificual limit depends upon the system page size.
3089
44f0a71e
UD
30902011-08-17 Ulrich Drepper <drepper@gmail.com>
3091
3092 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
3093 * resolv/Makefile: Define CFLAGS-libresolv.
3094
8de79a24
AS
30952011-08-17 Andreas Schwab <schwab@redhat.com>
3096
3097 * nss/makedb.c (compute_tables): Make variables used in nested
3098 function static.
3099
27724598
UD
31002011-08-17 Ulrich Drepper <drepper@gmail.com>
3101
c5305d88
UD
3102 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
3103 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
3104 if buffer was too small.
3105
27724598
UD
3106 * elf/pldd.c (main): Attach to all threads in the process.
3107 Rewrite /proc handling to use *at functions.
3108
076fe015
UD
31092011-08-16 Ulrich Drepper <drepper@gmail.com>
3110
174baab3
UD
3111 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
3112 specifies first scope to show.
3113 (dl_open_worker): Update callers. Move printing scope of new
3114 object to before the relocation.
44f0a71e 3115 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
3116 * sysdeps/generic/ldsodefs.h: Update declaration.
3117
076fe015
UD
3118 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
3119 string for the scope number.
3120
a60df2c3
UD
31212011-08-14 Ulrich Drepper <drepper@gmail.com>
3122
3123 * nscd/servicescache.c (cache_addserv): Make sure written is always
3124 initialized.
3125
5e4287d1
RM
31262011-08-14 Roland McGrath <roland@hack.frob.com>
3127
85ae0589
RM
3128 * sysdeps/i386/i486/bits/atomic.h
3129 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
3130 statement expression, so as to suppress "set but not used" warning.
3131 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
3132
69f63097
RM
3133 * string/strncat.c (STRNCAT): Use prototype definition.
3134
675456ef
RM
3135 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
3136 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
3137 -Iprograms here.
3138 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
3139 (localedef-modules): Add localedef.
3140 (locale-modules): Add locale.
3141
5e4287d1
RM
3142 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
3143 * elf/rtld.c (dl_main): Invert order of assignment in last change,
3144 to avoid a warning.
3145
9c96ff23
DM
31462011-08-14 David S. Miller <davem@davemloft.net>
3147
3148 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
3149 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
3150
f9ddf089
UD
31512011-08-13 Ulrich Drepper <drepper@gmail.com>
3152
44f0a71e 3153 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
3154 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
3155 * elf/rtld.c (dl_main): Set l_name of vDSO.
3156 Call _dl_show_scope when DL_DEBUG_SCOPES.
3157 (process_dl_debug): Recognize scopes flag and also set it for all.
3158 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
3159 Declare _dl_show_scope.
3160
1dc27704
UD
3161 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
3162 (do_dlopen): Pass caller_dlopen to dl_open.
3163 (__libc_dlopen_mode): Initialize caller_dlopen.
3164
f9ddf089
UD
3165 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
3166 of libc. Make tolower call locale-independent. Optimize a bit by
3167 using isdigit instead of isalnum.
3168 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
3169
9ac533d3
UD
31702011-08-12 Ulrich Drepper <drepper@gmail.com>
3171
3172 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
3173 was a dependency or dynamically loaded.
3174
89edf2e9
UD
31752011-08-11 Ulrich Drepper <drepper@gmail.com>
3176
8e999d29
UD
3177 * intl/l10nflist.c: Allow architecture-specific pop function.
3178 * sysdeps/x86_64/l10nflist.c: New file.
3179
89edf2e9
UD
3180 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
3181 classification.
3182
14d96785
AS
31832011-08-10 Andreas Schwab <schwab@redhat.com>
3184
3185 * include/dirent.h: Add libc_hidden_proto for scandirat and
3186 scandirat64. Don't declare __scandirat64.
3187 * dirent/scandirat.c: Add libc_hidden_def.
3188 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
3189 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
3190
6761ac04
DM
31912011-08-10 David S. Miller <davem@davemloft.net>
3192
3193 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
3194 enum.
3195 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3196 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3197 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3198
c55fbd1e
UD
31992011-08-09 Ulrich Drepper <drepper@gmail.com>
3200
3201 * Versions.def [libc]: Add GLIBC_2.15.
3202 * dirent/Makefile (routines): Add scandirat and scandirat64.
3203 * dirent/Versions [libc]: Export scandirat and scandirat64 for
3204 GLIBC_2.15.
3205 * dirent/dirent.h: Declare scandirat and scandirat64.
3206 * dirent/scandirat.c: New file.
3207 * dirent/scandirat64.c: New file.
3208 * sysdeps/wordsize-64/scandirat.c: New file.
3209 * sysdeps/wordsize-64/scandirat64.c: New file.
3210 * dirent/opendir.c: Define opendirat.
3211 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
3212 using scandirat.
3213 * dirent/scandir64.c: Adjust for scandir.c change.
3214 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
3215 __scandirat64, and __scandir_cancel_handler.
3216 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
3217 additional parameter and use openat instead of open (outside of ld.so).
3218 Add new __opendir as wrapper around __opendirat.
3219 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
3220 here without requiring old scandirat implementation.
3221
879165f2
UD
32222011-08-08 Ulrich Drepper <drepper@gmail.com>
3223
3224 * dirent/scandir.c (cancel_handler): Renamed to
3225 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
3226 defined. Adjust users.
3227 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
3228 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
3229
cb7e923b
UD
32302011-08-04 Ulrich Drepper <drepper@gmail.com>
3231
16292edd
UD
3232 * string/test-string.h (IMPL): Use __STRING to expand name and then
3233 stringify it.
3234
cb7e923b
UD
3235 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
3236 of cleanups.
3237
cff82933
LD
32382011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3239
3240 * string/Makefile: Update.
3241 (strop-tests): Append strncat.
3242 * string/test-wcscmp.c: New file.
3243 New comprehensive test for wcscmp.
3244 * string/test-strcmp.c: Update.
3245 (WIDE): New define.
3246
9be9bfcc
AS
32472011-07-22 Andreas Schwab <schwab@redhat.com>
3248
3249 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
3250 line.
3251
2e96f1c7
AS
32522011-07-26 Andreas Schwab <schwab@redhat.com>
3253
3254 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
3255 encoding to ACE if AI_IDN.
3256
85188888
JJ
32572011-08-01 Jakub Jelinek <jakub@redhat.com>
3258
3259 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
3260 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
3261
5fa16e9b
LD
32622011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3263
3264 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
3265 Fix overflow bug in strncat.
3266 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3267
3268 * string/test-strncat.c: Update.
3269 Add new tests for checking overflow bugs.
3270
32712011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3272
3273 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3274 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
3275 * sysdeps/i386/i686/multiarch/strcat.S: New file.
3276 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
3277 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
3278 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
3279 * sysdeps/i386/i686/multiarch/strncat.S: New file.
3280 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
3281 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
3282
3283 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
3284 (USE_AS_STRCAT): Define.
3285 Add strcat and strncat support.
3286 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3287
8c1a459f
AS
32882011-07-25 Andreas Schwab <schwab@redhat.com>
3289
3290 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
3291 __n bigger than INT_MAX+1.
3292 (__strncmp_g): Likewise.
3293
bba33c28
UD
32942011-07-23 Ulrich Drepper <drepper@gmail.com>
3295
798be72d
UD
3296 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
3297 * libio/stido.h: Likewise.
3298
8accd4dc
UD
3299 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
3300 (AF_NFC): Define.
3301 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
3302 (AF_NFC): Define.
3303
cbff0d96
UD
3304 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
3305 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3306 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3307 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
3308 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3309
9191c04a
UD
3310 [BZ #13021]
3311 * scripts/test-installation.pl: Don't expect libnss_test1 to be
3312 installed.
3313
bba33c28
UD
3314 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
3315 typo.
3316 (_dl_x86_64_save_sse): Likewise.
3317
90f139dd
UD
33182011-07-22 Ulrich Drepper <drepper@gmail.com>
3319
1aae088a
UD
3320 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
3321 OSXSAVE.
3322 (_dl_x86_64_save_sse): Likewise.
3323
8e2045f5
UD
3324 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
3325
90f139dd
UD
3326 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
3327
1d002f25
AS
33282011-07-21 Andreas Schwab <schwab@redhat.com>
3329
3330 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
3331 change.
3332 (_dl_x86_64_save_sse): Use correct AVX check.
3333
21137f89
UD
33342011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3335
3336 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
3337 bug in strncpy/strncat.
3338 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3339
a65c0b7a
UD
33402011-07-21 Ulrich Drepper <drepper@gmail.com>
3341
3342 * string/tester.c (test_strcat): Add tests for different alignments
3343 of source and destination.
3344 (test_strncat): Likewise.
3345
6986b98a
UD
33462011-07-20 Ulrich Drepper <drepper@gmail.com>
3347
90bb2039
UD
3348 [BZ #12852]
3349 * posix/glob.c (glob): Check passed in values before using them in
3350 expressions to avoid some overflows.
3351 (glob_in_dir): Likewise.
3352
5644ef54
UD
3353 [BZ #13007]
3354 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
3355 check for AVX enablement so that we don't crash with old kernels and
3356 new hardware.
3357 * elf/tst-audit4.c: Add same checks here.
3358 * elf/tst-audit6.c: Likewise.
3359
3360 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 3361
bfc9dc9b
AS
33622011-07-09 Andreas Schwab <schwab@linux-m68k.org>
3363
3364 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
3365
702e64bb
UD
33662011-07-20 Ulrich Drepper <drepper@gmail.com>
3367
3368 * po/cs.po: Update from translation team.
3369 * po/bg.po: Likewise.
3370
295e904f
MP
33712011-07-12 Marek Polacek <mpolacek@redhat.com>
3372
3373 * misc/sys/cdefs.h: Add support for const attribute.
3374 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
3375 to gnu_dev_{major,minor,makedev} functions.
3376
3ff94596
MP
33772011-07-20 Marek Polacek <mpolacek@redhat.com>
3378
3379 * intl/dcigettext.c (get_output_charset): Add missing bracket.
3380
28b59fca
AS
33812011-07-20 Andreas Schwab <schwab@redhat.com>
3382
3383 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
3384 strlen results.
3385
19df733e
AK
33862011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3387
3388 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3389 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
3390 register in order to avoid conflicts with the soft frame pointer
3391 being held in r11 when necessary.
3392 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3393 (INTERNAL_VSYSCALL_NCS): Likewise.
3394
c8835729
MP
33952011-07-14 Marek Polacek <mpolacek@redhat.com>
3396
3397 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
3398 * elf/dl-fini.c (_dl_fini): Adjust caller.
3399 * elf/dl-close.c (_dl_close_worker): Likewise.
3400 * sysdeps/generic/ldsodefs.h: Adjust declaration.
3401
b902330c
MP
34022011-07-15 Marek Polacek <mpolacek@redhat.com>
3403
8991e135
MP
3404 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
3405 "aux_cache->nlibs < 0".
3406
b902330c
MP
3407 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
3408 in the reload-count case.
3409
99710781
LD
34102011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3411
3412 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3413 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
3414 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
3415 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
3416 * sysdeps/x86_64/multiarch/strcat.S: New file.
3417 * sysdeps/x86_64/multiarch/strncat.S: New file.
3418 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
3419 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
3420 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
3421 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
3422 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
3423 (USE_AS_STRCAT): Define.
3424 Add strcat and strncat support.
3425 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
3426 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3427 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
3428 * string/strncat.c: Update.
3429 (USE_AS_STRNCAT): Define.
3430 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3431 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
3432 and i7.
3433 * sysdeps/x86_64/multiarch/init-arch.h
3434 (bit_Prefer_PMINUB_for_stringop): New.
3435 (index_Prefer_PMINUB_for_stringop): Likewise.
3436 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
3437 bit_Prefer_PMINUB_for_stringop.
3438
7dc6bd90
UD
34392011-07-19 Ulrich Drepper <drepper@gmail.com>
3440
3441 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
3442 buffer64.
3443 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
3444 of casting of buffer.
3445 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
3446 buffer32 and buffer64.
3447 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
3448 writes instead of casting of buffer.
3449 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
3450 buffer32.
3451 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
3452 casting of buffer.
3453
e0e72284
AS
34542011-07-19 Andreas Schwab <schwab@redhat.com>
3455
3456 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
3457
feb1eb0b
UD
34582011-07-19 Ulrich Drepper <drepper@gmail.com>
3459
3460 * nscd/nscd.c (termination_handler): Don't do anything for a database
3461 if it has not yet been initialized.
3462
298711ff
UD
34632011-07-18 Ulrich Drepper <drepper@gmail.com>
3464
3465 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
3466
34672011-07-15 Marek Polacek <mpolacek@redhat.com>
3468
3469 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
3470
f9d68389
UD
34712011-07-18 Ulrich Drepper <drepper@gmail.com>
3472
3473 * po/nl.po: Update from translation team.
3474 * po/sv.po: Likewise.
3475
db290cf5
RM
34762011-07-16 Roland McGrath <roland@hack.frob.com>
3477
3478 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
3479 now disallowed by GCC.
5c550700 3480
fd5e21c7
RM
3481 * configure.in (use-default-link): Default to yes if a test -shared
3482 link meets our qualifications.
3483 * configure: Regenerated.
3484
5c550700
RM
3485 * config.make.in (output-format): New variable.
3486 * configure.in: Check for ld --print-output-format support.
3487 * configure: Regenerated.
3488 * Makerules ($(common-objpfx)format.lds)
3489 [$(output-format) != unknown]: Just use $(output-format),
3490 instead of the linker-script munging.
3491
9fa2c032
RM
34922011-07-14 Roland McGrath <roland@hack.frob.com>
3493
a6928d51
RM
3494 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
3495 of $(common-objpfx)shlib.lds.
3496 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
3497
661607b3
RM
3498 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
3499 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
3500
9fa2c032
RM
3501 * configure.in (-z relro check): Adjust test code to add a large
3502 writable data section after it.
3503 * configure: Regenerated.
3504
defe9061
RM
35052011-07-11 Roland McGrath <roland@hack.frob.com>
3506
3507 * configure.in (-z relro check): Fix test code to make the variable
3508 truly const.
3509 * configure: Regenerated.
3510
319b9ad4
UD
35112011-07-11 Ulrich Drepper <drepper@gmail.com>
3512
3513 * nscd/nscd.h (struct traced_file): Define.
3514 (struct database_dyn): Remove inotify_descr, reset_res, and filename
3515 elements. Add traced_files.
3516 (inotify_fd): Declare.
3517 (register_traced_file): Declare.
3518 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
3519 (inotify_fd): Export.
3520 (resolv_conf_descr): Remove.
3521 (nscd_init): Move inotify descriptor creation to main.
3522 Don't register files for notification here.
3523 (register_traced_file): New function.
3524 (invalidate_cache): Don't use reset_res to determine whether to call
3525 res_init, go through the list of registered files.
3526 (main_loop_poll): The inotify descriptors are now stored in the
3527 structures for the traced files.
3528 (main_loop_epoll): Likewise
3529 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
3530 to __nss_disable_nscd.
3531 * nscd/cache.c (prune_cache): There is no single inotify descriptor
3532 for a database anymore. Check the records for all the registered
3533 files instead.
3534 * nss/Makefile (libnss_files-routines): Add files-init.
3535 (libnss_db-routines): Add db-init.
3536 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
3537 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
3538 * nss/nss_db/db-init.c: New file.
3539 * nss/nss_files/files-init.c: New file.
3540 * nss/nsswitch.c (nss_load_library): New function. Broken out of
3541 __nss_lookup_function.
3542 (__nss_lookup_function): Call nss_load_library.
3543 (nss_load_all_libraries): New function.
3544 (__nss_disable_nscd): Take parameter with callback function for files
3545 to register. Set is_nscd. Load all the DSOs for the NSS modules
3546 used for the cached services.
3547 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
3548 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
3549 options for features to all the files in nscd.
3550
3551 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
3552
23bee3e8
RM
35532011-07-10 Roland McGrath <roland@hack.frob.com>
3554
3555 * csu/elf-init.c (__libc_csu_init): Comment typo.
3556
46a5b7f0
UD
35572011-07-09 Ulrich Drepper <drepper@gmail.com>
3558
3559 * po/pl.po: Update from translation team.
3560 * po/ja.po: Likewise.
3561 * po/ru.po: Likewise.
3562 * po/ko.po: Likewise.
3563 * po/fr.po: Likewise.
3564
d30cf5bb
RM
35652011-07-09 Roland McGrath <roland@hack.frob.com>
3566
113ddea4
RM
3567 * configure.in (.ctors/.dtors header and trailer check):
3568 Use an empirical test on a built program.
3569 * configure: Regenerated.
3570
574920b4
RM
3571 * configure.in (-z relro check): Use an empirical test on a built DSO.
3572 Detect, but do not require, on ia64.
3573 * configure: Regenerated.
3574
d30cf5bb
RM
3575 * configure.in (READELF): Find it with AC_CHECK_TOOL.
3576 Update tests that use readelf to use $READELF instead.
3577 * configure: Regenerated.
3578
8538fdb3
UD
35792011-07-08 Ulrich Drepper <drepper@gmail.com>
3580
3581 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
3582 if the result is not used.
3583
04d08991
AJ
35842011-07-05 Andreas Jaeger <aj@suse.de>
3585
3586 [BZ#9696]
3587 * stdlib/tst-strtod.c: Add testcase.
3588
de283087
AD
35892011-07-07 Ulrich Drepper <drepper@gmail.com>
3590
4e5f31c8 3591 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 3592 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
3593 The latter has a higher limit. Take additional parameter to pass to
3594 the new function.
3595 (__pathconf): Pass file to __statfs_link_max.
3596 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
3597 __statfs_link_max.
3598 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
3599 __statfs_link_max.
3600
de283087
AD
3601 [BZ #12868]
3602 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
3603 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3604 Handle Lustre.
3605 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
3606 (__statfs_filesize_max): Likewise.
3607 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
3608
c75fa153
AJ
36092011-07-05 Andreas Jaeger <aj@suse.de>
3610
3611 * resolv/res_comp.c (dn_skipname): Remove unused variable.
3612
1a544854
UD
36132011-07-06 Marek Polacek <mpolacek@redhat.com>
3614
3615 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
3616 `status' variable.
3617 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
3618 Likewise.
3619
6f0eec67
UD
36202011-07-04 H.J. Lu <hongjiu.lu@intel.com>
3621
3622 * Makefile (strop-tests): Add strncat.
3623 * string/test-strncat.c: New file.
3624
aae30307
UD
36252011-06-30 Marek Polacek <mpolacek@redhat.com>
3626
3627 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
3628
c0cfb5eb
UD
36292011-06-21 Andreas Jaeger <aj@suse.de>
3630
3631 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
3632 Copy rule from iconvdata/Makefile.
3633
01636b21
UD
36342011-07-06 Ulrich Drepper <drepper@gmail.com>
3635
3636 [BZ #12922]
3637 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
3638 but no long options are defined, just return 'W'.
3639
9895c8bc
UD
36402011-06-22 Marek Polacek <mpolacek@redhat.com>
3641
3642 [BZ #9696]
3643 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
3644
5d4cf042
UD
36452011-07-06 Ulrich Drepper <drepper@gmail.com>
3646
3647 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
3648 netgroups to read.
960e5535 3649 (innetgr): Likewise.
5d4cf042 3650
751eb97e
RM
36512011-07-05 Roland McGrath <roland@hack.frob.com>
3652
3653 * config.make.in (install_root): Default to $(DESTDIR).
3654
f15f1e45
UD
36552011-07-05 Ulrich Drepper <drepper@gmail.com>
3656
3657 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
3658
4e34ac6a
RM
36592011-07-02 Roland McGrath <roland@hack.frob.com>
3660
5e9b6af4
RM
3661 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
3662
84f9ea0f
RM
3663 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
3664 containing directory rather than embedding absolute directory names.
3665
ea5ee9f7
RM
3666 * scripts/check-local-headers.sh: Rewritten using awk.
3667 Match by word, not by line. Print error messages for matches.
3668 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
3669
1b74661a
RM
3670 * Makerules [shlib-lds-flags empty]:
3671 ($(common-objpfx)libc_pic.opts): New target.
3672 ($(common-objpfx)libc_pic.os.clean): New target.
3673 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
3674
3675 * config.make.in (OBJCOPY): New variable.
3676 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
3677 * configure: Regenerated.
3678
f781ef40
RM
3679 * config.make.in (use-default-link): New variable.
3680 * configure.in (use_default_link): Grok --with-default-link to set it.
3681 * configure: Regenerated.
3682 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
3683 (shlib-lds, shlib-lds-flags): Define to empty.
3684
2d4fa81e
RM
3685 * Makerules (shlib-lds): New variable.
3686 (shlib-lds-flags): New variable.
3687 (build-shlib, build-moduile, build-module-asneeded): Use it.
3688 ($(common-objpfx)libc.so): Use $(shlib-lds).
3689 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
3690 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
3691
31fffa6b
RM
3692 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
3693 DT_FLAGS/DT_FLAGS_1 with zero flags.
3694
4e34ac6a
RM
3695 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
3696 linker script munging.
3697
fcfc776b
UD
36982011-07-02 Ulrich Drepper <drepper@gmail.com>
3699
3700 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
3701 as 128-bit value.
3702 * crypt/sha512.c (sha512_process_block): Perform total addition using
3703 128-bit if possible.
3704 (__sha512_finish_ctx): Likewise.
3705 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
3706 as 64-bit value.
3707 * crypt/sha256.c (SWAP64): Define.
3708 (sha256_process_block): Perform total addition using 64-bit if
3709 possible.
3710 (__sha256_finish_ctx): Likewise.
3711
99231d9a
UD
37122011-07-01 Ulrich Drepper <drepper@gmail.com>
3713
3714 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
3715 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3716 * nscd/hstcache.c (cache_addhst): Likewise.
3717 * nscd/grpcache.c (cache_addgr): Likewise.
3718 * nscd/aicache.c (addhstaiX): Likewise
3719 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
3720
445b4a53
TK
37212011-07-01 Thorsten Kukuk <kukuk@suse.de>
3722
3723 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
3724 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3725 * nscd/hstcache.c (cache_addhst): Likewise.
3726 * nscd/grpcache.c (cache_addgr): Likewise.
3727 * nscd/aicache.c (addhstaiX): Likewise
3728
6d4d8e8e
AS
37292011-07-01 Andreas Schwab <schwab@redhat.com>
3730
3731 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
3732 domain only when needed.
3733
89f654c5
AS
37342011-06-30 Andreas Schwab <schwab@redhat.com>
3735
3736 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
3737 is always restored.
3738
cf3b23ff
UD
37392011-06-29 Ulrich Drepper <drepper@gmail.com>
3740
3741 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
3742 are re-adding the entry.
3743 * nscd/servicescache.c (cache_addserv): Likewise.
3744
751626f9
AJ
37452011-06-30 Aurelien Jarno <aurelien@aurel32.net>
3746
3747 * sysdeps/generic/dl-irel.h: fix protection against multiple
3748 inclusions.
3749 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
3750
9113ea1f
UD
37512011-06-28 Ulrich Drepper <drepper@gmail.com>
3752
5c0b8d90
UD
3753 [BZ #12935]
3754 * malloc/memusage.sh: Fix quoting in message.
3755 * debug/xtrace.sh: Likewise.
3756
9113ea1f
UD
3757 * configure.in: Remove support for --experimental-malloc option, make
3758 it the default.
3759 * config.make.in: Likewise.
3760 * malloc/Makefile: Likewise.
3761
a4172181
AS
37622011-06-27 Andreas Schwab <schwab@redhat.com>
3763
3764 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
3765 two-byte characters.
3766
78a7eee7
RM
37672011-06-27 Roland McGrath <roland@hack.frob.com>
3768
62bede13
RM
3769 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
3770 AC_CACHE_CHECK invocation.
3771 * configure: Regenerated.
3772
78a7eee7
RM
3773 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
3774
5ce33a62
UD
37752011-06-27 Ulrich Drepper <drepper@gmail.com>
3776
034807a9
UD
3777 [BZ #12350]
3778 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
3779 bit from old_res_options.
3780
4902da17
UD
3781 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
3782
5ce33a62
UD
3783 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
3784 value type for setfct.
3785
c2344f56
L
37862011-06-23 H.J. Lu <hongjiu.lu@intel.com>
3787
3788 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
3789 __gettimeofday instead of gettimeofday.
3790
68468076
UD
37912011-06-26 Ulrich Drepper <drepper@gmail.com>
3792
3793 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
3794
acb0d739
L
37952011-06-24 H.J. Lu <hongjiu.lu@intel.com>
3796
3797 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
3798
3799 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
3800 info.
3801
8912479f
L
38022011-06-22 H.J. Lu <hongjiu.lu@intel.com>
3803
3804 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3805 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
3806 strcpy-sse2-unaligned strncpy-sse2-unaligned
3807 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
3808 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
3809 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
3810 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
3811 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
3812 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
3813 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
3814 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
3815 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
3816 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
3817 (STRCPY): Support SSE2 and SSSE3 versions.
3818
d5495a11
UD
38192011-06-24 Ulrich Drepper <drepper@gmail.com>
3820
3821 [BZ #12874]
3822 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
3823 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
3824 kernels which artificially limit size of requests.
3825
0b1cbaae
L
38262011-06-22 H.J. Lu <hongjiu.lu@intel.com>
3827
3828 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3829 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
3830 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
3831 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
3832 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
3833 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
3834 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
3835 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
3836 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
3837 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
3838 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
3839 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
3840 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
3841 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
3842 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
3843 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3844 Enable unaligned load optimization for Intel Core i3, i5 and i7
3845 processors.
3846 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
3847 Define.
3848 (index_Fast_Unaligned_Load): Define.
3849 (HAS_FAST_UNALIGNED_LOAD): Define.
3850
07f494a0
MP
38512011-06-23 Marek Polacek <mpolacek@redhat.com>
3852
3853 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
3854
fa3fc0fe
UD
38552011-06-22 Ulrich Drepper <drepper@gmail.com>
3856
3857 [BZ #12907]
3858 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
3859 until it is clear that the information is realy needed.
3860 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
3861
e12df166
AS
38622011-06-22 Andreas Schwab <schwab@redhat.com>
3863
3864 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
3865
852eb34d
UD
38662011-06-22 Ulrich Drepper <drepper@gmail.com>
3867
84e2a551
UD
3868 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
3869 /sys/devices/system/cpu/online if it is usable.
3870
852eb34d
UD
3871 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
3872 reading the information from the /proc filesystem to once a second.
3873
6e502e19
UD
38742011-06-21 Andreas Jaeger <aj@suse.de>
3875
3876 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
3877 NULL after inclusion of kernel headers.
3878
75d39ff2
UD
38792011-06-21 Ulrich Drepper <drepper@gmail.com>
3880
51f9aa6a
UD
3881 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
3882 calls to internal_setent.
3883
c0244a9d
UD
3884 [BZ #12885]
3885 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
3886 addresses using gethostbyname4_r ignore IPv4 addresses.
3887
c5e3c2ae
UD
3888 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
3889 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
3890
75d39ff2
UD
3891 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
3892
42675c6f
DM
38932011-06-20 David S. Miller <davem@davemloft.net>
3894
3895 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
3896 inclusions.
3897 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
3898
3899 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
3900 (elf_irel): Use it.
3901 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
3902 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
3903 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
3904 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
3905 * sysdeps/x86_64/dl-irel.h: Likewise.
3906
3907 * elf/dl-runtime.c: Use elf_ifunc_invoke.
3908 * elf/dl-sym.c: Likewise.
3909
57912a71
UD
39102011-06-15 Ulrich Drepper <drepper@gmail.com>
3911
3912 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
3913 need to dereference resplen2.
3914
ee22793d
AS
39152011-06-14 Andreas Schwab <schwab@redhat.com>
3916
3917 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
3918
a9e836b0
UD
39192011-06-15 Ulrich Drepper <drepper@gmail.com>
3920
77fb9117
UD
3921 * Makeconfig: Define vardbdir and inst_vardbdir.
3922 * nss/Makefile: Add rules to install db-Makefile.
3923
40c1b22c
UD
3924 * nss/nss_db/db-XXX.c: Cleanup.
3925
9f2da732
UD
3926 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
3927 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
3928 GLIBC_PRIVATE.
3929 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
3930 * nss/makedb.c: Implement -g option to specify that value strings
3931 are generated and should not be added to table iterated over for
3932 get*ent calls.
3933 * nss/nss_db/db-initgroups.c: New file.
3934
82e9a1f7
UD
3935 * nss/getent.c: Add support for initgroups lookups through getgrouplist
3936 interface.
3937
c41af17e
UD
3938 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
3939 (internal_getgrouplist): Adjust to name change.
3940 Update use_initgroups_entry if this is not the first call.
3941 * nss/databases.def: Add initgroups entry.
3942
a9e836b0
UD
3943 * nss/makedb.c (compute_tables): Check result of multiple hash table
3944 sizes to minimize maximum chain length.
3945
2666d441
UD
39462011-06-14 Ulrich Drepper <drepper@gmail.com>
3947
3948 * Versions.def: Add entry for libnss_db.
3949 * shlib-versions: Likewise.
3950 * nss/Makefile: Add rules to build libnss_db.
3951 * nss/Versions: Add libnss_db information. Organize libnss_files
3952 entries better.
3953 * nss/db-Makefile: Add gshadow support. Change rules for the new
3954 makedb progra. Some minor improvements to generate smaller files.
3955 * nss/nss_db/nss_db.h: Move NSS database header data structures to
3956 here from...
3957 * nss/makedb.c: ...here.
3958 Improve database format to be smaller and require less memory at
3959 runtime.
3960 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
3961 db anymore.
3962 * nss/nss_db/db-netgrp.c: Likewise.
3963 * nss/nss_db/db-open.c: Likewise.
3964 * nss/nss_files/flies-XXX.x: Adjust comments.
3965 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
3966 * nss/nss_files/files-grp.c: Likewise.
3967 * nss/nss_files/files-hosts.c: Likewise.
3968 * nss/nss_files/files-network.c: Likewise.
3969 * nss/nss_files/files-proto.c: Likewise.
3970 * nss/nss_files/files-pwd.c: Likewise.
3971 * nss/nss_files/files-rpc.c: Likewise.
3972 * nss/nss_files/files-service.c: Likewise.
3973 * nss/nss_files/files-sgrp.c: Likewise.
3974 * nss/nss_files/files-spwd.c: Likewise.
3975 * nss/nss_db/db-alias.c: Removed.
3976 * nss/nss_db/dummy-db.h: Removed.
3977
9ee76b5a
UD
39782011-06-02 Ulrich Drepper <drepper@gmail.com>
3979
3980 * nss/makedb.c: Rewritten to not use database library.
3981 * nss/Makefile: Update to build new makedb program.
3982
c71ca1f8
AJ
39832011-06-14 Andreas Jaeger <aj@suse.de>
3984
3985 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
3986 memset declaration.
3987
3154bfb8
UD
39882011-06-10 Andreas Schwab <schwab@redhat.com>
3989
3990 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
3991 tmpbuf.
3992
b350afab
RM
39932011-06-10 Roland McGrath <roland@hack.frob.com>
3994
decd4e50
RM
3995 * Makerules (shlib.lds): Fail if the linker script comes out empty.
3996 * elf/Makefile ($(objpfx)ld.so): Likewise.
3997
5615eaf2
RM
3998 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
3999 Don't list ld.so twice in dependencies.
4000
4001 * posix/bug-regex31.c: Include <stdlib.h>.
4002
4003 * nscd/hstcache.c (cache_addhst): Remove unused variable.
4004
4005 * nis/nss_compat/compat-spwd.c
4006 (getspent_next_nss_netgr): Remove unused variable.
4007 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
4008
4009 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
4010 nonmembers" output to use the right array.
4011
4012 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
4013
4014 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
4015
4016 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
4017 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
4018 * catgets/gencat.c (read_input_file): Likewise.
4019 * locale/programs/locarchive.c (enlarge_archive): Likewise.
4020
4021 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
4022 variable definition inside #if's controlling its use.
4023
4024 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
4025
4026 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
4027
4028 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
4029
4030 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
4031 unreachable code.
4032
4033 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
4034
b68e08db
RM
4035 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
4036 * configure: Regenerated.
4037
b350afab
RM
4038 * Makerules: Revert last change.
4039 * elf/Makefile: Likewise.
4040
28368601
RM
40412011-06-09 Roland McGrath <roland@hack.frob.com>
4042
4043 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
4044 * elf/Makefile ($(objpfx)librtld.os): Likewise.
4045 (reloc-link): Likewise.
4046
11988f8f
UD
40472011-06-09 Ulrich Drepper <drepper@gmail.com>
4048
4049 * elf/Makefile: Add rules to build pldd.
4050 * elf/pldd.c: New file.
4051 * elf/pldd-xx.c: New file.
4052
e80fab37
UD
40532011-06-07 Ulrich Drepper <drepper@gmail.com>
4054
4055 * version.h: Update for 2.15 development version.
4056
9b849836
DM
40572011-06-07 David S. Miller <davem@davemloft.net>
4058
4059 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
4060 ifuncs.
4061 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
4062 elf_machine_lazy_rel): Likewise.
4063 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4064 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
4065 elf_machine_lazy_rel): Likewise.
4066 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
4067 dl_hwcap via passed in argument.
4068 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
4069 Likewise.
4070
5a31b283
AK
40712011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4072
4073 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
4074
069e52f8
RM
40752011-06-06 Roland McGrath <roland@hack.frob.com>
4076
4077 [BZ #12849]
4078 * manual/fdl-1.1.texi: New file, verbatim from:
4079 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
4080 * manual/lgpl-2.1.texi: New file, verbatim from:
4081 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
4082 * manual/Makefile (licenses): New variable, list those new file names.
4083 (texis): Use it.
4084 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
4085
4086 * manual/fdl.texi: File removed.
4087 * manual/lesser.texi: File removed.
4088 * manual/libc.texinfo (Copying, Documentation License):
4089 Use new @include file names, put @appendix directive before @include.
4090
f16846a5
JJ
40912011-06-04 Jakub Jelinek <jakub@redhat.com>
4092
4093 [BZ #12841]
4094 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
4095 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
4096 (mq_open): Add __NTH.
4097
3d29045b
L
40982011-06-02 H.J. Lu <hongjiu.lu@intel.com>
4099
4100 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4101 Assume Intel Core i3/i5/i7 processor if AVX is available.
4102
8c297311
UD
41032011-05-31 Ulrich Drepper <drepper@gmail.com>
4104
4105 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4106 typo.
4107
c8fc0c91
UD
41082011-05-31 Andreas Schwab <schwab@redhat.com>
4109
4110 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
4111 memory. Use alloca_account. Fix memory leak when retrying.
4112
5b27a807
UD
41132011-05-31 Ulrich Drepper <drepper@gmail.com>
4114
356f8bc6
UD
4115 * version.h (RELEASE): Bump for 2.14 release.
4116 * include/features.h (__GLIBC_MINOR__): Bump to 14.
4117
5b27a807
UD
4118 * config.make.in (RANLIB): Remove entry.
4119
01f16ab0
UD
41202011-05-30 Ulrich Drepper <drepper@gmail.com>
4121
41fce8bd
UD
4122 * po/Makefile (po-sed-cmd): Add ksh to extensions.
4123 (libc.pot): Work around missing support for .ksh extension in xgettext.
4124
4769ae77
UD
4125 [BZ #12684]
4126 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
4127 if both request failed.
4128 (send_dg): In case of server errors clear resplen or *resplen2.
4129
6b1e7d19
UD
4130 [BZ #12454]
4131 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
4132 when there are multiple maps.
4133 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
4134 (_dl_fini): Remove test here.
4135
01f16ab0
UD
4136 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
4137
b1ebd700
UD
41382011-05-29 Ulrich Drepper <drepper@gmail.com>
4139
7ae22829
UD
4140 [BZ #12350]
4141 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
4142 bit from old_res_options.
4143 (gaih_inet): Likewise.
4144
553149f6 4145 [BZ #11099]
18a84741 4146 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
4147 as signed.
4148
652ffab1
UD
4149 * resolv/res_init.c (res_setoptions): Make the code more compact.
4150
16985fd0
UD
4151 [BZ #11558]
4152 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
4153 set RES_USEVC.
4154
0464f746
UD
4155 [BZ #11634]
4156 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
4157
7d17596c
UD
4158 * malloc/malloc.h: Mark malloc hook variables as deprecated.
4159
cf6bbbd7
UD
4160 [BZ #11781]
4161 * malloc/malloc.h: Declare malloc hook variables as volatile.
4162
13f1ab36
UD
4163 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
4164 in last patch.
4165
b1ebd700
UD
4166 [BZ #11799]
4167 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 4168 raise in the comment.
80e2212d
UD
4169 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4170 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4171 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 4172
ce67228d
UD
41732011-05-28 Ulrich Drepper <drepper@gmail.com>
4174
8887a920
UD
4175 [BZ #12811]
4176 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
4177 grow the buffers more if it already has to be sufficient.
4178 (build_wcs_upper_buffer): Likewise.
4179 * posix/regexec.c (check_matching): Likewise.
4180 (clean_state_log_if_needed): Likewise.
4181 (extend_buffers): Don't enlarge buffers beyond size of the input
4182 buffer.
4183 Patches mostly by Emil Wojak <emil@wojak.eu>.
4184 * posix/bug-regex32.c: New file.
4185 * posix/Makefile (tests): Add bug-regex32.
4186
4f031072
UD
4187 * locale/findlocale.c (_nl_find_locale): Return right away if
4188 _nl_explode_name failed.
4189 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
4190
d0478f0c
UD
4191 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
4192
de81b246
UD
4193 * debug/xtrace.sh: Unify messages.
4194 * malloc/memusage.sh: Likewise.
4195
c738465a
UD
4196 [BZ #12813]
4197 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
4198 time symbol from vDSO. Substitute with vsyscall if not available.
4199 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
4200 __vdso_time.
4201
f1f929d7
UD
4202 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
4203 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
4204 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
4205 Add sendmmsg and internal_sendmmsg.
4206 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
4207 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
4208 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
4209
ce67228d
UD
4210 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
4211 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
4212 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
4213
e57420c6
UD
42142011-05-27 Ulrich Drepper <drepper@gmail.com>
4215
a8509ca5
UD
4216 [BZ #12813]
4217 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
4218 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
4219 available.
4220 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
4221 __vdso_getcpu.
4222
e57420c6
UD
4223 [BZ #12814]
4224 * iconvdata/Makefile (tests): Add bug-iconv9.
4225 * iconvdata/bug-iconv9.c: New file.
4226
4d07db15
AS
42272011-05-27 Andreas Schwab <schwab@redhat.com>
4228
4229 [BZ #12814]
4230 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
4231
ea486f69
JJ
42322011-05-25 Jakub Jelinek <jakub@redhat.com>
4233
4234 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
4235 (struct user_regs_struct): Change intcs field back to cs.
4236
6f038433
UD
42372011-05-25 Ulrich Drepper <drepper@gmail.com>
4238
4239 * po/ja.po: Update from translation team.
4240
67f86a25
UD
42412011-05-23 Ulrich Drepper <drepper@gmail.com>
4242
4243 [BZ #12795]
4244 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
4245 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
4246
def7fbd6
AS
42472011-05-20 Andreas Schwab <schwab@redhat.com>
4248
4249 * stdlib/longlong.h: Update from GCC.
4250
f50ef8f1
AS
42512011-05-23 Andreas Schwab <schwab@redhat.com>
4252
4253 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
4254 parameter name.
4255 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
4256 Add parameter name.
4257 (__sysconf): Pass it down.
4258
de7ce8f1
UD
42592011-05-22 Ulrich Drepper <drepper@gmail.com>
4260
f2962a71
UD
4261 [BZ #12671]
4262 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
4263 some situations.
4264 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4265 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
4266 add in in __libc_use_alloca calls. Adjust callers.
4267 (glob): Use malloc in some situations.
4268
de7ce8f1
UD
4269 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
4270 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
4271 pltexit.
4272
aec84f53
UD
42732011-05-21 Ulrich Drepper <drepper@gmail.com>
4274
05bb4a68
UD
4275 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
4276 and CLOCK_BOOTTIME_ALARM.
4277
7ea72f99
UD
4278 [BZ #12782]
4279 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
4280 is returned.
4281
7e4afad5
UD
4282 * string/_strerror.c (__strerror_r): Print negative errors as signed
4283 numbers.
4284
8e211fec
UD
4285 [BZ #12777]
4286 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
4287 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
4288 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
4289
f7d82dc9
UD
4290 * configure.in: Fix typo in redirection and correct removal of test
4291 files in two cases.
4292
cc9e536d
UD
4293 [BZ #12788]
4294 * locale/setlocale.c (new_composite_name): Fix test to check for
4295 identical name of all categories.
4296
aec84f53
UD
4297 [BZ #12792]
4298 * libio/filedoalloc.c (local_isatty): New function.
4299 (_IO_file_doallocate): Use local_isatty.
4300 * stdio-common/perror.c (perror): In case a new stream is used
4301 forward the stream error.
4302 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
4303 error flag.
4304
78e64fdc
RT
43052011-05-20 Ulrich Drepper <drepper@gmail.com>
4306
34a9094f
UD
4307 [BZ #11869]
4308 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
4309 alloca.
4310 * include/alloca.h (extend_alloca_account): Define.
4311
78e64fdc
RT
4312 [BZ #11857]
4313 * posix/regex.h: Fix comments with documentation of user-accessible
4314 fields after compilation and describe correct free'ing of pattern
4315 after re_compile_pattern.
4316 Patch by Reuben Thomas <rrt@sc3d.org>.
4317
457bddfc
RA
43182011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
4319
4320 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
4321 and -mno-altivec to prevent the compiler from using Altivec and/or
4322 VSX instructions when the corresponding registers are not available.
4323
a4527b51
AS
43242011-05-19 Andreas Schwab <schwab@redhat.com>
4325
4326 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
4327
ed690b2f
UD
43282011-05-19 Ulrich Drepper <drepper@gmail.com>
4329
4330 * libio/freopen.c (freopen): Use __dup2, not dup2.
4331 * libio/freopen64.c (freopen64): Likewise.
4332
8db73634
L
43332011-05-17 H.J. Lu <hongjiu.lu@intel.com>
4334
4335 [BZ #12775]
4336 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
4337 * math/Makefile (tests): Add test-powl.
4338 (CFLAGS-test-powl.c): Define.
4339 * math/test-powl.c: New file.
4340
0a197a9d
L
43412011-05-16 H.J. Lu <hongjiu.lu@intel.com>
4342
4343 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
4344
ee30c380
UD
43452011-05-17 Ulrich Drepper <drepper@gmail.com>
4346
4347 [BZ #11837]
4348 * iconvdata/gb18030.c: Update to GB18020-2005.
4349
6ce75379
UD
43502011-05-16 Ulrich Drepper <drepper@gmail.com>
4351
a4b89fd8
AR
4352 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
4353 RE_SYNTAX_POSIX_AWK): Update to match recent development.
4354 Patch by Aharon Robbins <arnold@skeeve.com>.
4355
ea389b12
UD
4356 [BZ #11892]
4357 * stdlib/putenv.c (putenv): Don't always create copy of the variable
4358 on the stack.
4359
68a3f91f
UD
4360 [BZ #11895]
4361 * misc/pselect.c (__pselect): Handle timeout value errors hidden
4362 through underflows.
4363
15cc7dd1
UD
4364 [BZ #12766]
4365 * misc/error.c (error_at_line): Ensure file_name and old_file_name
4366 point to strings before performing equality test for error_one_per_line
4367 mode.
4368
f3799213
UD
4369 [BZ #11697]
4370 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
4371
d79a9c94
UD
4372 [BZ #11820]
4373 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
4374 (struct user_fpregs_struct): Avoid __uint*_t types.
4375
56e5eb46
UD
4376 [BZ #6420]
4377 * malloc/mtrace.c (tr_where): Add additional parameter to point to
4378 symbol info. Use it instead of calling _dl_addr locally.
4379 (lock_and_info): New function.
4380 (tr_freehook): Call lock_and_info and pass symbol info as additional
4381 parameter to tr_where.
4382 (tr_mallochook): Likewise.
4383 (tr_reallochook): Likewise.
4384 (tr_memalignhook): Likewise.
4385
6ce75379
UD
4386 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
4387 used and couldn't be at all thread-safe.
4388
f8a3b5bf
UD
43892011-05-15 Ulrich Drepper <drepper@gmail.com>
4390
94b7cc37
UD
4391 * libio/freopen.c (freopen): Don't close old file descriptor
4392 before the new one is opened. Instead dup the new file descriptor
4393 to the old one after the new stream is created.
4394 * libio/freopen64.c (freopen64): Likewise.
4395 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
4396 * libio/fileops.c (_IO_new_file_close_it): Handle new
4397 _IO_FLAGS2_NOCLOSE flag.
4398 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
4399 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
4400 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
4401 _IO_FLAGS2_NOCLOSE flag.
4402 * include/unistd.h: Add hidden_proto for dup3.
4403 Define __have_dup3.
4404 * io/dup3.c: Define hidden symbol.
4405 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
4406
bd25564e
UD
4407 [BZ #7101]
4408 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
4409 when an incomplete long option is used.
4410 * posix/tst-getopt_long1.c: New file.
4411 * posix/Makefile (tests): Add tst-getopt_long1.
4412
c84cfef4
UD
4413 [BZ #10138]
4414 * scripts/config.guess: Update from autoconf-2.68.
4415 * scripts/config.sub: Likewise.
4416
3b85df27
UD
4417 [BZ #10157]
4418 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
4419 tests into ...
4420 (has_cpuclock): ...this. New function.
4421 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
4422 macro here based on has_cpuclock code.
4423
15a856b1
UD
4424 [BZ #10149]
4425 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4426 First byte (not low byte) is now always NUL.
4427 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
4428
05f399e6
UD
4429 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4430 Use non-cancelable interfaces.
4431
10a52685 4432 [BZ #9809]
94ecc67d
UD
4433 * locale/iso-639.def: Add entry for Sorani.
4434
f8a3b5bf
UD
4435 [BZ #11901]
4436 * include/stdlib.h: Move include protection to the right place.
4437 Define abort_msg_s. Declare __abort_msg with it.
4438 * stdlib/abort.c (__abort_msg): Adjust type.
4439 * assert/assert.c (__assert_fail_base): New function. Majority
4440 of code from __assert_fail. Allocate memory for __abort_msg with
4441 mmap.
4442 (__assert_fail): Now call __assert_fail_base.
4443 * assert/assert-perr.c: Remove bulk of implementation. Use
4444 __assert_fail_base.
4445 * include/assert.hL Declare __assert_fail_base.
4446 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
4447 mmap.
4448 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
4449
1af4e298
UD
44502011-05-14 Ulrich Drepper <drepper@gmail.com>
4451
f8a3b5bf 4452 [BZ #11952]
d26dfc60
MG
4453 [BZ #12453]
4454 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
4455 until all modules are registered in the DTV.
4456 * elf/Makefile: Add rules to build and run tst-tls19.
4457 * elf/tst-tls19.c: New file.
4458 * elf/tst-tls19mod1.c: New file.
4459 * elf/tst-tls19mod2.c: New file.
4460 * elf/tst-tls19mod3.c: New file.
4461 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
4462
2fc54d6f
UD
4463 [BZ #12083]
4464 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
4465 correctly.
4466
98d76b46
UD
4467 [BZ #12601]
4468 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
4469 two-byte sequence errors.
4470 * iconvdata/Makefile (tests): Add bug-iconv8.
4471 * iconvdata/bug-iconv8.c: New file.
4472
da3c19ef
UD
4473 [BZ #12626]
4474 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
4475 buf2 definition.
4476
ca408c15
UD
4477 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
4478
d6f67f7d
UD
4479 [BZ #12432]
4480 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
4481 (dummy_getcfa): New function.
4482 (init): Get _Unwind_GetCFA address, use dummy if not found.
4483 (backtrace_helper): In recursion check, also check whether CFA changes.
4484 (__backtrace): Completely initialize arg.
4485
1af4e298 4486 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
4487 storing incomplete byte sequence in state object. Avoid testing for
4488 guaranteed too small input if we know there is enough data available.
1af4e298 4489
da62f81b
AS
44902011-05-11 Andreas Schwab <schwab@redhat.com>
4491
4492 * Makeconfig (+link-pie): Indent.
4493 * Rules (binaries-pie): Define if $(have-fpie) and
4494 $(build-shared).
4495 (binaries-shared): Also filter out $(binaries-pie).
4496 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
4497 * nscd/Makefile (others-pie): Add nscd.
4498 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
4499 ($(objpfx)nscd): Remove command override.
4500 * login/Makefile (others-pie): Add pt_chown.
4501 ($(objpfx)pt_chown): Remove command override.
4502 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
4503 remove command overrides.
4504
fcabc0f8
UD
45052011-05-13 Ulrich Drepper <drepper@gmail.com>
4506
20030ae6
UD
4507 * libio/tst_putwc.c: Fix error messages.
4508
fcabc0f8
UD
4509 [BZ #12724]
4510 * libio/fileops.c (_IO_new_file_close_it): Always flush when
4511 currently writing and seek to current position when not.
4512 * libio/Makefile (tests): Add bug-fclose1.
4513 * libio/bug-fclose1.c: New file.
4514
320a5dc0
PB
45152011-05-12 Ulrich Drepper <drepper@gmail.com>
4516
4517 [BZ #12511]
4518 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
4519 don't set DF_1_NODELETE here.
4520 (do_lookup_x): When entering new entry test for copy relocation
4521 and if necessary set DF_1_NODELETE flag.
4522 * elf/tst-unique4.cc: New file.
4523 * elf/tst-unique4.h: New file.
4524 * elf/tst-unique4lib.cc: New file.
4525 * elf/Makefile: Add rules to build and run tst-unique4.
4526 Patch by Piotr Bury <pbury@goahead.com>.
4527
22836f52
UD
45282011-05-11 Ulrich Drepper <drepper@gmail.com>
4529
f574184a
UD
4530 [BZ #12052]
4531 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
4532
e1fb097f
UD
4533 [BZ #12625]
4534 * misc/mntent_r.c (addmntent): Flush the stream after the output
4535
22836f52
UD
4536 [BZ #12393]
4537 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
4538 (is_trusted_path_normalize): Skip initial colon. Append slash
4539 to empty buffer. Duplicate is_trusted_path code but allow
4540 constructed patch to be prefix.
4541 (is_dst): Allow $ORIGIN followed by /.
4542 (_dl_dst_substitute): Correct clearing of check_for_trusted.
4543 Correct testing of result of is_trusted_path_normalize
4544 (decompose_rpath): Fix warning.
4545
7b3b0b2a
UD
45462011-05-10 Ulrich Drepper <drepper@gmail.com>
4547
4548 [BZ #11257]
4549 * grp/initgroups.c (internal_getgrouplist): When we found the service
4550 list through the initgroups entry in nsswitch.conf do not always
4551 continue on a successful lookup. Don't always use the
eac80ce2 4552 __nss_group_database value if it is set.
7b3b0b2a
UD
4553 * nss/nsswitch.conf (initgroups): Change action for successful db
4554 lookup to continue for compatibility.
4555
2a81eaa5
UD
45562011-05-09 Ulrich Drepper <drepper@gmail.com>
4557
be97a69e
UD
4558 [BZ #11532]
4559 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
4560 and CP774 modules.
4561 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
4562 and CP774 modules.
4563 * iconvdata/tst-tables.sh: Likewise.
4564 * iconvdata/cp770.c: New file.
4565 * iconvdata/cp771.c: New file.
4566 * iconvdata/cp772.c: New file.
4567 * iconvdata/cp773.c: New file.
4568 * iconvdata/cp774.c: New file.
4569 * iconvdata/testdata/CP770: New file.
4570 * iconvdata/testdata/CP770..UTF8: New file.
4571 * iconvdata/testdata/CP771: New file.
4572 * iconvdata/testdata/CP771..UTF8: New file.
4573 * iconvdata/testdata/CP772: New file.
4574 * iconvdata/testdata/CP772..UTF8: New file.
4575 * iconvdata/testdata/CP773: New file.
4576 * iconvdata/testdata/CP773..UTF8: New file.
4577 * iconvdata/testdata/CP774: New file.
4578 * iconvdata/testdata/CP774..UTF8: New file.
4579
4580 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
4581 END CHARMAP line.
4582 * iconvdata/gen-8bit-gap.sh: Likewise.
4583 * iconvdata/gen-8bit.sh: Likewise.
4584
c1e9e399
UD
4585 * locale/iso-639.def: Add ary entry.
4586
24c55fb3 4587 [BZ #11258]
96b4b1b0
UD
4588 * locale/C-translit.h.in: Add U20A1 transliteration.
4589
bdc2f971
KB
4590 [BZ #12178]
4591 * locale/iso-639.def: Add wae entry.
4592 Patch by Kevin Bortis <bortis@translate-wae.ch>.
4593
2952b117
UD
4594 [BZ #12545]
4595 * locale/programs/localedef.c (construct_output_path): Use ssize_t
4596 for n.
4597
2a81eaa5
UD
4598 [BZ #12711]
4599 * locale/C-translit.h.in: Add entry for U20B9.
4600 Patch by pravin.d.s@gmail.com.
4601
28377d1b
UD
46022011-05-08 Ulrich Drepper <drepper@gmail.com>
4603
7fb90fb8
UD
4604 [BZ #12713]
4605 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
4606 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
4607 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
4608 in rtld. Use *stat64.
7fb90fb8 4609 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 4610 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 4611 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
4612 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
4613 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
4614 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
4615 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
4616 __fstatat64 macros.
7fb90fb8
UD
4617 * include/dirent.h: Add libc_hidden_proto for rewinddir.
4618 * dirent/rewinddir.c: Add libc_hidden_def.
4619 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 4620 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 4621
28377d1b
UD
4622 * include/dirent.h (__alloc_dir): Add flags parameter.
4623 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
4624 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
4625 __alloc_dir.
4626 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
4627 from fdopendir if O_CLOEXEC is already set.
4628
66bdbaa4
AM
46292011-03-15 Alan Modra <amodra@gmail.com>
4630
4631 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
4632 l_tls_firstbyte_offset non-zero. Save padding offset in
4633 l_tls_firstbyte_offset for later use.
4634 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
4635 freeing static tls block.
4636
95721191
JN
46372011-03-05 Jonathan Nieder <jrnieder@gmail.com>
4638
4639 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
4640 where #ifdef was intended. The intent is to prevent ARG_MAX from
4641 being defined by the kernel headers.
4642
f87dfb1f
UD
46432011-05-07 Ulrich Drepper <drepper@gmail.com>
4644
4645 [BZ #12734]
4646 * resolv/resolv.h: Define RES_NOTLDQUERY.
4647 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
4648 no-tld-query and set RES_NOTLDQUERY.
4649 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
4650 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
4651 modern BIND to search name as TLD unless forbidden.
4652
47c3cd7a
UD
46532011-05-07 Petr Baudis <pasky@suse.cz>
4654 Ulrich Drepper <drepper@gmail.com>
4655
4656 [BZ #12393]
4657 * elf/dl-load.c (fillin_rpath): Move trusted path check...
4658 (is_trusted_path): ...to here.
c1e9ea35 4659 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 4660 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 4661 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 4662
8a35c912
PP
46632011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4664
4665 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
4666 __BEGIN/__END_DECLS.
4667
acd41f47
UD
46682011-05-06 Ulrich Drepper <drepper@gmail.com>
4669
4670 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
4671 NSS_STATUS_NOTFOUND if no record was found.
4672
597df647
AS
46732011-05-05 Andreas Schwab <schwab@redhat.com>
4674
4675 * sunrpc/Makefile (headers): Add rpc/netdb.h.
4676 (headers-not-in-tirpc): Remove rpc/netdb.h
4677 * resolv/netdb.h: Revert last change.
4678
b9af1301
PP
46792011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4680
4681 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
4682 circular dependency between libgcc.a and libc.a.
4683
4e34d5f5
AS
46842011-05-05 Andreas Schwab <schwab@redhat.com>
4685
4686 * resolv/netdb.h: Don't include <rpc/netdb.h>.
4687 * nis/Makefile: Don't install rpcsvc/*.
4688 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
4689 instead of <rpc/types.h>.
4690 (MAXHOSTNAMELEN): Define.
4691
00ee369c
AS
46922011-05-03 Andreas Schwab <schwab@redhat.com>
4693
4694 * elf/ldconfig.c (add_dir): Don't crash on empty path.
4695
0b592a30
MB
46962011-04-28 Maciej Babinski <mbabinski@google.com>
4697
4698 [BZ #12714]
4699 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
4700 gethostbyname4_r when IPv6 results are possible.
4701
6e04cbbe
UD
47022011-05-02 Ulrich Drepper <drepper@gmail.com>
4703
4704 [BZ #12723]
4705 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
4706 _PC_PIPE_BUF handling.
4707
e4ecafe0
BH
47082011-04-30 Bruno Haible <bruno@clisp.org>
4709
4710 [BZ #12717]
4711 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
4712 * resolv/netdb.h (getnameinfo): Change type of flags parameter
4713 to 'int'.
4714 * inet/getnameinfo.c (getnameinfo): Likewise.
4715
125ee683
UD
47162011-04-29 Ulrich Drepper <drepper@gmail.com>
4717
4718 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
4719 to groups setting in database lookup.
4720 * nss/nsswitch.conf: Add initgroups entry.
4721
b722481a
EB
47222011-04-22 Ulrich Drepper <drepper@gmail.com>
4723
4724 [BZ #12685]
4725 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
4726 mode string.
4727 Patch by Eric Blake <eblake@redhat.com>.
4728
4df46dbd
L
47292011-04-20 H.J. Lu <hongjiu.lu@intel.com>
4730
4731 * sunrpc/Makefile (need-export-routines): Add svc_run.
4732 (routines): Remove svc_run.
4733 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
4734 * sunrpc/clnt_perr.c (clnt_perrno): Export.
4735 * sunrpc/svc_run.c (svc_run): Likewise.
4736 * sunrpc/svc_udp.c (svcudp_create): Likewise.
4737
e84142d2
UD
47382011-04-21 Ulrich Drepper <drepper@gmail.com>
4739
4740 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
4741 problem in reallocation in last patch.
4742
877175d8
UD
47432011-04-20 Ulrich Drepper <drepper@gmail.com>
4744
4745 * sunrpc/Makefile: Move inclusion of Rules.
4746
ab8eed78
UD
47472011-04-19 Ulrich Drepper <drepper@gmail.com>
4748
4749 * nss/nss_files/files-initgroups.c: New file.
4750 * nss/Makefile (libnss_files-routines): Add files-initgroups.
4751 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
4752 _nss_files_initgroups_dyn.
4753
e3d8f584
RS
47542011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
4755
4756 * elf/elf.h (R_ARM_IRELATIVE): Define.
4757
af190f45
UD
47582011-04-19 Ulrich Drepper <drepper@gmail.com>
4759
4760 * po/ru.po: Update from translation team.
4761
53cf59ef
UD
47622011-04-17 Ulrich Drepper <drepper@gmail.com>
4763
4764 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
4765 dependencies.
4766
4c559bcd
MF
47672011-02-06 Mike Frysinger <vapier@gentoo.org>
4768
4769 [BZ #12653]
4770 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
4771 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
4772 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4773 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4774 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4775
4420675c
AS
47762011-03-28 Andreas Schwab <schwab@linux-m68k.org>
4777
4778 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
4779 differing bytes.
4780 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4781 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4782 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4783
75ea32ab
UD
47842011-04-17 Ulrich Drepper <drepper@gmail.com>
4785
4786 [BZ #12420]
4787 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
4788 storing it.
4789 * stdlib/bug-getcontext.c: New file.
4790 * stdlib/Makefile: Add rules to build and run bug-getcontext.
4791
27390476
AK
47922011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4793
4794 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
4795 instructions into .machine "z9-109".
4796 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
4797 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
4798
10442705
AK
47992011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4800
4801 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
4802 between environment variables and auxiliary vector.
4803
7b57bfe5
UD
48042011-04-16 Ulrich Drepper <drepper@gmail.com>
4805
4806 * Makefile: Add rules to build linkobj/libc.so.
4807 * include/libc-symbols.h: Define libc_hidden_nolink.
4808 * include/rpc/auth.h: Mark functions which are to be hidden.
4809 * include/rpc/auth_des.h: Likewise.
4810 * include/rpc/auth_unix.h: Likewise.
4811 * include/rpc/clnt.h: Likewise.
4812 * include/rpc/des_crypt.h: Likewise.
4813 * include/rpc/key_prot.h: Likewise.
4814 * include/rpc/pmap_clnt.h: Likewise.
4815 * include/rpc/pmap_prot.h: Likewise.
4816 * include/rpc/pmap_rmt.h: Likewise.
4817 * include/rpc/rpc_msg.h: Likewise.
4818 * include/rpc/svc.h: Likewise.
4819 * include/rpc/svc_auth.h: Likewise.
4820 * include/rpc/xdr.h: Likewise.
4821 * nis/Makefile: Link all DSOs against linkobj/libc.so.
4822 * nss/Makefile: Likewise.
4823 * sunrpc/Makefile: Don't install headers. Build library with normal
4824 entry points. Don't build rpcinfo. Link RPC tests appropriately.
4825 * sunrpc/auth_des.c: Hide exported symbols by default, export some
4826 for the compat linking library. Remove use of INTDEF/INTUSE.
4827 * sunrpc/auth_none.c: Likewise.
4828 * sunrpc/auth_unix.c: Likewise.
4829 * sunrpc/authdes_prot.c: Likewise.
4830 * sunrpc/authuxprot.c: Likewise.
4831 * sunrpc/clnt_gen.c: Likewise.
4832 * sunrpc/clnt_perr.c: Likewise.
4833 * sunrpc/clnt_raw.c: Likewise.
4834 * sunrpc/clnt_simp.c: Likewise.
4835 * sunrpc/clnt_tcp.c: Likewise.
4836 * sunrpc/clnt_udp.c: Likewise.
4837 * sunrpc/clnt_unix.c: Likewise.
4838 * sunrpc/des_crypt.c: Likewise.
4839 * sunrpc/des_soft.c: Likewise.
4840 * sunrpc/get_myaddr.c: Likewise.
4841 * sunrpc/key_call.c: Likewise.
4842 * sunrpc/key_prot.c: Likewise.
4843 * sunrpc/netname.c: Likewise.
4844 * sunrpc/pm_getmaps.c: Likewise.
4845 * sunrpc/pm_getport.c: Likewise.
4846 * sunrpc/pmap_clnt.c: Likewise.
4847 * sunrpc/pmap_prot.c: Likewise.
4848 * sunrpc/pmap_prot2.c: Likewise.
4849 * sunrpc/pmap_rmt.c: Likewise.
4850 * sunrpc/publickey.c: Likewise.
4851 * sunrpc/rpc_cmsg.c: Likewise.
4852 * sunrpc/rpc_common.c: Likewise.
4853 * sunrpc/rpc_dtable.c: Likewise.
4854 * sunrpc/rpc_prot.c: Likewise.
4855 * sunrpc/rpc_thread.c: Likewise.
4856 * sunrpc/rtime.c: Likewise.
4857 * sunrpc/svc.c: Likewise.
4858 * sunrpc/svc_auth.c: Likewise.
4859 * sunrpc/svc_authux.c: Likewise.
4860 * sunrpc/svc_raw.c: Likewise.
4861 * sunrpc/svc_run.c: Likewise.
4862 * sunrpc/svc_simple.c: Likewise.
4863 * sunrpc/svc_tcp.c: Likewise.
4864 * sunrpc/svc_udp.c: Likewise.
4865 * sunrpc/svc_unix.c: Likewise.
4866 * sunrpc/svcauth_des.c: Likewise.
4867 * sunrpc/xcrypt.c: Likewise.
4868 * sunrpc/xdr.c: Likewise.
4869 * sunrpc/xdr_array.c: Likewise.
4870 * sunrpc/xdr_float.c: Likewise.
4871 * sunrpc/xdr_intXX_t.c: Likewise.
4872 * sunrpc/xdr_mem.c: Likewise.
4873 * sunrpc/xdr_rec.c: Likewise.
4874 * sunrpc/xdr_ref.c: Likewise.
4875 * sunrpc/xdr_sizeof.c: Likewise.
4876 * sunrpc/xdr_stdio.c: Likewise.
4877
e6c61494
UD
48782011-04-10 Ulrich Drepper <drepper@gmail.com>
4879
4880 [BZ #12650]
4881 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
4882 * sysdeps/ia64/dl-tls.h: Likewise.
4883 * sysdeps/powerpc/dl-tls.h: Likewise.
4884 * sysdeps/s390/dl-tls.h: Likewise.
4885 * sysdeps/sh/dl-tls.h: Likewise.
4886 * sysdeps/sparc/dl-tls.h: Likewise.
4887 * sysdeps/x86_64/dl-tls.h: Likewise.
4888 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
4889
34fe483e
AS
48902011-03-14 Andreas Schwab <schwab@redhat.com>
4891
4892 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
4893 rpath element also skip the following colon.
4894 (expand_dynamic_string_token): Add is_path parameter and pass
4895 down to DL_DST_REQUIRED and _dl_dst_substitute.
4896 (decompose_rpath): Call expand_dynamic_string_token with
4897 non-zero is_path. Ignore empty rpaths.
4898 (_dl_map_object_from_fd): Call expand_dynamic_string_token
4899 with zero is_path.
4900
f12a32e6
AS
49012011-04-08 Andreas Schwab <schwab@linux-m68k.org>
4902
4903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
4904 Make cancelable.
4905
38a7d692
UD
49062011-04-09 Ulrich Drepper <drepper@gmail.com>
4907
4908 [BZ #12655]
4909 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
4910 Patch by Filipe David Manana <fdmanana@apache.org>.
4911
e451d22b
AS
49122011-04-07 Andreas Schwab <schwab@redhat.com>
4913
4914 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
4915 Maintain aligned stack.
4916 (CHECK_RSP): Remove unused macro.
4917
dedc7c7b
UD
49182011-04-03 Ulrich Drepper <drepper@gmail.com>
4919
4920 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
4921 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
4922
94521213
UD
49232011-04-02 Ulrich Drepper <drepper@gmail.com>
4924
4925 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
4926
8cb700c0 4927 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 4928
0354e355
L
49292011-03-26 H.J. Lu <hongjiu.lu@intel.com>
4930
4931 [BZ #12518]
4932 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
4933 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
4934 * sysdeps/x86_64/memmove.c: New file.
4935 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
4936 (memcpy): Renamed to ...
4937 (__new_memcpy): This.
4938 (memcpy): Provide GLIBC_2_14 memcpy.
4939 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
4940 (memcpy): Provide GLIBC_2_2_5 memcpy.
4941
8593482f
UD
49422011-04-01 Ulrich Drepper <drepper@gmail.com>
4943
4944 [BZ #12631]
4945 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
4946
81a5726b
AS
49472011-03-30 Andreas Schwab <schwab@redhat.com>
4948
4949 * misc/syncfs.c: New file.
4950 * misc/Makefile (routines): Add syncfs.
4951 * posix/unistd.h: Declare syncfs.
4952 * sysdeps/unix/syscalls.list: Add syncfs.
4953
00e5419f
AS
49542011-04-01 Andreas Schwab <schwab@redhat.com>
4955
4956 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
4957 open_by_handle_at.
4958 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
4959 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
4960 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4961 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
4962 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4963 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4964 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
4965
748876bf
UD
49662011-04-01 Ulrich Drepper <drepper@gmail.com>
4967
658e451d
UD
4968 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
4969 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
4970 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
4971 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4972 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
4973 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4974 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
4975
748876bf
UD
4976 * io/Makefile: Compile fallocate.c, fallocate64.c, and
4977 sync_file_range.c with -fexceptions.
4978 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
4979 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
4980 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
4981 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
4982 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
4983 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
4984 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
4985 sync_file_range as cancellation point
4986 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
4987 now a wrapper around __call_sync_file_range with cancellation handling.
4988 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
4989 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
4990 function name to __call_sync_file_range.
4991 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
4992 Add call_sync_file_range.
748876bf 4993
6e63d5e1
AS
49942011-04-01 Andreas Schwab <schwab@redhat.com>
4995
4996 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 4997 bits/timex.h.
6e63d5e1 4998
46998f74
UD
49992011-04-01 Ulrich Drepper <drepper@gmail.com>
5000
4c1423ed
UD
5001 * iconv/iconv.h: Fix typo in comment.
5002 * io/fcntl.h: Likewise.
5003 * libio/stdio.h: Likewise.
5004 * posix/spawn.h: Likewise.
5005 * posix/unistd.h: Likewise.
5006 * stdlib/stdlib.h: Likewise.
5007 * time/time.h: Likewise.
5008 * wcsmbs/wchar.h: Likewise.
5009
158648c0
UD
5010 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
5011 open_by_handle): Add.
5012 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
5013 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
5014 Augment a few comments.
5015 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
5016 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5017 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
5018 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5019 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
5020 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
5021 open_by_handle.
5022
46998f74
UD
5023 * io/fcntl.h (AT_EMPTY_PATH): Define.
5024
83fe108b
UD
50252011-03-30 Ulrich Drepper <drepper@gmail.com>
5026
5027 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
5028 * sysdeps/unix/sysv/linux/bits/time.h: New file.
5029 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
5030 to...
5031 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
5032 * Versions.def: Add GLIBC_2.14.
5033 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
5034 Export.
83fe108b 5035
bb242059
UD
50362011-03-22 Ulrich Drepper <drepper@gmail.com>
5037
5038 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
5039 round counter.
5040 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
5041
c97a1282
L
50422011-03-20 H.J. Lu <hongjiu.lu@intel.com>
5043
5044 [BZ #12597]
5045 * string/test-strncmp.c (do_page_test): New function.
5046 (check2): Likewise.
5047 (test_main): Call check2.
5048 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
5049
2a115601
UD
50502011-03-20 Ulrich Drepper <drepper@gmail.com>
5051
5052 [BZ #12587]
5053 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
5054 Handle cache information in CPU leaf 4.
5055 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
5056
8126d904
UD
50572011-03-18 Ulrich Drepper <drepper@gmail.com>
5058
042c49c6 5059 [BZ #12583]
8126d904
UD
5060 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
5061 character representation.
5062 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
5063
ccfe366e
RA
50642011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
5065
5066 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
5067 END(__isnan) to END(__isnanf) to match function entry point/label
5068 EALIGN(__isnanf,...).
5069
c6e13027
JJ
50702011-03-10 Jakub Jelinek <jakub@redhat.com>
5071
5072 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
5073
33f85a3f
UD
50742011-03-10 Ulrich Drepper <drepper@gmail.com>
5075
028478fa
UD
5076 [BZ #12510]
5077 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
5078 copy from the symbol referenced in the relocation to initialize the
5079 used variable.
5080 Patch by Piotr Bury <pbury@goahead.com>.
5081 * elf/Makefile: Add rules to build and tst-unique3.
5082 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
5083 * elf/tst-unique3.cc: New file.
5084 * elf/tst-unique3.h: New file.
5085 * elf/tst-unique3lib.cc: New file.
5086 * elf/tst-unique3lib2.cc: New file.
5087
33f85a3f
UD
5088 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
5089
03592fc7
MF
50902011-03-10 Mike Frysinger <vapier@gentoo.org>
5091
5092 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
5093 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
5094 to _start.
03592fc7 5095
6a5ee102
UD
50962011-03-06 Ulrich Drepper <drepper@gmail.com>
5097
5098 * elf/dl-load.c (_dl_map_object): If we are looking for the first
5099 to-be-loaded object along a path to loader is ld.so.
5100
7e4ba49c
HJ
51012011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
5102 Ulrich Drepper <drepper@gmail.com>
5103
5104 * sysdeps/x86_64/memset.S: After aligning destination, code
5105 branches to different locations depending on the value of
5106 misalignment, when multiarch is enabled. Fix this.
5107
51082011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
5109
5110 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
5111 Set _x86_64_preferred_memory_instruction for AMD processsors.
5112 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5113 Set bit_Prefer_SSE_for_memop for AMD processors.
5114
13a804de
UD
51152011-03-04 Ulrich Drepper <drepper@gmail.com>
5116
5117 * libio/fmemopen.c (fmemopen): Optimize a bit.
5118
9d25c392
AS
51192011-03-03 Andreas Schwab <schwab@redhat.com>
5120
5121 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
5122
a5543c6a
RM
51232011-03-03 Roland McGrath <roland@redhat.com>
5124
5125 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
5126
012d35f7
DM
51272011-02-28 Aurelien Jarno <aurelien@aurel32.net>
5128
7e4ba49c 5129 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
5130 __bzero_ultra1 instead of __memset_ultra1.
5131
4bff6e01
AS
51322011-02-23 Andreas Schwab <schwab@redhat.com>
5133 Ulrich Drepper <drepper@gmail.com>
5134
5135 [BZ #12509]
5136 * include/link.h (struct link_map): Add l_orig_initfini.
5137 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
5138 returning unsuccessfully.
5139 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
5140 close of a file loaded at startup, restore the original l_initfini
5141 list.
5142 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
5143 list, store the pointer.
5144 * elf/Makefile ($(objpfx)noload-mem): New rule.
5145 (noload-ENV): Define.
5146 (tests): Add $(objpfx)noload-mem.
5147 * elf/noload.c: Include <memcheck.h>.
5148 (main): Call mtrace. Close all opened handles.
5149
f2092faf
AS
51502011-02-17 Andreas Schwab <schwab@redhat.com>
5151
5152 [BZ #12454]
5153 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
5154 dependencies are missing.
5155
6c8a2e88
ST
51562011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
5157
f2092faf 5158 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
5159 Hurd needs munmap.
5160 * sysdeps/mach/hurd/ifreq.h: New file.
5161
84a42118
PB
51622011-01-27 Petr Baudis <pasky@suse.cz>
5163 Ulrich Drepper <drepper@gmail.com>
5164
071f805e 5165 [BZ 12445]#
84a42118
PB
5166 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
5167 to extend_alloca().
5168 * stdio-common/bug23.c: New file.
5169 * stdio-common/Makefile (tests): Add bug23.
5170
e23fe25b
AS
51712010-09-28 Andreas Schwab <schwab@redhat.com>
5172 Ulrich Drepper <drepper@gmail.com>
5173
5174 [BZ #12489]
5175 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
5176 before performing relro protection. At old place add assertion
5177 to make sure nothing changed.
5178
d3f02e10
NS
51792011-02-17 Nathan Sidwell <nathan@codesourcery.com>
5180 Glauber de Oliveira Costa <glommer@gmail.com>
5181
5182 * elf/elf.h: Add new ARM TLS relocs.
5183
d55fd7a5
RA
51842011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
5185
5186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5187 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
5188 cast from r3.
5189 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
5190 'tests' variable.
5191 * sysdeps/wordsize-64/tst-writev.c: New file.
5192
2206397e
RA
51932011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
5194
5195 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
5196 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
5197 insns in _dl_start to prevent a TOC reference before relocs are
5198 resolved.
5199
e9433893
UD
52002011-02-15 Ulrich Drepper <drepper@gmail.com>
5201
5202 [BZ #12469]
5203 * Makeconfig: Remove RANLIB definition.
5204 * Makerules: Don't use RANLIB.
5205 * aclocal.m4: Remove ranlib test.
5206 * configure.in: No need to check for ranlib.
5207 * elf/rtld-Rules: Don't use RANLIB.
5208
f75286c6
ST
52092011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5210
8e31c82d
ST
5211 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
5212 protection macro.
5213 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
5214 inclusion protection macro.
5215
f75286c6
ST
5216 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
5217 SIGRTMIN and SIGRTMAX and print information in that case only when
5218 SIGRTMIN is defined.
5219
c1d0e639
JJ
52202011-02-11 Jakub Jelinek <jakub@redhat.com>
5221
5222 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
5223 arginfo fn returning -1.
5224
5225 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
5226 and thousands string is zero terminated.
5227
edf9294e
AS
52282011-02-03 Andreas Schwab <schwab@redhat.com>
5229
5230 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
5231 sysdeps/unix/sysv/linux/bits/socket.h.
5232
2b7e92df
ST
52332011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
5234
edf9294e
AS
5235 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
5236 (__CPU_COUNT): Remove old macros.
5237 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
5238 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
5239 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
5240 (__sched_cpualloc, __sched_cpufree): Add declarations.
5241
a4c7ea7b
UD
52422011-02-05 Ulrich Drepper <drepper@gmail.com>
5243
5244 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
5245 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
5246 * nscd/aicache.c (addhstaiX): Return timeout of added value.
5247 (readdhstai): Return value of addhstaiX call.
5248 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
5249 (addgrbyX): Return value returned by cache_addgr.
5250 (readdgrbyname): Return value returned by addgrbyX.
5251 (readdgrbygid): Likewise.
5252 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
5253 (addpwbyX): Return value returned by cache_addpw.
5254 (readdpwbyname): Return value returned by addhstbyX.
5255 (readdpwbyuid): Likewise.
5256 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
5257 (addservbyX): Return value returned by cache_addserv.
5258 (readdservbyname): Return value returned by addservbyX:
5259 (readdservbyport): Likewise.
5260 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
5261 (addhstbyX): Return value returned by cache_addhst.
5262 (readdhstbyname): Return value returned by addhstbyX.
5263 (readdhstbyaddr): Likewise.
5264 (readdhstbynamev6): Likewise.
5265 (readdhstbyaddrv6): Likewise.
5266 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
5267 (readdinitgroups): Return value returned by addinitgroupsX.
5268 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
5269 (prune_cache): Keep track of timeout value of re-added entries.
5270 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
5271 * nscd/nscd.h: Adjust prototypes of readd* functions.
5272
a0bf67cc
RM
52732011-02-04 Roland McGrath <roland@redhat.com>
5274
5275 * nis/nis_server.c (nis_servstate): Use the right name for 0.
5276 (nis_stats): Likewise.
5277 * nis/nis_modify.c (nis_modify): Likewise.
5278 * nis/nis_remove.c (nis_remove): Likewise.
5279 * nis/nis_add.c (nis_add): Likewise.
5280
5281 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
5282
5283 * posix/fnmatch_loop.c: Add some consts.
5284
5285 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
5286
435b95eb
L
52872011-02-02 H.J. Lu <hongjiu.lu@intel.com>
5288
5289 [BZ #12460]
5290 * config.make.in (config-cflags-novzeroupper): Define.
5291 * configure.in: Substitute libc_cv_cc_novzeroupper.
5292 * elf/Makefile (AVX-CFLAGS): Define.
5293 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
5294 (CFLAGS-tst-auditmod4a.c): Likewise.
5295 (CFLAGS-tst-auditmod4b.c): Likewise.
5296 (CFLAGS-tst-auditmod6b.c): Likewise.
5297 (CFLAGS-tst-auditmod6c.c): Likewise.
5298 (CFLAGS-tst-auditmod7b.c): Likewise.
5299 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
5300
8517b15e
UD
53012011-02-02 Ulrich Drepper <drepper@gmail.com>
5302
5303 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
5304 function to the callback.
5305 Patch partly by Jiri Olsa <jolsa@redhat.com>.
5306
10a656fe
AS
53072011-02-02 Andreas Schwab <schwab@redhat.com>
5308
5309 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
5310 of errno.
5311
968dad0a
UD
53122011-01-19 Ulrich Drepper <drepper@gmail.com>
5313
9f94d2ea 5314 [BZ #11724]
968dad0a
UD
5315 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
5316 of constructors.
5317 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
5318 of destructors.
5319 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
5320
5321 [BZ #11724]
5322 * elf/Makefile: Add rules to build and run new test.
5323 * elf/tst-initorder.c: New file.
5324 * elf/tst-initorder.exp: New file.
5325 * elf/tst-initordera1.c: New file.
5326 * elf/tst-initordera2.c: New file.
5327 * elf/tst-initordera3.c: New file.
5328 * elf/tst-initordera4.c: New file.
5329 * elf/tst-initorderb1.c: New file.
5330 * elf/tst-initorderb2.c: New file.
5331 * elf/tst-order-a1.c: New file.
5332 * elf/tst-order-a2.c: New file.
5333 * elf/tst-order-a3.c: New file.
5334 * elf/tst-order-a4.c: New file.
5335 * elf/tst-order-b1.c: New file.
5336 * elf/tst-order-b2.c: New file.
5337 * elf/tst-order-main.c: New file.
5338 New test case by George Gensure <werkt0@gmail.com>.
5339
86e92359
UD
53402010-10-01 Andreas Schwab <schwab@redhat.com>
5341
5342 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
5343 decoding ACE if AI_CANONIDN.
5344
5d5732b0
UD
53452011-01-18 Ulrich Drepper <drepper@gmail.com>
5346
5347 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
5348
a77e8cbc
UD
53492011-01-17 Ulrich Drepper <drepper@gmail.com>
5350
6392473f
UD
5351 * version.h (RELEASE): Bump for 2.13 release.
5352 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
5353
620a0529
UD
5354 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
5355
18ba70a5
UD
5356 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
5357 MADV_NOHUGEPAGE.
32465c3e
UD
5358 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
5359 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
5360 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5361 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5362 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5363 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
5364
c0dafcf1
UD
5365 * posix/getconf.c: Update copyright year.
5366 * catgets/gencat.c: Likewise.
5367 * csu/version.c: Likewise.
5368 * debug/catchsegv.sh: Likewise.
5369 * debug/xtrace.sh: Likewise.
5370 * elf/ldconfig.c: Likewise.
5371 * elf/ldd.bash.in: Likewise.
5372 * elf/sprof.c (print_version): Likewise.
5373 * iconv/iconv_prog.c: Likewise.
5374 * iconv/iconvconfig.c: Likewise.
5375 * locale/programs/locale.c: Likewise.
5376 * locale/programs/localedef.c: Likewise.
5377 * malloc/memusage.sh: Likewise.
5378 * malloc/mtrace.pl: Likewise.
5379 * nscd/nscd.c (print_version): Likewise.
5380 * nss/getent.c: Likewise.
5381
a77e8cbc
UD
5382 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
5383 PF_CAIF, and PF_ALG.
5384 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5385
77e8bddf
AS
53862011-01-16 Andreas Schwab <schwab@linux-m68k.org>
5387
1f20b93a
AS
5388 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
5389 (modules-names): Use them.
5390 (ifunc-test-modules, ifunc-pie-tests): Define.
5391 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
5392 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
5393 (test-extras): Likewise.
5394 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
5395 $(compile-command.c).
5396 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
5397 (all-built-dso): Define.
5398 (check-textrel.out, check-execstack.out): Depend on it.
5399
77e8bddf
AS
5400 * configure.in: Don't override --enable-multi-arch.
5401
bc425b33
UD
54022011-01-15 Ulrich Drepper <drepper@gmail.com>
5403
5404 [BZ #6812]
5405 * nscd/hstcache.c (tryagain): Define.
5406 (cache_addhst): Return tryagain not notfound for temporary errors.
5407 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
5408 failed.
5409
794c3ad3
UD
54102011-01-14 Ulrich Drepper <drepper@gmail.com>
5411
70181fdd
UD
5412 [BZ #10563]
5413 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
5414 to make the syscall.
5415 * sysdeps/unix/sysv/linux/setgroups.c: New file.
5416
794c3ad3
UD
5417 [BZ #12378]
5418 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
5419 and fall back to matching as normal character if the string ends before
5420 the matching ']' is found. This is what POSIX requires.
5421 * posix/testfnm.c: Adjust test result.
5422 * posix/globtest.sh: Adjust test result. Add new test.
5423 * posix/tst-fnmatch.input: Likewise.
5424 * posix/tst-fnmatch2.c: Add new test.
5425
68dc9497
AS
54262010-12-28 Andreas Schwab <schwab@linux-m68k.org>
5427
5428 * elf/Makefile (check-execstack): Revert last change. Depend on
5429 check-execstack.h.
5430 (check-execstack.h): New target.
5431 (generated): Add check-execstack.h.
5432 * elf/check-execstack.c: Include "check-execstack.h".
5433 (main): Revert last change.
5434 (handle_file): Return zero if GNU_STACK is absent and
5435 DEFAULT_STACK_PERMS doesn't include PF_X.
5436
451f001b
UD
54372011-01-13 Ulrich Drepper <drepper@gmail.com>
5438
cfa28e56
UD
5439 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
5440 in child fails because the descriptor is already closed.
8cf8ce17
UD
5441 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
5442 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
5443 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 5444
1086d70d
UD
5445 [BZ #12397]
5446 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
5447 syscall.
5448
451f001b
UD
5449 [BZ #10484]
5450 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
5451 temporary buffer used to handle multi lookups locally.
a85b5cb4 5452 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 5453
08769175
UD
54542011-01-12 Ulrich Drepper <drepper@gmail.com>
5455
5456 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
5457 loader is ld.so.
5458
5e49c52e
UD
54592011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
5460
5461 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
5462 alignment for SSE2.
5463
60522a5f
UD
54642011-01-12 Ulrich Drepper <drepper@gmail.com>
5465
5466 [BZ #12394]
5467 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
5468 characters. When rounding increased number of integer digits recompute
5469 number of groups.
5470 * stdio-common/tst-grouping.c: New file.
5471 * stdio-common/Makefile: Add rules to build and run tst-grouping.
5472
f257bbd7
UD
54732011-01-09 Ulrich Drepper <drepper@gmail.com>
5474
5475 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
5476 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
5477
5478 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
5479 void.
5480 * bits/select.h: Likewise.
5481
fa9c15cb
UD
54822011-01-08 Ulrich Drepper <drepper@gmail.com>
5483
5484 * po/ja.po: Update from translation team.
5485
16c2895f
DM
54862011-01-04 David S. Miller <davem@sunset.davemloft.net>
5487
5488 [BZ #11155]
5489 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
5490 implementation just like for lxstat, fxstatat, et al.
5491
2543fef2
JM
54922010-12-27 Jim Meyering <meyering@redhat.com>
5493
5494 [BZ #12348]
5495 * posix/regexec.c (build_trtable): Return failure indication upon
5496 calloc failure. Otherwise, re_search_internal could infloop on OOM.
5497
98727dbe
UD
54982010-12-25 Ulrich Drepper <drepper@gmail.com>
5499
5bd6dc5c
UD
5500 [BZ #12201]
5501 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
5502 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
5503 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
5504 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
5505
97983464
UD
5506 [BZ #12207]
5507 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
5508
98727dbe
UD
5509 [BZ #12204]
5510 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
5511 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
5512
4a531bb0
L
55132010-12-15 H.J. Lu <hongjiu.lu@intel.com>
5514
5515 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
5516 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
5517 script has SORT_BY_INIT_PRIORITY.
5518 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
5519 NO_CTORS_DTORS_SECTIONS is defined.
5520 * elf/soinit.c: Likewise.
5521 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
5522 NO_CTORS_DTORS_SECTIONS is defined.
5523 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
5524 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
5525 * sysdeps/sh/init-first.c: Likewise.
5526 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
5527
07eb4b71
UD
55282010-12-24 Ulrich Drepper <drepper@gmail.com>
5529
5530 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
5531 always use the slow path.
5532
30950a5f
RA
55332010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
5534
5535 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
5536 similar rule which adds the sysdep directories to the header search in
5537 order to pick up the correct platform stackinfo.h.
5538 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
5539 perform test if it is, otherwise return successfully without testing.
5540 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
5541 DEFAULT_STACK_PERMS define in stackinfo.h.
5542 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
5543 defined in stackinfo.h.
5544 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
5545 DEFAULT_STACK_PERMS defined in stackinfo.h.
5546 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
5547 * sysdeps/ia64/stackinfo.h: Likewise.
5548 * sysdeps/s390/stackinfo.h: Likewise.
5549 * sysdeps/sh/stackinfo.h: Likewise.
5550 * sysdeps/sparc/stackinfo.h: Likewise.
5551 * sysdeps/x86_64/stackinfo.h: Likewise.
5552 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
5553 PF_X for powerpc64. Retain PF_X for powerpc32.
5554
db753e2c
UD
55552010-12-19 Ulrich Drepper <drepper@gmail.com>
5556
14b697f7
UD
5557 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
5558 accurately.
db753e2c
UD
5559 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
5560 GETDENTS_64BIT_ALIGNED.
5561
28300719
UD
55622010-12-14 Ulrich Drepper <dreper@gmail.com>
5563
14b697f7 5564 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 5565
4f197237
AS
55662010-12-10 Andreas Schwab <schwab@redhat.com>
5567
dbb0472f
AS
5568 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
5569 _GNU_SOURCE.
5570
4f197237
AS
5571 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
5572 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
5573 Remove __restrict.
5574 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
5575 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
5576
fb88ac72
UD
55772010-12-09 Ulrich Drepper <drepper@gmail.com>
5578
5579 [BZ #11655]
5580 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
5581 are initialized.
5582
42acbb92
JJ
55832010-12-09 Jakub Jelinek <jakub@redhat.com>
5584
5585 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
5586
c038d98d
UD
55872010-12-03 Ulrich Drepper <drepper@gmail.com>
5588
5589 * po/it.po: Update from translation team.
5590
3a4a2499
L
55912010-12-01 H.J. Lu <hongjiu.lu@intel.com>
5592
5593 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
5594 unused codes.
5595
1e24cf6e
UD
55962010-11-30 Ulrich Drepper <drepper@gmail.com>
5597
5598 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
5599
a7690819
AS
56002010-11-24 Andreas Schwab <schwab@redhat.com>
5601
5602 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
5603 specially.
5604 (gaih_getanswer_slice): Likewise.
5605
3bf8d1b1
JJ
56062010-10-20 Jakub Jelinek <jakub@redhat.com>
5607
5608 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
5609
6db52fbb
PB
56102010-05-31 Petr Baudis <pasky@suse.cz>
5611
5612 [BZ #11149]
5613 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
5614 silently even in the chroot mode.
5615
eaca7569
UD
56162010-11-22 Ulrich Drepper <drepper@gmail.com>
5617
5618 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
5619 last patch a bit. Pretty printing
5620
3056dcdb
UD
56212010-05-31 Petr Baudis <pasky@suse.cz>
5622
5623 [BZ #10085]
5624 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
5625 initialization of skip_initgroups_dyn.
5626
cf7c9078
UD
56272010-11-19 Ulrich Drepper <drepper@gmail.com>
5628
5629 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
5630 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
5631
a1fb5e3e
UD
56322010-11-16 Ulrich Drepper <drepper@gmail.com>
5633
5634 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
5635
3540d66b
AS
56362010-11-11 Andreas Schwab <schwab@redhat.com>
5637
5638 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
5639 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
5640 (tst-fnmatch-ENV): Set MALLOC_TRACE.
5641 ($(objpfx)tst-fnmatch-mem): New rule.
5642 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
5643 * posix/tst-fnmatch.c (main): Call mtrace.
5644
13b69574
L
56452010-11-11 H.J. Lu <hongjiu.lu@intel.com>
5646
5647 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5648 Support Intel processor model 6 and model 0x2c.
5649
da93d214
LM
56502010-11-10 Luis Machado <luisgpm@br.ibm.com>
5651
5652 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
5653 signed comparison.
5654
8ca52c6e
L
56552010-11-09 H.J. Lu <hongjiu.lu@intel.com>
5656
5657 [BZ #12205]
5658 * string/test-strncasecmp.c (check_result): New function.
5659 (do_one_test): Use it.
5660 (check1): New function.
5661 (test_main): Use it.
5662 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
5663 Support strcasecmp and strncasecmp.
5664
69da074d
UD
56652010-11-08 Ulrich Drepper <drepper@gmail.com>
5666
5667 [BZ #12194]
5668 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
5669 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5670
ff02d528
L
56712010-11-07 H.J. Lu <hongjiu.lu@intel.com>
5672
5673 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
5674 IFUNC support.
5675 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5676 memset-x86-64.
5677 * sysdeps/x86_64/multiarch/bzero.S: New file.
5678 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
5679 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
5680 * sysdeps/x86_64/multiarch/memset.S: New file.
5681 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
5682 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5683 Set bit_Prefer_SSE_for_memop for Intel processors.
5684 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
5685 Define.
5686 (index_Prefer_SSE_for_memop): Define.
5687 (HAS_PREFER_SSE_FOR_MEMOP): Define.
5688
344d0b54
LM
56892010-11-04 Luis Machado <luisgpm@br.ibm.com>
5690
5691 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
5692 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
5693
c0dde15b
UD
56942010-11-03 H.J. Lu <hongjiu.lu@intel.com>
5695
5696 [BZ #12191]
5697 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
5698 (__x86_64_raw_data_cache_size_half): Likewise.
5699 (__x86_64_raw_shared_cache_size): Likewise.
5700 (__x86_64_raw_shared_cache_size_half): Likewise.
5701
5702 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
5703 (__x86_64_raw_data_cache_size_half): Likewise.
5704 (__x86_64_raw_shared_cache_size): Likewise.
5705 (__x86_64_raw_shared_cache_size_half): Likewise.
5706 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
5707 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
5708 and __x86_64_raw_shared_cache_size_half. Round
5709 __x86_64_data_cache_size_half, __x86_64_data_cache_size
5710 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
5711 to multiple of 256 bytes.
5712
0e516e0e
MS
57132010-11-03 Ulrich Drepper <drepper@gmail.com>
5714
5715 [BZ #12167]
5716 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
5717 of inacessible symlinks. Verify result of symlink before returning it.
5718 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5719 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
5720
0e012e87
ER
57212010-10-28 Erich Ritz <erichritz@gmail.com>
5722
5723 * math/math.h (isinf): Fix typo in comment.
5724
de0ff7bc
UD
57252010-11-01 Ulrich Drepper <drepper@gmail.com>
5726
5727 * po/da.po: Update from translation team.
5728
fa41c84d
UD
57292010-10-26 Ulrich Drepper <drepper@gmail.com>
5730
5731 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
5732 is added to the list.
5733
f0967738
AK
57342010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5735 Ulrich Drepper <drepper@gmail.com>
5736
5737 * elf/dl-object.c (_dl_new_object): Don't append the new object to
5738 the global list here. Move code to...
5739 (_dl_add_to_namespace_list): ...here. New function.
5740 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
5741 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
5742 * elf/dl-load.c (lose): Don't remove the element from the list.
5743 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
5744 (_dl_map_object): Likewise.
5745
57462010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
5747
5748 [BZ #12159]
5749 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
5750 into all bytes of SSE register.
5751 Patch by Richard Li <richardpku@gmail.com>.
5752
f0967738 57532010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
5754
5755 [BZ #12140]
5756 * malloc/malloc.c (_int_free): Fill correct number of bytes when
5757 perturbing.
5758
d0b9e94f
MB
57592010-10-20 Michael B. Brutman <brutman@us.ibm.com>
5760
5761 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
5762 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
5763 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
5764 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
5765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
5766 submachine.
5767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
5768
8e9f92e9
AS
57692010-10-22 Andreas Schwab <schwab@redhat.com>
5770
5771 * include/dlfcn.h (__RTLD_SECURE): Define.
5772 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
5773 mode & __RTLD_SECURE instead.
5774 (open_path): Rename preloaded parameter to secure.
5775 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
5776 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
5777 * elf/dl-deps.c (openaux): Likewise.
5778 * elf/rtld.c (struct map_args): Remove is_preloaded.
5779 (map_doit): Don't use it.
5780 (dl_main): Likewise.
5781 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
5782 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
5783
bc96fbda
AS
57842010-09-09 Andreas Schwab <schwab@redhat.com>
5785
5786 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
5787 (sysd-rules-targets): Remove duplicates.
5788 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
5789 rtld-%.$o dependency.
5790
22cd1c9b
AS
57912010-10-18 Andreas Schwab <schwab@redhat.com>
5792
5793 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
5794 _dl_map_object do it.
5795
18edac48
UD
57962010-10-19 Ulrich Drepper <drepper@gmail.com>
5797
5798 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
5799 fast fma builtins, define the macros in the C99 standard.
5800 (FP_FAST_FMAF): Likewise.
5801 (FP_FAST_FMAL): Likewise.
5802 * sysdeps/x86_64/bits/mathdef.h: Likewise.
5803
5804 * bits/mathdef.h: Update copyright year.
5805 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5806
d2050124
MM
58072010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
5808
5809 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
5810 builtins, define the macros in the C99 standard.
5811 (FP_FAST_FMAF): Likewise.
5812 (FP_FAST_FMAL): Likewise.
5813 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
5814 multiply/add.
5815 (FP_FAST_FMAF): Likewise.
5816
475facd1
JJ
58172010-10-15 Jakub Jelinek <jakub@redhat.com>
5818
5819 [BZ #3268]
5820 * math/libm-test.inc (fma_test): Some new testcases.
5821 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
5822 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
5823 y and infinite z. Do multiplication by C already in long double.
5824 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
5825 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
5826 y and infinite z. Do bitwise or of inexact bit into u.d.
5827 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
5828 * sysdeps/i386/fpu/s_fmaf.S: Removed.
5829 * sysdeps/i386/fpu/s_fma.S: Removed.
5830 * sysdeps/i386/fpu/s_fmal.S: Removed.
5831
7c08a05c
JJ
58322010-10-16 Jakub Jelinek <jakub@redhat.com>
5833
5834 [BZ #3268]
5835 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
5836 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
5837 computation is not scheduled after fetestexcept. Fix value
5838 of minimum denormal long double.
5839
f3f7372d
JJ
58402010-10-14 Jakub Jelinek <jakub@redhat.com>
5841
5842 [BZ #3268]
5843 * math/libm-test.inc (fma_test): Add some more tests.
5844 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
5845 correctly.
5846
14d43591
AS
58472010-10-15 Andreas Schwab <schwab@redhat.com>
5848
5849 * scripts/data/localplt-s390-linux-gnu.data: New file.
5850 * scripts/data/localplt-s390x-linux-gnu.data: New file.
5851
5e908464
JJ
58522010-10-13 Jakub Jelinek <jakub@redhat.com>
5853
5854 [BZ #3268]
5855 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
5856 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
5857 instead of dbl-64.
5858 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
5859 inlines.
5860 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
5861 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
5862 if one of x and y is very large and the other is subnormal.
5863 * sysdeps/s390/fpu/s_fmaf.c: New file.
5864 * sysdeps/s390/fpu/s_fma.c: New file.
5865 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
5866 * sysdeps/powerpc/fpu/s_fma.S: New file.
5867 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
5868 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
5869 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
5870
58712010-10-12 Jakub Jelinek <jakub@redhat.com>
5872
5873 [BZ #3268]
5874 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
5875 fma tests.
5876 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
5877 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
5878 * sysdeps/i386/i686/multiarch/s_fma.c: Include
5879 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
5880 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
5881 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
5882 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
5883
b833d51f
UD
58842010-10-12 Ulrich Drepper <drepper@redhat.com>
5885
5886 [BZ #12078]
5887 * posix/regcomp.c (parse_branch): One more memory leak plugged.
5888 * posix/bug-regex31.input: Add test case.
5889
1751705d
UD
58902010-10-11 Ulrich Drepper <drepper@gmail.com>
5891
e9b9cbf5
UD
5892 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
5893 * posix/bug-regex31.input: New file.
5894
5895 [BZ #12078]
5896 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
5897 (parse_sub_exp): Fix last change, use postorder.
5898
ef06edbe
UD
5899 * posix/bug-regex31.c: New file.
5900 * posix/Makefile: Add rules to build and run bug-regex31.
5901
a129c80d
UD
5902 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
5903
5904 [BZ #12078]
5905 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
5906
b76b818e
UD
5907 [BZ #12108]
5908 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
5909 to have entries in sys_siglist.
5910
1751705d
UD
5911 [BZ #12093]
5912 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
5913 be NULL.
5914
9ff8d36f
JJ
59152010-10-07 Jakub Jelinek <jakub@redhat.com>
5916
5917 [BZ #3268]
5918 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
5919 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
5920 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
5921 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
5922 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5923 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
5924 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
5925 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
5926 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
5927 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
5928 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
5929 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
5930 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
5931 * math/ftestexcept.c (fetestexcept): Likewise.
5932 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
5933 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
5934 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
5935 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
5936 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
5937 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
5938 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5939
af325969
UD
59402010-10-11 Ulrich Drepper <drepper@gmail.com>
5941
c579b202 5942 [BZ #12107]
af325969
UD
5943 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
5944 newline.
5945
67a67b95
UD
59462010-10-06 Ulrich Drepper <drepper@gmail.com>
5947
5948 * string/bug-strstr1.c: New file.
5949 * string/Makefile: Add rules to build and run bug-strstr1.
5950
5fb308bc
EB
59512010-10-05 Eric Blake <eblake@redhat.com>
5952
5953 [BZ #12092]
5954 * string/str-two-way.h (two_way_long_needle): Always clear memory
5955 when skipping input due to the shift table.
5956
45db99c7
UD
59572010-10-03 Ulrich Drepper <drepper@gmail.com>
5958
3b111893
UD
5959 [BZ #12005]
5960 * malloc/mcheck.c: Handle large requests.
5961
45db99c7
UD
5962 [BZ #12077]
5963 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
5964 for strncmp and strncasecmp.
5965 * string/stratcliff.c: Add tests for strcmp and strncmp.
5966 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
5967
cf7a1eb8
NI
59682010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5969
5970 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
5971 __set_fpscr.
5972
6484ba5e
AJ
59732010-09-30 Andreas Jaeger <aj@suse.de>
5974
5975 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
5976 (CGROUP_SUPER_MAGIC): Define.
5977 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5978 Handle btrfs and cgroup file systems.
5979 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5980 Likewise.
5981
91c42559
LM
59822010-09-27 Luis Machado <luisgpm@br.ibm.com>
5983
5984 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
5985 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
5986
87a97932
AK
59872010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5988
5989 [BZ #12067]
5990 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
5991 trying to locate the ELF header.
5992
c21cc9bc
AS
59932010-09-27 Andreas Schwab <schwab@redhat.com>
5994
5995 [BZ #11611]
5996 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
5997 Mask out sign-bit copies when constructing f_fsid.
5998
315970f6
PB
59992010-09-24 Petr Baudis <pasky@suse.cz>
6000
6001 * debug/stack_chk_fail_local.c: Add missing licence exception.
6002 * debug/warning-nop.c: Likewise.
6003
1ac7a2c7
JM
60042010-09-15 Joseph Myers <joseph@codesourcery.com>
6005
6006 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
6007 implementing getdents64 using getdents syscall, set d_type if
6008 __ASSUME_GETDENTS32_D_TYPE.
6009
56801c50
AS
60102010-09-16 Andreas Schwab <schwab@redhat.com>
6011
6012 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
6013 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
6014
dda51327
UD
60152010-09-21 Ulrich Drepper <drepper@redhat.com>
6016
6017 [BZ #12037]
6018 * posix/unistd.h: Undo change of feature selection for ftruncate from
6019 2010-01-11.
6020
8ffcee4a
UD
60212010-09-20 Ulrich Drepper <drepper@redhat.com>
6022
a545ecd9 6023 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
6024 detection.
6025
e24f0a8b
AS
60262010-09-20 Andreas Schwab <schwab@redhat.com>
6027
6028 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
6029 fanotify_mark.
6030 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
6031
7291c56f
AS
60322010-09-14 Andreas Schwab <schwab@redhat.com>
6033
6034 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
6035 variables after CHECK_SP call.
6036 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
6037
bc5fb037
AS
60382010-09-13 Andreas Schwab <schwab@redhat.com>
6039 Ulrich Drepper <drepper@redhat.com>
6040
6041 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
6042 re-relocationg ld.so.
6043 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
6044 _dl_init_paths call.
6045 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
6046 here anymore.
6047
e66e7419
UD
60482010-09-14 Ulrich Drepper <drepper@redhat.com>
6049
6050 * resolv/res_init.c (__res_vinit): Count the default server we added.
6051
c044aa75
CLT
60522010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
6053 Ulrich Drepper <drepper@redhat.com>
6054
6055 [BZ #11968]
6056 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6057 (____longjmp_chk): Use %ebx for saving value across system call.
6058 Add unwind info.
6059
32cf4069
AS
60602010-09-06 Andreas Schwab <schwab@redhat.com>
6061
6062 * manual/Makefile: Don't mix pattern rules with normal rules.
6063
817328ee
AS
60642010-09-05 Andreas Schwab <schwab@linux-m68k.org>
6065
6066 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
6067 operation.
6068 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
6069 * libio/iofopncook.c (_IO_cookie_init): Likewise.
6070 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
6071 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
6072 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6073 Likewise.
6074
29fddf61
UD
60752010-09-04 Ulrich Drepper <drepper@redhat.com>
6076
6077 [BZ #11979]
6078 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
6079 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
6080
0959ffc9
UD
60812010-09-02 Ulrich Drepper <drepper@redhat.com>
6082
6083 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
6084 * sysdeps/x86_64/addmul_1.S: Likewise.
6085 * sysdeps/x86_64/lshift.S: Likewise.
6086 * sysdeps/x86_64/mul_1.S: Likewise.
6087 * sysdeps/x86_64/rshift.S: Likewise.
6088 * sysdeps/x86_64/sub_n.S: Likewise.
6089 * sysdeps/x86_64/submul_1.S: Likewise.
6090
ece29840
ST
60912010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
6092
0959ffc9
UD
6093 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
6094 Define __sched_param instead of SCHED_* and sched_param when
ece29840 6095 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 6096 * bits/sched.h [__need_schedparam]
ece29840 6097 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
6098 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
6099 (__defined_schedparam): Define to 1.
ece29840
ST
6100 (__sched_param): New structure, identical to sched_param.
6101 (__need_schedparam): Undefine.
6102
e53a31fe
MF
61032010-08-31 Mike Frysinger <vapier@gentoo.org>
6104
fdc0c10d
MF
6105 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
6106 (epoll_create1): Declare.
6107
e53a31fe
MF
6108 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
6109
a726d796
AS
61102010-08-31 Andreas Schwab <schwab@redhat.com>
6111
6112 [BZ #7066]
6113 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
6114 shifting retval into place.
6115
2f3e3dc7
UD
61162010-09-01 Ulrich Drepper <drepper@redhat.com>
6117
f2933da9
UD
6118 * nis/rpcsvc/nis.h: Update copyright notice.
6119 * nis/rpcsvc/nis.x: Likewise.
6120 * nis/rpcsvc/nis_callback.h: Likewise.
6121 * nis/rpcsvc/nis_callback.x: Likewise.
6122 * nis/rpcsvc/nis_object.x: Likewise.
6123 * nis/rpcsvc/nis_tags.h: Likewise.
6124 * nis/rpcsvc/yp.h: Likewise.
6125 * nis/rpcsvc/yp.x: Likewise.
6126 * nis/rpcsvc/ypupd.h: Likewise.
6127 * nis/yp_xdr.c: Likewise.
6128 * nis/ypupdate_xdr.c: Likewise.
6129
2f3e3dc7
UD
6130 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
6131 mainly the body of pmap_getport. Add parameters to specify timeouts.
6132 (pmap_getport): Use __libc_rpc_getport.
6133 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
6134 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
6135 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
6136
f3dcc2f9
AS
61372010-08-31 Andreas Schwab <schwab@linux-m68k.org>
6138
6139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
6140 fanotify_mark.
6141
6d34eb5b
RM
61422010-08-27 Roland McGrath <roland@redhat.com>
6143
6144 * sysdeps/i386/i686/multiarch/Makefile
6145 (CFLAGS-varshift.c): New variable.
6146
9ea3de11
UD
61472010-08-27 Ulrich Drepper <drepper@redhat.com>
6148
c96d23fc
UD
6149 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
6150 * sysdeps/i386/i686/multiarch/varshift.c: New file.
6151
9ea3de11
UD
6152 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
6153
6154 * sysdeps/x86_64/strlen.S: Minimal code improvement.
6155
623aac7f
L
61562010-08-26 H.J. Lu <hongjiu.lu@intel.com>
6157
6158 * sysdeps/x86_64/strlen.S: Unroll the loop.
6159 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6160 strlen-sse2 strlen-sse2-bsf.
6161 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
6162 __strlen_no_bsf if bit_Slow_BSF is set.
6163 (__strlen_sse42): Removed.
6164 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
6165 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
6166
8b2b7715
RM
61672010-08-25 Roland McGrath <roland@redhat.com>
6168
6169 * sysdeps/x86_64/multiarch/varshift.S: File removed.
6170 * sysdeps/x86_64/multiarch/varshift.c: New file.
6171 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
6172 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
6173 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
6174 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6175
e73015f2
L
61762010-08-25 H.J. Lu <hongjiu.lu@intel.com>
6177
6178 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6179 strlen-sse2 strlen-sse2-bsf.
6180 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
6181 __strlen_sse2_bsf if bit_Slow_BSF is unset.
6182 (__strlen_sse2): Removed.
6183 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
6184 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
6185 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6186 bit_Slow_BSF for Atom.
6187 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
6188 (index_Slow_BSF): Define.
6189 (HAS_SLOW_BSF): Define.
6190
df24a73e
UD
61912010-08-25 Ulrich Drepper <drepper@redhat.com>
6192
6193 [BZ #10851]
6194 * resolv/res_init.c (__res_vinit): When no server address at all
6195 is given default to loopback.
6196
f2ac4868
RM
61972010-08-24 Roland McGrath <roland@redhat.com>
6198
09055553
RM
6199 * configure.in: Remove config-name.h generation.
6200 * configure: Regenerated.
6201 * config-name.in: File removed.
6202 * scripts/config-uname.sh: New file.
6203 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
6204 ($(objdir)config-name.h): New target.
6205
f2ac4868
RM
6206 * sunrpc/rpc_parse.h: Avoid nested comment.
6207
73f27d5e
RH
62082010-08-24 Richard Henderson <rth@redhat.com>
6209 Ulrich Drepper <drepper@redhat.com>
6210 H.J. Lu <hongjiu.lu@intel.com>
6211
6212 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
6213 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
6214 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
6215 Replace _mm_srli_si128 with __m128i_shift_right. Replace
6216 _mm_alignr_epi8 with _mm_loadu_si128.
6217 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
6218 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
6219 (__m128i_shift_right): Removed.
6220 * sysdeps/i386/i686/multiarch/varshift.h: New file.
6221 * sysdeps/i386/i686/multiarch/varshift.S: New file.
6222 * sysdeps/x86_64/multiarch/varshift.h: New file.
6223 * sysdeps/x86_64/multiarch/varshift.S: New file.
6224
84b9230c
MF
62252010-08-21 Mike Frysinger <vapier@gentoo.org>
6226
6227 * configure.in: Move assembler checks to before sysdep dir checking.
6228
9bbd0ddc
PB
62292010-08-20 Petr Baudis <pasky@suse.cz>
6230
6231 * LICENSES: Sync the sunrpc license.
6232
9da4bb31
UD
62332010-08-19 Ulrich Drepper <drepper@redhat.com>
6234
a7ab6ec8
UD
6235 * sunrpc/auth_des.c: Update copyright notice once again.
6236 * sunrpc/auth_none.c: Likewise.
6237 * sunrpc/auth_unix.c: Likewise.
6238 * sunrpc/authdes_prot.c: Likewise.
6239 * sunrpc/authuxprot.c: Likewise.
6240 * sunrpc/bindrsvprt.c: Likewise.
6241 * sunrpc/clnt_gen.c: Likewise.
6242 * sunrpc/clnt_perr.c: Likewise.
6243 * sunrpc/clnt_raw.c: Likewise.
6244 * sunrpc/clnt_simp.c: Likewise.
6245 * sunrpc/clnt_tcp.c: Likewise.
6246 * sunrpc/clnt_udp.c: Likewise.
6247 * sunrpc/clnt_unix.c: Likewise.
6248 * sunrpc/des_crypt.c: Likewise.
6249 * sunrpc/des_soft.c: Likewise.
6250 * sunrpc/get_myaddr.c: Likewise.
6251 * sunrpc/getrpcport.c: Likewise.
6252 * sunrpc/key_call.c: Likewise.
6253 * sunrpc/key_prot.c: Likewise.
6254 * sunrpc/openchild.c: Likewise.
6255 * sunrpc/pm_getmaps.c: Likewise.
6256 * sunrpc/pm_getport.c: Likewise.
6257 * sunrpc/pmap_clnt.c: Likewise.
6258 * sunrpc/pmap_prot.c: Likewise.
6259 * sunrpc/pmap_prot2.c: Likewise.
6260 * sunrpc/pmap_rmt.c: Likewise.
6261 * sunrpc/rpc/auth.h: Likewise.
6262 * sunrpc/rpc/auth_unix.h: Likewise.
6263 * sunrpc/rpc/clnt.h: Likewise.
6264 * sunrpc/rpc/des_crypt.h: Likewise.
6265 * sunrpc/rpc/key_prot.h: Likewise.
6266 * sunrpc/rpc/netdb.h: Likewise.
6267 * sunrpc/rpc/pmap_clnt.h: Likewise.
6268 * sunrpc/rpc/pmap_prot.h: Likewise.
6269 * sunrpc/rpc/pmap_rmt.h: Likewise.
6270 * sunrpc/rpc/rpc.h: Likewise.
6271 * sunrpc/rpc/rpc_des.h: Likewise.
6272 * sunrpc/rpc/rpc_msg.h: Likewise.
6273 * sunrpc/rpc/svc.h: Likewise.
6274 * sunrpc/rpc/svc_auth.h: Likewise.
6275 * sunrpc/rpc/types.h: Likewise.
6276 * sunrpc/rpc/xdr.h: Likewise.
6277 * sunrpc/rpc_clntout.c: Likewise.
6278 * sunrpc/rpc_cmsg.c: Likewise.
6279 * sunrpc/rpc_common.c: Likewise.
6280 * sunrpc/rpc_cout.c: Likewise.
6281 * sunrpc/rpc_dtable.c: Likewise.
6282 * sunrpc/rpc_hout.c: Likewise.
6283 * sunrpc/rpc_main.c: Likewise.
6284 * sunrpc/rpc_parse.c: Likewise.
6285 * sunrpc/rpc_parse.h: Likewise.
6286 * sunrpc/rpc_prot.c: Likewise.
6287 * sunrpc/rpc_sample.c: Likewise.
6288 * sunrpc/rpc_scan.c: Likewise.
6289 * sunrpc/rpc_scan.h: Likewise.
6290 * sunrpc/rpc_svcout.c: Likewise.
6291 * sunrpc/rpc_tblout.c: Likewise.
6292 * sunrpc/rpc_util.c: Likewise.
6293 * sunrpc/rpc_util.h: Likewise.
6294 * sunrpc/rpcinfo.c: Likewise.
6295 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
6296 * sunrpc/rpcsvc/key_prot.x: Likewise.
6297 * sunrpc/rpcsvc/klm_prot.x: Likewise.
6298 * sunrpc/rpcsvc/mount.x: Likewise.
6299 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
6300 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
6301 * sunrpc/rpcsvc/rex.x: Likewise.
6302 * sunrpc/rpcsvc/rstat.x: Likewise.
6303 * sunrpc/rpcsvc/rusers.x: Likewise.
6304 * sunrpc/rpcsvc/sm_inter.x: Likewise.
6305 * sunrpc/rpcsvc/spray.x: Likewise.
6306 * sunrpc/rpcsvc/yppasswd.x: Likewise.
6307 * sunrpc/rtime.c: Likewise.
6308 * sunrpc/svc.c: Likewise.
6309 * sunrpc/svc_auth.c: Likewise.
6310 * sunrpc/svc_authux.c: Likewise.
6311 * sunrpc/svc_raw.c: Likewise.
6312 * sunrpc/svc_run.c: Likewise.
6313 * sunrpc/svc_simple.c: Likewise.
6314 * sunrpc/svc_tcp.c: Likewise.
6315 * sunrpc/svc_udp.c: Likewise.
6316 * sunrpc/svc_unix.c: Likewise.
6317 * sunrpc/svcauth_des.c: Likewise.
6318 * sunrpc/xcrypt.c: Likewise.
6319 * sunrpc/xdr.c: Likewise.
6320 * sunrpc/xdr_array.c: Likewise.
6321 * sunrpc/xdr_float.c: Likewise.
6322 * sunrpc/xdr_mem.c: Likewise.
6323 * sunrpc/xdr_rec.c: Likewise.
6324 * sunrpc/xdr_ref.c: Likewise.
6325 * sunrpc/xdr_sizeof.c: Likewise.
6326 * sunrpc/xdr_stdio.c: Likewise.
6327
9da4bb31
UD
6328 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
6329 handling.
6330
bdaa77bc
AS
63312010-08-19 Andreas Schwab <schwab@redhat.com>
6332
6333 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
6334
fe2f79db
LM
63352010-08-19 Luis Machado <luisgpm@br.ibm.com>
6336
6337 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
6338 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
6339 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
6340 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
6341 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
6342 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
6343 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
6344 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
6345 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
6346 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
6347 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
6348 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
6349 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
6350 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
6351
b9b42ee0
AB
63522010-07-26 Anton Blanchard <anton@samba.org>
6353
6354 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
6355 * malloc/arena.c (heap_trim): Likewise.
6356
1c06ba31
UD
63572010-08-16 Ulrich Drepper <drepper@redhat.com>
6358
6359 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
6360 here. Not...
6361 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
6362 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
6363
f8392f40
L
63642010-08-12 H.J. Lu <hongjiu.lu@intel.com>
6365
6366 * sysdeps/i386/elf/Makefile: New file.
6367
3162f12e
AS
63682010-08-14 Andreas Schwab <schwab@linux-m68k.org>
6369
6370 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
6371 from fanotify_init.
6372 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
6373 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6374
28c90b2c
UD
63752010-08-15 Ulrich Drepper <drepper@redhat.com>
6376
6377 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
6378 of strncasecmp_l.
1feccb6c 6379 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 6380
ca6bb004
UD
63812010-08-14 Ulrich Drepper <drepper@redhat.com>
6382
e9f82e0d
UD
6383 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
6384 strncase_l-nonascii.
6385 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
6386 Add strncase_l-ssse3.
6387 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
6388 * sysdeps/x86_64/strcmp.S: Likewise.
6389 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
6390 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
6391 * sysdeps/x86_64/strncase.S: New file.
6392 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
6393 * sysdeps/x86_64/strncase_l.S: New file.
6394 * string/Makefile (strop-tests): Add strncasecmp.
6395 * string/test-strncasecmp.c: New file.
6396
6397 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
6398 warning.
6399
ca6bb004
UD
6400 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
6401 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
6402
052fa7b3
AS
64032010-08-14 Andreas Schwab <schwab@linux-m68k.org>
6404
6405 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
6406
962dba78
UD
64072010-08-12 Ulrich Drepper <drepper@redhat.com>
6408
6409 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
6410 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
6411 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
6412
bebff237
AM
64132010-05-01 Alan Modra <amodra@gmail.com>
6414
6415 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
6416 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
6417 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
6418 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
6419 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
6420 tidying. Don't tail-call __sigjmp_save for static lib.
6421 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
6422 save location.
6423 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
6424 (CALL_MCOUNT): Add eh info, and nop after bl.
6425 (TAIL_CALL_SYSCALL_ERROR): New macro.
6426 (PSEUDO_RET): Use it.
6427 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
6428 Correct save location of integer regs and cr.
6429 (_dl_profile_resolve): Correct cr save location. Delete nops
6430 after bl when SHARED. Reduce cfi size a little by better
6431 placement of cfi directives.
6432 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
6433 make a stack frame. Instead use parm save area as a temp.
6434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
6435 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
6436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6437 Don't make a stack frame for parent, use parm save area.
6438 Increase child stack frame to 112 bytes. Don't save unused reg,
6439 and adjust reg usage. Set up cfi on error recovery and
6440 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
6441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6442 (__makecontext): Add dummy nop after jump to exit.
6443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
6444 Use correct parm save area and cr save, reduce stack frame.
6445 Correct cfi for possible PSEUDO_RET frame setup.
6446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
6447 Branch to local label emitted by PSEUDO_RET rather than
6448 __syscall_error.
6449
02637374
AS
64502010-08-12 Andreas Schwab <schwab@redhat.com>
6451
6452 [BZ #11904]
6453 * locale/programs/locale.c (print_assignment): New function.
6454 (show_locale_vars): Use it.
6455
c3e2f19b
UD
64562010-08-11 Ulrich Drepper <drepper@redhat.com>
6457
3cdaa6ad
UD
6458 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
6459 field.
6460 (struct statfs64): Likewise.
6461 (_STATFS_F_FLAGS): Define.
6462 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
6463 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6464 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
6465 (ST_VALID): Define locally.
6466 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
6467 __statvfs_getflags, use the provided value.
6468 * sysdeps/unix/sysv/linux/kernel-features.h: Define
6469 __ASSUME_STATFS_F_FLAGS.
6470
754f7da3
UD
6471 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
6472
10b3bedc
UD
6473 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
6474 Add sys/fanotify.h.
6475 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
6476 fanotify_mask for GLIBC_2.13.
6477 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
6478 fanotify_init and fanotify_mark.
6479 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6480 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
6481
c08fb0d7
UD
6482 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
6483 Add prlimit.
6484 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
6485 prlimit64 for GLIBC_2.13.
6486 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
6487 prlimit64.
6488 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
6489 syscall.
6490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
6491 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
6492 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
6493 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
6494 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
6495 add prlimit alias.
6496 * sysdeps/unix/sysv/linux/prlimit.c: New file.
6497
15bac72b
UD
6498 [BZ #11903]
6499 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
6500 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
6501
c3e2f19b
UD
6502 * nss/Makefile: Add rules to build and run tst-nss-test1.
6503 * shlib-versions: Add entry for libnss_test1.
6504 * nss/nss_test1.c: New file.
6505 * nss/tst-nss-test1.c: New file.
6506
6507 * nss/nsswitch.c (__nss_database_custom): Define new variable.
6508 (__nss_configure_lookup): Set appropriate entry in
6509 __nss_configure_lookup to true.
6510 * nss/nsswitch.h: Define enum with indeces of databases in
6511 databases and __nss_database_custom arrays. Declare
6512 __nss_database_custom.
6513 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
6514 to avoid using nscd when custom rules are installed.
6515 * nss/getXXbyYY_r.c: Likewise.
6516 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6517
6518 * nss/nss_files/files-parse.c: Whitespace fixes.
6519
f15ce4d8
UD
65202010-08-09 Ulrich Drepper <drepper@redhat.com>
6521
6522 [BZ #11883]
6523 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
6524 * posix/fnmatch_loop.c: Likewise.
6525
d22e4cc9
AK
65262010-07-17 Andi Kleen <ak@linux.intel.com>
6527
6528 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
6529 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
6530 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
6531 * Versions.def [GLIBC_2.13]: Add.
6532
805bc17d
UD
65332010-08-06 Ulrich Drepper <drepper@redhat.com>
6534
6535 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6536 Also fail if tpwd after pwuid call is NULL.
6537
5a42321d
ST
65382010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
6539
6540 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
6541 when converting to ms.
6542
fd3ebeda
ST
65432010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
6544
6545 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
6546 EOPNOTSUPP errors with ENOTTY.
6547 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
6548 EOPNOTSUPP errors with ENOTTY.
6549
73507d3a
UD
65502010-07-31 Ulrich Drepper <drepper@redhat.com>
6551
6552 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
6553 Add strcasecmp_l-ssse3.
6554 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
6555 strcasecmp.
6556 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
6557 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
6558 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
6559
fe36dd02
UD
65602010-07-30 Ulrich Drepper <drepper@redhat.com>
6561
66f6765a
UD
6562 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
6563
42e08a54
UD
6564 * string/Makefile (strop-tests): Add strcasecmp.
6565 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
6566 strcasecmp_l-nonascii.
6567 (gen-as-const-headers): Add locale-defines.sym.
6568 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
6569 * sysdeps/x86_64/strcasecmp.S: New file.
6570 * sysdeps/x86_64/strcasecmp_l.S: New file.
6571 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
6572 * sysdeps/x86_64/locale-defines.sym: New file.
6573 * string/test-strcasecmp.c: New file.
6574
fe36dd02
UD
6575 * string/test-strcasestr.c: Test both ends of the range of characters.
6576 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
6577
48cbc0d6
RM
65782010-07-29 Roland McGrath <roland@redhat.com>
6579
76e6d6bc 6580 [BZ #11856]
48cbc0d6
RM
6581 * manual/locale.texi (Yes-or-No Questions): Fix example code.
6582
880113d9
UD
65832010-07-27 Ulrich Drepper <drepper@redhat.com>
6584
6585 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
6586 for ld.so.
6587
deb9cabb
AS
65882010-07-27 Andreas Schwab <schwab@redhat.com>
6589
6590 * manual/memory.texi (Malloc Tunable Parameters): Document
6591 M_PERTURB.
6592
1c7570ff
RM
65932010-07-26 Roland McGrath <roland@redhat.com>
6594
6595 [BZ #11840]
6596 * configure.in (-fgnu89-inline check): Set and substitute
6597 gnu89_inline, not libc_cv_gnu89_inline.
6598 * configure: Regenerated.
6599 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
6600
24fb0f88
UD
66012010-07-26 Ulrich Drepper <drepper@redhat.com>
6602
6603 * string/test-strnlen.c: New file.
6604 * string/Makefile (strop-tests): Add strnlen.
6605 * string/tester.c (test_strnlen): Add a few more test cases.
6606 * string/tst-strlen.c: Better error reporting.
6607
6608 * sysdeps/x86_64/strnlen.S: New file.
6609
8e96b93a
UD
66102010-07-24 Ulrich Drepper <drepper@redhat.com>
6611
6612 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
6613 lower-latency instructions.
6614
dbc676d4
UD
66152010-07-23 Ulrich Drepper <drepper@redhat.com>
6616
6617 * string/test-strcasestr.c: New file.
6618 * string/test-strstr.c: New file.
6619 * string/Makefile (strop-tests): Add strstr and strcasestr.
6620 * string/str-two-way.h: Don't undefine MAX.
6621 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
6622
f6a31e0e
AS
66232010-07-21 Andreas Schwab <schwab@redhat.com>
6624
6625 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6626 strcasestr-nonascii.
6627 (CFLAGS-strcasestr-nonascii.c): Define.
6628 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
6629 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
6630 Remove unused attribute.
6631
5dbc3b6c
RM
66322010-07-20 Roland McGrath <roland@redhat.com>
6633
6634 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
6635 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
6636 ld.so.cache was broken. With it, there is no way to disable dsocaps
6637 like LD_HWCAP_MASK can disable hwcaps.
6638
23d101d8
EPM
66392010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
6640
6641 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
6642
cc9f2e47
UD
66432010-07-16 Ulrich Drepper <drepper@redhat.com>
6644
6645 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
6646 call in strcasestr.
6647 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
6648 __strcasestr_sse42_nonascii.
6649 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
6650 strcasestr-nonascii.c.
6651 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
6652
77c1b069
LM
66532010-06-15 Luis Machado <luisgpm@br.ibm.com>
6654
6655 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
6656 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
6657 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
6658 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
6659
440566c3
UD
66602010-07-09 Ulrich Drepper <drepper@redhat.com>
6661
6662 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
6663 fcntl.
6664
5be9d05d
AS
66652010-07-06 Andreas Schwab <schwab@redhat.com>
6666
c30b7ee2 6667 [BZ #11577]
5be9d05d
AS
6668 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
6669 dl_signal_cerror.
6670
8a492a67
UD
66712010-07-06 Ulrich Drepper <drepper@redhat.com>
6672
6673 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
6674 _PC_PIPE_BUF using F_GETPIPE_SZ.
6675
713df3d5
RM
66762010-07-05 Roland McGrath <roland@redhat.com>
6677
6678 * manual/arith.texi (Rounding Functions): Fix rint description
6679 implicit in round description.
6680
702e8f14
UD
66812010-07-02 Ulrich Drepper <drepper@redhat.com>
6682
6683 * elf/Makefile: Fix linking for a few tests to make recent linker
6684 happy.
6685
52ed8be9
AS
66862010-06-30 Andreas Schwab <schwab@redhat.com>
6687
6688 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
6689 $(common-objpfx)libc_nonshared.a.
6690
f47c9a11
LM
66912010-06-21 Luis Machado <luisgpm@br.ibm.com>
6692
6693 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
6694 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
6695 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
6696 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
6697 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
6698 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
6699 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
6700 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
6701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
6702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
6703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
6704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
6705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
6706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
6707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
6708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
6709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
6710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
6711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
6712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
6713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
6714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
6715 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
6716 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
6717 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
6718 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
6719 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
6720 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
6721 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
6722 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
6723 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
6724 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
6725 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
6726 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
6727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
6728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
6729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
6730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
6731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
6732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
6733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
6734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
6735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
6736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
6737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
6738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
6739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
6740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
6741
6fb8cbcb
L
67422010-06-25 H.J. Lu <hongjiu.lu@intel.com>
6743
6744 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
6745 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
6746 * string/memmove.c (memmove): Renamed to ...
6747 (MEMMOVE): ...this. Default to memmove.
6748 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
6749 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
6750 (END_CHK): Define.
6751 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6752 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
6753 mempcpy-ssse3-back memmove-ssse3-back.
6754 * sysdeps/x86_64/multiarch/bcopy.S: New file .
6755 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
6756 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
6757 * sysdeps/x86_64/multiarch/memcpy.S: New file.
6758 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
6759 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
6760 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
6761 * sysdeps/x86_64/multiarch/memmove.c: New file.
6762 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
6763 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
6764 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
6765 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
6766 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
6767 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
6768 Define.
6769 (index_Fast_Copy_Backward): Define.
6770 (HAS_ARCH_FEATURE): Define.
6771 (HAS_FAST_REP_STRING): Define.
6772 (HAS_FAST_COPY_BACKWARD): Define.
6773
4e733bac 67742010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
6775
6776 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6777 Restore proper fallback handling.
6778
63c4ed22
UD
67792010-06-19 Ulrich Drepper <drepper@redhat.com>
6780
ac2b484c
UD
6781 [BZ #11701]
6782 * posix/group_member.c (__group_member): Correct checking loop.
6783
63c4ed22
UD
6784 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
6785 OOM in getpwuid_r correctly. Return error number when the caller
6786 should return, otherwise -1.
6787 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
6788 call returning > 0 value.
6789 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
6790
765ade4b
AS
67912010-06-07 Andreas Schwab <schwab@redhat.com>
6792
6793 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
6794 libc_nonshared.a from targets in modules-names.
6795
80da2e09
KS
67962010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
6797
6798 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
6799 requires it.
6800
158db122
LM
68012010-06-10 Luis Machado <luisgpm@br.ibm.com>
6802
6803 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
6804 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
6805 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
6806 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
6807
caa78cf8
AS
68082010-06-02 Andreas Schwab <schwab@redhat.com>
6809
6810 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
6811
b2ef2c01
UD
68122010-06-14 Ulrich Drepper <drepper@redhat.com>
6813
6814 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
6815 and F_GETPIPE_SZ.
6816 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
6817 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
6818 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6819 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6820 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
6821 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
6822
fbd643b6
RM
68232010-06-14 Roland McGrath <roland@redhat.com>
6824
6825 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
6826
f32f2869
JJ
68272010-06-07 Jakub Jelinek <jakub@redhat.com>
6828
6829 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
6830 __REDIRECT followed by __THROW.
6831 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
6832 * posix/getopt.h (getopt): Likewise.
6833
2a50c078
EPM
68342010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
6835
6836 * hurd/lookup-at.c (__file_name_lookup_at): Accept
6837 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
6838 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
6839 in AT_FLAGS.
6840 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
6841 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
6842
eb5ad2eb
LM
68432010-05-28 Luis Machado <luisgpm@br.ibm.com>
6844
6845 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
6846
3c88fe1e
L
68472010-05-26 H.J. Lu <hongjiu.lu@intel.com>
6848
6849 [BZ #11640]
6850 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6851 Properly check family and model.
6852
d2f73151
TY
68532010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
6854
6855 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
6856
ebd2e13d
LM
68572010-05-24 Luis Machado <luisgpm@br.ibm.com>
6858
6859 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
6860
b32b8b45
UD
68612010-05-21 Ulrich Drepper <drepper@redhat.com>
6862
6863 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
6864 symbol reference.
6865
9acbe24d
AS
68662010-05-19 Andreas Schwab <schwab@redhat.com>
6867
6868 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
6869 symbol reference.
6870
f0ccf6ea
AS
68712010-05-21 Andreas Schwab <schwab@redhat.com>
6872
3d04ff3a
AS
6873 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
6874 and internal_recvmmsg.
6875 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
6876 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
6877 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
6878 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
6879
f0ccf6ea
AS
6880 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
6881 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6882 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6883
5b08ac57
AS
68842010-05-20 Andreas Schwab <schwab@redhat.com>
6885
6886 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
6887
4828935d
LM
68882010-05-17 Luis Machado <luisgpm@br.ibm.com>
6889
6890 POWER7 optimizations.
6891 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
6892 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
6893
373d545e
UD
68942010-05-19 Ulrich Drepper <drepper@redhat.com>
6895
6896 * version.h: Update for 2.13 development version.
6897
21a2b1ae
AS
68982010-05-12 Andrew Stubbs <ams@codesourcery.com>
6899
6900 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
6901 exceptions. Return 0.
6902
3f7dcb2b
RM
69032010-05-07 Roland McGrath <roland@redhat.com>
6904
6905 * elf/ldconfig.c (main): Add a const.
6906
5f24d53a 69072010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 6908
a160f8d8
UD
6909 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
6910 (args_options): Add no-idn option.
6911 (ahosts_keys_int): Add idn_flags to ai_flags.
6912 (parse_option): Handle 'i' option to clear idn_flags.
6913
5f24d53a
UD
6914 * malloc/malloc.c (_int_free): Possible race in the most recently
6915 added check. Only act on the data if no current modification
6916 happened.
265bb1ce
UD
6917
6918See ChangeLog.17 for earlier changes.
This page took 0.885725 seconds and 5 git commands to generate.