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