]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Use kernel headers for netlink definitions
[thirdparty/glibc.git] / ChangeLog
CommitLineData
432d41ce
UD
12011-11-01 Ulrich Drepper <drepper@gmail.com>
2
3 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
4
02f9c6cf
PP
52011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6
7 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8 stack usage.
9
3a2c0242
UD
102011-10-31 Ulrich Drepper <drepper@gmail.com>
11
f4ec4833
UD
12 [BZ #13367]
13 * nss/getent.c (initgroups_keys): Show error message in case no group
14 names are given.
15
3a2c0242
UD
16 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
18 __bump_nl_timestamp.
19 * nscd/connections (nscd_init): When host database is served open
20 netlink socket and request notification about configuration changes.
21 (main_loop_poll): Track netlink file descriptor and bump timestamp
22 in case data becomes available.
23 (main_loop_epoll): Likewise.
24 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
25 (database_pers_head): Add extra_data fileds.
26 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
28 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
29 Adjust caller.
30 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
31 in6ai data, call __free_in6ai.
32 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
33 Add -DHAVE_NETLINK.
34 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
35 interface information. Reuse previous data if netlink timestamp
36 is not changed.
37 (__bump_nl_timestamp): New function.
38 (__free_in6ai): New function.
39
636064eb
UD
402011-10-30 Ulrich Drepper <drepper@gmail.com>
41
42 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43 close_not_cancel_no_status here.
44 (__check_pf): Reorganize code a bit to not call close twice if OOM.
45
9beb2334
UD
462011-10-29 Ulrich Drepper <drepper@gmail.com>
47
6ef76f3b
UD
48 [BZ #13276]
49 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
50 return value.
51
0ffc4f3e 52 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
53 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
54 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
55
cb95113e
UD
562011-07-03 Andreas Jaeger <aj@suse.de>
57
58 [BZ #10709]
59 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
60 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
61 * math/libm-test.inc (sin_test): Add test case.
62
a1b560ff
UD
632011-10-29 Ulrich Drepper <drepper@gmail.com>
64
c9aaface
UD
65 [BZ #13337]
66 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
67 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
68
d272e7f1
UD
69 * elf/chroot_canon.c (chroot_canon): Cleanups.
70
1bc33071
UD
71 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
72
1760874d
TJ
73 [BZ #13335]
74 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
75 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
76
51d91b18
UD
77 * string/test-strchr.c: Make usable for strchrnul testing.
78 * string/test-strchrnul.c: New file.
79 * string/Makefile (strop-tests): Add strchrnul.
80
a1b560ff 81 * po/it.po: Update from translation team.
b611fb81 82 * po/es.po: Likewise.
a1b560ff 83
a5b81e1f
UD
842011-10-28 Ulrich Drepper <drepper@gmail.com>
85
fd52bc6d
UD
86 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
87 the three constants needed as parameters. Drop the others.
88 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
89 __m128i_strloadu_tolower.
52e4b9eb
UD
90 Create and initialize variable zero and use it in all the places
91 where _mm_setzero_si128 was used.
fd52bc6d 92
a5b81e1f
UD
93 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
94 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
95 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
96 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
97 anymore.
98 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
99 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
100 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
101 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
102 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
103 __mpranred, __mptan.
104 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
105 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
106 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
107 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
108 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
109 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
110 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
111 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
112 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
113
b4343346
AS
1142011-10-28 Andreas Schwab <schwab@redhat.com>
115
0c92d8a8
AS
116 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
117 redefine if SHARED.
118 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
119
b4343346
AS
120 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
121 wide char related routines to wcsmbs subdir.
122
3871f58f
AS
1232011-10-27 Andreas Schwab <schwab@redhat.com>
124
125 [BZ #13344]
126 * misc/sys/cdefs.h (__THROWNL): Define.
127 * posix/unistd.h: Use __THREADNL instead of __THREAD
128 for memory synchronization functions.
129
94d44d9f
RM
1302011-10-26 Roland McGrath <roland@hack.frob.com>
131
21b64b15 132 [BZ #13349]
94d44d9f
RM
133 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
134 doesn't exist.
135 * manual/stdio.texi (Obstack Streams): Node removed.
136
f6ce9294
AS
1372011-10-26 Andreas Schwab <schwab@redhat.com>
138
80479147
AS
139 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
140 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
141 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
142
f6ce9294
AS
143 * math/math_private.h (math_force_eval): Allow non-addressable
144 arguments.
145 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
146
618280a1
UD
1472011-10-25 Ulrich Drepper <drepper@gmail.com>
148
e0016b11
UD
149 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
150 file is not needed.
151
152 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
153 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
154 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
155 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
156 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
157 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
158 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
159 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
160 Add AVX variants.
161 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
162 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
163 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
164 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
165 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
166 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
167 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
168 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
169 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
170 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
171 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
172 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
173 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
174 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
175 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
176 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
177 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
178 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
179 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
180
181 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
182 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
183
618280a1
UD
184 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
185 place. Use VEX encoding when compiling for AVX.
186
37822576
AS
1872011-10-25 Andreas Schwab <schwab@redhat.com>
188
1f1e1947
AS
189 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
190 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
191
37822576
AS
192 * string/test-strchr.c (do_test): Don't generate NUL bytes.
193
31ea014d
UD
1942011-10-25 Ulrich Drepper <drepper@gmail.com>
195
d7826aa1 196 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 197 useless if() expression.
d7826aa1
UD
198 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
199 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
200 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
201 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
202 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
203 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
204 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
205 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
206 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
207 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
208 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
209 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
210 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
211 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
212 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
213 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
214 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
215 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
216 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
217
31ea014d
UD
218 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
219
16437fec
AS
2202011-10-25 Andreas Schwab <schwab@redhat.com>
221
222 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
223 condition.
224 * elf/dl-fini.c (_dl_sort_fini): Likewise.
225
31d3cc00
UD
2262011-10-25 Ulrich Drepper <drepper@gmail.com>
227
228 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
229 .text section. Avoid duplicate constants.
230 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
231 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
232 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
233 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
234 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
235 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
236 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
237 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
238 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
239 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
240 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
241 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
242 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
243 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
244 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
245 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
246 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
247 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
248 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
249 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
250 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
251 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
252 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
253 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
254 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
255 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
256 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
257 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
258 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
259 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
260 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
261 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
262 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
263 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
264 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
265 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
266 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
267 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
268 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
269 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
270 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
271 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
272 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
273 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
274 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
275
58985aa9
UD
2762011-10-24 Ulrich Drepper <drepper@gmail.com>
277
202c9deb
UD
278 * sysdeps/x86_64/dla.h: Move to ...
279 * sysdeps/x86_64/fpu/dla.h: ...here.
280 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
281 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 282
af968f62
UD
283 * config.make.in: Add have-mfma4 entry.
284 * configure.in: Substitute libc_cv_cc_fma4.
285 * math/Makefile (dbl-only-routines): Add sincostab.
286 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
287 Use __sincostab not sincos.
288 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
289 name is a macro.
290 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
291 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
292 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
293 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
294 using __copysign.
295 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
296 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
297 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
298 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
299 and __inv.
300 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
301 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
302 __copysign.
303 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
304 define aliases when function name is a macro.
305 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
306 sysdeps/ieee754/dbl-64/sincos.tbl.
307 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
308 fma4-enabled routines.
309 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
310 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
311 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
312 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
313 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
314 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
315 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
316 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
317 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
318 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
319 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
320 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
321 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
322 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
323 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
324 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
325 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
326 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
327 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
328 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
329 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
330 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
331 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
332 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
333 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
334 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
335 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
336 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
337 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
338 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
339
58985aa9
UD
340 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
341 rename.
342 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
343 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
344 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
345 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
346 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
347 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
348 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
349 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
350
a201fbcf
AS
3512011-10-24 Andreas Schwab <schwab@redhat.com>
352
353 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
354
fc2ee42a
LD
3552011-10-23 Ulrich Drepper <drepper@gmail.com>
356
bb3129bd
UD
357 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
358
0275fff8
UD
359 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
360 prediction.
361 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
362
2fa2ae85
UD
363 * string/strnlen.c: Don't define STRNLEN, reverse logic.
364 Remove unused variable magic_bits.
365 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
366
fc2ee42a
LD
367 * string/strnlen.c: Define and use STRNLEN macro.
368 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
369 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
370 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
371 * wcsmbs/wcslen.c: Define and use WCSLEN.
372 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
373 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
374 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
375 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
376 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
377 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
378 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
379
ce7dd29f
LD
3802011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
381
382 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
383 strnlen-sse2-no-bsf.
384 Rename strlen-no-bsf to strlen-sse2-no-bsf.
385 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
386 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
387 Add strnlen support.
388 (USE_AS_STRNLEN): New macro.
389 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
390 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
391 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
392 * sysdeps/x86_64/wcslen.S: New file.
393
979c70a3
MZ
3942011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
395
396 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
397 XMM-moves are used for copying on small sizes.
398
2d09f82f
LD
3992011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
400
401 * wcsmbs/Makefile (strop-tests): Add wcschr.
402 * wcsmbs/test-wcschr.c: New file.
403 * string/test-strchr.c: Update.
404 Add wcschr support.
405 (WIDE): New macro.
406
619fccca
LD
4072011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
408
2d09f82f 409 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
410 * wcsmbs/test-wcslen.c: New file.
411 * string/test-strlen.c: Update.
412 Add wcslen support.
413 (WIDE): New macro.
414
09f699ea
UD
4152011-10-23 Ulrich Drepper <drepper@gmail.com>
416
417 * po/it.po: Update from translation team.
418
95584d3b
LD
4192011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
420
421 * sysdeps/x86_64/wcscmp.S: Update.
422 Fix wrong comparison semantics.
423 wcscmp shall use signed comparison not unsigned.
424 Don't use substraction to avoid overflow bug.
425 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
426 * wcsmbc/wcscmp.c: Likewise.
427 * string/test-strcmp.c: Likewise.
428 Add new tests to check cases with negative values.
429
c8b3296b
UD
4302011-10-23 Ulrich Drepper <drepper@gmail.com>
431
432 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
433 * sysdeps/x86_64/dla.h: ...here. New file.
434 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
435 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
436 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
437 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
438 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
439 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
440 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
441 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
442 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
443
246ad57a
AS
4442011-10-23 Andreas Schwab <schwab@linux-m68k.org>
445
446 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
447 __ynl_finite aliases.
448
a1a87169
UD
4492011-10-22 Ulrich Drepper <drepper@gmail.com>
450
0d355eb7
UD
451 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
452
a1a87169
UD
453 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
454 define DLA_FMA.
455 [DLA_FMA] (EMULV): Use DLA_FMA.
456 [DLA_FMA] (MUL12): Use EMULV.
457 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
458 that are not needed.
459 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
460 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
461 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
462 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
463 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
464 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
465 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
466
ee2aafe0
AS
4672011-10-22 Andreas Schwab <schwab@linux-m68k.org>
468
469 * math/s_nan.c: Undef __nan.
470 * math/s_nanf.c: Undef __nanf.
471 * math/s_nanl.c: Undef __nanl.
472 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
473 "math_private.h".
474
bc62c2fb
UD
4752011-10-22 Ulrich Drepper <drepper@gmail.com>
476
77425c63
UD
477 * math/s_catan.c: Add branch predictions.
478 * math/s_catanf.c: Likewise.
479 * math/s_catanh.c: Likewise.
480 * math/s_catanhf.c: Likewise.
481 * math/s_catanhl.c: Likewise.
482 * math/s_catanl.c: Likewise.
483 * math/s_cexp.c: Likewise.
484 * math/s_cexpf.c: Likewise.
485 * math/s_cexpl.c: Likewise.
486 * math/s_clog.c: Likewise.
487 * math/s_clog10.c: Likewise.
488 * math/s_clog10f.c: Likewise.
489 * math/s_clog10l.c: Likewise.
490 * math/s_clogf.c: Likewise.
491 * math/s_clogl.c: Likewise.
492 * math/s_csqrt.c: Likewise.
493 * math/s_csqrtf.c: Likewise.
494 * math/s_csqrtl.c: Likewise.
495 * math/s_ctanf.c: Likewise.
496 * math/s_ctanh.c: Likewise.
497 * math/s_ctanhf.c: Likewise.
498 * math/s_ctanhl.c: Likewise.
499 * math/s_ctanl.c: Likewise.
500
bc62c2fb
UD
501 * math/math_private.h: Define __nan, __nanf, __nanl.
502 * math/s_cacosh.c: Include <math_private.h>.
503 * math/s_cacoshl.c: Likewise.
504 * math/s_casinh.c: Likewise.
505 * math/s_casinhf.c: Likewise.
506 * math/s_casinhl.c: Likewise.
507 * math/s_ccos.c: Rely entire on ccosh.
508 * math/s_ccosf.c: Rely entire on ccoshf.
509 * math/s_ccosl.c: Rely entirely on ccoshl.
510 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
511 Remove tests for FE_INVALID.
512 * math/s_ccoshf.c: Likewise.
513 * math/s_ccoshl.c: Likewise.
514 * math/s_csin.c: Likewise.
515 * math/s_csinf.c: Likewise.
516 * math/s_csinh.c Likewise.
517 * math/s_csinhf.c: Likewise.
518 * math/s_csinhl.c: Likewise.
519 * math/s_csinl.c: Likewise.
520 * math/s_ctan.c: Likewise.
521 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
522 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
523 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
524
8ec250a4
UD
5252011-10-21 Ulrich Drepper <drepper@gmail.com>
526
c196fed8
UD
527 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
528 compilation problems.
529
8ec250a4
UD
530 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
531 __builtin_expect.
532
8d4f46c6
UD
5332011-10-20 Ulrich Drepper <drepper@gmail.com>
534
ed72b654
UD
535 * sysdeps/i386/configure.in: Test for -mfma4 option.
536 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
537 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
538 COMMON_CPUID_INDEX_80000001.
539 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
540 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
541 use it if FMA3 is not supported.
542 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
543
8d4f46c6
UD
544 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
545 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
546
d45c60c2
AS
5472011-10-20 Andreas Schwab <schwab@redhat.com>
548
549 [BZ #12892]
550 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
551 it would create a cycle with a link time dependency.
552
d9a4d2ab
UD
5532011-10-19 Ulrich Drepper <drepper@gmail.com>
554
855d1560
UD
555 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
556 instruction.
557 * string/Makefile (strop-tests): Add rawmemchr.
558 * string/test-rawmemchr.c: New file.
559
d9a4d2ab
UD
560 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
561 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
562 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
563 when compiling str{,n}casecmp and when AVX is available. Hook up
564 new optimized code in initializers.
565
8f3b1ffe
AS
5662011-10-19 Andreas Schwab <schwab@redhat.com>
567
568 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
569 __feraiseexcept instead of feraiseexcept.
570
d38f1dba
UD
5712011-10-18 Ulrich Drepper <drepper@gmail.com>
572
d9a8d0ab
UD
573 * math/math_private.h: Define defaults for libc_fetestexcept and
574 libc_feupdateenv.
575 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
576 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
577 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
578 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
579 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
580 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
581 libc_fetestexcept and libc_feupdateenv.
582
4855e3dd
UD
583 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
584 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
585 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
586 * sysdeps/x86_64/fpu/math_private.h: Define special version of
587 libc_feholdexcept_setround.
588
581d30e3
UD
589 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
590 Add s_nearbyint-c and s_nearbyintf-c.
591 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
592 nearbyintf inlines.
593 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
594 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
595 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
596 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
597
d38f1dba
UD
598 * math/math_private.h: Define defaults for libc_fegetround,
599 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
600 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
601 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
602 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
603 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
604 standard functions.
605 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
606 Remove comments and hacks for old compiler versions.
607 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
608 libc_fegetround, libc_fesetround, libc_feholdexcept, and
609 libc_feholdexceptl.
610
caa6c9d8
AS
6112011-10-18 Andreas Schwab <schwab@redhat.com>
612
613 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
614 (__feraiseexcept_renamed): Add __NTH.
615 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
616 namespace violations.
617
97c066e6
UD
6182011-10-17 Ulrich Drepper <drepper@gmail.com>
619
99ce7b04
UD
620 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
621
1004d182
UD
622 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
623
228a984d
UD
624 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
625 recently added interfaces.
626 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
627
c8553a6a
UD
628 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
629 about macro parameter expansion.
630
ed22dcf6
UD
631 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
632 __NO_MATH_INLINES is defined. Cleanups.
633
634 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
635 and __floorf is target has SSE4.1.
636 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
637 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
638 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
639 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
640
b171c137
UD
641 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
642 name.
643 (floorf): Likewise.
644
97c066e6
UD
645 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
646
629f62ef
AS
6472011-10-17 Andreas Schwab <schwab@redhat.com>
648
49a43d80
AS
649 * misc/sys/cdefs.h: Fix last change.
650
629f62ef
AS
651 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
652 database lookup.
653
e453f6cd
UD
6542011-10-16 Ulrich Drepper <drepper@gmail.com>
655
aa78043a
UD
656 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
657
ad0f5cad
UD
658 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
659 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
660 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
661 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
662 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
663 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
664 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
665 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
666 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
667 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
668 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
669 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
670 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
671 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
672 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
673 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
674 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
675 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
676 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
677 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
678 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
679 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
680
681 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
682 ceil, ceilf, floor, floorf.
683
684 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
685 Perform IRELATIVE relocations last.
686
e453f6cd
UD
687 * elf/do-rel.h: Add another parameter nrelative, replacing the
688 local variable with the same name. Change name of the function
689 to end in Rel or Rela (uppercase).
690 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
691 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
692 elf_dynamic_do_##reloc function.
693
fd5bdc09
UD
6942011-10-15 Ulrich Drepper <drepper@gmail.com>
695
79b195b5
UD
696 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
697 is sufficient, at least on modern CPUs.
698
d4a28569
UD
699 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
700
b61099b5
UD
701 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
702 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
703
bcf01e6d
UD
704 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
705 __expl_finite.
706 * math/bits/math-finite.h: Add entries for exp.
707 * math/e_expl.c: Add __*_finite alias.
708 * sysdeps/i386/fpu/e_exp.S: Likewise.
709 * sysdeps/i386/fpu/e_expf.S: Likewise.
710 * sysdeps/i386/fpu/e_expl.c: Likewise.
711 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
712 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
713 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
714 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
715 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
716 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
717 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
718
ba1a0d59
UD
719 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
720 is sufficient, at least on modern CPUs.
721
fd5bdc09
UD
722 * ctype/ctype-info.c (__ctype_init): Define.
723 * include/ctype.h (__ctype_init): Declare.
724 (__ctype_b_loc): The variable is always initialized.
725 (__ctype_toupper_loc): Likewise.
726 (__ctype_tolower_loc): Likewise.
727 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
728 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
729
7872cfb0
AS
7302011-10-15 Andreas Schwab <schwab@linux-m68k.org>
731
b468825a
AS
732 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
733
7872cfb0
AS
734 * configure.in: Also look in $cxxmachine/include for C++ system
735 headers.
736
be13f7bf
LD
7372011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
738
739 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
740 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
741 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
742 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
743 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
744 (USE_AS_WMEMCMP): New macro.
745 Fixing indents.
746 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
747 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
748 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
749 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
750 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
751 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
752 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
753 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
754 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
755 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
756 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
757 (USE_AS_WMEMCMP): New macro.
758 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
759 * sysdeps/string/test-memcmp.c: Update.
760 Fix simple_wmemcmp.
761 Add new tests.
762 * wcsmbs/wmemcmp.c: Update.
763 (WMEMCMP): New macro.
764 Fix overflow bug.
765
556a2007
AJ
7662011-10-12 Andreas Jaeger <aj@suse.de>
767
768 [BZ #13268]
769 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
770
538faaa7
UD
7712011-10-15 Ulrich Drepper <drepper@gmail.com>
772
ab6737ff
UD
773 * libio/iofwide.c (do_length): Avoid warning.
774
538faaa7
UD
775 * ctype/ctype.h (__isctype_f): Add missing __THROW.
776
396a21b1
UD
7772011-10-14 Ulrich Drepper <drepper@gmail.com>
778
cdf2901f
UD
779 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
780
38ad40ce
UD
781 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
782 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
783 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
784 * sysdeps/i386/i686/fpu/e_log.S: New file.
785 * sysdeps/i386/i686/fpu/e_logf.S: New file.
786 * sysdeps/i386/i686/fpu/e_logl.S: New file.
787
396a21b1
UD
788 * ctype/ctype.h: Add support for inlined isXXX functions when
789 compiling C++ code.
790
6b1f68c9
AS
7912011-10-14 Andreas Schwab <schwab@redhat.com>
792
349290c0
AS
793 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
794
6b1f68c9
AS
795 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
796
f2282d42
RM
7972011-10-13 Roland McGrath <roland@hack.frob.com>
798
799 [BZ #13291]
800 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
801
5298ffa8
AS
8022011-10-13 Andreas Schwab <schwab@redhat.com>
803
714fad23
AS
804 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
805 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
806 feraiseexcept.
807
81dcc7fb
AS
808 * sysdeps/x86_64/memrchr.S: Check for zero size.
809
5298ffa8
AS
810 * string/stratcliff.c: Add memrchr tests.
811
951fbcec
LD
8122011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
813
814 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
815 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
816 rawmemchr-sse2 rawmemchr-sse2-bsf.
817 * sysdeps/i386/i686/multiarch/memchr.S: New file.
818 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
819 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
820 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
821 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
822 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
823 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
824 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
825 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
826 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
827 * string/memrchr.c (MEMRCHR): New macro.
828
0ac5ae23
UD
8292011-10-12 Ulrich Drepper <drepper@gmail.com>
830
831 Add integration with gcc's -ffinite-math-only and optimize wrapper
832 functions in libm.
833 * Versions.def: Define GLIBC_2.15 version for libm.
834 * math/Makefile (headers): Add bits/math-finite.h.
835 * math/bits/math-finite.h: New file.
836 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
837 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
838 * math/e_acoshl.c: Add __*_finite alias.
839 * math/e_acosl.c: Likewise.
840 * math/e_asinl.c: Likewise.
841 * math/e_atan2l.c: Likewise.
842 * math/e_atanhl.c: Likewise.
843 * math/e_coshl.c: Likewise.
844 * math/e_exp10.c: Likewise.
845 * math/e_exp10f.c: Likewise.
846 * math/e_exp10l.c: Likewise.
847 * math/e_exp2l.c: Likewise.
848 * math/e_fmodl.c: Likewise.
849 * math/e_gammal_r.c: Likewise.
850 * math/e_hypotl.c: Likewise.
851 * math/e_j0l.c: Likewise.
852 * math/e_j1l.c: Likewise.
853 * math/e_jnl.c: Likewise.
854 * math/e_lgammal_r.c: Likewise.
855 * math/e_log10l.c: Likewise.
856 * math/e_log2l.c: Likewise.
857 * math/e_logl.c: Likewise.
858 * math/e_powl.c: Likewise.
859 * math/e_sinhl.c: Likewise.
860 * math/e_sqrtl.c: Likewise.
861 * math/e_scalb.c: Completely rewritten and optimized.
862 * math/e_scalbf.c: Likewise.
863 * math/e_scalbl.c: Likewise.
864 * math/w_acos.c: Likewise.
865 * math/w_acosf.c: Likewise.
866 * math/w_acosl.c: Likewise.
867 * math/w_acosh.c: Likewise.
868 * math/w_acoshf.c: Likewise.
869 * math/w_acoshl.c: Likewise.
870 * math/w_asin.c: Likewise.
871 * math/w_asinf.c: Likewise.
872 * math/w_asinl.c: Likewise.
873 * math/w_atan2.c: Likewise.
874 * math/w_atan2f.c: Likewise.
875 * math/w_atan2l.c: Likewise.
876 * math/w_atanh.c: Likewise.
877 * math/w_atanhf.c: Likewise.
878 * math/w_atanhl.c: Likewise.
879 * math/w_exp10.c: Likewise.
880 * math/w_exp10f.c: Likewise.
881 * math/w_exp10l.c: Likewise.
882 * math/w_fmod.c: Likewise.
883 * math/w_fmodf.c: Likewise.
884 * math/w_fmodl.c: Likewise.
885 * math/w_j0.c: Likewise.
886 * math/w_j0f.c: Likewise.
887 * math/w_j0l.c: Likewise.
888 * math/w_j1.c: Likewise.
889 * math/w_j1f.c: Likewise.
890 * math/w_j1l.c: Likewise.
891 * math/w_jn.c: Likewise.
892 * math/w_jnf.c: Likewise.
893 * math/w_log.c: Likewise.
894 * math/w_logf.c: Likewise.
895 * math/w_logl.c: Likewise.
896 * math/w_log10.c: Likewise.
897 * math/w_log10f.c: Likewise.
898 * math/w_log10l.c: Likewise.
899 * math/w_log2.c: Likewise.
900 * math/w_log2f.c: Likewise.
901 * math/w_log2l.c: Likewise.
902 * math/w_pow.c: Likewise.
903 * math/w_powf.c: Likewise.
904 * math/w_powl.c: Likewise.
905 * math/w_remainder.c: Likewise.
906 * math/w_remainderf.c: Likewise.
907 * math/w_remainderl.c: Likewise.
908 * math/w_scalb.c: Likewise.
909 * math/w_scalbf.c: Likewise.
910 * math/w_scalbl.c: Likewise.
911 * math/w_sqrt.c: Likewise.
912 * math/w_sqrtf.c: Likewise.
913 * math/w_sqrtl.c: Likewise.
914 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
915 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
916 used.
917 * math/math_private.h: Declare __kernel_standard_f.
918 * math/w_cosh.c: Remove cruft and optimize a bit.
919 * math/w_coshf.c: Likewise.
920 * math/w_coshl.c: Likewise.
921 * math/w_exp2.c: Likewise.
922 * math/w_exp2f.c: Likewise.
923 * math/w_exp2l.c: Likewise.
924 * math/w_hypot.c: Likewise.
925 * math/w_hypotf.c: Likewise.
926 * math/w_hypotl.c: Likewise.
927 * math/w_lgamma.c: Likewise.
928 * math/w_lgamma_r.c: Likewise.
929 * math/w_lgammaf.c: Likewise.
930 * math/w_lgammaf_r.c: Likewise.
931 * math/w_lgammal.c: Likewise.
932 * math/w_lgammal_r.c: Likewise.
933 * math/w_sinh.c: Likewise.
934 * math/w_sinhf.c: Likewise.
935 * math/w_sinhl.c: Likewise.
936 * math/w_tgamma.c: Likewise.
937 * math/w_tgammaf.c: Likewise.
938 * math/w_tgammal.c: Likewise.
939 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
940 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
941 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
942 Minor optimizations. Pretty printing. Remove cruft.
943 * sysdeps/i386/fpu/e_acosf.S: Likewise.
944 * sysdeps/i386/fpu/e_acosh.S: Likewise.
945 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
946 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
947 * sysdeps/i386/fpu/e_acosl.c: Likewise.
948 * sysdeps/i386/fpu/e_asin.S: Likewise.
949 * sysdeps/i386/fpu/e_asinf.S: Likewise.
950 * sysdeps/i386/fpu/e_atan2.S: Likewise.
951 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
952 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
953 * sysdeps/i386/fpu/e_atanh.S: Likewise.
954 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
955 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
956 * sysdeps/i386/fpu/e_exp10.S: Likewise.
957 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
958 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
959 * sysdeps/i386/fpu/e_exp2.S: Likewise.
960 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
961 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
962 * sysdeps/i386/fpu/e_fmod.S: Likewise.
963 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
964 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
965 * sysdeps/i386/fpu/e_hypot.S: Likewise.
966 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
967 * sysdeps/i386/fpu/e_log.S: Likewise.
968 * sysdeps/i386/fpu/e_log10.S: Likewise.
969 * sysdeps/i386/fpu/e_log10f.S: Likewise.
970 * sysdeps/i386/fpu/e_log10l.S: Likewise.
971 * sysdeps/i386/fpu/e_log2.S: Likewise.
972 * sysdeps/i386/fpu/e_log2f.S: Likewise.
973 * sysdeps/i386/fpu/e_log2l.S: Likewise.
974 * sysdeps/i386/fpu/e_logf.S: Likewise.
975 * sysdeps/i386/fpu/e_logl.S: Likewise.
976 * sysdeps/i386/fpu/e_pow.S: Likewise.
977 * sysdeps/i386/fpu/e_powf.S: Likewise.
978 * sysdeps/i386/fpu/e_powl.S: Likewise.
979 * sysdeps/i386/fpu/e_remainder.S: Likewise.
980 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
981 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
982 * sysdeps/i386/fpu/e_scalb.S: Likewise.
983 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
984 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
985 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
986 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
987 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
988 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
989 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
990 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
991 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
992 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
993 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
994 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
995 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
996 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
997 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
998 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
999 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1000 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1001 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1002 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1003 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1004 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1005 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1006 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1007 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1008 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1009 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1010 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1011 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1012 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1013 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1014 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
1015 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1016 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
1017 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1018 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1019 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1020 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1021 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1022 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1023 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1024 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1025 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1026 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1027 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1028 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1029 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1030 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1031 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1032 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1033 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1034 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1035 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1036 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1037 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1038 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1039 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1040 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1041 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1042 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1043 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1044 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1045 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1046 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1047 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1048 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1049 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1050 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1051 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1052 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1053 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1054 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1055 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1056 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
1057 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1058 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1059 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1060 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1061 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1062 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1063 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1064 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
1065 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1066 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1067 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1068 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1069 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1070 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
1071 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1072 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1073 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1074 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1075 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1076 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1077 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1078 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1079 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1080 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1081 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
1082 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
1083 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
1084 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
1085 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
1086 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
1087 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
1088 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
1089 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
1090 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
1091 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
1092 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1093 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1094 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1095 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1096 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
1097 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1098 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
1099 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
1100 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
1101 (__isnanf): Likewise.
1102 (__isinf_ns): Likewise.
1103 (__isinf_nsf): Likewise.
1104 (__finite): Likewise.
1105 (__finitef): Likewise.
1106 (__ieee754_sqrt): Define as macro.
1107 (__ieee754_sqrtf): Define as macro.
1108 (__ieee754_sqrtl): Define as macro.
1109 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
1110 inlined copy.
1111 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
1112 __FINITE_MATH_ONLY__ consistent.
1113 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
1114
12cc2fcd
AS
11152011-10-10 Andreas Schwab <schwab@linux-m68k.org>
1116
a843a204
AS
1117 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
1118 of rawmemchr.
1119
12cc2fcd
AS
1120 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
1121
c853acd5
UD
11222011-10-09 Ulrich Drepper <drepper@gmail.com>
1123
1124 * po/ja.po: Update from translation team.
1125
c658d255
RM
11262011-10-08 Roland McGrath <roland@hack.frob.com>
1127
110946e4
RM
1128 * locale/programs/locarchive.c (prepare_address_space): New function.
1129 (create_archive, enlarge_archive, open_archive): Use it.
1130
50604220
RM
1131 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
1132 inside [SHARED], where it is used.
1133
c658d255
RM
1134 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
1135
1136 * nss/getent.c (netgroup_keys): Remove unused variable.
1137 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1138
6a621eb7
UD
11392011-10-08 Ulrich Drepper <drepper@gmail.com>
1140
7edb55ce
UD
1141 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
1142 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
1143 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
1144 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
1145 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
1146 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
1147 * math/Makefile (libm-calls): Add s_isinf_ns.
1148 * math/divtc3.c: Use __isinf_nsl instead of isinf.
1149 * math/multc3.c: Likewise.
1150 * math/s_casin.c: Likewise.
1151 * math/s_casinf.c: Likewise.
1152 * math/s_casinl.c: Likewise.
1153 * math/s_ccos.c: Likewise.
1154 * math/s_ccosf.c: Likewise.
1155 * math/s_ccosl.c: Likewise.
1156 * math/s_ctan.c: Likewise.
1157 * math/s_ctanf.c: Likewise.
1158 * math/s_ctanh.c: Likewise.
1159 * math/s_ctanhf.c: Likewise.
1160 * math/s_ctanhl.c: Likewise.
1161 * math/s_ctanl.c: Likewise.
1162 * math/w_fmod.c: Likewise.
1163 * math/w_fmodf.c: Likewise.
1164 * math/w_fmodl.c: Likewise.
1165 * math/w_remainder.c: Likewise.
1166 * math/w_remainderf.c: Likewise.
1167 * math/w_remainderl.c: Likewise.
1168 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
1169 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
1170 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
1171 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
1172 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
1173 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
1174 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
1175 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
1176
187da0ae
UD
1177 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
1178 of the number.
1179 * stdio-common/printf_fphex.c: Likewise.
1180 * stdio-common/printf_size.c: Likewise.
1181
9277c064
UD
1182 * math/e_exp10.c: Include math_private.h using <...> not "...".
1183 * math/e_exp10f.c: Likewise.
1184 * math/e_exp10l.c: Likewise.
1185 * math/e_exp2l.c: Likewise.
1186 * math/e_j0l.c: Likewise.
1187 * math/e_j1l.c: Likewise.
1188 * math/e_jnl.c: Likewise.
1189 * math/e_lgammal_r.c: Likewise.
1190 * math/e_rem_pio2l.c: Likewise.
1191 * math/e_scalb.c: Likewise.
1192 * math/e_scalbf.c: Likewise.
1193 * math/e_scalbl.c: Likewise.
1194 * math/k_cosl.c: Likewise.
1195 * math/k_sinl.c: Likewise.
1196 * math/k_tanl.c: Likewise.
1197 * math/s_cacoshf.c: Likewise.
1198 * math/s_catan.c: Likewise.
1199 * math/s_catanf.c: Likewise.
1200 * math/s_catanh.c: Likewise.
1201 * math/s_catanhf.c: Likewise.
1202 * math/s_catanhl.c: Likewise.
1203 * math/s_catanl.c: Likewise.
1204 * math/s_ccosh.c: Likewise.
1205 * math/s_ccoshf.c: Likewise.
1206 * math/s_ccoshl.c: Likewise.
1207 * math/s_cexp.c: Likewise.
1208 * math/s_cexpf.c: Likewise.
1209 * math/s_cexpl.c: Likewise.
1210 * math/s_clog.c: Likewise.
1211 * math/s_clog10.c: Likewise.
1212 * math/s_clog10f.c: Likewise.
1213 * math/s_clog10l.c: Likewise.
1214 * math/s_clogf.c: Likewise.
1215 * math/s_clogl.c: Likewise.
1216 * math/s_csin.c: Likewise.
1217 * math/s_csinf.c: Likewise.
1218 * math/s_csinh.c: Likewise.
1219 * math/s_csinhf.c: Likewise.
1220 * math/s_csinhl.c: Likewise.
1221 * math/s_csinl.c: Likewise.
1222 * math/s_csqrt.c: Likewise.
1223 * math/s_csqrtf.c: Likewise.
1224 * math/s_csqrtl.c: Likewise.
1225 * math/s_ctan.c: Likewise.
1226 * math/s_ctanf.c: Likewise.
1227 * math/s_ctanh.c: Likewise.
1228 * math/s_ctanhf.c: Likewise.
1229 * math/s_ctanhl.c: Likewise.
1230 * math/s_ctanl.c: Likewise.
1231 * math/s_ldexp.c: Likewise.
1232 * math/s_ldexpf.c: Likewise.
1233 * math/s_ldexpl.c: Likewise.
1234 * math/s_significand.c: Likewise.
1235 * math/s_significandf.c: Likewise.
1236 * math/s_significandl.c: Likewise.
1237 * math/w_acos.c: Likewise.
1238 * math/w_acosf.c: Likewise.
1239 * math/w_acosh.c: Likewise.
1240 * math/w_acoshf.c: Likewise.
1241 * math/w_acoshl.c: Likewise.
1242 * math/w_acosl.c: Likewise.
1243 * math/w_asin.c: Likewise.
1244 * math/w_asinf.c: Likewise.
1245 * math/w_asinl.c: Likewise.
1246 * math/w_atan2.c: Likewise.
1247 * math/w_atan2f.c: Likewise.
1248 * math/w_atan2l.c: Likewise.
1249 * math/w_atanh.c: Likewise.
1250 * math/w_atanhf.c: Likewise.
1251 * math/w_atanhl.c: Likewise.
1252 * math/w_cosh.c: Likewise.
1253 * math/w_coshf.c: Likewise.
1254 * math/w_coshl.c: Likewise.
1255 * math/w_dremf.c: Likewise.
1256 * math/w_exp10.c: Likewise.
1257 * math/w_exp10f.c: Likewise.
1258 * math/w_exp10l.c: Likewise.
1259 * math/w_exp2.c: Likewise.
1260 * math/w_exp2f.c: Likewise.
1261 * math/w_fmod.c: Likewise.
1262 * math/w_fmodf.c: Likewise.
1263 * math/w_fmodl.c: Likewise.
1264 * math/w_hypot.c: Likewise.
1265 * math/w_hypotf.c: Likewise.
1266 * math/w_hypotl.c: Likewise.
1267 * math/w_j0.c: Likewise.
1268 * math/w_j0f.c: Likewise.
1269 * math/w_j0l.c: Likewise.
1270 * math/w_j1.c: Likewise.
1271 * math/w_j1f.c: Likewise.
1272 * math/w_j1l.c: Likewise.
1273 * math/w_jn.c: Likewise.
1274 * math/w_jnf.c: Likewise.
1275 * math/w_jnl.c: Likewise.
1276 * math/w_lgamma.c: Likewise.
1277 * math/w_lgamma_r.c: Likewise.
1278 * math/w_lgammaf.c: Likewise.
1279 * math/w_lgammaf_r.c: Likewise.
1280 * math/w_lgammal.c: Likewise.
1281 * math/w_lgammal_r.c: Likewise.
1282 * math/w_log.c: Likewise.
1283 * math/w_log10.c: Likewise.
1284 * math/w_log10f.c: Likewise.
1285 * math/w_log10l.c: Likewise.
1286 * math/w_log2.c: Likewise.
1287 * math/w_log2f.c: Likewise.
1288 * math/w_log2l.c: Likewise.
1289 * math/w_logf.c: Likewise.
1290 * math/w_logl.c: Likewise.
1291 * math/w_pow.c: Likewise.
1292 * math/w_powf.c: Likewise.
1293 * math/w_powl.c: Likewise.
1294 * math/w_remainder.c: Likewise.
1295 * math/w_remainderf.c: Likewise.
1296 * math/w_remainderl.c: Likewise.
1297 * math/w_scalb.c: Likewise.
1298 * math/w_scalbf.c: Likewise.
1299 * math/w_scalbl.c: Likewise.
1300 * math/w_sinh.c: Likewise.
1301 * math/w_sinhf.c: Likewise.
1302 * math/w_sinhl.c: Likewise.
1303 * math/w_sqrt.c: Likewise.
1304 * math/w_sqrtf.c: Likewise.
1305 * math/w_sqrtl.c: Likewise.
1306 * math/w_tgamma.c: Likewise.
1307 * math/w_tgammaf.c: Likewise.
1308 * math/w_tgammal.c: Likewise.
1309
6a621eb7
UD
1310 * po/ja.po: Update from translation team.
1311
bf582445
AJ
13122011-09-29 Andreas Jaeger <aj@suse.de>
1313
f9efbf3a
AJ
1314 [BZ #13179]
1315 * sunrpc/netname.c (netname2host): Fix logic.
1316
bf582445
AJ
1317 [BZ #6779]
1318 [BZ #6783]
1319 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
1320 correctly.
1321 * math/w_remainder.c (__remainder): Likewise.
1322 * math/w_remainderf.c (__remainderf): Likewise.
1323 * math/libm-test.inc (remainder_test): Add test cases.
1324
48693bea
AK
13252011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1326
1327 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
1328 sdiv_qrnnd.
1329
42622229
LD
13302011-10-07 Ulrich Drepper <drepper@gmail.com>
1331
1332 * string/test-memcmp.c: Avoid unncessary #defines.
1333 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
1334
093ecf92
LD
13352011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1336
1337 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
1338 Use new sse2 version for core i3 - i7 as it's faster
1339 than sse42 version.
1340 (bit_Prefer_PMINUB_for_stringop): New.
1341 * sysdeps/x86_64/rawmemchr.S: Update.
1342 Replace with faster SSE2 version.
1343 * sysdeps/x86_64/memrchr.S: New file.
1344 * sysdeps/x86_64/memchr.S: Update.
1345 Replace with faster SSE2 version.
1346
fde56e5c
MP
13472011-09-12 Marek Polacek <mpolacek@redhat.com>
1348
1349 * elf/dl-load.c (lose): Add cast to avoid warning.
1350
21fd49a9
UD
13512011-10-07 Ulrich Drepper <drepper@gmail.com>
1352
5a06e643
UD
1353 * po/ca.po: Update from translation team.
1354
684ae515
UD
1355 * inet/getnetgrent_r.c: Hook up nscd.
1356 * nscd/Makefile (routines): Add nscd_netgroup.
1357 (nscd-modules): Add netgroupcache.
1358 (CFLAGS-netgroupcache.c): Define.
1359 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
1360 (cache_search): Add const to second parameter.
1361 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
1362 INNETGR.
1363 (dbs): Add netgrdb entry.
1364 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
1365 (verify_persistent_db): Handle netgrdb.
1366 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
1367 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
1368 GETFDNETGR.
1369 (netgroup_response_header): Define.
1370 (innetgroup_response_header): Define.
1371 (datahead): Add netgroup_response_header and innetgroup_response_header
1372 elements.
1373 * nscd/nscd.conf: Add entries for netgroup cache.
1374 * nscd/nscd.h (dbtype): Add netgrdb.
1375 (_PATH_NSCD_NETGROUP_DB): Define.
1376 (netgroup_iov_disabled): Declare.
1377 (xmalloc, xcalloc, xrealloc): Move declarations here.
1378 (cache_search): Adjust prototype.
1379 Add netgroup-related prototypes.
1380 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
1381 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
1382 (__nscd_innetgr): Declare.
1383 * nscd/selinux.c (perms): Use access_vector_t as element type and
1384 add netgroup-related initializers.
1385 * nscd/netgroupcache.c: New file.
1386 * nscd/nscd_netgroup.c: New file.
1387 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
1388 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
1389 For four parameters use innetgr.
1390 * nss/nss_files/files-init.c: Add definition and callback for netgr.
1391 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
1392 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
1393 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
1394
21fd49a9
UD
1395 * nscd/connections.c (register_traced_file): Don't register file
1396 for disabled databases.
1397
054c0457
UD
13982011-10-06 Ulrich Drepper <drepper@gmail.com>
1399
32b63198
UD
1400 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
1401
054c0457
UD
1402 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
1403 from tree and freeing node.
1404
64031225
JO
14052011-09-25 Jiri Olsa <jolsa@redhat.com>
1406
1407 * nss/nsswitch.c (__nss_database_lookup): Handle
1408 nss_parse_service_list out of memory case.
1409
0490345c
JO
14102011-09-15 Jiri Olsa <jolsa@redhat.com>
1411
1412 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
1413 out of memory case.
1414
3a62d00d
AS
14152011-10-04 Andreas Schwab <schwab@redhat.com>
1416
1417 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
1418 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
1419 pass it down.
1420 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
1421 elf_machine_rela, elf_machine_lazy_rel.
1422 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
1423 (ELF_DYNAMIC_DO_REL): Likewise.
1424 (ELF_DYNAMIC_DO_RELA): Likewise.
1425 (ELF_DYNAMIC_RELOCATE): Likewise.
1426 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
1427 to ELF_DYNAMIC_DO_REL.
1428 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
1429 (dl_main): In trace mode always set __RTLD_NOIFUNC.
1430 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
1431 elf_machine_rela.
1432 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
1433 skip_ifunc, don't call ifunc function if non-zero.
1434 (elf_machine_rela): Likewise.
1435 (elf_machine_lazy_rel): Likewise.
1436 (elf_machine_lazy_rela): Likewise.
1437 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
1438 (elf_machine_lazy_rel): Likewise.
1439 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
1440 Likewise.
1441 (elf_machine_lazy_rel): Likewise.
1442 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1443 Likewise.
1444 (elf_machine_lazy_rel): Likewise.
1445 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
1446 (elf_machine_lazy_rel): Likewise.
1447 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
1448 (elf_machine_lazy_rel): Likewise.
1449 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1450 (elf_machine_lazy_rel): Likewise.
1451 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
1452 (elf_machine_lazy_rel): Likewise.
1453 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1454 (elf_machine_lazy_rel): Likewise.
1455 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1456 (elf_machine_lazy_rel): Likewise.
1457
68577918
UD
14582011-09-28 Ulrich Drepper <drepper@gmail.com>
1459
1460 * nss/nss_files/files-init.c (_nss_files_init): Use static
1461 initialization for all the *_traced_file variables.
1462
68822d74
AS
14632011-09-28 Andreas Schwab <schwab@redhat.com>
1464
1465 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1466
2056100b
RM
14672011-09-27 Roland McGrath <roland@hack.frob.com>
1468
1469 [BZ #13226]
1470 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
1471
32c76b63
AS
14722011-09-27 Andreas Schwab <schwab@redhat.com>
1473
1474 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
1475 Reread the line before reparsing it.
1476
bf972c9d
AS
14772011-09-26 Andreas Schwab <schwab@redhat.com>
1478
1479 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
1480
e057a1b5
JM
14812011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
1482 Maxim Kuvyrkov <maxim@codesourcery.com>
1483 Joseph Myers <joseph@codesourcery.com>
1484
1485 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
1486 if needed for __stack_chk_guard.
1487
bc7e1c36
RM
14882011-09-19 Roland McGrath <roland@hack.frob.com>
1489
ecb1482f
RM
1490 * sysdeps/posix/spawni.c (script_execute): Always define it.
1491 It will be optimized away if unused.
1492 (maybe_script_execute): New function.
1493 (__spawni): Call it.
1494
bc7e1c36
RM
1495 * Makerules: Don't include tls.make.
1496 (config-tls): Always set to thread.
1497 * tls.make.c: File removed.
1498
1c3b002b
MF
14992011-09-19 Mike Frysinger <vapier@gentoo.org>
1500
1501 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
1502 * config.make.in (CPPFLAGS-config): New substituted variable.
1503
2840865d
UD
15042011-09-15 Ulrich Drepper <drepper@gmail.com>
1505
88738eb6
UD
1506 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
1507
cbf645a6 1508 [BZ #13192]
2840865d
UD
1509 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
1510 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
1511
b402e91a
RM
15122011-09-15 Roland McGrath <roland@hack.frob.com>
1513
1514 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
1515 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
1516 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
1517 (CALL_FAIL): Likewise.
1518 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
1519 (CALL_FAIL): Macro removed.
1520 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
1521
4c1a1f71
UD
15222011-09-15 Ulrich Drepper <drepper@gmail.com>
1523
1524 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
1525 for __FINITE_MATH_ONLY__ == 1.
1526
edc121be
AS
15272011-09-15 Andreas Schwab <schwab@redhat.com>
1528
1529 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
1530 __ieee754_sqrt instead of sqrt.
1531 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
1532 __ieee754_sqrtf instead of sqrtf.
1533 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
1534 __floorf instead of floorf.
1535 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
1536 __floorf, __truncf instead of floorf, truncf.
1537
cd205654
UD
15382011-09-14 Ulrich Drepper <drepper@gmail.com>
1539
ee4d0315
UD
1540 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
1541
cd205654
UD
1542 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
1543 __extern_always_inline.
1544 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
1545 32-bit.
1546
48b67d71
AS
15472011-09-14 Andreas Schwab <schwab@redhat.com>
1548
1549 * elf/rtld.c (dl_main): Also relocate in dependency order when
1550 doing symbol dependency testing.
1551
1ae12c75
AS
15522011-09-13 Andreas Schwab <schwab@linux-m68k.org>
1553
1554 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1555 Always define `refsym'.
1556
995a80df
AS
15572011-09-13 Andreas Schwab <schwab@redhat.com>
1558
e529793b
AS
1559 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
1560 (__FD_ELT): Renamed from __FDELT.
1561 * misc/bits/select2.h (__FD_ELT): Likewise.
1562 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
1563 __FD_MASK instead of __FDELT, __FDMASK.
1564 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
1565 Likewise.
1566 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
1567 Likewise.
1568
52d4fef8
AS
1569 * elf/Makefile (gen-ldd): Fix pattern.
1570
995a80df
AS
1571 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
1572 (init_tls): Likewise.
1573
8682f8b0
UD
15742011-09-12 Ulrich Drepper <drepper@gmail.com>
1575
1576 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
1577
de82006d
AS
15782011-09-12 Andreas Schwab <schwab@redhat.com>
1579
a7c8e6a1
AS
1580 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
1581 `struct cmsghdr *' instead of `void *'.
1582 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
1583 Likewise.
1584
0f31fe77
AS
15852011-09-11 Andreas Schwab <schwab@linux-m68k.org>
1586
1587 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
1588 if non-absolute.
1589 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
1590 ldd_rewrite_script.
0f31fe77 1591
32b4c839
UD
15922011-09-11 Ulrich Drepper <drepper@gmail.com>
1593
83cd1420
UD
1594 * configure.in: Remove --with-tls option.
1595 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
1596 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
1597 out in case it is missing.
1598 * sysdeps/ia64/elf/configure.in: Likewise.
1599 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
1600 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
1601 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
1602 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
1603 * sysdeps/sh/elf/configure.in: Likewise.
1604 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
1605 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
1606 * sysdeps/x86_64/elf/configure.in: Likewise.
1607 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
1608 * sysdeps/mach/hurd/tls.h: Likewise.
1609
633f745d
UD
1610 [BZ #13067]
1611 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
1612
f318beb8
UD
1613 [BZ #13090]
1614 * configure.in: Fix use of AC_INIT.
1615
32b4c839
UD
1616 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
1617
3ce1f295
UD
16182011-09-10 Ulrich Drepper <drepper@gmail.com>
1619
bb016596
UD
1620 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
1621 __set_errno.
8e58439c
UD
1622 * malloc/hooks.c: Likewise.
1623
02d46fc4
UD
1624 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
1625 variables statically.
1626 (narenas): Initialize.
1627 (list_lock): Initialize.
bb016596
UD
1628 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
1629 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
1630 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
1631 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
1632 Add initializers to main_arena and mp_.
1633 (malloc_state): Remove pagesize member. Change all users to use
1634 GLRO(dl_pagesize).
1635
1636 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
1637 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
1638 is always initialized.
1639
22a89187
UD
1640 * malloc/malloc.c: Removed unused configurations and dead code.
1641 * malloc/arena.c: Likewise.
1642 * malloc/hooks.c: Likewise.
02d46fc4 1643 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 1644
d063d164
UD
1645 * include/tls.h: Removed. USE___THREAD must always be defined.
1646 * bits/libc-tsd.h: Don't handle !USE___THREAD.
1647 * elf/dl-libc.c: Likewise.
1648 * elf/dl-tsd.c: Likewise.
1649 * include/errno.h: Likewise.
1650 * include/netdb.h: Likewise.
1651 * include/resolv.h: Likewise.
1652 * inet/herrno-loc.c: Likewise.
1653 * inet/herrno.c: Likewise.
1654 * malloc/arena.c: Likewise.
1655 * malloc/hooks.c: Likewise.
1656 * malloc/malloc.c: Likewise.
1657 * resolv/res-state.c: Likewise.
1658 * resolv/res_libc.c: Likewise.
1659 * sysdeps/i386/dl-machine.h: Likewise.
1660 * sysdeps/ia64/dl-machine.h: Likewise.
1661 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1662 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1663 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1664 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1665 * sysdeps/sh/dl-machine.h: Likewise.
1666 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1667 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1668 * sysdeps/unix/i386/sysdep.S: Likewise.
1669 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1670 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
1671 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
1672 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1673 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
1674 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1675 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1676 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1677 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1678 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1679 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1680 * sysdeps/x86_64/dl-machine.h: Likewise.
1681 * tls.make.c: Likewise.
1682
3ce1f295
UD
1683 * configure.in: Remove --with-__thread option. Make tests for
1684 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
1685 tls_model attribute fail if no support is available. Remove
1686 USE_IN_LIBIO.
1687 * Makeconfig: Adjust for dropped configure option. All features are
1688 now mandatory.
1689 * Makerules: Likewise.
1690 * Versions.def: Likewise.
1691 * argp/argp-fmtstream.c: Likewise.
1692 * argp/argp-fmtstream.h: Likewise.
1693 * argp/argp-help.c: Likewise.
1694 * assert/assert.c: Likewise.
1695 * config.h.in: Likewise.
1696 * config.make.in: Likewise.
1697 * configure: Likewise.
1698 * configure.in: Likewise.
1699 * csu/Versions: Likewise.
1700 * csu/init.c: Likewise.
1701 * elf/tst-audit2.c: Likewise.
1702 * elf/tst-tls10.c: Likewise.
1703 * elf/tst-tls10.h: Likewise.
1704 * elf/tst-tls11.c: Likewise.
1705 * elf/tst-tls12.c: Likewise.
1706 * elf/tst-tls14.c: Likewise.
1707 * elf/tst-tlsmod11.c: Likewise.
1708 * elf/tst-tlsmod12.c: Likewise.
1709 * elf/tst-tlsmod13.c: Likewise.
1710 * elf/tst-tlsmod13a.c: Likewise.
1711 * elf/tst-tlsmod14a.c: Likewise.
1712 * elf/tst-tlsmod15b.c: Likewise.
1713 * elf/tst-tlsmod16a.c: Likewise.
1714 * elf/tst-tlsmod16b.c: Likewise.
1715 * elf/tst-tlsmod7.c: Likewise.
1716 * elf/tst-tlsmod8.c: Likewise.
1717 * elf/tst-tlsmod9.c: Likewise.
1718 * gmon/gmon.c: Likewise.
1719 * grp/fgetgrent_r.c: Likewise.
1720 * grp/putgrent.c: Likewise.
1721 * hurd/fopenport.c: Likewise.
1722 * include/libc-symbols.h: Likewise.
1723 * include/tls.h: Likewise.
1724 * intl/gettextP.h: Likewise.
1725 * intl/loadinfo.h: Likewise.
1726 * locale/global-locale.c: Likewise.
1727 * locale/localeinfo.h: Likewise.
1728 * mach/devstream.c: Likewise.
1729 * malloc/arena.c: Likewise.
1730 * malloc/set-freeres.c: Likewise.
1731 * misc/err.c: Likewise.
1732 * misc/getttyent.c: Likewise.
1733 * misc/mntent_r.c: Likewise.
1734 * posix/getopt.c: Likewise.
1735 * posix/wordexp.c: Likewise.
1736 * pwd/fgetpwent_r.c: Likewise.
1737 * resolv/Versions: Likewise.
1738 * resolv/res_hconf.c: Likewise.
1739 * shadow/fgetspent_r.c: Likewise.
1740 * shadow/putspent.c: Likewise.
1741 * stdio-common/printf_fphex.c: Likewise.
1742 * stdio-common/tmpfile.c: Likewise.
1743 * stdlib/abort.c: Likewise.
1744 * stdlib/fmtmsg.c: Likewise.
1745 * sunrpc/auth_unix.c: Likewise.
1746 * sunrpc/clnt_perr.c: Likewise.
1747 * sunrpc/clnt_tcp.c: Likewise.
1748 * sunrpc/clnt_udp.c: Likewise.
1749 * sunrpc/clnt_unix.c: Likewise.
1750 * sunrpc/openchild.c: Likewise.
1751 * sunrpc/svc_simple.c: Likewise.
1752 * sunrpc/svc_tcp.c: Likewise.
1753 * sunrpc/svc_udp.c: Likewise.
1754 * sunrpc/svc_unix.c: Likewise.
1755 * sunrpc/xdr.c: Likewise.
1756 * sunrpc/xdr_array.c: Likewise.
1757 * sunrpc/xdr_rec.c: Likewise.
1758 * sunrpc/xdr_ref.c: Likewise.
1759 * sunrpc/xdr_stdio.c: Likewise.
1760
1248c1c4
PB
17612011-09-09 Ulrich Drepper <drepper@gmail.com>
1762
1763 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1764
17652011-07-03 Andreas Jaeger <aj@suse.de>
1766
1767 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
1768 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
1769 regenerate with gen-libm-tests.pl.
1770
17712010-05-12 Petr Baudis <pasky@suse.cz>
1772
1773 [BZ #11589]
1774 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
1775 around j0() zero points by switching to j1().
1776 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1777 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1778 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1779 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1780
f22e1074
UD
17812011-09-09 Ulrich Drepper <drepper@gmail.com>
1782
f19009c1
UD
1783 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
1784 instead of 0.
1785 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
1786 instead of 0. .
1787 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1788 Patch in part by Pavel Roskin <proski@gnu.org>.
1789
3f8cc204
UD
1790 [BZ #13138]
1791 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
1792 realloc.
1793 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
1794 Free memory block if necessary.
1795
f22e1074
UD
1796 [BZ #12847]
1797 * libio/genops.c (INTDEF): For string streams the _lock pointer can
1798 be NULL. Don't lock in this case.
1799
0a2349f9
RM
18002011-09-09 Roland McGrath <roland@hack.frob.com>
1801
1802 * elf/elf.h (ELFOSABI_GNU): New macro.
1803 (ELFOSABI_LINUX): Define to that.
1804
f3cdd467
DZ
18052011-07-29 Denis Zaitceff <zaitceff@gmail.com>
1806
1807 * string/strncat.c (strncat): Undef the symbol in case it has been
1808 defined in bits/string.h.
1809
74718d13
UD
18102011-09-09 Ulrich Drepper <drepper@gmail.com>
1811
633e9e0f
UD
1812 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
1813
0a2349f9 1814 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
1815 link map.
1816
f9924780
AJ
18172011-08-17 Andreas Jaeger <aj@suse.de>
1818
1819 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
1820
7f5517aa
PP
18212011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
1822 Ian Lance Taylor <iant@google.com>
1823
1824 * math/libm-test.inc (lround_test): New testcase.
1825 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
1826
762011fe
UD
18272011-09-08 Ulrich Drepper <drepper@gmail.com>
1828
92963737
UD
1829 * Makefile: Remove support for automatic cvs check-ins.
1830 * Makerules: Likewise.
1831 * config.make.in: Likewise.
1832 * configure.in: Likewise.
1833 * intl/Makefile: Likewise.
1834 * locale/Makefile: Likewise.
1835 * po/Makefile: Likewise.
1836 * posix/Makefile: Likewise.
1837 * sysdeps/gnu/Makefile: Likewise.
1838 * sysdeps/mach/hurd/Makefile: Likewise.
1839 * sysdeps/sparc/sparc32/Makefile: Likewise.
1840
b0727fd8
JS
1841 [BZ #13118]
1842 * posix/Makefile (bug-regex32-ENV): Define.
1843 Patch by John Stanley <jpsinthemix@verizon.net>.
1844
a0f33f99
UD
1845 * misc/Makefile (headers): Add bits/select2.h.
1846 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
1847 * misc/bits/select2.h: New file.
1848 * include/bits/select2.h: New file.
1849 * debug/Makefile (routines): Add fdelt_chk.
1850 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
1851 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
1852 FD_ISSET.
1853 * debug/fdelt_chk.c: New file.
1854
762011fe
UD
1855 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
1856 * wcsmbs/test-wmemcmp.c: Likewise.
1857 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 1858 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
1859
18602011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1861
1862 * string/Makefile (strop-tests): Add memcmp.
1863 * string/test-wmemcmp.c: New file.
1864 * string/test-memcmp.c: Add wmemcmp support.
1865
7f513ec8
RM
18662011-09-08 Roland McGrath <roland@hack.frob.com>
1867
0442afb4
RM
1868 [BZ #13153]
1869 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
1870 2011-07-19 change.
1871
7f513ec8
RM
1872 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
1873 garbage value in a __mach_port_mod_refs call in the cases of the
1874 task-self and thread-self ports.
1875
a12b2239
ST
18762011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
1877
1878 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
1879
610f9ab4
AS
18802011-09-08 Andreas Schwab <schwab@redhat.com>
1881
7f513ec8 1882 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 1883
48882a1a
LD
18842011-09-07 Ulrich Drepper <drepper@gmail.com>
1885
b49865be
UD
1886 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
1887
fdc86bc9
UD
1888 * elf/dl-libc.c (dlerror_run): Pass back error code from
1889 dl_catch_error.
1890
c966526a
UD
1891 [BZ #13123]
1892 * elf/dl-load.c (lose): Free l_origin if it is valid.
1893
48882a1a
LD
1894 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
1895 names.
1896 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
1897 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
1898 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
1899 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
1900 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
1901 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
1902
77a2a8b4
AZ
19032011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1904
1905 * sysdeps/powerpc/fpu/e_hypot.c: New file.
1906 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
1907 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
1908 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
1909 * sysdeps/powerpc/fpu/k_cosf.c: New file.
1910 * sysdeps/powerpc/fpu/k_sinf.c: New file.
1911 * sysdeps/powerpc/fpu/s_cosf.c: New file.
1912 * sysdeps/powerpc/fpu/s_sinf.c: New file.
1913 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
1914 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
1915
24f579d8
AM
19162011-08-15 Alan Modra <amodra@gmail.com>
1917
1918 [BZ #13092]
1919 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
1920 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
1921 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
1922 ppc_mcount to static-only-routines.
1923 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
1924 __mcount_internal.
1925 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
1926 __mcount_internal with usual JUMPTARGET. Remove useless nop.
1927
3d4837df
UD
19282011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
1929
1930 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
1931 for finite and infinity parameters.
1932
22700377
WS
19332011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
1934
1935 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
1936 and add nop instructions for throughput optimization.
1937 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1938
5025581e
WS
19392011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
1940
1941 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
1942 aligned copy for power7 with vector-scalar instructions.
1943 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1944
08a300c9
L
19452011-07-24 H.J. Lu <hongjiu.lu@intel.com>
1946
1947 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
1948 AVX check.
1949
59178ef9
AS
19502011-09-07 Andreas Schwab <schwab@redhat.com>
1951
1952 [BZ #13144]
1953 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
1954 last change.
1955
e38ba7ab
UD
19562011-09-07 Ulrich Drepper <drepper@gmail.com>
1957
1958 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1959 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
1960 syscall wrapper around clock_gettime in __vdso_clock_gettime.
1961 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
1962 clock_gettime.
1963
d53a73ac
UD
19642011-09-06 Ulrich Drepper <drepper@gmail.com>
1965
fc8bffcc
UD
1966 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
1967 Forgot to demangle the pointer.
1968
ceaa0c5d
UD
1969 * sysdeps/i386/sysdep.h: Define atom_text_section.
1970 * sysdeps/x86_64/sysdep.h: Likewise.
1971 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
1972 section with atom_text_section.
1973 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
1974 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
1975 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
1976 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
1977 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
1978
a77d3c17
UD
1979 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
1980 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
1981 already be defined. Change to take two parameters and don't assign
1982 result to variable. Adjust all users.
1983 Define INTERNAL_GETTIME if not already defined.
1984 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
1985 call.
1986 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
1987 HAVE_CLOCK_GETTIME_VSYSCALL.
1988 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
1989
d53a73ac
UD
1990 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
1991 gettimeofday vsyscall, just use time.
1992
a8f84144
AS
19932011-09-06 Andreas Schwab <schwab@redhat.com>
1994
1995 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
1996 <errno.h>.
1997
ef606249
UD
19982011-09-06 Ulrich Drepper <drepper@gmail.com>
1999
2000 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
2001 syscall on x86-64.
2002 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
2003 syscall.
2004 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
2005 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
2006 syscall if possible.
2007
6585cb60
UD
20082011-09-05 Ulrich Drepper <drepper@gmail.com>
2009
2010 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
2011 e_ident. Don't pass to find_mapsXX.
2012 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
2013
a5f524e4
LD
20142011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2015
2016 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2017 strchr-sse2-no-bsf strrchr-sse2-no-bsf
2018 * sysdeps/x86_64/multiarch/strchr.S: Update.
2019 Check bit_slow_BSF bit.
2020 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2021 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
2022 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
2023
554881ef
UD
20242011-09-05 Ulrich Drepper <drepper@gmail.com>
2025
d96de963
UD
2026 [BZ #13134]
2027 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
2028 before glibc 2.15.
2029 (tryshell): Define.
2030 (__spawni): Change last parameter to be flag. Test
2031 SPAWN_XFLAGS_USE_PATH flag to use path or not.
2032 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
2033 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
2034 * posix/spawni.c: Likewise.
2035 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
2036 * posix/spawnp.c: Likewise. Change normal version to use
2037 SPAWN_XFLAGS_USE_PATH.
2038 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
2039 SPAWN_XFLAGS_TRY_SHELL.
2040
d48e5868
UD
2041 [BZ #13150]
2042 * posix/glob.h: Remove gcc 1.x support.
2043
554881ef
UD
2044 [BZ #13068]
2045 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
2046
693fb948
LD
20472011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2048
2049 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2050 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
2051 strrchr-sse2-bsf
2052 * sysdeps/i386/i686/multiarch/strchr.S: New file.
2053 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
2054 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
2055 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
2056 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
2057 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
2058
1b48c537
UD
20592011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2060
49d42c37
UD
2061 * sysdeps/x86_64/wcscmp.S: New file.
2062
1b48c537
UD
2063 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
2064 wcscmp-c wcscmp-sse2
2065 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
2066 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
2067 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
2068 * wcsmbs/wcscmp.c: Allow renaming.
2069
15c95c5d
DM
20702011-09-05 David S. Miller <davem@davemloft.net>
2071
2072 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
2073 stack slot, rather than the struct return pointer slot.
2074 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
2075 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
2076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
2077 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
2078
2f0ad8f3
UD
20792011-09-05 Ulrich Drepper <drepper@gmail.com>
2080
d88ae418
UD
2081 * po/ja.po: Update from translation team.
2082
2f0ad8f3
UD
2083 [BZ #13144]
2084 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
2085 kernel in 64-bit binaries.
2086
5f4318d1
DM
20872011-09-01 David S. Miller <davem@davemloft.net>
2088
2089 * elf/elf.h (HWCAP_SPARC_*): Move to..
2090 * sysdeps/sparc/sysdep.h: this new file and add new values.
2091 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
2092 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
2093 _DL_HWCAP_COUNT to 24.
2094 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
2095 entries.
2096 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
2097 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
2098 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
2099 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
2100 instead of magic constants.
2101 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2102
3ba57516
DM
21032011-08-31 David S. Miller <davem@davemloft.net>
2104
2105 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
2106 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
2107 Reimplement to do errno handling inline.
2108 (SYSCALL_ERROR_HANDLER): New macro.
2109 (__SYSCALL_STRING): Do not do errno handling in asm.
2110 (__CLONE_SYSCALL_STRING): Delete.
2111 (__INTERNAL_SYSCALL_STRING): Delete.
2112 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
2113 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
2114 (PSEUDO): Reimplement to do errno handling inline.
2115 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
2116 (SYSCALL_ERROR_HANDLER): New macro.
2117 (__SYSCALL_STRING): Do not do errno handling in asm.
2118 (__CLONE_SYSCALL_STRING): Delete.
2119 (__INTERNAL_SYSCALL_STRING): Delete.
2120 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
2121 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
2122 i386.
2123 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
2124 (inline_syscall*): Add 'err' argument.
2125 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
2126 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
2127 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
2128 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
2129
2130 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
2131 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
2132
2bc17433
AS
21332011-08-30 Andreas Schwab <schwab@redhat.com>
2134
2135 * elf/rtld.c (dl_main): Relocate objects in dependency order.
2136
fbeb5f4d
JO
21372011-08-29 Jiri Olsa <jolsa@redhat.com>
2138
2139 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
2140 directive.
2141
ad69cc26
DM
21422011-08-24 David S. Miller <davem@davemloft.net>
2143
2144 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
2145
39dd69df
AS
21462011-08-24 Andreas Schwab <schwab@redhat.com>
2147
2148 * elf/Makefile: Add rules to build and run unload8 test.
2149 * elf/unload8.c: New file.
2150 * elf/unload8mod1.c: New file.
2151 * elf/unload8mod1x.c: New file.
2152 * elf/unload8mod2.c: New file.
2153 * elf/unload8mod3.c: New file.
2154
2155 * elf/dl-close.c (_dl_close_worker): Reset private search list if
2156 it wasn't used.
2157
2c0b250a
DM
21582011-08-23 David S. Miller <davem@davemloft.net>
2159
2160 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
2161 subtract stack bias.
2162 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
2163 %sp not %fp in calculations.
2164 (_JMPBUF_UNWINDS_ADJ): Likewise.
2165
22044b48
DM
2166 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
2167 (aio_suspend): Call it to force an exception region around the
2168 AIO_MISC_WAIT() invocation.
2169
2cae4995
AS
21702011-08-23 Andreas Schwab <schwab@redhat.com>
2171
2172 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
2173 backslash.
2174
873a772e
AJ
21752011-07-04 Aurelien Jarno <aurelien@aurel32.net>
2176
2177 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
2178 protection macro.
2179 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
2180 and <dl-machine.h>.
2181 (Elf64_FuncDesc): Remove.
2182
25ad0df1
DM
21832011-08-22 David S. Miller <davem@davemloft.net>
2184
2185 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
2186 sigaltstack check, add missing cfi directives.
2187 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
2188 missing cfi directives, and sigaltstack handling.
2189
e888bcbe
AS
21902011-08-16 Andreas Schwab <schwab@redhat.com>
2191
2192 [BZ #11724]
2193 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
2194 object is seen twice.
2195 * elf/dl-fini.c (_dl_sort_fini): Likewise.
2196
2197 * elf/Makefile (distribute): Add tst-initorder2.c.
2198 (tests): Add tst-initorder2.
2199 (modules-names): Add tst-initorder2a tst-initorder2b
2200 tst-initorder2c tst-initorder2d. Add rules to build them.
2201 ($(objpfx)tst-initorder2.out): New rule.
2202 * elf/tst-initorder2.c: New file.
2203 * elf/tst-initorder2.exp: New file.
2204
87162f46
AS
22052011-08-22 Andreas Schwab <schwab@redhat.com>
2206
70538b7f
AS
2207 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
2208
f55ffe58
AS
2209 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
2210 dependencies back to end of function.
2211
87162f46
AS
2212 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
2213 $(elfobjdir)/ld.so.
2214
91b392a4
UD
22152011-08-21 Ulrich Drepper <drepper@gmail.com>
2216
2217 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
2218 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
2219 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
2220 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
2221 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
2222 of __vdso_gettimeofday.
2223 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
2224 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
2225 attribute_hidden.
2226 (_libc_vdso_platform_setup): Remove initialization of
2227 __vdso_gettimeofday and __vdso_time.
2228
5c43483f
UD
22292011-08-20 Ulrich Drepper <drepper@gmail.com>
2230
775a77e7
UD
2231 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
2232 and fgetc_unlocked.
2233 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
2234 getc_unlocked.
89f447ed 2235
49c74ba9
UD
2236 * elf/dl-open.c (add_to_global): Report additions to the global scope
2237 for LD_DEBUG=scopes.
2238 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 2239 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 2240
5c43483f
UD
2241 [BZ #13114]
2242 * stdio-common/Makefile (tests): Add bug24.
2243 * stdio-common/bug24.c: New file.
2244
a101b025
AJ
22452011-08-19 Andreas Jaeger <aj@suse.de>
2246
2247 [BZ #13114]
2248 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
2249 non-existant file when using close-on-exec mode.
2250
c88f1766
UD
22512011-08-20 Ulrich Drepper <drepper@gmail.com>
2252
0276a718
UD
2253 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
2254 the very first instruction.
2255
c88f1766
UD
2256 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
2257 the CFI state in the end.
2258 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
2259 inclusion of dl-trampoline.h.
2260 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
2261
51ccffa0
AS
22622011-08-19 Andreas Schwab <schwab@redhat.com>
2263
94d7165f
AS
2264 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
2265 expectations for long double.
2266
51ccffa0
AS
2267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
2268 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
2269
fd708658 22702011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
2271
2272 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
2273 artificual limit depends upon the system page size.
2274
44f0a71e
UD
22752011-08-17 Ulrich Drepper <drepper@gmail.com>
2276
2277 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
2278 * resolv/Makefile: Define CFLAGS-libresolv.
2279
8de79a24
AS
22802011-08-17 Andreas Schwab <schwab@redhat.com>
2281
2282 * nss/makedb.c (compute_tables): Make variables used in nested
2283 function static.
2284
27724598
UD
22852011-08-17 Ulrich Drepper <drepper@gmail.com>
2286
c5305d88
UD
2287 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
2288 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
2289 if buffer was too small.
2290
27724598
UD
2291 * elf/pldd.c (main): Attach to all threads in the process.
2292 Rewrite /proc handling to use *at functions.
2293
076fe015
UD
22942011-08-16 Ulrich Drepper <drepper@gmail.com>
2295
174baab3
UD
2296 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
2297 specifies first scope to show.
2298 (dl_open_worker): Update callers. Move printing scope of new
2299 object to before the relocation.
44f0a71e 2300 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
2301 * sysdeps/generic/ldsodefs.h: Update declaration.
2302
076fe015
UD
2303 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
2304 string for the scope number.
2305
a60df2c3
UD
23062011-08-14 Ulrich Drepper <drepper@gmail.com>
2307
2308 * nscd/servicescache.c (cache_addserv): Make sure written is always
2309 initialized.
2310
5e4287d1
RM
23112011-08-14 Roland McGrath <roland@hack.frob.com>
2312
85ae0589
RM
2313 * sysdeps/i386/i486/bits/atomic.h
2314 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
2315 statement expression, so as to suppress "set but not used" warning.
2316 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
2317
69f63097
RM
2318 * string/strncat.c (STRNCAT): Use prototype definition.
2319
675456ef
RM
2320 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
2321 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
2322 -Iprograms here.
2323 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
2324 (localedef-modules): Add localedef.
2325 (locale-modules): Add locale.
2326
5e4287d1
RM
2327 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
2328 * elf/rtld.c (dl_main): Invert order of assignment in last change,
2329 to avoid a warning.
2330
9c96ff23
DM
23312011-08-14 David S. Miller <davem@davemloft.net>
2332
2333 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
2334 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
2335
f9ddf089
UD
23362011-08-13 Ulrich Drepper <drepper@gmail.com>
2337
44f0a71e 2338 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
2339 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
2340 * elf/rtld.c (dl_main): Set l_name of vDSO.
2341 Call _dl_show_scope when DL_DEBUG_SCOPES.
2342 (process_dl_debug): Recognize scopes flag and also set it for all.
2343 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
2344 Declare _dl_show_scope.
2345
1dc27704
UD
2346 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
2347 (do_dlopen): Pass caller_dlopen to dl_open.
2348 (__libc_dlopen_mode): Initialize caller_dlopen.
2349
f9ddf089
UD
2350 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
2351 of libc. Make tolower call locale-independent. Optimize a bit by
2352 using isdigit instead of isalnum.
2353 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
2354
9ac533d3
UD
23552011-08-12 Ulrich Drepper <drepper@gmail.com>
2356
2357 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
2358 was a dependency or dynamically loaded.
2359
89edf2e9
UD
23602011-08-11 Ulrich Drepper <drepper@gmail.com>
2361
8e999d29
UD
2362 * intl/l10nflist.c: Allow architecture-specific pop function.
2363 * sysdeps/x86_64/l10nflist.c: New file.
2364
89edf2e9
UD
2365 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
2366 classification.
2367
14d96785
AS
23682011-08-10 Andreas Schwab <schwab@redhat.com>
2369
2370 * include/dirent.h: Add libc_hidden_proto for scandirat and
2371 scandirat64. Don't declare __scandirat64.
2372 * dirent/scandirat.c: Add libc_hidden_def.
2373 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
2374 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
2375
6761ac04
DM
23762011-08-10 David S. Miller <davem@davemloft.net>
2377
2378 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
2379 enum.
2380 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2381 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2382 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2383
c55fbd1e
UD
23842011-08-09 Ulrich Drepper <drepper@gmail.com>
2385
2386 * Versions.def [libc]: Add GLIBC_2.15.
2387 * dirent/Makefile (routines): Add scandirat and scandirat64.
2388 * dirent/Versions [libc]: Export scandirat and scandirat64 for
2389 GLIBC_2.15.
2390 * dirent/dirent.h: Declare scandirat and scandirat64.
2391 * dirent/scandirat.c: New file.
2392 * dirent/scandirat64.c: New file.
2393 * sysdeps/wordsize-64/scandirat.c: New file.
2394 * sysdeps/wordsize-64/scandirat64.c: New file.
2395 * dirent/opendir.c: Define opendirat.
2396 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
2397 using scandirat.
2398 * dirent/scandir64.c: Adjust for scandir.c change.
2399 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
2400 __scandirat64, and __scandir_cancel_handler.
2401 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
2402 additional parameter and use openat instead of open (outside of ld.so).
2403 Add new __opendir as wrapper around __opendirat.
2404 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
2405 here without requiring old scandirat implementation.
2406
879165f2
UD
24072011-08-08 Ulrich Drepper <drepper@gmail.com>
2408
2409 * dirent/scandir.c (cancel_handler): Renamed to
2410 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
2411 defined. Adjust users.
2412 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
2413 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
2414
cb7e923b
UD
24152011-08-04 Ulrich Drepper <drepper@gmail.com>
2416
16292edd
UD
2417 * string/test-string.h (IMPL): Use __STRING to expand name and then
2418 stringify it.
2419
cb7e923b
UD
2420 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
2421 of cleanups.
2422
cff82933
LD
24232011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2424
2425 * string/Makefile: Update.
2426 (strop-tests): Append strncat.
2427 * string/test-wcscmp.c: New file.
2428 New comprehensive test for wcscmp.
2429 * string/test-strcmp.c: Update.
2430 (WIDE): New define.
2431
9be9bfcc
AS
24322011-07-22 Andreas Schwab <schwab@redhat.com>
2433
2434 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
2435 line.
2436
2e96f1c7
AS
24372011-07-26 Andreas Schwab <schwab@redhat.com>
2438
2439 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
2440 encoding to ACE if AI_IDN.
2441
85188888
JJ
24422011-08-01 Jakub Jelinek <jakub@redhat.com>
2443
2444 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
2445 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
2446
5fa16e9b
LD
24472011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2448
2449 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
2450 Fix overflow bug in strncat.
2451 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
2452
2453 * string/test-strncat.c: Update.
2454 Add new tests for checking overflow bugs.
2455
24562011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2457
2458 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2459 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
2460 * sysdeps/i386/i686/multiarch/strcat.S: New file.
2461 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
2462 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
2463 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
2464 * sysdeps/i386/i686/multiarch/strncat.S: New file.
2465 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
2466 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
2467
2468 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
2469 (USE_AS_STRCAT): Define.
2470 Add strcat and strncat support.
2471 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
2472
8c1a459f
AS
24732011-07-25 Andreas Schwab <schwab@redhat.com>
2474
2475 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
2476 __n bigger than INT_MAX+1.
2477 (__strncmp_g): Likewise.
2478
bba33c28
UD
24792011-07-23 Ulrich Drepper <drepper@gmail.com>
2480
798be72d
UD
2481 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
2482 * libio/stido.h: Likewise.
2483
8accd4dc
UD
2484 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
2485 (AF_NFC): Define.
2486 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
2487 (AF_NFC): Define.
2488
cbff0d96
UD
2489 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
2490 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2491 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2492 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
2493 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2494
9191c04a
UD
2495 [BZ #13021]
2496 * scripts/test-installation.pl: Don't expect libnss_test1 to be
2497 installed.
2498
bba33c28
UD
2499 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
2500 typo.
2501 (_dl_x86_64_save_sse): Likewise.
2502
90f139dd
UD
25032011-07-22 Ulrich Drepper <drepper@gmail.com>
2504
1aae088a
UD
2505 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
2506 OSXSAVE.
2507 (_dl_x86_64_save_sse): Likewise.
2508
8e2045f5
UD
2509 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
2510
90f139dd
UD
2511 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
2512
1d002f25
AS
25132011-07-21 Andreas Schwab <schwab@redhat.com>
2514
2515 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
2516 change.
2517 (_dl_x86_64_save_sse): Use correct AVX check.
2518
21137f89
UD
25192011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2520
2521 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
2522 bug in strncpy/strncat.
2523 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2524
a65c0b7a
UD
25252011-07-21 Ulrich Drepper <drepper@gmail.com>
2526
2527 * string/tester.c (test_strcat): Add tests for different alignments
2528 of source and destination.
2529 (test_strncat): Likewise.
2530
6986b98a
UD
25312011-07-20 Ulrich Drepper <drepper@gmail.com>
2532
90bb2039
UD
2533 [BZ #12852]
2534 * posix/glob.c (glob): Check passed in values before using them in
2535 expressions to avoid some overflows.
2536 (glob_in_dir): Likewise.
2537
5644ef54
UD
2538 [BZ #13007]
2539 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
2540 check for AVX enablement so that we don't crash with old kernels and
2541 new hardware.
2542 * elf/tst-audit4.c: Add same checks here.
2543 * elf/tst-audit6.c: Likewise.
2544
2545 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 2546
bfc9dc9b
AS
25472011-07-09 Andreas Schwab <schwab@linux-m68k.org>
2548
2549 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
2550
702e64bb
UD
25512011-07-20 Ulrich Drepper <drepper@gmail.com>
2552
2553 * po/cs.po: Update from translation team.
2554 * po/bg.po: Likewise.
2555
295e904f
MP
25562011-07-12 Marek Polacek <mpolacek@redhat.com>
2557
2558 * misc/sys/cdefs.h: Add support for const attribute.
2559 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
2560 to gnu_dev_{major,minor,makedev} functions.
2561
3ff94596
MP
25622011-07-20 Marek Polacek <mpolacek@redhat.com>
2563
2564 * intl/dcigettext.c (get_output_charset): Add missing bracket.
2565
28b59fca
AS
25662011-07-20 Andreas Schwab <schwab@redhat.com>
2567
2568 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
2569 strlen results.
2570
19df733e
AK
25712011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2572
2573 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2574 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
2575 register in order to avoid conflicts with the soft frame pointer
2576 being held in r11 when necessary.
2577 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2578 (INTERNAL_VSYSCALL_NCS): Likewise.
2579
c8835729
MP
25802011-07-14 Marek Polacek <mpolacek@redhat.com>
2581
2582 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
2583 * elf/dl-fini.c (_dl_fini): Adjust caller.
2584 * elf/dl-close.c (_dl_close_worker): Likewise.
2585 * sysdeps/generic/ldsodefs.h: Adjust declaration.
2586
b902330c
MP
25872011-07-15 Marek Polacek <mpolacek@redhat.com>
2588
8991e135
MP
2589 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
2590 "aux_cache->nlibs < 0".
2591
b902330c
MP
2592 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
2593 in the reload-count case.
2594
99710781
LD
25952011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2596
2597 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2598 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
2599 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
2600 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
2601 * sysdeps/x86_64/multiarch/strcat.S: New file.
2602 * sysdeps/x86_64/multiarch/strncat.S: New file.
2603 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
2604 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
2605 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
2606 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
2607 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
2608 (USE_AS_STRCAT): Define.
2609 Add strcat and strncat support.
2610 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
2611 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2612 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
2613 * string/strncat.c: Update.
2614 (USE_AS_STRNCAT): Define.
2615 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2616 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
2617 and i7.
2618 * sysdeps/x86_64/multiarch/init-arch.h
2619 (bit_Prefer_PMINUB_for_stringop): New.
2620 (index_Prefer_PMINUB_for_stringop): Likewise.
2621 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
2622 bit_Prefer_PMINUB_for_stringop.
2623
7dc6bd90
UD
26242011-07-19 Ulrich Drepper <drepper@gmail.com>
2625
2626 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
2627 buffer64.
2628 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
2629 of casting of buffer.
2630 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
2631 buffer32 and buffer64.
2632 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
2633 writes instead of casting of buffer.
2634 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
2635 buffer32.
2636 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
2637 casting of buffer.
2638
e0e72284
AS
26392011-07-19 Andreas Schwab <schwab@redhat.com>
2640
2641 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
2642
feb1eb0b
UD
26432011-07-19 Ulrich Drepper <drepper@gmail.com>
2644
2645 * nscd/nscd.c (termination_handler): Don't do anything for a database
2646 if it has not yet been initialized.
2647
298711ff
UD
26482011-07-18 Ulrich Drepper <drepper@gmail.com>
2649
2650 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
2651
26522011-07-15 Marek Polacek <mpolacek@redhat.com>
2653
2654 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
2655
f9d68389
UD
26562011-07-18 Ulrich Drepper <drepper@gmail.com>
2657
2658 * po/nl.po: Update from translation team.
2659 * po/sv.po: Likewise.
2660
db290cf5
RM
26612011-07-16 Roland McGrath <roland@hack.frob.com>
2662
2663 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
2664 now disallowed by GCC.
5c550700 2665
fd5e21c7
RM
2666 * configure.in (use-default-link): Default to yes if a test -shared
2667 link meets our qualifications.
2668 * configure: Regenerated.
2669
5c550700
RM
2670 * config.make.in (output-format): New variable.
2671 * configure.in: Check for ld --print-output-format support.
2672 * configure: Regenerated.
2673 * Makerules ($(common-objpfx)format.lds)
2674 [$(output-format) != unknown]: Just use $(output-format),
2675 instead of the linker-script munging.
2676
9fa2c032
RM
26772011-07-14 Roland McGrath <roland@hack.frob.com>
2678
a6928d51
RM
2679 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
2680 of $(common-objpfx)shlib.lds.
2681 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
2682
661607b3
RM
2683 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
2684 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
2685
9fa2c032
RM
2686 * configure.in (-z relro check): Adjust test code to add a large
2687 writable data section after it.
2688 * configure: Regenerated.
2689
defe9061
RM
26902011-07-11 Roland McGrath <roland@hack.frob.com>
2691
2692 * configure.in (-z relro check): Fix test code to make the variable
2693 truly const.
2694 * configure: Regenerated.
2695
319b9ad4
UD
26962011-07-11 Ulrich Drepper <drepper@gmail.com>
2697
2698 * nscd/nscd.h (struct traced_file): Define.
2699 (struct database_dyn): Remove inotify_descr, reset_res, and filename
2700 elements. Add traced_files.
2701 (inotify_fd): Declare.
2702 (register_traced_file): Declare.
2703 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
2704 (inotify_fd): Export.
2705 (resolv_conf_descr): Remove.
2706 (nscd_init): Move inotify descriptor creation to main.
2707 Don't register files for notification here.
2708 (register_traced_file): New function.
2709 (invalidate_cache): Don't use reset_res to determine whether to call
2710 res_init, go through the list of registered files.
2711 (main_loop_poll): The inotify descriptors are now stored in the
2712 structures for the traced files.
2713 (main_loop_epoll): Likewise
2714 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
2715 to __nss_disable_nscd.
2716 * nscd/cache.c (prune_cache): There is no single inotify descriptor
2717 for a database anymore. Check the records for all the registered
2718 files instead.
2719 * nss/Makefile (libnss_files-routines): Add files-init.
2720 (libnss_db-routines): Add db-init.
2721 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
2722 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
2723 * nss/nss_db/db-init.c: New file.
2724 * nss/nss_files/files-init.c: New file.
2725 * nss/nsswitch.c (nss_load_library): New function. Broken out of
2726 __nss_lookup_function.
2727 (__nss_lookup_function): Call nss_load_library.
2728 (nss_load_all_libraries): New function.
2729 (__nss_disable_nscd): Take parameter with callback function for files
2730 to register. Set is_nscd. Load all the DSOs for the NSS modules
2731 used for the cached services.
2732 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
2733 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
2734 options for features to all the files in nscd.
2735
2736 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
2737
23bee3e8
RM
27382011-07-10 Roland McGrath <roland@hack.frob.com>
2739
2740 * csu/elf-init.c (__libc_csu_init): Comment typo.
2741
46a5b7f0
UD
27422011-07-09 Ulrich Drepper <drepper@gmail.com>
2743
2744 * po/pl.po: Update from translation team.
2745 * po/ja.po: Likewise.
2746 * po/ru.po: Likewise.
2747 * po/ko.po: Likewise.
2748 * po/fr.po: Likewise.
2749
d30cf5bb
RM
27502011-07-09 Roland McGrath <roland@hack.frob.com>
2751
113ddea4
RM
2752 * configure.in (.ctors/.dtors header and trailer check):
2753 Use an empirical test on a built program.
2754 * configure: Regenerated.
2755
574920b4
RM
2756 * configure.in (-z relro check): Use an empirical test on a built DSO.
2757 Detect, but do not require, on ia64.
2758 * configure: Regenerated.
2759
d30cf5bb
RM
2760 * configure.in (READELF): Find it with AC_CHECK_TOOL.
2761 Update tests that use readelf to use $READELF instead.
2762 * configure: Regenerated.
2763
8538fdb3
UD
27642011-07-08 Ulrich Drepper <drepper@gmail.com>
2765
2766 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
2767 if the result is not used.
2768
04d08991
AJ
27692011-07-05 Andreas Jaeger <aj@suse.de>
2770
2771 [BZ#9696]
2772 * stdlib/tst-strtod.c: Add testcase.
2773
de283087
AD
27742011-07-07 Ulrich Drepper <drepper@gmail.com>
2775
4e5f31c8 2776 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 2777 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
2778 The latter has a higher limit. Take additional parameter to pass to
2779 the new function.
2780 (__pathconf): Pass file to __statfs_link_max.
2781 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
2782 __statfs_link_max.
2783 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
2784 __statfs_link_max.
2785
de283087
AD
2786 [BZ #12868]
2787 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
2788 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2789 Handle Lustre.
2790 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
2791 (__statfs_filesize_max): Likewise.
2792 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
2793
c75fa153
AJ
27942011-07-05 Andreas Jaeger <aj@suse.de>
2795
2796 * resolv/res_comp.c (dn_skipname): Remove unused variable.
2797
1a544854
UD
27982011-07-06 Marek Polacek <mpolacek@redhat.com>
2799
2800 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
2801 `status' variable.
2802 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
2803 Likewise.
2804
6f0eec67
UD
28052011-07-04 H.J. Lu <hongjiu.lu@intel.com>
2806
2807 * Makefile (strop-tests): Add strncat.
2808 * string/test-strncat.c: New file.
2809
aae30307
UD
28102011-06-30 Marek Polacek <mpolacek@redhat.com>
2811
2812 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
2813
c0cfb5eb
UD
28142011-06-21 Andreas Jaeger <aj@suse.de>
2815
2816 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
2817 Copy rule from iconvdata/Makefile.
2818
01636b21
UD
28192011-07-06 Ulrich Drepper <drepper@gmail.com>
2820
2821 [BZ #12922]
2822 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
2823 but no long options are defined, just return 'W'.
2824
9895c8bc
UD
28252011-06-22 Marek Polacek <mpolacek@redhat.com>
2826
2827 [BZ #9696]
2828 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
2829
5d4cf042
UD
28302011-07-06 Ulrich Drepper <drepper@gmail.com>
2831
2832 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
2833 netgroups to read.
960e5535 2834 (innetgr): Likewise.
5d4cf042 2835
751eb97e
RM
28362011-07-05 Roland McGrath <roland@hack.frob.com>
2837
2838 * config.make.in (install_root): Default to $(DESTDIR).
2839
f15f1e45
UD
28402011-07-05 Ulrich Drepper <drepper@gmail.com>
2841
2842 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
2843
4e34ac6a
RM
28442011-07-02 Roland McGrath <roland@hack.frob.com>
2845
5e9b6af4
RM
2846 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
2847
84f9ea0f
RM
2848 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
2849 containing directory rather than embedding absolute directory names.
2850
ea5ee9f7
RM
2851 * scripts/check-local-headers.sh: Rewritten using awk.
2852 Match by word, not by line. Print error messages for matches.
2853 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
2854
1b74661a
RM
2855 * Makerules [shlib-lds-flags empty]:
2856 ($(common-objpfx)libc_pic.opts): New target.
2857 ($(common-objpfx)libc_pic.os.clean): New target.
2858 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
2859
2860 * config.make.in (OBJCOPY): New variable.
2861 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
2862 * configure: Regenerated.
2863
f781ef40
RM
2864 * config.make.in (use-default-link): New variable.
2865 * configure.in (use_default_link): Grok --with-default-link to set it.
2866 * configure: Regenerated.
2867 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
2868 (shlib-lds, shlib-lds-flags): Define to empty.
2869
2d4fa81e
RM
2870 * Makerules (shlib-lds): New variable.
2871 (shlib-lds-flags): New variable.
2872 (build-shlib, build-moduile, build-module-asneeded): Use it.
2873 ($(common-objpfx)libc.so): Use $(shlib-lds).
2874 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
2875 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
2876
31fffa6b
RM
2877 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
2878 DT_FLAGS/DT_FLAGS_1 with zero flags.
2879
4e34ac6a
RM
2880 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
2881 linker script munging.
2882
fcfc776b
UD
28832011-07-02 Ulrich Drepper <drepper@gmail.com>
2884
2885 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
2886 as 128-bit value.
2887 * crypt/sha512.c (sha512_process_block): Perform total addition using
2888 128-bit if possible.
2889 (__sha512_finish_ctx): Likewise.
2890 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
2891 as 64-bit value.
2892 * crypt/sha256.c (SWAP64): Define.
2893 (sha256_process_block): Perform total addition using 64-bit if
2894 possible.
2895 (__sha256_finish_ctx): Likewise.
2896
99231d9a
UD
28972011-07-01 Ulrich Drepper <drepper@gmail.com>
2898
2899 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
2900 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2901 * nscd/hstcache.c (cache_addhst): Likewise.
2902 * nscd/grpcache.c (cache_addgr): Likewise.
2903 * nscd/aicache.c (addhstaiX): Likewise
2904 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
2905
445b4a53
TK
29062011-07-01 Thorsten Kukuk <kukuk@suse.de>
2907
2908 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
2909 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2910 * nscd/hstcache.c (cache_addhst): Likewise.
2911 * nscd/grpcache.c (cache_addgr): Likewise.
2912 * nscd/aicache.c (addhstaiX): Likewise
2913
6d4d8e8e
AS
29142011-07-01 Andreas Schwab <schwab@redhat.com>
2915
2916 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
2917 domain only when needed.
2918
89f654c5
AS
29192011-06-30 Andreas Schwab <schwab@redhat.com>
2920
2921 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
2922 is always restored.
2923
cf3b23ff
UD
29242011-06-29 Ulrich Drepper <drepper@gmail.com>
2925
2926 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
2927 are re-adding the entry.
2928 * nscd/servicescache.c (cache_addserv): Likewise.
2929
751626f9
AJ
29302011-06-30 Aurelien Jarno <aurelien@aurel32.net>
2931
2932 * sysdeps/generic/dl-irel.h: fix protection against multiple
2933 inclusions.
2934 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
2935
9113ea1f
UD
29362011-06-28 Ulrich Drepper <drepper@gmail.com>
2937
5c0b8d90
UD
2938 [BZ #12935]
2939 * malloc/memusage.sh: Fix quoting in message.
2940 * debug/xtrace.sh: Likewise.
2941
9113ea1f
UD
2942 * configure.in: Remove support for --experimental-malloc option, make
2943 it the default.
2944 * config.make.in: Likewise.
2945 * malloc/Makefile: Likewise.
2946
a4172181
AS
29472011-06-27 Andreas Schwab <schwab@redhat.com>
2948
2949 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
2950 two-byte characters.
2951
78a7eee7
RM
29522011-06-27 Roland McGrath <roland@hack.frob.com>
2953
62bede13
RM
2954 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
2955 AC_CACHE_CHECK invocation.
2956 * configure: Regenerated.
2957
78a7eee7
RM
2958 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
2959
5ce33a62
UD
29602011-06-27 Ulrich Drepper <drepper@gmail.com>
2961
034807a9
UD
2962 [BZ #12350]
2963 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
2964 bit from old_res_options.
2965
4902da17
UD
2966 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
2967
5ce33a62
UD
2968 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
2969 value type for setfct.
2970
c2344f56
L
29712011-06-23 H.J. Lu <hongjiu.lu@intel.com>
2972
2973 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
2974 __gettimeofday instead of gettimeofday.
2975
68468076
UD
29762011-06-26 Ulrich Drepper <drepper@gmail.com>
2977
2978 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
2979
acb0d739
L
29802011-06-24 H.J. Lu <hongjiu.lu@intel.com>
2981
2982 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
2983
2984 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
2985 info.
2986
8912479f
L
29872011-06-22 H.J. Lu <hongjiu.lu@intel.com>
2988
2989 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2990 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
2991 strcpy-sse2-unaligned strncpy-sse2-unaligned
2992 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
2993 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
2994 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
2995 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
2996 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
2997 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
2998 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
2999 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
3000 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
3001 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
3002 (STRCPY): Support SSE2 and SSSE3 versions.
3003
d5495a11
UD
30042011-06-24 Ulrich Drepper <drepper@gmail.com>
3005
3006 [BZ #12874]
3007 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
3008 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
3009 kernels which artificially limit size of requests.
3010
0b1cbaae
L
30112011-06-22 H.J. Lu <hongjiu.lu@intel.com>
3012
3013 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3014 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
3015 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
3016 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
3017 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
3018 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
3019 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
3020 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
3021 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
3022 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
3023 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
3024 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
3025 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
3026 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
3027 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
3028 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3029 Enable unaligned load optimization for Intel Core i3, i5 and i7
3030 processors.
3031 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
3032 Define.
3033 (index_Fast_Unaligned_Load): Define.
3034 (HAS_FAST_UNALIGNED_LOAD): Define.
3035
07f494a0
MP
30362011-06-23 Marek Polacek <mpolacek@redhat.com>
3037
3038 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
3039
fa3fc0fe
UD
30402011-06-22 Ulrich Drepper <drepper@gmail.com>
3041
3042 [BZ #12907]
3043 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
3044 until it is clear that the information is realy needed.
3045 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
3046
e12df166
AS
30472011-06-22 Andreas Schwab <schwab@redhat.com>
3048
3049 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
3050
852eb34d
UD
30512011-06-22 Ulrich Drepper <drepper@gmail.com>
3052
84e2a551
UD
3053 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
3054 /sys/devices/system/cpu/online if it is usable.
3055
852eb34d
UD
3056 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
3057 reading the information from the /proc filesystem to once a second.
3058
6e502e19
UD
30592011-06-21 Andreas Jaeger <aj@suse.de>
3060
3061 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
3062 NULL after inclusion of kernel headers.
3063
75d39ff2
UD
30642011-06-21 Ulrich Drepper <drepper@gmail.com>
3065
51f9aa6a
UD
3066 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
3067 calls to internal_setent.
3068
c0244a9d
UD
3069 [BZ #12885]
3070 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
3071 addresses using gethostbyname4_r ignore IPv4 addresses.
3072
c5e3c2ae
UD
3073 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
3074 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
3075
75d39ff2
UD
3076 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
3077
42675c6f
DM
30782011-06-20 David S. Miller <davem@davemloft.net>
3079
3080 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
3081 inclusions.
3082 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
3083
3084 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
3085 (elf_irel): Use it.
3086 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
3087 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
3088 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
3089 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
3090 * sysdeps/x86_64/dl-irel.h: Likewise.
3091
3092 * elf/dl-runtime.c: Use elf_ifunc_invoke.
3093 * elf/dl-sym.c: Likewise.
3094
57912a71
UD
30952011-06-15 Ulrich Drepper <drepper@gmail.com>
3096
3097 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
3098 need to dereference resplen2.
3099
ee22793d
AS
31002011-06-14 Andreas Schwab <schwab@redhat.com>
3101
3102 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
3103
a9e836b0
UD
31042011-06-15 Ulrich Drepper <drepper@gmail.com>
3105
77fb9117
UD
3106 * Makeconfig: Define vardbdir and inst_vardbdir.
3107 * nss/Makefile: Add rules to install db-Makefile.
3108
40c1b22c
UD
3109 * nss/nss_db/db-XXX.c: Cleanup.
3110
9f2da732
UD
3111 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
3112 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
3113 GLIBC_PRIVATE.
3114 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
3115 * nss/makedb.c: Implement -g option to specify that value strings
3116 are generated and should not be added to table iterated over for
3117 get*ent calls.
3118 * nss/nss_db/db-initgroups.c: New file.
3119
82e9a1f7
UD
3120 * nss/getent.c: Add support for initgroups lookups through getgrouplist
3121 interface.
3122
c41af17e
UD
3123 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
3124 (internal_getgrouplist): Adjust to name change.
3125 Update use_initgroups_entry if this is not the first call.
3126 * nss/databases.def: Add initgroups entry.
3127
a9e836b0
UD
3128 * nss/makedb.c (compute_tables): Check result of multiple hash table
3129 sizes to minimize maximum chain length.
3130
2666d441
UD
31312011-06-14 Ulrich Drepper <drepper@gmail.com>
3132
3133 * Versions.def: Add entry for libnss_db.
3134 * shlib-versions: Likewise.
3135 * nss/Makefile: Add rules to build libnss_db.
3136 * nss/Versions: Add libnss_db information. Organize libnss_files
3137 entries better.
3138 * nss/db-Makefile: Add gshadow support. Change rules for the new
3139 makedb progra. Some minor improvements to generate smaller files.
3140 * nss/nss_db/nss_db.h: Move NSS database header data structures to
3141 here from...
3142 * nss/makedb.c: ...here.
3143 Improve database format to be smaller and require less memory at
3144 runtime.
3145 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
3146 db anymore.
3147 * nss/nss_db/db-netgrp.c: Likewise.
3148 * nss/nss_db/db-open.c: Likewise.
3149 * nss/nss_files/flies-XXX.x: Adjust comments.
3150 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
3151 * nss/nss_files/files-grp.c: Likewise.
3152 * nss/nss_files/files-hosts.c: Likewise.
3153 * nss/nss_files/files-network.c: Likewise.
3154 * nss/nss_files/files-proto.c: Likewise.
3155 * nss/nss_files/files-pwd.c: Likewise.
3156 * nss/nss_files/files-rpc.c: Likewise.
3157 * nss/nss_files/files-service.c: Likewise.
3158 * nss/nss_files/files-sgrp.c: Likewise.
3159 * nss/nss_files/files-spwd.c: Likewise.
3160 * nss/nss_db/db-alias.c: Removed.
3161 * nss/nss_db/dummy-db.h: Removed.
3162
9ee76b5a
UD
31632011-06-02 Ulrich Drepper <drepper@gmail.com>
3164
3165 * nss/makedb.c: Rewritten to not use database library.
3166 * nss/Makefile: Update to build new makedb program.
3167
c71ca1f8
AJ
31682011-06-14 Andreas Jaeger <aj@suse.de>
3169
3170 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
3171 memset declaration.
3172
3154bfb8
UD
31732011-06-10 Andreas Schwab <schwab@redhat.com>
3174
3175 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
3176 tmpbuf.
3177
b350afab
RM
31782011-06-10 Roland McGrath <roland@hack.frob.com>
3179
decd4e50
RM
3180 * Makerules (shlib.lds): Fail if the linker script comes out empty.
3181 * elf/Makefile ($(objpfx)ld.so): Likewise.
3182
5615eaf2
RM
3183 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
3184 Don't list ld.so twice in dependencies.
3185
3186 * posix/bug-regex31.c: Include <stdlib.h>.
3187
3188 * nscd/hstcache.c (cache_addhst): Remove unused variable.
3189
3190 * nis/nss_compat/compat-spwd.c
3191 (getspent_next_nss_netgr): Remove unused variable.
3192 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
3193
3194 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
3195 nonmembers" output to use the right array.
3196
3197 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
3198
3199 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
3200
3201 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
3202 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
3203 * catgets/gencat.c (read_input_file): Likewise.
3204 * locale/programs/locarchive.c (enlarge_archive): Likewise.
3205
3206 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
3207 variable definition inside #if's controlling its use.
3208
3209 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
3210
3211 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
3212
3213 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
3214
3215 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
3216 unreachable code.
3217
3218 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
3219
b68e08db
RM
3220 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
3221 * configure: Regenerated.
3222
b350afab
RM
3223 * Makerules: Revert last change.
3224 * elf/Makefile: Likewise.
3225
28368601
RM
32262011-06-09 Roland McGrath <roland@hack.frob.com>
3227
3228 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
3229 * elf/Makefile ($(objpfx)librtld.os): Likewise.
3230 (reloc-link): Likewise.
3231
11988f8f
UD
32322011-06-09 Ulrich Drepper <drepper@gmail.com>
3233
3234 * elf/Makefile: Add rules to build pldd.
3235 * elf/pldd.c: New file.
3236 * elf/pldd-xx.c: New file.
3237
e80fab37
UD
32382011-06-07 Ulrich Drepper <drepper@gmail.com>
3239
3240 * version.h: Update for 2.15 development version.
3241
9b849836
DM
32422011-06-07 David S. Miller <davem@davemloft.net>
3243
3244 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
3245 ifuncs.
3246 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
3247 elf_machine_lazy_rel): Likewise.
3248 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
3249 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
3250 elf_machine_lazy_rel): Likewise.
3251 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
3252 dl_hwcap via passed in argument.
3253 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
3254 Likewise.
3255
5a31b283
AK
32562011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3257
3258 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
3259
069e52f8
RM
32602011-06-06 Roland McGrath <roland@hack.frob.com>
3261
3262 [BZ #12849]
3263 * manual/fdl-1.1.texi: New file, verbatim from:
3264 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
3265 * manual/lgpl-2.1.texi: New file, verbatim from:
3266 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
3267 * manual/Makefile (licenses): New variable, list those new file names.
3268 (texis): Use it.
3269 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
3270
3271 * manual/fdl.texi: File removed.
3272 * manual/lesser.texi: File removed.
3273 * manual/libc.texinfo (Copying, Documentation License):
3274 Use new @include file names, put @appendix directive before @include.
3275
f16846a5
JJ
32762011-06-04 Jakub Jelinek <jakub@redhat.com>
3277
3278 [BZ #12841]
3279 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
3280 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
3281 (mq_open): Add __NTH.
3282
3d29045b
L
32832011-06-02 H.J. Lu <hongjiu.lu@intel.com>
3284
3285 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3286 Assume Intel Core i3/i5/i7 processor if AVX is available.
3287
8c297311
UD
32882011-05-31 Ulrich Drepper <drepper@gmail.com>
3289
3290 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3291 typo.
3292
c8fc0c91
UD
32932011-05-31 Andreas Schwab <schwab@redhat.com>
3294
3295 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
3296 memory. Use alloca_account. Fix memory leak when retrying.
3297
5b27a807
UD
32982011-05-31 Ulrich Drepper <drepper@gmail.com>
3299
356f8bc6
UD
3300 * version.h (RELEASE): Bump for 2.14 release.
3301 * include/features.h (__GLIBC_MINOR__): Bump to 14.
3302
5b27a807
UD
3303 * config.make.in (RANLIB): Remove entry.
3304
01f16ab0
UD
33052011-05-30 Ulrich Drepper <drepper@gmail.com>
3306
41fce8bd
UD
3307 * po/Makefile (po-sed-cmd): Add ksh to extensions.
3308 (libc.pot): Work around missing support for .ksh extension in xgettext.
3309
4769ae77
UD
3310 [BZ #12684]
3311 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
3312 if both request failed.
3313 (send_dg): In case of server errors clear resplen or *resplen2.
3314
6b1e7d19
UD
3315 [BZ #12454]
3316 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
3317 when there are multiple maps.
3318 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
3319 (_dl_fini): Remove test here.
3320
01f16ab0
UD
3321 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
3322
b1ebd700
UD
33232011-05-29 Ulrich Drepper <drepper@gmail.com>
3324
7ae22829
UD
3325 [BZ #12350]
3326 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
3327 bit from old_res_options.
3328 (gaih_inet): Likewise.
3329
553149f6 3330 [BZ #11099]
18a84741 3331 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
3332 as signed.
3333
652ffab1
UD
3334 * resolv/res_init.c (res_setoptions): Make the code more compact.
3335
16985fd0
UD
3336 [BZ #11558]
3337 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
3338 set RES_USEVC.
3339
0464f746
UD
3340 [BZ #11634]
3341 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
3342
7d17596c
UD
3343 * malloc/malloc.h: Mark malloc hook variables as deprecated.
3344
cf6bbbd7
UD
3345 [BZ #11781]
3346 * malloc/malloc.h: Declare malloc hook variables as volatile.
3347
13f1ab36
UD
3348 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
3349 in last patch.
3350
b1ebd700
UD
3351 [BZ #11799]
3352 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 3353 raise in the comment.
80e2212d
UD
3354 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3355 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3356 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 3357
ce67228d
UD
33582011-05-28 Ulrich Drepper <drepper@gmail.com>
3359
8887a920
UD
3360 [BZ #12811]
3361 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
3362 grow the buffers more if it already has to be sufficient.
3363 (build_wcs_upper_buffer): Likewise.
3364 * posix/regexec.c (check_matching): Likewise.
3365 (clean_state_log_if_needed): Likewise.
3366 (extend_buffers): Don't enlarge buffers beyond size of the input
3367 buffer.
3368 Patches mostly by Emil Wojak <emil@wojak.eu>.
3369 * posix/bug-regex32.c: New file.
3370 * posix/Makefile (tests): Add bug-regex32.
3371
4f031072
UD
3372 * locale/findlocale.c (_nl_find_locale): Return right away if
3373 _nl_explode_name failed.
3374 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
3375
d0478f0c
UD
3376 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
3377
de81b246
UD
3378 * debug/xtrace.sh: Unify messages.
3379 * malloc/memusage.sh: Likewise.
3380
c738465a
UD
3381 [BZ #12813]
3382 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
3383 time symbol from vDSO. Substitute with vsyscall if not available.
3384 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
3385 __vdso_time.
3386
f1f929d7
UD
3387 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
3388 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
3389 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
3390 Add sendmmsg and internal_sendmmsg.
3391 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
3392 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
3393 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
3394
ce67228d
UD
3395 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
3396 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
3397 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
3398
e57420c6
UD
33992011-05-27 Ulrich Drepper <drepper@gmail.com>
3400
a8509ca5
UD
3401 [BZ #12813]
3402 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
3403 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
3404 available.
3405 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
3406 __vdso_getcpu.
3407
e57420c6
UD
3408 [BZ #12814]
3409 * iconvdata/Makefile (tests): Add bug-iconv9.
3410 * iconvdata/bug-iconv9.c: New file.
3411
4d07db15
AS
34122011-05-27 Andreas Schwab <schwab@redhat.com>
3413
3414 [BZ #12814]
3415 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
3416
ea486f69
JJ
34172011-05-25 Jakub Jelinek <jakub@redhat.com>
3418
3419 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
3420 (struct user_regs_struct): Change intcs field back to cs.
3421
6f038433
UD
34222011-05-25 Ulrich Drepper <drepper@gmail.com>
3423
3424 * po/ja.po: Update from translation team.
3425
67f86a25
UD
34262011-05-23 Ulrich Drepper <drepper@gmail.com>
3427
3428 [BZ #12795]
3429 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
3430 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
3431
def7fbd6
AS
34322011-05-20 Andreas Schwab <schwab@redhat.com>
3433
3434 * stdlib/longlong.h: Update from GCC.
3435
f50ef8f1
AS
34362011-05-23 Andreas Schwab <schwab@redhat.com>
3437
3438 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
3439 parameter name.
3440 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
3441 Add parameter name.
3442 (__sysconf): Pass it down.
3443
de7ce8f1
UD
34442011-05-22 Ulrich Drepper <drepper@gmail.com>
3445
f2962a71
UD
3446 [BZ #12671]
3447 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
3448 some situations.
3449 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3450 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
3451 add in in __libc_use_alloca calls. Adjust callers.
3452 (glob): Use malloc in some situations.
3453
de7ce8f1
UD
3454 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
3455 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
3456 pltexit.
3457
aec84f53
UD
34582011-05-21 Ulrich Drepper <drepper@gmail.com>
3459
05bb4a68
UD
3460 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
3461 and CLOCK_BOOTTIME_ALARM.
3462
7ea72f99
UD
3463 [BZ #12782]
3464 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
3465 is returned.
3466
7e4afad5
UD
3467 * string/_strerror.c (__strerror_r): Print negative errors as signed
3468 numbers.
3469
8e211fec
UD
3470 [BZ #12777]
3471 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
3472 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
3473 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
3474
f7d82dc9
UD
3475 * configure.in: Fix typo in redirection and correct removal of test
3476 files in two cases.
3477
cc9e536d
UD
3478 [BZ #12788]
3479 * locale/setlocale.c (new_composite_name): Fix test to check for
3480 identical name of all categories.
3481
aec84f53
UD
3482 [BZ #12792]
3483 * libio/filedoalloc.c (local_isatty): New function.
3484 (_IO_file_doallocate): Use local_isatty.
3485 * stdio-common/perror.c (perror): In case a new stream is used
3486 forward the stream error.
3487 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
3488 error flag.
3489
78e64fdc
RT
34902011-05-20 Ulrich Drepper <drepper@gmail.com>
3491
34a9094f
UD
3492 [BZ #11869]
3493 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
3494 alloca.
3495 * include/alloca.h (extend_alloca_account): Define.
3496
78e64fdc
RT
3497 [BZ #11857]
3498 * posix/regex.h: Fix comments with documentation of user-accessible
3499 fields after compilation and describe correct free'ing of pattern
3500 after re_compile_pattern.
3501 Patch by Reuben Thomas <rrt@sc3d.org>.
3502
457bddfc
RA
35032011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
3504
3505 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
3506 and -mno-altivec to prevent the compiler from using Altivec and/or
3507 VSX instructions when the corresponding registers are not available.
3508
a4527b51
AS
35092011-05-19 Andreas Schwab <schwab@redhat.com>
3510
3511 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
3512
ed690b2f
UD
35132011-05-19 Ulrich Drepper <drepper@gmail.com>
3514
3515 * libio/freopen.c (freopen): Use __dup2, not dup2.
3516 * libio/freopen64.c (freopen64): Likewise.
3517
8db73634
L
35182011-05-17 H.J. Lu <hongjiu.lu@intel.com>
3519
3520 [BZ #12775]
3521 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
3522 * math/Makefile (tests): Add test-powl.
3523 (CFLAGS-test-powl.c): Define.
3524 * math/test-powl.c: New file.
3525
0a197a9d
L
35262011-05-16 H.J. Lu <hongjiu.lu@intel.com>
3527
3528 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
3529
ee30c380
UD
35302011-05-17 Ulrich Drepper <drepper@gmail.com>
3531
3532 [BZ #11837]
3533 * iconvdata/gb18030.c: Update to GB18020-2005.
3534
6ce75379
UD
35352011-05-16 Ulrich Drepper <drepper@gmail.com>
3536
a4b89fd8
AR
3537 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
3538 RE_SYNTAX_POSIX_AWK): Update to match recent development.
3539 Patch by Aharon Robbins <arnold@skeeve.com>.
3540
ea389b12
UD
3541 [BZ #11892]
3542 * stdlib/putenv.c (putenv): Don't always create copy of the variable
3543 on the stack.
3544
68a3f91f
UD
3545 [BZ #11895]
3546 * misc/pselect.c (__pselect): Handle timeout value errors hidden
3547 through underflows.
3548
15cc7dd1
UD
3549 [BZ #12766]
3550 * misc/error.c (error_at_line): Ensure file_name and old_file_name
3551 point to strings before performing equality test for error_one_per_line
3552 mode.
3553
f3799213
UD
3554 [BZ #11697]
3555 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
3556
d79a9c94
UD
3557 [BZ #11820]
3558 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
3559 (struct user_fpregs_struct): Avoid __uint*_t types.
3560
56e5eb46
UD
3561 [BZ #6420]
3562 * malloc/mtrace.c (tr_where): Add additional parameter to point to
3563 symbol info. Use it instead of calling _dl_addr locally.
3564 (lock_and_info): New function.
3565 (tr_freehook): Call lock_and_info and pass symbol info as additional
3566 parameter to tr_where.
3567 (tr_mallochook): Likewise.
3568 (tr_reallochook): Likewise.
3569 (tr_memalignhook): Likewise.
3570
6ce75379
UD
3571 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
3572 used and couldn't be at all thread-safe.
3573
f8a3b5bf
UD
35742011-05-15 Ulrich Drepper <drepper@gmail.com>
3575
94b7cc37
UD
3576 * libio/freopen.c (freopen): Don't close old file descriptor
3577 before the new one is opened. Instead dup the new file descriptor
3578 to the old one after the new stream is created.
3579 * libio/freopen64.c (freopen64): Likewise.
3580 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
3581 * libio/fileops.c (_IO_new_file_close_it): Handle new
3582 _IO_FLAGS2_NOCLOSE flag.
3583 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
3584 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
3585 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
3586 _IO_FLAGS2_NOCLOSE flag.
3587 * include/unistd.h: Add hidden_proto for dup3.
3588 Define __have_dup3.
3589 * io/dup3.c: Define hidden symbol.
3590 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
3591
bd25564e
UD
3592 [BZ #7101]
3593 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
3594 when an incomplete long option is used.
3595 * posix/tst-getopt_long1.c: New file.
3596 * posix/Makefile (tests): Add tst-getopt_long1.
3597
c84cfef4
UD
3598 [BZ #10138]
3599 * scripts/config.guess: Update from autoconf-2.68.
3600 * scripts/config.sub: Likewise.
3601
3b85df27
UD
3602 [BZ #10157]
3603 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
3604 tests into ...
3605 (has_cpuclock): ...this. New function.
3606 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
3607 macro here based on has_cpuclock code.
3608
15a856b1
UD
3609 [BZ #10149]
3610 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3611 First byte (not low byte) is now always NUL.
3612 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
3613
05f399e6
UD
3614 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3615 Use non-cancelable interfaces.
3616
10a52685 3617 [BZ #9809]
94ecc67d
UD
3618 * locale/iso-639.def: Add entry for Sorani.
3619
f8a3b5bf
UD
3620 [BZ #11901]
3621 * include/stdlib.h: Move include protection to the right place.
3622 Define abort_msg_s. Declare __abort_msg with it.
3623 * stdlib/abort.c (__abort_msg): Adjust type.
3624 * assert/assert.c (__assert_fail_base): New function. Majority
3625 of code from __assert_fail. Allocate memory for __abort_msg with
3626 mmap.
3627 (__assert_fail): Now call __assert_fail_base.
3628 * assert/assert-perr.c: Remove bulk of implementation. Use
3629 __assert_fail_base.
3630 * include/assert.hL Declare __assert_fail_base.
3631 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
3632 mmap.
3633 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
3634
1af4e298
UD
36352011-05-14 Ulrich Drepper <drepper@gmail.com>
3636
f8a3b5bf 3637 [BZ #11952]
d26dfc60
MG
3638 [BZ #12453]
3639 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
3640 until all modules are registered in the DTV.
3641 * elf/Makefile: Add rules to build and run tst-tls19.
3642 * elf/tst-tls19.c: New file.
3643 * elf/tst-tls19mod1.c: New file.
3644 * elf/tst-tls19mod2.c: New file.
3645 * elf/tst-tls19mod3.c: New file.
3646 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
3647
2fc54d6f
UD
3648 [BZ #12083]
3649 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
3650 correctly.
3651
98d76b46
UD
3652 [BZ #12601]
3653 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
3654 two-byte sequence errors.
3655 * iconvdata/Makefile (tests): Add bug-iconv8.
3656 * iconvdata/bug-iconv8.c: New file.
3657
da3c19ef
UD
3658 [BZ #12626]
3659 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
3660 buf2 definition.
3661
ca408c15
UD
3662 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
3663
d6f67f7d
UD
3664 [BZ #12432]
3665 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
3666 (dummy_getcfa): New function.
3667 (init): Get _Unwind_GetCFA address, use dummy if not found.
3668 (backtrace_helper): In recursion check, also check whether CFA changes.
3669 (__backtrace): Completely initialize arg.
3670
1af4e298 3671 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
3672 storing incomplete byte sequence in state object. Avoid testing for
3673 guaranteed too small input if we know there is enough data available.
1af4e298 3674
da62f81b
AS
36752011-05-11 Andreas Schwab <schwab@redhat.com>
3676
3677 * Makeconfig (+link-pie): Indent.
3678 * Rules (binaries-pie): Define if $(have-fpie) and
3679 $(build-shared).
3680 (binaries-shared): Also filter out $(binaries-pie).
3681 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
3682 * nscd/Makefile (others-pie): Add nscd.
3683 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
3684 ($(objpfx)nscd): Remove command override.
3685 * login/Makefile (others-pie): Add pt_chown.
3686 ($(objpfx)pt_chown): Remove command override.
3687 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
3688 remove command overrides.
3689
fcabc0f8
UD
36902011-05-13 Ulrich Drepper <drepper@gmail.com>
3691
20030ae6
UD
3692 * libio/tst_putwc.c: Fix error messages.
3693
fcabc0f8
UD
3694 [BZ #12724]
3695 * libio/fileops.c (_IO_new_file_close_it): Always flush when
3696 currently writing and seek to current position when not.
3697 * libio/Makefile (tests): Add bug-fclose1.
3698 * libio/bug-fclose1.c: New file.
3699
320a5dc0
PB
37002011-05-12 Ulrich Drepper <drepper@gmail.com>
3701
3702 [BZ #12511]
3703 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
3704 don't set DF_1_NODELETE here.
3705 (do_lookup_x): When entering new entry test for copy relocation
3706 and if necessary set DF_1_NODELETE flag.
3707 * elf/tst-unique4.cc: New file.
3708 * elf/tst-unique4.h: New file.
3709 * elf/tst-unique4lib.cc: New file.
3710 * elf/Makefile: Add rules to build and run tst-unique4.
3711 Patch by Piotr Bury <pbury@goahead.com>.
3712
22836f52
UD
37132011-05-11 Ulrich Drepper <drepper@gmail.com>
3714
f574184a
UD
3715 [BZ #12052]
3716 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
3717
e1fb097f
UD
3718 [BZ #12625]
3719 * misc/mntent_r.c (addmntent): Flush the stream after the output
3720
22836f52
UD
3721 [BZ #12393]
3722 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
3723 (is_trusted_path_normalize): Skip initial colon. Append slash
3724 to empty buffer. Duplicate is_trusted_path code but allow
3725 constructed patch to be prefix.
3726 (is_dst): Allow $ORIGIN followed by /.
3727 (_dl_dst_substitute): Correct clearing of check_for_trusted.
3728 Correct testing of result of is_trusted_path_normalize
3729 (decompose_rpath): Fix warning.
3730
7b3b0b2a
UD
37312011-05-10 Ulrich Drepper <drepper@gmail.com>
3732
3733 [BZ #11257]
3734 * grp/initgroups.c (internal_getgrouplist): When we found the service
3735 list through the initgroups entry in nsswitch.conf do not always
3736 continue on a successful lookup. Don't always use the
eac80ce2 3737 __nss_group_database value if it is set.
7b3b0b2a
UD
3738 * nss/nsswitch.conf (initgroups): Change action for successful db
3739 lookup to continue for compatibility.
3740
2a81eaa5
UD
37412011-05-09 Ulrich Drepper <drepper@gmail.com>
3742
be97a69e
UD
3743 [BZ #11532]
3744 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
3745 and CP774 modules.
3746 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
3747 and CP774 modules.
3748 * iconvdata/tst-tables.sh: Likewise.
3749 * iconvdata/cp770.c: New file.
3750 * iconvdata/cp771.c: New file.
3751 * iconvdata/cp772.c: New file.
3752 * iconvdata/cp773.c: New file.
3753 * iconvdata/cp774.c: New file.
3754 * iconvdata/testdata/CP770: New file.
3755 * iconvdata/testdata/CP770..UTF8: New file.
3756 * iconvdata/testdata/CP771: New file.
3757 * iconvdata/testdata/CP771..UTF8: New file.
3758 * iconvdata/testdata/CP772: New file.
3759 * iconvdata/testdata/CP772..UTF8: New file.
3760 * iconvdata/testdata/CP773: New file.
3761 * iconvdata/testdata/CP773..UTF8: New file.
3762 * iconvdata/testdata/CP774: New file.
3763 * iconvdata/testdata/CP774..UTF8: New file.
3764
3765 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
3766 END CHARMAP line.
3767 * iconvdata/gen-8bit-gap.sh: Likewise.
3768 * iconvdata/gen-8bit.sh: Likewise.
3769
c1e9e399
UD
3770 * locale/iso-639.def: Add ary entry.
3771
24c55fb3 3772 [BZ #11258]
96b4b1b0
UD
3773 * locale/C-translit.h.in: Add U20A1 transliteration.
3774
bdc2f971
KB
3775 [BZ #12178]
3776 * locale/iso-639.def: Add wae entry.
3777 Patch by Kevin Bortis <bortis@translate-wae.ch>.
3778
2952b117
UD
3779 [BZ #12545]
3780 * locale/programs/localedef.c (construct_output_path): Use ssize_t
3781 for n.
3782
2a81eaa5
UD
3783 [BZ #12711]
3784 * locale/C-translit.h.in: Add entry for U20B9.
3785 Patch by pravin.d.s@gmail.com.
3786
28377d1b
UD
37872011-05-08 Ulrich Drepper <drepper@gmail.com>
3788
7fb90fb8
UD
3789 [BZ #12713]
3790 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
3791 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
3792 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
3793 in rtld. Use *stat64.
7fb90fb8 3794 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 3795 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 3796 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
3797 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
3798 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
3799 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
3800 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
3801 __fstatat64 macros.
7fb90fb8
UD
3802 * include/dirent.h: Add libc_hidden_proto for rewinddir.
3803 * dirent/rewinddir.c: Add libc_hidden_def.
3804 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 3805 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 3806
28377d1b
UD
3807 * include/dirent.h (__alloc_dir): Add flags parameter.
3808 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
3809 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
3810 __alloc_dir.
3811 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
3812 from fdopendir if O_CLOEXEC is already set.
3813
66bdbaa4
AM
38142011-03-15 Alan Modra <amodra@gmail.com>
3815
3816 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
3817 l_tls_firstbyte_offset non-zero. Save padding offset in
3818 l_tls_firstbyte_offset for later use.
3819 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
3820 freeing static tls block.
3821
95721191
JN
38222011-03-05 Jonathan Nieder <jrnieder@gmail.com>
3823
3824 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
3825 where #ifdef was intended. The intent is to prevent ARG_MAX from
3826 being defined by the kernel headers.
3827
f87dfb1f
UD
38282011-05-07 Ulrich Drepper <drepper@gmail.com>
3829
3830 [BZ #12734]
3831 * resolv/resolv.h: Define RES_NOTLDQUERY.
3832 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
3833 no-tld-query and set RES_NOTLDQUERY.
3834 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
3835 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
3836 modern BIND to search name as TLD unless forbidden.
3837
47c3cd7a
UD
38382011-05-07 Petr Baudis <pasky@suse.cz>
3839 Ulrich Drepper <drepper@gmail.com>
3840
3841 [BZ #12393]
3842 * elf/dl-load.c (fillin_rpath): Move trusted path check...
3843 (is_trusted_path): ...to here.
c1e9ea35 3844 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 3845 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 3846 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 3847
8a35c912
PP
38482011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3849
3850 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
3851 __BEGIN/__END_DECLS.
3852
acd41f47
UD
38532011-05-06 Ulrich Drepper <drepper@gmail.com>
3854
3855 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
3856 NSS_STATUS_NOTFOUND if no record was found.
3857
597df647
AS
38582011-05-05 Andreas Schwab <schwab@redhat.com>
3859
3860 * sunrpc/Makefile (headers): Add rpc/netdb.h.
3861 (headers-not-in-tirpc): Remove rpc/netdb.h
3862 * resolv/netdb.h: Revert last change.
3863
b9af1301
PP
38642011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3865
3866 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
3867 circular dependency between libgcc.a and libc.a.
3868
4e34d5f5
AS
38692011-05-05 Andreas Schwab <schwab@redhat.com>
3870
3871 * resolv/netdb.h: Don't include <rpc/netdb.h>.
3872 * nis/Makefile: Don't install rpcsvc/*.
3873 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
3874 instead of <rpc/types.h>.
3875 (MAXHOSTNAMELEN): Define.
3876
00ee369c
AS
38772011-05-03 Andreas Schwab <schwab@redhat.com>
3878
3879 * elf/ldconfig.c (add_dir): Don't crash on empty path.
3880
0b592a30
MB
38812011-04-28 Maciej Babinski <mbabinski@google.com>
3882
3883 [BZ #12714]
3884 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
3885 gethostbyname4_r when IPv6 results are possible.
3886
6e04cbbe
UD
38872011-05-02 Ulrich Drepper <drepper@gmail.com>
3888
3889 [BZ #12723]
3890 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
3891 _PC_PIPE_BUF handling.
3892
e4ecafe0
BH
38932011-04-30 Bruno Haible <bruno@clisp.org>
3894
3895 [BZ #12717]
3896 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
3897 * resolv/netdb.h (getnameinfo): Change type of flags parameter
3898 to 'int'.
3899 * inet/getnameinfo.c (getnameinfo): Likewise.
3900
125ee683
UD
39012011-04-29 Ulrich Drepper <drepper@gmail.com>
3902
3903 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
3904 to groups setting in database lookup.
3905 * nss/nsswitch.conf: Add initgroups entry.
3906
b722481a
EB
39072011-04-22 Ulrich Drepper <drepper@gmail.com>
3908
3909 [BZ #12685]
3910 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
3911 mode string.
3912 Patch by Eric Blake <eblake@redhat.com>.
3913
4df46dbd
L
39142011-04-20 H.J. Lu <hongjiu.lu@intel.com>
3915
3916 * sunrpc/Makefile (need-export-routines): Add svc_run.
3917 (routines): Remove svc_run.
3918 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
3919 * sunrpc/clnt_perr.c (clnt_perrno): Export.
3920 * sunrpc/svc_run.c (svc_run): Likewise.
3921 * sunrpc/svc_udp.c (svcudp_create): Likewise.
3922
e84142d2
UD
39232011-04-21 Ulrich Drepper <drepper@gmail.com>
3924
3925 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
3926 problem in reallocation in last patch.
3927
877175d8
UD
39282011-04-20 Ulrich Drepper <drepper@gmail.com>
3929
3930 * sunrpc/Makefile: Move inclusion of Rules.
3931
ab8eed78
UD
39322011-04-19 Ulrich Drepper <drepper@gmail.com>
3933
3934 * nss/nss_files/files-initgroups.c: New file.
3935 * nss/Makefile (libnss_files-routines): Add files-initgroups.
3936 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
3937 _nss_files_initgroups_dyn.
3938
e3d8f584
RS
39392011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
3940
3941 * elf/elf.h (R_ARM_IRELATIVE): Define.
3942
af190f45
UD
39432011-04-19 Ulrich Drepper <drepper@gmail.com>
3944
3945 * po/ru.po: Update from translation team.
3946
53cf59ef
UD
39472011-04-17 Ulrich Drepper <drepper@gmail.com>
3948
3949 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
3950 dependencies.
3951
4c559bcd
MF
39522011-02-06 Mike Frysinger <vapier@gentoo.org>
3953
3954 [BZ #12653]
3955 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
3956 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
3957 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3958 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3959 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3960
4420675c
AS
39612011-03-28 Andreas Schwab <schwab@linux-m68k.org>
3962
3963 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
3964 differing bytes.
3965 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3966 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3967 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3968
75ea32ab
UD
39692011-04-17 Ulrich Drepper <drepper@gmail.com>
3970
3971 [BZ #12420]
3972 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
3973 storing it.
3974 * stdlib/bug-getcontext.c: New file.
3975 * stdlib/Makefile: Add rules to build and run bug-getcontext.
3976
27390476
AK
39772011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3978
3979 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
3980 instructions into .machine "z9-109".
3981 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
3982 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
3983
10442705
AK
39842011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3985
3986 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
3987 between environment variables and auxiliary vector.
3988
7b57bfe5
UD
39892011-04-16 Ulrich Drepper <drepper@gmail.com>
3990
3991 * Makefile: Add rules to build linkobj/libc.so.
3992 * include/libc-symbols.h: Define libc_hidden_nolink.
3993 * include/rpc/auth.h: Mark functions which are to be hidden.
3994 * include/rpc/auth_des.h: Likewise.
3995 * include/rpc/auth_unix.h: Likewise.
3996 * include/rpc/clnt.h: Likewise.
3997 * include/rpc/des_crypt.h: Likewise.
3998 * include/rpc/key_prot.h: Likewise.
3999 * include/rpc/pmap_clnt.h: Likewise.
4000 * include/rpc/pmap_prot.h: Likewise.
4001 * include/rpc/pmap_rmt.h: Likewise.
4002 * include/rpc/rpc_msg.h: Likewise.
4003 * include/rpc/svc.h: Likewise.
4004 * include/rpc/svc_auth.h: Likewise.
4005 * include/rpc/xdr.h: Likewise.
4006 * nis/Makefile: Link all DSOs against linkobj/libc.so.
4007 * nss/Makefile: Likewise.
4008 * sunrpc/Makefile: Don't install headers. Build library with normal
4009 entry points. Don't build rpcinfo. Link RPC tests appropriately.
4010 * sunrpc/auth_des.c: Hide exported symbols by default, export some
4011 for the compat linking library. Remove use of INTDEF/INTUSE.
4012 * sunrpc/auth_none.c: Likewise.
4013 * sunrpc/auth_unix.c: Likewise.
4014 * sunrpc/authdes_prot.c: Likewise.
4015 * sunrpc/authuxprot.c: Likewise.
4016 * sunrpc/clnt_gen.c: Likewise.
4017 * sunrpc/clnt_perr.c: Likewise.
4018 * sunrpc/clnt_raw.c: Likewise.
4019 * sunrpc/clnt_simp.c: Likewise.
4020 * sunrpc/clnt_tcp.c: Likewise.
4021 * sunrpc/clnt_udp.c: Likewise.
4022 * sunrpc/clnt_unix.c: Likewise.
4023 * sunrpc/des_crypt.c: Likewise.
4024 * sunrpc/des_soft.c: Likewise.
4025 * sunrpc/get_myaddr.c: Likewise.
4026 * sunrpc/key_call.c: Likewise.
4027 * sunrpc/key_prot.c: Likewise.
4028 * sunrpc/netname.c: Likewise.
4029 * sunrpc/pm_getmaps.c: Likewise.
4030 * sunrpc/pm_getport.c: Likewise.
4031 * sunrpc/pmap_clnt.c: Likewise.
4032 * sunrpc/pmap_prot.c: Likewise.
4033 * sunrpc/pmap_prot2.c: Likewise.
4034 * sunrpc/pmap_rmt.c: Likewise.
4035 * sunrpc/publickey.c: Likewise.
4036 * sunrpc/rpc_cmsg.c: Likewise.
4037 * sunrpc/rpc_common.c: Likewise.
4038 * sunrpc/rpc_dtable.c: Likewise.
4039 * sunrpc/rpc_prot.c: Likewise.
4040 * sunrpc/rpc_thread.c: Likewise.
4041 * sunrpc/rtime.c: Likewise.
4042 * sunrpc/svc.c: Likewise.
4043 * sunrpc/svc_auth.c: Likewise.
4044 * sunrpc/svc_authux.c: Likewise.
4045 * sunrpc/svc_raw.c: Likewise.
4046 * sunrpc/svc_run.c: Likewise.
4047 * sunrpc/svc_simple.c: Likewise.
4048 * sunrpc/svc_tcp.c: Likewise.
4049 * sunrpc/svc_udp.c: Likewise.
4050 * sunrpc/svc_unix.c: Likewise.
4051 * sunrpc/svcauth_des.c: Likewise.
4052 * sunrpc/xcrypt.c: Likewise.
4053 * sunrpc/xdr.c: Likewise.
4054 * sunrpc/xdr_array.c: Likewise.
4055 * sunrpc/xdr_float.c: Likewise.
4056 * sunrpc/xdr_intXX_t.c: Likewise.
4057 * sunrpc/xdr_mem.c: Likewise.
4058 * sunrpc/xdr_rec.c: Likewise.
4059 * sunrpc/xdr_ref.c: Likewise.
4060 * sunrpc/xdr_sizeof.c: Likewise.
4061 * sunrpc/xdr_stdio.c: Likewise.
4062
e6c61494
UD
40632011-04-10 Ulrich Drepper <drepper@gmail.com>
4064
4065 [BZ #12650]
4066 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
4067 * sysdeps/ia64/dl-tls.h: Likewise.
4068 * sysdeps/powerpc/dl-tls.h: Likewise.
4069 * sysdeps/s390/dl-tls.h: Likewise.
4070 * sysdeps/sh/dl-tls.h: Likewise.
4071 * sysdeps/sparc/dl-tls.h: Likewise.
4072 * sysdeps/x86_64/dl-tls.h: Likewise.
4073 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
4074
34fe483e
AS
40752011-03-14 Andreas Schwab <schwab@redhat.com>
4076
4077 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
4078 rpath element also skip the following colon.
4079 (expand_dynamic_string_token): Add is_path parameter and pass
4080 down to DL_DST_REQUIRED and _dl_dst_substitute.
4081 (decompose_rpath): Call expand_dynamic_string_token with
4082 non-zero is_path. Ignore empty rpaths.
4083 (_dl_map_object_from_fd): Call expand_dynamic_string_token
4084 with zero is_path.
4085
f12a32e6
AS
40862011-04-08 Andreas Schwab <schwab@linux-m68k.org>
4087
4088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
4089 Make cancelable.
4090
38a7d692
UD
40912011-04-09 Ulrich Drepper <drepper@gmail.com>
4092
4093 [BZ #12655]
4094 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
4095 Patch by Filipe David Manana <fdmanana@apache.org>.
4096
e451d22b
AS
40972011-04-07 Andreas Schwab <schwab@redhat.com>
4098
4099 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
4100 Maintain aligned stack.
4101 (CHECK_RSP): Remove unused macro.
4102
dedc7c7b
UD
41032011-04-03 Ulrich Drepper <drepper@gmail.com>
4104
4105 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
4106 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
4107
94521213
UD
41082011-04-02 Ulrich Drepper <drepper@gmail.com>
4109
4110 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
4111
8cb700c0 4112 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 4113
0354e355
L
41142011-03-26 H.J. Lu <hongjiu.lu@intel.com>
4115
4116 [BZ #12518]
4117 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
4118 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
4119 * sysdeps/x86_64/memmove.c: New file.
4120 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
4121 (memcpy): Renamed to ...
4122 (__new_memcpy): This.
4123 (memcpy): Provide GLIBC_2_14 memcpy.
4124 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
4125 (memcpy): Provide GLIBC_2_2_5 memcpy.
4126
8593482f
UD
41272011-04-01 Ulrich Drepper <drepper@gmail.com>
4128
4129 [BZ #12631]
4130 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
4131
81a5726b
AS
41322011-03-30 Andreas Schwab <schwab@redhat.com>
4133
4134 * misc/syncfs.c: New file.
4135 * misc/Makefile (routines): Add syncfs.
4136 * posix/unistd.h: Declare syncfs.
4137 * sysdeps/unix/syscalls.list: Add syncfs.
4138
00e5419f
AS
41392011-04-01 Andreas Schwab <schwab@redhat.com>
4140
4141 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
4142 open_by_handle_at.
4143 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
4144 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
4145 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4146 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
4147 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4148 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4149 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
4150
748876bf
UD
41512011-04-01 Ulrich Drepper <drepper@gmail.com>
4152
658e451d
UD
4153 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
4154 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
4155 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
4156 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4157 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
4158 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4159 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
4160
748876bf
UD
4161 * io/Makefile: Compile fallocate.c, fallocate64.c, and
4162 sync_file_range.c with -fexceptions.
4163 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
4164 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
4165 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
4166 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
4167 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
4168 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
4169 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
4170 sync_file_range as cancellation point
4171 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
4172 now a wrapper around __call_sync_file_range with cancellation handling.
4173 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
4174 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
4175 function name to __call_sync_file_range.
4176 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
4177 Add call_sync_file_range.
748876bf 4178
6e63d5e1
AS
41792011-04-01 Andreas Schwab <schwab@redhat.com>
4180
4181 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 4182 bits/timex.h.
6e63d5e1 4183
46998f74
UD
41842011-04-01 Ulrich Drepper <drepper@gmail.com>
4185
4c1423ed
UD
4186 * iconv/iconv.h: Fix typo in comment.
4187 * io/fcntl.h: Likewise.
4188 * libio/stdio.h: Likewise.
4189 * posix/spawn.h: Likewise.
4190 * posix/unistd.h: Likewise.
4191 * stdlib/stdlib.h: Likewise.
4192 * time/time.h: Likewise.
4193 * wcsmbs/wchar.h: Likewise.
4194
158648c0
UD
4195 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
4196 open_by_handle): Add.
4197 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
4198 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
4199 Augment a few comments.
4200 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
4201 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4202 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
4203 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4204 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
4205 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
4206 open_by_handle.
4207
46998f74
UD
4208 * io/fcntl.h (AT_EMPTY_PATH): Define.
4209
83fe108b
UD
42102011-03-30 Ulrich Drepper <drepper@gmail.com>
4211
4212 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
4213 * sysdeps/unix/sysv/linux/bits/time.h: New file.
4214 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
4215 to...
4216 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
4217 * Versions.def: Add GLIBC_2.14.
4218 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
4219 Export.
83fe108b 4220
bb242059
UD
42212011-03-22 Ulrich Drepper <drepper@gmail.com>
4222
4223 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
4224 round counter.
4225 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
4226
c97a1282
L
42272011-03-20 H.J. Lu <hongjiu.lu@intel.com>
4228
4229 [BZ #12597]
4230 * string/test-strncmp.c (do_page_test): New function.
4231 (check2): Likewise.
4232 (test_main): Call check2.
4233 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
4234
2a115601
UD
42352011-03-20 Ulrich Drepper <drepper@gmail.com>
4236
4237 [BZ #12587]
4238 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
4239 Handle cache information in CPU leaf 4.
4240 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
4241
8126d904
UD
42422011-03-18 Ulrich Drepper <drepper@gmail.com>
4243
042c49c6 4244 [BZ #12583]
8126d904
UD
4245 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
4246 character representation.
4247 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
4248
ccfe366e
RA
42492011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
4250
4251 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
4252 END(__isnan) to END(__isnanf) to match function entry point/label
4253 EALIGN(__isnanf,...).
4254
c6e13027
JJ
42552011-03-10 Jakub Jelinek <jakub@redhat.com>
4256
4257 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
4258
33f85a3f
UD
42592011-03-10 Ulrich Drepper <drepper@gmail.com>
4260
028478fa
UD
4261 [BZ #12510]
4262 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
4263 copy from the symbol referenced in the relocation to initialize the
4264 used variable.
4265 Patch by Piotr Bury <pbury@goahead.com>.
4266 * elf/Makefile: Add rules to build and tst-unique3.
4267 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
4268 * elf/tst-unique3.cc: New file.
4269 * elf/tst-unique3.h: New file.
4270 * elf/tst-unique3lib.cc: New file.
4271 * elf/tst-unique3lib2.cc: New file.
4272
33f85a3f
UD
4273 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
4274
03592fc7
MF
42752011-03-10 Mike Frysinger <vapier@gentoo.org>
4276
4277 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
4278 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
4279 to _start.
03592fc7 4280
6a5ee102
UD
42812011-03-06 Ulrich Drepper <drepper@gmail.com>
4282
4283 * elf/dl-load.c (_dl_map_object): If we are looking for the first
4284 to-be-loaded object along a path to loader is ld.so.
4285
7e4ba49c
HJ
42862011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
4287 Ulrich Drepper <drepper@gmail.com>
4288
4289 * sysdeps/x86_64/memset.S: After aligning destination, code
4290 branches to different locations depending on the value of
4291 misalignment, when multiarch is enabled. Fix this.
4292
42932011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
4294
4295 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
4296 Set _x86_64_preferred_memory_instruction for AMD processsors.
4297 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4298 Set bit_Prefer_SSE_for_memop for AMD processors.
4299
13a804de
UD
43002011-03-04 Ulrich Drepper <drepper@gmail.com>
4301
4302 * libio/fmemopen.c (fmemopen): Optimize a bit.
4303
9d25c392
AS
43042011-03-03 Andreas Schwab <schwab@redhat.com>
4305
4306 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
4307
a5543c6a
RM
43082011-03-03 Roland McGrath <roland@redhat.com>
4309
4310 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
4311
012d35f7
DM
43122011-02-28 Aurelien Jarno <aurelien@aurel32.net>
4313
7e4ba49c 4314 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
4315 __bzero_ultra1 instead of __memset_ultra1.
4316
4bff6e01
AS
43172011-02-23 Andreas Schwab <schwab@redhat.com>
4318 Ulrich Drepper <drepper@gmail.com>
4319
4320 [BZ #12509]
4321 * include/link.h (struct link_map): Add l_orig_initfini.
4322 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
4323 returning unsuccessfully.
4324 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
4325 close of a file loaded at startup, restore the original l_initfini
4326 list.
4327 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
4328 list, store the pointer.
4329 * elf/Makefile ($(objpfx)noload-mem): New rule.
4330 (noload-ENV): Define.
4331 (tests): Add $(objpfx)noload-mem.
4332 * elf/noload.c: Include <memcheck.h>.
4333 (main): Call mtrace. Close all opened handles.
4334
f2092faf
AS
43352011-02-17 Andreas Schwab <schwab@redhat.com>
4336
4337 [BZ #12454]
4338 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
4339 dependencies are missing.
4340
6c8a2e88
ST
43412011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
4342
f2092faf 4343 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
4344 Hurd needs munmap.
4345 * sysdeps/mach/hurd/ifreq.h: New file.
4346
84a42118
PB
43472011-01-27 Petr Baudis <pasky@suse.cz>
4348 Ulrich Drepper <drepper@gmail.com>
4349
071f805e 4350 [BZ 12445]#
84a42118
PB
4351 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
4352 to extend_alloca().
4353 * stdio-common/bug23.c: New file.
4354 * stdio-common/Makefile (tests): Add bug23.
4355
e23fe25b
AS
43562010-09-28 Andreas Schwab <schwab@redhat.com>
4357 Ulrich Drepper <drepper@gmail.com>
4358
4359 [BZ #12489]
4360 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
4361 before performing relro protection. At old place add assertion
4362 to make sure nothing changed.
4363
d3f02e10
NS
43642011-02-17 Nathan Sidwell <nathan@codesourcery.com>
4365 Glauber de Oliveira Costa <glommer@gmail.com>
4366
4367 * elf/elf.h: Add new ARM TLS relocs.
4368
d55fd7a5
RA
43692011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
4370
4371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4372 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
4373 cast from r3.
4374 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
4375 'tests' variable.
4376 * sysdeps/wordsize-64/tst-writev.c: New file.
4377
2206397e
RA
43782011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
4379
4380 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
4381 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
4382 insns in _dl_start to prevent a TOC reference before relocs are
4383 resolved.
4384
e9433893
UD
43852011-02-15 Ulrich Drepper <drepper@gmail.com>
4386
4387 [BZ #12469]
4388 * Makeconfig: Remove RANLIB definition.
4389 * Makerules: Don't use RANLIB.
4390 * aclocal.m4: Remove ranlib test.
4391 * configure.in: No need to check for ranlib.
4392 * elf/rtld-Rules: Don't use RANLIB.
4393
f75286c6
ST
43942011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4395
8e31c82d
ST
4396 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
4397 protection macro.
4398 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
4399 inclusion protection macro.
4400
f75286c6
ST
4401 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
4402 SIGRTMIN and SIGRTMAX and print information in that case only when
4403 SIGRTMIN is defined.
4404
c1d0e639
JJ
44052011-02-11 Jakub Jelinek <jakub@redhat.com>
4406
4407 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
4408 arginfo fn returning -1.
4409
4410 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
4411 and thousands string is zero terminated.
4412
edf9294e
AS
44132011-02-03 Andreas Schwab <schwab@redhat.com>
4414
4415 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
4416 sysdeps/unix/sysv/linux/bits/socket.h.
4417
2b7e92df
ST
44182011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
4419
edf9294e
AS
4420 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
4421 (__CPU_COUNT): Remove old macros.
4422 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
4423 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
4424 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
4425 (__sched_cpualloc, __sched_cpufree): Add declarations.
4426
a4c7ea7b
UD
44272011-02-05 Ulrich Drepper <drepper@gmail.com>
4428
4429 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
4430 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
4431 * nscd/aicache.c (addhstaiX): Return timeout of added value.
4432 (readdhstai): Return value of addhstaiX call.
4433 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
4434 (addgrbyX): Return value returned by cache_addgr.
4435 (readdgrbyname): Return value returned by addgrbyX.
4436 (readdgrbygid): Likewise.
4437 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
4438 (addpwbyX): Return value returned by cache_addpw.
4439 (readdpwbyname): Return value returned by addhstbyX.
4440 (readdpwbyuid): Likewise.
4441 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
4442 (addservbyX): Return value returned by cache_addserv.
4443 (readdservbyname): Return value returned by addservbyX:
4444 (readdservbyport): Likewise.
4445 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
4446 (addhstbyX): Return value returned by cache_addhst.
4447 (readdhstbyname): Return value returned by addhstbyX.
4448 (readdhstbyaddr): Likewise.
4449 (readdhstbynamev6): Likewise.
4450 (readdhstbyaddrv6): Likewise.
4451 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
4452 (readdinitgroups): Return value returned by addinitgroupsX.
4453 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
4454 (prune_cache): Keep track of timeout value of re-added entries.
4455 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
4456 * nscd/nscd.h: Adjust prototypes of readd* functions.
4457
a0bf67cc
RM
44582011-02-04 Roland McGrath <roland@redhat.com>
4459
4460 * nis/nis_server.c (nis_servstate): Use the right name for 0.
4461 (nis_stats): Likewise.
4462 * nis/nis_modify.c (nis_modify): Likewise.
4463 * nis/nis_remove.c (nis_remove): Likewise.
4464 * nis/nis_add.c (nis_add): Likewise.
4465
4466 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
4467
4468 * posix/fnmatch_loop.c: Add some consts.
4469
4470 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
4471
435b95eb
L
44722011-02-02 H.J. Lu <hongjiu.lu@intel.com>
4473
4474 [BZ #12460]
4475 * config.make.in (config-cflags-novzeroupper): Define.
4476 * configure.in: Substitute libc_cv_cc_novzeroupper.
4477 * elf/Makefile (AVX-CFLAGS): Define.
4478 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
4479 (CFLAGS-tst-auditmod4a.c): Likewise.
4480 (CFLAGS-tst-auditmod4b.c): Likewise.
4481 (CFLAGS-tst-auditmod6b.c): Likewise.
4482 (CFLAGS-tst-auditmod6c.c): Likewise.
4483 (CFLAGS-tst-auditmod7b.c): Likewise.
4484 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
4485
8517b15e
UD
44862011-02-02 Ulrich Drepper <drepper@gmail.com>
4487
4488 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
4489 function to the callback.
4490 Patch partly by Jiri Olsa <jolsa@redhat.com>.
4491
10a656fe
AS
44922011-02-02 Andreas Schwab <schwab@redhat.com>
4493
4494 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
4495 of errno.
4496
968dad0a
UD
44972011-01-19 Ulrich Drepper <drepper@gmail.com>
4498
9f94d2ea 4499 [BZ #11724]
968dad0a
UD
4500 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
4501 of constructors.
4502 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
4503 of destructors.
4504 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
4505
4506 [BZ #11724]
4507 * elf/Makefile: Add rules to build and run new test.
4508 * elf/tst-initorder.c: New file.
4509 * elf/tst-initorder.exp: New file.
4510 * elf/tst-initordera1.c: New file.
4511 * elf/tst-initordera2.c: New file.
4512 * elf/tst-initordera3.c: New file.
4513 * elf/tst-initordera4.c: New file.
4514 * elf/tst-initorderb1.c: New file.
4515 * elf/tst-initorderb2.c: New file.
4516 * elf/tst-order-a1.c: New file.
4517 * elf/tst-order-a2.c: New file.
4518 * elf/tst-order-a3.c: New file.
4519 * elf/tst-order-a4.c: New file.
4520 * elf/tst-order-b1.c: New file.
4521 * elf/tst-order-b2.c: New file.
4522 * elf/tst-order-main.c: New file.
4523 New test case by George Gensure <werkt0@gmail.com>.
4524
86e92359
UD
45252010-10-01 Andreas Schwab <schwab@redhat.com>
4526
4527 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
4528 decoding ACE if AI_CANONIDN.
4529
5d5732b0
UD
45302011-01-18 Ulrich Drepper <drepper@gmail.com>
4531
4532 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
4533
a77e8cbc
UD
45342011-01-17 Ulrich Drepper <drepper@gmail.com>
4535
6392473f
UD
4536 * version.h (RELEASE): Bump for 2.13 release.
4537 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
4538
620a0529
UD
4539 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
4540
18ba70a5
UD
4541 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
4542 MADV_NOHUGEPAGE.
32465c3e
UD
4543 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
4544 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
4545 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4546 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
4547 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4548 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
4549
c0dafcf1
UD
4550 * posix/getconf.c: Update copyright year.
4551 * catgets/gencat.c: Likewise.
4552 * csu/version.c: Likewise.
4553 * debug/catchsegv.sh: Likewise.
4554 * debug/xtrace.sh: Likewise.
4555 * elf/ldconfig.c: Likewise.
4556 * elf/ldd.bash.in: Likewise.
4557 * elf/sprof.c (print_version): Likewise.
4558 * iconv/iconv_prog.c: Likewise.
4559 * iconv/iconvconfig.c: Likewise.
4560 * locale/programs/locale.c: Likewise.
4561 * locale/programs/localedef.c: Likewise.
4562 * malloc/memusage.sh: Likewise.
4563 * malloc/mtrace.pl: Likewise.
4564 * nscd/nscd.c (print_version): Likewise.
4565 * nss/getent.c: Likewise.
4566
a77e8cbc
UD
4567 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
4568 PF_CAIF, and PF_ALG.
4569 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4570
77e8bddf
AS
45712011-01-16 Andreas Schwab <schwab@linux-m68k.org>
4572
1f20b93a
AS
4573 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
4574 (modules-names): Use them.
4575 (ifunc-test-modules, ifunc-pie-tests): Define.
4576 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
4577 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
4578 (test-extras): Likewise.
4579 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
4580 $(compile-command.c).
4581 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
4582 (all-built-dso): Define.
4583 (check-textrel.out, check-execstack.out): Depend on it.
4584
77e8bddf
AS
4585 * configure.in: Don't override --enable-multi-arch.
4586
bc425b33
UD
45872011-01-15 Ulrich Drepper <drepper@gmail.com>
4588
4589 [BZ #6812]
4590 * nscd/hstcache.c (tryagain): Define.
4591 (cache_addhst): Return tryagain not notfound for temporary errors.
4592 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
4593 failed.
4594
794c3ad3
UD
45952011-01-14 Ulrich Drepper <drepper@gmail.com>
4596
70181fdd
UD
4597 [BZ #10563]
4598 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
4599 to make the syscall.
4600 * sysdeps/unix/sysv/linux/setgroups.c: New file.
4601
794c3ad3
UD
4602 [BZ #12378]
4603 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
4604 and fall back to matching as normal character if the string ends before
4605 the matching ']' is found. This is what POSIX requires.
4606 * posix/testfnm.c: Adjust test result.
4607 * posix/globtest.sh: Adjust test result. Add new test.
4608 * posix/tst-fnmatch.input: Likewise.
4609 * posix/tst-fnmatch2.c: Add new test.
4610
68dc9497
AS
46112010-12-28 Andreas Schwab <schwab@linux-m68k.org>
4612
4613 * elf/Makefile (check-execstack): Revert last change. Depend on
4614 check-execstack.h.
4615 (check-execstack.h): New target.
4616 (generated): Add check-execstack.h.
4617 * elf/check-execstack.c: Include "check-execstack.h".
4618 (main): Revert last change.
4619 (handle_file): Return zero if GNU_STACK is absent and
4620 DEFAULT_STACK_PERMS doesn't include PF_X.
4621
451f001b
UD
46222011-01-13 Ulrich Drepper <drepper@gmail.com>
4623
cfa28e56
UD
4624 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
4625 in child fails because the descriptor is already closed.
8cf8ce17
UD
4626 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
4627 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
4628 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 4629
1086d70d
UD
4630 [BZ #12397]
4631 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
4632 syscall.
4633
451f001b
UD
4634 [BZ #10484]
4635 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
4636 temporary buffer used to handle multi lookups locally.
a85b5cb4 4637 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 4638
08769175
UD
46392011-01-12 Ulrich Drepper <drepper@gmail.com>
4640
4641 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
4642 loader is ld.so.
4643
5e49c52e
UD
46442011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
4645
4646 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
4647 alignment for SSE2.
4648
60522a5f
UD
46492011-01-12 Ulrich Drepper <drepper@gmail.com>
4650
4651 [BZ #12394]
4652 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
4653 characters. When rounding increased number of integer digits recompute
4654 number of groups.
4655 * stdio-common/tst-grouping.c: New file.
4656 * stdio-common/Makefile: Add rules to build and run tst-grouping.
4657
f257bbd7
UD
46582011-01-09 Ulrich Drepper <drepper@gmail.com>
4659
4660 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
4661 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
4662
4663 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
4664 void.
4665 * bits/select.h: Likewise.
4666
fa9c15cb
UD
46672011-01-08 Ulrich Drepper <drepper@gmail.com>
4668
4669 * po/ja.po: Update from translation team.
4670
16c2895f
DM
46712011-01-04 David S. Miller <davem@sunset.davemloft.net>
4672
4673 [BZ #11155]
4674 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
4675 implementation just like for lxstat, fxstatat, et al.
4676
2543fef2
JM
46772010-12-27 Jim Meyering <meyering@redhat.com>
4678
4679 [BZ #12348]
4680 * posix/regexec.c (build_trtable): Return failure indication upon
4681 calloc failure. Otherwise, re_search_internal could infloop on OOM.
4682
98727dbe
UD
46832010-12-25 Ulrich Drepper <drepper@gmail.com>
4684
5bd6dc5c
UD
4685 [BZ #12201]
4686 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
4687 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
4688 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
4689 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
4690
97983464
UD
4691 [BZ #12207]
4692 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
4693
98727dbe
UD
4694 [BZ #12204]
4695 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
4696 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
4697
4a531bb0
L
46982010-12-15 H.J. Lu <hongjiu.lu@intel.com>
4699
4700 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
4701 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
4702 script has SORT_BY_INIT_PRIORITY.
4703 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
4704 NO_CTORS_DTORS_SECTIONS is defined.
4705 * elf/soinit.c: Likewise.
4706 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
4707 NO_CTORS_DTORS_SECTIONS is defined.
4708 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
4709 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
4710 * sysdeps/sh/init-first.c: Likewise.
4711 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
4712
07eb4b71
UD
47132010-12-24 Ulrich Drepper <drepper@gmail.com>
4714
4715 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
4716 always use the slow path.
4717
30950a5f
RA
47182010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
4719
4720 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
4721 similar rule which adds the sysdep directories to the header search in
4722 order to pick up the correct platform stackinfo.h.
4723 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
4724 perform test if it is, otherwise return successfully without testing.
4725 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
4726 DEFAULT_STACK_PERMS define in stackinfo.h.
4727 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
4728 defined in stackinfo.h.
4729 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
4730 DEFAULT_STACK_PERMS defined in stackinfo.h.
4731 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
4732 * sysdeps/ia64/stackinfo.h: Likewise.
4733 * sysdeps/s390/stackinfo.h: Likewise.
4734 * sysdeps/sh/stackinfo.h: Likewise.
4735 * sysdeps/sparc/stackinfo.h: Likewise.
4736 * sysdeps/x86_64/stackinfo.h: Likewise.
4737 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
4738 PF_X for powerpc64. Retain PF_X for powerpc32.
4739
db753e2c
UD
47402010-12-19 Ulrich Drepper <drepper@gmail.com>
4741
14b697f7
UD
4742 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
4743 accurately.
db753e2c
UD
4744 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
4745 GETDENTS_64BIT_ALIGNED.
4746
28300719
UD
47472010-12-14 Ulrich Drepper <dreper@gmail.com>
4748
14b697f7 4749 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 4750
4f197237
AS
47512010-12-10 Andreas Schwab <schwab@redhat.com>
4752
dbb0472f
AS
4753 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
4754 _GNU_SOURCE.
4755
4f197237
AS
4756 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
4757 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
4758 Remove __restrict.
4759 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
4760 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
4761
fb88ac72
UD
47622010-12-09 Ulrich Drepper <drepper@gmail.com>
4763
4764 [BZ #11655]
4765 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
4766 are initialized.
4767
42acbb92
JJ
47682010-12-09 Jakub Jelinek <jakub@redhat.com>
4769
4770 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
4771
c038d98d
UD
47722010-12-03 Ulrich Drepper <drepper@gmail.com>
4773
4774 * po/it.po: Update from translation team.
4775
3a4a2499
L
47762010-12-01 H.J. Lu <hongjiu.lu@intel.com>
4777
4778 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
4779 unused codes.
4780
1e24cf6e
UD
47812010-11-30 Ulrich Drepper <drepper@gmail.com>
4782
4783 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
4784
a7690819
AS
47852010-11-24 Andreas Schwab <schwab@redhat.com>
4786
4787 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
4788 specially.
4789 (gaih_getanswer_slice): Likewise.
4790
3bf8d1b1
JJ
47912010-10-20 Jakub Jelinek <jakub@redhat.com>
4792
4793 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
4794
6db52fbb
PB
47952010-05-31 Petr Baudis <pasky@suse.cz>
4796
4797 [BZ #11149]
4798 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
4799 silently even in the chroot mode.
4800
eaca7569
UD
48012010-11-22 Ulrich Drepper <drepper@gmail.com>
4802
4803 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
4804 last patch a bit. Pretty printing
4805
3056dcdb
UD
48062010-05-31 Petr Baudis <pasky@suse.cz>
4807
4808 [BZ #10085]
4809 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
4810 initialization of skip_initgroups_dyn.
4811
cf7c9078
UD
48122010-11-19 Ulrich Drepper <drepper@gmail.com>
4813
4814 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
4815 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
4816
a1fb5e3e
UD
48172010-11-16 Ulrich Drepper <drepper@gmail.com>
4818
4819 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
4820
3540d66b
AS
48212010-11-11 Andreas Schwab <schwab@redhat.com>
4822
4823 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
4824 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
4825 (tst-fnmatch-ENV): Set MALLOC_TRACE.
4826 ($(objpfx)tst-fnmatch-mem): New rule.
4827 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
4828 * posix/tst-fnmatch.c (main): Call mtrace.
4829
13b69574
L
48302010-11-11 H.J. Lu <hongjiu.lu@intel.com>
4831
4832 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4833 Support Intel processor model 6 and model 0x2c.
4834
da93d214
LM
48352010-11-10 Luis Machado <luisgpm@br.ibm.com>
4836
4837 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
4838 signed comparison.
4839
8ca52c6e
L
48402010-11-09 H.J. Lu <hongjiu.lu@intel.com>
4841
4842 [BZ #12205]
4843 * string/test-strncasecmp.c (check_result): New function.
4844 (do_one_test): Use it.
4845 (check1): New function.
4846 (test_main): Use it.
4847 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
4848 Support strcasecmp and strncasecmp.
4849
69da074d
UD
48502010-11-08 Ulrich Drepper <drepper@gmail.com>
4851
4852 [BZ #12194]
4853 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
4854 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4855
ff02d528
L
48562010-11-07 H.J. Lu <hongjiu.lu@intel.com>
4857
4858 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
4859 IFUNC support.
4860 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4861 memset-x86-64.
4862 * sysdeps/x86_64/multiarch/bzero.S: New file.
4863 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
4864 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
4865 * sysdeps/x86_64/multiarch/memset.S: New file.
4866 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
4867 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4868 Set bit_Prefer_SSE_for_memop for Intel processors.
4869 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
4870 Define.
4871 (index_Prefer_SSE_for_memop): Define.
4872 (HAS_PREFER_SSE_FOR_MEMOP): Define.
4873
344d0b54
LM
48742010-11-04 Luis Machado <luisgpm@br.ibm.com>
4875
4876 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
4877 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
4878
c0dde15b
UD
48792010-11-03 H.J. Lu <hongjiu.lu@intel.com>
4880
4881 [BZ #12191]
4882 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
4883 (__x86_64_raw_data_cache_size_half): Likewise.
4884 (__x86_64_raw_shared_cache_size): Likewise.
4885 (__x86_64_raw_shared_cache_size_half): Likewise.
4886
4887 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
4888 (__x86_64_raw_data_cache_size_half): Likewise.
4889 (__x86_64_raw_shared_cache_size): Likewise.
4890 (__x86_64_raw_shared_cache_size_half): Likewise.
4891 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
4892 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
4893 and __x86_64_raw_shared_cache_size_half. Round
4894 __x86_64_data_cache_size_half, __x86_64_data_cache_size
4895 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
4896 to multiple of 256 bytes.
4897
0e516e0e
MS
48982010-11-03 Ulrich Drepper <drepper@gmail.com>
4899
4900 [BZ #12167]
4901 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
4902 of inacessible symlinks. Verify result of symlink before returning it.
4903 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4904 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
4905
0e012e87
ER
49062010-10-28 Erich Ritz <erichritz@gmail.com>
4907
4908 * math/math.h (isinf): Fix typo in comment.
4909
de0ff7bc
UD
49102010-11-01 Ulrich Drepper <drepper@gmail.com>
4911
4912 * po/da.po: Update from translation team.
4913
fa41c84d
UD
49142010-10-26 Ulrich Drepper <drepper@gmail.com>
4915
4916 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
4917 is added to the list.
4918
f0967738
AK
49192010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4920 Ulrich Drepper <drepper@gmail.com>
4921
4922 * elf/dl-object.c (_dl_new_object): Don't append the new object to
4923 the global list here. Move code to...
4924 (_dl_add_to_namespace_list): ...here. New function.
4925 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
4926 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
4927 * elf/dl-load.c (lose): Don't remove the element from the list.
4928 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
4929 (_dl_map_object): Likewise.
4930
49312010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
4932
4933 [BZ #12159]
4934 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
4935 into all bytes of SSE register.
4936 Patch by Richard Li <richardpku@gmail.com>.
4937
f0967738 49382010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
4939
4940 [BZ #12140]
4941 * malloc/malloc.c (_int_free): Fill correct number of bytes when
4942 perturbing.
4943
d0b9e94f
MB
49442010-10-20 Michael B. Brutman <brutman@us.ibm.com>
4945
4946 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
4947 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
4948 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
4949 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
4951 submachine.
4952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
4953
8e9f92e9
AS
49542010-10-22 Andreas Schwab <schwab@redhat.com>
4955
4956 * include/dlfcn.h (__RTLD_SECURE): Define.
4957 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
4958 mode & __RTLD_SECURE instead.
4959 (open_path): Rename preloaded parameter to secure.
4960 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
4961 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
4962 * elf/dl-deps.c (openaux): Likewise.
4963 * elf/rtld.c (struct map_args): Remove is_preloaded.
4964 (map_doit): Don't use it.
4965 (dl_main): Likewise.
4966 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
4967 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
4968
bc96fbda
AS
49692010-09-09 Andreas Schwab <schwab@redhat.com>
4970
4971 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
4972 (sysd-rules-targets): Remove duplicates.
4973 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
4974 rtld-%.$o dependency.
4975
22cd1c9b
AS
49762010-10-18 Andreas Schwab <schwab@redhat.com>
4977
4978 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
4979 _dl_map_object do it.
4980
18edac48
UD
49812010-10-19 Ulrich Drepper <drepper@gmail.com>
4982
4983 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
4984 fast fma builtins, define the macros in the C99 standard.
4985 (FP_FAST_FMAF): Likewise.
4986 (FP_FAST_FMAL): Likewise.
4987 * sysdeps/x86_64/bits/mathdef.h: Likewise.
4988
4989 * bits/mathdef.h: Update copyright year.
4990 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4991
d2050124
MM
49922010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
4993
4994 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
4995 builtins, define the macros in the C99 standard.
4996 (FP_FAST_FMAF): Likewise.
4997 (FP_FAST_FMAL): Likewise.
4998 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
4999 multiply/add.
5000 (FP_FAST_FMAF): Likewise.
5001
475facd1
JJ
50022010-10-15 Jakub Jelinek <jakub@redhat.com>
5003
5004 [BZ #3268]
5005 * math/libm-test.inc (fma_test): Some new testcases.
5006 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
5007 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
5008 y and infinite z. Do multiplication by C already in long double.
5009 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
5010 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
5011 y and infinite z. Do bitwise or of inexact bit into u.d.
5012 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
5013 * sysdeps/i386/fpu/s_fmaf.S: Removed.
5014 * sysdeps/i386/fpu/s_fma.S: Removed.
5015 * sysdeps/i386/fpu/s_fmal.S: Removed.
5016
7c08a05c
JJ
50172010-10-16 Jakub Jelinek <jakub@redhat.com>
5018
5019 [BZ #3268]
5020 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
5021 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
5022 computation is not scheduled after fetestexcept. Fix value
5023 of minimum denormal long double.
5024
f3f7372d
JJ
50252010-10-14 Jakub Jelinek <jakub@redhat.com>
5026
5027 [BZ #3268]
5028 * math/libm-test.inc (fma_test): Add some more tests.
5029 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
5030 correctly.
5031
14d43591
AS
50322010-10-15 Andreas Schwab <schwab@redhat.com>
5033
5034 * scripts/data/localplt-s390-linux-gnu.data: New file.
5035 * scripts/data/localplt-s390x-linux-gnu.data: New file.
5036
5e908464
JJ
50372010-10-13 Jakub Jelinek <jakub@redhat.com>
5038
5039 [BZ #3268]
5040 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
5041 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
5042 instead of dbl-64.
5043 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
5044 inlines.
5045 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
5046 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
5047 if one of x and y is very large and the other is subnormal.
5048 * sysdeps/s390/fpu/s_fmaf.c: New file.
5049 * sysdeps/s390/fpu/s_fma.c: New file.
5050 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
5051 * sysdeps/powerpc/fpu/s_fma.S: New file.
5052 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
5053 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
5054 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
5055
50562010-10-12 Jakub Jelinek <jakub@redhat.com>
5057
5058 [BZ #3268]
5059 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
5060 fma tests.
5061 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
5062 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
5063 * sysdeps/i386/i686/multiarch/s_fma.c: Include
5064 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
5065 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
5066 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
5067 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
5068
b833d51f
UD
50692010-10-12 Ulrich Drepper <drepper@redhat.com>
5070
5071 [BZ #12078]
5072 * posix/regcomp.c (parse_branch): One more memory leak plugged.
5073 * posix/bug-regex31.input: Add test case.
5074
1751705d
UD
50752010-10-11 Ulrich Drepper <drepper@gmail.com>
5076
e9b9cbf5
UD
5077 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
5078 * posix/bug-regex31.input: New file.
5079
5080 [BZ #12078]
5081 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
5082 (parse_sub_exp): Fix last change, use postorder.
5083
ef06edbe
UD
5084 * posix/bug-regex31.c: New file.
5085 * posix/Makefile: Add rules to build and run bug-regex31.
5086
a129c80d
UD
5087 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
5088
5089 [BZ #12078]
5090 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
5091
b76b818e
UD
5092 [BZ #12108]
5093 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
5094 to have entries in sys_siglist.
5095
1751705d
UD
5096 [BZ #12093]
5097 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
5098 be NULL.
5099
9ff8d36f
JJ
51002010-10-07 Jakub Jelinek <jakub@redhat.com>
5101
5102 [BZ #3268]
5103 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
5104 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
5105 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
5106 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
5107 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5108 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
5109 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
5110 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
5111 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
5112 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
5113 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
5114 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
5115 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
5116 * math/ftestexcept.c (fetestexcept): Likewise.
5117 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
5118 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
5119 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
5120 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
5121 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
5122 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
5123 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5124
af325969
UD
51252010-10-11 Ulrich Drepper <drepper@gmail.com>
5126
c579b202 5127 [BZ #12107]
af325969
UD
5128 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
5129 newline.
5130
67a67b95
UD
51312010-10-06 Ulrich Drepper <drepper@gmail.com>
5132
5133 * string/bug-strstr1.c: New file.
5134 * string/Makefile: Add rules to build and run bug-strstr1.
5135
5fb308bc
EB
51362010-10-05 Eric Blake <eblake@redhat.com>
5137
5138 [BZ #12092]
5139 * string/str-two-way.h (two_way_long_needle): Always clear memory
5140 when skipping input due to the shift table.
5141
45db99c7
UD
51422010-10-03 Ulrich Drepper <drepper@gmail.com>
5143
3b111893
UD
5144 [BZ #12005]
5145 * malloc/mcheck.c: Handle large requests.
5146
45db99c7
UD
5147 [BZ #12077]
5148 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
5149 for strncmp and strncasecmp.
5150 * string/stratcliff.c: Add tests for strcmp and strncmp.
5151 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
5152
cf7a1eb8
NI
51532010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5154
5155 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
5156 __set_fpscr.
5157
6484ba5e
AJ
51582010-09-30 Andreas Jaeger <aj@suse.de>
5159
5160 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
5161 (CGROUP_SUPER_MAGIC): Define.
5162 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5163 Handle btrfs and cgroup file systems.
5164 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5165 Likewise.
5166
91c42559
LM
51672010-09-27 Luis Machado <luisgpm@br.ibm.com>
5168
5169 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
5170 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
5171
87a97932
AK
51722010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5173
5174 [BZ #12067]
5175 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
5176 trying to locate the ELF header.
5177
c21cc9bc
AS
51782010-09-27 Andreas Schwab <schwab@redhat.com>
5179
5180 [BZ #11611]
5181 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
5182 Mask out sign-bit copies when constructing f_fsid.
5183
315970f6
PB
51842010-09-24 Petr Baudis <pasky@suse.cz>
5185
5186 * debug/stack_chk_fail_local.c: Add missing licence exception.
5187 * debug/warning-nop.c: Likewise.
5188
1ac7a2c7
JM
51892010-09-15 Joseph Myers <joseph@codesourcery.com>
5190
5191 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
5192 implementing getdents64 using getdents syscall, set d_type if
5193 __ASSUME_GETDENTS32_D_TYPE.
5194
56801c50
AS
51952010-09-16 Andreas Schwab <schwab@redhat.com>
5196
5197 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
5198 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
5199
dda51327
UD
52002010-09-21 Ulrich Drepper <drepper@redhat.com>
5201
5202 [BZ #12037]
5203 * posix/unistd.h: Undo change of feature selection for ftruncate from
5204 2010-01-11.
5205
8ffcee4a
UD
52062010-09-20 Ulrich Drepper <drepper@redhat.com>
5207
a545ecd9 5208 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
5209 detection.
5210
e24f0a8b
AS
52112010-09-20 Andreas Schwab <schwab@redhat.com>
5212
5213 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
5214 fanotify_mark.
5215 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
5216
7291c56f
AS
52172010-09-14 Andreas Schwab <schwab@redhat.com>
5218
5219 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
5220 variables after CHECK_SP call.
5221 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
5222
bc5fb037
AS
52232010-09-13 Andreas Schwab <schwab@redhat.com>
5224 Ulrich Drepper <drepper@redhat.com>
5225
5226 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
5227 re-relocationg ld.so.
5228 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
5229 _dl_init_paths call.
5230 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
5231 here anymore.
5232
e66e7419
UD
52332010-09-14 Ulrich Drepper <drepper@redhat.com>
5234
5235 * resolv/res_init.c (__res_vinit): Count the default server we added.
5236
c044aa75
CLT
52372010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
5238 Ulrich Drepper <drepper@redhat.com>
5239
5240 [BZ #11968]
5241 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
5242 (____longjmp_chk): Use %ebx for saving value across system call.
5243 Add unwind info.
5244
32cf4069
AS
52452010-09-06 Andreas Schwab <schwab@redhat.com>
5246
5247 * manual/Makefile: Don't mix pattern rules with normal rules.
5248
817328ee
AS
52492010-09-05 Andreas Schwab <schwab@linux-m68k.org>
5250
5251 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
5252 operation.
5253 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
5254 * libio/iofopncook.c (_IO_cookie_init): Likewise.
5255 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
5256 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5257 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5258 Likewise.
5259
29fddf61
UD
52602010-09-04 Ulrich Drepper <drepper@redhat.com>
5261
5262 [BZ #11979]
5263 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
5264 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
5265
0959ffc9
UD
52662010-09-02 Ulrich Drepper <drepper@redhat.com>
5267
5268 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
5269 * sysdeps/x86_64/addmul_1.S: Likewise.
5270 * sysdeps/x86_64/lshift.S: Likewise.
5271 * sysdeps/x86_64/mul_1.S: Likewise.
5272 * sysdeps/x86_64/rshift.S: Likewise.
5273 * sysdeps/x86_64/sub_n.S: Likewise.
5274 * sysdeps/x86_64/submul_1.S: Likewise.
5275
ece29840
ST
52762010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
5277
0959ffc9
UD
5278 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
5279 Define __sched_param instead of SCHED_* and sched_param when
ece29840 5280 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 5281 * bits/sched.h [__need_schedparam]
ece29840 5282 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
5283 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
5284 (__defined_schedparam): Define to 1.
ece29840
ST
5285 (__sched_param): New structure, identical to sched_param.
5286 (__need_schedparam): Undefine.
5287
e53a31fe
MF
52882010-08-31 Mike Frysinger <vapier@gentoo.org>
5289
fdc0c10d
MF
5290 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
5291 (epoll_create1): Declare.
5292
e53a31fe
MF
5293 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
5294
a726d796
AS
52952010-08-31 Andreas Schwab <schwab@redhat.com>
5296
5297 [BZ #7066]
5298 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
5299 shifting retval into place.
5300
2f3e3dc7
UD
53012010-09-01 Ulrich Drepper <drepper@redhat.com>
5302
f2933da9
UD
5303 * nis/rpcsvc/nis.h: Update copyright notice.
5304 * nis/rpcsvc/nis.x: Likewise.
5305 * nis/rpcsvc/nis_callback.h: Likewise.
5306 * nis/rpcsvc/nis_callback.x: Likewise.
5307 * nis/rpcsvc/nis_object.x: Likewise.
5308 * nis/rpcsvc/nis_tags.h: Likewise.
5309 * nis/rpcsvc/yp.h: Likewise.
5310 * nis/rpcsvc/yp.x: Likewise.
5311 * nis/rpcsvc/ypupd.h: Likewise.
5312 * nis/yp_xdr.c: Likewise.
5313 * nis/ypupdate_xdr.c: Likewise.
5314
2f3e3dc7
UD
5315 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
5316 mainly the body of pmap_getport. Add parameters to specify timeouts.
5317 (pmap_getport): Use __libc_rpc_getport.
5318 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
5319 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
5320 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
5321
f3dcc2f9
AS
53222010-08-31 Andreas Schwab <schwab@linux-m68k.org>
5323
5324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
5325 fanotify_mark.
5326
6d34eb5b
RM
53272010-08-27 Roland McGrath <roland@redhat.com>
5328
5329 * sysdeps/i386/i686/multiarch/Makefile
5330 (CFLAGS-varshift.c): New variable.
5331
9ea3de11
UD
53322010-08-27 Ulrich Drepper <drepper@redhat.com>
5333
c96d23fc
UD
5334 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
5335 * sysdeps/i386/i686/multiarch/varshift.c: New file.
5336
9ea3de11
UD
5337 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
5338
5339 * sysdeps/x86_64/strlen.S: Minimal code improvement.
5340
623aac7f
L
53412010-08-26 H.J. Lu <hongjiu.lu@intel.com>
5342
5343 * sysdeps/x86_64/strlen.S: Unroll the loop.
5344 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5345 strlen-sse2 strlen-sse2-bsf.
5346 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
5347 __strlen_no_bsf if bit_Slow_BSF is set.
5348 (__strlen_sse42): Removed.
5349 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
5350 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
5351
8b2b7715
RM
53522010-08-25 Roland McGrath <roland@redhat.com>
5353
5354 * sysdeps/x86_64/multiarch/varshift.S: File removed.
5355 * sysdeps/x86_64/multiarch/varshift.c: New file.
5356 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
5357 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
5358 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
5359 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5360
e73015f2
L
53612010-08-25 H.J. Lu <hongjiu.lu@intel.com>
5362
5363 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5364 strlen-sse2 strlen-sse2-bsf.
5365 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
5366 __strlen_sse2_bsf if bit_Slow_BSF is unset.
5367 (__strlen_sse2): Removed.
5368 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
5369 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
5370 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
5371 bit_Slow_BSF for Atom.
5372 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
5373 (index_Slow_BSF): Define.
5374 (HAS_SLOW_BSF): Define.
5375
df24a73e
UD
53762010-08-25 Ulrich Drepper <drepper@redhat.com>
5377
5378 [BZ #10851]
5379 * resolv/res_init.c (__res_vinit): When no server address at all
5380 is given default to loopback.
5381
f2ac4868
RM
53822010-08-24 Roland McGrath <roland@redhat.com>
5383
09055553
RM
5384 * configure.in: Remove config-name.h generation.
5385 * configure: Regenerated.
5386 * config-name.in: File removed.
5387 * scripts/config-uname.sh: New file.
5388 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
5389 ($(objdir)config-name.h): New target.
5390
f2ac4868
RM
5391 * sunrpc/rpc_parse.h: Avoid nested comment.
5392
73f27d5e
RH
53932010-08-24 Richard Henderson <rth@redhat.com>
5394 Ulrich Drepper <drepper@redhat.com>
5395 H.J. Lu <hongjiu.lu@intel.com>
5396
5397 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
5398 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
5399 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
5400 Replace _mm_srli_si128 with __m128i_shift_right. Replace
5401 _mm_alignr_epi8 with _mm_loadu_si128.
5402 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
5403 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
5404 (__m128i_shift_right): Removed.
5405 * sysdeps/i386/i686/multiarch/varshift.h: New file.
5406 * sysdeps/i386/i686/multiarch/varshift.S: New file.
5407 * sysdeps/x86_64/multiarch/varshift.h: New file.
5408 * sysdeps/x86_64/multiarch/varshift.S: New file.
5409
84b9230c
MF
54102010-08-21 Mike Frysinger <vapier@gentoo.org>
5411
5412 * configure.in: Move assembler checks to before sysdep dir checking.
5413
9bbd0ddc
PB
54142010-08-20 Petr Baudis <pasky@suse.cz>
5415
5416 * LICENSES: Sync the sunrpc license.
5417
9da4bb31
UD
54182010-08-19 Ulrich Drepper <drepper@redhat.com>
5419
a7ab6ec8
UD
5420 * sunrpc/auth_des.c: Update copyright notice once again.
5421 * sunrpc/auth_none.c: Likewise.
5422 * sunrpc/auth_unix.c: Likewise.
5423 * sunrpc/authdes_prot.c: Likewise.
5424 * sunrpc/authuxprot.c: Likewise.
5425 * sunrpc/bindrsvprt.c: Likewise.
5426 * sunrpc/clnt_gen.c: Likewise.
5427 * sunrpc/clnt_perr.c: Likewise.
5428 * sunrpc/clnt_raw.c: Likewise.
5429 * sunrpc/clnt_simp.c: Likewise.
5430 * sunrpc/clnt_tcp.c: Likewise.
5431 * sunrpc/clnt_udp.c: Likewise.
5432 * sunrpc/clnt_unix.c: Likewise.
5433 * sunrpc/des_crypt.c: Likewise.
5434 * sunrpc/des_soft.c: Likewise.
5435 * sunrpc/get_myaddr.c: Likewise.
5436 * sunrpc/getrpcport.c: Likewise.
5437 * sunrpc/key_call.c: Likewise.
5438 * sunrpc/key_prot.c: Likewise.
5439 * sunrpc/openchild.c: Likewise.
5440 * sunrpc/pm_getmaps.c: Likewise.
5441 * sunrpc/pm_getport.c: Likewise.
5442 * sunrpc/pmap_clnt.c: Likewise.
5443 * sunrpc/pmap_prot.c: Likewise.
5444 * sunrpc/pmap_prot2.c: Likewise.
5445 * sunrpc/pmap_rmt.c: Likewise.
5446 * sunrpc/rpc/auth.h: Likewise.
5447 * sunrpc/rpc/auth_unix.h: Likewise.
5448 * sunrpc/rpc/clnt.h: Likewise.
5449 * sunrpc/rpc/des_crypt.h: Likewise.
5450 * sunrpc/rpc/key_prot.h: Likewise.
5451 * sunrpc/rpc/netdb.h: Likewise.
5452 * sunrpc/rpc/pmap_clnt.h: Likewise.
5453 * sunrpc/rpc/pmap_prot.h: Likewise.
5454 * sunrpc/rpc/pmap_rmt.h: Likewise.
5455 * sunrpc/rpc/rpc.h: Likewise.
5456 * sunrpc/rpc/rpc_des.h: Likewise.
5457 * sunrpc/rpc/rpc_msg.h: Likewise.
5458 * sunrpc/rpc/svc.h: Likewise.
5459 * sunrpc/rpc/svc_auth.h: Likewise.
5460 * sunrpc/rpc/types.h: Likewise.
5461 * sunrpc/rpc/xdr.h: Likewise.
5462 * sunrpc/rpc_clntout.c: Likewise.
5463 * sunrpc/rpc_cmsg.c: Likewise.
5464 * sunrpc/rpc_common.c: Likewise.
5465 * sunrpc/rpc_cout.c: Likewise.
5466 * sunrpc/rpc_dtable.c: Likewise.
5467 * sunrpc/rpc_hout.c: Likewise.
5468 * sunrpc/rpc_main.c: Likewise.
5469 * sunrpc/rpc_parse.c: Likewise.
5470 * sunrpc/rpc_parse.h: Likewise.
5471 * sunrpc/rpc_prot.c: Likewise.
5472 * sunrpc/rpc_sample.c: Likewise.
5473 * sunrpc/rpc_scan.c: Likewise.
5474 * sunrpc/rpc_scan.h: Likewise.
5475 * sunrpc/rpc_svcout.c: Likewise.
5476 * sunrpc/rpc_tblout.c: Likewise.
5477 * sunrpc/rpc_util.c: Likewise.
5478 * sunrpc/rpc_util.h: Likewise.
5479 * sunrpc/rpcinfo.c: Likewise.
5480 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
5481 * sunrpc/rpcsvc/key_prot.x: Likewise.
5482 * sunrpc/rpcsvc/klm_prot.x: Likewise.
5483 * sunrpc/rpcsvc/mount.x: Likewise.
5484 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
5485 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
5486 * sunrpc/rpcsvc/rex.x: Likewise.
5487 * sunrpc/rpcsvc/rstat.x: Likewise.
5488 * sunrpc/rpcsvc/rusers.x: Likewise.
5489 * sunrpc/rpcsvc/sm_inter.x: Likewise.
5490 * sunrpc/rpcsvc/spray.x: Likewise.
5491 * sunrpc/rpcsvc/yppasswd.x: Likewise.
5492 * sunrpc/rtime.c: Likewise.
5493 * sunrpc/svc.c: Likewise.
5494 * sunrpc/svc_auth.c: Likewise.
5495 * sunrpc/svc_authux.c: Likewise.
5496 * sunrpc/svc_raw.c: Likewise.
5497 * sunrpc/svc_run.c: Likewise.
5498 * sunrpc/svc_simple.c: Likewise.
5499 * sunrpc/svc_tcp.c: Likewise.
5500 * sunrpc/svc_udp.c: Likewise.
5501 * sunrpc/svc_unix.c: Likewise.
5502 * sunrpc/svcauth_des.c: Likewise.
5503 * sunrpc/xcrypt.c: Likewise.
5504 * sunrpc/xdr.c: Likewise.
5505 * sunrpc/xdr_array.c: Likewise.
5506 * sunrpc/xdr_float.c: Likewise.
5507 * sunrpc/xdr_mem.c: Likewise.
5508 * sunrpc/xdr_rec.c: Likewise.
5509 * sunrpc/xdr_ref.c: Likewise.
5510 * sunrpc/xdr_sizeof.c: Likewise.
5511 * sunrpc/xdr_stdio.c: Likewise.
5512
9da4bb31
UD
5513 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
5514 handling.
5515
bdaa77bc
AS
55162010-08-19 Andreas Schwab <schwab@redhat.com>
5517
5518 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
5519
fe2f79db
LM
55202010-08-19 Luis Machado <luisgpm@br.ibm.com>
5521
5522 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
5523 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
5524 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
5525 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
5526 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
5527 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
5528 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
5529 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
5530 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
5531 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
5532 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
5533 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
5534 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
5535 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
5536
b9b42ee0
AB
55372010-07-26 Anton Blanchard <anton@samba.org>
5538
5539 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
5540 * malloc/arena.c (heap_trim): Likewise.
5541
1c06ba31
UD
55422010-08-16 Ulrich Drepper <drepper@redhat.com>
5543
5544 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
5545 here. Not...
5546 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
5547 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
5548
f8392f40
L
55492010-08-12 H.J. Lu <hongjiu.lu@intel.com>
5550
5551 * sysdeps/i386/elf/Makefile: New file.
5552
3162f12e
AS
55532010-08-14 Andreas Schwab <schwab@linux-m68k.org>
5554
5555 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
5556 from fanotify_init.
5557 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
5558 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5559
28c90b2c
UD
55602010-08-15 Ulrich Drepper <drepper@redhat.com>
5561
5562 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
5563 of strncasecmp_l.
1feccb6c 5564 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 5565
ca6bb004
UD
55662010-08-14 Ulrich Drepper <drepper@redhat.com>
5567
e9f82e0d
UD
5568 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
5569 strncase_l-nonascii.
5570 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
5571 Add strncase_l-ssse3.
5572 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
5573 * sysdeps/x86_64/strcmp.S: Likewise.
5574 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
5575 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
5576 * sysdeps/x86_64/strncase.S: New file.
5577 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
5578 * sysdeps/x86_64/strncase_l.S: New file.
5579 * string/Makefile (strop-tests): Add strncasecmp.
5580 * string/test-strncasecmp.c: New file.
5581
5582 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
5583 warning.
5584
ca6bb004
UD
5585 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
5586 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
5587
052fa7b3
AS
55882010-08-14 Andreas Schwab <schwab@linux-m68k.org>
5589
5590 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
5591
962dba78
UD
55922010-08-12 Ulrich Drepper <drepper@redhat.com>
5593
5594 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
5595 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5596 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5597
bebff237
AM
55982010-05-01 Alan Modra <amodra@gmail.com>
5599
5600 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
5601 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
5602 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
5603 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
5604 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
5605 tidying. Don't tail-call __sigjmp_save for static lib.
5606 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
5607 save location.
5608 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
5609 (CALL_MCOUNT): Add eh info, and nop after bl.
5610 (TAIL_CALL_SYSCALL_ERROR): New macro.
5611 (PSEUDO_RET): Use it.
5612 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
5613 Correct save location of integer regs and cr.
5614 (_dl_profile_resolve): Correct cr save location. Delete nops
5615 after bl when SHARED. Reduce cfi size a little by better
5616 placement of cfi directives.
5617 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
5618 make a stack frame. Instead use parm save area as a temp.
5619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
5620 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
5621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5622 Don't make a stack frame for parent, use parm save area.
5623 Increase child stack frame to 112 bytes. Don't save unused reg,
5624 and adjust reg usage. Set up cfi on error recovery and
5625 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
5626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5627 (__makecontext): Add dummy nop after jump to exit.
5628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
5629 Use correct parm save area and cr save, reduce stack frame.
5630 Correct cfi for possible PSEUDO_RET frame setup.
5631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
5632 Branch to local label emitted by PSEUDO_RET rather than
5633 __syscall_error.
5634
02637374
AS
56352010-08-12 Andreas Schwab <schwab@redhat.com>
5636
5637 [BZ #11904]
5638 * locale/programs/locale.c (print_assignment): New function.
5639 (show_locale_vars): Use it.
5640
c3e2f19b
UD
56412010-08-11 Ulrich Drepper <drepper@redhat.com>
5642
3cdaa6ad
UD
5643 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
5644 field.
5645 (struct statfs64): Likewise.
5646 (_STATFS_F_FLAGS): Define.
5647 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
5648 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5649 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
5650 (ST_VALID): Define locally.
5651 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
5652 __statvfs_getflags, use the provided value.
5653 * sysdeps/unix/sysv/linux/kernel-features.h: Define
5654 __ASSUME_STATFS_F_FLAGS.
5655
754f7da3
UD
5656 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
5657
10b3bedc
UD
5658 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
5659 Add sys/fanotify.h.
5660 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
5661 fanotify_mask for GLIBC_2.13.
5662 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
5663 fanotify_init and fanotify_mark.
5664 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5665 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
5666
c08fb0d7
UD
5667 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
5668 Add prlimit.
5669 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
5670 prlimit64 for GLIBC_2.13.
5671 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
5672 prlimit64.
5673 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
5674 syscall.
5675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
5676 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
5677 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
5678 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
5679 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
5680 add prlimit alias.
5681 * sysdeps/unix/sysv/linux/prlimit.c: New file.
5682
15bac72b
UD
5683 [BZ #11903]
5684 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
5685 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
5686
c3e2f19b
UD
5687 * nss/Makefile: Add rules to build and run tst-nss-test1.
5688 * shlib-versions: Add entry for libnss_test1.
5689 * nss/nss_test1.c: New file.
5690 * nss/tst-nss-test1.c: New file.
5691
5692 * nss/nsswitch.c (__nss_database_custom): Define new variable.
5693 (__nss_configure_lookup): Set appropriate entry in
5694 __nss_configure_lookup to true.
5695 * nss/nsswitch.h: Define enum with indeces of databases in
5696 databases and __nss_database_custom arrays. Declare
5697 __nss_database_custom.
5698 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
5699 to avoid using nscd when custom rules are installed.
5700 * nss/getXXbyYY_r.c: Likewise.
5701 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5702
5703 * nss/nss_files/files-parse.c: Whitespace fixes.
5704
f15ce4d8
UD
57052010-08-09 Ulrich Drepper <drepper@redhat.com>
5706
5707 [BZ #11883]
5708 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
5709 * posix/fnmatch_loop.c: Likewise.
5710
d22e4cc9
AK
57112010-07-17 Andi Kleen <ak@linux.intel.com>
5712
5713 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
5714 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
5715 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
5716 * Versions.def [GLIBC_2.13]: Add.
5717
805bc17d
UD
57182010-08-06 Ulrich Drepper <drepper@redhat.com>
5719
5720 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
5721 Also fail if tpwd after pwuid call is NULL.
5722
5a42321d
ST
57232010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
5724
5725 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
5726 when converting to ms.
5727
fd3ebeda
ST
57282010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
5729
5730 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
5731 EOPNOTSUPP errors with ENOTTY.
5732 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
5733 EOPNOTSUPP errors with ENOTTY.
5734
73507d3a
UD
57352010-07-31 Ulrich Drepper <drepper@redhat.com>
5736
5737 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
5738 Add strcasecmp_l-ssse3.
5739 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
5740 strcasecmp.
5741 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
5742 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
5743 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
5744
fe36dd02
UD
57452010-07-30 Ulrich Drepper <drepper@redhat.com>
5746
66f6765a
UD
5747 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
5748
42e08a54
UD
5749 * string/Makefile (strop-tests): Add strcasecmp.
5750 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
5751 strcasecmp_l-nonascii.
5752 (gen-as-const-headers): Add locale-defines.sym.
5753 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
5754 * sysdeps/x86_64/strcasecmp.S: New file.
5755 * sysdeps/x86_64/strcasecmp_l.S: New file.
5756 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
5757 * sysdeps/x86_64/locale-defines.sym: New file.
5758 * string/test-strcasecmp.c: New file.
5759
fe36dd02
UD
5760 * string/test-strcasestr.c: Test both ends of the range of characters.
5761 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
5762
48cbc0d6
RM
57632010-07-29 Roland McGrath <roland@redhat.com>
5764
76e6d6bc 5765 [BZ #11856]
48cbc0d6
RM
5766 * manual/locale.texi (Yes-or-No Questions): Fix example code.
5767
880113d9
UD
57682010-07-27 Ulrich Drepper <drepper@redhat.com>
5769
5770 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
5771 for ld.so.
5772
deb9cabb
AS
57732010-07-27 Andreas Schwab <schwab@redhat.com>
5774
5775 * manual/memory.texi (Malloc Tunable Parameters): Document
5776 M_PERTURB.
5777
1c7570ff
RM
57782010-07-26 Roland McGrath <roland@redhat.com>
5779
5780 [BZ #11840]
5781 * configure.in (-fgnu89-inline check): Set and substitute
5782 gnu89_inline, not libc_cv_gnu89_inline.
5783 * configure: Regenerated.
5784 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
5785
24fb0f88
UD
57862010-07-26 Ulrich Drepper <drepper@redhat.com>
5787
5788 * string/test-strnlen.c: New file.
5789 * string/Makefile (strop-tests): Add strnlen.
5790 * string/tester.c (test_strnlen): Add a few more test cases.
5791 * string/tst-strlen.c: Better error reporting.
5792
5793 * sysdeps/x86_64/strnlen.S: New file.
5794
8e96b93a
UD
57952010-07-24 Ulrich Drepper <drepper@redhat.com>
5796
5797 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
5798 lower-latency instructions.
5799
dbc676d4
UD
58002010-07-23 Ulrich Drepper <drepper@redhat.com>
5801
5802 * string/test-strcasestr.c: New file.
5803 * string/test-strstr.c: New file.
5804 * string/Makefile (strop-tests): Add strstr and strcasestr.
5805 * string/str-two-way.h: Don't undefine MAX.
5806 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
5807
f6a31e0e
AS
58082010-07-21 Andreas Schwab <schwab@redhat.com>
5809
5810 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5811 strcasestr-nonascii.
5812 (CFLAGS-strcasestr-nonascii.c): Define.
5813 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
5814 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
5815 Remove unused attribute.
5816
5dbc3b6c
RM
58172010-07-20 Roland McGrath <roland@redhat.com>
5818
5819 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
5820 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
5821 ld.so.cache was broken. With it, there is no way to disable dsocaps
5822 like LD_HWCAP_MASK can disable hwcaps.
5823
23d101d8
EPM
58242010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
5825
5826 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
5827
cc9f2e47
UD
58282010-07-16 Ulrich Drepper <drepper@redhat.com>
5829
5830 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
5831 call in strcasestr.
5832 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
5833 __strcasestr_sse42_nonascii.
5834 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
5835 strcasestr-nonascii.c.
5836 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
5837
77c1b069
LM
58382010-06-15 Luis Machado <luisgpm@br.ibm.com>
5839
5840 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
5841 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
5842 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
5843 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
5844
440566c3
UD
58452010-07-09 Ulrich Drepper <drepper@redhat.com>
5846
5847 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
5848 fcntl.
5849
5be9d05d
AS
58502010-07-06 Andreas Schwab <schwab@redhat.com>
5851
c30b7ee2 5852 [BZ #11577]
5be9d05d
AS
5853 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
5854 dl_signal_cerror.
5855
8a492a67
UD
58562010-07-06 Ulrich Drepper <drepper@redhat.com>
5857
5858 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
5859 _PC_PIPE_BUF using F_GETPIPE_SZ.
5860
713df3d5
RM
58612010-07-05 Roland McGrath <roland@redhat.com>
5862
5863 * manual/arith.texi (Rounding Functions): Fix rint description
5864 implicit in round description.
5865
702e8f14
UD
58662010-07-02 Ulrich Drepper <drepper@redhat.com>
5867
5868 * elf/Makefile: Fix linking for a few tests to make recent linker
5869 happy.
5870
52ed8be9
AS
58712010-06-30 Andreas Schwab <schwab@redhat.com>
5872
5873 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
5874 $(common-objpfx)libc_nonshared.a.
5875
f47c9a11
LM
58762010-06-21 Luis Machado <luisgpm@br.ibm.com>
5877
5878 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
5879 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
5880 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
5881 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
5882 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
5883 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
5884 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
5885 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
5886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
5887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
5888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
5889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
5890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
5891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
5892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
5893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
5894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
5895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
5896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
5897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
5898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
5899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
5900 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
5901 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
5902 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
5903 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
5904 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
5905 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
5906 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
5907 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
5908 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
5909 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
5910 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
5911 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
5912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
5913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
5914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
5915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
5916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
5917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
5918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
5919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
5920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
5921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
5922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
5923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
5924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
5925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
5926
6fb8cbcb
L
59272010-06-25 H.J. Lu <hongjiu.lu@intel.com>
5928
5929 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
5930 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
5931 * string/memmove.c (memmove): Renamed to ...
5932 (MEMMOVE): ...this. Default to memmove.
5933 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
5934 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
5935 (END_CHK): Define.
5936 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5937 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
5938 mempcpy-ssse3-back memmove-ssse3-back.
5939 * sysdeps/x86_64/multiarch/bcopy.S: New file .
5940 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
5941 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
5942 * sysdeps/x86_64/multiarch/memcpy.S: New file.
5943 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
5944 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
5945 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
5946 * sysdeps/x86_64/multiarch/memmove.c: New file.
5947 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
5948 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
5949 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
5950 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
5951 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
5952 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
5953 Define.
5954 (index_Fast_Copy_Backward): Define.
5955 (HAS_ARCH_FEATURE): Define.
5956 (HAS_FAST_REP_STRING): Define.
5957 (HAS_FAST_COPY_BACKWARD): Define.
5958
4e733bac 59592010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
5960
5961 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
5962 Restore proper fallback handling.
5963
63c4ed22
UD
59642010-06-19 Ulrich Drepper <drepper@redhat.com>
5965
ac2b484c
UD
5966 [BZ #11701]
5967 * posix/group_member.c (__group_member): Correct checking loop.
5968
63c4ed22
UD
5969 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
5970 OOM in getpwuid_r correctly. Return error number when the caller
5971 should return, otherwise -1.
5972 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
5973 call returning > 0 value.
5974 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
5975
765ade4b
AS
59762010-06-07 Andreas Schwab <schwab@redhat.com>
5977
5978 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
5979 libc_nonshared.a from targets in modules-names.
5980
80da2e09
KS
59812010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
5982
5983 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
5984 requires it.
5985
158db122
LM
59862010-06-10 Luis Machado <luisgpm@br.ibm.com>
5987
5988 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
5989 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
5990 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
5991 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
5992
caa78cf8
AS
59932010-06-02 Andreas Schwab <schwab@redhat.com>
5994
5995 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
5996
b2ef2c01
UD
59972010-06-14 Ulrich Drepper <drepper@redhat.com>
5998
5999 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
6000 and F_GETPIPE_SZ.
6001 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
6002 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
6003 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6004 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6005 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
6006 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
6007
fbd643b6
RM
60082010-06-14 Roland McGrath <roland@redhat.com>
6009
6010 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
6011
f32f2869
JJ
60122010-06-07 Jakub Jelinek <jakub@redhat.com>
6013
6014 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
6015 __REDIRECT followed by __THROW.
6016 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
6017 * posix/getopt.h (getopt): Likewise.
6018
2a50c078
EPM
60192010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
6020
6021 * hurd/lookup-at.c (__file_name_lookup_at): Accept
6022 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
6023 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
6024 in AT_FLAGS.
6025 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
6026 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
6027
eb5ad2eb
LM
60282010-05-28 Luis Machado <luisgpm@br.ibm.com>
6029
6030 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
6031
3c88fe1e
L
60322010-05-26 H.J. Lu <hongjiu.lu@intel.com>
6033
6034 [BZ #11640]
6035 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6036 Properly check family and model.
6037
d2f73151
TY
60382010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
6039
6040 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
6041
ebd2e13d
LM
60422010-05-24 Luis Machado <luisgpm@br.ibm.com>
6043
6044 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
6045
b32b8b45
UD
60462010-05-21 Ulrich Drepper <drepper@redhat.com>
6047
6048 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
6049 symbol reference.
6050
9acbe24d
AS
60512010-05-19 Andreas Schwab <schwab@redhat.com>
6052
6053 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
6054 symbol reference.
6055
f0ccf6ea
AS
60562010-05-21 Andreas Schwab <schwab@redhat.com>
6057
3d04ff3a
AS
6058 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
6059 and internal_recvmmsg.
6060 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
6061 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
6062 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
6063 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
6064
f0ccf6ea
AS
6065 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
6066 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6067 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6068
5b08ac57
AS
60692010-05-20 Andreas Schwab <schwab@redhat.com>
6070
6071 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
6072
4828935d
LM
60732010-05-17 Luis Machado <luisgpm@br.ibm.com>
6074
6075 POWER7 optimizations.
6076 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
6077 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
6078
373d545e
UD
60792010-05-19 Ulrich Drepper <drepper@redhat.com>
6080
6081 * version.h: Update for 2.13 development version.
6082
21a2b1ae
AS
60832010-05-12 Andrew Stubbs <ams@codesourcery.com>
6084
6085 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
6086 exceptions. Return 0.
6087
3f7dcb2b
RM
60882010-05-07 Roland McGrath <roland@redhat.com>
6089
6090 * elf/ldconfig.c (main): Add a const.
6091
5f24d53a 60922010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 6093
a160f8d8
UD
6094 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
6095 (args_options): Add no-idn option.
6096 (ahosts_keys_int): Add idn_flags to ai_flags.
6097 (parse_option): Handle 'i' option to clear idn_flags.
6098
5f24d53a
UD
6099 * malloc/malloc.c (_int_free): Possible race in the most recently
6100 added check. Only act on the data if no current modification
6101 happened.
265bb1ce
UD
6102
6103See ChangeLog.17 for earlier changes.