]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Require suid bit on audit objects in privileged programs
[thirdparty/glibc.git] / ChangeLog
CommitLineData
8e9f92e9
AS
12010-10-22 Andreas Schwab <schwab@redhat.com>
2
3 * include/dlfcn.h (__RTLD_SECURE): Define.
4 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
5 mode & __RTLD_SECURE instead.
6 (open_path): Rename preloaded parameter to secure.
7 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
8 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
9 * elf/dl-deps.c (openaux): Likewise.
10 * elf/rtld.c (struct map_args): Remove is_preloaded.
11 (map_doit): Don't use it.
12 (dl_main): Likewise.
13 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
14 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15
bc96fbda
AS
162010-09-09 Andreas Schwab <schwab@redhat.com>
17
18 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
19 (sysd-rules-targets): Remove duplicates.
20 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
21 rtld-%.$o dependency.
22
22cd1c9b
AS
232010-10-18 Andreas Schwab <schwab@redhat.com>
24
25 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26 _dl_map_object do it.
27
18edac48
UD
282010-10-19 Ulrich Drepper <drepper@gmail.com>
29
30 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31 fast fma builtins, define the macros in the C99 standard.
32 (FP_FAST_FMAF): Likewise.
33 (FP_FAST_FMAL): Likewise.
34 * sysdeps/x86_64/bits/mathdef.h: Likewise.
35
36 * bits/mathdef.h: Update copyright year.
37 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38
d2050124
MM
392010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
40
41 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42 builtins, define the macros in the C99 standard.
43 (FP_FAST_FMAF): Likewise.
44 (FP_FAST_FMAL): Likewise.
45 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46 multiply/add.
47 (FP_FAST_FMAF): Likewise.
48
475facd1
JJ
492010-10-15 Jakub Jelinek <jakub@redhat.com>
50
51 [BZ #3268]
52 * math/libm-test.inc (fma_test): Some new testcases.
53 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
54 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
55 y and infinite z. Do multiplication by C already in long double.
56 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
57 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
58 y and infinite z. Do bitwise or of inexact bit into u.d.
59 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
60 * sysdeps/i386/fpu/s_fmaf.S: Removed.
61 * sysdeps/i386/fpu/s_fma.S: Removed.
62 * sysdeps/i386/fpu/s_fmal.S: Removed.
63
7c08a05c
JJ
642010-10-16 Jakub Jelinek <jakub@redhat.com>
65
66 [BZ #3268]
67 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
68 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
69 computation is not scheduled after fetestexcept. Fix value
70 of minimum denormal long double.
71
f3f7372d
JJ
722010-10-14 Jakub Jelinek <jakub@redhat.com>
73
74 [BZ #3268]
75 * math/libm-test.inc (fma_test): Add some more tests.
76 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
77 correctly.
78
14d43591
AS
792010-10-15 Andreas Schwab <schwab@redhat.com>
80
81 * scripts/data/localplt-s390-linux-gnu.data: New file.
82 * scripts/data/localplt-s390x-linux-gnu.data: New file.
83
5e908464
JJ
842010-10-13 Jakub Jelinek <jakub@redhat.com>
85
86 [BZ #3268]
87 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
88 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
89 instead of dbl-64.
90 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
91 inlines.
92 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
93 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
94 if one of x and y is very large and the other is subnormal.
95 * sysdeps/s390/fpu/s_fmaf.c: New file.
96 * sysdeps/s390/fpu/s_fma.c: New file.
97 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
98 * sysdeps/powerpc/fpu/s_fma.S: New file.
99 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
100 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
101 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
102
1032010-10-12 Jakub Jelinek <jakub@redhat.com>
104
105 [BZ #3268]
106 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
107 fma tests.
108 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
109 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
110 * sysdeps/i386/i686/multiarch/s_fma.c: Include
111 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
112 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
113 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
114 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
115
b833d51f
UD
1162010-10-12 Ulrich Drepper <drepper@redhat.com>
117
118 [BZ #12078]
119 * posix/regcomp.c (parse_branch): One more memory leak plugged.
120 * posix/bug-regex31.input: Add test case.
121
1751705d
UD
1222010-10-11 Ulrich Drepper <drepper@gmail.com>
123
e9b9cbf5
UD
124 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
125 * posix/bug-regex31.input: New file.
126
127 [BZ #12078]
128 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
129 (parse_sub_exp): Fix last change, use postorder.
130
ef06edbe
UD
131 * posix/bug-regex31.c: New file.
132 * posix/Makefile: Add rules to build and run bug-regex31.
133
a129c80d
UD
134 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
135
136 [BZ #12078]
137 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
138
b76b818e
UD
139 [BZ #12108]
140 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
141 to have entries in sys_siglist.
142
1751705d
UD
143 [BZ #12093]
144 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
145 be NULL.
146
9ff8d36f
JJ
1472010-10-07 Jakub Jelinek <jakub@redhat.com>
148
149 [BZ #3268]
150 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
151 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
152 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
153 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
154 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
155 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
156 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
157 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
158 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
159 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
160 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
161 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
162 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
163 * math/ftestexcept.c (fetestexcept): Likewise.
164 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
165 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
166 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
167 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
168 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
169 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
170 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
171
af325969
UD
1722010-10-11 Ulrich Drepper <drepper@gmail.com>
173
c579b202 174 [BZ #12107]
af325969
UD
175 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
176 newline.
177
67a67b95
UD
1782010-10-06 Ulrich Drepper <drepper@gmail.com>
179
180 * string/bug-strstr1.c: New file.
181 * string/Makefile: Add rules to build and run bug-strstr1.
182
5fb308bc
EB
1832010-10-05 Eric Blake <eblake@redhat.com>
184
185 [BZ #12092]
186 * string/str-two-way.h (two_way_long_needle): Always clear memory
187 when skipping input due to the shift table.
188
45db99c7
UD
1892010-10-03 Ulrich Drepper <drepper@gmail.com>
190
3b111893
UD
191 [BZ #12005]
192 * malloc/mcheck.c: Handle large requests.
193
45db99c7
UD
194 [BZ #12077]
195 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
196 for strncmp and strncasecmp.
197 * string/stratcliff.c: Add tests for strcmp and strncmp.
198 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
199
cf7a1eb8
NI
2002010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
201
202 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
203 __set_fpscr.
204
6484ba5e
AJ
2052010-09-30 Andreas Jaeger <aj@suse.de>
206
207 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
208 (CGROUP_SUPER_MAGIC): Define.
209 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
210 Handle btrfs and cgroup file systems.
211 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
212 Likewise.
213
91c42559
LM
2142010-09-27 Luis Machado <luisgpm@br.ibm.com>
215
216 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
217 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
218
87a97932
AK
2192010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
220
221 [BZ #12067]
222 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
223 trying to locate the ELF header.
224
c21cc9bc
AS
2252010-09-27 Andreas Schwab <schwab@redhat.com>
226
227 [BZ #11611]
228 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
229 Mask out sign-bit copies when constructing f_fsid.
230
315970f6
PB
2312010-09-24 Petr Baudis <pasky@suse.cz>
232
233 * debug/stack_chk_fail_local.c: Add missing licence exception.
234 * debug/warning-nop.c: Likewise.
235
1ac7a2c7
JM
2362010-09-15 Joseph Myers <joseph@codesourcery.com>
237
238 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
239 implementing getdents64 using getdents syscall, set d_type if
240 __ASSUME_GETDENTS32_D_TYPE.
241
56801c50
AS
2422010-09-16 Andreas Schwab <schwab@redhat.com>
243
244 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
245 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
246
dda51327
UD
2472010-09-21 Ulrich Drepper <drepper@redhat.com>
248
249 [BZ #12037]
250 * posix/unistd.h: Undo change of feature selection for ftruncate from
251 2010-01-11.
252
8ffcee4a
UD
2532010-09-20 Ulrich Drepper <drepper@redhat.com>
254
a545ecd9 255 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
256 detection.
257
e24f0a8b
AS
2582010-09-20 Andreas Schwab <schwab@redhat.com>
259
260 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
261 fanotify_mark.
262 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
263
7291c56f
AS
2642010-09-14 Andreas Schwab <schwab@redhat.com>
265
266 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
267 variables after CHECK_SP call.
268 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
269
bc5fb037
AS
2702010-09-13 Andreas Schwab <schwab@redhat.com>
271 Ulrich Drepper <drepper@redhat.com>
272
273 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
274 re-relocationg ld.so.
275 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
276 _dl_init_paths call.
277 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
278 here anymore.
279
e66e7419
UD
2802010-09-14 Ulrich Drepper <drepper@redhat.com>
281
282 * resolv/res_init.c (__res_vinit): Count the default server we added.
283
c044aa75
CLT
2842010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
285 Ulrich Drepper <drepper@redhat.com>
286
287 [BZ #11968]
288 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
289 (____longjmp_chk): Use %ebx for saving value across system call.
290 Add unwind info.
291
32cf4069
AS
2922010-09-06 Andreas Schwab <schwab@redhat.com>
293
294 * manual/Makefile: Don't mix pattern rules with normal rules.
295
817328ee
AS
2962010-09-05 Andreas Schwab <schwab@linux-m68k.org>
297
298 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
299 operation.
300 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
301 * libio/iofopncook.c (_IO_cookie_init): Likewise.
302 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
303 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
304 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
305 Likewise.
306
29fddf61
UD
3072010-09-04 Ulrich Drepper <drepper@redhat.com>
308
309 [BZ #11979]
310 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
311 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
312
0959ffc9
UD
3132010-09-02 Ulrich Drepper <drepper@redhat.com>
314
315 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
316 * sysdeps/x86_64/addmul_1.S: Likewise.
317 * sysdeps/x86_64/lshift.S: Likewise.
318 * sysdeps/x86_64/mul_1.S: Likewise.
319 * sysdeps/x86_64/rshift.S: Likewise.
320 * sysdeps/x86_64/sub_n.S: Likewise.
321 * sysdeps/x86_64/submul_1.S: Likewise.
322
ece29840
ST
3232010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
324
0959ffc9
UD
325 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
326 Define __sched_param instead of SCHED_* and sched_param when
ece29840 327 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 328 * bits/sched.h [__need_schedparam]
ece29840 329 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
330 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
331 (__defined_schedparam): Define to 1.
ece29840
ST
332 (__sched_param): New structure, identical to sched_param.
333 (__need_schedparam): Undefine.
334
e53a31fe
MF
3352010-08-31 Mike Frysinger <vapier@gentoo.org>
336
fdc0c10d
MF
337 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
338 (epoll_create1): Declare.
339
e53a31fe
MF
340 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
341
a726d796
AS
3422010-08-31 Andreas Schwab <schwab@redhat.com>
343
344 [BZ #7066]
345 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
346 shifting retval into place.
347
2f3e3dc7
UD
3482010-09-01 Ulrich Drepper <drepper@redhat.com>
349
f2933da9
UD
350 * nis/rpcsvc/nis.h: Update copyright notice.
351 * nis/rpcsvc/nis.x: Likewise.
352 * nis/rpcsvc/nis_callback.h: Likewise.
353 * nis/rpcsvc/nis_callback.x: Likewise.
354 * nis/rpcsvc/nis_object.x: Likewise.
355 * nis/rpcsvc/nis_tags.h: Likewise.
356 * nis/rpcsvc/yp.h: Likewise.
357 * nis/rpcsvc/yp.x: Likewise.
358 * nis/rpcsvc/ypupd.h: Likewise.
359 * nis/yp_xdr.c: Likewise.
360 * nis/ypupdate_xdr.c: Likewise.
361
2f3e3dc7
UD
362 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
363 mainly the body of pmap_getport. Add parameters to specify timeouts.
364 (pmap_getport): Use __libc_rpc_getport.
365 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
366 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
367 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
368
f3dcc2f9
AS
3692010-08-31 Andreas Schwab <schwab@linux-m68k.org>
370
371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
372 fanotify_mark.
373
6d34eb5b
RM
3742010-08-27 Roland McGrath <roland@redhat.com>
375
376 * sysdeps/i386/i686/multiarch/Makefile
377 (CFLAGS-varshift.c): New variable.
378
9ea3de11
UD
3792010-08-27 Ulrich Drepper <drepper@redhat.com>
380
c96d23fc
UD
381 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
382 * sysdeps/i386/i686/multiarch/varshift.c: New file.
383
9ea3de11
UD
384 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
385
386 * sysdeps/x86_64/strlen.S: Minimal code improvement.
387
623aac7f
L
3882010-08-26 H.J. Lu <hongjiu.lu@intel.com>
389
390 * sysdeps/x86_64/strlen.S: Unroll the loop.
391 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
392 strlen-sse2 strlen-sse2-bsf.
393 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
394 __strlen_no_bsf if bit_Slow_BSF is set.
395 (__strlen_sse42): Removed.
396 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
397 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
398
8b2b7715
RM
3992010-08-25 Roland McGrath <roland@redhat.com>
400
401 * sysdeps/x86_64/multiarch/varshift.S: File removed.
402 * sysdeps/x86_64/multiarch/varshift.c: New file.
403 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
404 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
405 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
406 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
407
e73015f2
L
4082010-08-25 H.J. Lu <hongjiu.lu@intel.com>
409
410 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
411 strlen-sse2 strlen-sse2-bsf.
412 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
413 __strlen_sse2_bsf if bit_Slow_BSF is unset.
414 (__strlen_sse2): Removed.
415 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
416 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
417 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
418 bit_Slow_BSF for Atom.
419 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
420 (index_Slow_BSF): Define.
421 (HAS_SLOW_BSF): Define.
422
df24a73e
UD
4232010-08-25 Ulrich Drepper <drepper@redhat.com>
424
425 [BZ #10851]
426 * resolv/res_init.c (__res_vinit): When no server address at all
427 is given default to loopback.
428
f2ac4868
RM
4292010-08-24 Roland McGrath <roland@redhat.com>
430
09055553
RM
431 * configure.in: Remove config-name.h generation.
432 * configure: Regenerated.
433 * config-name.in: File removed.
434 * scripts/config-uname.sh: New file.
435 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
436 ($(objdir)config-name.h): New target.
437
f2ac4868
RM
438 * sunrpc/rpc_parse.h: Avoid nested comment.
439
73f27d5e
RH
4402010-08-24 Richard Henderson <rth@redhat.com>
441 Ulrich Drepper <drepper@redhat.com>
442 H.J. Lu <hongjiu.lu@intel.com>
443
444 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
445 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
446 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
447 Replace _mm_srli_si128 with __m128i_shift_right. Replace
448 _mm_alignr_epi8 with _mm_loadu_si128.
449 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
450 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
451 (__m128i_shift_right): Removed.
452 * sysdeps/i386/i686/multiarch/varshift.h: New file.
453 * sysdeps/i386/i686/multiarch/varshift.S: New file.
454 * sysdeps/x86_64/multiarch/varshift.h: New file.
455 * sysdeps/x86_64/multiarch/varshift.S: New file.
456
84b9230c
MF
4572010-08-21 Mike Frysinger <vapier@gentoo.org>
458
459 * configure.in: Move assembler checks to before sysdep dir checking.
460
9bbd0ddc
PB
4612010-08-20 Petr Baudis <pasky@suse.cz>
462
463 * LICENSES: Sync the sunrpc license.
464
9da4bb31
UD
4652010-08-19 Ulrich Drepper <drepper@redhat.com>
466
a7ab6ec8
UD
467 * sunrpc/auth_des.c: Update copyright notice once again.
468 * sunrpc/auth_none.c: Likewise.
469 * sunrpc/auth_unix.c: Likewise.
470 * sunrpc/authdes_prot.c: Likewise.
471 * sunrpc/authuxprot.c: Likewise.
472 * sunrpc/bindrsvprt.c: Likewise.
473 * sunrpc/clnt_gen.c: Likewise.
474 * sunrpc/clnt_perr.c: Likewise.
475 * sunrpc/clnt_raw.c: Likewise.
476 * sunrpc/clnt_simp.c: Likewise.
477 * sunrpc/clnt_tcp.c: Likewise.
478 * sunrpc/clnt_udp.c: Likewise.
479 * sunrpc/clnt_unix.c: Likewise.
480 * sunrpc/des_crypt.c: Likewise.
481 * sunrpc/des_soft.c: Likewise.
482 * sunrpc/get_myaddr.c: Likewise.
483 * sunrpc/getrpcport.c: Likewise.
484 * sunrpc/key_call.c: Likewise.
485 * sunrpc/key_prot.c: Likewise.
486 * sunrpc/openchild.c: Likewise.
487 * sunrpc/pm_getmaps.c: Likewise.
488 * sunrpc/pm_getport.c: Likewise.
489 * sunrpc/pmap_clnt.c: Likewise.
490 * sunrpc/pmap_prot.c: Likewise.
491 * sunrpc/pmap_prot2.c: Likewise.
492 * sunrpc/pmap_rmt.c: Likewise.
493 * sunrpc/rpc/auth.h: Likewise.
494 * sunrpc/rpc/auth_unix.h: Likewise.
495 * sunrpc/rpc/clnt.h: Likewise.
496 * sunrpc/rpc/des_crypt.h: Likewise.
497 * sunrpc/rpc/key_prot.h: Likewise.
498 * sunrpc/rpc/netdb.h: Likewise.
499 * sunrpc/rpc/pmap_clnt.h: Likewise.
500 * sunrpc/rpc/pmap_prot.h: Likewise.
501 * sunrpc/rpc/pmap_rmt.h: Likewise.
502 * sunrpc/rpc/rpc.h: Likewise.
503 * sunrpc/rpc/rpc_des.h: Likewise.
504 * sunrpc/rpc/rpc_msg.h: Likewise.
505 * sunrpc/rpc/svc.h: Likewise.
506 * sunrpc/rpc/svc_auth.h: Likewise.
507 * sunrpc/rpc/types.h: Likewise.
508 * sunrpc/rpc/xdr.h: Likewise.
509 * sunrpc/rpc_clntout.c: Likewise.
510 * sunrpc/rpc_cmsg.c: Likewise.
511 * sunrpc/rpc_common.c: Likewise.
512 * sunrpc/rpc_cout.c: Likewise.
513 * sunrpc/rpc_dtable.c: Likewise.
514 * sunrpc/rpc_hout.c: Likewise.
515 * sunrpc/rpc_main.c: Likewise.
516 * sunrpc/rpc_parse.c: Likewise.
517 * sunrpc/rpc_parse.h: Likewise.
518 * sunrpc/rpc_prot.c: Likewise.
519 * sunrpc/rpc_sample.c: Likewise.
520 * sunrpc/rpc_scan.c: Likewise.
521 * sunrpc/rpc_scan.h: Likewise.
522 * sunrpc/rpc_svcout.c: Likewise.
523 * sunrpc/rpc_tblout.c: Likewise.
524 * sunrpc/rpc_util.c: Likewise.
525 * sunrpc/rpc_util.h: Likewise.
526 * sunrpc/rpcinfo.c: Likewise.
527 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
528 * sunrpc/rpcsvc/key_prot.x: Likewise.
529 * sunrpc/rpcsvc/klm_prot.x: Likewise.
530 * sunrpc/rpcsvc/mount.x: Likewise.
531 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
532 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
533 * sunrpc/rpcsvc/rex.x: Likewise.
534 * sunrpc/rpcsvc/rstat.x: Likewise.
535 * sunrpc/rpcsvc/rusers.x: Likewise.
536 * sunrpc/rpcsvc/sm_inter.x: Likewise.
537 * sunrpc/rpcsvc/spray.x: Likewise.
538 * sunrpc/rpcsvc/yppasswd.x: Likewise.
539 * sunrpc/rtime.c: Likewise.
540 * sunrpc/svc.c: Likewise.
541 * sunrpc/svc_auth.c: Likewise.
542 * sunrpc/svc_authux.c: Likewise.
543 * sunrpc/svc_raw.c: Likewise.
544 * sunrpc/svc_run.c: Likewise.
545 * sunrpc/svc_simple.c: Likewise.
546 * sunrpc/svc_tcp.c: Likewise.
547 * sunrpc/svc_udp.c: Likewise.
548 * sunrpc/svc_unix.c: Likewise.
549 * sunrpc/svcauth_des.c: Likewise.
550 * sunrpc/xcrypt.c: Likewise.
551 * sunrpc/xdr.c: Likewise.
552 * sunrpc/xdr_array.c: Likewise.
553 * sunrpc/xdr_float.c: Likewise.
554 * sunrpc/xdr_mem.c: Likewise.
555 * sunrpc/xdr_rec.c: Likewise.
556 * sunrpc/xdr_ref.c: Likewise.
557 * sunrpc/xdr_sizeof.c: Likewise.
558 * sunrpc/xdr_stdio.c: Likewise.
559
9da4bb31
UD
560 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
561 handling.
562
bdaa77bc
AS
5632010-08-19 Andreas Schwab <schwab@redhat.com>
564
565 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
566
fe2f79db
LM
5672010-08-19 Luis Machado <luisgpm@br.ibm.com>
568
569 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
570 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
571 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
572 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
573 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
574 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
575 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
576 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
577 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
578 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
579 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
580 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
581 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
582 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
583
b9b42ee0
AB
5842010-07-26 Anton Blanchard <anton@samba.org>
585
586 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
587 * malloc/arena.c (heap_trim): Likewise.
588
1c06ba31
UD
5892010-08-16 Ulrich Drepper <drepper@redhat.com>
590
591 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
592 here. Not...
593 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
594 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
595
f8392f40
L
5962010-08-12 H.J. Lu <hongjiu.lu@intel.com>
597
598 * sysdeps/i386/elf/Makefile: New file.
599
3162f12e
AS
6002010-08-14 Andreas Schwab <schwab@linux-m68k.org>
601
602 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
603 from fanotify_init.
604 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
605 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
606
28c90b2c
UD
6072010-08-15 Ulrich Drepper <drepper@redhat.com>
608
609 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
610 of strncasecmp_l.
1feccb6c 611 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 612
ca6bb004
UD
6132010-08-14 Ulrich Drepper <drepper@redhat.com>
614
e9f82e0d
UD
615 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
616 strncase_l-nonascii.
617 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
618 Add strncase_l-ssse3.
619 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
620 * sysdeps/x86_64/strcmp.S: Likewise.
621 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
622 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
623 * sysdeps/x86_64/strncase.S: New file.
624 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
625 * sysdeps/x86_64/strncase_l.S: New file.
626 * string/Makefile (strop-tests): Add strncasecmp.
627 * string/test-strncasecmp.c: New file.
628
629 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
630 warning.
631
ca6bb004
UD
632 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
633 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
634
052fa7b3
AS
6352010-08-14 Andreas Schwab <schwab@linux-m68k.org>
636
637 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
638
962dba78
UD
6392010-08-12 Ulrich Drepper <drepper@redhat.com>
640
641 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
642 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
643 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
644
bebff237
AM
6452010-05-01 Alan Modra <amodra@gmail.com>
646
647 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
648 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
649 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
650 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
651 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
652 tidying. Don't tail-call __sigjmp_save for static lib.
653 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
654 save location.
655 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
656 (CALL_MCOUNT): Add eh info, and nop after bl.
657 (TAIL_CALL_SYSCALL_ERROR): New macro.
658 (PSEUDO_RET): Use it.
659 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
660 Correct save location of integer regs and cr.
661 (_dl_profile_resolve): Correct cr save location. Delete nops
662 after bl when SHARED. Reduce cfi size a little by better
663 placement of cfi directives.
664 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
665 make a stack frame. Instead use parm save area as a temp.
666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
667 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
669 Don't make a stack frame for parent, use parm save area.
670 Increase child stack frame to 112 bytes. Don't save unused reg,
671 and adjust reg usage. Set up cfi on error recovery and
672 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
674 (__makecontext): Add dummy nop after jump to exit.
675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
676 Use correct parm save area and cr save, reduce stack frame.
677 Correct cfi for possible PSEUDO_RET frame setup.
678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
679 Branch to local label emitted by PSEUDO_RET rather than
680 __syscall_error.
681
02637374
AS
6822010-08-12 Andreas Schwab <schwab@redhat.com>
683
684 [BZ #11904]
685 * locale/programs/locale.c (print_assignment): New function.
686 (show_locale_vars): Use it.
687
c3e2f19b
UD
6882010-08-11 Ulrich Drepper <drepper@redhat.com>
689
3cdaa6ad
UD
690 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
691 field.
692 (struct statfs64): Likewise.
693 (_STATFS_F_FLAGS): Define.
694 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
695 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
696 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
697 (ST_VALID): Define locally.
698 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
699 __statvfs_getflags, use the provided value.
700 * sysdeps/unix/sysv/linux/kernel-features.h: Define
701 __ASSUME_STATFS_F_FLAGS.
702
754f7da3
UD
703 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
704
10b3bedc
UD
705 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
706 Add sys/fanotify.h.
707 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
708 fanotify_mask for GLIBC_2.13.
709 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
710 fanotify_init and fanotify_mark.
711 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
712 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
713
c08fb0d7
UD
714 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
715 Add prlimit.
716 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
717 prlimit64 for GLIBC_2.13.
718 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
719 prlimit64.
720 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
721 syscall.
722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
723 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
724 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
725 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
726 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
727 add prlimit alias.
728 * sysdeps/unix/sysv/linux/prlimit.c: New file.
729
15bac72b
UD
730 [BZ #11903]
731 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
732 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
733
c3e2f19b
UD
734 * nss/Makefile: Add rules to build and run tst-nss-test1.
735 * shlib-versions: Add entry for libnss_test1.
736 * nss/nss_test1.c: New file.
737 * nss/tst-nss-test1.c: New file.
738
739 * nss/nsswitch.c (__nss_database_custom): Define new variable.
740 (__nss_configure_lookup): Set appropriate entry in
741 __nss_configure_lookup to true.
742 * nss/nsswitch.h: Define enum with indeces of databases in
743 databases and __nss_database_custom arrays. Declare
744 __nss_database_custom.
745 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
746 to avoid using nscd when custom rules are installed.
747 * nss/getXXbyYY_r.c: Likewise.
748 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
749
750 * nss/nss_files/files-parse.c: Whitespace fixes.
751
f15ce4d8
UD
7522010-08-09 Ulrich Drepper <drepper@redhat.com>
753
754 [BZ #11883]
755 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
756 * posix/fnmatch_loop.c: Likewise.
757
d22e4cc9
AK
7582010-07-17 Andi Kleen <ak@linux.intel.com>
759
760 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
761 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
762 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
763 * Versions.def [GLIBC_2.13]: Add.
764
805bc17d
UD
7652010-08-06 Ulrich Drepper <drepper@redhat.com>
766
767 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
768 Also fail if tpwd after pwuid call is NULL.
769
5a42321d
ST
7702010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
771
772 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
773 when converting to ms.
774
fd3ebeda
ST
7752010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
776
777 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
778 EOPNOTSUPP errors with ENOTTY.
779 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
780 EOPNOTSUPP errors with ENOTTY.
781
73507d3a
UD
7822010-07-31 Ulrich Drepper <drepper@redhat.com>
783
784 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
785 Add strcasecmp_l-ssse3.
786 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
787 strcasecmp.
788 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
789 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
790 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
791
fe36dd02
UD
7922010-07-30 Ulrich Drepper <drepper@redhat.com>
793
66f6765a
UD
794 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
795
42e08a54
UD
796 * string/Makefile (strop-tests): Add strcasecmp.
797 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
798 strcasecmp_l-nonascii.
799 (gen-as-const-headers): Add locale-defines.sym.
800 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
801 * sysdeps/x86_64/strcasecmp.S: New file.
802 * sysdeps/x86_64/strcasecmp_l.S: New file.
803 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
804 * sysdeps/x86_64/locale-defines.sym: New file.
805 * string/test-strcasecmp.c: New file.
806
fe36dd02
UD
807 * string/test-strcasestr.c: Test both ends of the range of characters.
808 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
809
48cbc0d6
RM
8102010-07-29 Roland McGrath <roland@redhat.com>
811
76e6d6bc 812 [BZ #11856]
48cbc0d6
RM
813 * manual/locale.texi (Yes-or-No Questions): Fix example code.
814
880113d9
UD
8152010-07-27 Ulrich Drepper <drepper@redhat.com>
816
817 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
818 for ld.so.
819
deb9cabb
AS
8202010-07-27 Andreas Schwab <schwab@redhat.com>
821
822 * manual/memory.texi (Malloc Tunable Parameters): Document
823 M_PERTURB.
824
1c7570ff
RM
8252010-07-26 Roland McGrath <roland@redhat.com>
826
827 [BZ #11840]
828 * configure.in (-fgnu89-inline check): Set and substitute
829 gnu89_inline, not libc_cv_gnu89_inline.
830 * configure: Regenerated.
831 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
832
24fb0f88
UD
8332010-07-26 Ulrich Drepper <drepper@redhat.com>
834
835 * string/test-strnlen.c: New file.
836 * string/Makefile (strop-tests): Add strnlen.
837 * string/tester.c (test_strnlen): Add a few more test cases.
838 * string/tst-strlen.c: Better error reporting.
839
840 * sysdeps/x86_64/strnlen.S: New file.
841
8e96b93a
UD
8422010-07-24 Ulrich Drepper <drepper@redhat.com>
843
844 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
845 lower-latency instructions.
846
dbc676d4
UD
8472010-07-23 Ulrich Drepper <drepper@redhat.com>
848
849 * string/test-strcasestr.c: New file.
850 * string/test-strstr.c: New file.
851 * string/Makefile (strop-tests): Add strstr and strcasestr.
852 * string/str-two-way.h: Don't undefine MAX.
853 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
854
f6a31e0e
AS
8552010-07-21 Andreas Schwab <schwab@redhat.com>
856
857 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
858 strcasestr-nonascii.
859 (CFLAGS-strcasestr-nonascii.c): Define.
860 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
861 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
862 Remove unused attribute.
863
5dbc3b6c
RM
8642010-07-20 Roland McGrath <roland@redhat.com>
865
866 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
867 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
868 ld.so.cache was broken. With it, there is no way to disable dsocaps
869 like LD_HWCAP_MASK can disable hwcaps.
870
23d101d8
EPM
8712010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
872
873 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
874
cc9f2e47
UD
8752010-07-16 Ulrich Drepper <drepper@redhat.com>
876
877 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
878 call in strcasestr.
879 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
880 __strcasestr_sse42_nonascii.
881 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
882 strcasestr-nonascii.c.
883 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
884
77c1b069
LM
8852010-06-15 Luis Machado <luisgpm@br.ibm.com>
886
887 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
888 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
889 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
890 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
891
440566c3
UD
8922010-07-09 Ulrich Drepper <drepper@redhat.com>
893
894 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
895 fcntl.
896
5be9d05d
AS
8972010-07-06 Andreas Schwab <schwab@redhat.com>
898
899 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
900 dl_signal_cerror.
901
8a492a67
UD
9022010-07-06 Ulrich Drepper <drepper@redhat.com>
903
904 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
905 _PC_PIPE_BUF using F_GETPIPE_SZ.
906
713df3d5
RM
9072010-07-05 Roland McGrath <roland@redhat.com>
908
909 * manual/arith.texi (Rounding Functions): Fix rint description
910 implicit in round description.
911
702e8f14
UD
9122010-07-02 Ulrich Drepper <drepper@redhat.com>
913
914 * elf/Makefile: Fix linking for a few tests to make recent linker
915 happy.
916
52ed8be9
AS
9172010-06-30 Andreas Schwab <schwab@redhat.com>
918
919 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
920 $(common-objpfx)libc_nonshared.a.
921
f47c9a11
LM
9222010-06-21 Luis Machado <luisgpm@br.ibm.com>
923
924 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
925 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
926 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
927 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
928 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
929 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
930 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
931 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
946 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
947 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
948 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
949 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
950 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
951 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
952 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
953 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
954 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
955 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
956 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
957 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
972
6fb8cbcb
L
9732010-06-25 H.J. Lu <hongjiu.lu@intel.com>
974
975 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
976 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
977 * string/memmove.c (memmove): Renamed to ...
978 (MEMMOVE): ...this. Default to memmove.
979 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
980 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
981 (END_CHK): Define.
982 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
983 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
984 mempcpy-ssse3-back memmove-ssse3-back.
985 * sysdeps/x86_64/multiarch/bcopy.S: New file .
986 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
987 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
988 * sysdeps/x86_64/multiarch/memcpy.S: New file.
989 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
990 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
991 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
992 * sysdeps/x86_64/multiarch/memmove.c: New file.
993 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
994 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
995 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
996 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
997 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
998 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
999 Define.
1000 (index_Fast_Copy_Backward): Define.
1001 (HAS_ARCH_FEATURE): Define.
1002 (HAS_FAST_REP_STRING): Define.
1003 (HAS_FAST_COPY_BACKWARD): Define.
1004
4e733bac 10052010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
1006
1007 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
1008 Restore proper fallback handling.
1009
63c4ed22
UD
10102010-06-19 Ulrich Drepper <drepper@redhat.com>
1011
ac2b484c
UD
1012 [BZ #11701]
1013 * posix/group_member.c (__group_member): Correct checking loop.
1014
63c4ed22
UD
1015 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
1016 OOM in getpwuid_r correctly. Return error number when the caller
1017 should return, otherwise -1.
1018 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
1019 call returning > 0 value.
1020 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
1021
765ade4b
AS
10222010-06-07 Andreas Schwab <schwab@redhat.com>
1023
1024 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
1025 libc_nonshared.a from targets in modules-names.
1026
80da2e09
KS
10272010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
1028
1029 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
1030 requires it.
1031
158db122
LM
10322010-06-10 Luis Machado <luisgpm@br.ibm.com>
1033
1034 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
1035 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
1036 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
1037 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
1038
caa78cf8
AS
10392010-06-02 Andreas Schwab <schwab@redhat.com>
1040
1041 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
1042
b2ef2c01
UD
10432010-06-14 Ulrich Drepper <drepper@redhat.com>
1044
1045 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
1046 and F_GETPIPE_SZ.
1047 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
1048 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
1049 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1050 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1051 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
1052 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
1053
fbd643b6
RM
10542010-06-14 Roland McGrath <roland@redhat.com>
1055
1056 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
1057
f32f2869
JJ
10582010-06-07 Jakub Jelinek <jakub@redhat.com>
1059
1060 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
1061 __REDIRECT followed by __THROW.
1062 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
1063 * posix/getopt.h (getopt): Likewise.
1064
2a50c078
EPM
10652010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
1066
1067 * hurd/lookup-at.c (__file_name_lookup_at): Accept
1068 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
1069 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
1070 in AT_FLAGS.
1071 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
1072 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
1073
eb5ad2eb
LM
10742010-05-28 Luis Machado <luisgpm@br.ibm.com>
1075
1076 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
1077
3c88fe1e
L
10782010-05-26 H.J. Lu <hongjiu.lu@intel.com>
1079
1080 [BZ #11640]
1081 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1082 Properly check family and model.
1083
d2f73151
TY
10842010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
1085
1086 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
1087
ebd2e13d
LM
10882010-05-24 Luis Machado <luisgpm@br.ibm.com>
1089
1090 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
1091
b32b8b45
UD
10922010-05-21 Ulrich Drepper <drepper@redhat.com>
1093
1094 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
1095 symbol reference.
1096
9acbe24d
AS
10972010-05-19 Andreas Schwab <schwab@redhat.com>
1098
1099 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
1100 symbol reference.
1101
f0ccf6ea
AS
11022010-05-21 Andreas Schwab <schwab@redhat.com>
1103
3d04ff3a
AS
1104 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
1105 and internal_recvmmsg.
1106 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
1107 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
1108 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
1109 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
1110
f0ccf6ea
AS
1111 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
1112 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1113 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1114
5b08ac57
AS
11152010-05-20 Andreas Schwab <schwab@redhat.com>
1116
1117 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
1118
4828935d
LM
11192010-05-17 Luis Machado <luisgpm@br.ibm.com>
1120
1121 POWER7 optimizations.
1122 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
1123 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
1124
373d545e
UD
11252010-05-19 Ulrich Drepper <drepper@redhat.com>
1126
1127 * version.h: Update for 2.13 development version.
1128
21a2b1ae
AS
11292010-05-12 Andrew Stubbs <ams@codesourcery.com>
1130
1131 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
1132 exceptions. Return 0.
1133
3f7dcb2b
RM
11342010-05-07 Roland McGrath <roland@redhat.com>
1135
1136 * elf/ldconfig.c (main): Add a const.
1137
5f24d53a 11382010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 1139
a160f8d8
UD
1140 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
1141 (args_options): Add no-idn option.
1142 (ahosts_keys_int): Add idn_flags to ai_flags.
1143 (parse_option): Handle 'i' option to clear idn_flags.
1144
5f24d53a
UD
1145 * malloc/malloc.c (_int_free): Possible race in the most recently
1146 added check. Only act on the data if no current modification
1147 happened.
265bb1ce
UD
1148
1149See ChangeLog.17 for earlier changes.