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