]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
7f513ec8
RM
12011-09-08 Roland McGrath <roland@hack.frob.com>
2
3 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
4 garbage value in a __mach_port_mod_refs call in the cases of the
5 task-self and thread-self ports.
6
a12b2239
ST
72011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8
9 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10
610f9ab4
AS
112011-09-08 Andreas Schwab <schwab@redhat.com>
12
7f513ec8 13 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 14
48882a1a
LD
152011-09-07 Ulrich Drepper <drepper@gmail.com>
16
b49865be
UD
17 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
18
fdc86bc9
UD
19 * elf/dl-libc.c (dlerror_run): Pass back error code from
20 dl_catch_error.
21
c966526a
UD
22 [BZ #13123]
23 * elf/dl-load.c (lose): Free l_origin if it is valid.
24
48882a1a
LD
25 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
26 names.
27 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33
77a2a8b4
AZ
342011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35
36 * sysdeps/powerpc/fpu/e_hypot.c: New file.
37 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
38 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
40 * sysdeps/powerpc/fpu/k_cosf.c: New file.
41 * sysdeps/powerpc/fpu/k_sinf.c: New file.
42 * sysdeps/powerpc/fpu/s_cosf.c: New file.
43 * sysdeps/powerpc/fpu/s_sinf.c: New file.
44 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46
24f579d8
AM
472011-08-15 Alan Modra <amodra@gmail.com>
48
49 [BZ #13092]
50 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
51 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
52 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
53 ppc_mcount to static-only-routines.
54 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
55 __mcount_internal.
56 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
57 __mcount_internal with usual JUMPTARGET. Remove useless nop.
58
3d4837df
UD
592011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
60
61 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
62 for finite and infinity parameters.
63
22700377
WS
642011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
65
66 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
67 and add nop instructions for throughput optimization.
68 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
69
5025581e
WS
702011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
71
72 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
73 aligned copy for power7 with vector-scalar instructions.
74 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
75
08a300c9
L
762011-07-24 H.J. Lu <hongjiu.lu@intel.com>
77
78 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
79 AVX check.
80
59178ef9
AS
812011-09-07 Andreas Schwab <schwab@redhat.com>
82
83 [BZ #13144]
84 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
85 last change.
86
e38ba7ab
UD
872011-09-07 Ulrich Drepper <drepper@gmail.com>
88
89 * sysdeps/unix/sysv/linux/x86_64/init-first.c
90 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
91 syscall wrapper around clock_gettime in __vdso_clock_gettime.
92 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
93 clock_gettime.
94
d53a73ac
UD
952011-09-06 Ulrich Drepper <drepper@gmail.com>
96
fc8bffcc
UD
97 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
98 Forgot to demangle the pointer.
99
ceaa0c5d
UD
100 * sysdeps/i386/sysdep.h: Define atom_text_section.
101 * sysdeps/x86_64/sysdep.h: Likewise.
102 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
103 section with atom_text_section.
104 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
105 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
106 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
107 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
108 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
109
a77d3c17
UD
110 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
111 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
112 already be defined. Change to take two parameters and don't assign
113 result to variable. Adjust all users.
114 Define INTERNAL_GETTIME if not already defined.
115 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
116 call.
117 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
118 HAVE_CLOCK_GETTIME_VSYSCALL.
119 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
120
d53a73ac
UD
121 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
122 gettimeofday vsyscall, just use time.
123
a8f84144
AS
1242011-09-06 Andreas Schwab <schwab@redhat.com>
125
126 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
127 <errno.h>.
128
ef606249
UD
1292011-09-06 Ulrich Drepper <drepper@gmail.com>
130
131 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
132 syscall on x86-64.
133 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
134 syscall.
135 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
136 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
137 syscall if possible.
138
6585cb60
UD
1392011-09-05 Ulrich Drepper <drepper@gmail.com>
140
141 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
142 e_ident. Don't pass to find_mapsXX.
143 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
144
a5f524e4
LD
1452011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
146
147 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
148 strchr-sse2-no-bsf strrchr-sse2-no-bsf
149 * sysdeps/x86_64/multiarch/strchr.S: Update.
150 Check bit_slow_BSF bit.
151 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
152 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
153 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
154
554881ef
UD
1552011-09-05 Ulrich Drepper <drepper@gmail.com>
156
d96de963
UD
157 [BZ #13134]
158 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
159 before glibc 2.15.
160 (tryshell): Define.
161 (__spawni): Change last parameter to be flag. Test
162 SPAWN_XFLAGS_USE_PATH flag to use path or not.
163 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
164 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
165 * posix/spawni.c: Likewise.
166 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
167 * posix/spawnp.c: Likewise. Change normal version to use
168 SPAWN_XFLAGS_USE_PATH.
169 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
170 SPAWN_XFLAGS_TRY_SHELL.
171
d48e5868
UD
172 [BZ #13150]
173 * posix/glob.h: Remove gcc 1.x support.
174
554881ef
UD
175 [BZ #13068]
176 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
177
693fb948
LD
1782011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
179
180 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
181 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
182 strrchr-sse2-bsf
183 * sysdeps/i386/i686/multiarch/strchr.S: New file.
184 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
185 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
186 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
187 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
188 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
189
1b48c537
UD
1902011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
191
49d42c37
UD
192 * sysdeps/x86_64/wcscmp.S: New file.
193
1b48c537
UD
194 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
195 wcscmp-c wcscmp-sse2
196 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
197 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
198 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
199 * wcsmbs/wcscmp.c: Allow renaming.
200
15c95c5d
DM
2012011-09-05 David S. Miller <davem@davemloft.net>
202
203 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
204 stack slot, rather than the struct return pointer slot.
205 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
206 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
208 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
209
2f0ad8f3
UD
2102011-09-05 Ulrich Drepper <drepper@gmail.com>
211
d88ae418
UD
212 * po/ja.po: Update from translation team.
213
2f0ad8f3
UD
214 [BZ #13144]
215 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
216 kernel in 64-bit binaries.
217
5f4318d1
DM
2182011-09-01 David S. Miller <davem@davemloft.net>
219
220 * elf/elf.h (HWCAP_SPARC_*): Move to..
221 * sysdeps/sparc/sysdep.h: this new file and add new values.
222 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
223 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
224 _DL_HWCAP_COUNT to 24.
225 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
226 entries.
227 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
228 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
229 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
230 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
231 instead of magic constants.
232 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
233
3ba57516
DM
2342011-08-31 David S. Miller <davem@davemloft.net>
235
236 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
237 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
238 Reimplement to do errno handling inline.
239 (SYSCALL_ERROR_HANDLER): New macro.
240 (__SYSCALL_STRING): Do not do errno handling in asm.
241 (__CLONE_SYSCALL_STRING): Delete.
242 (__INTERNAL_SYSCALL_STRING): Delete.
243 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
244 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
245 (PSEUDO): Reimplement to do errno handling inline.
246 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
247 (SYSCALL_ERROR_HANDLER): New macro.
248 (__SYSCALL_STRING): Do not do errno handling in asm.
249 (__CLONE_SYSCALL_STRING): Delete.
250 (__INTERNAL_SYSCALL_STRING): Delete.
251 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
252 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
253 i386.
254 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
255 (inline_syscall*): Add 'err' argument.
256 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
257 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
258 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
259 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
260
261 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
262 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
263
2bc17433
AS
2642011-08-30 Andreas Schwab <schwab@redhat.com>
265
266 * elf/rtld.c (dl_main): Relocate objects in dependency order.
267
fbeb5f4d
JO
2682011-08-29 Jiri Olsa <jolsa@redhat.com>
269
270 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
271 directive.
272
ad69cc26
DM
2732011-08-24 David S. Miller <davem@davemloft.net>
274
275 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
276
39dd69df
AS
2772011-08-24 Andreas Schwab <schwab@redhat.com>
278
279 * elf/Makefile: Add rules to build and run unload8 test.
280 * elf/unload8.c: New file.
281 * elf/unload8mod1.c: New file.
282 * elf/unload8mod1x.c: New file.
283 * elf/unload8mod2.c: New file.
284 * elf/unload8mod3.c: New file.
285
286 * elf/dl-close.c (_dl_close_worker): Reset private search list if
287 it wasn't used.
288
2c0b250a
DM
2892011-08-23 David S. Miller <davem@davemloft.net>
290
291 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
292 subtract stack bias.
293 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
294 %sp not %fp in calculations.
295 (_JMPBUF_UNWINDS_ADJ): Likewise.
296
22044b48
DM
297 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
298 (aio_suspend): Call it to force an exception region around the
299 AIO_MISC_WAIT() invocation.
300
2cae4995
AS
3012011-08-23 Andreas Schwab <schwab@redhat.com>
302
303 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
304 backslash.
305
873a772e
AJ
3062011-07-04 Aurelien Jarno <aurelien@aurel32.net>
307
308 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
309 protection macro.
310 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
311 and <dl-machine.h>.
312 (Elf64_FuncDesc): Remove.
313
25ad0df1
DM
3142011-08-22 David S. Miller <davem@davemloft.net>
315
316 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
317 sigaltstack check, add missing cfi directives.
318 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
319 missing cfi directives, and sigaltstack handling.
320
e888bcbe
AS
3212011-08-16 Andreas Schwab <schwab@redhat.com>
322
323 [BZ #11724]
324 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
325 object is seen twice.
326 * elf/dl-fini.c (_dl_sort_fini): Likewise.
327
328 * elf/Makefile (distribute): Add tst-initorder2.c.
329 (tests): Add tst-initorder2.
330 (modules-names): Add tst-initorder2a tst-initorder2b
331 tst-initorder2c tst-initorder2d. Add rules to build them.
332 ($(objpfx)tst-initorder2.out): New rule.
333 * elf/tst-initorder2.c: New file.
334 * elf/tst-initorder2.exp: New file.
335
87162f46
AS
3362011-08-22 Andreas Schwab <schwab@redhat.com>
337
70538b7f
AS
338 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
339
f55ffe58
AS
340 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
341 dependencies back to end of function.
342
87162f46
AS
343 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
344 $(elfobjdir)/ld.so.
345
91b392a4
UD
3462011-08-21 Ulrich Drepper <drepper@gmail.com>
347
348 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
349 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
350 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
351 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
352 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
353 of __vdso_gettimeofday.
354 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
355 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
356 attribute_hidden.
357 (_libc_vdso_platform_setup): Remove initialization of
358 __vdso_gettimeofday and __vdso_time.
359
5c43483f
UD
3602011-08-20 Ulrich Drepper <drepper@gmail.com>
361
775a77e7
UD
362 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
363 and fgetc_unlocked.
364 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
365 getc_unlocked.
89f447ed 366
49c74ba9
UD
367 * elf/dl-open.c (add_to_global): Report additions to the global scope
368 for LD_DEBUG=scopes.
369 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 370 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 371
5c43483f
UD
372 [BZ #13114]
373 * stdio-common/Makefile (tests): Add bug24.
374 * stdio-common/bug24.c: New file.
375
a101b025
AJ
3762011-08-19 Andreas Jaeger <aj@suse.de>
377
378 [BZ #13114]
379 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
380 non-existant file when using close-on-exec mode.
381
c88f1766
UD
3822011-08-20 Ulrich Drepper <drepper@gmail.com>
383
0276a718
UD
384 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
385 the very first instruction.
386
c88f1766
UD
387 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
388 the CFI state in the end.
389 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
390 inclusion of dl-trampoline.h.
391 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
392
51ccffa0
AS
3932011-08-19 Andreas Schwab <schwab@redhat.com>
394
94d7165f
AS
395 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
396 expectations for long double.
397
51ccffa0
AS
398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
399 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
400
fd708658 4012011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
402
403 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
404 artificual limit depends upon the system page size.
405
44f0a71e
UD
4062011-08-17 Ulrich Drepper <drepper@gmail.com>
407
408 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
409 * resolv/Makefile: Define CFLAGS-libresolv.
410
8de79a24
AS
4112011-08-17 Andreas Schwab <schwab@redhat.com>
412
413 * nss/makedb.c (compute_tables): Make variables used in nested
414 function static.
415
27724598
UD
4162011-08-17 Ulrich Drepper <drepper@gmail.com>
417
c5305d88
UD
418 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
419 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
420 if buffer was too small.
421
27724598
UD
422 * elf/pldd.c (main): Attach to all threads in the process.
423 Rewrite /proc handling to use *at functions.
424
076fe015
UD
4252011-08-16 Ulrich Drepper <drepper@gmail.com>
426
174baab3
UD
427 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
428 specifies first scope to show.
429 (dl_open_worker): Update callers. Move printing scope of new
430 object to before the relocation.
44f0a71e 431 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
432 * sysdeps/generic/ldsodefs.h: Update declaration.
433
076fe015
UD
434 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
435 string for the scope number.
436
a60df2c3
UD
4372011-08-14 Ulrich Drepper <drepper@gmail.com>
438
439 * nscd/servicescache.c (cache_addserv): Make sure written is always
440 initialized.
441
5e4287d1
RM
4422011-08-14 Roland McGrath <roland@hack.frob.com>
443
85ae0589
RM
444 * sysdeps/i386/i486/bits/atomic.h
445 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
446 statement expression, so as to suppress "set but not used" warning.
447 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
448
69f63097
RM
449 * string/strncat.c (STRNCAT): Use prototype definition.
450
675456ef
RM
451 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
452 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
453 -Iprograms here.
454 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
455 (localedef-modules): Add localedef.
456 (locale-modules): Add locale.
457
5e4287d1
RM
458 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
459 * elf/rtld.c (dl_main): Invert order of assignment in last change,
460 to avoid a warning.
461
9c96ff23
DM
4622011-08-14 David S. Miller <davem@davemloft.net>
463
464 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
465 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
466
f9ddf089
UD
4672011-08-13 Ulrich Drepper <drepper@gmail.com>
468
44f0a71e 469 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
470 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
471 * elf/rtld.c (dl_main): Set l_name of vDSO.
472 Call _dl_show_scope when DL_DEBUG_SCOPES.
473 (process_dl_debug): Recognize scopes flag and also set it for all.
474 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
475 Declare _dl_show_scope.
476
1dc27704
UD
477 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
478 (do_dlopen): Pass caller_dlopen to dl_open.
479 (__libc_dlopen_mode): Initialize caller_dlopen.
480
f9ddf089
UD
481 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
482 of libc. Make tolower call locale-independent. Optimize a bit by
483 using isdigit instead of isalnum.
484 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
485
9ac533d3
UD
4862011-08-12 Ulrich Drepper <drepper@gmail.com>
487
488 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
489 was a dependency or dynamically loaded.
490
89edf2e9
UD
4912011-08-11 Ulrich Drepper <drepper@gmail.com>
492
8e999d29
UD
493 * intl/l10nflist.c: Allow architecture-specific pop function.
494 * sysdeps/x86_64/l10nflist.c: New file.
495
89edf2e9
UD
496 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
497 classification.
498
14d96785
AS
4992011-08-10 Andreas Schwab <schwab@redhat.com>
500
501 * include/dirent.h: Add libc_hidden_proto for scandirat and
502 scandirat64. Don't declare __scandirat64.
503 * dirent/scandirat.c: Add libc_hidden_def.
504 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
505 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
506
6761ac04
DM
5072011-08-10 David S. Miller <davem@davemloft.net>
508
509 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
510 enum.
511 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
512 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
513 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
514
c55fbd1e
UD
5152011-08-09 Ulrich Drepper <drepper@gmail.com>
516
517 * Versions.def [libc]: Add GLIBC_2.15.
518 * dirent/Makefile (routines): Add scandirat and scandirat64.
519 * dirent/Versions [libc]: Export scandirat and scandirat64 for
520 GLIBC_2.15.
521 * dirent/dirent.h: Declare scandirat and scandirat64.
522 * dirent/scandirat.c: New file.
523 * dirent/scandirat64.c: New file.
524 * sysdeps/wordsize-64/scandirat.c: New file.
525 * sysdeps/wordsize-64/scandirat64.c: New file.
526 * dirent/opendir.c: Define opendirat.
527 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
528 using scandirat.
529 * dirent/scandir64.c: Adjust for scandir.c change.
530 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
531 __scandirat64, and __scandir_cancel_handler.
532 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
533 additional parameter and use openat instead of open (outside of ld.so).
534 Add new __opendir as wrapper around __opendirat.
535 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
536 here without requiring old scandirat implementation.
537
879165f2
UD
5382011-08-08 Ulrich Drepper <drepper@gmail.com>
539
540 * dirent/scandir.c (cancel_handler): Renamed to
541 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
542 defined. Adjust users.
543 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
544 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
545
cb7e923b
UD
5462011-08-04 Ulrich Drepper <drepper@gmail.com>
547
16292edd
UD
548 * string/test-string.h (IMPL): Use __STRING to expand name and then
549 stringify it.
550
cb7e923b
UD
551 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
552 of cleanups.
553
cff82933
LD
5542011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
555
556 * string/Makefile: Update.
557 (strop-tests): Append strncat.
558 * string/test-wcscmp.c: New file.
559 New comprehensive test for wcscmp.
560 * string/test-strcmp.c: Update.
561 (WIDE): New define.
562
9be9bfcc
AS
5632011-07-22 Andreas Schwab <schwab@redhat.com>
564
565 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
566 line.
567
2e96f1c7
AS
5682011-07-26 Andreas Schwab <schwab@redhat.com>
569
570 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
571 encoding to ACE if AI_IDN.
572
85188888
JJ
5732011-08-01 Jakub Jelinek <jakub@redhat.com>
574
575 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
576 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
577
5fa16e9b
LD
5782011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
579
580 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
581 Fix overflow bug in strncat.
582 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
583
584 * string/test-strncat.c: Update.
585 Add new tests for checking overflow bugs.
586
5872011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
588
589 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
590 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
591 * sysdeps/i386/i686/multiarch/strcat.S: New file.
592 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
593 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
594 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
595 * sysdeps/i386/i686/multiarch/strncat.S: New file.
596 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
597 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
598
599 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
600 (USE_AS_STRCAT): Define.
601 Add strcat and strncat support.
602 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
603
8c1a459f
AS
6042011-07-25 Andreas Schwab <schwab@redhat.com>
605
606 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
607 __n bigger than INT_MAX+1.
608 (__strncmp_g): Likewise.
609
bba33c28
UD
6102011-07-23 Ulrich Drepper <drepper@gmail.com>
611
798be72d
UD
612 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
613 * libio/stido.h: Likewise.
614
8accd4dc
UD
615 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
616 (AF_NFC): Define.
617 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
618 (AF_NFC): Define.
619
cbff0d96
UD
620 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
621 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
622 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
623 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
624 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
625
9191c04a
UD
626 [BZ #13021]
627 * scripts/test-installation.pl: Don't expect libnss_test1 to be
628 installed.
629
bba33c28
UD
630 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
631 typo.
632 (_dl_x86_64_save_sse): Likewise.
633
90f139dd
UD
6342011-07-22 Ulrich Drepper <drepper@gmail.com>
635
1aae088a
UD
636 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
637 OSXSAVE.
638 (_dl_x86_64_save_sse): Likewise.
639
8e2045f5
UD
640 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
641
90f139dd
UD
642 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
643
1d002f25
AS
6442011-07-21 Andreas Schwab <schwab@redhat.com>
645
646 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
647 change.
648 (_dl_x86_64_save_sse): Use correct AVX check.
649
21137f89
UD
6502011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
651
652 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
653 bug in strncpy/strncat.
654 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
655
a65c0b7a
UD
6562011-07-21 Ulrich Drepper <drepper@gmail.com>
657
658 * string/tester.c (test_strcat): Add tests for different alignments
659 of source and destination.
660 (test_strncat): Likewise.
661
6986b98a
UD
6622011-07-20 Ulrich Drepper <drepper@gmail.com>
663
90bb2039
UD
664 [BZ #12852]
665 * posix/glob.c (glob): Check passed in values before using them in
666 expressions to avoid some overflows.
667 (glob_in_dir): Likewise.
668
5644ef54
UD
669 [BZ #13007]
670 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
671 check for AVX enablement so that we don't crash with old kernels and
672 new hardware.
673 * elf/tst-audit4.c: Add same checks here.
674 * elf/tst-audit6.c: Likewise.
675
676 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 677
bfc9dc9b
AS
6782011-07-09 Andreas Schwab <schwab@linux-m68k.org>
679
680 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
681
702e64bb
UD
6822011-07-20 Ulrich Drepper <drepper@gmail.com>
683
684 * po/cs.po: Update from translation team.
685 * po/bg.po: Likewise.
686
295e904f
MP
6872011-07-12 Marek Polacek <mpolacek@redhat.com>
688
689 * misc/sys/cdefs.h: Add support for const attribute.
690 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
691 to gnu_dev_{major,minor,makedev} functions.
692
3ff94596
MP
6932011-07-20 Marek Polacek <mpolacek@redhat.com>
694
695 * intl/dcigettext.c (get_output_charset): Add missing bracket.
696
28b59fca
AS
6972011-07-20 Andreas Schwab <schwab@redhat.com>
698
699 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
700 strlen results.
701
19df733e
AK
7022011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
703
704 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
705 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
706 register in order to avoid conflicts with the soft frame pointer
707 being held in r11 when necessary.
708 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
709 (INTERNAL_VSYSCALL_NCS): Likewise.
710
c8835729
MP
7112011-07-14 Marek Polacek <mpolacek@redhat.com>
712
713 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
714 * elf/dl-fini.c (_dl_fini): Adjust caller.
715 * elf/dl-close.c (_dl_close_worker): Likewise.
716 * sysdeps/generic/ldsodefs.h: Adjust declaration.
717
b902330c
MP
7182011-07-15 Marek Polacek <mpolacek@redhat.com>
719
8991e135
MP
720 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
721 "aux_cache->nlibs < 0".
722
b902330c
MP
723 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
724 in the reload-count case.
725
99710781
LD
7262011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
727
728 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
729 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
730 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
731 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
732 * sysdeps/x86_64/multiarch/strcat.S: New file.
733 * sysdeps/x86_64/multiarch/strncat.S: New file.
734 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
735 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
736 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
737 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
738 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
739 (USE_AS_STRCAT): Define.
740 Add strcat and strncat support.
741 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
742 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
743 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
744 * string/strncat.c: Update.
745 (USE_AS_STRNCAT): Define.
746 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
747 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
748 and i7.
749 * sysdeps/x86_64/multiarch/init-arch.h
750 (bit_Prefer_PMINUB_for_stringop): New.
751 (index_Prefer_PMINUB_for_stringop): Likewise.
752 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
753 bit_Prefer_PMINUB_for_stringop.
754
7dc6bd90
UD
7552011-07-19 Ulrich Drepper <drepper@gmail.com>
756
757 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
758 buffer64.
759 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
760 of casting of buffer.
761 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
762 buffer32 and buffer64.
763 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
764 writes instead of casting of buffer.
765 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
766 buffer32.
767 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
768 casting of buffer.
769
e0e72284
AS
7702011-07-19 Andreas Schwab <schwab@redhat.com>
771
772 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
773
feb1eb0b
UD
7742011-07-19 Ulrich Drepper <drepper@gmail.com>
775
776 * nscd/nscd.c (termination_handler): Don't do anything for a database
777 if it has not yet been initialized.
778
298711ff
UD
7792011-07-18 Ulrich Drepper <drepper@gmail.com>
780
781 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
782
7832011-07-15 Marek Polacek <mpolacek@redhat.com>
784
785 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
786
f9d68389
UD
7872011-07-18 Ulrich Drepper <drepper@gmail.com>
788
789 * po/nl.po: Update from translation team.
790 * po/sv.po: Likewise.
791
db290cf5
RM
7922011-07-16 Roland McGrath <roland@hack.frob.com>
793
794 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
795 now disallowed by GCC.
5c550700 796
fd5e21c7
RM
797 * configure.in (use-default-link): Default to yes if a test -shared
798 link meets our qualifications.
799 * configure: Regenerated.
800
5c550700
RM
801 * config.make.in (output-format): New variable.
802 * configure.in: Check for ld --print-output-format support.
803 * configure: Regenerated.
804 * Makerules ($(common-objpfx)format.lds)
805 [$(output-format) != unknown]: Just use $(output-format),
806 instead of the linker-script munging.
807
9fa2c032
RM
8082011-07-14 Roland McGrath <roland@hack.frob.com>
809
a6928d51
RM
810 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
811 of $(common-objpfx)shlib.lds.
812 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
813
661607b3
RM
814 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
815 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
816
9fa2c032
RM
817 * configure.in (-z relro check): Adjust test code to add a large
818 writable data section after it.
819 * configure: Regenerated.
820
defe9061
RM
8212011-07-11 Roland McGrath <roland@hack.frob.com>
822
823 * configure.in (-z relro check): Fix test code to make the variable
824 truly const.
825 * configure: Regenerated.
826
319b9ad4
UD
8272011-07-11 Ulrich Drepper <drepper@gmail.com>
828
829 * nscd/nscd.h (struct traced_file): Define.
830 (struct database_dyn): Remove inotify_descr, reset_res, and filename
831 elements. Add traced_files.
832 (inotify_fd): Declare.
833 (register_traced_file): Declare.
834 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
835 (inotify_fd): Export.
836 (resolv_conf_descr): Remove.
837 (nscd_init): Move inotify descriptor creation to main.
838 Don't register files for notification here.
839 (register_traced_file): New function.
840 (invalidate_cache): Don't use reset_res to determine whether to call
841 res_init, go through the list of registered files.
842 (main_loop_poll): The inotify descriptors are now stored in the
843 structures for the traced files.
844 (main_loop_epoll): Likewise
845 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
846 to __nss_disable_nscd.
847 * nscd/cache.c (prune_cache): There is no single inotify descriptor
848 for a database anymore. Check the records for all the registered
849 files instead.
850 * nss/Makefile (libnss_files-routines): Add files-init.
851 (libnss_db-routines): Add db-init.
852 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
853 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
854 * nss/nss_db/db-init.c: New file.
855 * nss/nss_files/files-init.c: New file.
856 * nss/nsswitch.c (nss_load_library): New function. Broken out of
857 __nss_lookup_function.
858 (__nss_lookup_function): Call nss_load_library.
859 (nss_load_all_libraries): New function.
860 (__nss_disable_nscd): Take parameter with callback function for files
861 to register. Set is_nscd. Load all the DSOs for the NSS modules
862 used for the cached services.
863 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
864 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
865 options for features to all the files in nscd.
866
867 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
868
23bee3e8
RM
8692011-07-10 Roland McGrath <roland@hack.frob.com>
870
871 * csu/elf-init.c (__libc_csu_init): Comment typo.
872
46a5b7f0
UD
8732011-07-09 Ulrich Drepper <drepper@gmail.com>
874
875 * po/pl.po: Update from translation team.
876 * po/ja.po: Likewise.
877 * po/ru.po: Likewise.
878 * po/ko.po: Likewise.
879 * po/fr.po: Likewise.
880
d30cf5bb
RM
8812011-07-09 Roland McGrath <roland@hack.frob.com>
882
113ddea4
RM
883 * configure.in (.ctors/.dtors header and trailer check):
884 Use an empirical test on a built program.
885 * configure: Regenerated.
886
574920b4
RM
887 * configure.in (-z relro check): Use an empirical test on a built DSO.
888 Detect, but do not require, on ia64.
889 * configure: Regenerated.
890
d30cf5bb
RM
891 * configure.in (READELF): Find it with AC_CHECK_TOOL.
892 Update tests that use readelf to use $READELF instead.
893 * configure: Regenerated.
894
8538fdb3
UD
8952011-07-08 Ulrich Drepper <drepper@gmail.com>
896
897 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
898 if the result is not used.
899
04d08991
AJ
9002011-07-05 Andreas Jaeger <aj@suse.de>
901
902 [BZ#9696]
903 * stdlib/tst-strtod.c: Add testcase.
904
de283087
AD
9052011-07-07 Ulrich Drepper <drepper@gmail.com>
906
4e5f31c8 907 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 908 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
909 The latter has a higher limit. Take additional parameter to pass to
910 the new function.
911 (__pathconf): Pass file to __statfs_link_max.
912 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
913 __statfs_link_max.
914 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
915 __statfs_link_max.
916
de283087
AD
917 [BZ #12868]
918 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
919 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
920 Handle Lustre.
921 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
922 (__statfs_filesize_max): Likewise.
923 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
924
c75fa153
AJ
9252011-07-05 Andreas Jaeger <aj@suse.de>
926
927 * resolv/res_comp.c (dn_skipname): Remove unused variable.
928
1a544854
UD
9292011-07-06 Marek Polacek <mpolacek@redhat.com>
930
931 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
932 `status' variable.
933 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
934 Likewise.
935
6f0eec67
UD
9362011-07-04 H.J. Lu <hongjiu.lu@intel.com>
937
938 * Makefile (strop-tests): Add strncat.
939 * string/test-strncat.c: New file.
940
aae30307
UD
9412011-06-30 Marek Polacek <mpolacek@redhat.com>
942
943 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
944
c0cfb5eb
UD
9452011-06-21 Andreas Jaeger <aj@suse.de>
946
947 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
948 Copy rule from iconvdata/Makefile.
949
01636b21
UD
9502011-07-06 Ulrich Drepper <drepper@gmail.com>
951
952 [BZ #12922]
953 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
954 but no long options are defined, just return 'W'.
955
9895c8bc
UD
9562011-06-22 Marek Polacek <mpolacek@redhat.com>
957
958 [BZ #9696]
959 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
960
5d4cf042
UD
9612011-07-06 Ulrich Drepper <drepper@gmail.com>
962
963 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
964 netgroups to read.
960e5535 965 (innetgr): Likewise.
5d4cf042 966
751eb97e
RM
9672011-07-05 Roland McGrath <roland@hack.frob.com>
968
969 * config.make.in (install_root): Default to $(DESTDIR).
970
f15f1e45
UD
9712011-07-05 Ulrich Drepper <drepper@gmail.com>
972
973 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
974
4e34ac6a
RM
9752011-07-02 Roland McGrath <roland@hack.frob.com>
976
5e9b6af4
RM
977 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
978
84f9ea0f
RM
979 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
980 containing directory rather than embedding absolute directory names.
981
ea5ee9f7
RM
982 * scripts/check-local-headers.sh: Rewritten using awk.
983 Match by word, not by line. Print error messages for matches.
984 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
985
1b74661a
RM
986 * Makerules [shlib-lds-flags empty]:
987 ($(common-objpfx)libc_pic.opts): New target.
988 ($(common-objpfx)libc_pic.os.clean): New target.
989 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
990
991 * config.make.in (OBJCOPY): New variable.
992 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
993 * configure: Regenerated.
994
f781ef40
RM
995 * config.make.in (use-default-link): New variable.
996 * configure.in (use_default_link): Grok --with-default-link to set it.
997 * configure: Regenerated.
998 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
999 (shlib-lds, shlib-lds-flags): Define to empty.
1000
2d4fa81e
RM
1001 * Makerules (shlib-lds): New variable.
1002 (shlib-lds-flags): New variable.
1003 (build-shlib, build-moduile, build-module-asneeded): Use it.
1004 ($(common-objpfx)libc.so): Use $(shlib-lds).
1005 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
1006 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
1007
31fffa6b
RM
1008 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
1009 DT_FLAGS/DT_FLAGS_1 with zero flags.
1010
4e34ac6a
RM
1011 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
1012 linker script munging.
1013
fcfc776b
UD
10142011-07-02 Ulrich Drepper <drepper@gmail.com>
1015
1016 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
1017 as 128-bit value.
1018 * crypt/sha512.c (sha512_process_block): Perform total addition using
1019 128-bit if possible.
1020 (__sha512_finish_ctx): Likewise.
1021 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
1022 as 64-bit value.
1023 * crypt/sha256.c (SWAP64): Define.
1024 (sha256_process_block): Perform total addition using 64-bit if
1025 possible.
1026 (__sha256_finish_ctx): Likewise.
1027
99231d9a
UD
10282011-07-01 Ulrich Drepper <drepper@gmail.com>
1029
1030 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
1031 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1032 * nscd/hstcache.c (cache_addhst): Likewise.
1033 * nscd/grpcache.c (cache_addgr): Likewise.
1034 * nscd/aicache.c (addhstaiX): Likewise
1035 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
1036
445b4a53
TK
10372011-07-01 Thorsten Kukuk <kukuk@suse.de>
1038
1039 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
1040 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1041 * nscd/hstcache.c (cache_addhst): Likewise.
1042 * nscd/grpcache.c (cache_addgr): Likewise.
1043 * nscd/aicache.c (addhstaiX): Likewise
1044
6d4d8e8e
AS
10452011-07-01 Andreas Schwab <schwab@redhat.com>
1046
1047 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
1048 domain only when needed.
1049
89f654c5
AS
10502011-06-30 Andreas Schwab <schwab@redhat.com>
1051
1052 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
1053 is always restored.
1054
cf3b23ff
UD
10552011-06-29 Ulrich Drepper <drepper@gmail.com>
1056
1057 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
1058 are re-adding the entry.
1059 * nscd/servicescache.c (cache_addserv): Likewise.
1060
751626f9
AJ
10612011-06-30 Aurelien Jarno <aurelien@aurel32.net>
1062
1063 * sysdeps/generic/dl-irel.h: fix protection against multiple
1064 inclusions.
1065 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
1066
9113ea1f
UD
10672011-06-28 Ulrich Drepper <drepper@gmail.com>
1068
5c0b8d90
UD
1069 [BZ #12935]
1070 * malloc/memusage.sh: Fix quoting in message.
1071 * debug/xtrace.sh: Likewise.
1072
9113ea1f
UD
1073 * configure.in: Remove support for --experimental-malloc option, make
1074 it the default.
1075 * config.make.in: Likewise.
1076 * malloc/Makefile: Likewise.
1077
a4172181
AS
10782011-06-27 Andreas Schwab <schwab@redhat.com>
1079
1080 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
1081 two-byte characters.
1082
78a7eee7
RM
10832011-06-27 Roland McGrath <roland@hack.frob.com>
1084
62bede13
RM
1085 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
1086 AC_CACHE_CHECK invocation.
1087 * configure: Regenerated.
1088
78a7eee7
RM
1089 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
1090
5ce33a62
UD
10912011-06-27 Ulrich Drepper <drepper@gmail.com>
1092
034807a9
UD
1093 [BZ #12350]
1094 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
1095 bit from old_res_options.
1096
4902da17
UD
1097 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
1098
5ce33a62
UD
1099 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
1100 value type for setfct.
1101
c2344f56
L
11022011-06-23 H.J. Lu <hongjiu.lu@intel.com>
1103
1104 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
1105 __gettimeofday instead of gettimeofday.
1106
68468076
UD
11072011-06-26 Ulrich Drepper <drepper@gmail.com>
1108
1109 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
1110
acb0d739
L
11112011-06-24 H.J. Lu <hongjiu.lu@intel.com>
1112
1113 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
1114
1115 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
1116 info.
1117
8912479f
L
11182011-06-22 H.J. Lu <hongjiu.lu@intel.com>
1119
1120 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1121 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
1122 strcpy-sse2-unaligned strncpy-sse2-unaligned
1123 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
1124 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
1125 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
1126 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
1127 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
1128 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
1129 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
1130 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
1131 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
1132 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
1133 (STRCPY): Support SSE2 and SSSE3 versions.
1134
d5495a11
UD
11352011-06-24 Ulrich Drepper <drepper@gmail.com>
1136
1137 [BZ #12874]
1138 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
1139 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
1140 kernels which artificially limit size of requests.
1141
0b1cbaae
L
11422011-06-22 H.J. Lu <hongjiu.lu@intel.com>
1143
1144 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1145 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
1146 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
1147 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
1148 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
1149 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
1150 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
1151 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
1152 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
1153 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
1154 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
1155 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
1156 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
1157 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
1158 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
1159 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1160 Enable unaligned load optimization for Intel Core i3, i5 and i7
1161 processors.
1162 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
1163 Define.
1164 (index_Fast_Unaligned_Load): Define.
1165 (HAS_FAST_UNALIGNED_LOAD): Define.
1166
07f494a0
MP
11672011-06-23 Marek Polacek <mpolacek@redhat.com>
1168
1169 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
1170
fa3fc0fe
UD
11712011-06-22 Ulrich Drepper <drepper@gmail.com>
1172
1173 [BZ #12907]
1174 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
1175 until it is clear that the information is realy needed.
1176 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
1177
e12df166
AS
11782011-06-22 Andreas Schwab <schwab@redhat.com>
1179
1180 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
1181
852eb34d
UD
11822011-06-22 Ulrich Drepper <drepper@gmail.com>
1183
84e2a551
UD
1184 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
1185 /sys/devices/system/cpu/online if it is usable.
1186
852eb34d
UD
1187 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
1188 reading the information from the /proc filesystem to once a second.
1189
6e502e19
UD
11902011-06-21 Andreas Jaeger <aj@suse.de>
1191
1192 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
1193 NULL after inclusion of kernel headers.
1194
75d39ff2
UD
11952011-06-21 Ulrich Drepper <drepper@gmail.com>
1196
51f9aa6a
UD
1197 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
1198 calls to internal_setent.
1199
c0244a9d
UD
1200 [BZ #12885]
1201 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
1202 addresses using gethostbyname4_r ignore IPv4 addresses.
1203
c5e3c2ae
UD
1204 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
1205 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
1206
75d39ff2
UD
1207 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
1208
42675c6f
DM
12092011-06-20 David S. Miller <davem@davemloft.net>
1210
1211 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
1212 inclusions.
1213 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
1214
1215 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
1216 (elf_irel): Use it.
1217 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
1218 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
1219 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
1220 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
1221 * sysdeps/x86_64/dl-irel.h: Likewise.
1222
1223 * elf/dl-runtime.c: Use elf_ifunc_invoke.
1224 * elf/dl-sym.c: Likewise.
1225
57912a71
UD
12262011-06-15 Ulrich Drepper <drepper@gmail.com>
1227
1228 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
1229 need to dereference resplen2.
1230
ee22793d
AS
12312011-06-14 Andreas Schwab <schwab@redhat.com>
1232
1233 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
1234
a9e836b0
UD
12352011-06-15 Ulrich Drepper <drepper@gmail.com>
1236
77fb9117
UD
1237 * Makeconfig: Define vardbdir and inst_vardbdir.
1238 * nss/Makefile: Add rules to install db-Makefile.
1239
40c1b22c
UD
1240 * nss/nss_db/db-XXX.c: Cleanup.
1241
9f2da732
UD
1242 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
1243 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
1244 GLIBC_PRIVATE.
1245 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
1246 * nss/makedb.c: Implement -g option to specify that value strings
1247 are generated and should not be added to table iterated over for
1248 get*ent calls.
1249 * nss/nss_db/db-initgroups.c: New file.
1250
82e9a1f7
UD
1251 * nss/getent.c: Add support for initgroups lookups through getgrouplist
1252 interface.
1253
c41af17e
UD
1254 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
1255 (internal_getgrouplist): Adjust to name change.
1256 Update use_initgroups_entry if this is not the first call.
1257 * nss/databases.def: Add initgroups entry.
1258
a9e836b0
UD
1259 * nss/makedb.c (compute_tables): Check result of multiple hash table
1260 sizes to minimize maximum chain length.
1261
2666d441
UD
12622011-06-14 Ulrich Drepper <drepper@gmail.com>
1263
1264 * Versions.def: Add entry for libnss_db.
1265 * shlib-versions: Likewise.
1266 * nss/Makefile: Add rules to build libnss_db.
1267 * nss/Versions: Add libnss_db information. Organize libnss_files
1268 entries better.
1269 * nss/db-Makefile: Add gshadow support. Change rules for the new
1270 makedb progra. Some minor improvements to generate smaller files.
1271 * nss/nss_db/nss_db.h: Move NSS database header data structures to
1272 here from...
1273 * nss/makedb.c: ...here.
1274 Improve database format to be smaller and require less memory at
1275 runtime.
1276 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
1277 db anymore.
1278 * nss/nss_db/db-netgrp.c: Likewise.
1279 * nss/nss_db/db-open.c: Likewise.
1280 * nss/nss_files/flies-XXX.x: Adjust comments.
1281 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
1282 * nss/nss_files/files-grp.c: Likewise.
1283 * nss/nss_files/files-hosts.c: Likewise.
1284 * nss/nss_files/files-network.c: Likewise.
1285 * nss/nss_files/files-proto.c: Likewise.
1286 * nss/nss_files/files-pwd.c: Likewise.
1287 * nss/nss_files/files-rpc.c: Likewise.
1288 * nss/nss_files/files-service.c: Likewise.
1289 * nss/nss_files/files-sgrp.c: Likewise.
1290 * nss/nss_files/files-spwd.c: Likewise.
1291 * nss/nss_db/db-alias.c: Removed.
1292 * nss/nss_db/dummy-db.h: Removed.
1293
9ee76b5a
UD
12942011-06-02 Ulrich Drepper <drepper@gmail.com>
1295
1296 * nss/makedb.c: Rewritten to not use database library.
1297 * nss/Makefile: Update to build new makedb program.
1298
c71ca1f8
AJ
12992011-06-14 Andreas Jaeger <aj@suse.de>
1300
1301 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
1302 memset declaration.
1303
3154bfb8
UD
13042011-06-10 Andreas Schwab <schwab@redhat.com>
1305
1306 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
1307 tmpbuf.
1308
b350afab
RM
13092011-06-10 Roland McGrath <roland@hack.frob.com>
1310
decd4e50
RM
1311 * Makerules (shlib.lds): Fail if the linker script comes out empty.
1312 * elf/Makefile ($(objpfx)ld.so): Likewise.
1313
5615eaf2
RM
1314 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
1315 Don't list ld.so twice in dependencies.
1316
1317 * posix/bug-regex31.c: Include <stdlib.h>.
1318
1319 * nscd/hstcache.c (cache_addhst): Remove unused variable.
1320
1321 * nis/nss_compat/compat-spwd.c
1322 (getspent_next_nss_netgr): Remove unused variable.
1323 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
1324
1325 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
1326 nonmembers" output to use the right array.
1327
1328 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
1329
1330 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
1331
1332 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
1333 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
1334 * catgets/gencat.c (read_input_file): Likewise.
1335 * locale/programs/locarchive.c (enlarge_archive): Likewise.
1336
1337 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
1338 variable definition inside #if's controlling its use.
1339
1340 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
1341
1342 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
1343
1344 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
1345
1346 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
1347 unreachable code.
1348
1349 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
1350
b68e08db
RM
1351 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
1352 * configure: Regenerated.
1353
b350afab
RM
1354 * Makerules: Revert last change.
1355 * elf/Makefile: Likewise.
1356
28368601
RM
13572011-06-09 Roland McGrath <roland@hack.frob.com>
1358
1359 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
1360 * elf/Makefile ($(objpfx)librtld.os): Likewise.
1361 (reloc-link): Likewise.
1362
11988f8f
UD
13632011-06-09 Ulrich Drepper <drepper@gmail.com>
1364
1365 * elf/Makefile: Add rules to build pldd.
1366 * elf/pldd.c: New file.
1367 * elf/pldd-xx.c: New file.
1368
e80fab37
UD
13692011-06-07 Ulrich Drepper <drepper@gmail.com>
1370
1371 * version.h: Update for 2.15 development version.
1372
9b849836
DM
13732011-06-07 David S. Miller <davem@davemloft.net>
1374
1375 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
1376 ifuncs.
1377 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
1378 elf_machine_lazy_rel): Likewise.
1379 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
1380 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
1381 elf_machine_lazy_rel): Likewise.
1382 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
1383 dl_hwcap via passed in argument.
1384 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
1385 Likewise.
1386
5a31b283
AK
13872011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1388
1389 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
1390
069e52f8
RM
13912011-06-06 Roland McGrath <roland@hack.frob.com>
1392
1393 [BZ #12849]
1394 * manual/fdl-1.1.texi: New file, verbatim from:
1395 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
1396 * manual/lgpl-2.1.texi: New file, verbatim from:
1397 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
1398 * manual/Makefile (licenses): New variable, list those new file names.
1399 (texis): Use it.
1400 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
1401
1402 * manual/fdl.texi: File removed.
1403 * manual/lesser.texi: File removed.
1404 * manual/libc.texinfo (Copying, Documentation License):
1405 Use new @include file names, put @appendix directive before @include.
1406
f16846a5
JJ
14072011-06-04 Jakub Jelinek <jakub@redhat.com>
1408
1409 [BZ #12841]
1410 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
1411 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
1412 (mq_open): Add __NTH.
1413
3d29045b
L
14142011-06-02 H.J. Lu <hongjiu.lu@intel.com>
1415
1416 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1417 Assume Intel Core i3/i5/i7 processor if AVX is available.
1418
8c297311
UD
14192011-05-31 Ulrich Drepper <drepper@gmail.com>
1420
1421 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1422 typo.
1423
c8fc0c91
UD
14242011-05-31 Andreas Schwab <schwab@redhat.com>
1425
1426 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
1427 memory. Use alloca_account. Fix memory leak when retrying.
1428
5b27a807
UD
14292011-05-31 Ulrich Drepper <drepper@gmail.com>
1430
356f8bc6
UD
1431 * version.h (RELEASE): Bump for 2.14 release.
1432 * include/features.h (__GLIBC_MINOR__): Bump to 14.
1433
5b27a807
UD
1434 * config.make.in (RANLIB): Remove entry.
1435
01f16ab0
UD
14362011-05-30 Ulrich Drepper <drepper@gmail.com>
1437
41fce8bd
UD
1438 * po/Makefile (po-sed-cmd): Add ksh to extensions.
1439 (libc.pot): Work around missing support for .ksh extension in xgettext.
1440
4769ae77
UD
1441 [BZ #12684]
1442 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
1443 if both request failed.
1444 (send_dg): In case of server errors clear resplen or *resplen2.
1445
6b1e7d19
UD
1446 [BZ #12454]
1447 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
1448 when there are multiple maps.
1449 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
1450 (_dl_fini): Remove test here.
1451
01f16ab0
UD
1452 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
1453
b1ebd700
UD
14542011-05-29 Ulrich Drepper <drepper@gmail.com>
1455
7ae22829
UD
1456 [BZ #12350]
1457 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
1458 bit from old_res_options.
1459 (gaih_inet): Likewise.
1460
553149f6 1461 [BZ #11099]
18a84741 1462 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
1463 as signed.
1464
652ffab1
UD
1465 * resolv/res_init.c (res_setoptions): Make the code more compact.
1466
16985fd0
UD
1467 [BZ #11558]
1468 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
1469 set RES_USEVC.
1470
0464f746
UD
1471 [BZ #11634]
1472 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
1473
7d17596c
UD
1474 * malloc/malloc.h: Mark malloc hook variables as deprecated.
1475
cf6bbbd7
UD
1476 [BZ #11781]
1477 * malloc/malloc.h: Declare malloc hook variables as volatile.
1478
13f1ab36
UD
1479 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
1480 in last patch.
1481
b1ebd700
UD
1482 [BZ #11799]
1483 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 1484 raise in the comment.
80e2212d
UD
1485 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
1486 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1487 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 1488
ce67228d
UD
14892011-05-28 Ulrich Drepper <drepper@gmail.com>
1490
8887a920
UD
1491 [BZ #12811]
1492 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
1493 grow the buffers more if it already has to be sufficient.
1494 (build_wcs_upper_buffer): Likewise.
1495 * posix/regexec.c (check_matching): Likewise.
1496 (clean_state_log_if_needed): Likewise.
1497 (extend_buffers): Don't enlarge buffers beyond size of the input
1498 buffer.
1499 Patches mostly by Emil Wojak <emil@wojak.eu>.
1500 * posix/bug-regex32.c: New file.
1501 * posix/Makefile (tests): Add bug-regex32.
1502
4f031072
UD
1503 * locale/findlocale.c (_nl_find_locale): Return right away if
1504 _nl_explode_name failed.
1505 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
1506
d0478f0c
UD
1507 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
1508
de81b246
UD
1509 * debug/xtrace.sh: Unify messages.
1510 * malloc/memusage.sh: Likewise.
1511
c738465a
UD
1512 [BZ #12813]
1513 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
1514 time symbol from vDSO. Substitute with vsyscall if not available.
1515 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
1516 __vdso_time.
1517
f1f929d7
UD
1518 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
1519 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
1520 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
1521 Add sendmmsg and internal_sendmmsg.
1522 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
1523 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
1524 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
1525
ce67228d
UD
1526 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
1527 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
1528 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
1529
e57420c6
UD
15302011-05-27 Ulrich Drepper <drepper@gmail.com>
1531
a8509ca5
UD
1532 [BZ #12813]
1533 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
1534 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
1535 available.
1536 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
1537 __vdso_getcpu.
1538
e57420c6
UD
1539 [BZ #12814]
1540 * iconvdata/Makefile (tests): Add bug-iconv9.
1541 * iconvdata/bug-iconv9.c: New file.
1542
4d07db15
AS
15432011-05-27 Andreas Schwab <schwab@redhat.com>
1544
1545 [BZ #12814]
1546 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
1547
ea486f69
JJ
15482011-05-25 Jakub Jelinek <jakub@redhat.com>
1549
1550 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
1551 (struct user_regs_struct): Change intcs field back to cs.
1552
6f038433
UD
15532011-05-25 Ulrich Drepper <drepper@gmail.com>
1554
1555 * po/ja.po: Update from translation team.
1556
67f86a25
UD
15572011-05-23 Ulrich Drepper <drepper@gmail.com>
1558
1559 [BZ #12795]
1560 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
1561 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
1562
def7fbd6
AS
15632011-05-20 Andreas Schwab <schwab@redhat.com>
1564
1565 * stdlib/longlong.h: Update from GCC.
1566
f50ef8f1
AS
15672011-05-23 Andreas Schwab <schwab@redhat.com>
1568
1569 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
1570 parameter name.
1571 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
1572 Add parameter name.
1573 (__sysconf): Pass it down.
1574
de7ce8f1
UD
15752011-05-22 Ulrich Drepper <drepper@gmail.com>
1576
f2962a71
UD
1577 [BZ #12671]
1578 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
1579 some situations.
1580 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
1581 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
1582 add in in __libc_use_alloca calls. Adjust callers.
1583 (glob): Use malloc in some situations.
1584
de7ce8f1
UD
1585 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
1586 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
1587 pltexit.
1588
aec84f53
UD
15892011-05-21 Ulrich Drepper <drepper@gmail.com>
1590
05bb4a68
UD
1591 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
1592 and CLOCK_BOOTTIME_ALARM.
1593
7ea72f99
UD
1594 [BZ #12782]
1595 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
1596 is returned.
1597
7e4afad5
UD
1598 * string/_strerror.c (__strerror_r): Print negative errors as signed
1599 numbers.
1600
8e211fec
UD
1601 [BZ #12777]
1602 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
1603 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
1604 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
1605
f7d82dc9
UD
1606 * configure.in: Fix typo in redirection and correct removal of test
1607 files in two cases.
1608
cc9e536d
UD
1609 [BZ #12788]
1610 * locale/setlocale.c (new_composite_name): Fix test to check for
1611 identical name of all categories.
1612
aec84f53
UD
1613 [BZ #12792]
1614 * libio/filedoalloc.c (local_isatty): New function.
1615 (_IO_file_doallocate): Use local_isatty.
1616 * stdio-common/perror.c (perror): In case a new stream is used
1617 forward the stream error.
1618 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
1619 error flag.
1620
78e64fdc
RT
16212011-05-20 Ulrich Drepper <drepper@gmail.com>
1622
34a9094f
UD
1623 [BZ #11869]
1624 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
1625 alloca.
1626 * include/alloca.h (extend_alloca_account): Define.
1627
78e64fdc
RT
1628 [BZ #11857]
1629 * posix/regex.h: Fix comments with documentation of user-accessible
1630 fields after compilation and describe correct free'ing of pattern
1631 after re_compile_pattern.
1632 Patch by Reuben Thomas <rrt@sc3d.org>.
1633
457bddfc
RA
16342011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
1635
1636 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
1637 and -mno-altivec to prevent the compiler from using Altivec and/or
1638 VSX instructions when the corresponding registers are not available.
1639
a4527b51
AS
16402011-05-19 Andreas Schwab <schwab@redhat.com>
1641
1642 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
1643
ed690b2f
UD
16442011-05-19 Ulrich Drepper <drepper@gmail.com>
1645
1646 * libio/freopen.c (freopen): Use __dup2, not dup2.
1647 * libio/freopen64.c (freopen64): Likewise.
1648
8db73634
L
16492011-05-17 H.J. Lu <hongjiu.lu@intel.com>
1650
1651 [BZ #12775]
1652 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
1653 * math/Makefile (tests): Add test-powl.
1654 (CFLAGS-test-powl.c): Define.
1655 * math/test-powl.c: New file.
1656
0a197a9d
L
16572011-05-16 H.J. Lu <hongjiu.lu@intel.com>
1658
1659 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
1660
ee30c380
UD
16612011-05-17 Ulrich Drepper <drepper@gmail.com>
1662
1663 [BZ #11837]
1664 * iconvdata/gb18030.c: Update to GB18020-2005.
1665
6ce75379
UD
16662011-05-16 Ulrich Drepper <drepper@gmail.com>
1667
a4b89fd8
AR
1668 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
1669 RE_SYNTAX_POSIX_AWK): Update to match recent development.
1670 Patch by Aharon Robbins <arnold@skeeve.com>.
1671
ea389b12
UD
1672 [BZ #11892]
1673 * stdlib/putenv.c (putenv): Don't always create copy of the variable
1674 on the stack.
1675
68a3f91f
UD
1676 [BZ #11895]
1677 * misc/pselect.c (__pselect): Handle timeout value errors hidden
1678 through underflows.
1679
15cc7dd1
UD
1680 [BZ #12766]
1681 * misc/error.c (error_at_line): Ensure file_name and old_file_name
1682 point to strings before performing equality test for error_one_per_line
1683 mode.
1684
f3799213
UD
1685 [BZ #11697]
1686 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
1687
d79a9c94
UD
1688 [BZ #11820]
1689 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
1690 (struct user_fpregs_struct): Avoid __uint*_t types.
1691
56e5eb46
UD
1692 [BZ #6420]
1693 * malloc/mtrace.c (tr_where): Add additional parameter to point to
1694 symbol info. Use it instead of calling _dl_addr locally.
1695 (lock_and_info): New function.
1696 (tr_freehook): Call lock_and_info and pass symbol info as additional
1697 parameter to tr_where.
1698 (tr_mallochook): Likewise.
1699 (tr_reallochook): Likewise.
1700 (tr_memalignhook): Likewise.
1701
6ce75379
UD
1702 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
1703 used and couldn't be at all thread-safe.
1704
f8a3b5bf
UD
17052011-05-15 Ulrich Drepper <drepper@gmail.com>
1706
94b7cc37
UD
1707 * libio/freopen.c (freopen): Don't close old file descriptor
1708 before the new one is opened. Instead dup the new file descriptor
1709 to the old one after the new stream is created.
1710 * libio/freopen64.c (freopen64): Likewise.
1711 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
1712 * libio/fileops.c (_IO_new_file_close_it): Handle new
1713 _IO_FLAGS2_NOCLOSE flag.
1714 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
1715 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
1716 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
1717 _IO_FLAGS2_NOCLOSE flag.
1718 * include/unistd.h: Add hidden_proto for dup3.
1719 Define __have_dup3.
1720 * io/dup3.c: Define hidden symbol.
1721 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
1722
bd25564e
UD
1723 [BZ #7101]
1724 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
1725 when an incomplete long option is used.
1726 * posix/tst-getopt_long1.c: New file.
1727 * posix/Makefile (tests): Add tst-getopt_long1.
1728
c84cfef4
UD
1729 [BZ #10138]
1730 * scripts/config.guess: Update from autoconf-2.68.
1731 * scripts/config.sub: Likewise.
1732
3b85df27
UD
1733 [BZ #10157]
1734 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
1735 tests into ...
1736 (has_cpuclock): ...this. New function.
1737 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
1738 macro here based on has_cpuclock code.
1739
15a856b1
UD
1740 [BZ #10149]
1741 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1742 First byte (not low byte) is now always NUL.
1743 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
1744
05f399e6
UD
1745 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1746 Use non-cancelable interfaces.
1747
10a52685 1748 [BZ #9809]
94ecc67d
UD
1749 * locale/iso-639.def: Add entry for Sorani.
1750
f8a3b5bf
UD
1751 [BZ #11901]
1752 * include/stdlib.h: Move include protection to the right place.
1753 Define abort_msg_s. Declare __abort_msg with it.
1754 * stdlib/abort.c (__abort_msg): Adjust type.
1755 * assert/assert.c (__assert_fail_base): New function. Majority
1756 of code from __assert_fail. Allocate memory for __abort_msg with
1757 mmap.
1758 (__assert_fail): Now call __assert_fail_base.
1759 * assert/assert-perr.c: Remove bulk of implementation. Use
1760 __assert_fail_base.
1761 * include/assert.hL Declare __assert_fail_base.
1762 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
1763 mmap.
1764 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
1765
1af4e298
UD
17662011-05-14 Ulrich Drepper <drepper@gmail.com>
1767
f8a3b5bf 1768 [BZ #11952]
d26dfc60
MG
1769 [BZ #12453]
1770 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
1771 until all modules are registered in the DTV.
1772 * elf/Makefile: Add rules to build and run tst-tls19.
1773 * elf/tst-tls19.c: New file.
1774 * elf/tst-tls19mod1.c: New file.
1775 * elf/tst-tls19mod2.c: New file.
1776 * elf/tst-tls19mod3.c: New file.
1777 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
1778
2fc54d6f
UD
1779 [BZ #12083]
1780 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
1781 correctly.
1782
98d76b46
UD
1783 [BZ #12601]
1784 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
1785 two-byte sequence errors.
1786 * iconvdata/Makefile (tests): Add bug-iconv8.
1787 * iconvdata/bug-iconv8.c: New file.
1788
da3c19ef
UD
1789 [BZ #12626]
1790 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
1791 buf2 definition.
1792
ca408c15
UD
1793 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
1794
d6f67f7d
UD
1795 [BZ #12432]
1796 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
1797 (dummy_getcfa): New function.
1798 (init): Get _Unwind_GetCFA address, use dummy if not found.
1799 (backtrace_helper): In recursion check, also check whether CFA changes.
1800 (__backtrace): Completely initialize arg.
1801
1af4e298 1802 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
1803 storing incomplete byte sequence in state object. Avoid testing for
1804 guaranteed too small input if we know there is enough data available.
1af4e298 1805
da62f81b
AS
18062011-05-11 Andreas Schwab <schwab@redhat.com>
1807
1808 * Makeconfig (+link-pie): Indent.
1809 * Rules (binaries-pie): Define if $(have-fpie) and
1810 $(build-shared).
1811 (binaries-shared): Also filter out $(binaries-pie).
1812 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
1813 * nscd/Makefile (others-pie): Add nscd.
1814 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
1815 ($(objpfx)nscd): Remove command override.
1816 * login/Makefile (others-pie): Add pt_chown.
1817 ($(objpfx)pt_chown): Remove command override.
1818 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
1819 remove command overrides.
1820
fcabc0f8
UD
18212011-05-13 Ulrich Drepper <drepper@gmail.com>
1822
20030ae6
UD
1823 * libio/tst_putwc.c: Fix error messages.
1824
fcabc0f8
UD
1825 [BZ #12724]
1826 * libio/fileops.c (_IO_new_file_close_it): Always flush when
1827 currently writing and seek to current position when not.
1828 * libio/Makefile (tests): Add bug-fclose1.
1829 * libio/bug-fclose1.c: New file.
1830
320a5dc0
PB
18312011-05-12 Ulrich Drepper <drepper@gmail.com>
1832
1833 [BZ #12511]
1834 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
1835 don't set DF_1_NODELETE here.
1836 (do_lookup_x): When entering new entry test for copy relocation
1837 and if necessary set DF_1_NODELETE flag.
1838 * elf/tst-unique4.cc: New file.
1839 * elf/tst-unique4.h: New file.
1840 * elf/tst-unique4lib.cc: New file.
1841 * elf/Makefile: Add rules to build and run tst-unique4.
1842 Patch by Piotr Bury <pbury@goahead.com>.
1843
22836f52
UD
18442011-05-11 Ulrich Drepper <drepper@gmail.com>
1845
f574184a
UD
1846 [BZ #12052]
1847 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
1848
e1fb097f
UD
1849 [BZ #12625]
1850 * misc/mntent_r.c (addmntent): Flush the stream after the output
1851
22836f52
UD
1852 [BZ #12393]
1853 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
1854 (is_trusted_path_normalize): Skip initial colon. Append slash
1855 to empty buffer. Duplicate is_trusted_path code but allow
1856 constructed patch to be prefix.
1857 (is_dst): Allow $ORIGIN followed by /.
1858 (_dl_dst_substitute): Correct clearing of check_for_trusted.
1859 Correct testing of result of is_trusted_path_normalize
1860 (decompose_rpath): Fix warning.
1861
7b3b0b2a
UD
18622011-05-10 Ulrich Drepper <drepper@gmail.com>
1863
1864 [BZ #11257]
1865 * grp/initgroups.c (internal_getgrouplist): When we found the service
1866 list through the initgroups entry in nsswitch.conf do not always
1867 continue on a successful lookup. Don't always use the
eac80ce2 1868 __nss_group_database value if it is set.
7b3b0b2a
UD
1869 * nss/nsswitch.conf (initgroups): Change action for successful db
1870 lookup to continue for compatibility.
1871
2a81eaa5
UD
18722011-05-09 Ulrich Drepper <drepper@gmail.com>
1873
be97a69e
UD
1874 [BZ #11532]
1875 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
1876 and CP774 modules.
1877 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
1878 and CP774 modules.
1879 * iconvdata/tst-tables.sh: Likewise.
1880 * iconvdata/cp770.c: New file.
1881 * iconvdata/cp771.c: New file.
1882 * iconvdata/cp772.c: New file.
1883 * iconvdata/cp773.c: New file.
1884 * iconvdata/cp774.c: New file.
1885 * iconvdata/testdata/CP770: New file.
1886 * iconvdata/testdata/CP770..UTF8: New file.
1887 * iconvdata/testdata/CP771: New file.
1888 * iconvdata/testdata/CP771..UTF8: New file.
1889 * iconvdata/testdata/CP772: New file.
1890 * iconvdata/testdata/CP772..UTF8: New file.
1891 * iconvdata/testdata/CP773: New file.
1892 * iconvdata/testdata/CP773..UTF8: New file.
1893 * iconvdata/testdata/CP774: New file.
1894 * iconvdata/testdata/CP774..UTF8: New file.
1895
1896 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
1897 END CHARMAP line.
1898 * iconvdata/gen-8bit-gap.sh: Likewise.
1899 * iconvdata/gen-8bit.sh: Likewise.
1900
c1e9e399
UD
1901 * locale/iso-639.def: Add ary entry.
1902
24c55fb3 1903 [BZ #11258]
96b4b1b0
UD
1904 * locale/C-translit.h.in: Add U20A1 transliteration.
1905
bdc2f971
KB
1906 [BZ #12178]
1907 * locale/iso-639.def: Add wae entry.
1908 Patch by Kevin Bortis <bortis@translate-wae.ch>.
1909
2952b117
UD
1910 [BZ #12545]
1911 * locale/programs/localedef.c (construct_output_path): Use ssize_t
1912 for n.
1913
2a81eaa5
UD
1914 [BZ #12711]
1915 * locale/C-translit.h.in: Add entry for U20B9.
1916 Patch by pravin.d.s@gmail.com.
1917
28377d1b
UD
19182011-05-08 Ulrich Drepper <drepper@gmail.com>
1919
7fb90fb8
UD
1920 [BZ #12713]
1921 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
1922 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
1923 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
1924 in rtld. Use *stat64.
7fb90fb8 1925 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 1926 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 1927 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
1928 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
1929 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
1930 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
1931 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
1932 __fstatat64 macros.
7fb90fb8
UD
1933 * include/dirent.h: Add libc_hidden_proto for rewinddir.
1934 * dirent/rewinddir.c: Add libc_hidden_def.
1935 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 1936 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 1937
28377d1b
UD
1938 * include/dirent.h (__alloc_dir): Add flags parameter.
1939 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
1940 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
1941 __alloc_dir.
1942 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
1943 from fdopendir if O_CLOEXEC is already set.
1944
66bdbaa4
AM
19452011-03-15 Alan Modra <amodra@gmail.com>
1946
1947 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
1948 l_tls_firstbyte_offset non-zero. Save padding offset in
1949 l_tls_firstbyte_offset for later use.
1950 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
1951 freeing static tls block.
1952
95721191
JN
19532011-03-05 Jonathan Nieder <jrnieder@gmail.com>
1954
1955 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
1956 where #ifdef was intended. The intent is to prevent ARG_MAX from
1957 being defined by the kernel headers.
1958
f87dfb1f
UD
19592011-05-07 Ulrich Drepper <drepper@gmail.com>
1960
1961 [BZ #12734]
1962 * resolv/resolv.h: Define RES_NOTLDQUERY.
1963 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
1964 no-tld-query and set RES_NOTLDQUERY.
1965 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
1966 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
1967 modern BIND to search name as TLD unless forbidden.
1968
47c3cd7a
UD
19692011-05-07 Petr Baudis <pasky@suse.cz>
1970 Ulrich Drepper <drepper@gmail.com>
1971
1972 [BZ #12393]
1973 * elf/dl-load.c (fillin_rpath): Move trusted path check...
1974 (is_trusted_path): ...to here.
c1e9ea35 1975 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 1976 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 1977 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 1978
8a35c912
PP
19792011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1980
1981 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
1982 __BEGIN/__END_DECLS.
1983
acd41f47
UD
19842011-05-06 Ulrich Drepper <drepper@gmail.com>
1985
1986 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
1987 NSS_STATUS_NOTFOUND if no record was found.
1988
597df647
AS
19892011-05-05 Andreas Schwab <schwab@redhat.com>
1990
1991 * sunrpc/Makefile (headers): Add rpc/netdb.h.
1992 (headers-not-in-tirpc): Remove rpc/netdb.h
1993 * resolv/netdb.h: Revert last change.
1994
b9af1301
PP
19952011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1996
1997 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
1998 circular dependency between libgcc.a and libc.a.
1999
4e34d5f5
AS
20002011-05-05 Andreas Schwab <schwab@redhat.com>
2001
2002 * resolv/netdb.h: Don't include <rpc/netdb.h>.
2003 * nis/Makefile: Don't install rpcsvc/*.
2004 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
2005 instead of <rpc/types.h>.
2006 (MAXHOSTNAMELEN): Define.
2007
00ee369c
AS
20082011-05-03 Andreas Schwab <schwab@redhat.com>
2009
2010 * elf/ldconfig.c (add_dir): Don't crash on empty path.
2011
0b592a30
MB
20122011-04-28 Maciej Babinski <mbabinski@google.com>
2013
2014 [BZ #12714]
2015 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
2016 gethostbyname4_r when IPv6 results are possible.
2017
6e04cbbe
UD
20182011-05-02 Ulrich Drepper <drepper@gmail.com>
2019
2020 [BZ #12723]
2021 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
2022 _PC_PIPE_BUF handling.
2023
e4ecafe0
BH
20242011-04-30 Bruno Haible <bruno@clisp.org>
2025
2026 [BZ #12717]
2027 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
2028 * resolv/netdb.h (getnameinfo): Change type of flags parameter
2029 to 'int'.
2030 * inet/getnameinfo.c (getnameinfo): Likewise.
2031
125ee683
UD
20322011-04-29 Ulrich Drepper <drepper@gmail.com>
2033
2034 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
2035 to groups setting in database lookup.
2036 * nss/nsswitch.conf: Add initgroups entry.
2037
b722481a
EB
20382011-04-22 Ulrich Drepper <drepper@gmail.com>
2039
2040 [BZ #12685]
2041 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
2042 mode string.
2043 Patch by Eric Blake <eblake@redhat.com>.
2044
4df46dbd
L
20452011-04-20 H.J. Lu <hongjiu.lu@intel.com>
2046
2047 * sunrpc/Makefile (need-export-routines): Add svc_run.
2048 (routines): Remove svc_run.
2049 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
2050 * sunrpc/clnt_perr.c (clnt_perrno): Export.
2051 * sunrpc/svc_run.c (svc_run): Likewise.
2052 * sunrpc/svc_udp.c (svcudp_create): Likewise.
2053
e84142d2
UD
20542011-04-21 Ulrich Drepper <drepper@gmail.com>
2055
2056 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
2057 problem in reallocation in last patch.
2058
877175d8
UD
20592011-04-20 Ulrich Drepper <drepper@gmail.com>
2060
2061 * sunrpc/Makefile: Move inclusion of Rules.
2062
ab8eed78
UD
20632011-04-19 Ulrich Drepper <drepper@gmail.com>
2064
2065 * nss/nss_files/files-initgroups.c: New file.
2066 * nss/Makefile (libnss_files-routines): Add files-initgroups.
2067 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
2068 _nss_files_initgroups_dyn.
2069
e3d8f584
RS
20702011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
2071
2072 * elf/elf.h (R_ARM_IRELATIVE): Define.
2073
af190f45
UD
20742011-04-19 Ulrich Drepper <drepper@gmail.com>
2075
2076 * po/ru.po: Update from translation team.
2077
53cf59ef
UD
20782011-04-17 Ulrich Drepper <drepper@gmail.com>
2079
2080 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
2081 dependencies.
2082
4c559bcd
MF
20832011-02-06 Mike Frysinger <vapier@gentoo.org>
2084
2085 [BZ #12653]
2086 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
2087 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
2088 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2089 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2090 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2091
4420675c
AS
20922011-03-28 Andreas Schwab <schwab@linux-m68k.org>
2093
2094 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
2095 differing bytes.
2096 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2097 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2098 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2099
75ea32ab
UD
21002011-04-17 Ulrich Drepper <drepper@gmail.com>
2101
2102 [BZ #12420]
2103 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
2104 storing it.
2105 * stdlib/bug-getcontext.c: New file.
2106 * stdlib/Makefile: Add rules to build and run bug-getcontext.
2107
27390476
AK
21082011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2109
2110 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
2111 instructions into .machine "z9-109".
2112 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
2113 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
2114
10442705
AK
21152011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2116
2117 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
2118 between environment variables and auxiliary vector.
2119
7b57bfe5
UD
21202011-04-16 Ulrich Drepper <drepper@gmail.com>
2121
2122 * Makefile: Add rules to build linkobj/libc.so.
2123 * include/libc-symbols.h: Define libc_hidden_nolink.
2124 * include/rpc/auth.h: Mark functions which are to be hidden.
2125 * include/rpc/auth_des.h: Likewise.
2126 * include/rpc/auth_unix.h: Likewise.
2127 * include/rpc/clnt.h: Likewise.
2128 * include/rpc/des_crypt.h: Likewise.
2129 * include/rpc/key_prot.h: Likewise.
2130 * include/rpc/pmap_clnt.h: Likewise.
2131 * include/rpc/pmap_prot.h: Likewise.
2132 * include/rpc/pmap_rmt.h: Likewise.
2133 * include/rpc/rpc_msg.h: Likewise.
2134 * include/rpc/svc.h: Likewise.
2135 * include/rpc/svc_auth.h: Likewise.
2136 * include/rpc/xdr.h: Likewise.
2137 * nis/Makefile: Link all DSOs against linkobj/libc.so.
2138 * nss/Makefile: Likewise.
2139 * sunrpc/Makefile: Don't install headers. Build library with normal
2140 entry points. Don't build rpcinfo. Link RPC tests appropriately.
2141 * sunrpc/auth_des.c: Hide exported symbols by default, export some
2142 for the compat linking library. Remove use of INTDEF/INTUSE.
2143 * sunrpc/auth_none.c: Likewise.
2144 * sunrpc/auth_unix.c: Likewise.
2145 * sunrpc/authdes_prot.c: Likewise.
2146 * sunrpc/authuxprot.c: Likewise.
2147 * sunrpc/clnt_gen.c: Likewise.
2148 * sunrpc/clnt_perr.c: Likewise.
2149 * sunrpc/clnt_raw.c: Likewise.
2150 * sunrpc/clnt_simp.c: Likewise.
2151 * sunrpc/clnt_tcp.c: Likewise.
2152 * sunrpc/clnt_udp.c: Likewise.
2153 * sunrpc/clnt_unix.c: Likewise.
2154 * sunrpc/des_crypt.c: Likewise.
2155 * sunrpc/des_soft.c: Likewise.
2156 * sunrpc/get_myaddr.c: Likewise.
2157 * sunrpc/key_call.c: Likewise.
2158 * sunrpc/key_prot.c: Likewise.
2159 * sunrpc/netname.c: Likewise.
2160 * sunrpc/pm_getmaps.c: Likewise.
2161 * sunrpc/pm_getport.c: Likewise.
2162 * sunrpc/pmap_clnt.c: Likewise.
2163 * sunrpc/pmap_prot.c: Likewise.
2164 * sunrpc/pmap_prot2.c: Likewise.
2165 * sunrpc/pmap_rmt.c: Likewise.
2166 * sunrpc/publickey.c: Likewise.
2167 * sunrpc/rpc_cmsg.c: Likewise.
2168 * sunrpc/rpc_common.c: Likewise.
2169 * sunrpc/rpc_dtable.c: Likewise.
2170 * sunrpc/rpc_prot.c: Likewise.
2171 * sunrpc/rpc_thread.c: Likewise.
2172 * sunrpc/rtime.c: Likewise.
2173 * sunrpc/svc.c: Likewise.
2174 * sunrpc/svc_auth.c: Likewise.
2175 * sunrpc/svc_authux.c: Likewise.
2176 * sunrpc/svc_raw.c: Likewise.
2177 * sunrpc/svc_run.c: Likewise.
2178 * sunrpc/svc_simple.c: Likewise.
2179 * sunrpc/svc_tcp.c: Likewise.
2180 * sunrpc/svc_udp.c: Likewise.
2181 * sunrpc/svc_unix.c: Likewise.
2182 * sunrpc/svcauth_des.c: Likewise.
2183 * sunrpc/xcrypt.c: Likewise.
2184 * sunrpc/xdr.c: Likewise.
2185 * sunrpc/xdr_array.c: Likewise.
2186 * sunrpc/xdr_float.c: Likewise.
2187 * sunrpc/xdr_intXX_t.c: Likewise.
2188 * sunrpc/xdr_mem.c: Likewise.
2189 * sunrpc/xdr_rec.c: Likewise.
2190 * sunrpc/xdr_ref.c: Likewise.
2191 * sunrpc/xdr_sizeof.c: Likewise.
2192 * sunrpc/xdr_stdio.c: Likewise.
2193
e6c61494
UD
21942011-04-10 Ulrich Drepper <drepper@gmail.com>
2195
2196 [BZ #12650]
2197 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
2198 * sysdeps/ia64/dl-tls.h: Likewise.
2199 * sysdeps/powerpc/dl-tls.h: Likewise.
2200 * sysdeps/s390/dl-tls.h: Likewise.
2201 * sysdeps/sh/dl-tls.h: Likewise.
2202 * sysdeps/sparc/dl-tls.h: Likewise.
2203 * sysdeps/x86_64/dl-tls.h: Likewise.
2204 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
2205
34fe483e
AS
22062011-03-14 Andreas Schwab <schwab@redhat.com>
2207
2208 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
2209 rpath element also skip the following colon.
2210 (expand_dynamic_string_token): Add is_path parameter and pass
2211 down to DL_DST_REQUIRED and _dl_dst_substitute.
2212 (decompose_rpath): Call expand_dynamic_string_token with
2213 non-zero is_path. Ignore empty rpaths.
2214 (_dl_map_object_from_fd): Call expand_dynamic_string_token
2215 with zero is_path.
2216
f12a32e6
AS
22172011-04-08 Andreas Schwab <schwab@linux-m68k.org>
2218
2219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2220 Make cancelable.
2221
38a7d692
UD
22222011-04-09 Ulrich Drepper <drepper@gmail.com>
2223
2224 [BZ #12655]
2225 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
2226 Patch by Filipe David Manana <fdmanana@apache.org>.
2227
e451d22b
AS
22282011-04-07 Andreas Schwab <schwab@redhat.com>
2229
2230 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
2231 Maintain aligned stack.
2232 (CHECK_RSP): Remove unused macro.
2233
dedc7c7b
UD
22342011-04-03 Ulrich Drepper <drepper@gmail.com>
2235
2236 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
2237 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
2238
94521213
UD
22392011-04-02 Ulrich Drepper <drepper@gmail.com>
2240
2241 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
2242
8cb700c0 2243 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 2244
0354e355
L
22452011-03-26 H.J. Lu <hongjiu.lu@intel.com>
2246
2247 [BZ #12518]
2248 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
2249 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
2250 * sysdeps/x86_64/memmove.c: New file.
2251 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
2252 (memcpy): Renamed to ...
2253 (__new_memcpy): This.
2254 (memcpy): Provide GLIBC_2_14 memcpy.
2255 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
2256 (memcpy): Provide GLIBC_2_2_5 memcpy.
2257
8593482f
UD
22582011-04-01 Ulrich Drepper <drepper@gmail.com>
2259
2260 [BZ #12631]
2261 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
2262
81a5726b
AS
22632011-03-30 Andreas Schwab <schwab@redhat.com>
2264
2265 * misc/syncfs.c: New file.
2266 * misc/Makefile (routines): Add syncfs.
2267 * posix/unistd.h: Declare syncfs.
2268 * sysdeps/unix/syscalls.list: Add syncfs.
2269
00e5419f
AS
22702011-04-01 Andreas Schwab <schwab@redhat.com>
2271
2272 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
2273 open_by_handle_at.
2274 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
2275 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
2276 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2277 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
2278 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2279 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2280 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
2281
748876bf
UD
22822011-04-01 Ulrich Drepper <drepper@gmail.com>
2283
658e451d
UD
2284 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
2285 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
2286 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
2287 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2288 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
2289 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2290 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
2291
748876bf
UD
2292 * io/Makefile: Compile fallocate.c, fallocate64.c, and
2293 sync_file_range.c with -fexceptions.
2294 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
2295 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
2296 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
2297 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
2298 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
2299 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2300 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
2301 sync_file_range as cancellation point
2302 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
2303 now a wrapper around __call_sync_file_range with cancellation handling.
2304 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
2305 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
2306 function name to __call_sync_file_range.
2307 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
2308 Add call_sync_file_range.
748876bf 2309
6e63d5e1
AS
23102011-04-01 Andreas Schwab <schwab@redhat.com>
2311
2312 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 2313 bits/timex.h.
6e63d5e1 2314
46998f74
UD
23152011-04-01 Ulrich Drepper <drepper@gmail.com>
2316
4c1423ed
UD
2317 * iconv/iconv.h: Fix typo in comment.
2318 * io/fcntl.h: Likewise.
2319 * libio/stdio.h: Likewise.
2320 * posix/spawn.h: Likewise.
2321 * posix/unistd.h: Likewise.
2322 * stdlib/stdlib.h: Likewise.
2323 * time/time.h: Likewise.
2324 * wcsmbs/wchar.h: Likewise.
2325
158648c0
UD
2326 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
2327 open_by_handle): Add.
2328 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
2329 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
2330 Augment a few comments.
2331 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
2332 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2333 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
2334 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2335 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
2336 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
2337 open_by_handle.
2338
46998f74
UD
2339 * io/fcntl.h (AT_EMPTY_PATH): Define.
2340
83fe108b
UD
23412011-03-30 Ulrich Drepper <drepper@gmail.com>
2342
2343 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
2344 * sysdeps/unix/sysv/linux/bits/time.h: New file.
2345 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
2346 to...
2347 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
2348 * Versions.def: Add GLIBC_2.14.
2349 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
2350 Export.
83fe108b 2351
bb242059
UD
23522011-03-22 Ulrich Drepper <drepper@gmail.com>
2353
2354 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
2355 round counter.
2356 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
2357
c97a1282
L
23582011-03-20 H.J. Lu <hongjiu.lu@intel.com>
2359
2360 [BZ #12597]
2361 * string/test-strncmp.c (do_page_test): New function.
2362 (check2): Likewise.
2363 (test_main): Call check2.
2364 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
2365
2a115601
UD
23662011-03-20 Ulrich Drepper <drepper@gmail.com>
2367
2368 [BZ #12587]
2369 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
2370 Handle cache information in CPU leaf 4.
2371 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
2372
8126d904
UD
23732011-03-18 Ulrich Drepper <drepper@gmail.com>
2374
042c49c6 2375 [BZ #12583]
8126d904
UD
2376 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
2377 character representation.
2378 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
2379
ccfe366e
RA
23802011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
2381
2382 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
2383 END(__isnan) to END(__isnanf) to match function entry point/label
2384 EALIGN(__isnanf,...).
2385
c6e13027
JJ
23862011-03-10 Jakub Jelinek <jakub@redhat.com>
2387
2388 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
2389
33f85a3f
UD
23902011-03-10 Ulrich Drepper <drepper@gmail.com>
2391
028478fa
UD
2392 [BZ #12510]
2393 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
2394 copy from the symbol referenced in the relocation to initialize the
2395 used variable.
2396 Patch by Piotr Bury <pbury@goahead.com>.
2397 * elf/Makefile: Add rules to build and tst-unique3.
2398 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
2399 * elf/tst-unique3.cc: New file.
2400 * elf/tst-unique3.h: New file.
2401 * elf/tst-unique3lib.cc: New file.
2402 * elf/tst-unique3lib2.cc: New file.
2403
33f85a3f
UD
2404 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
2405
03592fc7
MF
24062011-03-10 Mike Frysinger <vapier@gentoo.org>
2407
2408 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
2409 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
2410 to _start.
03592fc7 2411
6a5ee102
UD
24122011-03-06 Ulrich Drepper <drepper@gmail.com>
2413
2414 * elf/dl-load.c (_dl_map_object): If we are looking for the first
2415 to-be-loaded object along a path to loader is ld.so.
2416
7e4ba49c
HJ
24172011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
2418 Ulrich Drepper <drepper@gmail.com>
2419
2420 * sysdeps/x86_64/memset.S: After aligning destination, code
2421 branches to different locations depending on the value of
2422 misalignment, when multiarch is enabled. Fix this.
2423
24242011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
2425
2426 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
2427 Set _x86_64_preferred_memory_instruction for AMD processsors.
2428 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2429 Set bit_Prefer_SSE_for_memop for AMD processors.
2430
13a804de
UD
24312011-03-04 Ulrich Drepper <drepper@gmail.com>
2432
2433 * libio/fmemopen.c (fmemopen): Optimize a bit.
2434
9d25c392
AS
24352011-03-03 Andreas Schwab <schwab@redhat.com>
2436
2437 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
2438
a5543c6a
RM
24392011-03-03 Roland McGrath <roland@redhat.com>
2440
2441 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
2442
012d35f7
DM
24432011-02-28 Aurelien Jarno <aurelien@aurel32.net>
2444
7e4ba49c 2445 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
2446 __bzero_ultra1 instead of __memset_ultra1.
2447
4bff6e01
AS
24482011-02-23 Andreas Schwab <schwab@redhat.com>
2449 Ulrich Drepper <drepper@gmail.com>
2450
2451 [BZ #12509]
2452 * include/link.h (struct link_map): Add l_orig_initfini.
2453 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
2454 returning unsuccessfully.
2455 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
2456 close of a file loaded at startup, restore the original l_initfini
2457 list.
2458 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
2459 list, store the pointer.
2460 * elf/Makefile ($(objpfx)noload-mem): New rule.
2461 (noload-ENV): Define.
2462 (tests): Add $(objpfx)noload-mem.
2463 * elf/noload.c: Include <memcheck.h>.
2464 (main): Call mtrace. Close all opened handles.
2465
f2092faf
AS
24662011-02-17 Andreas Schwab <schwab@redhat.com>
2467
2468 [BZ #12454]
2469 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
2470 dependencies are missing.
2471
6c8a2e88
ST
24722011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
2473
f2092faf 2474 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
2475 Hurd needs munmap.
2476 * sysdeps/mach/hurd/ifreq.h: New file.
2477
84a42118
PB
24782011-01-27 Petr Baudis <pasky@suse.cz>
2479 Ulrich Drepper <drepper@gmail.com>
2480
071f805e 2481 [BZ 12445]#
84a42118
PB
2482 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
2483 to extend_alloca().
2484 * stdio-common/bug23.c: New file.
2485 * stdio-common/Makefile (tests): Add bug23.
2486
e23fe25b
AS
24872010-09-28 Andreas Schwab <schwab@redhat.com>
2488 Ulrich Drepper <drepper@gmail.com>
2489
2490 [BZ #12489]
2491 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
2492 before performing relro protection. At old place add assertion
2493 to make sure nothing changed.
2494
d3f02e10
NS
24952011-02-17 Nathan Sidwell <nathan@codesourcery.com>
2496 Glauber de Oliveira Costa <glommer@gmail.com>
2497
2498 * elf/elf.h: Add new ARM TLS relocs.
2499
d55fd7a5
RA
25002011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
2501
2502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2503 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
2504 cast from r3.
2505 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
2506 'tests' variable.
2507 * sysdeps/wordsize-64/tst-writev.c: New file.
2508
2206397e
RA
25092011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
2510
2511 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
2512 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
2513 insns in _dl_start to prevent a TOC reference before relocs are
2514 resolved.
2515
e9433893
UD
25162011-02-15 Ulrich Drepper <drepper@gmail.com>
2517
2518 [BZ #12469]
2519 * Makeconfig: Remove RANLIB definition.
2520 * Makerules: Don't use RANLIB.
2521 * aclocal.m4: Remove ranlib test.
2522 * configure.in: No need to check for ranlib.
2523 * elf/rtld-Rules: Don't use RANLIB.
2524
f75286c6
ST
25252011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2526
8e31c82d
ST
2527 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
2528 protection macro.
2529 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
2530 inclusion protection macro.
2531
f75286c6
ST
2532 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
2533 SIGRTMIN and SIGRTMAX and print information in that case only when
2534 SIGRTMIN is defined.
2535
c1d0e639
JJ
25362011-02-11 Jakub Jelinek <jakub@redhat.com>
2537
2538 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
2539 arginfo fn returning -1.
2540
2541 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
2542 and thousands string is zero terminated.
2543
edf9294e
AS
25442011-02-03 Andreas Schwab <schwab@redhat.com>
2545
2546 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
2547 sysdeps/unix/sysv/linux/bits/socket.h.
2548
2b7e92df
ST
25492011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
2550
edf9294e
AS
2551 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
2552 (__CPU_COUNT): Remove old macros.
2553 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
2554 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
2555 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
2556 (__sched_cpualloc, __sched_cpufree): Add declarations.
2557
a4c7ea7b
UD
25582011-02-05 Ulrich Drepper <drepper@gmail.com>
2559
2560 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
2561 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
2562 * nscd/aicache.c (addhstaiX): Return timeout of added value.
2563 (readdhstai): Return value of addhstaiX call.
2564 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
2565 (addgrbyX): Return value returned by cache_addgr.
2566 (readdgrbyname): Return value returned by addgrbyX.
2567 (readdgrbygid): Likewise.
2568 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
2569 (addpwbyX): Return value returned by cache_addpw.
2570 (readdpwbyname): Return value returned by addhstbyX.
2571 (readdpwbyuid): Likewise.
2572 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
2573 (addservbyX): Return value returned by cache_addserv.
2574 (readdservbyname): Return value returned by addservbyX:
2575 (readdservbyport): Likewise.
2576 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
2577 (addhstbyX): Return value returned by cache_addhst.
2578 (readdhstbyname): Return value returned by addhstbyX.
2579 (readdhstbyaddr): Likewise.
2580 (readdhstbynamev6): Likewise.
2581 (readdhstbyaddrv6): Likewise.
2582 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
2583 (readdinitgroups): Return value returned by addinitgroupsX.
2584 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
2585 (prune_cache): Keep track of timeout value of re-added entries.
2586 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
2587 * nscd/nscd.h: Adjust prototypes of readd* functions.
2588
a0bf67cc
RM
25892011-02-04 Roland McGrath <roland@redhat.com>
2590
2591 * nis/nis_server.c (nis_servstate): Use the right name for 0.
2592 (nis_stats): Likewise.
2593 * nis/nis_modify.c (nis_modify): Likewise.
2594 * nis/nis_remove.c (nis_remove): Likewise.
2595 * nis/nis_add.c (nis_add): Likewise.
2596
2597 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
2598
2599 * posix/fnmatch_loop.c: Add some consts.
2600
2601 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
2602
435b95eb
L
26032011-02-02 H.J. Lu <hongjiu.lu@intel.com>
2604
2605 [BZ #12460]
2606 * config.make.in (config-cflags-novzeroupper): Define.
2607 * configure.in: Substitute libc_cv_cc_novzeroupper.
2608 * elf/Makefile (AVX-CFLAGS): Define.
2609 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
2610 (CFLAGS-tst-auditmod4a.c): Likewise.
2611 (CFLAGS-tst-auditmod4b.c): Likewise.
2612 (CFLAGS-tst-auditmod6b.c): Likewise.
2613 (CFLAGS-tst-auditmod6c.c): Likewise.
2614 (CFLAGS-tst-auditmod7b.c): Likewise.
2615 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
2616
8517b15e
UD
26172011-02-02 Ulrich Drepper <drepper@gmail.com>
2618
2619 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
2620 function to the callback.
2621 Patch partly by Jiri Olsa <jolsa@redhat.com>.
2622
10a656fe
AS
26232011-02-02 Andreas Schwab <schwab@redhat.com>
2624
2625 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
2626 of errno.
2627
968dad0a
UD
26282011-01-19 Ulrich Drepper <drepper@gmail.com>
2629
9f94d2ea 2630 [BZ #11724]
968dad0a
UD
2631 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
2632 of constructors.
2633 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
2634 of destructors.
2635 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
2636
2637 [BZ #11724]
2638 * elf/Makefile: Add rules to build and run new test.
2639 * elf/tst-initorder.c: New file.
2640 * elf/tst-initorder.exp: New file.
2641 * elf/tst-initordera1.c: New file.
2642 * elf/tst-initordera2.c: New file.
2643 * elf/tst-initordera3.c: New file.
2644 * elf/tst-initordera4.c: New file.
2645 * elf/tst-initorderb1.c: New file.
2646 * elf/tst-initorderb2.c: New file.
2647 * elf/tst-order-a1.c: New file.
2648 * elf/tst-order-a2.c: New file.
2649 * elf/tst-order-a3.c: New file.
2650 * elf/tst-order-a4.c: New file.
2651 * elf/tst-order-b1.c: New file.
2652 * elf/tst-order-b2.c: New file.
2653 * elf/tst-order-main.c: New file.
2654 New test case by George Gensure <werkt0@gmail.com>.
2655
86e92359
UD
26562010-10-01 Andreas Schwab <schwab@redhat.com>
2657
2658 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
2659 decoding ACE if AI_CANONIDN.
2660
5d5732b0
UD
26612011-01-18 Ulrich Drepper <drepper@gmail.com>
2662
2663 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
2664
a77e8cbc
UD
26652011-01-17 Ulrich Drepper <drepper@gmail.com>
2666
6392473f
UD
2667 * version.h (RELEASE): Bump for 2.13 release.
2668 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
2669
620a0529
UD
2670 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
2671
18ba70a5
UD
2672 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
2673 MADV_NOHUGEPAGE.
32465c3e
UD
2674 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
2675 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
2676 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2677 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2678 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2679 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
2680
c0dafcf1
UD
2681 * posix/getconf.c: Update copyright year.
2682 * catgets/gencat.c: Likewise.
2683 * csu/version.c: Likewise.
2684 * debug/catchsegv.sh: Likewise.
2685 * debug/xtrace.sh: Likewise.
2686 * elf/ldconfig.c: Likewise.
2687 * elf/ldd.bash.in: Likewise.
2688 * elf/sprof.c (print_version): Likewise.
2689 * iconv/iconv_prog.c: Likewise.
2690 * iconv/iconvconfig.c: Likewise.
2691 * locale/programs/locale.c: Likewise.
2692 * locale/programs/localedef.c: Likewise.
2693 * malloc/memusage.sh: Likewise.
2694 * malloc/mtrace.pl: Likewise.
2695 * nscd/nscd.c (print_version): Likewise.
2696 * nss/getent.c: Likewise.
2697
a77e8cbc
UD
2698 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
2699 PF_CAIF, and PF_ALG.
2700 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2701
77e8bddf
AS
27022011-01-16 Andreas Schwab <schwab@linux-m68k.org>
2703
1f20b93a
AS
2704 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
2705 (modules-names): Use them.
2706 (ifunc-test-modules, ifunc-pie-tests): Define.
2707 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
2708 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
2709 (test-extras): Likewise.
2710 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
2711 $(compile-command.c).
2712 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
2713 (all-built-dso): Define.
2714 (check-textrel.out, check-execstack.out): Depend on it.
2715
77e8bddf
AS
2716 * configure.in: Don't override --enable-multi-arch.
2717
bc425b33
UD
27182011-01-15 Ulrich Drepper <drepper@gmail.com>
2719
2720 [BZ #6812]
2721 * nscd/hstcache.c (tryagain): Define.
2722 (cache_addhst): Return tryagain not notfound for temporary errors.
2723 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
2724 failed.
2725
794c3ad3
UD
27262011-01-14 Ulrich Drepper <drepper@gmail.com>
2727
70181fdd
UD
2728 [BZ #10563]
2729 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
2730 to make the syscall.
2731 * sysdeps/unix/sysv/linux/setgroups.c: New file.
2732
794c3ad3
UD
2733 [BZ #12378]
2734 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
2735 and fall back to matching as normal character if the string ends before
2736 the matching ']' is found. This is what POSIX requires.
2737 * posix/testfnm.c: Adjust test result.
2738 * posix/globtest.sh: Adjust test result. Add new test.
2739 * posix/tst-fnmatch.input: Likewise.
2740 * posix/tst-fnmatch2.c: Add new test.
2741
68dc9497
AS
27422010-12-28 Andreas Schwab <schwab@linux-m68k.org>
2743
2744 * elf/Makefile (check-execstack): Revert last change. Depend on
2745 check-execstack.h.
2746 (check-execstack.h): New target.
2747 (generated): Add check-execstack.h.
2748 * elf/check-execstack.c: Include "check-execstack.h".
2749 (main): Revert last change.
2750 (handle_file): Return zero if GNU_STACK is absent and
2751 DEFAULT_STACK_PERMS doesn't include PF_X.
2752
451f001b
UD
27532011-01-13 Ulrich Drepper <drepper@gmail.com>
2754
cfa28e56
UD
2755 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
2756 in child fails because the descriptor is already closed.
8cf8ce17
UD
2757 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
2758 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
2759 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 2760
1086d70d
UD
2761 [BZ #12397]
2762 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
2763 syscall.
2764
451f001b
UD
2765 [BZ #10484]
2766 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
2767 temporary buffer used to handle multi lookups locally.
a85b5cb4 2768 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 2769
08769175
UD
27702011-01-12 Ulrich Drepper <drepper@gmail.com>
2771
2772 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
2773 loader is ld.so.
2774
5e49c52e
UD
27752011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
2776
2777 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
2778 alignment for SSE2.
2779
60522a5f
UD
27802011-01-12 Ulrich Drepper <drepper@gmail.com>
2781
2782 [BZ #12394]
2783 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
2784 characters. When rounding increased number of integer digits recompute
2785 number of groups.
2786 * stdio-common/tst-grouping.c: New file.
2787 * stdio-common/Makefile: Add rules to build and run tst-grouping.
2788
f257bbd7
UD
27892011-01-09 Ulrich Drepper <drepper@gmail.com>
2790
2791 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
2792 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
2793
2794 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
2795 void.
2796 * bits/select.h: Likewise.
2797
fa9c15cb
UD
27982011-01-08 Ulrich Drepper <drepper@gmail.com>
2799
2800 * po/ja.po: Update from translation team.
2801
16c2895f
DM
28022011-01-04 David S. Miller <davem@sunset.davemloft.net>
2803
2804 [BZ #11155]
2805 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
2806 implementation just like for lxstat, fxstatat, et al.
2807
2543fef2
JM
28082010-12-27 Jim Meyering <meyering@redhat.com>
2809
2810 [BZ #12348]
2811 * posix/regexec.c (build_trtable): Return failure indication upon
2812 calloc failure. Otherwise, re_search_internal could infloop on OOM.
2813
98727dbe
UD
28142010-12-25 Ulrich Drepper <drepper@gmail.com>
2815
5bd6dc5c
UD
2816 [BZ #12201]
2817 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
2818 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
2819 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
2820 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
2821
97983464
UD
2822 [BZ #12207]
2823 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
2824
98727dbe
UD
2825 [BZ #12204]
2826 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
2827 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
2828
4a531bb0
L
28292010-12-15 H.J. Lu <hongjiu.lu@intel.com>
2830
2831 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
2832 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
2833 script has SORT_BY_INIT_PRIORITY.
2834 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
2835 NO_CTORS_DTORS_SECTIONS is defined.
2836 * elf/soinit.c: Likewise.
2837 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
2838 NO_CTORS_DTORS_SECTIONS is defined.
2839 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
2840 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
2841 * sysdeps/sh/init-first.c: Likewise.
2842 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
2843
07eb4b71
UD
28442010-12-24 Ulrich Drepper <drepper@gmail.com>
2845
2846 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
2847 always use the slow path.
2848
30950a5f
RA
28492010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
2850
2851 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
2852 similar rule which adds the sysdep directories to the header search in
2853 order to pick up the correct platform stackinfo.h.
2854 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
2855 perform test if it is, otherwise return successfully without testing.
2856 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
2857 DEFAULT_STACK_PERMS define in stackinfo.h.
2858 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
2859 defined in stackinfo.h.
2860 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
2861 DEFAULT_STACK_PERMS defined in stackinfo.h.
2862 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
2863 * sysdeps/ia64/stackinfo.h: Likewise.
2864 * sysdeps/s390/stackinfo.h: Likewise.
2865 * sysdeps/sh/stackinfo.h: Likewise.
2866 * sysdeps/sparc/stackinfo.h: Likewise.
2867 * sysdeps/x86_64/stackinfo.h: Likewise.
2868 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
2869 PF_X for powerpc64. Retain PF_X for powerpc32.
2870
db753e2c
UD
28712010-12-19 Ulrich Drepper <drepper@gmail.com>
2872
14b697f7
UD
2873 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
2874 accurately.
db753e2c
UD
2875 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
2876 GETDENTS_64BIT_ALIGNED.
2877
28300719
UD
28782010-12-14 Ulrich Drepper <dreper@gmail.com>
2879
14b697f7 2880 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 2881
4f197237
AS
28822010-12-10 Andreas Schwab <schwab@redhat.com>
2883
dbb0472f
AS
2884 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
2885 _GNU_SOURCE.
2886
4f197237
AS
2887 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
2888 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
2889 Remove __restrict.
2890 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
2891 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
2892
fb88ac72
UD
28932010-12-09 Ulrich Drepper <drepper@gmail.com>
2894
2895 [BZ #11655]
2896 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
2897 are initialized.
2898
42acbb92
JJ
28992010-12-09 Jakub Jelinek <jakub@redhat.com>
2900
2901 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
2902
c038d98d
UD
29032010-12-03 Ulrich Drepper <drepper@gmail.com>
2904
2905 * po/it.po: Update from translation team.
2906
3a4a2499
L
29072010-12-01 H.J. Lu <hongjiu.lu@intel.com>
2908
2909 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
2910 unused codes.
2911
1e24cf6e
UD
29122010-11-30 Ulrich Drepper <drepper@gmail.com>
2913
2914 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
2915
a7690819
AS
29162010-11-24 Andreas Schwab <schwab@redhat.com>
2917
2918 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
2919 specially.
2920 (gaih_getanswer_slice): Likewise.
2921
3bf8d1b1
JJ
29222010-10-20 Jakub Jelinek <jakub@redhat.com>
2923
2924 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
2925
6db52fbb
PB
29262010-05-31 Petr Baudis <pasky@suse.cz>
2927
2928 [BZ #11149]
2929 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
2930 silently even in the chroot mode.
2931
eaca7569
UD
29322010-11-22 Ulrich Drepper <drepper@gmail.com>
2933
2934 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
2935 last patch a bit. Pretty printing
2936
3056dcdb
UD
29372010-05-31 Petr Baudis <pasky@suse.cz>
2938
2939 [BZ #10085]
2940 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
2941 initialization of skip_initgroups_dyn.
2942
cf7c9078
UD
29432010-11-19 Ulrich Drepper <drepper@gmail.com>
2944
2945 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
2946 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
2947
a1fb5e3e
UD
29482010-11-16 Ulrich Drepper <drepper@gmail.com>
2949
2950 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
2951
3540d66b
AS
29522010-11-11 Andreas Schwab <schwab@redhat.com>
2953
2954 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
2955 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
2956 (tst-fnmatch-ENV): Set MALLOC_TRACE.
2957 ($(objpfx)tst-fnmatch-mem): New rule.
2958 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
2959 * posix/tst-fnmatch.c (main): Call mtrace.
2960
13b69574
L
29612010-11-11 H.J. Lu <hongjiu.lu@intel.com>
2962
2963 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2964 Support Intel processor model 6 and model 0x2c.
2965
da93d214
LM
29662010-11-10 Luis Machado <luisgpm@br.ibm.com>
2967
2968 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
2969 signed comparison.
2970
8ca52c6e
L
29712010-11-09 H.J. Lu <hongjiu.lu@intel.com>
2972
2973 [BZ #12205]
2974 * string/test-strncasecmp.c (check_result): New function.
2975 (do_one_test): Use it.
2976 (check1): New function.
2977 (test_main): Use it.
2978 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
2979 Support strcasecmp and strncasecmp.
2980
69da074d
UD
29812010-11-08 Ulrich Drepper <drepper@gmail.com>
2982
2983 [BZ #12194]
2984 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
2985 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2986
ff02d528
L
29872010-11-07 H.J. Lu <hongjiu.lu@intel.com>
2988
2989 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
2990 IFUNC support.
2991 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2992 memset-x86-64.
2993 * sysdeps/x86_64/multiarch/bzero.S: New file.
2994 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
2995 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
2996 * sysdeps/x86_64/multiarch/memset.S: New file.
2997 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
2998 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2999 Set bit_Prefer_SSE_for_memop for Intel processors.
3000 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
3001 Define.
3002 (index_Prefer_SSE_for_memop): Define.
3003 (HAS_PREFER_SSE_FOR_MEMOP): Define.
3004
344d0b54
LM
30052010-11-04 Luis Machado <luisgpm@br.ibm.com>
3006
3007 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
3008 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
3009
c0dde15b
UD
30102010-11-03 H.J. Lu <hongjiu.lu@intel.com>
3011
3012 [BZ #12191]
3013 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
3014 (__x86_64_raw_data_cache_size_half): Likewise.
3015 (__x86_64_raw_shared_cache_size): Likewise.
3016 (__x86_64_raw_shared_cache_size_half): Likewise.
3017
3018 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
3019 (__x86_64_raw_data_cache_size_half): Likewise.
3020 (__x86_64_raw_shared_cache_size): Likewise.
3021 (__x86_64_raw_shared_cache_size_half): Likewise.
3022 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
3023 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
3024 and __x86_64_raw_shared_cache_size_half. Round
3025 __x86_64_data_cache_size_half, __x86_64_data_cache_size
3026 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
3027 to multiple of 256 bytes.
3028
0e516e0e
MS
30292010-11-03 Ulrich Drepper <drepper@gmail.com>
3030
3031 [BZ #12167]
3032 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
3033 of inacessible symlinks. Verify result of symlink before returning it.
3034 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3035 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
3036
0e012e87
ER
30372010-10-28 Erich Ritz <erichritz@gmail.com>
3038
3039 * math/math.h (isinf): Fix typo in comment.
3040
de0ff7bc
UD
30412010-11-01 Ulrich Drepper <drepper@gmail.com>
3042
3043 * po/da.po: Update from translation team.
3044
fa41c84d
UD
30452010-10-26 Ulrich Drepper <drepper@gmail.com>
3046
3047 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
3048 is added to the list.
3049
f0967738
AK
30502010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3051 Ulrich Drepper <drepper@gmail.com>
3052
3053 * elf/dl-object.c (_dl_new_object): Don't append the new object to
3054 the global list here. Move code to...
3055 (_dl_add_to_namespace_list): ...here. New function.
3056 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
3057 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
3058 * elf/dl-load.c (lose): Don't remove the element from the list.
3059 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
3060 (_dl_map_object): Likewise.
3061
30622010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
3063
3064 [BZ #12159]
3065 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
3066 into all bytes of SSE register.
3067 Patch by Richard Li <richardpku@gmail.com>.
3068
f0967738 30692010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
3070
3071 [BZ #12140]
3072 * malloc/malloc.c (_int_free): Fill correct number of bytes when
3073 perturbing.
3074
d0b9e94f
MB
30752010-10-20 Michael B. Brutman <brutman@us.ibm.com>
3076
3077 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
3078 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
3079 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
3080 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
3082 submachine.
3083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
3084
8e9f92e9
AS
30852010-10-22 Andreas Schwab <schwab@redhat.com>
3086
3087 * include/dlfcn.h (__RTLD_SECURE): Define.
3088 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
3089 mode & __RTLD_SECURE instead.
3090 (open_path): Rename preloaded parameter to secure.
3091 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
3092 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
3093 * elf/dl-deps.c (openaux): Likewise.
3094 * elf/rtld.c (struct map_args): Remove is_preloaded.
3095 (map_doit): Don't use it.
3096 (dl_main): Likewise.
3097 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
3098 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
3099
bc96fbda
AS
31002010-09-09 Andreas Schwab <schwab@redhat.com>
3101
3102 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
3103 (sysd-rules-targets): Remove duplicates.
3104 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
3105 rtld-%.$o dependency.
3106
22cd1c9b
AS
31072010-10-18 Andreas Schwab <schwab@redhat.com>
3108
3109 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
3110 _dl_map_object do it.
3111
18edac48
UD
31122010-10-19 Ulrich Drepper <drepper@gmail.com>
3113
3114 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
3115 fast fma builtins, define the macros in the C99 standard.
3116 (FP_FAST_FMAF): Likewise.
3117 (FP_FAST_FMAL): Likewise.
3118 * sysdeps/x86_64/bits/mathdef.h: Likewise.
3119
3120 * bits/mathdef.h: Update copyright year.
3121 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3122
d2050124
MM
31232010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
3124
3125 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
3126 builtins, define the macros in the C99 standard.
3127 (FP_FAST_FMAF): Likewise.
3128 (FP_FAST_FMAL): Likewise.
3129 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
3130 multiply/add.
3131 (FP_FAST_FMAF): Likewise.
3132
475facd1
JJ
31332010-10-15 Jakub Jelinek <jakub@redhat.com>
3134
3135 [BZ #3268]
3136 * math/libm-test.inc (fma_test): Some new testcases.
3137 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
3138 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
3139 y and infinite z. Do multiplication by C already in long double.
3140 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
3141 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
3142 y and infinite z. Do bitwise or of inexact bit into u.d.
3143 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
3144 * sysdeps/i386/fpu/s_fmaf.S: Removed.
3145 * sysdeps/i386/fpu/s_fma.S: Removed.
3146 * sysdeps/i386/fpu/s_fmal.S: Removed.
3147
7c08a05c
JJ
31482010-10-16 Jakub Jelinek <jakub@redhat.com>
3149
3150 [BZ #3268]
3151 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
3152 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
3153 computation is not scheduled after fetestexcept. Fix value
3154 of minimum denormal long double.
3155
f3f7372d
JJ
31562010-10-14 Jakub Jelinek <jakub@redhat.com>
3157
3158 [BZ #3268]
3159 * math/libm-test.inc (fma_test): Add some more tests.
3160 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
3161 correctly.
3162
14d43591
AS
31632010-10-15 Andreas Schwab <schwab@redhat.com>
3164
3165 * scripts/data/localplt-s390-linux-gnu.data: New file.
3166 * scripts/data/localplt-s390x-linux-gnu.data: New file.
3167
5e908464
JJ
31682010-10-13 Jakub Jelinek <jakub@redhat.com>
3169
3170 [BZ #3268]
3171 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
3172 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
3173 instead of dbl-64.
3174 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
3175 inlines.
3176 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
3177 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
3178 if one of x and y is very large and the other is subnormal.
3179 * sysdeps/s390/fpu/s_fmaf.c: New file.
3180 * sysdeps/s390/fpu/s_fma.c: New file.
3181 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
3182 * sysdeps/powerpc/fpu/s_fma.S: New file.
3183 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
3184 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
3185 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
3186
31872010-10-12 Jakub Jelinek <jakub@redhat.com>
3188
3189 [BZ #3268]
3190 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
3191 fma tests.
3192 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
3193 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
3194 * sysdeps/i386/i686/multiarch/s_fma.c: Include
3195 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
3196 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
3197 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
3198 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
3199
b833d51f
UD
32002010-10-12 Ulrich Drepper <drepper@redhat.com>
3201
3202 [BZ #12078]
3203 * posix/regcomp.c (parse_branch): One more memory leak plugged.
3204 * posix/bug-regex31.input: Add test case.
3205
1751705d
UD
32062010-10-11 Ulrich Drepper <drepper@gmail.com>
3207
e9b9cbf5
UD
3208 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
3209 * posix/bug-regex31.input: New file.
3210
3211 [BZ #12078]
3212 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
3213 (parse_sub_exp): Fix last change, use postorder.
3214
ef06edbe
UD
3215 * posix/bug-regex31.c: New file.
3216 * posix/Makefile: Add rules to build and run bug-regex31.
3217
a129c80d
UD
3218 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
3219
3220 [BZ #12078]
3221 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
3222
b76b818e
UD
3223 [BZ #12108]
3224 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
3225 to have entries in sys_siglist.
3226
1751705d
UD
3227 [BZ #12093]
3228 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
3229 be NULL.
3230
9ff8d36f
JJ
32312010-10-07 Jakub Jelinek <jakub@redhat.com>
3232
3233 [BZ #3268]
3234 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
3235 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
3236 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
3237 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
3238 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
3239 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
3240 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
3241 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
3242 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
3243 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
3244 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
3245 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
3246 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3247 * math/ftestexcept.c (fetestexcept): Likewise.
3248 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
3249 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
3250 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
3251 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
3252 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
3253 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
3254 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3255
af325969
UD
32562010-10-11 Ulrich Drepper <drepper@gmail.com>
3257
c579b202 3258 [BZ #12107]
af325969
UD
3259 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
3260 newline.
3261
67a67b95
UD
32622010-10-06 Ulrich Drepper <drepper@gmail.com>
3263
3264 * string/bug-strstr1.c: New file.
3265 * string/Makefile: Add rules to build and run bug-strstr1.
3266
5fb308bc
EB
32672010-10-05 Eric Blake <eblake@redhat.com>
3268
3269 [BZ #12092]
3270 * string/str-two-way.h (two_way_long_needle): Always clear memory
3271 when skipping input due to the shift table.
3272
45db99c7
UD
32732010-10-03 Ulrich Drepper <drepper@gmail.com>
3274
3b111893
UD
3275 [BZ #12005]
3276 * malloc/mcheck.c: Handle large requests.
3277
45db99c7
UD
3278 [BZ #12077]
3279 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
3280 for strncmp and strncasecmp.
3281 * string/stratcliff.c: Add tests for strcmp and strncmp.
3282 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
3283
cf7a1eb8
NI
32842010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3285
3286 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
3287 __set_fpscr.
3288
6484ba5e
AJ
32892010-09-30 Andreas Jaeger <aj@suse.de>
3290
3291 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
3292 (CGROUP_SUPER_MAGIC): Define.
3293 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3294 Handle btrfs and cgroup file systems.
3295 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
3296 Likewise.
3297
91c42559
LM
32982010-09-27 Luis Machado <luisgpm@br.ibm.com>
3299
3300 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
3301 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
3302
87a97932
AK
33032010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3304
3305 [BZ #12067]
3306 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
3307 trying to locate the ELF header.
3308
c21cc9bc
AS
33092010-09-27 Andreas Schwab <schwab@redhat.com>
3310
3311 [BZ #11611]
3312 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
3313 Mask out sign-bit copies when constructing f_fsid.
3314
315970f6
PB
33152010-09-24 Petr Baudis <pasky@suse.cz>
3316
3317 * debug/stack_chk_fail_local.c: Add missing licence exception.
3318 * debug/warning-nop.c: Likewise.
3319
1ac7a2c7
JM
33202010-09-15 Joseph Myers <joseph@codesourcery.com>
3321
3322 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
3323 implementing getdents64 using getdents syscall, set d_type if
3324 __ASSUME_GETDENTS32_D_TYPE.
3325
56801c50
AS
33262010-09-16 Andreas Schwab <schwab@redhat.com>
3327
3328 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
3329 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
3330
dda51327
UD
33312010-09-21 Ulrich Drepper <drepper@redhat.com>
3332
3333 [BZ #12037]
3334 * posix/unistd.h: Undo change of feature selection for ftruncate from
3335 2010-01-11.
3336
8ffcee4a
UD
33372010-09-20 Ulrich Drepper <drepper@redhat.com>
3338
a545ecd9 3339 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
3340 detection.
3341
e24f0a8b
AS
33422010-09-20 Andreas Schwab <schwab@redhat.com>
3343
3344 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
3345 fanotify_mark.
3346 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
3347
7291c56f
AS
33482010-09-14 Andreas Schwab <schwab@redhat.com>
3349
3350 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
3351 variables after CHECK_SP call.
3352 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
3353
bc5fb037
AS
33542010-09-13 Andreas Schwab <schwab@redhat.com>
3355 Ulrich Drepper <drepper@redhat.com>
3356
3357 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
3358 re-relocationg ld.so.
3359 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
3360 _dl_init_paths call.
3361 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
3362 here anymore.
3363
e66e7419
UD
33642010-09-14 Ulrich Drepper <drepper@redhat.com>
3365
3366 * resolv/res_init.c (__res_vinit): Count the default server we added.
3367
c044aa75
CLT
33682010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
3369 Ulrich Drepper <drepper@redhat.com>
3370
3371 [BZ #11968]
3372 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
3373 (____longjmp_chk): Use %ebx for saving value across system call.
3374 Add unwind info.
3375
32cf4069
AS
33762010-09-06 Andreas Schwab <schwab@redhat.com>
3377
3378 * manual/Makefile: Don't mix pattern rules with normal rules.
3379
817328ee
AS
33802010-09-05 Andreas Schwab <schwab@linux-m68k.org>
3381
3382 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
3383 operation.
3384 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
3385 * libio/iofopncook.c (_IO_cookie_init): Likewise.
3386 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
3387 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3388 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3389 Likewise.
3390
29fddf61
UD
33912010-09-04 Ulrich Drepper <drepper@redhat.com>
3392
3393 [BZ #11979]
3394 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
3395 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
3396
0959ffc9
UD
33972010-09-02 Ulrich Drepper <drepper@redhat.com>
3398
3399 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
3400 * sysdeps/x86_64/addmul_1.S: Likewise.
3401 * sysdeps/x86_64/lshift.S: Likewise.
3402 * sysdeps/x86_64/mul_1.S: Likewise.
3403 * sysdeps/x86_64/rshift.S: Likewise.
3404 * sysdeps/x86_64/sub_n.S: Likewise.
3405 * sysdeps/x86_64/submul_1.S: Likewise.
3406
ece29840
ST
34072010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
3408
0959ffc9
UD
3409 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
3410 Define __sched_param instead of SCHED_* and sched_param when
ece29840 3411 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 3412 * bits/sched.h [__need_schedparam]
ece29840 3413 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
3414 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
3415 (__defined_schedparam): Define to 1.
ece29840
ST
3416 (__sched_param): New structure, identical to sched_param.
3417 (__need_schedparam): Undefine.
3418
e53a31fe
MF
34192010-08-31 Mike Frysinger <vapier@gentoo.org>
3420
fdc0c10d
MF
3421 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
3422 (epoll_create1): Declare.
3423
e53a31fe
MF
3424 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
3425
a726d796
AS
34262010-08-31 Andreas Schwab <schwab@redhat.com>
3427
3428 [BZ #7066]
3429 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
3430 shifting retval into place.
3431
2f3e3dc7
UD
34322010-09-01 Ulrich Drepper <drepper@redhat.com>
3433
f2933da9
UD
3434 * nis/rpcsvc/nis.h: Update copyright notice.
3435 * nis/rpcsvc/nis.x: Likewise.
3436 * nis/rpcsvc/nis_callback.h: Likewise.
3437 * nis/rpcsvc/nis_callback.x: Likewise.
3438 * nis/rpcsvc/nis_object.x: Likewise.
3439 * nis/rpcsvc/nis_tags.h: Likewise.
3440 * nis/rpcsvc/yp.h: Likewise.
3441 * nis/rpcsvc/yp.x: Likewise.
3442 * nis/rpcsvc/ypupd.h: Likewise.
3443 * nis/yp_xdr.c: Likewise.
3444 * nis/ypupdate_xdr.c: Likewise.
3445
2f3e3dc7
UD
3446 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
3447 mainly the body of pmap_getport. Add parameters to specify timeouts.
3448 (pmap_getport): Use __libc_rpc_getport.
3449 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
3450 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
3451 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
3452
f3dcc2f9
AS
34532010-08-31 Andreas Schwab <schwab@linux-m68k.org>
3454
3455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
3456 fanotify_mark.
3457
6d34eb5b
RM
34582010-08-27 Roland McGrath <roland@redhat.com>
3459
3460 * sysdeps/i386/i686/multiarch/Makefile
3461 (CFLAGS-varshift.c): New variable.
3462
9ea3de11
UD
34632010-08-27 Ulrich Drepper <drepper@redhat.com>
3464
c96d23fc
UD
3465 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
3466 * sysdeps/i386/i686/multiarch/varshift.c: New file.
3467
9ea3de11
UD
3468 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
3469
3470 * sysdeps/x86_64/strlen.S: Minimal code improvement.
3471
623aac7f
L
34722010-08-26 H.J. Lu <hongjiu.lu@intel.com>
3473
3474 * sysdeps/x86_64/strlen.S: Unroll the loop.
3475 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3476 strlen-sse2 strlen-sse2-bsf.
3477 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
3478 __strlen_no_bsf if bit_Slow_BSF is set.
3479 (__strlen_sse42): Removed.
3480 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
3481 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
3482
8b2b7715
RM
34832010-08-25 Roland McGrath <roland@redhat.com>
3484
3485 * sysdeps/x86_64/multiarch/varshift.S: File removed.
3486 * sysdeps/x86_64/multiarch/varshift.c: New file.
3487 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
3488 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
3489 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
3490 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3491
e73015f2
L
34922010-08-25 H.J. Lu <hongjiu.lu@intel.com>
3493
3494 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3495 strlen-sse2 strlen-sse2-bsf.
3496 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
3497 __strlen_sse2_bsf if bit_Slow_BSF is unset.
3498 (__strlen_sse2): Removed.
3499 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
3500 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
3501 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3502 bit_Slow_BSF for Atom.
3503 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
3504 (index_Slow_BSF): Define.
3505 (HAS_SLOW_BSF): Define.
3506
df24a73e
UD
35072010-08-25 Ulrich Drepper <drepper@redhat.com>
3508
3509 [BZ #10851]
3510 * resolv/res_init.c (__res_vinit): When no server address at all
3511 is given default to loopback.
3512
f2ac4868
RM
35132010-08-24 Roland McGrath <roland@redhat.com>
3514
09055553
RM
3515 * configure.in: Remove config-name.h generation.
3516 * configure: Regenerated.
3517 * config-name.in: File removed.
3518 * scripts/config-uname.sh: New file.
3519 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
3520 ($(objdir)config-name.h): New target.
3521
f2ac4868
RM
3522 * sunrpc/rpc_parse.h: Avoid nested comment.
3523
73f27d5e
RH
35242010-08-24 Richard Henderson <rth@redhat.com>
3525 Ulrich Drepper <drepper@redhat.com>
3526 H.J. Lu <hongjiu.lu@intel.com>
3527
3528 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
3529 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
3530 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
3531 Replace _mm_srli_si128 with __m128i_shift_right. Replace
3532 _mm_alignr_epi8 with _mm_loadu_si128.
3533 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
3534 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
3535 (__m128i_shift_right): Removed.
3536 * sysdeps/i386/i686/multiarch/varshift.h: New file.
3537 * sysdeps/i386/i686/multiarch/varshift.S: New file.
3538 * sysdeps/x86_64/multiarch/varshift.h: New file.
3539 * sysdeps/x86_64/multiarch/varshift.S: New file.
3540
84b9230c
MF
35412010-08-21 Mike Frysinger <vapier@gentoo.org>
3542
3543 * configure.in: Move assembler checks to before sysdep dir checking.
3544
9bbd0ddc
PB
35452010-08-20 Petr Baudis <pasky@suse.cz>
3546
3547 * LICENSES: Sync the sunrpc license.
3548
9da4bb31
UD
35492010-08-19 Ulrich Drepper <drepper@redhat.com>
3550
a7ab6ec8
UD
3551 * sunrpc/auth_des.c: Update copyright notice once again.
3552 * sunrpc/auth_none.c: Likewise.
3553 * sunrpc/auth_unix.c: Likewise.
3554 * sunrpc/authdes_prot.c: Likewise.
3555 * sunrpc/authuxprot.c: Likewise.
3556 * sunrpc/bindrsvprt.c: Likewise.
3557 * sunrpc/clnt_gen.c: Likewise.
3558 * sunrpc/clnt_perr.c: Likewise.
3559 * sunrpc/clnt_raw.c: Likewise.
3560 * sunrpc/clnt_simp.c: Likewise.
3561 * sunrpc/clnt_tcp.c: Likewise.
3562 * sunrpc/clnt_udp.c: Likewise.
3563 * sunrpc/clnt_unix.c: Likewise.
3564 * sunrpc/des_crypt.c: Likewise.
3565 * sunrpc/des_soft.c: Likewise.
3566 * sunrpc/get_myaddr.c: Likewise.
3567 * sunrpc/getrpcport.c: Likewise.
3568 * sunrpc/key_call.c: Likewise.
3569 * sunrpc/key_prot.c: Likewise.
3570 * sunrpc/openchild.c: Likewise.
3571 * sunrpc/pm_getmaps.c: Likewise.
3572 * sunrpc/pm_getport.c: Likewise.
3573 * sunrpc/pmap_clnt.c: Likewise.
3574 * sunrpc/pmap_prot.c: Likewise.
3575 * sunrpc/pmap_prot2.c: Likewise.
3576 * sunrpc/pmap_rmt.c: Likewise.
3577 * sunrpc/rpc/auth.h: Likewise.
3578 * sunrpc/rpc/auth_unix.h: Likewise.
3579 * sunrpc/rpc/clnt.h: Likewise.
3580 * sunrpc/rpc/des_crypt.h: Likewise.
3581 * sunrpc/rpc/key_prot.h: Likewise.
3582 * sunrpc/rpc/netdb.h: Likewise.
3583 * sunrpc/rpc/pmap_clnt.h: Likewise.
3584 * sunrpc/rpc/pmap_prot.h: Likewise.
3585 * sunrpc/rpc/pmap_rmt.h: Likewise.
3586 * sunrpc/rpc/rpc.h: Likewise.
3587 * sunrpc/rpc/rpc_des.h: Likewise.
3588 * sunrpc/rpc/rpc_msg.h: Likewise.
3589 * sunrpc/rpc/svc.h: Likewise.
3590 * sunrpc/rpc/svc_auth.h: Likewise.
3591 * sunrpc/rpc/types.h: Likewise.
3592 * sunrpc/rpc/xdr.h: Likewise.
3593 * sunrpc/rpc_clntout.c: Likewise.
3594 * sunrpc/rpc_cmsg.c: Likewise.
3595 * sunrpc/rpc_common.c: Likewise.
3596 * sunrpc/rpc_cout.c: Likewise.
3597 * sunrpc/rpc_dtable.c: Likewise.
3598 * sunrpc/rpc_hout.c: Likewise.
3599 * sunrpc/rpc_main.c: Likewise.
3600 * sunrpc/rpc_parse.c: Likewise.
3601 * sunrpc/rpc_parse.h: Likewise.
3602 * sunrpc/rpc_prot.c: Likewise.
3603 * sunrpc/rpc_sample.c: Likewise.
3604 * sunrpc/rpc_scan.c: Likewise.
3605 * sunrpc/rpc_scan.h: Likewise.
3606 * sunrpc/rpc_svcout.c: Likewise.
3607 * sunrpc/rpc_tblout.c: Likewise.
3608 * sunrpc/rpc_util.c: Likewise.
3609 * sunrpc/rpc_util.h: Likewise.
3610 * sunrpc/rpcinfo.c: Likewise.
3611 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
3612 * sunrpc/rpcsvc/key_prot.x: Likewise.
3613 * sunrpc/rpcsvc/klm_prot.x: Likewise.
3614 * sunrpc/rpcsvc/mount.x: Likewise.
3615 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
3616 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
3617 * sunrpc/rpcsvc/rex.x: Likewise.
3618 * sunrpc/rpcsvc/rstat.x: Likewise.
3619 * sunrpc/rpcsvc/rusers.x: Likewise.
3620 * sunrpc/rpcsvc/sm_inter.x: Likewise.
3621 * sunrpc/rpcsvc/spray.x: Likewise.
3622 * sunrpc/rpcsvc/yppasswd.x: Likewise.
3623 * sunrpc/rtime.c: Likewise.
3624 * sunrpc/svc.c: Likewise.
3625 * sunrpc/svc_auth.c: Likewise.
3626 * sunrpc/svc_authux.c: Likewise.
3627 * sunrpc/svc_raw.c: Likewise.
3628 * sunrpc/svc_run.c: Likewise.
3629 * sunrpc/svc_simple.c: Likewise.
3630 * sunrpc/svc_tcp.c: Likewise.
3631 * sunrpc/svc_udp.c: Likewise.
3632 * sunrpc/svc_unix.c: Likewise.
3633 * sunrpc/svcauth_des.c: Likewise.
3634 * sunrpc/xcrypt.c: Likewise.
3635 * sunrpc/xdr.c: Likewise.
3636 * sunrpc/xdr_array.c: Likewise.
3637 * sunrpc/xdr_float.c: Likewise.
3638 * sunrpc/xdr_mem.c: Likewise.
3639 * sunrpc/xdr_rec.c: Likewise.
3640 * sunrpc/xdr_ref.c: Likewise.
3641 * sunrpc/xdr_sizeof.c: Likewise.
3642 * sunrpc/xdr_stdio.c: Likewise.
3643
9da4bb31
UD
3644 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
3645 handling.
3646
bdaa77bc
AS
36472010-08-19 Andreas Schwab <schwab@redhat.com>
3648
3649 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
3650
fe2f79db
LM
36512010-08-19 Luis Machado <luisgpm@br.ibm.com>
3652
3653 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
3654 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
3655 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
3656 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
3657 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
3658 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
3659 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
3660 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
3661 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
3662 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
3663 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
3664 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
3665 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
3666 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
3667
b9b42ee0
AB
36682010-07-26 Anton Blanchard <anton@samba.org>
3669
3670 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
3671 * malloc/arena.c (heap_trim): Likewise.
3672
1c06ba31
UD
36732010-08-16 Ulrich Drepper <drepper@redhat.com>
3674
3675 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
3676 here. Not...
3677 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
3678 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
3679
f8392f40
L
36802010-08-12 H.J. Lu <hongjiu.lu@intel.com>
3681
3682 * sysdeps/i386/elf/Makefile: New file.
3683
3162f12e
AS
36842010-08-14 Andreas Schwab <schwab@linux-m68k.org>
3685
3686 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
3687 from fanotify_init.
3688 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
3689 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3690
28c90b2c
UD
36912010-08-15 Ulrich Drepper <drepper@redhat.com>
3692
3693 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
3694 of strncasecmp_l.
1feccb6c 3695 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 3696
ca6bb004
UD
36972010-08-14 Ulrich Drepper <drepper@redhat.com>
3698
e9f82e0d
UD
3699 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
3700 strncase_l-nonascii.
3701 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
3702 Add strncase_l-ssse3.
3703 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
3704 * sysdeps/x86_64/strcmp.S: Likewise.
3705 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
3706 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
3707 * sysdeps/x86_64/strncase.S: New file.
3708 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
3709 * sysdeps/x86_64/strncase_l.S: New file.
3710 * string/Makefile (strop-tests): Add strncasecmp.
3711 * string/test-strncasecmp.c: New file.
3712
3713 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
3714 warning.
3715
ca6bb004
UD
3716 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
3717 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
3718
052fa7b3
AS
37192010-08-14 Andreas Schwab <schwab@linux-m68k.org>
3720
3721 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
3722
962dba78
UD
37232010-08-12 Ulrich Drepper <drepper@redhat.com>
3724
3725 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
3726 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3727 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3728
bebff237
AM
37292010-05-01 Alan Modra <amodra@gmail.com>
3730
3731 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
3732 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
3733 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
3734 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
3735 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
3736 tidying. Don't tail-call __sigjmp_save for static lib.
3737 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
3738 save location.
3739 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
3740 (CALL_MCOUNT): Add eh info, and nop after bl.
3741 (TAIL_CALL_SYSCALL_ERROR): New macro.
3742 (PSEUDO_RET): Use it.
3743 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
3744 Correct save location of integer regs and cr.
3745 (_dl_profile_resolve): Correct cr save location. Delete nops
3746 after bl when SHARED. Reduce cfi size a little by better
3747 placement of cfi directives.
3748 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
3749 make a stack frame. Instead use parm save area as a temp.
3750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
3751 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
3752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3753 Don't make a stack frame for parent, use parm save area.
3754 Increase child stack frame to 112 bytes. Don't save unused reg,
3755 and adjust reg usage. Set up cfi on error recovery and
3756 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
3757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3758 (__makecontext): Add dummy nop after jump to exit.
3759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
3760 Use correct parm save area and cr save, reduce stack frame.
3761 Correct cfi for possible PSEUDO_RET frame setup.
3762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
3763 Branch to local label emitted by PSEUDO_RET rather than
3764 __syscall_error.
3765
02637374
AS
37662010-08-12 Andreas Schwab <schwab@redhat.com>
3767
3768 [BZ #11904]
3769 * locale/programs/locale.c (print_assignment): New function.
3770 (show_locale_vars): Use it.
3771
c3e2f19b
UD
37722010-08-11 Ulrich Drepper <drepper@redhat.com>
3773
3cdaa6ad
UD
3774 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
3775 field.
3776 (struct statfs64): Likewise.
3777 (_STATFS_F_FLAGS): Define.
3778 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
3779 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3780 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
3781 (ST_VALID): Define locally.
3782 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
3783 __statvfs_getflags, use the provided value.
3784 * sysdeps/unix/sysv/linux/kernel-features.h: Define
3785 __ASSUME_STATFS_F_FLAGS.
3786
754f7da3
UD
3787 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
3788
10b3bedc
UD
3789 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
3790 Add sys/fanotify.h.
3791 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
3792 fanotify_mask for GLIBC_2.13.
3793 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
3794 fanotify_init and fanotify_mark.
3795 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3796 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
3797
c08fb0d7
UD
3798 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
3799 Add prlimit.
3800 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
3801 prlimit64 for GLIBC_2.13.
3802 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
3803 prlimit64.
3804 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
3805 syscall.
3806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
3807 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
3808 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
3809 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
3810 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
3811 add prlimit alias.
3812 * sysdeps/unix/sysv/linux/prlimit.c: New file.
3813
15bac72b
UD
3814 [BZ #11903]
3815 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
3816 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
3817
c3e2f19b
UD
3818 * nss/Makefile: Add rules to build and run tst-nss-test1.
3819 * shlib-versions: Add entry for libnss_test1.
3820 * nss/nss_test1.c: New file.
3821 * nss/tst-nss-test1.c: New file.
3822
3823 * nss/nsswitch.c (__nss_database_custom): Define new variable.
3824 (__nss_configure_lookup): Set appropriate entry in
3825 __nss_configure_lookup to true.
3826 * nss/nsswitch.h: Define enum with indeces of databases in
3827 databases and __nss_database_custom arrays. Declare
3828 __nss_database_custom.
3829 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
3830 to avoid using nscd when custom rules are installed.
3831 * nss/getXXbyYY_r.c: Likewise.
3832 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3833
3834 * nss/nss_files/files-parse.c: Whitespace fixes.
3835
f15ce4d8
UD
38362010-08-09 Ulrich Drepper <drepper@redhat.com>
3837
3838 [BZ #11883]
3839 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
3840 * posix/fnmatch_loop.c: Likewise.
3841
d22e4cc9
AK
38422010-07-17 Andi Kleen <ak@linux.intel.com>
3843
3844 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
3845 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
3846 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
3847 * Versions.def [GLIBC_2.13]: Add.
3848
805bc17d
UD
38492010-08-06 Ulrich Drepper <drepper@redhat.com>
3850
3851 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
3852 Also fail if tpwd after pwuid call is NULL.
3853
5a42321d
ST
38542010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
3855
3856 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
3857 when converting to ms.
3858
fd3ebeda
ST
38592010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
3860
3861 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
3862 EOPNOTSUPP errors with ENOTTY.
3863 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
3864 EOPNOTSUPP errors with ENOTTY.
3865
73507d3a
UD
38662010-07-31 Ulrich Drepper <drepper@redhat.com>
3867
3868 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
3869 Add strcasecmp_l-ssse3.
3870 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
3871 strcasecmp.
3872 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
3873 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
3874 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
3875
fe36dd02
UD
38762010-07-30 Ulrich Drepper <drepper@redhat.com>
3877
66f6765a
UD
3878 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
3879
42e08a54
UD
3880 * string/Makefile (strop-tests): Add strcasecmp.
3881 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
3882 strcasecmp_l-nonascii.
3883 (gen-as-const-headers): Add locale-defines.sym.
3884 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
3885 * sysdeps/x86_64/strcasecmp.S: New file.
3886 * sysdeps/x86_64/strcasecmp_l.S: New file.
3887 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
3888 * sysdeps/x86_64/locale-defines.sym: New file.
3889 * string/test-strcasecmp.c: New file.
3890
fe36dd02
UD
3891 * string/test-strcasestr.c: Test both ends of the range of characters.
3892 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
3893
48cbc0d6
RM
38942010-07-29 Roland McGrath <roland@redhat.com>
3895
76e6d6bc 3896 [BZ #11856]
48cbc0d6
RM
3897 * manual/locale.texi (Yes-or-No Questions): Fix example code.
3898
880113d9
UD
38992010-07-27 Ulrich Drepper <drepper@redhat.com>
3900
3901 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
3902 for ld.so.
3903
deb9cabb
AS
39042010-07-27 Andreas Schwab <schwab@redhat.com>
3905
3906 * manual/memory.texi (Malloc Tunable Parameters): Document
3907 M_PERTURB.
3908
1c7570ff
RM
39092010-07-26 Roland McGrath <roland@redhat.com>
3910
3911 [BZ #11840]
3912 * configure.in (-fgnu89-inline check): Set and substitute
3913 gnu89_inline, not libc_cv_gnu89_inline.
3914 * configure: Regenerated.
3915 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
3916
24fb0f88
UD
39172010-07-26 Ulrich Drepper <drepper@redhat.com>
3918
3919 * string/test-strnlen.c: New file.
3920 * string/Makefile (strop-tests): Add strnlen.
3921 * string/tester.c (test_strnlen): Add a few more test cases.
3922 * string/tst-strlen.c: Better error reporting.
3923
3924 * sysdeps/x86_64/strnlen.S: New file.
3925
8e96b93a
UD
39262010-07-24 Ulrich Drepper <drepper@redhat.com>
3927
3928 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
3929 lower-latency instructions.
3930
dbc676d4
UD
39312010-07-23 Ulrich Drepper <drepper@redhat.com>
3932
3933 * string/test-strcasestr.c: New file.
3934 * string/test-strstr.c: New file.
3935 * string/Makefile (strop-tests): Add strstr and strcasestr.
3936 * string/str-two-way.h: Don't undefine MAX.
3937 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
3938
f6a31e0e
AS
39392010-07-21 Andreas Schwab <schwab@redhat.com>
3940
3941 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3942 strcasestr-nonascii.
3943 (CFLAGS-strcasestr-nonascii.c): Define.
3944 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
3945 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
3946 Remove unused attribute.
3947
5dbc3b6c
RM
39482010-07-20 Roland McGrath <roland@redhat.com>
3949
3950 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
3951 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
3952 ld.so.cache was broken. With it, there is no way to disable dsocaps
3953 like LD_HWCAP_MASK can disable hwcaps.
3954
23d101d8
EPM
39552010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
3956
3957 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
3958
cc9f2e47
UD
39592010-07-16 Ulrich Drepper <drepper@redhat.com>
3960
3961 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
3962 call in strcasestr.
3963 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
3964 __strcasestr_sse42_nonascii.
3965 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
3966 strcasestr-nonascii.c.
3967 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
3968
77c1b069
LM
39692010-06-15 Luis Machado <luisgpm@br.ibm.com>
3970
3971 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
3972 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
3973 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
3974 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
3975
440566c3
UD
39762010-07-09 Ulrich Drepper <drepper@redhat.com>
3977
3978 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
3979 fcntl.
3980
5be9d05d
AS
39812010-07-06 Andreas Schwab <schwab@redhat.com>
3982
c30b7ee2 3983 [BZ #11577]
5be9d05d
AS
3984 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
3985 dl_signal_cerror.
3986
8a492a67
UD
39872010-07-06 Ulrich Drepper <drepper@redhat.com>
3988
3989 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
3990 _PC_PIPE_BUF using F_GETPIPE_SZ.
3991
713df3d5
RM
39922010-07-05 Roland McGrath <roland@redhat.com>
3993
3994 * manual/arith.texi (Rounding Functions): Fix rint description
3995 implicit in round description.
3996
702e8f14
UD
39972010-07-02 Ulrich Drepper <drepper@redhat.com>
3998
3999 * elf/Makefile: Fix linking for a few tests to make recent linker
4000 happy.
4001
52ed8be9
AS
40022010-06-30 Andreas Schwab <schwab@redhat.com>
4003
4004 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
4005 $(common-objpfx)libc_nonshared.a.
4006
f47c9a11
LM
40072010-06-21 Luis Machado <luisgpm@br.ibm.com>
4008
4009 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
4010 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
4011 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
4012 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
4013 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
4014 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
4015 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
4016 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
4017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
4018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
4019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
4020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
4021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
4022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
4023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
4024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
4025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
4026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
4027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
4028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
4029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
4030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
4031 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
4032 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
4033 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
4034 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
4035 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
4036 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
4037 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
4038 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
4039 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
4040 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
4041 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
4042 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
4043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
4044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
4045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
4046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
4047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
4048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
4049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
4050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
4051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
4052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
4053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
4054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
4055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
4056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
4057
6fb8cbcb
L
40582010-06-25 H.J. Lu <hongjiu.lu@intel.com>
4059
4060 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
4061 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
4062 * string/memmove.c (memmove): Renamed to ...
4063 (MEMMOVE): ...this. Default to memmove.
4064 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
4065 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
4066 (END_CHK): Define.
4067 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4068 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
4069 mempcpy-ssse3-back memmove-ssse3-back.
4070 * sysdeps/x86_64/multiarch/bcopy.S: New file .
4071 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
4072 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
4073 * sysdeps/x86_64/multiarch/memcpy.S: New file.
4074 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
4075 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
4076 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
4077 * sysdeps/x86_64/multiarch/memmove.c: New file.
4078 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
4079 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
4080 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
4081 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
4082 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
4083 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
4084 Define.
4085 (index_Fast_Copy_Backward): Define.
4086 (HAS_ARCH_FEATURE): Define.
4087 (HAS_FAST_REP_STRING): Define.
4088 (HAS_FAST_COPY_BACKWARD): Define.
4089
4e733bac 40902010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
4091
4092 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
4093 Restore proper fallback handling.
4094
63c4ed22
UD
40952010-06-19 Ulrich Drepper <drepper@redhat.com>
4096
ac2b484c
UD
4097 [BZ #11701]
4098 * posix/group_member.c (__group_member): Correct checking loop.
4099
63c4ed22
UD
4100 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
4101 OOM in getpwuid_r correctly. Return error number when the caller
4102 should return, otherwise -1.
4103 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
4104 call returning > 0 value.
4105 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
4106
765ade4b
AS
41072010-06-07 Andreas Schwab <schwab@redhat.com>
4108
4109 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
4110 libc_nonshared.a from targets in modules-names.
4111
80da2e09
KS
41122010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
4113
4114 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
4115 requires it.
4116
158db122
LM
41172010-06-10 Luis Machado <luisgpm@br.ibm.com>
4118
4119 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
4120 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
4121 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
4122 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
4123
caa78cf8
AS
41242010-06-02 Andreas Schwab <schwab@redhat.com>
4125
4126 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
4127
b2ef2c01
UD
41282010-06-14 Ulrich Drepper <drepper@redhat.com>
4129
4130 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
4131 and F_GETPIPE_SZ.
4132 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
4133 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
4134 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4135 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4136 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
4137 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
4138
fbd643b6
RM
41392010-06-14 Roland McGrath <roland@redhat.com>
4140
4141 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
4142
f32f2869
JJ
41432010-06-07 Jakub Jelinek <jakub@redhat.com>
4144
4145 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
4146 __REDIRECT followed by __THROW.
4147 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
4148 * posix/getopt.h (getopt): Likewise.
4149
2a50c078
EPM
41502010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
4151
4152 * hurd/lookup-at.c (__file_name_lookup_at): Accept
4153 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
4154 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
4155 in AT_FLAGS.
4156 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
4157 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
4158
eb5ad2eb
LM
41592010-05-28 Luis Machado <luisgpm@br.ibm.com>
4160
4161 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
4162
3c88fe1e
L
41632010-05-26 H.J. Lu <hongjiu.lu@intel.com>
4164
4165 [BZ #11640]
4166 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4167 Properly check family and model.
4168
d2f73151
TY
41692010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
4170
4171 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
4172
ebd2e13d
LM
41732010-05-24 Luis Machado <luisgpm@br.ibm.com>
4174
4175 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
4176
b32b8b45
UD
41772010-05-21 Ulrich Drepper <drepper@redhat.com>
4178
4179 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
4180 symbol reference.
4181
9acbe24d
AS
41822010-05-19 Andreas Schwab <schwab@redhat.com>
4183
4184 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
4185 symbol reference.
4186
f0ccf6ea
AS
41872010-05-21 Andreas Schwab <schwab@redhat.com>
4188
3d04ff3a
AS
4189 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
4190 and internal_recvmmsg.
4191 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
4192 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
4193 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
4194 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
4195
f0ccf6ea
AS
4196 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
4197 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4198 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4199
5b08ac57
AS
42002010-05-20 Andreas Schwab <schwab@redhat.com>
4201
4202 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
4203
4828935d
LM
42042010-05-17 Luis Machado <luisgpm@br.ibm.com>
4205
4206 POWER7 optimizations.
4207 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
4208 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
4209
373d545e
UD
42102010-05-19 Ulrich Drepper <drepper@redhat.com>
4211
4212 * version.h: Update for 2.13 development version.
4213
21a2b1ae
AS
42142010-05-12 Andrew Stubbs <ams@codesourcery.com>
4215
4216 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
4217 exceptions. Return 0.
4218
3f7dcb2b
RM
42192010-05-07 Roland McGrath <roland@redhat.com>
4220
4221 * elf/ldconfig.c (main): Add a const.
4222
5f24d53a 42232010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 4224
a160f8d8
UD
4225 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
4226 (args_options): Add no-idn option.
4227 (ahosts_keys_int): Add idn_flags to ai_flags.
4228 (parse_option): Handle 'i' option to clear idn_flags.
4229
5f24d53a
UD
4230 * malloc/malloc.c (_int_free): Possible race in the most recently
4231 added check. Only act on the data if no current modification
4232 happened.
265bb1ce
UD
4233
4234See ChangeLog.17 for earlier changes.