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