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