]>
Commit | Line | Data |
---|---|---|
1877ea16 JJ |
1 | 2009-07-31 Jakub Jelinek <jakub@redhat.com> |
2 | ||
3 | * malloc/Makefile (CFLAGS-obstack.c): Add $(uses-callbacks). | |
4 | ||
2dec6007 UD |
5 | 2009-07-30 Ulrich Drepper <drepper@redhat.com> |
6 | ||
da97dfdc UD |
7 | * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: New file. |
8 | * sysdeps/i386/____longjmp_chk.S: Remove all code. This is now a file | |
9 | which always causes a compile error. | |
10 | ||
11 | * sysdeps/i386/__longjmp.S: Remove bound-checking pointer support. | |
12 | ||
98b1e6c8 UD |
13 | * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: New file. Content |
14 | comes from... | |
15 | * sysdeps/x86_64/____longjmp_chk.S: ...here. This is now a file | |
16 | which always causes a compile error. | |
17 | ||
a9a04420 UD |
18 | * debug/Makefile (tests): Add tst-longjmp_chk2. |
19 | * debug/tst-longjmp_chk2.c: New file. | |
20 | ||
5ead9ce5 UD |
21 | * sysdeps/x86_64/__longjmp.S: Remove CHECK_RSP handling. Fix CFI. |
22 | Remove incorrect use of BP_SYM. | |
23 | * sysdeps/x86_64/____longjmp_chk.S: Rewrite. Complete implementation | |
24 | here now since it is more complex than just a simple check. | |
25 | ||
2dec6007 UD |
26 | * sysdeps/ia64/backtrace.c (backtrace_helper): Stop backtrace when |
27 | we make no more progress. | |
28 | ||
649bf133 UD |
29 | 2009-07-29 Ulrich Drepper <drepper@redhat.com> |
30 | ||
78c4ef47 UD |
31 | * math/s_fma.c: Don't define alias if __fma is a macro. |
32 | * math/s_fmaf.c: Likewise. | |
33 | * sysdeps/x86_64/multiarch/s_fma.c: New file. | |
34 | * sysdeps/x86_64/multiarch/s_fmaf.c: New file. | |
35 | Partially based on a patch by H.J. Lu <hongjiu.lu@intel.com>. | |
36 | ||
37 | * sysdeps/x86_64/multiarch/init-arch.h (__get_cpu_features): Declare. | |
38 | (HAS_POPCOUNT, HAS_SSE4_2): Add variants which work outside libc. | |
39 | New macro HAS_FMA. | |
40 | * sysdeps/x86_64/multiarch/init-arch.c (__get_cpu_features): New | |
41 | function. | |
42 | * include/libc-symbols.h (libm_ifunc): Define. | |
43 | * sysdeps/x86_64/multiarch/Versions: New file. | |
44 | ||
586fa886 | 45 | * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Improve CFI. |
649bf133 | 46 | |
09e0389e L |
47 | 2009-07-28 H.J. Lu <hongjiu.lu@intel.com> |
48 | ||
49 | * sysdeps/x86_64/dl-trampoline.S: Properly restore AVX registers. | |
50 | ||
b48a267b UD |
51 | 2009-07-29 Ulrich Drepper <drepper@redhat.com> |
52 | ||
53 | * elf/dl-runtime.c (_dl_fixup): Indicate before _dl_lookup_symbol_x | |
54 | call that registers used in calling conventions need to be preserved. | |
55 | * elf/dl-lookup.c (do_lookup_x): Use RTLD_*_FOREIGN_CALL macros | |
56 | to preserve register content if necessary. | |
57 | * sysdeps/x86_64/dl-trampoline.S (_dl_x86_64_save_sse): New function. | |
58 | (_dl_x86_64_restore_sse): New function. | |
59 | * sysdeps/x86_64/tst-xmmymm.sh: There is now one more function that | |
60 | is allowed to modify xmm/ymm registers. | |
61 | ||
62 | * stdio-common/scanf15.c: Undefine _LIBC. We want to test from an | |
63 | application's perspective. | |
64 | * stdio-common/scanf17.c: Likewise. | |
65 | ||
96553893 UD |
66 | 2009-07-28 Ulrich Drepper <drepper@redhat.com> |
67 | ||
68 | * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Don't add TCB | |
69 | size to memsz. | |
70 | (init_static_tls) [TLS_TCB_AT_TP]: Add it to GL(dl_tls_static_size) | |
71 | here. | |
72 | * elf/dl-reloc.c (_dl_try_allocate_static_tls): Compute freebytes in | |
73 | two steps to catch bugs. | |
74 | ||
2d0671cb AT |
75 | 2009-07-27 Ulrich Drepper <drepper@redhat.com> |
76 | ||
e83c1a8a UD |
77 | * sysdeps/x86_64/tst-xmmymm.sh: Refine testing. The script now |
78 | determines which files are used in runtime lookups and only checks | |
79 | those for SSE use. | |
80 | * sysdeps/x86_64/rtld-memchr.c: Removed. Not needed with refined | |
81 | testing. | |
82 | * sysdeps/x86_64/rtld-rawmemchr.c: Removed. | |
83 | * sysdeps/x86_64/multiarch/rtld-rawmemchr.c: Removed | |
84 | * sysdeps/x86_64/Makefile: Emit warning that tst-xmmymm.sh might | |
85 | take a while. | |
86 | ||
87 | * elf/dl-open.c: Move _dl_scope_free to... | |
88 | * elf/dl-scope.c: ...here. New file. | |
89 | * elf/Makefile (dl-routines): Add scope. | |
90 | ||
2d0671cb AT |
91 | * resolv/resolv.h (RES_USE_DNSSEC): Define. |
92 | * resolv/res_debug.c (p_option): Handle RES_USE_EDNS0 and | |
93 | RES_USE_DNSSEC. | |
94 | * resolv/res_mkquery.c (__res_nopt): Set flags for RES_USE_DNSSEC. | |
95 | * resolv/res_query.c (__libc_res_nquery): Handle RES_USE_DNSSEC in | |
96 | all the places we handled RES_USE_EDNS0 only before. | |
97 | Patch by Adam Tkac <atkac@redhat.com>. | |
98 | ||
09cd1f57 JJ |
99 | 2009-07-27 Jakub Jelinek <jakub@redhat.com> |
100 | ||
101 | * elf/dl-lookup.c (do_lookup_x): Fix check for table more than | |
102 | 3/4 full. Pass size + 1 rather than size to _dl_higher_prime_number. | |
103 | Update size when reallocating. | |
104 | ||
16d2ea4c UD |
105 | 2009-07-26 Ulrich Drepper <drepper@redhat.com> |
106 | ||
107 | * sysdeps/x86_64/tst-xmmymm.sh: New file. Check whether any of the | |
108 | functions used in ld.so modify xmm/ymm registers. | |
109 | * sysdeps/x86_64/Makefile: Hook new test up. | |
110 | * sysdeps/x86_64/rtld-memchr.c: New file. | |
111 | * sysdeps/x86_64/rtld-memcmp.c: New file. | |
112 | * sysdeps/x86_64/rtld-rawmemchr.c: New file. | |
113 | * sysdeps/x86_64/rtld-strchr.S: New file. | |
16d2ea4c UD |
114 | * sysdeps/x86_64/rtld-strlen.S: New file. |
115 | * sysdeps/x86_64/multiarch/rtld-rawmemchr.c: New file. | |
116 | * sysdeps/x86_64/multiarch/rtld-strlen.S: New file. | |
117 | ||
dc8e5eb6 UD |
118 | 2009-07-26 H.J. Lu <hongjiu.lu@intel.com> |
119 | ||
120 | * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove | |
121 | strncmp-c. | |
122 | * sysdeps/x86_64/multiarch/strcmp.S (aftertail): Removed. | |
123 | (exit): Likewise. | |
124 | (Byte1): Likewise. | |
125 | (Byte2): Likewise. | |
126 | (Byte3): Likewise. | |
127 | (Byte4): Likewise. | |
128 | (Byte5): Likewise. | |
129 | (Byte6): Likewise. | |
130 | (next_8_bytes): Likewise. | |
131 | (Byte0): Remove commented out codes. | |
132 | (unaligned_table): Align jump table at 8 bytes. | |
133 | Add _sse4_2 to all labels. Always include "../strcmp.S". | |
134 | * sysdeps/x86_64/multiarch/strncmp-c.c: Removed. | |
135 | * sysdeps/x86_64/strcmp.S: Add SSE2 support. | |
136 | * sysdeps/x86_64/strncmp.S: New file. | |
137 | ||
889f847e UD |
138 | 2009-07-26 Ulrich Drepper <drepper@redhat.com> |
139 | ||
aa7492d2 UD |
140 | [BZ #10422] |
141 | * sysdeps/unix/sysv/linux/eventfd.c: Add compatibility for old | |
142 | kernels, dropped when eventfd2 support was added. | |
143 | * sysdeps/unix/sysv/linux/signalfd.c: Add compatibility for old | |
144 | kernels, dropped when signalfd4 support was added. | |
145 | * sysdeps/unix/sysv/linux/kernel-features.h: More CLOEXEC syscalls | |
146 | added, name them. | |
147 | ||
e28b969b UD |
148 | [BZ #10452] |
149 | * resolv/res_send.c (send_dg): Pass full SERVFAIL, NOTIMP, REFUSED | |
150 | replies up. | |
151 | ||
889f847e UD |
152 | * elf/elf.h: Define NT_GNU_GOLD_VERSION. |
153 | ||
29e92fa5 UD |
154 | 2009-07-25 Ulrich Drepper <drepper@redhat.com> |
155 | ||
4e5b5821 L |
156 | * sysdeps/x86_64/multiarch/strcmp.S: Some more optimizations for |
157 | modern processor versions. Patch by H.J. Lu <hongjiu.lu@intel.com>. | |
158 | ||
65731753 UD |
159 | [BZ #10448] |
160 | * sysdeps/posix/getaddrinfo.c (gaih_inet): If NSS module contains no | |
161 | callback we must touch the status to avoid using stale value. | |
162 | ||
29e92fa5 UD |
163 | * sysdeps/x86_64/multiarch/strcmp.S: Exclude unused code from being |
164 | compiled in. | |
165 | ||
da331e8e UD |
166 | 2009-07-24 Ulrich Drepper <drepper@redhat.com> |
167 | ||
168 | * sysdeps/unix/sysv/linux/configure.in: Don't automatically include | |
169 | /lib/modules/* headers anymore. We have sane headers in the standard | |
170 | place now. | |
171 | ||
f957edde AK |
172 | 2009-06-16 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
173 | ||
174 | * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): "hpage", | |
175 | "etf3enh" and "highgprs" added. | |
176 | (_dl_s390_platforms): "z10" added. | |
177 | * sysdeps/s390/dl-procinfo.h (_DL_HWCAP_COUNT, _DL_PLATFORMS_COUNT): | |
178 | Increased for the new entries. | |
179 | (HWCAP enum): HWCAP_S390_HPAGE, HWCAP_S390_ETF3EH and | |
180 | HWCAP_S390_HIGH_GPRS added. | |
181 | ||
182 | * sysdeps/s390/s390-64/Makefile: Adjusted to build the new modules. | |
183 | * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: New file. | |
184 | * sysdeps/s390/s390-64/utf16-utf32-z9.c: New file. | |
185 | * sysdeps/s390/s390-64/utf8-utf16-z9.c: New file. | |
186 | * sysdeps/s390/s390-64/utf8-utf32-z9.c: New file. | |
187 | ||
802fe9a1 UD |
188 | 2009-07-23 Ulrich Drepper <drepper@redhat.com> |
189 | ||
b2509a1e UD |
190 | * sysdeps/x86_64/cacheinfo.c [USE_MULTIARCH]: Rearrange code to |
191 | avoid additional cpuid instructions. Most of the information is | |
192 | stored somewhere. | |
193 | ||
3e9099b4 UD |
194 | * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Add more |
195 | cache descriptors. | |
196 | * sysdeps/x86_64/cacheinfo.c (intel_02_known): Likewise. | |
197 | ||
d28797e4 UD |
198 | * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Reset |
199 | SSSE3 bit for Atoms. | |
200 | * sysdeps/x86_64/multiarch/strcpy.S: New need to perform Atom test | |
201 | here anymore. | |
202 | ||
666a9871 UD |
203 | * posix/tst-rfc3484.c (do_test): Initialize entire sockaddr_in |
204 | structure before copying it to avoid warning. | |
205 | * posix/tst-rfc3484-2.c (do_test): Likewise. | |
206 | * posix/tst-rfc3484-3.c (do_test): Likewise. | |
207 | ||
30a2dfd5 DS |
208 | [BZ #10416] |
209 | * include/unistd.h: Make header file suitable for C++ test cases. | |
210 | Patch by Duncan Simpson <dps@simpson.demon.co.uk>. | |
211 | ||
9b6bf8a3 UD |
212 | * sysdeps/unix/sysv/linux/i386/makecontext.S: Ensure we preserve the |
213 | stack alignment in the exit code. | |
214 | ||
077e7700 UD |
215 | * elf/dl-lookup.c (dl_lookup_x): The hashval for unique symbol can |
216 | potentially be zero. | |
217 | ||
802fe9a1 UD |
218 | * elf/tst-unique1.c: Extend test to check for unloading DSO with |
219 | unique symbol definition. | |
220 | Patch by Jakub Jelinek. | |
221 | * elf/dl-lookup.c (do_lookup_x): When entering a new unique symbol, | |
222 | make sure the object with the definition cannot be unloaded. Adjust | |
223 | a few types. | |
224 | * sysdeps/generic/ldsodefs.h (struct rtld_global): The map element in | |
225 | the unique symbol hash table should not be const. | |
226 | ||
ae612b04 UD |
227 | 2009-07-21 Ulrich Drepper <drepper@redhat.com> |
228 | ||
229 | * sysdeps/x86_64/multiarch/strstr.c: Minor cleanups. Remove | |
230 | unnecesary variables. Comment fixes. | |
231 | ||
a8f895eb UD |
232 | 2009-07-20 Ulrich Drepper <drepper@redhat.com> |
233 | ||
234 | * sysdeps/x86_64/multiarch/strstr.c [USE_AS_STRCASESTR] (STRSTR_SSE42): | |
235 | Use NONASCII_CASE information provided by the locale to determine | |
236 | whether optimized string load function can be used. Minor cleanups. | |
237 | ||
2b7a8664 L |
238 | 2009-07-20 H.J. Lu <hongjiu.lu@intel.com> |
239 | ||
240 | * string/strcasestr.c (STRCASESTR): New macro. | |
241 | (__strcasestr): Renamed to .. | |
242 | (STRCASESTR): ...this. | |
243 | * string/strstr.c (STRSTR): New macro. | |
244 | (strstr): Renamed to .. | |
245 | (STRSTR): ...this. | |
246 | * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add | |
247 | strstr-c strcasestr-c | |
248 | (CFLAGS-strstr.c): New. | |
249 | (CFLAGS-strcasestr.c): Likewise. | |
250 | * sysdeps/x86_64/multiarch/strcasestr-c.c: New file. | |
251 | * sysdeps/x86_64/multiarch/strcasestr.c: New file. | |
252 | * sysdeps/x86_64/multiarch/strstr-c.c: New file. | |
253 | * sysdeps/x86_64/multiarch/strstr.c: New file. | |
254 | ||
8a449450 UD |
255 | 2009-07-20 Ulrich Drepper <drepper@redhat.com> |
256 | ||
257 | * locale/localeinfo.h (LIMAGIC): Update value for LC_CTYPE. | |
258 | * locale/langinfo.h: Define _NL_CTYPE_NONASCII_CASE. | |
259 | * locale/C-ctype.c (_nl_C_LC_CTYPE): Add initializer for | |
260 | _NL_CTYPE_NONASCII_CASE. | |
261 | * locale/programs/ld-ctype.c (locale_ctype_t): Add nonascii_case | |
262 | field. | |
263 | (ctype_finish): Check whether there are any 8-bit characters outside | |
264 | the range ASCII has or whether the mapping isn't the same as for | |
265 | ASCII (±0x20). Set nonascii_case appropriately. | |
266 | (ctype_output): Add output handler for nonascii_case. | |
267 | ||
63601ccd UD |
268 | 2009-07-17 Ulrich Drepper <drepper@redhat.com> |
269 | ||
270 | * sysdeps/generic/sysdep.h: Define cfi_personality, cfi_lsda, | |
271 | CFI_PERSONALITY, CFI_LSDA, and DW_EH_PE_* constants. | |
272 | ||
1c0ab5bd UD |
273 | 2009-07-16 Ulrich Drepper <drepper@redhat.com> |
274 | ||
275 | [BZ #10360] | |
276 | * resolv/res-mkquery.c (__res_nopt): If anslen is > 0xffff store | |
277 | 0xffff in the EDNS0 record. | |
278 | ||
bec466d9 | 279 | 2009-07-16 Ulrich Drepper <drepper@redhat.com> |
50158f95 AS |
280 | |
281 | * nscd/cache.c (cache_add): Use atomic_compare_and_exchange_bool_rel | |
282 | instead of atomic_compare_and_exchange_bool_acq to ensure pointer | |
283 | is written before the list head update. | |
284 | Patch by Andreas Schwab <aschwab@redhat.com>. | |
285 | ||
137028b4 | 286 | 2009-07-16 Ulrich Drepper <drepper@redhat.com> |
bec466d9 UD |
287 | Jakub Jelinek <jakub@redhat.com> |
288 | ||
289 | * malloc/malloc.c [ATOMIC_FASTBINS] (_int_free): Make check for | |
290 | corruption thread-safe. | |
291 | ||
bea0ac1d JJ |
292 | 2009-07-13 Jakub Jelinek <jakub@redhat.com> |
293 | ||
294 | * include/atomic.h (catomic_compare_and_exchange_val_rel): If arch | |
295 | overrides atomic_compare_and_exchange_val_rel, define to | |
296 | atomic_compare_and_exchange_val_rel by default, otherwise default | |
297 | to catomic_compare_and_exchange_val_acq. | |
298 | (catomic_compare_and_exchange_bool_rel): If arch overrides | |
299 | atomic_compare_and_exchange_bool_rel, define to | |
300 | atomic_compare_and_exchange_bool_rel by default. | |
301 | * malloc/malloc.c (_int_free): Revert 2009-07-02 change. | |
302 | Use catomic_compare_and_exchange_val_rel instead of | |
303 | catomic_compare_and_exchange_val_acq. | |
304 | ||
c8027cce UD |
305 | 2009-07-16 Ulrich Drepper <drepper@redhat.com> |
306 | ||
55c4ce68 UD |
307 | * sysdeps/generic/ldsodefs.h: Add prototype for |
308 | _dl_higher_prime_number. | |
309 | * elf/dl-misc.c (_dl_higher_prime_number): Mark with internal_function. | |
310 | ||
c8027cce UD |
311 | * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Optimize |
312 | restoring of ymm registers a bit. | |
313 | ||
e26c9b84 L |
314 | 2009-07-15 H.J. Lu <hongjiu.lu@intel.com> |
315 | ||
316 | * sysdeps/x86_64/memcmp.S: New file. | |
317 | ||
d7bd7a8a | 318 | 2009-07-15 Ulrich Drepper <drepper@redhat.com> |
59cbcac0 | 319 | |
d7bd7a8a UD |
320 | * sysdeps/x86-64/dl-trampoline.h: Remove after integrating code into... |
321 | * sysdeps/x86-64/dl-trampoline.S: ...here. Rewrite to avoid function | |
322 | pointers in writable memory. | |
59cbcac0 | 323 | |
b0ecde3a L |
324 | 2009-07-07 H.J. Lu <hongjiu.lu@intel.com> |
325 | ||
326 | * config.h.in: Add HAVE_AVX_SUPPORT entry. | |
327 | * config.make.in: Add config-cflags-avx entry. | |
328 | * configure.in: Substitute libc_cv_cc_avx. | |
329 | * elf/Makefile: Add rules to build and run tst-audit4 and tst-audit5. | |
330 | * elf/tst-audit4.c: New file. | |
331 | * elf/tst-audit5.c: New file. | |
332 | * elf/tst-auditmod4a.c: New file. | |
333 | * elf/tst-auditmod4b.c: New file. | |
334 | * elf/tst-auditmod5a.c: New file. | |
335 | * elf/tst-auditmod5b.c: New file. | |
336 | * sysdeps/x86_64/Makefile (gen-as-const-headers): Add | |
337 | link-defines.sym. | |
338 | * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): New. | |
339 | (La_x86_64_vector): Likewise. | |
340 | (La_x86_64_regs): Append lr_vector. | |
341 | (La_x86_64_retval): Append lr_vector0/lrv_vector1. | |
342 | * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Move | |
343 | saving and restoring SSE registers to ... | |
344 | * sysdeps/x86_64/dl-trampoline.h: This. New file. | |
345 | * sysdeps/x86_64/dl-trampoline.S: Include <config.h> and | |
346 | <link-defines.h>. | |
347 | (_dl_runtime_profile): Use LR_SIZE to allocate space for | |
348 | La_x86_64_regs. Allocate extra space and jump to memory at | |
349 | save_and_restore_vector if HAVE_AVX_SUPPORT is defined. | |
350 | (save_and_restore_vector_sse): New. | |
351 | (save_and_restore_vector_avx): Likewise. | |
352 | (check_avx): Likewise. | |
353 | (save_and_restore_vector): Likewise. | |
354 | * sysdeps/x86_64/elf/configure.in: Set libc_cv_cc_avx and | |
355 | HAVE_AVX_SUPPORT. | |
356 | * sysdeps/x86_64/link-defines.sym: New file. | |
357 | ||
339717d5 UD |
358 | 2009-07-10 Ulrich Drepper <drepper@redhat.com> |
359 | ||
786b74f4 UD |
360 | * elf/do-lookup.h: Removed after folding content into... |
361 | * elf/dl-lookup.c: ...here. | |
362 | ||
339717d5 UD |
363 | * sysdeps/unix/sysv/linux/sys/epoll.h: Fix comment. |
364 | ||
415ac3df UD |
365 | 2009-07-09 Ulrich Drepper <drepper@redhat.com> |
366 | ||
367 | * configure.in: Check for gnu_unique_symbol symbol type. | |
368 | * config.h.in: Add HAVE_ASM_UNIQUE_OBJECT entry. | |
369 | * elf/do-lookup.h (do_lookup_x): Take new parameter with link map of | |
370 | the undefined symbol. Handle STB_GNU_UNIQUE binding of found symbol. | |
371 | * elf/dl-lookup.c (_dl_lookup_symbol_x): Adjust callers for do_lookup_x | |
372 | change. | |
373 | * sysdeps/generic/ldsodefs.h (struct rtld_global): Add definitions for | |
374 | unique symbol table. | |
375 | * elf/rtld.c (rtld_global): Initialize lock of unique symbol hash table | |
376 | for first namespace. | |
377 | * elf/dl-open.c (_dl_open): For new namespace, initialize lock for | |
378 | unique symbol hash table. | |
379 | * elf/Makefile: Add rules to build and run tst-unique1 and tst-unique2. | |
380 | * elf/tst-unique1.c: New file. | |
381 | * elf/tst-unique1mod1.c: New file. | |
382 | * elf/tst-unique1mod2.c: New file. | |
383 | * elf/tst-unique2.c: New file. | |
384 | * elf/tst-unique2mod1.c: New file. | |
385 | * elf/tst-unique2mod2.c: New file. | |
386 | ||
eba0994e UD |
387 | 2009-07-07 Ulrich Drepper <drepper@redhat.com> |
388 | ||
b4f55afd UD |
389 | * elf/elf.h (STB_GNU_UNIQUE): Define. |
390 | ||
eba0994e UD |
391 | * elf/dl-misc.c (_dl_higher_prime_number): New function. Moved here |
392 | from... | |
393 | * include/inline-hashtab.h: ...here. | |
394 | (htab_expand): Adjust for renamed function. Correct memory handling. | |
395 | ||
a38862a5 UD |
396 | 2009-07-06 Ulrich Drepper <drepper@redhat.com> |
397 | ||
415ac3df | 398 | * elf/do-lookup.h (do_lookup_x): Optimize test for valid symbol types. |
a38862a5 | 399 | |
2123d581 AS |
400 | 2009-07-03 Andreas Schwab <aschwab@redhat.com> |
401 | ||
402 | * sysdeps/powerpc/sysdep.h (PPC_FEATURE_ARCH_2_06): Fix value. | |
403 | (PPC_FEATURE_HAS_VSX): Likewise. | |
404 | ||
d6485c98 UD |
405 | 2009-07-03 Ulrich Drepper <drepper@redhat.com> |
406 | ||
cea43295 UD |
407 | * sysdeps/x86_64/multiarch/strcspn-c.c: Minor cleanups. |
408 | * sysdeps/x86_64/multiarch/strspn-c.c: Likewise. | |
409 | ||
d6485c98 UD |
410 | * sysdeps/x86_64/multiarch/strcmp.S: Make sure functions are all |
411 | aligned to 16 byte boundaries. | |
412 | * sysdeps/x86_64/multiarch/strcpy.S: Likewise. | |
413 | * sysdeps/x86_64/multiarch/strlen.S: Likewise. | |
414 | * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise. | |
415 | ||
06e51c8f L |
416 | 2009-07-02 H.J. Lu <hongjiu.lu@intel.com> |
417 | ||
418 | * config.h.in (HAVE_SSE4_SUPPORT): New macro. | |
419 | * config.make.in (config-cflags-sse4): New variable. | |
420 | * configure.in: Substitute libc_cv_cc_sse4. | |
421 | * sysdeps/i386/configure.in: Set libc_cv_cc_sse4 and | |
422 | HAVE_SSE4_SUPPORT. | |
423 | * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add | |
424 | strcspn-c, strpbrk-c, strspn-c for string if gcc supports SSE4. | |
425 | * sysdeps/x86_64/multiarch/strcspn-c.c: New file. | |
426 | * sysdeps/x86_64/multiarch/strcspn.S: New file. | |
427 | * sysdeps/x86_64/multiarch/strpbrk-c.c: New file. | |
428 | * sysdeps/x86_64/multiarch/strpbrk.S: New file. | |
429 | * sysdeps/x86_64/multiarch/strspn-c.c: New file. | |
430 | * sysdeps/x86_64/multiarch/strspn.S: New file. | |
431 | ||
ab6a873f L |
432 | 2009-06-30 H.J. Lu <hongjiu.lu@intel.com> |
433 | ||
167d5ed5 L |
434 | * elf/Makefile (distribute): Remove tst-audit.sh. Add |
435 | tst-audit2.c, tst-audit3.c, tst-auditmod3a.c, tst-auditmod3b.c. | |
436 | (tests): Add tst-audit3 for x86_64. | |
437 | (modules-names): Add tst-auditmod3a, tst-auditmod3b. | |
438 | ($(objpfx)tst-audit3): Define. | |
439 | ($(objpfx)tst-audit3.out): Define. | |
440 | (tst-audit3-ENV): Define. | |
441 | * elf/tst-audit3.c: New file. | |
442 | * elf/tst-auditmod3a.c: New file. | |
443 | * elf/tst-auditmod3b.c: New file. | |
444 | * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save | |
445 | and restore xmm6. | |
446 | ||
ab6a873f L |
447 | * string/stpncpy.c (STPNCPY): New. Defined if not defined. |
448 | (__stpncpy): Renamed to ... | |
449 | (STPNCPY): This. | |
450 | (stpncpy): Create alias only if STPNCPY is not defined. | |
451 | * string/strncpy.c (STRNCPY): New. Defined to strncpy if not | |
452 | defined. | |
453 | (strncpy): Renamed to ... | |
454 | (STRNCPY): This. | |
455 | * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add | |
456 | stpncpy-c strncpy-c for string. | |
457 | * sysdeps/x86_64/multiarch/stpcpy.S: New file. | |
458 | * sysdeps/x86_64/multiarch/stpncpy-c.c: New file. | |
459 | * sysdeps/x86_64/multiarch/stpncpy.S: New file. | |
460 | * sysdeps/x86_64/multiarch/strcpy.S: New file. | |
461 | * sysdeps/x86_64/multiarch/strncpy-c.c: New file. | |
462 | * sysdeps/x86_64/multiarch/strncpy.S: New file. | |
463 | ||
6cbbaa50 UD |
464 | 2009-07-02 Ulrich Drepper <drepper@redhat.com> |
465 | ||
466 | * malloc/malloc.c [ATOMIC_FASTBINS] (_int_free): Add full barrier when | |
467 | adding to fast bin list. | |
468 | ||
29ba9812 UD |
469 | 2009-07-01 Ulrich Drepper <drepper@redhat.com> |
470 | ||
2fd0cd8b UD |
471 | * nis/nss_nis/nis-network.c (_nss_nis_getnetbyaddr_r): Don't use |
472 | inet_makeaddr. This worked only with class-based networks. | |
473 | * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r): | |
474 | Likewise. | |
475 | ||
29ba9812 | 476 | * nss/nss_files/files-network.c (netbyaddr): If type is AF_UNSPEC, |
5cd1f906 | 477 | recognize all types. |
29ba9812 | 478 | * nss/getent.c (networks_keys): Pass AF_UNSPEC instead of AF_UNIX |
5cd1f906 UD |
479 | to getnetbyaddr. Fix network parameter to getnetbyaddr. It must |
480 | be in host byte order. | |
29ba9812 | 481 | |
01812913 L |
482 | 2009-06-26 H.J. Lu <hongjiu.lu@intel.com> |
483 | ||
484 | * sysdeps/x86_64/multiarch/ifunc-defines.sym (FAMILIY_OFFSET): Define. | |
485 | (MODEL_OFFSET): Define. | |
486 | * sysdeps/x86_64/multiarch/init-arch.h (cpu_features): Add | |
487 | family and model. | |
488 | * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Break | |
489 | out common code into new function get_common_indeces. Determine | |
490 | extended family and model for Intel processors. | |
491 | ||
44d20bca UD |
492 | 2009-06-26 Ulrich Drepper <drepper@redhat.com> |
493 | ||
494 | * resolv/resolv.h: Define RES_SNGLKUPREOP. | |
495 | * resolv/res_init.c (res_setoptions): Recognize single-request-reopen | |
496 | option. | |
497 | * resolv/res_send.c (reopen): New function. Broken out of... | |
498 | (send_dg): ... here. Recognize RES_SNGLKUPREOP. Implement second | |
499 | fallback mechanism. If single-request fails switch to | |
500 | single-request-reopen mode which opens a new socket for the second | |
501 | request. | |
502 | ||
80a98966 AS |
503 | 2009-06-25 Andreas Schwab <aschwab@redhat.com> |
504 | ||
505 | * sysdeps/powerpc/powerpc32/____longjmp_chk.S (LOAD_ARG): Define. | |
506 | (CHECK_SP): Use it. | |
54c99aab | 507 | |
3f241d75 AS |
508 | 2009-06-24 Andreas Schwab <aschwab@redhat.com> |
509 | ||
510 | * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Fix cfa offset | |
511 | for saved registers. | |
512 | * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise. | |
513 | * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise. | |
514 | * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise. | |
515 | ||
7a7c2c24 AS |
516 | 2009-06-23 Andreas Schwab <aschwab@redhat.com> |
517 | ||
518 | * time/tzfile.c (__tzfile_read): Don't use an empty TZ string. | |
519 | ||
20a3ce85 UD |
520 | 2009-06-22 Ulrich Drepper <drepper@redhat.com> |
521 | ||
58d60030 UD |
522 | * po/id.po: Update from translation team. |
523 | ||
20a3ce85 UD |
524 | * po/bg.po: Update from translation team. |
525 | ||
772f4e6a L |
526 | 2009-06-22 H.J. Lu <hongjiu.lu@intel.com> |
527 | ||
528 | * string/strncmp.c (STRNCMP): New. Defined to strncmp if not | |
529 | defined. | |
530 | (strncmp): Renamed to STRNCMP. | |
531 | * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add | |
532 | strncmp-c for string. | |
533 | * sysdeps/x86_64/multiarch/init-arch.h (HAS_SSE4_2): Define. | |
534 | * sysdeps/x86_64/multiarch/strcmp.S: New file. | |
535 | * sysdeps/x86_64/multiarch/strncmp.S: New file. | |
536 | * sysdeps/x86_64/multiarch/strncmp-c.c: New file. | |
537 | ||
3c30afc8 L |
538 | 2009-06-19 H.J. Lu <hongjiu.lu@intel.com> |
539 | ||
540 | * elf/Makefile (distribute): Add ifuncmain1staticpie.c, | |
541 | ifuncmain5.c, ifuncmain5pic.c, ifuncmain5picstatic.c, | |
542 | ifuncmain5pie.c, ifuncmain5static.c, ifuncmain5staticpic.c, | |
543 | ifuncdep5.c, ifuncdep5pic.c, ifuncmod5.c, ifuncmain7.c, | |
544 | ifuncmain7pic.c, ifuncmain7picstatic.c, ifuncmain7pie.c, and | |
545 | ifuncmain7static.c. | |
546 | (tests-static): Add ifuncmain5static, ifuncmain5picstatic, | |
547 | ifuncmain7static, and ifuncmain7picstatic. | |
548 | (tests): Also depend on $(objpfx)ifuncmain1staticpie.out, | |
549 | $(objpfx)ifuncmain5pie.out, $(objpfx)ifuncmain6pie.out, and | |
550 | $(objpfx)ifuncmain7pie.out. | |
551 | (modules-names): Add ifuncmod5 ifuncmod6 | |
552 | (ifuncmod5.so-no-z-defs): Define. | |
553 | (ifuncmod6.so-no-z-defs): Define. | |
554 | (CFLAGS-ifuncmain5pic.c): Define. | |
555 | (CFLAGS-ifuncmain5picstatic.c): Define. | |
556 | (CFLAGS-ifuncmain5staticpic.c): Define. | |
557 | (CFLAGS-ifuncdep5pic.c): Define. | |
558 | (CFLAGS-ifuncmain7pic.c): Define. | |
559 | (CFLAGS-ifuncmain7picstatic.c): Define. | |
560 | (CFLAGS-ifuncmain1staticpie.c): Define. | |
561 | (CFLAGS-ifuncmain5pie.c): Define. | |
562 | (CFLAGS-ifuncmain6pie.c): Define. | |
563 | (CFLAGS-ifuncmain7pie.c): Define. | |
564 | ($(objpfx)ifuncmain1staticpie.out): Define. | |
565 | ($(objpfx)ifuncmain1staticpie): Define. | |
566 | ($(objpfx)ifuncmain5pie.out): Define. | |
567 | ($(objpfx)ifuncmain5pie): Define. | |
568 | ($(objpfx)ifuncmain6pie.out): Define. | |
569 | ($(objpfx)ifuncmain6pie): Define. | |
570 | ($(objpfx)ifuncmain5): Define. | |
571 | ($(objpfx)ifuncmain5pic): Define. | |
572 | ($(objpfx)ifuncmain5static): Define. | |
573 | ($(objpfx)ifuncmain5staticpic): Define. | |
574 | ($(objpfx)ifuncmain5picstatic): Define. | |
575 | (generated): Add ifuncmain1staticpie, ifuncmain1staticpie.out, | |
576 | ifuncmain5pie, ifuncmain5pie.out, ifuncmain6pie, and | |
577 | ifuncmain6pie.out. | |
578 | * elf/b/elf/ifuncmain1staticpie.c: New file. | |
579 | * elf/ifuncdep5.c: New file. | |
580 | * elf/ifuncdep5pic.c: New file. | |
581 | * elf/ifuncmain5.c: New file. | |
582 | * elf/ifuncmain5pic.c: New file. | |
583 | * elf/ifuncmain5picstatic.c: New file. | |
584 | * elf/ifuncmain5pie.c: New file. | |
585 | * elf/ifuncmain5static.c: New file. | |
586 | * elf/ifuncmain5staticpic.c: New file. | |
587 | * elf/ifuncmain6pie.c: New file. | |
588 | * elf/ifuncmain7.c: New file. | |
589 | * elf/ifuncmain7pic.c: New file. | |
590 | * elf/ifuncmain7picstatic.c: New file. | |
591 | * elf/ifuncmain7pie.c: New file. | |
592 | * elf/ifuncmain7static.c: New file. | |
593 | * elf/ifuncmod5.c: New file. | |
594 | * elf/ifuncmod6.c: New file. | |
595 | ||
ccab6d8f UD |
596 | 2009-06-20 Ulrich Drepper <drepper@redhat.com> |
597 | ||
598 | [BZ #10085] | |
599 | * nis/nss_compat/compat-initgroups.c (nss_setgrent): New variable. | |
600 | (nss_endgrent): New variable. | |
601 | (struct ent_t): Add need_endgrent and skip_initgroups_dyn | |
602 | fields. Change type of files to bool and adjust all users. | |
603 | (init_nss_interface): Initialize nss_setgrent and nss_endgrent. | |
604 | (internal_endgrent): Call nss_endgrent if necessary. | |
605 | (add_group): New function. Broken out of... | |
606 | (check_and_add_group): ...here. | |
607 | (getgrent_next_nss): Remove test that any callback is available. | |
608 | Use skip_initgroups_dyn to determine whether to use initgroups_dyn | |
609 | callback. If there is no blacklist we can trust the results returned | |
610 | by the initgroups_dyn callback. In case there is a callback and we | |
611 | find a group entry for the group ID but it doesn't contain the | |
612 | correct member, switch to the slow mode and use getgrent_r. | |
613 | (internal_getgrent_r): When we see a +: entry, determine whether | |
614 | there is any callback and which we can use the initgroups_dyn | |
615 | callback. | |
616 | ||
d0a2af71 UD |
617 | 2009-06-18 Ulrich Drepper <drepper@redhat.com> |
618 | ||
f6887a0d UD |
619 | * malloc/malloc.c (_int_malloc): Add some consistency checks. |
620 | (_int_free): Likewise. | |
621 | ||
d0a2af71 UD |
622 | * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_IEEE802154 and |
623 | AF_IEEE802154. | |
624 | * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise. | |
625 | * sysdeps/unix/sysv/linux/net/if_arp.h: Define ARPHRD_IEEE802154 | |
626 | and ARPHRD_IEEE802154_PHY. | |
627 | ||
628 | * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Add missing definitions | |
629 | relative to generic Linux version. | |
630 | ||
d8366b09 L |
631 | 2009-06-17 H.J. Lu <hongjiu.lu@intel.com> |
632 | ||
633 | * elf/Makefile ($(objpfx)ifuncmain1pie): Use $(+link-pie). | |
634 | ($(objpfx)ifuncmain1vispie): Likewise. | |
635 | ||
f051ddfe UD |
636 | 2009-06-16 Ulrich Drepper <drepper@redhat.com> |
637 | ||
638 | * login/Makefile: Build pt_chown as PIE. | |
639 | ||
f60ddf9b AS |
640 | 2009-06-15 Andreas Schwab <aschwab@redhat.com> |
641 | ||
642 | * debug/xtrace.sh (do_help): Don't treat bug reporting message as | |
643 | a format string. | |
644 | * elf/sln.c (usage): Likewise. | |
645 | * malloc/memusage.sh (do_help): Likewise. | |
646 | * nss/getent.c (more_help): Likewise. | |
647 | * posix/getconf.c (main): Likewise. | |
648 | * sunrpc/rpcinfo.c (usage): Likewise. | |
649 | * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise. | |
650 | ||
f793b624 UD |
651 | 2009-06-16 Ulrich Drepper <drepper@redhat.com> |
652 | ||
8a909c64 UD |
653 | * login/programs/pt_chown.c: Use libcap to drop privileges other than |
654 | those needed. | |
f793b624 | 655 | * login/Makefile: If necessary link pt_chown with -lcap. |
8a909c64 UD |
656 | * sysdeps/generic/pty-private.h: Define FAIL_ENOMEM. |
657 | * sysdeps/unix/grantpt.c: Handle FAIL_ENOMEM. | |
f793b624 | 658 | |
fab8238d JJ |
659 | 2009-06-16 Jakub Jelinek <jakub@redhat.com> |
660 | ||
661 | * sysdeps/x86_64/memchr.S (memchr): Use unsigned instead of signed | |
662 | comparisons. | |
663 | * string/test-memchr.c (do_random_tests): Test very large lengths | |
664 | as well. | |
665 | ||
435aa54b L |
666 | 2009-06-02 H.J. Lu <hongjiu.lu@intel.com> |
667 | ||
668 | * Makeconfig (+link-pie): Define. | |
669 | (+prectorS): Define. | |
670 | (+postctorS): Define. | |
671 | * elf/Makefile ($(objpfx)tst-pie1): Use $(+link-pie). | |
672 | * nscd/Makefile ($(objpfx)nscd): Likewise. | |
673 | ||
25bfbb9e RA |
674 | 2009-04-22 Ryan S. Arnold <rsa@us.ibm.com> |
675 | ||
676 | [BZ #10107] | |
677 | * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Replace cmpldi | |
678 | with cmplwi. | |
679 | * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise. | |
680 | ||
b34de9ea UD |
681 | 2009-06-16 Ulrich Drepper <drepper@redhat.com> |
682 | ||
683 | * sysdeps/unix/sysv/linux/grantpt.c: Remove file after folding changes | |
684 | into ... | |
685 | * sysdeps/unix/grantpt.c: ...here. | |
686 | ||
a468a1d4 UD |
687 | 2009-06-15 Ulrich Drepper <drepper@redhat.com> |
688 | ||
837dea7c UD |
689 | * sysdeps/unix/sysv/linux/grantpt.c (grantpt): Only call chown and |
690 | chmod if it is necessary. | |
691 | ||
292e3abe | 692 | [BZ #10166] |
eae3208e UD |
693 | * sysdeps/unix/sysv/linux/grantpt.c: Remove shortcut which was used |
694 | when the slave device is in devpts or devfs. | |
292e3abe | 695 | |
395a37e3 UD |
696 | [BZ #10183] |
697 | * posix/tst-cpucount.c: Don't try more than CPU_SETSIZE bits. | |
698 | ||
7ed520bd AE |
699 | [BZ #10195] |
700 | * inet/netinet/icmp6.h (struct nd_opt_home_agent_info): Change type | |
701 | of nd_opt_home_agent_info_preference to uint16_t. | |
702 | Patch by Arnaud Ebalard <arno@natisbad.org>. | |
703 | ||
c518f9a4 | 704 | [BZ #10207] |
f6887a0d | 705 | * nss/getent.c: Add support for printing gshadow data. |
c518f9a4 | 706 | |
233a182b JL |
707 | [BZ #10203] |
708 | * nis/nss_nis/nis-pwd.c (internal_nis_endpwent): Free all buffers, | |
709 | not just the currently used one and those which follow. | |
710 | Patch by Joe Landers <jlanders@vmware.com>. | |
711 | ||
4155d926 BD |
712 | [BZ #10196] |
713 | * libio/tst-fgetwc.c (do_test): Use de_DE.UTF-8 as locale name. | |
eae3208e | 714 | * libio/Makefile: Run tst-fgetwc with necessary envvar. |
4155d926 BD |
715 | Patch by Bruce Dubbs <bdubbs@linuxfromscratch.org>. |
716 | ||
48dcd0ba UD |
717 | [BZ #10217] |
718 | * stdlib/abort.c: Define variable __abort_msg. | |
719 | * stdlib/Versions: Export __abort_msg with GLIBC_PRIVATE version. | |
720 | * include/stdlib.h: Declare __abort_msg. | |
721 | * assert/assert-perr.c: Don't free buffer for message immediately. | |
722 | Store atomically in __abort_msg and free old buffer if necessary. | |
723 | * assert/assert.c: Likewise. | |
724 | * sysdeps/posix/libc_fatal.c: Allocate buffer for message, copy it, | |
725 | store pointer in __abort_msg, and possibly free old string. | |
726 | * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise. | |
727 | ||
6355c997 UD |
728 | * time/tzfile.c (__tzfile_read): Correct computation of tzspec_len. |
729 | ||
29143408 AH |
730 | [BZ #10211] |
731 | * time/tzfile.c (__tzfile_compute): If we use the envvar format still | |
732 | handle leap seconds if they are available. | |
733 | Patch by Akinori Hattori <hattya@gentoo.org>. | |
734 | ||
5fb55a68 UD |
735 | * timezone/tzselect.ksh: Update from tzcode2009i. |
736 | * timezone/zdump.c: Likewise. | |
737 | * timezone/zic.c: Likewise. | |
738 | ||
a468a1d4 UD |
739 | * timezone/africa: Update from tzdata2009i. |
740 | * timezone/antarctica: Likewise. | |
741 | * timezone/asia: Likewise. | |
742 | * timezone/australasia: Likewise. | |
743 | * timezone/backward: Likewise. | |
744 | * timezone/etcetera: Likewise. | |
745 | * timezone/europe: Likewise. | |
746 | * timezone/factory: Likewise. | |
747 | * timezone/iso3166.tab: Likewise. | |
748 | * timezone/leapseconds: Likewise. | |
749 | * timezone/northamerica: Likewise. | |
750 | * timezone/pacificnew: Likewise. | |
751 | * timezone/solar87: Likewise. | |
752 | * timezone/solar88: Likewise. | |
753 | * timezone/solar89: Likewise. | |
754 | * timezone/southamerica: Likewise. | |
755 | * timezone/systemv: Likewise. | |
756 | * timezone/yearistype: Likewise. | |
757 | * timezone/zone.tab: Likewise. | |
758 | ||
02125962 JJ |
759 | 2009-06-15 Jakub Jelinek <jakub@redhat.com> |
760 | ||
761 | * elf/dl-lookup.c (_dl_debug_bindings): When resolving to | |
762 | STT_GNU_IFUNC symbol or in 8 into type_class. | |
763 | ||
764 | * sysdeps/i386/dl-irel.h (elf_irel): Use Elf32_Addr type | |
765 | instead of Elf64_Addr. | |
766 | ||
eb0b6cb6 UD |
767 | 2009-06-14 Ulrich Drepper <drepper@redhat.com> |
768 | ||
53c06891 UD |
769 | * po/sv.po: Update from translation team. |
770 | ||
eb0b6cb6 UD |
771 | [BZ #10229] |
772 | * misc/sys/select.h (__NFDBITS): Expression should have type int. | |
773 | * sysdeps/x86_64/bits/select.h: Remove asm versions for __FD_SET, | |
774 | __FD_CLR, and __FD_ISSET. gcc nowadays generates better code from | |
775 | the C version. | |
776 | ||
bfdb73e1 UD |
777 | 2009-06-12 Ulrich Drepper <drepper@redhat.com> |
778 | ||
779 | * Versions.def: Add GLIBC_2.11 for libpthread. | |
780 | ||
310647e9 UD |
781 | 2009-06-11 Ulrich Drepper <drepper@redhat.com> |
782 | ||
783 | * resolv/res_send.c (send_dg): Remember we switched to | |
784 | single-request mode. | |
785 | ||
d360a0da UD |
786 | 2009-06-09 Ulrich Drepper <drepper@redhat.com> |
787 | ||
88ea382f D |
788 | * dlfcn/dlfcn.h: Remove comma at end of enum. |
789 | Patch by J.H.M. Dassen <rdassen@redhat.com>. | |
790 | ||
d360a0da UD |
791 | * libio/fileops.c (_IO_new_file_fopen): Don't prematurely stop |
792 | parsing mode string. | |
793 | ||
443caceb UD |
794 | 2009-06-05 Ulrich Drepper <drepper@redhat.com> |
795 | ||
b77c9323 UD |
796 | * sysdeps/x86_64/rawmemchr.S: Minor optimization. |
797 | ||
798 | * sysdeps/x86_64/multiarch/rawmemchr.S: New file. | |
799 | ||
3ab2d57a UD |
800 | * sysdeps/x86_64/multiarch/strlen.S: New file. |
801 | * sysdeps/x86_64/multiarch/ifunc-defines.sym: New file. | |
802 | * sysdeps/x86_64/multiarch/Makefile: Add rule to build ifunc-defines.h. | |
803 | * sysdeps/x86_64/multiarch/init-arch.h: Name structure with register | |
804 | content. | |
805 | ||
443caceb UD |
806 | * csu/elf-init.c: Only compile in IFUNC functionality if USE_MULTIARCH |
807 | is defined. | |
808 | ||
747785f2 UD |
809 | 2009-06-04 Ulrich Drepper <drepper@redhat.com> |
810 | ||
2f3f7b9d | 811 | * sysdeps/x86_64/strlen.S: Minor optimizations. |
747785f2 | 812 | |
2f083d75 L |
813 | 2009-06-02 H.J. Lu <hongjiu.lu@intel.com> |
814 | ||
815 | * elf/Makefile (distribute): Add ifuncmain1.c, ifuncmain1pic.c, | |
816 | ifuncmain1vis.c, ifuncmain1vispic.c, ifuncmain1static.c, | |
817 | ifuncmain1staticpic.c, ifuncmain1picstatic.c, ifuncdep1.c, | |
818 | ifuncdep1pic.c, ifuncmod1.c, ifuncmain1pie.c, ifuncmain1vispie.c, | |
819 | ifuncmain2.c, ifuncmain2static.c, ifuncdep2.c, | |
820 | funcmain2pic.c, ifuncmain2picstatic.c, ifuncdep2pic.c, | |
821 | ifuncmain3.c, ifuncmod3.c,. | |
822 | ifuncmain4.c, ifuncmain4static.c, ifuncmain4picstatic.c. | |
823 | (tests-static): Add ifuncmain1static, ifuncmain1picstatic, | |
824 | ifuncmain2static, ifuncmain2picstatic, ifuncmain4static, | |
825 | ifuncmain4picstatic. | |
826 | (tests): Add ifuncmain1, ifuncmain1pic, ifuncmain1vis, | |
827 | ifuncmain1vispic, ifuncmain1staticpic, ifuncmain2, ifuncmain2pic, | |
828 | ifuncmain3, ifuncmain4. | |
829 | (tests): Depend on $(objpfx)ifuncmain1pie.out and | |
830 | $(objpfx)ifuncmain1vispie.out. | |
831 | (modules-names): Add ifuncmod1 ifuncmod3. | |
832 | (generated): Add ifuncmain1pie ifuncmain1pie.out | |
833 | ifuncmain1vispie ifuncmain1vispie.out. | |
834 | Define rules to build and run the tests. | |
835 | * elf/ifuncdep1.c: New file. | |
836 | * elf/ifuncdep1pic.c: New file. | |
837 | * elf/ifuncdep2.c: New file. | |
838 | * elf/ifuncdep2pic.c: New file. | |
839 | * elf/ifuncmain1.c: New file. | |
840 | * elf/ifuncmain1pic.c: New file. | |
841 | * elf/ifuncmain1picstatic.c: New file. | |
842 | * elf/ifuncmain1pie.c: New file. | |
843 | * elf/ifuncmain1static.c: New file. | |
844 | * elf/ifuncmain1staticpic.c: New file. | |
845 | * elf/ifuncmain1vis.c: New file.. | |
846 | * elf/ifuncmain1vispic.c: New file.. | |
847 | * elf/ifuncmain1vispie.c: New file. | |
848 | * elf/ifuncmain2.c: New file. | |
849 | * elf/ifuncmain2pic.c: New file. | |
850 | * elf/ifuncmain2picstatic.c: New file. | |
851 | * elf/ifuncmain2static.c: New file. | |
852 | * elf/ifuncmain3.c: New file. | |
853 | * elf/ifuncmain4.c: New file. | |
854 | * elf/ifuncmain4picstatic.c: New file. | |
855 | * elf/ifuncmain4static.c: New file. | |
856 | * elf/ifuncmod1.c: New file. | |
857 | * elf/ifuncmod3.c: New file. | |
858 | ||
fbb04b35 UD |
859 | 2009-06-03 Ulrich Drepper <drepper@redhat.com> |
860 | ||
861 | * elf/dl-sysdep.c (_dl_show_auxv): Terminate correct string. | |
862 | ||
3d5243d4 UD |
863 | 2009-06-02 Ulrich Drepper <drepper@redhat.com> |
864 | ||
865 | [BZ #10221] | |
866 | * posix/Makefile (routines): Add execvpe. | |
867 | * posix/Versions: Export execvpe for GLIBC_2.11. | |
868 | * posix/execvp.c: Now only a wrapper. Move code to... | |
869 | * posix/execvpe.c: ...here. New file. | |
870 | * posix/unistd.h: Declare execvpe. | |
871 | ||
b7629ee3 UD |
872 | 2009-06-01 Ulrich Drepper <drepper@redhat.com> |
873 | ||
fd96f062 UD |
874 | * sysdeps/i386/dl-machine.h (elf_machine_rel): Reorder conditions |
875 | for STT_GNU_IFUNC handling for efficiency. | |
876 | * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise. | |
877 | ||
b7629ee3 UD |
878 | * sysdeps/i386/dl-irel.h (elf_irel): Use __libc_fatal instead of just |
879 | _exit. | |
880 | * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise. | |
881 | ||
8ea23729 UD |
882 | 2009-05-31 Ulrich Drepper <drepper@redhat.com> |
883 | ||
884 | * sysdeps/x86_64/multiarch/sched_cpucount.c: Also use optimized code | |
885 | for !SHARED. | |
886 | ||
74414708 UD |
887 | 2009-05-29 H.J. Lu <hongjiu.lu@intel.com> |
888 | ||
889 | * csu/elf-init.c: Include <link.h> and <dl-irel.h> if LIBC_NONSHARED | |
890 | is not defined. | |
891 | (__rela_iplt_start): New declaration. | |
892 | (__rela_iplt_end): Likewise. | |
893 | (__rel_iplt_start): Likewise. | |
894 | (__rel_iplt_end): Likewise. | |
895 | (__libc_csu_init): Process __rela_iplt_start and __rel_iplt_start. | |
896 | * elf/elf.h (R_386_IRELATIVE): New macro. | |
897 | (R_X86_64_IRELATIVE): New macro. | |
898 | (R_386_NUM): Updated. | |
899 | (R_X86_64_NUM): Likewise. | |
900 | * include/libc-symbols.h (libc_ifunc_hidden_def1): New macro. | |
901 | (libc_ifunc_hidden_def): New macro. | |
902 | * sysdeps/generic/dl-irel.h: New file. | |
903 | * sysdeps/i386/dl-irel.h: New file. | |
904 | * sysdeps/x86_64/dl-irel.h: New file. | |
905 | * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle R_386_IRELATIVE. | |
906 | (elf_machine_rela): Check SHN_UNDEF for STT_GNU_IFUNC symbol. | |
907 | Handle R_386_IRELATIVE. | |
908 | (elf_machine_lazy_rel): Handle R_386_IRELATIVE. | |
909 | (elf_machine_lazy_rela): Likewise. | |
910 | * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle | |
911 | R_X86_64_IRELATIVE. | |
912 | (elf_machine_lazy_rel): Handle R_X86_64_IRELATIVE. | |
913 | ||
963cb6fc UD |
914 | 2009-05-31 Ulrich Drepper <drepper@redhat.com> |
915 | ||
916 | * sysdeps/x86_64/multiarch/init-arch.h: Define COMMON_CPUID_INDEX_1 | |
917 | instead of INTEL_CPUID_INDEX_1 and AMD_CPUID_INDEX_1. So far there | |
918 | are no differences. If an architecture has bits in CPUID index 1 | |
919 | meaning different things the values for the COMMON_CPUID_INDEX_1 | |
920 | index must not be set. | |
921 | (INTEL_HAS_POPCOUNT, AMD_HAS_POPCOUNT): Removed in favor of... | |
922 | (HAS_POPCOUNT): ...this. New macro. | |
923 | * sysdeps/x86_64/multiarch/init-arch.c: Use COMMON_CPUID_INDEX_1 | |
924 | instead of INTEL_CPUID_INDEX_1 and AMD_CPUID_INDEX_1. Unify code | |
925 | to set the value for Intel and AMD architectures. | |
926 | * sysdeps/x86_64/cacheinfo.c: Use COMMON_CPUID_INDEX_1 instead of | |
927 | INTEL_CPUID_INDEX_1. | |
928 | * sysdeps/x86_64/multiarch/sched_cpucount.c: Adjust for HAS_POPCOUNT | |
929 | change. | |
930 | ||
c16a054d AS |
931 | 2009-05-30 Andreas Schwab <schwab@linux-m68k.org> |
932 | ||
933 | * configure.in: Move AC_CANONICAL_HOST before first use of $host | |
934 | and $build. | |
c16a054d | 935 | |
7f3394bd UD |
936 | 2009-05-29 Jakub Jelinek <jakub@redhat.com> |
937 | ||
938 | * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <errno.h>. | |
939 | (__expm1l): Set errno to ERANGE on overflow. | |
940 | * sysdeps/ieee754/ldbl-128/s_tanl.c: Include <errno.h>. | |
941 | (__tanl): Set errno to EDOM for ±Inf. | |
942 | * sysdeps/ieee754/ldbl-128/s_cosl.c: Include <errno.h>. | |
943 | (__cosl): Set errno to EDOM for ±Inf. | |
944 | * sysdeps/ieee754/ldbl-128/s_sinl.c: Include <errno.h>. | |
945 | (__sinl): Set errno to EDOM for ±Inf. | |
946 | ||
b8bb339f UD |
947 | * sysdeps/s390/s390-32/__longjmp.c (__longjmp): If CHECK_SP is |
948 | defined, use it. | |
949 | * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise. | |
950 | * sysdeps/s390/s390-32/____longjmp_chk.c: New file. | |
951 | * sysdeps/s390/s390-64/____longjmp_chk.c: New file. | |
952 | ||
1de0c161 UD |
953 | 2009-05-29 Ulrich Drepper <drepper@redhat.com> |
954 | ||
955 | * sysdeps/x86_64/cacheinfo.c: Compact intel_02_known array. Adjust | |
956 | code accessing it. | |
957 | * sysdeps/unix/sysv/linux/i386/sysconf.c: Likewise. | |
958 | ||
0323b051 AS |
959 | 2009-05-22 Andreas Schwab <schwab@linux-m68k.org> |
960 | ||
38ae768d AS |
961 | * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Set errno for ±Inf. |
962 | * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise. | |
963 | * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise. | |
964 | * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Set errno for overflow. | |
965 | ||
0323b051 AS |
966 | * sysdeps/powerpc/powerpc32/____longjmp_chk.S: New file. |
967 | * sysdeps/powerpc/powerpc64/____longjmp_chk.S: New file. | |
968 | * sysdeps/powerpc/powerpc32/__longjmp-common.S: Use CHECK_SP if | |
969 | defined. | |
970 | * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise. | |
971 | * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise. | |
972 | ||
1e1dc4e8 JJ |
973 | 2009-05-22 Jakub Jelinek <jakub@redhat.com> |
974 | ||
975 | * sysdeps/unix/sysv/linux/accept4.c: Include kernel-features.h. | |
976 | (accept4): If __NR_accept4 is not defined, but __NR_socketcall | |
977 | is, either do nothing at all if __ASSUME_ACCEPT4, or | |
978 | call __internal_accept4 and handle EINVAL -> ENOSYS translation. | |
979 | * sysdeps/unix/sysv/linux/internal_accept4.S: New file. | |
980 | * sysdeps/unix/sysv/linux/i386/accept4.S (SOCKOP_accept4): Don't | |
981 | define. | |
982 | * sysdeps/unix/sysv/linux/i386/internal_accept4.S: New file. | |
983 | * sysdeps/unix/sysv/linux/Makefile (sysdep-routines): Add | |
984 | internal_accept4 in socket directory. | |
985 | ||
10495c0b UD |
986 | 2009-05-20 H.J. Lu <hongjiu.lu@intel.com> |
987 | ||
988 | * sysdeps/ia64/configure.in: New file. | |
989 | ||
fa64b7f7 UD |
990 | 2009-05-21 H.J. Lu <hongjiu.lu@intel.com> |
991 | ||
992 | [BZ #10162] | |
993 | * sysdeps/ia64/memchr.S: Use speculative load. | |
994 | ||
d2812fc6 L |
995 | * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S: New file. |
996 | * sysdeps/unix/sysv/linux/ia64/__longjmp.S: If CHECK_RSP is defined, | |
997 | use it. | |
998 | ||
e7535de7 L |
999 | * sysdeps/i386/__longjmp.S: Add .text. |
1000 | * sysdeps/x86_64/__longjmp.S: Likewise. | |
1001 | ||
3533b1a6 UD |
1002 | 2009-05-21 Ulrich Drepper <drepper@redhat.com> |
1003 | ||
1004 | * sysdeps/unix/sysv/linux/kernel-features.h: Don't define | |
1005 | __ASSUME_ACCEPT4 for IA-64. | |
1006 | ||
a2292378 JJ |
1007 | 2009-05-21 Jakub Jelinek <jakub@redhat.com> |
1008 | ||
d14eda93 JJ |
1009 | * sysdeps/unix/sysv/linux/accept4.c (__NR_accept4): Don't define. |
1010 | ||
a2292378 JJ |
1011 | * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_paccept): Remove. |
1012 | (SOCKOP_accept4): Define. | |
1013 | ||
d4ab2f2a UD |
1014 | 2009-05-20 Ulrich Drepper <drepper@redhat.com> |
1015 | ||
ab09b221 UD |
1016 | Sun approved the change of the license. |
1017 | * sunrpc/auth_des.c: Replace license text. | |
1018 | * sunrpc/auth_none.c: Likewise. | |
1019 | * sunrpc/auth_unix.c: Likewise. | |
1020 | * sunrpc/authdes_prot.c: Likewise. | |
1021 | * sunrpc/authuxprot.c: Likewise. | |
1022 | * sunrpc/bindrsvprt.c: Likewise. | |
1023 | * sunrpc/clnt_gen.c: Likewise. | |
1024 | * sunrpc/clnt_perr.c: Likewise. | |
1025 | * sunrpc/clnt_raw.c: Likewise. | |
1026 | * sunrpc/clnt_simp.c: Likewise. | |
1027 | * sunrpc/clnt_tcp.c: Likewise. | |
1028 | * sunrpc/clnt_udp.c: Likewise. | |
1029 | * sunrpc/clnt_unix.c: Likewise. | |
1030 | * sunrpc/des_crypt.c: Likewise. | |
1031 | * sunrpc/des_soft.c: Likewise. | |
1032 | * sunrpc/get_myaddr.c: Likewise. | |
1033 | * sunrpc/getrpcport.c: Likewise. | |
1034 | * sunrpc/key_call.c: Likewise. | |
1035 | * sunrpc/key_prot.c: Likewise. | |
1036 | * sunrpc/openchild.c: Likewise. | |
1037 | * sunrpc/pm_getmaps.c: Likewise. | |
1038 | * sunrpc/pm_getport.c: Likewise. | |
1039 | * sunrpc/pmap_clnt.c: Likewise. | |
1040 | * sunrpc/pmap_prot.c: Likewise. | |
1041 | * sunrpc/pmap_prot2.c: Likewise. | |
1042 | * sunrpc/pmap_rmt.c: Likewise. | |
1043 | * sunrpc/rpc/auth.h: Likewise. | |
1044 | * sunrpc/rpc/auth_unix.h: Likewise. | |
1045 | * sunrpc/rpc/clnt.h: Likewise. | |
1046 | * sunrpc/rpc/des_crypt.h: Likewise. | |
1047 | * sunrpc/rpc/key_prot.h: Likewise. | |
1048 | * sunrpc/rpc/netdb.h: Likewise. | |
1049 | * sunrpc/rpc/pmap_clnt.h: Likewise. | |
1050 | * sunrpc/rpc/pmap_prot.h: Likewise. | |
1051 | * sunrpc/rpc/pmap_rmt.h: Likewise. | |
1052 | * sunrpc/rpc/rpc.h: Likewise. | |
1053 | * sunrpc/rpc/rpc_des.h: Likewise. | |
1054 | * sunrpc/rpc/rpc_msg.h: Likewise. | |
1055 | * sunrpc/rpc/svc.h: Likewise. | |
1056 | * sunrpc/rpc/svc_auth.h: Likewise. | |
1057 | * sunrpc/rpc/types.h: Likewise. | |
1058 | * sunrpc/rpc/xdr.h: Likewise. | |
1059 | * sunrpc/rpc_clntout.c: Likewise. | |
1060 | * sunrpc/rpc_cmsg.c: Likewise. | |
1061 | * sunrpc/rpc_common.c: Likewise. | |
1062 | * sunrpc/rpc_cout.c: Likewise. | |
1063 | * sunrpc/rpc_dtable.c: Likewise. | |
1064 | * sunrpc/rpc_hout.c: Likewise. | |
1065 | * sunrpc/rpc_main.c: Likewise. | |
1066 | * sunrpc/rpc_parse.c: Likewise. | |
1067 | * sunrpc/rpc_parse.h: Likewise. | |
1068 | * sunrpc/rpc_prot.c: Likewise. | |
1069 | * sunrpc/rpc_sample.c: Likewise. | |
1070 | * sunrpc/rpc_scan.c: Likewise. | |
1071 | * sunrpc/rpc_scan.h: Likewise. | |
1072 | * sunrpc/rpc_svcout.c: Likewise. | |
1073 | * sunrpc/rpc_tblout.c: Likewise. | |
1074 | * sunrpc/rpc_util.c: Likewise. | |
1075 | * sunrpc/rpc_util.h: Likewise. | |
1076 | * sunrpc/rpcinfo.c: Likewise. | |
1077 | * sunrpc/rpcsvc/bootparam_prot.x: Likewise. | |
1078 | * sunrpc/rpcsvc/key_prot.x: Likewise. | |
1079 | * sunrpc/rpcsvc/klm_prot.x: Likewise. | |
1080 | * sunrpc/rpcsvc/mount.x: Likewise. | |
1081 | * sunrpc/rpcsvc/nfs_prot.x: Likewise. | |
1082 | * sunrpc/rpcsvc/rex.x: Likewise. | |
1083 | * sunrpc/rpcsvc/rstat.x: Likewise. | |
1084 | * sunrpc/rpcsvc/rusers.x: Likewise. | |
1085 | * sunrpc/rpcsvc/sm_inter.x: Likewise. | |
1086 | * sunrpc/rpcsvc/spray.x: Likewise. | |
1087 | * sunrpc/rpcsvc/yppasswd.x: Likewise. | |
1088 | * sunrpc/rtime.c: Likewise. | |
1089 | * sunrpc/svc.c: Likewise. | |
1090 | * sunrpc/svc_auth.c: Likewise. | |
1091 | * sunrpc/svc_authux.c: Likewise. | |
1092 | * sunrpc/svc_raw.c: Likewise. | |
1093 | * sunrpc/svc_run.c: Likewise. | |
1094 | * sunrpc/svc_simple.c: Likewise. | |
1095 | * sunrpc/svc_tcp.c: Likewise. | |
1096 | * sunrpc/svc_udp.c: Likewise. | |
1097 | * sunrpc/svc_unix.c: Likewise. | |
1098 | * sunrpc/svcauth_des.c: Likewise. | |
1099 | * sunrpc/xcrypt.c: Likewise. | |
1100 | * sunrpc/xdr.c: Likewise. | |
1101 | * sunrpc/xdr_array.c: Likewise. | |
1102 | * sunrpc/xdr_float.c: Likewise. | |
1103 | * sunrpc/xdr_mem.c: Likewise. | |
1104 | * sunrpc/xdr_rec.c: Likewise. | |
1105 | * sunrpc/xdr_ref.c: Likewise. | |
1106 | * sunrpc/xdr_sizeof.c: Likewise. | |
1107 | * sunrpc/xdr_stdio.c: Likewise. | |
1108 | ||
d4ab2f2a UD |
1109 | * po/da.po: Update from translation team. |
1110 | ||
04733592 KK |
1111 | 2009-05-18 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
1112 | ||
1113 | * sysdeps/sh/____longjmp_chk.S: New file. | |
1114 | * sysdeps/sh/sh3/__longjmp.S: If CHECK_SP is defined, use it. | |
1115 | * sysdeps/sh/sh4/__longjmp.S: Likewise. | |
a2292378 | 1116 | |
5078fff6 JJ |
1117 | 2009-05-18 Jakub Jelinek <jakub@redhat.com> |
1118 | Ulrich Drepper <drepper@redhat.com> | |
1119 | ||
1120 | * nscd/nscd_helper.c (MINIMUM_HASHENTRY_SIZE): Define. | |
1121 | (__nscd_cache_search): Assume each entry in the | |
1122 | hash chain needs one hashentry and half of datahead. Use | |
1123 | MINIMUM_HASHENTRY_SIZE instead of sizeof(hashentry). | |
1124 | ||
95410b7b UD |
1125 | 2009-05-16 Ulrich Drepper <drepper@redhat.com> |
1126 | ||
c457bc13 UD |
1127 | * posix/sys/wait.h: Fix typos. Pretty printing. |
1128 | * stdlib/stdlib.h: Likewise. Correct comments. | |
8f0d3f49 | 1129 | |
a64039b0 UD |
1130 | [BZ #10159] |
1131 | * stdlib/stdlib.h (__WAIT_INT): Match the definition in <sys/wait.h>. | |
1132 | ||
95410b7b UD |
1133 | * nscd/nscd_helper.c (__nscd_cache_search): Fix exit condition in last |
1134 | patch. | |
1135 | ||
831a4049 UD |
1136 | 2009-05-15 Ulrich Drepper <drepper@redhat.com> |
1137 | ||
831a4049 UD |
1138 | * nscd/nscd_helper.c (__nscd_cache_search): Introduce loop counter. |
1139 | Use it if we absolutely cannot reach any more correct list elements | |
1140 | because that many do not fit into the currently mapped database. | |
1141 | ||
6dd78596 UD |
1142 | 2009-05-14 Jakub Jelinek <jakub@redhat.com> |
1143 | ||
cfe1fc10 JJ |
1144 | * nscd/nscd_helper.c: Include stddef.h. |
1145 | (__nscd_cache_search): Add datalen argument. Use atomic_forced_read | |
1146 | in a couple of places. Return NULL if trail is not less than | |
1147 | datasize, don't consider dataheads with length smaller than | |
1148 | offsetof (struct datahead, data) + datalen. | |
1149 | * nscd/nscd_client.h (__nscd_cache_search): Adjust prototype. | |
1150 | * nscd/nscd_gethst_r.c (nscd_gethst_r): Adjust callers. | |
1151 | * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise. | |
1152 | * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. | |
1153 | * nscd/nscd_getai.c (__nscd_getai): Likewise. | |
1154 | * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise. | |
1155 | * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise. | |
1156 | ||
6dd78596 UD |
1157 | * sysdeps/unix/sysv/linux/i386/fallocate64.c (__fallocate64_l64): |
1158 | Rename ... | |
1159 | (fallocate64): ... to this. | |
1160 | * sysdeps/unix/sysv/linux/fallocate64.c (__fallocate64_l64): | |
1161 | Rename ... | |
1162 | (fallocate64): ... to this. | |
1163 | * sysdeps/unix/sysv/linux/Versions (libc): Remove fallocate64. | |
1164 | * sysdeps/unix/sysv/linux/wordsize-64/Versions (libc): Add | |
1165 | fallocate64@@GLIBC_2.10. | |
1166 | * sysdeps/unix/sysv/linux/i386/Versions (libc): Add | |
1167 | fallocate64@@GLIBC_2.11. | |
1168 | * sysdeps/unix/sysv/linux/s390/s390-32/Versions (libc): Likewise. | |
1169 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions (libc): Likewise. | |
1170 | * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (libc): Likewise. | |
1171 | * sysdeps/unix/sysv/linux/sh/Versions (libc): Likewise. | |
1172 | ||
6dd78596 UD |
1173 | * nscd/selinux.c (nscd_avc_destroy): Removed. |
1174 | * nscd/selinux.h (nscd_avc_destroy): Likewise. | |
1175 | * nscd/nscd.c (termination_handler): Don't call | |
1176 | nscd_avc_destroy. | |
1177 | ||
cfe1fc10 JJ |
1178 | 2009-05-12 Jakub Jelinek <jakub@redhat.com> |
1179 | ||
1180 | * include/atomic.h: Formatting. | |
1181 | (catomic_compare_and_exchange_val_acq): Don't define if already | |
1182 | defined by bits/atomic.h. | |
1183 | ||
774f5a30 UD |
1184 | 2009-05-15 Ulrich Drepper <drepper@redhat.com> |
1185 | ||
bbc5d74d UD |
1186 | * math/libm-test.inc (expm1_test): Add test for range error. |
1187 | ||
b50f8e42 UD |
1188 | * Versions.def: Add GLIBC_2.11 for libc. |
1189 | * debug/Makefile (routines): Add longjmp_chk. | |
1190 | Add rules to build and run tst-longjmp_chk. | |
1191 | * debug/Versions: Export __longjmp_chk for GLIBC_2.11. | |
1192 | * debug/longjmp_chk.c: New file. | |
1193 | * debug/tst-longjmp_chk.c: New file. | |
1194 | * include/bits/setjmp2.: New file. | |
1195 | * include/stdio.h: Mark __fortify_fail as internal_function. | |
1196 | * setjmp/Makefile (headers): Add bits/setjmp2.h. | |
1197 | * setjmp/bits/setjmp2.h: New file. | |
1198 | * setjmp/longjmp.c: If __libc_siglongjmp is defined, don't define any | |
1199 | of the aliases. | |
1200 | * setjmp/setjmp.h: Include <bits/setjmp2.h> if _FORTIFY_SOURCE is | |
1201 | defined. | |
1202 | * sysdeps/i386/____longjmp_chk.S: New file. | |
1203 | * sysdeps/x86_64/____longjmp_chk.S: New file. | |
1204 | * sysdeps/i386/__longjmp.S: If CHECK_ESP is defined, use it. | |
1205 | * sysdeps/x86_64/__longjmp.S: Likewise. | |
1206 | ||
dc50b613 UD |
1207 | * version.h: Bump for 2.11 development. |
1208 | ||
774f5a30 UD |
1209 | * elf/check-execstack.c: New file. |
1210 | * elf/Makefile: Add rules to build and run check-execstack. | |
1211 | ||
deb84c43 UD |
1212 | 2009-05-10 Ulrich Drepper <drepper@redhat.com> |
1213 | ||
1214 | * version.h (VERSION): Bump to 2.10.1. | |
1215 | ||
1216 | * nss/getXXbyYY_r.c: If NO_COMPAT_NEEDED is defined don't define any | |
1217 | compatibility functions. | |
1218 | * nss/getXXent_r.c: Likewise. | |
1219 | * gshadow/getsgent_r.c: Define NO_COMPAT_NEEDED. | |
1220 | * gshadow/getsgnam_r.c: Likewise. | |
1221 | * gshadow/Version: Remove duplicate entries. | |
1222 | ||
1223 | * sysdeps/x86_64/cacheinfo.c (intel_02_cache_info): Add missing entries | |
1224 | for recent processor. | |
1225 | * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_cache_info): | |
1226 | Likewise. | |
1227 | ||
deb318c2 UD |
1228 | 2009-05-09 Ulrich Drepper <drepper@redhat.com> |
1229 | ||
1230 | * version.h (VERSION): Bump for 2.10 release. | |
1231 | * include/features.h (__GLIBC_MINOR__): Bump to 10. | |
1232 | ||
eb29449a UD |
1233 | * Makeconfig: Undo last change. Add asflags-cpu to ASFLAGS in the |
1234 | same place we add ASFLAGS-config. | |
1235 | ||
cf4f16cc UD |
1236 | 2009-05-05 Aurelien Jarno <aurelien@aurel32.net> |
1237 | ||
1238 | [BZ #10128] | |
1239 | * resolv/res_query.c (__libc_res_nquery): If one query returns NOTIMP | |
1240 | or FORMERR and the other NOERROR, don't raise an error. | |
1241 | ||
23b6b466 UD |
1242 | 2009-05-06 Ryan S. Arnold <rsa@us.ibm.com> |
1243 | ||
1244 | [BZ #10118] | |
1245 | * Makeconfig (+asflags): New variable based upon ASFLAG or | |
1246 | asflags-cpu. | |
1247 | (ASFLAGS): Add override to set ASFLAGS to +asflags. | |
1248 | * config.make.in (asflags-cpu): Add variable based upon | |
1249 | @libc_cv_cc_submachine@ to propagate -mcpu=CPU from --with-cpu=CPU to | |
1250 | the assembler. | |
1251 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/setcontext.S: | |
1252 | Remove unneeded file now that the assembler emits _ARCH_PWR6 and | |
1253 | recognizes power6 instruction set due to passing -mcpu=power6 from | |
1254 | --with-cpu=power6 when compiling .S files. | |
1255 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/swapcontext.S: | |
1256 | Likewise. | |
1257 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/setcontext.S: | |
1258 | Likewise. | |
1259 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/swapcontext.S: | |
1260 | Likewise. | |
1261 | ||
15417de3 UD |
1262 | 2009-05-09 Jakub Jelinek <jakub@redhat.com> |
1263 | ||
1264 | * string/stratcliff.c (do_test): Test for zero length | |
1265 | STRNLEN, MEMCHR, STRNCPY, STPNCPY, MEMCPY, MEMPCPY and memccpy | |
1266 | at the end of the page. | |
1267 | ||
b5f7c4ca UD |
1268 | 2009-05-08 Ulrich Drepper <drepper@redhat.com> |
1269 | ||
4300afc1 UD |
1270 | * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_AT_RANDOM. |
1271 | ||
2221e33e UD |
1272 | * sysdeps/x86_64/memchr.S: Handle invalid buffer pointers when |
1273 | count is zero. | |
1274 | ||
b5f7c4ca UD |
1275 | * po/da.po: Update from translation team. |
1276 | ||
1765abb3 UD |
1277 | 2009-05-05 Jakub Jelinek <jakub@redhat.com> |
1278 | ||
1279 | * io/sys/stat.h (fstatat64): Guard prototype with __USE_LARGEFILE64, | |
1280 | guard __extern_inline wrapper with __USE_ATFILE instead of __USE_GNU. | |
2221e33e | 1281 | |
b5f7c4ca UD |
1282 | 2009-05-05 Ulrich Drepper <drepper@redhat.com> |
1283 | ||
1284 | * sysdeps/unix/sysv/linux/sys/personality.h: Add ADDR_COMPAT_LAYOUT | |
1285 | and READ_IMPLIES_EXEC. | |
1286 | ||
1287 | 2009-05-04 Ulrich Drepper <drepper@redhat.com> | |
1288 | ||
1289 | * po/da.po: Update from translation team. | |
1290 | ||
667712b8 JJ |
1291 | 2009-04-29 Jakub Jelinek <jakub@redhat.com> |
1292 | ||
1293 | * sysdeps/unix/sysv/linux/ifaddrs.c: Revert unintended 2008-08-12 | |
1294 | comment change. | |
1295 | ||
6284c9f6 UD |
1296 | 2009-04-27 Jakub Jelinek <jakub@redhat.com> |
1297 | ||
1298 | * locale/programs/locarchive.c (create_archive): Add MAP_PRIVATE | |
1299 | to MAP_ANON in PROT_NONE mmap64 call. | |
1300 | (open_archive): Likewise. | |
1301 | (file_data_available_p): Use mmap64 instead of mremap. | |
1302 | (enlarge_archive): Likewise. Update head if ah->addr changed. | |
1303 | Attempt to reserve address space after mmap64 region. | |
1304 | ||
4ec77f72 UD |
1305 | 2009-04-26 Ulrich Drepper <drepper@redhat.com> |
1306 | ||
f0e3c47f UD |
1307 | * sysdeps/ieee754/dbl-64/s_expm1.c: Set errno for overflow. |
1308 | * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise. | |
1309 | * sysdeps/x86_64/fpu/s_expm1l.S: Likewise. | |
1310 | ||
49768bb9 UD |
1311 | * sysdeps/ieee754/k_standard.c (__kernel_standard): Pole errors in |
1312 | atanh should set ERANGE. | |
1313 | ||
e49dc847 UD |
1314 | [BZ #10087] |
1315 | * elf/dl-runtime.c (_dl_fixup): Use DL_FIXUP_VALUE_ADDR to access | |
1316 | result of lookup to make call to implement STT_GNU_IFUNC. | |
1317 | (_dl_profile_fixup): Likewise. | |
1318 | Patch by H.J. Lu <hjl.tools@gmail.com>. | |
1319 | ||
1ac03a1e UD |
1320 | * nscd/connections.c (send_ro_fd): Define temporary variable to avoid |
1321 | warning. | |
1322 | ||
6cc8844f UD |
1323 | * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Remove inline |
1324 | from definition. | |
1325 | ||
1326 | * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Don't define | |
1327 | label if it is not used. | |
1328 | ||
1329 | * elf/dl-profile.c (_dl_start_profile): Define real-type variant | |
1330 | of gmon_hist_hdr and gmon_hdr structures and use them. | |
1ac03a1e | 1331 | * elf/sprof.c: Likewise. |
6cc8844f UD |
1332 | |
1333 | * elf/dl-load.c (open_verify): Add temporary variable to avoid | |
1334 | warning. | |
1335 | ||
1336 | * nscd/nscd_helper.c (get_mapping): Avoid casts to avoid warnings. | |
1337 | ||
1338 | * sunrpc/clnt_raw.c (clntraw_private_s): Use union in definition | |
1339 | to avoid cast. | |
1340 | ||
1341 | * inet/rexec.c (rexec_af): Make sa2 a union to avoid warnings. | |
1342 | * inet/rcmd.c (rcmd_af): Make from a union of the various needed types | |
1343 | to avoid warnings. | |
1344 | (iruserok_af): Use ss_family instead of casts. | |
1345 | ||
1346 | * gmon/gmon.c (write_hist): Define real-type variant of | |
1347 | gmon_hist_hdr structure and use it. | |
1348 | (write_gmon): Likewise for gmon_hdr. | |
1349 | ||
1350 | * sysdeps/unix/sysv/linux/readv.c: Avoid declaration of replacement | |
1351 | function if we are not going to define it. | |
1352 | * sysdeps/unix/sysv/linux/writev.c: Likewise. | |
1353 | ||
218555e9 | 1354 | * inet/inet6_option.c (option_alloc): Add temporary variable to |
6cc8844f UD |
1355 | avoid warning. |
1356 | ||
1357 | * libio/strfile.h (struct _IO_streambuf): Use correct type and | |
1358 | name of VTable element. | |
1359 | * libio/iovsprintf.c: Avoid casts to avoid warnings. | |
1360 | * libio/iovsscanf.c: Likewise. | |
1361 | * libio/vasprintf.c: Likewise. | |
1362 | * libio/vsnprintf.c: Likewise. | |
1363 | * stdio-common/isoc99_vsscanf.c: Likewise. | |
1364 | * stdlib/strfmon_l.c: Likewise. | |
1365 | * debug/vasprintf_chk.c: Likewise. | |
1366 | * debug/vsnprintf_chk.c: Likewise. | |
1367 | * debug/vsprintf_chk.c: Likewise. | |
1368 | ||
4ec77f72 UD |
1369 | * nss/nsswitch.c (__nss_lookup_function): En/Decrypt cached |
1370 | function pointers. | |
1371 | ||
82a1a4da UD |
1372 | 2009-04-26 Jakub Jelinek <jakub@redhat.com> |
1373 | ||
1374 | * sysdeps/ieee754/dbl-64/s_tan.c (tan): Fix -Wsequence-point warnings. | |
1375 | ||
db6edfb3 UD |
1376 | 2009-04-25 Ulrich Drepper <drepper@redhat.com> |
1377 | ||
27be9b92 UD |
1378 | * posix/bits/posix1_lim.h: Cleanup namespace a bit. |
1379 | ||
337c2708 UD |
1380 | * sysdeps/i386/fpu/s_tan.S: Set errno for ±Inf. |
1381 | * sysdeps/i386/fpu/s_tanf.S: Likewise. | |
1382 | * sysdeps/i386/fpu/s_tanl.S: Likewise. | |
1383 | * sysdeps/ieee754/dbl-64/s_tan.c: Likewise. | |
1384 | * sysdeps/ieee754/flt-32/s_tanf.c: Likewise. | |
1385 | * sysdeps/x86_64/fpu/s_tanl.S: Likewise. | |
1386 | * math/libm-test.inc: Add tests for errno after tan calls with | |
1387 | ±Inf. | |
1388 | ||
002a604f UD |
1389 | * sysdeps/ieee754/k_standard.c (__kernel_standard): Use correct |
1390 | errno value vor pow(+-0,neg). | |
1391 | * math/libm-test.inc (pow_test): Add tests for errno value for | |
1392 | pole errors. | |
1393 | ||
7095366d UD |
1394 | * math/w_fmod.c: Also handle x=±Inf as error. |
1395 | * math/w_fmodf.c: Likewise. | |
1396 | * math/w_fmodl.c: Likewise. | |
1397 | * math/libm-test.inc (fmod_test): Add tests for errno after calls for | |
1398 | x=±Inf or y=0. | |
1399 | ||
0c59a196 UD |
1400 | * sysdeps/i386/fpu/s_cos.S: Set errno for ±Inf. |
1401 | * sysdeps/i386/fpu/s_cosf.S: Likewise. | |
1402 | * sysdeps/i386/fpu/s_cosl.S: Likewise. | |
1403 | * sysdeps/i386/fpu/s_sin.S: Likewise. | |
1404 | * sysdeps/i386/fpu/s_sinf.S: Likewise. | |
1405 | * sysdeps/i386/fpu/s_sinl.S: Likewise. | |
1406 | * sysdeps/ieee754/dbl-64/s_sin.c: Likewise. | |
1407 | * sysdeps/ieee754/flt-32/s_cosf.c: Likewise. | |
1408 | * sysdeps/ieee754/flt-32/s_sinf.c: Likewise. | |
1409 | * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise. | |
1410 | * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise. | |
1411 | * sysdeps/x86_64/fpu/s_cosl.S: Likewise. | |
1412 | * sysdeps/x86_64/fpu/s_sinl.S: Likewise. | |
1413 | * math/libm-test.inc: Add tests for errno after sin/cos calls with | |
1414 | ±Inf. | |
1415 | ||
4bbf8999 UD |
1416 | * stdlib/strtod_l.c (round_and_return): We have to set errno to |
1417 | ERANGE for underflows. | |
1418 | * stdlib/tst-strtod.c (tests): Two tests should set errno to ERANGE. | |
1419 | ||
af9f1c48 UD |
1420 | * stdio-common/stdio_lim.h.in (L_cuserid): Not part of POSIX since |
1421 | the 2001 revision. | |
1422 | ||
13327042 UD |
1423 | * libio/tst-widetext.input: Remove surrogates. |
1424 | ||
c163ee23 UD |
1425 | * include/features.h: _POSIX_C_SOURCE >= 200112L implies C99. |
1426 | ||
e971e76d | 1427 | * sysdeps/ieee754/k_standard.c (__kernel_standard): Pole errors |
81068e35 | 1428 | for lgamma should set errno to ERANGE, not EDOM. |
e971e76d UD |
1429 | * math/libm-test.inc (lgamma_test): Check errno for pole errors. |
1430 | ||
c2d5bd5b UD |
1431 | 2009-04-24 Ulrich Drepper <drepper@redhat.com> |
1432 | ||
9c32c895 UD |
1433 | [BZ #10093] |
1434 | * iconv/gconv_simple.c (BODY for UTF-8 to INTERNAL): Don't accept | |
1435 | UTF-16 surrogates. | |
1436 | ||
c9edc889 UD |
1437 | * locale/programs/locarchive.c (enlarge_archive): Conserve address |
1438 | space when temporarily mapping the whole content of the old file. | |
1439 | ||
c2d5bd5b UD |
1440 | [BZ #10100] |
1441 | * misc/hsearch_r.c (hsearch_r): Add back ensurance that hval is | |
1442 | not zero. | |
1443 | ||
f397be12 UD |
1444 | 2009-04-24 Jakub Jelinek <jakub@redhat.com> |
1445 | ||
1446 | * iconvdata/sjis.c (BODY): Don't advance inptr before | |
1447 | STANDARD_FROM_LOOP_ERR_HANDLER (2) for 2 byte invalid input. | |
1448 | Use STANDARD_FROM_LOOP_ERR_HANDLER with 2 instead of 1 for | |
1449 | two byte chars. | |
1450 | ||
705341a9 UD |
1451 | 2009-04-24 Ulrich Drepper <drepper@redhat.com> |
1452 | ||
1453 | * locale/locarchive.h (struct locarhandle): Rename len field to | |
1454 | mmaped and add new reserved field. | |
1455 | * locale/programs/locarchive.c (RESERVE_MMAP_SIZE): Define. | |
1456 | (create_archive): Reserve address space and then map file into it. | |
1457 | (open_archive): Likewise. | |
1458 | (file_data_available_p): New function. | |
1459 | (compare_from_file): New function. | |
1460 | (close_archive): Adjust to member name changes. | |
1461 | (add_locale): Before comparing locale data, check it is mapped. | |
1462 | Otherwise fall back to reading from the file. | |
1463 | ||
57d2da1c UD |
1464 | 2009-04-23 H.J. Lu <hongjiu.lu@intel.com> |
1465 | ||
1466 | * stdio-common/psiginfo.c: Include <errno.h>. | |
1467 | ||
3d855f75 UD |
1468 | 2009-04-23 Ulrich Drepper <drepper@redhat.com> |
1469 | ||
fe12c798 UD |
1470 | [BZ #9920] |
1471 | * stdlib/random_r.c (__srandom_r): Change type of word to int32_t | |
1472 | to get consistency between 32 and 64 bit architectures. | |
1473 | ||
3d855f75 UD |
1474 | [BZ #10052] |
1475 | * sysdeps/unix/make-syscalls.sh: Add rule to create target | |
1476 | directory for dummy syscall rules. | |
1477 | Patch by Chris Steinbroner <hesh@pobox.com>. | |
1478 | ||
95bf537f UD |
1479 | 2009-04-23 Aurelien Jarno <aurelien@aurel32.net> |
1480 | ||
1481 | [BZ #10092] | |
1482 | * sysdeps/unix/sysv/linux/sys/mount.h: Define MNT_DETACH and | |
1483 | MNT_EXPIRE. | |
1484 | ||
7f8a28ef UD |
1485 | 2009-04-23 Ulrich Drepper <drepper@redhat.com> |
1486 | ||
1487 | * sysdeps/unix/sysv/linux/preadv.c: The kernel API changed. Adjust. | |
1488 | * sysdeps/unix/sysv/linux/pwritev.c: Likewise. | |
1489 | ||
1490 | 2009-04-23 Jakub Jelinek <jakub@redhat.com> | |
1491 | ||
1492 | * sysdeps/posix/pwritev.c (PWRITEV): Fix up comment. Copy | |
1493 | data from vector to temporary buffer and call PWRITEV after it | |
1494 | instead of vice versa. | |
1495 | * sysdeps/posix/preadv.c: Fix up comment. | |
1496 | * misc/preadv.c: Likewise. | |
1497 | * misc/preadv64.c: Likewise. | |
1498 | * misc/pwritev.c: Likewise. | |
1499 | * misc/pwritev64.c: Likewise. | |
1500 | * misc/sys/uio.h (preadv, pwritev, preadv64, pwritev64): Likewise. | |
1501 | ||
829fea46 UD |
1502 | 2009-04-23 Ulrich Drepper <drepper@redhat.com> |
1503 | ||
c7e74e59 UD |
1504 | * shadow/sgetspent_r.c (__sgetspent_r): Recognize too small buffers. |
1505 | ||
3b055b47 UD |
1506 | * shadow/Makefile (tests): Add tst-shadow. |
1507 | * shadow/tst-shadow.c: New file. | |
1508 | ||
829fea46 UD |
1509 | [BZ #9955] |
1510 | * gshadow/Makefile: New file. | |
1511 | * gshadow/Versions: New file. | |
1512 | * gshadow/fgetsgent.c: New file. | |
1513 | * gshadow/fgetsgent_r.c: New file. | |
1514 | * gshadow/getsgent.c: New file. | |
1515 | * gshadow/getsgent_r.c: New file. | |
1516 | * gshadow/getsgnam.c: New file. | |
1517 | * gshadow/getsgnam_r.c: New file. | |
1518 | * gshadow/gshadow.h: New file. | |
1519 | * gshadow/putsgent.c: New file. | |
1520 | * gshadow/sgetsgent.c: New file. | |
1521 | * gshadow/sgetsgent_r.c: New file. | |
1522 | * gshadow/tst-gshadow.c: New file. | |
1523 | * include/gshadow.h: New file. | |
1524 | * Makeconfig (all-subdirs): Add gshadow. | |
1525 | * Makefile (installed-headers): Add gshadow/gshadow.h. | |
1526 | * nss/Makefile (databases): Add sgrp. | |
1527 | * nss/Versions: Add gshadow functions as private exports. | |
1528 | * nss/nsswitch.conf: Add gshadow entry. | |
1529 | * nss/sgrp-lookup.c: New file. | |
1530 | * nss/nss_files/files-parse.c: Add STRING_LIST macro. Rewrite | |
1531 | parse_list to handle STRING_LIST and TRAILING_LIST_PARSER. | |
1532 | * nss/nss_files/files-sgrp.c: New file. | |
1533 | * sysdeps/generic/paths.h: Add _PATH_GSHADOW. | |
1534 | * sysdeps/unix/sysv/linux/paths.h: Likewise. | |
1535 | ||
debafa10 UD |
1536 | 2009-04-22 Ulrich Drepper <drepper@redhat.com> |
1537 | ||
1538 | * stdio-common/printf.h: Add missing const to register_printf_modifier. | |
1539 | * stdio-common/reg-modifier.c: Likewise. | |
1540 | ||
1541 | 2009-04-22 Andrew Stubbs <ams@codesourcery.com> | |
1542 | ||
1543 | * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Adjust JB_SIZE when there | |
1544 | is no FPU. | |
1545 | ||
0e04c0b5 UD |
1546 | 2009-04-20 Ulrich Drepper <drepper@redhat.com> |
1547 | ||
d43f10e7 | 1548 | [BZ #10086] |
1c376f5b UD |
1549 | * sysdeps/unix/sysv/linux/sys/timex.h: Add definitions from kernel |
1550 | headers up to 2.6.30. | |
1551 | ||
0e04c0b5 UD |
1552 | * po/ca.po: Update from translation team. |
1553 | ||
a245eafd UD |
1554 | 2009-04-19 Ulrich Drepper <drepper@redhat.com> |
1555 | ||
1556 | [BZ #10069] | |
1557 | * elf/dl-open.c (dl_open_worker): We cannot guarantee that we can load | |
1558 | an object that uses static TLS if the TLS modid is higher than the | |
1559 | reserve we always allocate. At least for multi-threaded code. | |
1560 | ||
0588a9cb UD |
1561 | 2009-04-18 Ulrich Drepper <drepper@redhat.com> |
1562 | ||
153aa31b UD |
1563 | * stdlib/strfmon_l.c (__vstrfmon_l): Don't wrap when computing width. |
1564 | Numerically stable check for valid width. | |
1565 | ||
59a7162b UD |
1566 | * locale/programs/locarchive.c (open_archive): Map the entire file |
1567 | and not just the administrative data. | |
1568 | (add_locale): When we find a hash sum match compare the content | |
1569 | to be sure. | |
1570 | ||
0588a9cb UD |
1571 | * malloc/malloc.c (malloc_info): Output address space information. |
1572 | ||
17a5b24e UD |
1573 | 2009-04-17 Ulrich Drepper <drepper@redhat.com> |
1574 | ||
da2d2fb6 UD |
1575 | * malloc/malloc.c (malloc_info): Also output system memory information. |
1576 | ||
11cad88c UD |
1577 | * sysdeps/unix/sysv/linux/kernel-features.h: All supported |
1578 | architectures have preadv/pwritev in 2.6.30. | |
1579 | ||
571ac26f UD |
1580 | * sysdeps/posix/preadv.c: Reading of zero bytes is no error. |
1581 | * sysdeps/posix/readv.c: Likewise. | |
1582 | Reported by Markus Armbruster <armbru@redhat.com>. | |
1583 | ||
17a5b24e UD |
1584 | * malloc/hooks.c (top_check): Force hook value into register. |
1585 | ||
57ec6442 RM |
1586 | 2009-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org> |
1587 | ||
1588 | * elf/rtld.c (dl_main): Really call _dl_sysdep_start_cleanup after all | |
1589 | calls to _dl_relocate_object. | |
1590 | ||
df77455c UD |
1591 | 2009-04-16 Ulrich Drepper <drepper@redhat.com> |
1592 | ||
1593 | [BZ #9957] | |
1594 | * malloc/malloc.c (force_reg): Define. | |
1595 | (sYSMALLOc): Load hook variable into variable | |
1596 | before test and force into register. | |
1597 | (sYSTRIm): Likewise. | |
1598 | (public_mALLOc): Force hook value into register. | |
1599 | (public_fREe): Likewise. | |
1600 | (public_rEALLOc): Likewise. | |
1601 | (public_mEMALIGn): Likewise. | |
1602 | (public_vALLOc): Likewise. | |
1603 | (public_pVALLOc): Likewise. | |
1604 | (public_cALLOc): Likewise. | |
1605 | (__posix_memalign): Likewise. | |
1606 | * malloc/arena.c (ptmalloc_init): Load hook variable into variable | |
1607 | before test and force into register. | |
1608 | * malloc/hooks.c (top_check): Likewise. | |
3b055b47 | 1609 | (public_sET_STATe): Pretty printing. |
df77455c UD |
1610 | |
1611 | * resolv/res_send.c (send_dg): Don't just ignore the result we got | |
1612 | in case we only receive one reply in single-request mode. | |
1613 | ||
733ca93a JJ |
1614 | 2009-04-16 Jakub Jelinek <jakub@redhat.com> |
1615 | ||
1616 | * elf/dl-open.c (_dl_open): Bump GL(dl_nns) to 1 if no libraries | |
1617 | are dlopened in statically linked program even for __LM_ID_CALLER. | |
1618 | ||
d0e81f10 UD |
1619 | 2009-04-16 Ulrich Drepper <drepper@redhat.com> |
1620 | ||
1621 | * resolv/res_send.c (send_dg): Don't switch into single-request | |
1622 | mode if we already are in it. | |
1623 | ||
6a3d03ff UD |
1624 | 2009-04-15 Ulrich Drepper <drepper@redhat.com> |
1625 | ||
1626 | * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Make sure there | |
1627 | are always at least 4 bytes in the returned line. | |
1628 | ||
1629 | 2009-04-15 Jakub Jelinek <jakub@redhat.com> | |
1630 | ||
1631 | * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Check | |
1632 | __libc_use_alloca (8192), if the stack is too small use 512 bytes | |
1633 | instead of 8K. Stop searching in /proc/stat after hitting first | |
1634 | line not starting with cpu. | |
1635 | (next_line): Truncate too long | |
1636 | lines at buffer size * 3/4 instead of pretending there were line | |
1637 | breaks inside of large lines. | |
1638 | ||
ae650a41 UD |
1639 | 2009-04-14 Ulrich Drepper <drepper@redhat.com> |
1640 | ||
1641 | * sysdeps/x86_64/mp_clz_tab.c: New file. | |
1642 | ||
353f2107 UD |
1643 | 2009-03-17 Ryan S. Arnold <rsa@us.ibm.com> |
1644 | Ulrich Drepper <drepper@redhat.com> | |
1645 | ||
1646 | * sysdeps/unix/sysv/linux/fallocate.c: Handle old kernel headers. | |
1647 | * sysdeps/unix/sysv/linux/fallocate64.c: Likewise. | |
e775ec11 | 1648 | * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise. |
353f2107 | 1649 | |
fc0c5705 UD |
1650 | 2009-03-25 Andrew Stubbs <ams@codesourcery.com> |
1651 | ||
1652 | * sysdeps/sh/libc-tls.c: New file. | |
1653 | ||
1654 | * sysdeps/sh/bits/setjmp.h (__jmp_buf): Give name to structure type. | |
1655 | ||
237a8867 RM |
1656 | 2009-04-14 Roland McGrath <roland@redhat.com> |
1657 | ||
1658 | * elf/elf.h: Add various missing ARM constants, to match binutils. | |
1659 | ||
893a5fd4 UD |
1660 | 2009-04-14 Ulrich Drepper <drepper@redhat.com> |
1661 | ||
1662 | Optimizations from GMP. | |
1663 | * sysdeps/x86_64/add_n.S: New file. | |
1664 | * sysdeps/x86_64/addmul_1.S: New file. | |
1665 | * sysdeps/x86_64/lshift.S: New file. | |
1666 | * sysdeps/x86_64/mul_1.S: New file. | |
1667 | * sysdeps/x86_64/rshift.S: New file. | |
1668 | * sysdeps/x86_64/sub_n.S: New file. | |
1669 | * sysdeps/x86_64/submul_1.S: New file. | |
1670 | ||
e42e88ab JJ |
1671 | 2009-04-14 Jakub Jelinek <jakub@redhat.com> |
1672 | ||
1673 | * sysdeps/powerpc/powerpc32/elf/start.S: Ensure .data is non-empty. | |
1674 | * sysdeps/powerpc/powerpc64/elf/start.S: Likewise. | |
1675 | * sysdeps/sparc/sparc32/elf/start.S: Likewise. | |
1676 | * sysdeps/sparc/sparc64/elf/start.S: Likewise. | |
1677 | ||
b8a3bd82 UD |
1678 | 2009-04-14 Ulrich Drepper <drepper@redhat.com> |
1679 | ||
1680 | * sysdeps/unix/sysv/linux/kernel-features.h: SH also has | |
1681 | preadv/pwritev. | |
1682 | ||
84aa52d7 UD |
1683 | 2009-04-13 Ulrich Drepper <drepper@redhat.com> |
1684 | ||
1685 | * sysdeps/x86-64/strrchr.S: New file. | |
1686 | ||
9d26efa9 UD |
1687 | 2009-04-10 Ulrich Drepper <drepper@redhat.com> |
1688 | ||
1689 | * stdio-common/printf.h (struct printf_info): Add user element. | |
1690 | New types printf_arginfo_size_function, printf_va_arg_function. | |
1691 | Declare register_printf_specifier, register_printf_modifier, | |
1692 | register_printf_type. | |
1693 | * stdio-common/printf-parse.h (struct printf_spec): Add size element. | |
1694 | (union printf_arg): Add pa_user element. | |
1695 | Adjust __printf_arginfo_table type. | |
1696 | Add __printf_va_arg_table, __printf_modifier_table, | |
1697 | __handle_registered_modifier_mb, and __handle_registered_modifier_wc | |
1698 | declarations. | |
1699 | * stdio-common/printf-parsemb.c: Recognize registered modifiers. | |
1700 | If registered arginfo call failed try normal specifier. | |
1701 | * stdio-common/printf-prs.c: Pass additional parameter to arginfo | |
1702 | function. | |
1703 | * stdio-common/Makefile (routines): Add reg-modifier and reg-type. | |
1704 | * stdio-common/Versions: Export register_printf_modifier, | |
1705 | register_printf_type, and register_printf_specifier for GLIBC_2.10. | |
1706 | * stdio-common/reg-modifier.c: New file. | |
1707 | * stdio-common/reg-type.c: New file. | |
1708 | * stdio-common/reg-printf.c (__register_printf_specifier): New | |
1709 | function. Mostly the old __register_printf_function function but | |
1710 | uses locking and type of third parameter changed. | |
1711 | (__register_printf_function): Implement using | |
1712 | __register_printf_specifier. | |
1713 | * stdio-common/vfprintf.c (vfprintf): Collect argument sizes in | |
1714 | calls to arginfo functions. Allocate enough memory for user-defined | |
1715 | types. Call new va_arg functions to get user-defined types. | |
1716 | Try installed handlers even for existing format specifiers first. | |
1717 | ||
28b2771a UD |
1718 | 2009-04-09 Ulrich Drepper <drepper@redhat.com> |
1719 | ||
f140a0d5 UD |
1720 | * sysdeps/x86_64/rawmemchr.S: New file. |
1721 | ||
e9b4d069 | 1722 | * stdio-common/vfprintf.c (vfprintf): Slightly more compact code. |
1d498daa | 1723 | Simplified code and possible copy problem fixed. |
e9b4d069 | 1724 | |
f9fe75e9 | 1725 | * sysdeps/unix/sysv/linux/preadv.c: Avoid prototype for static |
24030b0f | 1726 | function if it is not defined. Add some necessary casts. |
f9fe75e9 UD |
1727 | * sysdeps/unix/sysv/linux/pwritev.c: Likewise. |
1728 | ||
28b2771a UD |
1729 | * sysdeps/unix/sysv/linux/kernel-features.h: SPARC and IA64 also |
1730 | have preadv/pwritev in 2.6.30. | |
1731 | ||
4c8b8cc3 UD |
1732 | 2009-04-08 Ulrich Drepper <drepper@redhat.com> |
1733 | ||
bb066545 UD |
1734 | * malloc/malloc.c (malloc_info): New function. |
1735 | * malloc/malloc.h: Declare it. | |
1736 | * malloc/Versions: Export malloc_info for GLIBC_2.10. | |
1737 | ||
0f9c8b48 UD |
1738 | * sysdeps/unix/sysv/linux/preadv64.c (PREAD): Use __libc_pread64 |
1739 | to avoid PLT slot. | |
1740 | ||
4c8b8cc3 UD |
1741 | * malloc/malloc.c (_int_realloc): Add parameter with old block |
1742 | size. Remove duplicated test. Don't handle mmap'ed blocks here. | |
1743 | Adjust all callers. | |
1744 | * malloc/hooks.c (realloc_check): Adjust _int_realloc call. | |
1745 | ||
ddba0f17 UD |
1746 | 2009-04-07 Ulrich Drepper <drepper@redhat.com> |
1747 | ||
cd57745b UD |
1748 | * sysdeps/x86_64/strchrnul.S: New file. |
1749 | ||
3db6c9a8 | 1750 | * crypt/Makefile (LDLIBS-crypt.so): Use this variable instead of |
cd57745b | 1751 | depending libcrypt on -lfreebl3. |
3db6c9a8 | 1752 | |
1a2ec17b UD |
1753 | * sysdeps/unix/sysv/linux/kernel-features.h: Power also has |
1754 | preadv/pwritev in 2.6.30. | |
1755 | ||
bb066545 | 1756 | * resolv/nss_dns/dns-host.c (getanswer_r): Use strcasecmp |
c6807d38 | 1757 | instead of __strcasecmp. |
c6807d38 | 1758 | |
ddba0f17 | 1759 | * string/stratcliff.c (do_test): Add memchr tests.. |
481f9eca | 1760 | * wcsmbs/wcsatcliff.c (MEMCHR): Define. |
ddba0f17 UD |
1761 | * sysdeps/x86_64/memchr.S: Fix handling of end of buffer after |
1762 | first read quad word. | |
1763 | ||
ae061910 UD |
1764 | 2009-04-06 Ulrich Drepper <drepper@redhat.com> |
1765 | ||
4bcb2658 UD |
1766 | * string/strverscmp.c (__strverscmp): Fix last cleanups. |
1767 | * string/tst-svc.input: Add new test case. | |
1768 | * string/tst-svc.expect: Adjust. | |
1769 | * string/Makefile: Don't ignore tst-svc error. | |
1770 | ||
322e23db UD |
1771 | * sysdeps/x86_64/memchr.S: New file. |
1772 | ||
ae061910 UD |
1773 | * resolv/resolv.h (RES_SNGLKUP): Define. |
1774 | * resolv/res_init.c (res_setoptions): Recognize single-request option. | |
1775 | * resolv/res_send.c (send_dg): If we sent two requests at once and | |
1776 | only get one reply before timeout switch to mode where we send the | |
1777 | second request only after the first answer has been received. | |
1778 | ||
a152f366 UD |
1779 | 2009-04-05 Ulrich Drepper <drepper@redhat.com> |
1780 | ||
1781 | * sysdeps/x86_64/strlen.S: Optimize by using SSE2 instructions. | |
1df6f9d8 | 1782 | * sysdeps/x86_64/strchr.S: Likewise. |
a152f366 | 1783 | |
2dbe6afe UD |
1784 | 2009-04-03 Ulrich Drepper <drepper@redhat.com> |
1785 | ||
c0bac8b0 UD |
1786 | * configure.in: We need to test for the compiler earlier. |
1787 | ||
e109c612 UD |
1788 | * misc/Makefile (routines): Add preadv, preadv64, pwritev, pwritev64. |
1789 | * misc/Versions: Export preadv, preadv64, pwritev, pwritev64 for | |
1790 | GLIBC_2.10. | |
1791 | * misc/sys/uio.h: Declare preadv, preadv64, pwritev, pwritev64. | |
1792 | * sysdeps/unix/sysv/linux/kernel-features.h: Add entries for preadv | |
1793 | and pwritev. | |
1794 | * misc/preadv.c: New file. | |
1795 | * misc/preadv64.c: New file. | |
1796 | * misc/pwritev.c: New file. | |
1797 | * misc/pwritev64.c: New file. | |
1798 | * sysdeps/posx/preadv.c: New file. | |
1799 | * sysdeps/posx/preadv64.c: New file. | |
1800 | * sysdeps/posx/pwritev.c: New file. | |
1801 | * sysdeps/posx/pwritev64.c: New file. | |
1802 | * sysdeps/unix/sysv/linux/preadv.c: New file. | |
1803 | * sysdeps/unix/sysv/linux/preadv64.c: New file. | |
1804 | * sysdeps/unix/sysv/linux/pwritev.c: New file. | |
1805 | * sysdeps/unix/sysv/linux/pwritev64.c: New file. | |
1806 | * sysdeps/unix/sysv/linux/wordsize-64/preadv64.c: New file. | |
1807 | * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.c: New file. | |
1808 | ||
7166c77a UD |
1809 | * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Fix calling of |
1810 | compatibility code. | |
1811 | * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise. | |
1812 | ||
2dbe6afe UD |
1813 | * sysdeps/unix/sysv/linux/kernel-features.h: Define |
1814 | __ASSUME_COMPLETE_READV_WRITEV. | |
1815 | * sysdeps/unix/sysv/linux/readv.c: No need for userlevel fallback | |
1816 | with modern kernels. | |
1817 | * sysdeps/unix/sysv/linux/writev.c: Likewise. | |
1818 | ||
1819 | * sysdeps/posix/readv.c: Since read is a cancellation point we have | |
1820 | to free a possible malloced buffer in case of cancellation. | |
1821 | * sysdeps/posix/writev.c: Likewise for write. | |
1822 | ||
ff886b82 UD |
1823 | 2009-04-02 Ulrich Drepper <drepper@redhat.com> |
1824 | ||
a065c007 UD |
1825 | * sysdeps/unix/sysv/linux/bits/socket.h: Add missing protocol numbers. |
1826 | ||
ff886b82 UD |
1827 | * configure.in: Recognize --enable-nss-crypt. |
1828 | * config.make.in: Add nss-crypt entry. | |
1829 | * crypt/Makefile: If nss-crypt==yes, don't build md5.c, sha256.c, | |
1830 | sha512.c. Don't run md5test, sha256test, sha512test. Pass -DUSE_NSS | |
1831 | and include path for NSS directory to compiler for md5-crypt, | |
1832 | sha256-crypt, sha512-crypt. Link libcrypt.so with -lfreebl3. | |
1833 | * crypt/md5-crypt.c: If USE_NSS is defined, don't use local hash | |
1834 | function implementation, use NSS. Introduce wrappers around the | |
1835 | hash function calls. Little code size optimization. | |
1836 | * crypt/sha256-crypt.c: Likewise. | |
1837 | * crypt/sha512-crypt.c: Likewise. | |
1838 | * scripts/check-local-headers.sh: Ignore nss3 directory. | |
1839 | ||
1840 | * configure.in: Rename pic_default to libc_cv_pic_default. | |
1841 | * config.make.in: Likewise. | |
1842 | ||
1800de36 RM |
1843 | 2009-04-01 Roland McGrath <roland@redhat.com> |
1844 | ||
1845 | * elf/elf.h (R_SPARC_GLOB_JMP): New macro. | |
1846 | (R_SPARC_GOTDATA_HIX22, R_SPARC_GOTDATA_LOX10): New macros. | |
1847 | (R_SPARC_GOTDATA_OP_HIX22, R_SPARC_GOTDATA_OP_LOX10): Likewise. | |
1848 | (R_SPARC_GOTDATA_OP, R_SPARC_H34): Likewise. | |
1849 | (R_SPARC_SIZE32, R_SPARC_SIZE64): Likewise. | |
1850 | (R_SPARC_GNU_VTINHERIT, R_SPARC_GNU_VTENTRY, R_SPARC_REV32): Likewise. | |
1851 | (R_SPARC_NUM): Update. | |
1852 | From Dave Miller <davem@davemloft.net>. | |
1853 | ||
7166c77a | 1854 | 2009-04-01 Ulrich Drepper <drepper@redhat.com> |
3ce976cd UD |
1855 | |
1856 | * sysdeps/unix/sysv/linux/sys/eventfd.h (EFD_SEMAPHORE): Define. | |
1857 | ||
20739e54 UD |
1858 | 2009-03-31 Ulrich Drepper <drepper@redhat.com> |
1859 | ||
22c83193 UD |
1860 | * elf/dl-open.c: Keep track of used name spaces and only iterate over |
1861 | those which are used. | |
1862 | * elf/dl-addr.c: Likewise. | |
1863 | * elf/dl-caller.c: Likewise. | |
1864 | * elf/dl-fini.c: Likewise. | |
1865 | * elf/dl-iteratephdr.c: Likewise. | |
1866 | * elf/dl-libc.c: Likewise. | |
1867 | * elf/dl-load.c: Likewise. | |
1868 | * elf/dl-support.c: Likewise. | |
1869 | * elf/dl-sym.c: Likewise. | |
1870 | * elf/rtld.c: Likewise. | |
1871 | * sysdeps/generic/ldsodefs.h: Likewise. | |
1872 | ||
20739e54 UD |
1873 | * elf/dl-load.c: Remove support for systems without MAP_ANON. |
1874 | * elf/dl-minimal.c: Likewise. | |
1875 | * elf/dl-misc.c: Likewise. | |
1876 | * elf/rtld.c: Likewise. | |
1877 | * sysdeps/generic/ldsodefs.h: Likewise. | |
1878 | ||
db486995 UD |
1879 | 2009-03-30 Ulrich Drepper <drepper@redhat.com> |
1880 | ||
cb14424e UD |
1881 | * elf/do-lookup.h (do_lookup_x): Minor optimization and cleanup. |
1882 | Avoid reuse of complex expression. | |
1883 | ||
db486995 UD |
1884 | * po/fr.po: Update from translation team. |
1885 | ||
ae8d7b44 UD |
1886 | 2009-03-16 Ulrich Drepper <drepper@redhat.com> |
1887 | ||
1888 | * include/dirent.h: Yet more changes to match sort function type | |
1889 | change. | |
1890 | * sysdeps/unix/sysv/linux/i386/alphasort64.c: Likewise. | |
1891 | * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise. | |
1892 | * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise. | |
1893 | ||
8efb2f1c UD |
1894 | 2009-03-16 Thomas Schwinge <tschwinge@gnu.org> |
1895 | ||
1896 | * dirent/scandir64.c (scandir64): Adjust declaration to type change. | |
1897 | ||
d9822dbe UD |
1898 | 2009-03-16 Ulrich Drepper <drepper@redhat.com> |
1899 | ||
1900 | * nscd/connections.c (restart): Try to preserve the process name | |
1901 | by reading the /proc/self/exe symlink and using the return name. | |
1902 | Patch by Jeff Bastian <jbastian@redhat.com>. | |
1903 | ||
71a5bd3e UD |
1904 | 2009-03-15 Ulrich Drepper <drepper@redhat.com> |
1905 | ||
2ca285b0 UD |
1906 | [BZ #9733] |
1907 | * elf/dl-load.c (_dl_map_object_from_fd): Only call audit hooks | |
1908 | if we are not loading a new audit library. | |
1909 | * elf/dl-reloc (_dl_relocate_object): Third parameter is now a bitmask. | |
1910 | Only use profiling trampoline for auditing if we are not relocating | |
1911 | an audit library. | |
1912 | * elf/dl-open.c (dl_open_worker): Adjust _dl_relocate_object call. | |
1913 | * elf/rtld.c: Likewise. | |
1914 | * sysdeps/generic/ldsodefs.h: Adjust _dl_relocate_object prototype. | |
1915 | ||
7e342603 UD |
1916 | * elf/rtld.c (dl_main): Extend help message for --audit option. |
1917 | ||
eee6b143 UD |
1918 | [BZ #9759] |
1919 | * dirent/dirent.h: Adjust prototypes of scandir, scandir64, alphasort, | |
1920 | alphasort64, versionsort, and versionsort64 to POSIX 2008. | |
1921 | * dirent/alphasort.c: Adjust implementation to type change. | |
1922 | * dirent/alphasort64.c: Likewise. | |
1923 | * dirent/scandir.c: Likewise. | |
1924 | * dirent/versionsort.c: Likewise. | |
1925 | * dirent/versionsort64.c: Likewise. | |
1926 | * sysdeps/wordsize-64/alphasort.c: Add hack to hide alphasort64 | |
1927 | declaration. | |
1928 | * sysdeps/wordsize-64/versionsort.c: Add hack to hide versionsort64 | |
1929 | declaration. | |
1930 | ||
cd2d01fa UD |
1931 | [BZ #9880] |
1932 | * inet/inet6_rth.c (inet6_rth_reverse): Compute number of segments | |
1933 | correctly. Set segleft member in output as required. | |
1934 | Patch partly by Yang Hongyang <yanghy@cn.fujitsu.com>. | |
1935 | * inet/tst-inet6_rth.c (do_test): Add tests for inet6_rth_reverse. | |
1936 | ||
906dd40d UD |
1937 | [BZ #9881] |
1938 | * inet/inet6_rth.c (inet6_rth_add): Add some error checking. | |
1939 | Patch mostly by Yang Hongyang <yanghy@cn.fujitsu.com>. | |
1940 | * inet/Makefile (tests): Add tst-inet6_rth. | |
1941 | * inet/tst-inet6_rth.c: New file. | |
1942 | ||
71a5bd3e UD |
1943 | [BZ #5807] |
1944 | * string/strlen.c (strlen): Fix omission in the expression to test | |
1945 | for NUL bytes. | |
1946 | ||
878b72c5 UD |
1947 | 2009-03-14 Ulrich Drepper <drepper@redhat.com> |
1948 | ||
fad070ab UD |
1949 | * crypt/sha256test.c (main): Perform 100,000 'a' test in a second way. |
1950 | ||
a42ad61b UD |
1951 | * elf/dl-runtime.c (reloc_offset): Define. |
1952 | (reloc_index): Define. | |
1953 | (_dl_fixup): Rename reloc_offset parameter to reloc_arg. | |
1954 | (_dl_fixup_profile): Likewise. Use reloc_index instead of | |
1955 | computing index from reloc_offset. | |
1956 | (_dl_call_pltexit): Likewise. | |
1957 | * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Just pass | |
1958 | the relocation index to _dl_fixup. | |
1959 | (_dl_runtime_profile): Likewise for _dl_fixup_profile and | |
1960 | _dl_call_pltexit. | |
1961 | * sysdeps/x86_64/dl-runtime.c: New file. | |
1962 | ||
1f7c90a7 UD |
1963 | [BZ #9893] |
1964 | * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix | |
906dd40d | 1965 | alignment of La_x86_64_regs. Store xmm parameters. |
1f7c90a7 UD |
1966 | Patch mostly by Jiri Olsa <olsajiri@gmail.com>. |
1967 | ||
45466462 UD |
1968 | [BZ #9913] |
1969 | * string/strverscmp.c (__strverscmp): Fix case of different digits | |
1970 | in fractional part of string. | |
1971 | Patch by Jingyu Liu <jyliu@fortinet.com>. | |
1972 | * string/Makefile (tests): Add tst-svc2. | |
1973 | * string/tst-svc2.c: New file. | |
1974 | ||
1975 | * string/strverscmp.c (__strverscmp): Optimize size of tables. | |
1976 | ||
878b72c5 UD |
1977 | * locale/iso-639.def: Add Min Nan. |
1978 | ||
f53713a8 UD |
1979 | 2009-03-11 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com> |
1980 | ||
878b72c5 | 1981 | [BZ #9948] |
f53713a8 UD |
1982 | * elf/dl-sysdep.c (_dl_show_auxv): Add support for AT_BASE_PLATFORM. |
1983 | ||
f81ce288 UD |
1984 | 2009-03-14 Ulrich Drepper <drepper@redhat.com> |
1985 | ||
f53713a8 UD |
1986 | * elf/dl-sysdep.c (auxvars): Compress data structure. |
1987 | ||
f81ce288 UD |
1988 | * sysdeps/i386/dl-machine.h (elf_machine_rel): Implement |
1989 | STT_GNU_IFUNC handling. | |
1990 | (elf_machine_rela): Likewise. | |
1991 | ||
425ce2ed UD |
1992 | 2009-03-13 Ulrich Drepper <drepper@redhat.com> |
1993 | ||
1994 | * config.h.in (USE_MULTIARCH): Define. | |
1995 | * configure.in: Handle --enable-multi-arch. | |
1996 | * elf/dl-runtime.c (_dl_fixup): Handle STT_GNU_IFUNC. | |
1997 | (_dl_fixup_profile): Likewise. | |
1998 | * elf/do-lookup.c (dl_lookup_x): Likewise. | |
1999 | * sysdeps/x86_64/dl-machine.h: Handle STT_GNU_IFUNC. | |
2000 | * elf/elf.h (STT_GNU_IFUNC): Define. | |
2001 | * include/libc-symbols.h (libc_ifunc): Define. | |
2002 | * sysdeps/x86_64/cacheinfo.c: If USE_MULTIARCH is defined, use the | |
2003 | framework in init-arch.h to get CPUID values. | |
2004 | * sysdeps/x86_64/multiarch/Makefile: New file. | |
2005 | * sysdeps/x86_64/multiarch/init-arch.c: New file. | |
2006 | * sysdeps/x86_64/multiarch/init-arch.h: New file. | |
2007 | * sysdeps/x86_64/multiarch/sched_cpucount.c: New file. | |
2008 | ||
2009 | * config.make.in (experimental-malloc): Define. | |
2010 | * configure.in: Handle --enable-experimental-malloc. | |
2011 | * malloc/Makefile: Handle experimental-malloc flag. | |
2012 | * malloc/malloc.c: Implement PER_THREAD and ATOMIC_FASTBINS features. | |
2013 | * malloc/arena.c: Likewise. | |
2014 | * malloc/hooks.c: Likewise. | |
2015 | * malloc/malloc.h: Define M_ARENA_TEST and M_ARENA_MAX. | |
2016 | ||
e7f110cd UD |
2017 | 2009-03-11 Ulrich Drepper <drepper@redhat.com> |
2018 | ||
2019 | * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Add branch | |
2020 | prediction. A few size optimizations. | |
2021 | ||
bd82a247 UD |
2022 | 2009-03-10 Ulrich Drepper <drepper@redhat.com> |
2023 | ||
2024 | * time/tzset.c: Optimize a bit for size. | |
2025 | ||
a99e59d7 UD |
2026 | 2009-03-10 Jakub Jelinek <jakub@redhat.com> |
2027 | ||
2028 | * include/stdio.h (fmemopen): Add libc_hidden_proto. | |
2029 | * libio/fmemopen.c (fmemopen): Add libc_hidden_def. | |
2030 | ||
2031 | * elf/sprof.c: Avoid warning about multi-line comment. | |
2032 | ||
686f8c9d UD |
2033 | 2009-03-10 Ulrich Drepper <drepper@redhat.com> |
2034 | ||
2035 | * time/tzset.c (__tzset_parse_tz): Use correct string when parsing | |
2036 | DST name. | |
2037 | * time/tst-posixtz.c: Add tests for quoted timezone names. | |
2038 | ||
7db0cc42 UD |
2039 | 2009-03-10 Jakub Jelinek <jakub@redhat.com> |
2040 | ||
2041 | * posix/unistd.h (_POSIX_VERSION, _POSIX2_VERSION, _POSIX2_C_BIND, | |
2042 | _POSIX2_C_DEV, _POSIX2_SW_DEV, _POSIX2_LOCALEDEF): Define to | |
2043 | 200809L instead of 200112L. | |
2044 | (_XOPEN_VERSION): For __USE_XOPEN2K8 define to 700. | |
2045 | * posix/tst-sysconf.c (STDVER): Define to 200809L instead of 200112L. | |
2046 | ||
eec4b454 UD |
2047 | * stdlib/quick_exit.c (quick_exit): Pass &__quick_exit_funcs |
2048 | instead of __quick_exit_funcs to __run_exit_handlers. | |
2049 | * stdlib/at_quick_exit.c (at_quick_exit): Add attribute_hidden. | |
2050 | * stdlib/exit.h (__run_exit_handlers): Add noreturn attribute. | |
2051 | (__cxa_at_quick_exit): Remove attribute_hidden. | |
2052 | * stdlib/exit.c (exit): Pass &__exit_funcs instead of __exit_funcs | |
2053 | to __run_exit_handlers. | |
2054 | * stdlib/cxa_at_quick_exit.c (__cxa_at_quick_exit): Remove | |
2055 | attribute_hidden. | |
2056 | ||
d7276cee UD |
2057 | 2009-03-10 Ulrich Drepper <drepper@redhat.com> |
2058 | ||
2059 | * po/id.po: Update from translation team. | |
2060 | ||
1454da21 UD |
2061 | 2009-02-18 Jakub Jelinek <jakub@redhat.com> |
2062 | ||
2063 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Use | |
2064 | .machine push; .machine "power6" and .machine pop around mtfsf | |
2065 | insns outside of _ARCH_PWR6 define. | |
2066 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise. | |
2067 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: | |
2068 | Likewise. | |
2069 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: | |
2070 | Likewise. | |
2071 | * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_SET_DI_FPSCR): Likewise. | |
2072 | * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_register, | |
2073 | relax_fenv_state): Likewise. | |
2074 | ||
130ca12e UD |
2075 | 2009-03-08 Ulrich Drepper <drepper@redhat.com> |
2076 | ||
610e67ed UD |
2077 | * stdlib/Makefile (routines): Add quick_exit, at_quick_exit, and |
2078 | cxa_at_quick_exit. | |
2079 | (static-only-routines): Add at_quick_exit. | |
2080 | * stdlib/Versions: Export quick_exit and __cxa_at_quick_exit for | |
2081 | GLIBC_2.10. | |
2082 | * stdlib/quick_exit.c: New file. | |
2083 | * stdlib/at_quick_exit.c: New file. | |
2084 | * stdlib/cxa_at_quick_exit.c: New file. | |
2085 | * stdlib/cxa_atexit.c (__cxa_atexit): Move body to new function. Call | |
2086 | it appropriately. | |
2087 | (__internal_atexit): New function. | |
2088 | (__new_exitfn): Now takes parameter to point to the list to use. | |
2089 | * stdlib/cxa_finalize.c: Remove quick_exit handlers, don't call them. | |
2090 | * stdlib/exit.c (__run_exit_handlers): New function. Split from... | |
2091 | (exit): ...here. Just call __run_exit_handlers appropriately. | |
2092 | * stdlib/exit.h: Declare __quick_exit_funcs, __run_exit_handlers, | |
2093 | __internal_atexit, __cxa_at_quick_exit. Adjust __new_exitfn. | |
2094 | * stdlib/on_exit.c: Adjust call to __new_exitfn. | |
2095 | * stdlib/stdlib.h: Declare at_quick_exit and quick_exit. | |
2096 | ||
130ca12e UD |
2097 | * po/id.po: Update from translation team. |
2098 | ||
9a4f9d1f UD |
2099 | 2009-03-07 Ulrich Drepper <drepper@redhat.com> |
2100 | ||
2101 | * po/ru.po: Update from translation team. | |
2102 | ||
6d781c94 UD |
2103 | 2009-03-04 Ulrich Drepper <drepper@redhat.com> |
2104 | ||
2105 | * po/nl.po: Update from translation team. | |
2106 | ||
e00c5ece UD |
2107 | 2009-03-03 Ulrich Drepper <drepper@redhat.com> |
2108 | ||
99eb932f UD |
2109 | * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Declare fallocate{,64}. |
2110 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. | |
2111 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. | |
2112 | * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. | |
2113 | * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. | |
2114 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. | |
2115 | * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. | |
2116 | ||
e00c5ece UD |
2117 | * po/pl.po: Update from translation team. |
2118 | ||
749f5cc9 UD |
2119 | 2009-03-02 Ulrich Drepper <drepper@redhat.com> |
2120 | ||
1b994772 | 2121 | [BZ #7083] |
749f5cc9 UD |
2122 | * sysdeps/unix/sysv/linux/fallocate.c: New file. |
2123 | * sysdeps/unix/sysv/linux/fallocate64.c: New file. | |
2124 | * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: New file. | |
2125 | * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: New file. | |
2126 | * sysdeps/unix/sysv/linux/i386/fallocate64.c: New file. | |
2127 | * sysdeps/unix/sysv/linux/i386/fallocate.c: New file. | |
2128 | * sysdeps/unix/sysv/linux/Versions: Export fallocate and fallocate64 | |
2129 | for GLIBC_2.10. | |
2130 | * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): | |
2131 | Add fallocate and fallocate64. | |
2132 | ||
2133 | * io/fcntl.h: Pretty printing. | |
2134 | ||
6219e3cc JJ |
2135 | 2009-03-02 Richard Guenther <rguenther@suse.de> |
2136 | ||
2137 | * misc/sys/cdefs.h (__extern_always_inline): Add __artificial__ | |
2138 | attribute also for non-C99 inline semantics variant. | |
2139 | ||
134a9766 UD |
2140 | 2009-02-12 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com> |
2141 | ||
2142 | * sysdeps/powerpc/powerpc32/power7/fpu/Implies: New file. | |
2143 | * sysdeps/powerpc/powerpc32/power7/Implies: Likewise. | |
2144 | * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise. | |
2145 | * sysdeps/powerpc/powerpc64/power7/Implies: Likewise. | |
2146 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: | |
2147 | Likewise. | |
2148 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: | |
2149 | Likewise. | |
2150 | ||
95bc1633 UD |
2151 | 2009-03-02 Ulrich Drepper <drepper@redhat.com> |
2152 | ||
2153 | * po/cs.po: Update from translation team. | |
2154 | ||
43ea48a5 UD |
2155 | 2009-02-28 Ulrich Drepper <drepper@redhat.com> |
2156 | ||
2157 | * po/bg.po: Update from translation team. | |
2158 | * po/sv.po: Likewise. | |
f5faa3b6 | 2159 | * po/fi.po: Likewise. |
45572c23 | 2160 | * po/vi.po: Likewise. |
43ea48a5 | 2161 | |
e965d514 RM |
2162 | 2009-02-27 Roland McGrath <roland@redhat.com> |
2163 | ||
2164 | * Makeconfig (%.v.i): Depend on Makeconfig. | |
2165 | Exclude % lines from initial #-comment removal. | |
2166 | ||
56a9651f UD |
2167 | 2009-02-27 Ulrich Drepper <drepper@redhat.com> |
2168 | ||
2169 | * po/ko.po: Update from translation team. | |
2170 | ||
682825ce RM |
2171 | 2009-02-26 Roland McGrath <roland@redhat.com> |
2172 | ||
2173 | * shadow/lckpwdf.c (__lckpwdf): Move FLAGS inside block using it, | |
2174 | avoids unused warning. | |
2175 | ||
a3c37506 UD |
2176 | 2009-02-26 Andrew Stubbs <ams@codesourcery.com> |
2177 | SUGIOKA Toshinobu <sugioka@itonet.co.jp> | |
2178 | ||
2179 | * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Don't include signal.h, | |
2180 | sys/ucontext.h and asm/elf.h. Include sys/user.h. | |
2181 | * sysdeps/unix/sysv/linux/sh/sys/user.h: Don't include features.h | |
2182 | and asm/user.h. Include asm/ptrace.h. | |
2183 | (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, | |
2184 | PTRACE_SETFPREGS, PTRACE_GETFDPIC, PTRACE_GETFDPIC_EXEC, | |
2185 | PTRACE_GETFDPIC_INTERP, PTRACE_GETDSPREGS, PTRACE_SETDSPREGS): | |
2186 | Undefine. | |
2187 | (start_thread): Don't undefine. | |
2188 | (elf_greg_t, ELF_NGREG, elf_fpregset_t, user_fpu_struct, user): | |
2189 | Define. | |
2190 | ||
f503060b UD |
2191 | 2009-02-26 Ulrich Drepper <drepper@redhat.com> |
2192 | ||
6cbe890a UD |
2193 | * wctype/wctype.h: The *_l functions are in POSIX 2008. |
2194 | * wcsmbs/wchar.h: mbsnrtowcs, open_wmemstream, wcpcpy, wcpncpy, | |
2195 | wcscasecmp, wcsdup, wcsncasecmp, wcsnlen, wcsnrtombs, | |
2196 | wcscasecmp_l, wcsncasecmp_l, wcscoll_l, and wcsxfrm_l. | |
2197 | * sysdeps/mach/hurd/bits/posix_opt.h: Reset value of macros from | |
2198 | 200112L to 200809L. | |
2199 | * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise. | |
2200 | * posix/getconf.c (vars): Add _SC_THREAD_ROBUST_PRIO_INHERIT and | |
2201 | _SC_THREAD_ROBUST_PRIO_PROTECT entries. | |
2202 | * bits/confname.h: Add _SC_THREAD_ROBUST_PRIO_INHERIT and | |
2203 | _SC_THREAD_ROBUST_PRIO_PROTECT. | |
2204 | * posix/unistd.h: fexecve is in POSIX 2008. | |
2205 | * time/time.h: strftime_l is in POSIX 2008. | |
2206 | * io/sys/stat.h: futimens is in POSIX 2008. | |
2207 | * string/strings.h: strcasecmp_l and strncasecmp_l are in POSIX 2008. | |
2208 | * string/string.h: stpcpy, stpncpy, strndup, strnlen, strsignal, | |
2209 | strcoll_l, strerror_l, and strxfrm_l are in POSIX 2008. | |
2210 | * stdlib/stdlib.h: mkdtemp is in POSIX 2008. | |
f503060b UD |
2211 | * libio/stdio.h: dprintf, fmemopen, getdelim, getline, |
2212 | open_memstream, and vdprintf are in POSIX 2008. | |
2213 | ||
2e6d6bac UD |
2214 | 2009-02-25 Ulrich Drepper <drepper@redhat.com> |
2215 | ||
3e6b0a28 | 2216 | * include/features.h: Define macros for XPG7/POSIX 2008. |
77db439e UD |
2217 | * ctype/ctype.h: The *_l functions are in POSIX 2008. |
2218 | * dirent/dirent.h: alphasort, dirfd, scandir, and fdopendir are in | |
2219 | POSIX 2008. | |
1f04d005 UD |
2220 | * locale/langinfo.h: nl_langinfo_l is in POSIX 2008. |
2221 | * locale/xlocale.h: Define locale_t type. | |
2222 | * locale/locale.h: duplocale, freelocale, newlocale, uselocale are | |
2223 | in POSIX 2008. Don't define locale_t here. | |
2224 | * stdlib/monetary.h: strfmon_l is in POSIX 2008. | |
3e6b0a28 UD |
2225 | * sysdeps/unix/sysv/linux/bits/stat.h: Protect UTIME_NOW and |
2226 | UTIME_OMIT only with __USE_ATFILE. | |
1f04d005 UD |
2227 | * signal/signal.h: Declare psignal and psiginfo for POSIX 2008. |
2228 | * stdio-common/psiginfo.c: New file. | |
2229 | * stdio-common/psiginfo-data.h: New file. | |
2230 | * stdio-common/psiginfo-define.h: New file. | |
2231 | * stdio-common/Makefile (routines): Add psiginfo. | |
2232 | * stdio-common/Versions: Export psiginfo for GLIBC_2.10. | |
3e6b0a28 UD |
2233 | * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise. |
2234 | * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise. | |
2235 | * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise. | |
2236 | * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. | |
2237 | * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise. | |
2238 | * io/sys/stat.h: Move mknodat definition into same conditional as | |
2239 | mknod. | |
2240 | * time/sys/time.h: futimesat is not among the functions accepted | |
2241 | into the POSIX standard. | |
2242 | ||
2e6d6bac UD |
2243 | * include/features.h: If no feature selection given and we select |
2244 | by default a POSIX mode, also define __USE_POSIX_IMPLICITLY. | |
2245 | * posix/Versions: Export __posix_getopt. | |
2246 | * posix/getopt.c (_getopt_initialize): Take additional parameter. | |
2247 | Use it to alternatively initialize __posixly_correct. | |
2248 | (_getopt_internal_r): Take addition parameter. Pass on to | |
2249 | _getopt_initialize. | |
2250 | (_getopt_internal): Take addition parameter. Pass on to | |
2251 | _getopt_internal_r. | |
2252 | (getopt): Pass additional zero to _getopt_internal. | |
2253 | (__posix_getopt): New function. | |
2254 | * posix/getopt.h: Add redirection for getopt. | |
2255 | * posix/getopt1.c (getopt_long): Pass additional zero to | |
2256 | _getopt_internal. | |
2257 | (getopt_long_only): Likewise. | |
2258 | (_getopt_long_r): Pass additional zero to _getopt_internal_r. | |
2259 | (_getopt_long_only_r): Likewise. | |
2260 | * posix/getopt_int.h: Adjust declarations of _getopt_internal and | |
2261 | _getopt_internal_r. | |
2262 | ||
67108e40 UD |
2263 | 2009-02-24 Ulrich Drepper <drepper@redhat.com> |
2264 | ||
2265 | * bits/confname.h: Define _SC_TRACE_EVENT_NAME_MAX, _SC_TRACE_NAME_MAX, | |
2266 | _SC_TRACE_SYS_MAX, _SC_TRACE_USER_EVENT_MAX, _SC_XOPEN_STREAMS. | |
2267 | * sysdeps/posix/sysconf.c (__sysconf): Handle | |
2268 | _SC_TRACE_EVENT_NAME_MAX, _SC_TRACE_NAME_MAX, _SC_TRACE_SYS_MAX, | |
2269 | _SC_TRACE_USER_EVENT_MAX, _SC_XOPEN_STREAMS. | |
2270 | ||
1cccb96f RM |
2271 | 2009-02-24 Roland McGrath <roland@redhat.com> |
2272 | ||
2273 | [BZ #9895] | |
2274 | * README.template: Reworded not to use substituted version number. | |
2275 | Renamed to ... | |
2276 | * README: ... here (no longer generated). | |
2277 | * Makefile (README): Target removed. | |
2278 | ||
82780cbe UD |
2279 | 2009-02-24 Ulrich Drepper <drepper@redhat.com> |
2280 | ||
5be0a688 | 2281 | * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): |
77db439e | 2282 | /proc/sys/kernel/rtsig_max doesn't exist anymore, use getrlimit |
5be0a688 UD |
2283 | instead. |
2284 | ||
8c4a5f42 UD |
2285 | * io/sys/stat.h: The lstat functions have been mandatory since 2001. |
2286 | ||
82780cbe UD |
2287 | * time/tzset.c (tzset_internal): Correct parsing of TZ envvar. |
2288 | ||
77c571dd UD |
2289 | 2009-02-22 Ulrich Drepper <drepper@redhat.com> |
2290 | ||
2291 | * po/bg.po: Update from translation team. | |
2292 | ||
d82a27f8 JJ |
2293 | 2009-02-16 Jakub Jelinek <jakub@redhat.com> |
2294 | ||
2295 | * stdlib/monetary.h: Uglify function parameter names. | |
2296 | * sunrpc/rpc/pmap_clnt.h: Likewise. | |
2297 | * sunrpc/rpc/svc.h: Likewise. | |
2298 | * sunrpc/rpc/xdr.h: Likewise. | |
2299 | * sunrpc/rpc/clnt.h: Likewise. | |
2300 | * resolv/netdb.h: Likewise. | |
2301 | * resolv/arpa/nameser.h: Likewise. | |
2302 | * resolv/resolv.h: Likewise. | |
2303 | * argp/argp.h: Likewise. | |
2304 | * locale/langinfo.h: Likewise. | |
2305 | * io/sys/stat.h: Likewise. | |
2306 | * posix/spawn.h: Likewise. | |
2307 | * nis/rpcsvc/nislib.h: Likewise. | |
2308 | * malloc/obstack.h: Likewise. | |
2309 | * sysdeps/ia64/bits/link.h: Likewise. | |
2310 | * sysdeps/i386/bits/link.h: Likewise. | |
2311 | * sysdeps/s390/bits/link.h: Likewise. | |
2312 | * sysdeps/powerpc/bits/link.h: Likewise. | |
2313 | * sysdeps/x86_64/bits/link.h: Likewise. | |
2314 | * sysdeps/sparc/bits/link.h: Likewise. | |
2315 | * sysdeps/sh/bits/link.h: Likewise. | |
2316 | * sysdeps/unix/sysv/linux/i386/sys/io.h: Likewise. | |
2317 | * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Likewise. | |
2318 | * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Likewise. | |
2319 | * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise. | |
2320 | ||
58a7457e JJ |
2321 | 2008-12-01 Fredrik Unger <fred@tree.se> |
2322 | ||
2323 | * soft-fp/double.h [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D, | |
2324 | FP_UNPACK_SEMIRAW_DP): Use _FP_UNPACK_RAW_1 instead of | |
2325 | _FP_UNPACK_RAW_2, fix up first argument. | |
2326 | ||
f43b4be6 UD |
2327 | 2009-02-15 Ulrich Drepper <drepper@redhat.com> |
2328 | ||
2329 | * sysdeps/unix/sysv/linux/getsysstats.c (next_line): New function. | |
2330 | (GET_NPROCS_PARSER): Change parameters and use next_line. | |
2331 | (__get_nprocs): Rewrite to not use stdio routines. | |
2332 | * sysdeps/unix/sysv/linux/sparc/getsysstats.c (GET_NPROCS_PARSER): | |
2333 | Change parameters and use next_line. | |
2334 | ||
20e498bd UD |
2335 | 2009-02-13 Ulrich Drepper <drepper@redhat.com> |
2336 | ||
2337 | [BZ #5381] | |
2338 | * nscd/nscd.h: Remove definitions and declarations for mem_in_flight. | |
2339 | Change mempool_alloc prototype. | |
2340 | * nscd/mem.c (gc): Don't handle mem_in_flight. | |
2341 | (mempool_alloc): Third parameter now only indicates whether this is the | |
2342 | first call (to allocate data) or not. If it is, get db rdlock. | |
2343 | Release it on error. Don't handle mem_in_flight. | |
2344 | * nscd/aicache.c (addhstaiX): Mark he parameter as const. | |
2345 | Adjust third parameter of mempool_alloc calls. | |
2346 | Nothing to do here in case mempool_alloc fails. | |
2347 | Avoid local variable shadowing parameter. No need to get db rdlock | |
2348 | before calling cache_add. | |
2349 | * nscd/cache.c (cache_add): Adjust call to mempool_alloc. There is | |
2350 | no mem_in_flight array anymore. | |
2351 | * nscd/connections.c: Remove definition and handling of mem_in_flight. | |
2352 | * nscd/grpcache.c (cache_addgr): Adjust third parameter of | |
2353 | mempool_alloc calls. Mark he parameter as const. Nothing to do here | |
2354 | in case mempool_alloc fails. No need to get db rdlock before calling | |
2355 | cache_add. | |
2356 | * nscd/hstcache.c (cache_addhst): Likewise. | |
2357 | * nscd/initgrcache.c (addinitgroupsX): Likewise. | |
2358 | * nscd/servicescache.c (cache_addserv): Likewise. | |
2359 | * nscd/pwdcache.c (cache_addpw): Likewise. Remove some debugging code. | |
2360 | ||
d8111eac UD |
2361 | 2009-02-11 Ulrich Drepper <drepper@redhat.com> |
2362 | ||
2363 | * po/lt.po: Update from translation team. | |
2364 | ||
40e2fc8b UD |
2365 | 2009-02-10 Ulrich Drepper <drepper@redhat.com> |
2366 | ||
2367 | * elf/dl-load.c (open_verify): In case VALID_ELF_HEADER is | |
2368 | defined, allow additional data to be added using the optional | |
2369 | MORE_ELF_HEADER_DATA macro. | |
2370 | * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER, | |
2371 | VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Define. | |
2372 | ||
6c03cd11 UD |
2373 | 2009-02-08 Ulrich Drepper <drepper@redhat.com> |
2374 | ||
2375 | * include/atomic.h: Define catomic_and if not already defined. | |
2376 | * sysdeps/x86_64/bits/atomic.h: Define catomic_and. | |
2377 | * sysdeps/i386/i486/bits/atomic.h: Likewise. | |
2378 | ||
bc16e0c4 UD |
2379 | 2009-02-07 Ulrich Drepper <drepper@redhat.com> |
2380 | ||
78ac92ad UD |
2381 | * malloc/malloc.c (_int_free): Second argument is now mchunkptr. |
2382 | Change all callers. | |
6dd6a580 | 2383 | (_int_realloc): Likewise. Third argument is now padded size |
78ac92ad | 2384 | All _int_* functions are now static. |
6dd6a580 | 2385 | |
78ac92ad UD |
2386 | * malloc/hooks.c: Change all callers to _int_free and _int_realloc. |
2387 | * malloc/arena.c: Likewise. | |
2388 | * include/malloc.h: Remove now unnecessary declarations of the _int_* | |
2389 | functions. | |
2390 | ||
7dddb4bd UD |
2391 | * sunrpc/rpc_common.c: We cannot move _null_auth into .rodata that |
2392 | easily. | |
2393 | ||
bfacf1af UD |
2394 | * malloc/malloc.c: Add branch prediction for use of the hooks. |
2395 | ||
bc16e0c4 UD |
2396 | * grp/compat-initgroups.c [NOT_IN_libc] (__libc_use_alloca): Define. |
2397 | ||
26b62243 UD |
2398 | 2009-02-06 Ulrich Drepper <drepper@redhat.com> |
2399 | ||
2400 | [BZ #7095] | |
2401 | * bits/confname.h: Add SUSv7 macros for getconf environments. | |
2402 | * bits/environments.h: Likewise. | |
2403 | * sysdeps/unix/sysv/linux/i386/bits/environments.h: Likewise. | |
2404 | * sysdeps/unix/sysv/linux/powerpc/bits/environments.h: Likewise. | |
2405 | * sysdeps/unix/sysv/linux/s390/bits/environments.h: Likewise. | |
2406 | * sysdeps/unix/sysv/linux/sparc/bits/environments.h: Likewise. | |
2407 | * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Likewise. | |
2408 | * posix/confstr.c: Handle SUSv5 and SUSv7 environments. | |
2409 | * posix/getconf.c: Likewise. | |
2410 | * posix/sysconf.c: Likewise. | |
2411 | * sysdeps/posix/sysconf.c: Likewise. | |
2412 | * posix/Makefile (getconf.speclist): Also collect SUSv5 and SUSv7 | |
2413 | environments. | |
2414 | ||
3fe4c5b3 UD |
2415 | 2009-01-16 Petr Baudis <pasky@suse.cz> |
2416 | ||
2417 | [BZ #9753] | |
2418 | * resolv/res_libc.c (__res_maybe_init): Call __res_vinit() | |
2419 | even if we currently have zero nscount. | |
2420 | ||
cbbcaf23 UD |
2421 | 2009-02-06 Ulrich Drepper <drepper@redhat.com> |
2422 | ||
1a9dd4e4 UD |
2423 | [BZ #9781] |
2424 | * grp/compat-initgroups.c (compat_call): Switch to use malloc when | |
2425 | the input line is too long. | |
2426 | ||
51f8846e UD |
2427 | * po/Makefile (libc.pot): Add f_print as function taking c-format |
2428 | parameter. | |
2429 | ||
cbbcaf23 UD |
2430 | * debug/xtrace.sh: Unify translatable messages. |
2431 | * elf/ldd.bash.in: Likewise. | |
2432 | * elf/sprof.c: Likewise. | |
2433 | * locale/programs/locale.c: Likewise. | |
2434 | * malloc/memusage.sh: Likewise. | |
2435 | * nss/getent.c: Likewise. | |
2436 | ||
2437 | 2009-02-06 Joseph Myers <joseph@codesourcery.com> | |
2438 | ||
2439 | * debug/pcprofiledump.c (print_version, | |
2440 | argp_program_version_hook): New function. | |
2441 | * elf/ldconfig.c (more_help): New function. | |
2442 | (argp): Use it. | |
2443 | * elf/sln.c (usage): New function. | |
2444 | (main): Support --help and --version. | |
2445 | * malloc/memusagestat.c (print_version): New function. | |
2446 | (argp_program_version_hook): New variable. | |
2447 | * nscd/nscd.c (more_help): New function. | |
2448 | (argp): Use it. | |
2449 | * posix/getconf.c (main): Send --version output to stdout. | |
2450 | Support --help. | |
2451 | * sunrpc/rpc_main.c (usage, options_usage): Take STREAM and STATUS | |
2452 | arguments. All callers changed. | |
2453 | (print_version): New function. | |
2454 | (parseargs): Support --help and --version. | |
2455 | * sunrpc/rpcinfo.c (usage): Take STREAM argument. All callers | |
2456 | changed. | |
2457 | (print_version): New function. | |
2458 | (main): Use getopt_long. Support --help and --version. | |
2459 | * sysdeps/unix/sysv/linux/lddlibc4.c (main): Support --help and | |
2460 | --version. | |
2461 | ||
88a3b8f9 UD |
2462 | 2009-02-06 Ulrich Drepper <drepper@redhat.com> |
2463 | ||
e2e390fa UD |
2464 | * malloc/memusage.c (DEFAULT_BUFFER_SIZE): Change to 32768. |
2465 | (update_data): Fix handling of wrapping back | |
c3ab42a8 UD |
2466 | to the beginning of the buffer. |
2467 | ||
88a3b8f9 UD |
2468 | [BZ #9823] |
2469 | * stdio-common/psignal.c (psignal): Fix test for empty string. | |
2470 | ||
62f63c47 UD |
2471 | 2009-02-05 Ulrich Drepper <drepper@redhat.com> |
2472 | ||
4f7408c7 UD |
2473 | * include/rpc/auth.h: Use libc_hidden_proto for _null_auth. |
2474 | * sunrpc/rpc_common.c: Add libc_hidden_def for _null_auth. Also | |
2475 | move _null_auth to .rodata. | |
2476 | ||
970aa10f UD |
2477 | * time/tzset.c (__tzset_parse_tz): DST offset must also allow hour |
2478 | value of 24. | |
2479 | ||
52de761a UD |
2480 | * intl/dcigettext.c (DCIGETTEXT): Avoid some code duplication. |
2481 | ||
62f63c47 UD |
2482 | * sysdeps/unix/opendir.c (__alloc_dir): We have a lot more memory |
2483 | today than when the original code was written. Use larger | |
2484 | buffers. This also makes it unnecessary to have stat information, | |
2485 | if this causes extra efforts. | |
2486 | (__opendir): In case O_DIRECTORY works, don't call fstat just for | |
2487 | __alloc_dir. | |
2488 | ||
0899b889 UD |
2489 | 2009-02-03 Andrew Stubbs <ams@codesourcery.com> |
2490 | ||
2491 | * sysdeps/sh/sh4/dl-trampoline.S: Only set HAVE_FPU if __SH_FPU_ANY__ | |
2492 | is set. | |
2493 | * sysdeps/sh/sh4/setjmp.S: Support SH4-NOFPU. | |
2494 | * sysdeps/sh/sh4/__longjmp.S: Likewise. | |
2495 | * sysdeps/unix/sysv/linux/sh/sh4/getcontext.S: Likewise. | |
2496 | * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S: Likewise. | |
2497 | * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S: Likewise. | |
2498 | * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise. | |
2499 | ||
22cc3f75 UD |
2500 | 2009-02-04 Ulrich Drepper <drepper@redhat.com> |
2501 | ||
2502 | * po/ru.po: Update from translation team. | |
2503 | ||
a71433e7 UD |
2504 | 2008-11-17 Nathan Sidwell <nathan@codesourcery.com> |
2505 | ||
2506 | * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (struct sigevent): | |
2507 | Add _tid slot to maintain consistency with kernel. | |
2508 | ||
82f2e9c6 | 2509 | 2009-02-04 Ulrich Drepper <drepper@redhat.com> |
3a2e9947 | 2510 | |
82f2e9c6 UD |
2511 | * libio/wfileops.c (_IO_wfile_underflow): Fix handling of |
2512 | incomplete characters at end of input buffer. | |
2513 | * libio/Makefile (tests): Add tst-fgetwc. | |
2514 | * libio/tst-fgetwc.c: New file. | |
2515 | * libio/tst-fgetwc.input: New file. | |
3a2e9947 | 2516 | |
ba022c06 UD |
2517 | 2009-02-02 Andrew Stubbs <ams@codesourcery.com> |
2518 | ||
2519 | * sysdeps/unix/sysv/linux/sh/Makefile (libm.so-no-z-defs): Define. | |
2520 | ||
1b14353e UD |
2521 | 2009-02-02 Ulrich Drepper <drepper@redhat.com> |
2522 | ||
2523 | [BZ #9793] | |
2524 | * iconv/gconv_trans.c (__gconv_transliterate): Don't change | |
2525 | *OUTBUFSTART unless the whole output fit into the buffer. | |
2526 | * iconv/Makefile (tests): Add tst-iconv4. | |
2527 | * iconv/tst-iconv4.c: New file. | |
2528 | ||
ebc22416 UD |
2529 | 2009-02-01 Ulrich Drepper <drepper@redhat.com> |
2530 | ||
2531 | * sysdeps/x86_64/cacheinfo.c (intel_02_known): Add new descriptors. | |
2532 | * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise. | |
2533 | ||
7c8a6732 UD |
2534 | 2009-01-29 Andrew Stubbs <ams@codesourcery.com> |
2535 | ||
2536 | * elf/Makefile (ld.so): Adjust the sed script to insert _begin in to | |
2537 | newer linker scripts. | |
2538 | ||
43149780 UD |
2539 | 2009-01-30 Ulrich Drepper <drepper@redhat.com> |
2540 | ||
2541 | [BZ #7040] | |
2542 | * sysdeps/unix/sysv/linux/sys/inotify.h: Second parameter of | |
2543 | inotify_rm_watch should have type int. | |
2544 | ||
bd4ace0b UD |
2545 | 2009-01-06 Steven Munroe <sjmunroe@us.ibm.com> |
2546 | ||
2547 | * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): | |
2548 | Make aligned_restore_vmx a local symbol. | |
2549 | * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): | |
2550 | Likewise. | |
2551 | ||
430902da AJ |
2552 | 2009-01-30 Andreas Jaeger <aj@suse.de> |
2553 | ||
2554 | * sysdeps/unix/sysv/linux/bits/shm.h (SHM_EXEC): Define. | |
2555 | * sysdeps/unix/sysv/linux/ia64/bits/shm.h (SHM_EXEC): Define. | |
2556 | * sysdeps/unix/sysv/linux/powerpc/bits/shm.h (SHM_EXEC): Define. | |
2557 | * sysdeps/unix/sysv/linux/s390/bits/shm.h (SHM_EXEC): Define. | |
2558 | * sysdeps/unix/sysv/linux/sh/bits/shm.h (SHM_EXEC): Define. | |
2559 | * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHM_EXEC): Define. | |
2560 | * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (SHM_EXEC): Define. | |
2561 | ||
b7219e53 UD |
2562 | 2009-01-11 Ryan S. Arnold <rsa@us.ibm.com> |
2563 | ||
2564 | [BZ #9726] | |
2565 | * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_SET_DI_FPSCR, | |
2566 | _SET_SI_FPSCR): Clobber fp0 to prevent erroneous test-case passes. | |
2567 | ||
2568 | 2009-01-08 Ryan S. Arnold <rsa@us.ibm.com> | |
2569 | ||
2570 | [BZ #9726] | |
2571 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S | |
2572 | (__CONTEXT_FUNC_NAME): Fix mtfsf to use fp31 instead of fp0. | |
2573 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S | |
2574 | (__CONTEXT_FUNC_NAME): Fix mtfsf to use fp31 instead of fp0. | |
2575 | ||
a3bd2846 UD |
2576 | 2009-01-11 Thomas Schwinge <tschwinge@gnu.org> |
2577 | ||
2578 | * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Use | |
2579 | memcpy instead of memcmp. | |
2580 | (_dl_setup_pointer_guard): Likewise. | |
2581 | ||
1fdd89a7 UD |
2582 | 2009-01-30 Ulrich Drepper <drepper@redhat.com> |
2583 | ||
2584 | * malloc/malloc.c (sYSMALLOc): Don't use assert when detecting | |
2585 | manipulated brk, use malloc_printerr. | |
2586 | * misc/sbrk.c (__sbrk): Better error handling for nonsense | |
2587 | requests. | |
2588 | ||
8585cb74 UD |
2589 | 2009-01-30 Jakub Jelinek <jakub@redhat.com> |
2590 | ||
2591 | * string/string.h (memchr, strchr, strrchr, strpbrk, strstr, index, | |
2592 | rindex): For C++ add inlines so that they can be recognized as | |
2593 | builtins. | |
2594 | * string/strings.h: Define correct C++ prototypes for gcc 4.4. | |
2595 | ||
d8387c7b UD |
2596 | 2009-01-29 Ulrich Drepper <drepper@redhat.com> |
2597 | Jakub Jelinek <jakub@redhat.com> | |
2598 | ||
cdf77dd8 UD |
2599 | * string/string.h: Define correct C++ prototypes for gcc 4.4. |
2600 | * wcsmbs/wchar.h: Likewise. | |
d8387c7b | 2601 | |
647925b2 UD |
2602 | 2009-01-29 Ulrich Drepper <drepper@redhat.com> |
2603 | ||
2604 | * sysdeps/i386/stackinfo.h (stackinfo_get_sp): Define. | |
2605 | (stackinfo_sub_sp): Define. | |
2606 | ||
5627534a UD |
2607 | 2009-01-28 Ulrich Drepper <drepper@redhat.com> |
2608 | ||
fd537e53 UD |
2609 | [BZ #9750] |
2610 | * nscd/mem.c (gc): Use alloca_count to get the real stack usage. | |
2611 | * include/alloca.h (alloca_account): Define. | |
2612 | * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Define. | |
2613 | (stackinfo_sub_sp): Define. | |
2614 | ||
00f5df0e UD |
2615 | * nscd/connections.c (nscd_init): If database file access fails |
2616 | check whether this is due to permission problems and bail in that | |
2617 | case. | |
31d322a2 | 2618 | |
5627534a UD |
2619 | [BZ #9741] |
2620 | * nscd/mem.c (gc): Fix assignment of he_data in case malloc is used. | |
2621 | Reported by Jun'ichi Nomura <j-nomura@ce.jp.nec.com>. | |
2622 | ||
a7bd183f UD |
2623 | 2009-01-14 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
2624 | ||
2625 | * sysdeps/unix/sysv/linux/sh/sysdep.h (INTERNAL_SYSCALL): | |
2626 | Add "t" to clobber list. | |
2627 | (INTERNAL_SYSCALL_NCS): Likewise. | |
2628 | ||
1dd75769 UD |
2629 | 2009-01-28 Ulrich Drepper <drepper@redhat.com> |
2630 | ||
2631 | * nss/getent.c (print_networks): Don't print comma between aliases. | |
2632 | ||
25e84177 UD |
2633 | 2009-01-23 Ulrich Drepper <drepper@redhat.com> |
2634 | ||
2635 | * sysdeps/unix/sysv/linux/tst-clone.c (do_test): Avoid warning. | |
2636 | ||
2637 | * misc/hsearch_r.c (hcreate_r): We need at least three elements in | |
2638 | the hash table. | |
2639 | * misc/Makefile (tests): Add bug-hsearch1. | |
2640 | * misc/bug-hsearch1.c: New file. | |
2641 | ||
0699a0ca RM |
2642 | 2009-01-22 Roland McGrath <roland@redhat.com> |
2643 | ||
2644 | * Makeconfig (%.v.i): Strip trailing # comments, | |
2645 | not only whole-line comments. | |
2646 | ||
965cb60a UD |
2647 | 2009-01-10 Ulrich Drepper <drepper@redhat.com> |
2648 | ||
2649 | * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Take | |
2650 | one parameter. If non-NULL use it to initialize return value. | |
2651 | (_dl_setup_pointer_guard): New function. | |
2652 | * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise. | |
2653 | * sysdeps/generic/ldsodefs.h: Declare _dl_random. | |
2654 | * elf/rtld.c (security_init): Pass _dl_random to | |
2655 | _dl_setup_stack_chk_guard. Call _dl_setup_pointer_guard to initialize | |
2656 | pointer_chk_guard. | |
2657 | * elf/dl-sysdep.c (_dl_random): New variable. | |
2658 | (_dl_sysdep_start): Handle AT_RANDOM. | |
2659 | (_dl_show_auxv): Likewise. | |
2660 | * elf/dl-support.c (_dl_random): New variable. | |
2661 | (_dl_aux_init): Handle AT_RANDOM. | |
2662 | * csu/libc-start.c [!SHARED] (libc_start_main): Pass _dl_random | |
2663 | to _dl_setup_stack_chk_guard. | |
2664 | ||
2665 | * elf/elf.h (AT_RANDOM): Define AT_BASE_PLATFORM and AT_RANDOM. | |
2666 | ||
8be96dd1 RM |
2667 | 2009-01-10 Roland McGrath <roland@redhat.com> |
2668 | ||
2669 | * nscd/nscd.c (parse_opt): Use argp_error for bad -i argument. | |
2670 | ||
157cd5ac UD |
2671 | 2009-01-08 Ulrich Drepper <drepper@redhat.com> |
2672 | ||
9b1c750e UD |
2673 | * sysdeps/i386/fpu/libm-test-ulps: Adjust expm1 errors. |
2674 | ||
157cd5ac UD |
2675 | [BZ #9706] |
2676 | * nss/nss_files/files-parse.c (strtou32): New function. | |
2677 | (INT_FIELD): Use strotu32 instead of strtoul to unify behavior | |
2678 | across 32-bit and 64-bit platforms. | |
2679 | (INT_FIELD_MAYBE_NULL): Likewise. | |
2680 | ||
960af8c2 JJ |
2681 | 2009-01-08 Jakub Jelinek <jakub@redhat.com> |
2682 | ||
2683 | [BZ #9720] | |
2684 | * sysdeps/unix/sysv/linux/bits/resource.h (enum __rusage_who): Avoid | |
2685 | comma after RUSAGE_CHILDREN if not -D_GNU_SOURCE. | |
2686 | * sysdeps/unix/sysv/linux/sparc/bits/resource.h (enum __rusage_who): | |
2687 | Likewise. | |
2688 | ||
76c7f2cd UD |
2689 | 2009-01-05 Paolo Bonzini <bonzini@gnu.org> |
2690 | ||
16c124f7 | 2691 | [BZ #697] |
76c7f2cd UD |
2692 | * posix/regexec.c (prune_impossible_nodes): Handle sifted_states[0] |
2693 | being NULL also if there are no backreferences. | |
2694 | * posix/rxspencer/tests: Add testcases. | |
2695 | ||
bdb56bac UD |
2696 | 2009-01-04 Paolo Bonzini <bonzini@gnu.org> |
2697 | ||
16c124f7 | 2698 | [BZ #9697] |
bdb56bac UD |
2699 | * posix/bug-regex17.c: Add testcases. |
2700 | * posix/regcomp.c (re_compile_fastmap_iter): Rewrite COMPLEX_BRACKET | |
2701 | handling. | |
2702 | ||
0480c901 UD |
2703 | 2009-01-05 Martin Schwidefsky <schwidefsky@de.ibm.com> |
2704 | ||
2705 | * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: New file. | |
2706 | * sysdeps/unix/sysv/linux/s390/gettimeofday.c: New file. | |
2707 | * sysdeps/unix/sysv/linux/s390/init-first.c: New file. | |
2708 | * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines): Add dl-vdso | |
2709 | for elf subdir. | |
2710 | * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL, | |
2711 | INTERNAL_VSYSCALL, INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK, | |
2712 | INTERNAL_SYSCALL_NCS, HAVE_CLOCK_GETRES_VSYSCALL and | |
2713 | HAVE_CLOCK_GETTIME_VSYSCALL: Define. | |
2714 | * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. | |
2715 | * sysdeps/unix/sysv/linux/s390/Versions: New file. | |
2716 | ||
b3918c7d UD |
2717 | 2008-12-31 Paolo Bonzini <bonzini@gnu.org> |
2718 | ||
2719 | * posix/regcomp.c (re_compile_fastmap_iter): Use __mbrtowc. | |
2720 | * posix/regex_internal.c (build_wcs_buffer, build_wcs_upper_buffer, | |
2721 | re_string_skip_chars, re_string_reconstruct): Likewise. | |
2722 | * posix/regex_internal.h [!_LIBC] (__mbrtowc): New #define. | |
2723 | ||
df9293cb UD |
2724 | 2008-12-31 Rafael Avila de Espindola <espindola@google.com> |
2725 | ||
2726 | * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Check and | |
2727 | adjust the buffer alignment. | |
2728 | ||
c90c1e1c RM |
2729 | 2009-01-07 Samuel Thibault <samuel.thibault@ens-lyon.org> |
2730 | ||
2731 | * sysdeps/mach/hurd/Makefile (sysdep_headers) [subdir=socket]: | |
2732 | Add net/ethernet.h net/if_arp.h net/if_ether.h net/if_ppp.h | |
2733 | net/route.h. | |
2734 | ||
2735 | * hurd/report-wait.c (describe_number): Use __stpcpy to prepend | |
2736 | flavor to description only when flavor is not NULL. | |
2737 | ||
2738 | * hurd/hurdsig.c (signal_allowed): Unlock _hurd_dtable_lock | |
2739 | mutex after SIGIO/SIGURG lookup loop. | |
2740 | ||
5aff6fdf RM |
2741 | 2009-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org> |
2742 | ||
2743 | * bits/resource.h (PRIO_PROCESS, PRIO_PGRP, PRIO_USER): Add macros. | |
2744 | ||
b2bcd249 UD |
2745 | 2009-01-03 Ulrich Drepper <drepper@redhat.com> |
2746 | ||
2747 | * sysdeps/unix/sysv/linux/i386/sysdep.h: Describe 6th argument | |
2748 | handling. | |
2749 | ||
d36ad871 UD |
2750 | 2009-01-02 Ulrich Drepper <drepper@redhat.com> |
2751 | ||
ebb2788e UD |
2752 | * sysdeps/unix/sysv/linux/kernel-features.h |
2753 | (__ASSUME_FUTEX_CLOCK_REALTIME): Define. | |
2754 | ||
72098116 UD |
2755 | * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Create temporary state object |
2756 | if no output is written. | |
2757 | ||
623d0bf5 UD |
2758 | * version.h: Bump to 2.10 development. |
2759 | ||
d36ad871 UD |
2760 | * posix/getconf.c: Update copyright year. |
2761 | * nss/getent.c: Likewise. | |
2762 | * iconv/iconvconfig.c: Likewise. | |
2763 | * iconv/iconv_prog.c: Likewise. | |
2764 | * elf/ldconfig.c: Likewise. | |
2765 | * catgets/gencat.c: Likewise. | |
2766 | * csu/version.c: Likewise. | |
2767 | * elf/ldd.bash.in: Likewise. | |
2768 | * elf/sprof.c (print_version): Likewise. | |
2769 | * locale/programs/locale.c: Likewise. | |
2770 | * locale/programs/localedef.c: Likewise. | |
2771 | * nscd/nscd.c (print_version): Likewise. | |
2772 | * debug/xtrace.sh: Likewise. | |
2773 | * malloc/memusage.sh: Likewise. | |
2774 | * malloc/mtrace.pl: Likewise. | |
2775 | * debug/catchsegv.sh: Likewise. | |
2776 | ||
25df09ab UD |
2777 | 2008-12-29 Mike Frysinger <vapier@gentoo.org> |
2778 | ||
2779 | * iconvdata/Makefile (iconv-rules): Use LC_ALL=C when running awk | |
2780 | script. | |
2781 | ||
16b7dc27 UD |
2782 | 2008-12-29 Ulrich Drepper <drepper@redhat.com> |
2783 | ||
bfbbc63f UD |
2784 | * sysdeps/posix/getaddrinfo.c (gaih_inet): When the |
2785 | gethostbyname4_r function call succeeded, just leave the loop. | |
2786 | ||
0f2ae55c UD |
2787 | [BZ #9694] |
2788 | * wcsmbs/wchar.h: Move undefs for local __need_* constants to the | |
2789 | very end. | |
5703f472 UD |
2790 | * wctype/wctype.h: Get wint_t definition directly from <stddef.h>. |
2791 | * wctype/Makefile (tests): Add bug-wctypeh. | |
2792 | * wctype/bug-wctypeh.c: New file. | |
0f2ae55c | 2793 | |
50e481ce UD |
2794 | * nscd/nscd_gethst_r.c (nscd_gethst_r): Don't use nscd if |
2795 | LOCALDOMAIN is defined. | |
2796 | * nscd/nscd_getai.c (__nscd_getai): Likewise. | |
2797 | ||
217d45cd UD |
2798 | * sysdeps/x86_64/bits/select.h: New file. |
2799 | ||
16b7dc27 UD |
2800 | * resolv/res_init.c (__res_vinit): Count all servers in statp->nscount. |
2801 | ||
bf93cd3b UD |
2802 | 2008-12-21 Bruno Haible <bruno@clisp.org> |
2803 | ||
2804 | [BZ #9677] | |
2805 | * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Create temporary state object | |
2806 | if no output is written. | |
2807 | ||
49159e12 UD |
2808 | 2008-12-13 Klaus Dittrich <kladit@arcor.de> |
2809 | ||
2810 | * login/utmp_file.c (pututline_file): Replace call to dup2 with | |
2811 | libc internal symbol __dup2 to avoid access through the PLT. | |
2812 | ||
d4f0720b UD |
2813 | 2008-12-08 Ulrich Drepper <drepper@redhat.com> |
2814 | ||
135460f4 UD |
2815 | [BZ #6545] |
2816 | * sysdeps/unix/sysv/linux/bits/socket.h (SCM_CREDENTIALS): Make | |
2817 | available only for __USE_GNU. | |
2818 | ||
ed0da352 UD |
2819 | * inet/Makefile (tests): Add tst-getni2. |
2820 | * inet/tst-getni2.c: New file. | |
2821 | ||
d4f0720b UD |
2822 | [BZ #7080] |
2823 | * inet/getnameinfo.c (getnameinfo): Check for output buffers being | |
2824 | NULL when NI_NAMEREQD is set. | |
2825 | Patch mostly by Yang Hongyang <yanghy@cn.fujitsu.com>. | |
2826 | * inet/Makefile (tests): Add tst-getni1. | |
2827 | * inet/tst-getni1.c: New file. | |
2828 | ||
cd72adeb UD |
2829 | 2008-12-03 Petr Baudis <pasky@suse.cz> |
2830 | ||
2831 | [BZ #7067] | |
2832 | * nscd/connections.c (invalidate_cache): Use prune_run_lock | |
2833 | instead of prune_lock. | |
2834 | (nscd_run_prune): Before calling prune_cache, take prune_run_lock. | |
2835 | * nscd/nscd.h (database_dyn): Add prune_run_cache. | |
2836 | ||
e87946cc UD |
2837 | 2008-12-07 Ulrich Drepper <drepper@redhat.com> |
2838 | ||
200da00a UD |
2839 | * resolv/res_send.c (send_dg): Use correct guards for SOCK_CLOEXEC |
2840 | use. | |
2841 | ||
2842 | * sysdeps/unix/sysv/linux/kernel-features.h: Fix typo in accept4 | |
2843 | handling. | |
2844 | ||
905ef0da UD |
2845 | * resolv/res_init.c (__res_vinit): Always assign to statp->nscount |
2846 | after reading name server list. | |
2847 | ||
71053765 | 2848 | [BZ #7058] |
e87946cc UD |
2849 | * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname4_r): Fix memory |
2850 | handling for host name aliases. | |
2851 | ||
d43b8bdd JJ |
2852 | 2008-11-24 Arkadiusz Miśkiewicz <arekm@maven.pl> |
2853 | ||
2854 | * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use LOAD_PIC_REG | |
2855 | instead of doing things manually. | |
2856 | ||
2857 | 2008-11-26 Chris Steel <chris.steel.lnx@googlemail.com> | |
2858 | ||
2859 | * posix/regex_internal.h (build_wcs_upper_buffer): | |
2860 | Return type is reg_error_t. | |
2861 | ||
25a34eb7 UD |
2862 | 2008-12-05 Ulrich Drepper <drepper@redhat.com> |
2863 | ||
f3721ab2 UD |
2864 | * posix/globtest.sh: Use mktemp to create temporary file and |
2865 | directory. | |
2866 | ||
25a34eb7 UD |
2867 | * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S): Handle large |
2868 | sets correctly. | |
2869 | (__CPU_CLR_S): Likewise. | |
2870 | (__CPU_ISSET_S): Likewise. | |
2871 | ||
8680179f UD |
2872 | 2008-12-05 Joseph Myers <joseph@codesourcery.com> |
2873 | Ulrich Drepper <drepper@redhat.com> | |
2874 | ||
2875 | * scripts/firstversion.awk: Use custom comparison function to compare | |
2876 | version numbers. | |
2877 | * scripts/versions.awk: Use sort invocation which can handle | |
2878 | multi-digit sub-version numbers. | |
2879 | ||
72d50908 UD |
2880 | 2008-12-04 Ulrich Drepper <drepper@redhat.com> |
2881 | ||
2882 | * locale/programs/ld-address.c (DEFINE_LANGUAGE_CODE2): Define. | |
2883 | * locale/iso-639.def: Add Chhattisgarhi entry. | |
2884 | ||
f93fc0b7 UD |
2885 | 2008-12-02 Ulrich Drepper <drepper@redhat.com> |
2886 | ||
da5ac135 UD |
2887 | * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Recognize |
2888 | ESRCH return value. | |
2889 | (_nss_dns_gethostbyname4_r): Likewise. | |
2890 | * resolv/res_init.c (__res_vinit): Initialize nscount to zero. | |
2891 | * sysdeps/posix/getaddrinfo.c (gaih_inet): In case we use | |
2892 | gethostbyname4_r, we don't have a separate IPv6 status, so copy | |
2893 | the no_data variable. | |
2894 | ||
6f5c3117 UD |
2895 | * resolv/res_init.c (__res_vinit): Fill in IPv4 name server |
2896 | information at the correct index. | |
2897 | ||
f93fc0b7 UD |
2898 | * socket/sys/socket.h: Declare accept4. |
2899 | * socket/accept4.c: New file. | |
2900 | * sysdeps/unix/sysv/linux/accept4.c: New file. | |
2901 | * sysdeps/unix/sysv/linux/i386/accept4.S: New file. | |
2902 | * socket/Makefile (routines): Add accept4. | |
2903 | * socket/Versions: Export accept4 with version GLIBC_2.10. | |
2904 | * socket/paccept.c: Removed. | |
2905 | * sysdeps/unix/sysv/linux/paccept.c: Removed. | |
2906 | * sysdeps/unix/sysv/linux/i386/paccept.S: Removed. | |
2907 | * Versions.def: Define GLIBC_2.10 for libc. | |
2908 | * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_ACCEPT4. | |
2909 | ||
2910 | * nscd/connections.c: Use accept4. | |
2911 | ||
2912 | * sysdeps/unix/sysv/linux/i386/socket.S: Fix comment. | |
2913 | ||
1fa7ae05 UD |
2914 | 2008-12-01 Ulrich Drepper <drepper@redhat.com> |
2915 | ||
9744268c UD |
2916 | * resolv/res_send.c (send_dg): Create sockets with non-blocking |
2917 | flag already set. | |
2918 | ||
1fa7ae05 UD |
2919 | * stdlib/setenv.c (unsetenv): Don't search environment if it does |
2920 | not exist. | |
30c06371 UD |
2921 | * stdlib/Makefile (tests): Add tst-unsetenv1. |
2922 | * stdlib/tst-unsetenv1.c: New file. | |
1fa7ae05 | 2923 | |
37a6a271 UD |
2924 | 2008-11-29 Ulrich Drepper <drepper@redhat.com> |
2925 | ||
2926 | * login/utmp_file.c (file_writable): New variable. | |
2927 | (setutent_file): Don't try to open file for writing. | |
2928 | (pututline_file): Before writing, make descriptor writable if | |
2929 | necessary. | |
2930 | ||
ca4dc0fe UD |
2931 | 2008-11-26 Ulrich Drepper <drepper@redhat.com> |
2932 | ||
be4607eb UD |
2933 | * sysdeps/posix/getaddrinfo.c (getaddrinfo): Only restrict search |
2934 | to IPv4 or IPv6 if an interface has been found. | |
ca4dc0fe | 2935 | |
01a74645 RM |
2936 | 2008-11-26 Roland McGrath <roland@redhat.com> |
2937 | ||
24fd0a5b RM |
2938 | * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Renamed to ... |
2939 | * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: ... here. | |
2940 | ||
2941 | * sysdeps/unix/sysv/linux/alpha/wordexp.c: Renamed to ... | |
2942 | * sysdeps/unix/sysv/linux/ia64/wordexp.c: ... here. | |
2943 | * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: Change #include. | |
2944 | ||
01a74645 RM |
2945 | * elf/elf.h (NT_386_IOPERM): New macro. |
2946 | (NT_PPC_VSX): New macro. | |
2947 | ||
c0439b95 RM |
2948 | 2008-11-25 Roland McGrath <roland@redhat.com> |
2949 | ||
2950 | * sysdeps/alpha, sysdeps/unix/bsd/osf/alpha, | |
2951 | sysdeps/unix/bsd/Attic/osf1/alpha, sysdeps/unix/sysv/linux/alpha, | |
2952 | sysdeps/unix/sysv/linux/alpha/alpha, sysdeps/unix/alpha, | |
2953 | sysdeps/mach/alpha, sysdeps/mach/hurd/alpha: | |
2954 | Subdirectories moved to ports repository. | |
2955 | * configure.in (base_machine): Remove alpha case. | |
2956 | ||
d3dc523b RM |
2957 | 2008-11-25 Thomas Schwinge <tschwinge@gnu.org> |
2958 | ||
2959 | * sysdeps/mach/strerror_l.c: New file. | |
2960 | ||
edba7a54 UD |
2961 | 2008-11-13 Ryan S. Arnold <rsa@us.ibm.com> |
2962 | ||
2963 | [BZ #6411] | |
2964 | * sysdeps/powerpc/fpu/Makefile: Added test case tst-setcontext-fpscr. | |
2965 | * sysdeps/powerpc/fpu/feholdexcpt.c (_FPU_MASK_ALL): Define to replace | |
2966 | magic numbers. | |
2967 | * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_register): Dynamically | |
2968 | choose mtfsf insn based on PPC_FEATURE_HAS_DFP. | |
2969 | (relax_fenv_state): Same as above. | |
2970 | (FPSCR_29): Reserve bit in ISA 2.05. | |
2971 | (FPSCR_NI): Provide define for compat. | |
2972 | * sysdeps/powerpc/fpu/fesetenv.c (_FPU_MASK_ALL): Define to replace | |
2973 | magic numbers. | |
2974 | * sysdeps/powerpc/fpu/feupdateenv.c (_FPU_MASK_ALL): Define to replace | |
2975 | magic numbers. | |
2976 | * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: New file. Test case to | |
2977 | test setcontext and swapcontext with dynamic 64-bit FPSCR detection. | |
2978 | * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Adjust | |
2979 | access to hwcap to account for hwcap size increase to uint64_t. | |
2980 | * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S (__sigsetjmp ): | |
2981 | Likewise. | |
2982 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S | |
2983 | (*setcontext): Likewise. | |
2984 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/setcontext.S: | |
2985 | New file. | |
2986 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/swapcontext.S: | |
2987 | New file. | |
2988 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S | |
2989 | (*setcontext): dynamically select mtfsf insn based on | |
2990 | PPC_FEATURE_HAS_DFP. Adjust access to hwcap to account for hwcap size | |
2991 | increase to uint64_t. | |
2992 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S | |
2993 | (*swapcontext): dynamically select mtfsf insn based on | |
2994 | PPC_FEATURE_HAS_DFP. Adjust access to hwcap to account for hwcap size | |
2995 | increase to uint64_t. | |
2996 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/setcontext.S: | |
2997 | New file. | |
2998 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/swapcontext.S: | |
2999 | New file. | |
3000 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S | |
3001 | (*setcontext): dynamically select mtfsf insn based on | |
3002 | PPC_FEATURE_HAS_DFP. | |
3003 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S | |
3004 | (*swapcontext): dynamically select mtfsf insn based on | |
3005 | PPC_FEATURE_HAS_DFP. | |
3006 | ||
ec297962 UD |
3007 | 2008-11-13 Ulrich Drepper <drepper@redhat.com> |
3008 | ||
b5449f8a | 3009 | * version.h: Bump for 2.9 release. |
f52bb4d7 | 3010 | * include/features.h (__GLIBC_MINOR__): Bump to 9. |
b5449f8a | 3011 | |
ec297962 UD |
3012 | [BZ #7029] |
3013 | * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_ALLOC_SIZE): | |
3014 | Multiply with sizeof of __cpu_mask, not 8 unconditionally after | |
3015 | all the rounding. | |
3016 | ||
3cac8b75 UD |
3017 | 2008-11-11 Ulrich Drepper <drepper@redhat.com> |
3018 | ||
0e54a725 | 3019 | [BZ #7009] |
3cac8b75 UD |
3020 | * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Don't abort for |
3021 | unknown request types for now. | |
3022 | ||
58a4b51a RM |
3023 | 2008-11-11 Roland McGrath <roland@redhat.com> |
3024 | ||
3025 | * sysdeps/x86_64/configure: New file. | |
3026 | ||
3027 | * configure.in: Add AC_SUBST(libc_cv_cpp_asm_debuginfo). | |
3028 | * configure: Regenerated. | |
3029 | ||
01bd5e96 JJ |
3030 | 2008-11-03 Martin Schwidefsky <schwidefsky@de.ibm.com> |
3031 | ||
3032 | * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_profile): Use the | |
3033 | correct instruction to remove the stack frame. | |
3034 | ||
a9069550 JJ |
3035 | 2008-11-03 Michael Matz <matz@suse.de> |
3036 | ||
3037 | * sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_32_acq, | |
3038 | __arch_compare_and_exchange_val_64_acq): Add "memory" clobber. | |
3039 | ||
4b23f9bd JJ |
3040 | 2008-11-07 Jakub Jelinek <jakub@redhat.com> |
3041 | ||
09f66a4f JJ |
3042 | * include/stdio.h (__builtin_fwrite, __builtin_fwrite_unlocked): |
3043 | Remove. | |
3044 | ||
4b23f9bd JJ |
3045 | * bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address, |
3046 | __libc_tsd_get, __libc_tsd_set): Add TYPE argument, use it as the type | |
3047 | of the thread variable instead of void *. | |
3048 | * sysdeps/mach/hurd/bits/libc-tsd.h (__libc_tsd_define, | |
3049 | __libc_tsd_address, __libc_tsd_get, __libc_tsd_set): Likewise. | |
3050 | * include/ctype.h (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust | |
3051 | __libc_tsd_define arguments. | |
3052 | (__ctype_b_loc, __ctype_toupper_loc, __ctype_tolower_loc): Adjust | |
3053 | __libc_tsd_address arguments. Remove union hack. | |
3054 | * include/rpc/rpc.h (RPC_VARS): Adjust __libc_tsd_define arguments. | |
3055 | * sunrpc/rpc_thread.c (RPC_VARS): Likewise. | |
3056 | (__rpc_thread_destroy, rpc_thread_multi, __rpc_thread_variables): | |
3057 | Adjust __libc_tsd_{set,get} arguments. | |
3058 | * ctype/ctype-info.c (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust | |
3059 | __libc_tsd_define arguments. | |
3060 | * locale/uselocale.c (__uselocale): Adjust __libc_tsd_{set,get} | |
3061 | arguments. | |
3062 | * locale/lc-ctype.c (_nl_postload_ctype): Likewise. | |
3063 | * locale/global-locale.c (__libc_tsd_LOCALE): Adjust type. | |
3064 | (LOCALE): Adjust __libc_tsd_define arguments. | |
3065 | * locale/localeinfo.h (_NL_CURRENT_LOCALE): Adjust __libc_tsd_get | |
3066 | arguments. | |
3067 | (LOCALE): Adjust __libc_tsd_define arguments. | |
3068 | * sysdeps/mach/hurd/malloc-machine.h (MALLOC): Adjust __libc_tsd_define | |
3069 | arguments. | |
3070 | (tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get} | |
3071 | arguments. | |
3072 | ||
486bdb88 UD |
3073 | 2008-11-02 Ulrich Drepper <drepper@redhat.com> |
3074 | ||
3075 | * malloc/malloc.c (public_rEALLOc): When new arena is used, copy | |
3076 | really all bytes. Patch by Denys Vlasenko <dvlasenk@redhat.com>. | |
3077 | ||
64647f9a UD |
3078 | 2008-11-01 Ulrich Drepper <drepper@redhat.com> |
3079 | ||
3080 | [BZ #6966] | |
3081 | * misc/hsearch_r.c (hsearch_r): Fix secondary hash function. | |
3082 | ||
acd44dbc UD |
3083 | 2008-10-24 Joseph Myers <joseph@codesourcery.com> |
3084 | Ulrich Drepper <drepper@redhat.com> | |
3085 | ||
3086 | * math/tgmath.h (__floating_type): Use __builtin_classify_type in | |
3087 | definition for GCC 3.1 and later. | |
64647f9a | 3088 | |
41e25904 UD |
3089 | 2008-10-31 Jakub Jelinek <jakub@redhat.com> |
3090 | ||
3091 | * elf/dl-tls.c (__tls_get_addr): After calling _dl_update_slotinfo | |
3092 | refetch dtv, as it might have changed. | |
3093 | * elf/Makefile: Add rules to build and run tst-tls18. | |
3094 | * elf/tst-tls18.c: New test. | |
3095 | * elf/tst-tlsmod18a.c: New file. | |
3096 | ||
e148a644 | 3097 | 2008-09-09 Aurelien Jarno <aurelien@aurel32.net> |
97f12390 | 3098 | |
da9c2314 | 3099 | [BZ #6875] |
e148a644 UD |
3100 | * iconvdata/gconv-modules: Add LATIN9 as an alias to ISO-8859-15. |
3101 | ||
3102 | 2008-10-31 Ulrich Drepper <drepper@redhat.com> | |
97f12390 | 3103 | |
6daf1a2f UD |
3104 | [BZ #6867] |
3105 | * sysdeps/powerpc/elf/rtld-global-offsets.sym: Fix typo. | |
3106 | ||
6f576bf6 UD |
3107 | [BZ #6919] |
3108 | * posix/spawnattr_getschedparam.c (posix_spawnattr_getschedparam): | |
3109 | Fix length of copy operation. | |
3110 | ||
45a8beb5 UD |
3111 | 2008-10-02 Pierre Habouzit <madcoder@debian.org> |
3112 | ||
3113 | * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Use the eventfd2 syscall | |
3114 | and fix its calling convention. | |
3115 | ||
ad12e635 UD |
3116 | 2008-10-07 Andreas Schwab <schwab@suse.de> |
3117 | ||
3118 | [BZ #6942] | |
3119 | * resolv/res_send.c (send_vc): Fix last change. | |
3120 | (send_dg): Align here as well. | |
3121 | ||
3cf44918 UD |
3122 | 2008-10-31 Ulrich Drepper <drepper@redhat.com> |
3123 | ||
dbb6ab3e UD |
3124 | * sysdeps/unix/sysv/linux/ulimit.c (__ulimit): Handle UL_GETFSIZE |
3125 | return value in case rlimit is RLIM_INFINITY. | |
3126 | ||
3127 | [BZ #6947] | |
3128 | * sysdeps/unix/sysv/linux/ulimit.c (__ulimit): Fix return value | |
3129 | for UL_SETFSIZE. | |
1828d6b0 UD |
3130 | * resource/Makefile (tests): Add bug-ulimit1. |
3131 | * resource/bug-ulimit1.c: New file. | |
dbb6ab3e | 3132 | |
a5ff533e UD |
3133 | [BZ #6974] |
3134 | * sunrpc/rpc_main.c (mkfile_output): Properly handle filename | |
3135 | without dot. Properly terminate the string with a null byte. | |
3136 | Based on a patch by Aurelien Jarno <aurelien@aurel32.net>. | |
3137 | ||
4bed549a UD |
3138 | [BZ #6980] |
3139 | * debug/getgroups_chk.c (__getgroups_chk): Return EINVAL error for | |
3140 | negative sizees. | |
3141 | * posix/bits/unistd.h (getgroups): Call __getgroups_chk for | |
3142 | negative __size. | |
3143 | ||
3cf44918 UD |
3144 | [BZ #6995] |
3145 | * sysdeps/powerpc/powerpc32/dl-machine.c: Fix typo in message. | |
3146 | ||
21b07d8b UD |
3147 | 2008-10-30 Ulrich Drepper <drepper@redhat.com> |
3148 | ||
332c4465 UD |
3149 | * grp/initgroups.c (internal_getgrouplist): Don't prematurely |
3150 | abort if there is no initgroups_dyn function. | |
3151 | ||
21b07d8b UD |
3152 | * resolv/res_send.c (send_dg): On timeout, only return nonzero |
3153 | result if any of the queries really provided an answer. | |
3154 | ||
4caa3fb7 UD |
3155 | 2008-10-28 Ulrich Drepper <drepper@redhat.com> |
3156 | ||
3157 | * po/lt.po: Update from translation team. | |
3158 | ||
a22c3a0d UD |
3159 | 2008-10-26 Ulrich Drepper <drepper@redhat.com> |
3160 | ||
3161 | * po/id.po: Update from translation team. | |
3162 | ||
49685151 UD |
3163 | 2008-10-24 Ulrich Drepper <drepper@redhat.com> |
3164 | ||
3165 | * resolv/res_query.c (__libc_res_nquery): Add a few casts. | |
660675de | 3166 | Fix tests for existence of second reply. |
49685151 | 3167 | |
8d9d5d35 UD |
3168 | 2008-10-23 Ulrich Drepper <drepper@redhat.com> |
3169 | ||
3170 | * po/id.po: New file. | |
3171 | Contributed by the Indonesian translation team. | |
3172 | ||
208bc836 UD |
3173 | 2008-10-22 Dmitry V. Levin <ldv@altlinux.org> |
3174 | ||
3175 | * misc/syslog.c (openlog_internal): Fix __have_sock_cloexec | |
3176 | initialization. | |
3177 | ||
60a23f5a UD |
3178 | 2008-10-17 Jakub Jelinek <jakub@redhat.com> |
3179 | ||
3180 | * elf/Makefile: Add rules to build and run tst-tls17. | |
3181 | * elf/tst-tls17.c: New test. | |
3182 | * elf/tst-tlsmod17a.c: New file. | |
3183 | * elf/tst-tlsmod17b.c: Likewise. | |
3184 | ||
292eb817 UD |
3185 | 2008-10-17 Ulrich Drepper <drepper@redhat.com> |
3186 | ||
3187 | * stdlib/divmod_1.c: Use correct type for dummy variable. | |
3188 | * stdlib/mod_1.c: Likewise. | |
3189 | ||
5df2a427 UD |
3190 | 2008-10-16 Ulrich Drepper <drepper@redhat.com> |
3191 | ||
3192 | * elf/dl-tls.c (_dl_update_slotinfo): Copy all of the initial DTV. | |
3193 | ||
472e5e08 JJ |
3194 | 2008-10-16 Jakub Jelinek <jakub@redhat.com> |
3195 | ||
3196 | * sysdeps/unix/sysv/linux/sys/signalfd.h (signalfd): Fix __THROW vs. | |
3197 | __nonnull order for C++. | |
3198 | * sysdeps/unix/sysv/linux/alpha/sys/signalfd.h (signalfd): Likewise. | |
3199 | * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h (signalfd): Likewise. | |
3200 | ||
86900abd RM |
3201 | 2008-10-01 Daniel Jacobowitz <dan@codesourcery.com> |
3202 | ||
3203 | * stdlib/longlong.h: Update from GCC. | |
3204 | ||
19c10a47 JJ |
3205 | 2008-10-09 Jakub Jelinek <jakub@redhat.com> |
3206 | David S. Miller <davem@davemloft.net> | |
3207 | ||
3208 | * sysdeps/sparc/sparc64/sparcv9v/memcpy.S: When not USE_BPR, | |
3209 | make sure any registers used with 64-bit 'branch-on-register' | |
3210 | instructions have their top 32-bits clear. | |
3211 | * sysdeps/sparc/sparc64/sparcv9v/memset.S: Likewise. | |
3212 | * sysdeps/sparc/sparc64/sparcv9v2/memcpy.S: Likewise. | |
3213 | ||
2fdde3b9 UD |
3214 | 2008-09-18 Andreas Schwab <schwab@suse.de> |
3215 | ||
3216 | [BZ #6942] | |
3217 | * resolv/res_send.c (send_vc): Fix use of unaligned address. | |
f00d47a3 | 3218 | Properly handle partial reads. |
2fdde3b9 | 3219 | |
6ba25fcb RM |
3220 | 2008-10-01 Mark Shinwell <shinwell@codesourcery.com> |
3221 | ||
3222 | * elf/elf.h (STO_MIPS_PLT): New. | |
3223 | (R_MIPS_COPY): New. | |
3224 | (R_MIPS_JUMP_SLOT): New. | |
3225 | (R_MIPS_NUM): Redefine to 128. | |
3226 | (DT_MIPS_PLTGOT): New. | |
3227 | (DT_MIPS_RWPLT): New. | |
3228 | (DT_MIPS_NUM): Redefine to 0x35. | |
3229 | ||
97898201 UD |
3230 | 2008-10-01 Ulrich Drepper <drepper@redhat.com> |
3231 | ||
3232 | * timezone/africa: Update from tzdata2008f. | |
3233 | * timezone/asia: Likewise. | |
3234 | * timezone/australasia: Likewise. | |
3235 | * timezone/europe: Likewise. | |
3236 | * timezone/leapseconds: Likewise. | |
3237 | * timezone/northamerica: Likewise. | |
3238 | * timezone/southamerica: Likewise. | |
3239 | * timezone/zone.tab: Likewise. | |
3240 | ||
3452ded5 UD |
3241 | 2008-09-30 Ulrich Drepper <drepper@redhat.com> |
3242 | ||
3243 | * nscd/connections.c: Disable use of paccept for now. | |
3244 | ||
54ad9327 UD |
3245 | 2008-09-29 Ulrich Drepper <drepper@redhat.com> |
3246 | ||
8ec2550e UD |
3247 | * socket/Versions: Remove paccept export for GLIBC_2.9. |
3248 | * socket/Makefile (routines): Remove paccept. | |
3249 | * socket/sys/socket.h: Remove paccept declaration. | |
3250 | ||
54ad9327 UD |
3251 | * po/sv.po: Update from translation team. |
3252 | ||
1c5eba39 UD |
3253 | 2008-09-22 Deborah S. Townsend <dstownse@us.ibm.com> |
3254 | ||
3255 | * sysdeps/s390/s390-64/s390x-mcount.S: Replace ahi with aghi. | |
3256 | * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise. | |
3257 | ||
0a26fc4d UD |
3258 | 2008-09-16 Ulrich Drepper <drepper@redhat.com> |
3259 | ||
3260 | * dlfcn/dlopen.c (dlopen_doit): Allow __RTLD_SPROF flag. | |
3261 | Patch by Olivier Fourdan <ofourdan@redhat.com>. | |
3262 | ||
2bcaff08 UD |
3263 | 2008-09-15 Ulrich Drepper <drepper@redhat.com> |
3264 | ||
3265 | * sunrpc/rpc/svc.h: Declare svcfd_create. | |
3266 | Patch by Michael Solberg <msolberg@redhat.com>. | |
3267 | ||
caa60cb9 | 3268 | 2008-09-12 Flavio Leitner <fleitner@redhat.com> |
f00d47a3 | 3269 | Ulrich Drepper <drepper@redhat.com> |
caa60cb9 UD |
3270 | |
3271 | * malloc/malloc.c (public_vALLOc): Try other arenas in case | |
3272 | _int_valloc fails. | |
3273 | (public_pVALLOc): Likewise. | |
3274 | ||
6c161112 AJ |
3275 | 2008-09-02 Andreas Jaeger <aj@suse.de> |
3276 | ||
3277 | * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Fix last | |
3278 | commit. | |
3279 | ||
0cb269d7 RM |
3280 | 2008-08-26 Aurelien Jarno <aurelien@aurel32.net> |
3281 | ||
452034cc | 3282 | [BZ #6860] |
2bcaff08 | 3283 | * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Fix a typo. |
0cb269d7 | 3284 | |
13074b5b RM |
3285 | 2008-07-18 Daniel Jacobowitz <dan@codesourcery.com> |
3286 | ||
3287 | * Makefile (check-data): Check data directory in add-ons. | |
3288 | * elf/Makefile (check-data): Likewise. | |
3289 | ||
58801a0e RM |
3290 | 2008-08-18 Roland McGrath <roland@redhat.com> |
3291 | ||
3292 | * configure.in (--with-cpu): Check compiler support for -march/-mcpu. | |
3293 | * configure: Regenerated. | |
3294 | * config.make.in (cflags-cpu): New substituted variable. | |
3295 | (with-cpu): Variable removed. | |
3296 | * Makeconfig (+cflags): Use $(cflags-cpu), not $(with-cpu). | |
3297 | ||
7df49c5d UD |
3298 | 2008-08-14 Ryan S. Arnold <rsa@us.ibm.com> |
3299 | ||
3300 | [BZ #6845] | |
3301 | * sysdeps/powerpc/fpu/bits/mathinline.h (__signbitl): Copy new | |
3302 | __signbitl definition and __LONG_DOUBLE_128__ guard from: | |
3303 | * sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h: Remove as | |
3304 | redundant. Functions which call floating point assembler operations | |
3305 | should go into a sysdeps powerpc/fpu directory. | |
3306 | ||
965805e8 UD |
3307 | 2008-08-15 Ulrich Drepper <drepper@redhat.com> |
3308 | ||
3309 | * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Define MAP_STACK. | |
3310 | * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise. | |
3311 | ||
9cf73ab0 UD |
3312 | 2008-08-14 Ulrich Drepper <drepper@redhat.com> |
3313 | ||
62a1ffc6 UD |
3314 | * sysdeps/x86_64/memset.S: Reduce size of tables for PIC. |
3315 | ||
9cf73ab0 UD |
3316 | * sysdeps/unix/sysv/linux/dl-origin.c (_dl_get_origin): Undo all |
3317 | change related to AT_EXECFN. We cannot use that string. | |
3318 | * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove | |
3319 | _dl_execfn member. | |
3320 | * elf/dl-support.c: Remove _dl_execfn variable. | |
3321 | (_dl_aux_init): Remove handling of AT_EXECFN. | |
3322 | * elf/dl-sysdep.c (_dl_sysdep_start): Remove handling of AT_EXECFN. | |
3323 | * elf/rtld.c (process_envvars): Remove use of __ASSUME_AT_EXECFN. | |
3324 | ||
1bfa05cf UD |
3325 | 2008-08-13 Ulrich Drepper <drepper@redhat.com> |
3326 | ||
7b3ba2c4 UD |
3327 | [BZ #6544] |
3328 | * libio/fmemopen.c: Implement binary mode. In this mode no NUL | |
3329 | byte gets added to writes and seeks from the end use the length of | |
3330 | the buffer and not the currently terminating NUL byte. | |
3331 | ||
1bfa05cf UD |
3332 | [BZ #6634] |
3333 | * login/utmp_file.c (getutent_r_file): Take additional parameter. | |
3334 | Set to true if locking failed. | |
3335 | (getutid_r_file): Adjust caller. | |
3336 | (pututline_file): Likewise. Return NULL in this case. | |
3337 | Patch mostly by halesh.s@gmail.com. | |
3338 | ||
c5671698 UD |
3339 | 2008-08-12 Ulrich Drepper <drepper@redhat.com> |
3340 | ||
3341 | [BZ #6589] | |
3342 | * sysdeps/unix/sysv/linux/ifaddrs.c (struct sockaddr_ll_max): | |
3343 | Define. | |
3344 | (struct ifaddrs_storage): Use it instead of sockaddr_ll. | |
3345 | ||
4497384e UD |
3346 | 2008-08-12 Ryan S. Arnold <rsa@us.ibm.com> |
3347 | ||
3348 | [BZ #6839] | |
3349 | * sysdeps/powerpc/powerpc32/dl-machine.c (CHECK_STATIC_TLS): Remove | |
3350 | macro since it is now available in elf/dynamic-link.h. | |
3351 | ||
675d7111 RM |
3352 | 2008-08-12 Roland McGrath <roland@frob.com> |
3353 | ||
3354 | * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Avoid -Wparenthesis triggers, | |
3355 | in case used outside of libc. | |
3356 | Reported by Samuel Thibault <samuel.thibault@ens-lyon.org> | |
3357 | ||
8b254432 UD |
3358 | 2008-08-11 Ulrich Drepper <drepper@redhat.com> |
3359 | ||
3360 | * resolv/res_mkquery.c (res_nmkquery): Call ns_name_compress | |
3361 | directly instead of going through dn_comp. | |
3362 | ||
ac84eeca RM |
3363 | 2008-08-11 Aurelien Jarno <aurel32@debian.org> |
3364 | ||
3365 | * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock): | |
3366 | Fix asm constraints. | |
3367 | ||
f081b451 UD |
3368 | 2008-08-07 Ulrich Drepper <drepper@redhat.com> |
3369 | ||
3370 | [BZ #6790] | |
3371 | * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_PROBE): Define. | |
3372 | (IPV6_PMTUDISC_PROBE): Likewise. | |
3373 | ||
30a4429e UD |
3374 | 2008-08-07 Pete Eberlein <eberlein@us.ibm.com> |
3375 | ||
3376 | [BZ #6791] | |
3377 | * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (PROT_SAO): Define. | |
3378 | ||
1642331d | 3379 | 2008-08-01 Steven Munroe <sjmunroe@us.ibm.com> |
626f68ff | 3380 | Carlos Eduardo Seo <cseo@linux.vnet.ibm.com> |
1642331d UD |
3381 | |
3382 | [BZ #6817] | |
3383 | * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): | |
3384 | Added the members 'vsx' and 'arch_2_06'. | |
3385 | (_dl_powerpc_platforms): Add the member 'power7'. | |
3386 | * sysdeps/powerpc/dl-procinfo.h: Modify _DL_HWCAP_FIRST | |
3387 | to reflect the changes required by VSX and ISA 2.06. | |
3388 | Modify _DL_PLATFORMS_COUNT to reflect the addition of | |
3389 | 'power7'. | |
3390 | Defined PPC_PLATFORM_POWER7. | |
3391 | (_dl_string_platform): Add support for POWER7. | |
3392 | * sysdeps/powerpc/sysdep.h: Define bit masks for VSX | |
3393 | capability and ISA 2.06. | |
3394 | ||
48b94661 UD |
3395 | 2008-08-07 Ulrich Drepper <drepper@redhat.com> |
3396 | ||
3397 | [BZ #6824] | |
3398 | * sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h: Use correct | |
3399 | macro to detect use of 128 bit long double. | |
3400 | Patch by Ryan S. Arnold <rsa@us.ibm.com>. | |
3401 | ||
9523fd28 UD |
3402 | 2008-08-05 Ulrich Drepper <drepper@redhat.com> |
3403 | ||
9c0cb150 UD |
3404 | * scripts/gen-as-const.awk: Use 32-bit values on 32-bit platforms. |
3405 | ||
46aea5cb | 3406 | [BZ #5794] |
9523fd28 UD |
3407 | * sysdeps/i386/fpu/s_expm1l.S: Simply use exp implementation for large |
3408 | parameters. | |
3409 | * sysdeps/x86_64/fpu/s_expm1l.S: Likewise. | |
3410 | Patch by Denys Vlasenko <dvlasenk@redhat.com>. | |
3411 | ||
c400c931 UD |
3412 | 2008-08-03 Ulrich Drepper <drepper@redhat.com> |
3413 | ||
3414 | * nscd/connections.c (main_loop_poll): Pass a buffer which is | |
3415 | guaranteed to be large enough to read inotify event. Ignore | |
3416 | EAGAIN error. Better error message. Add branch predicition. | |
3417 | (main_loop_epoll): Likewise. | |
3418 | ||
3f39adac RM |
3419 | 2008-08-02 Roland McGrath <roland@frob.com> |
3420 | ||
3421 | * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock): | |
3422 | Add memory clobbers. | |
3423 | ||
3501542f UD |
3424 | 2008-08-02 Ulrich Drepper <drepper@redhat.com> |
3425 | ||
48b22986 UD |
3426 | * manual/arith.texi: Avoid @strong{Note:}. |
3427 | * manual/creature.texi: Likewise. | |
3428 | * manual/filesys.texi: Likewise. | |
3429 | * manual/math.texi: Likewise. | |
3430 | * manual/memory.texi: Likewise. | |
3431 | * manual/resource.texi: Likewise. | |
3432 | * manual/syslog.texi: Likewise. | |
3433 | * manual/time.texi: Likewise. | |
3434 | ||
3501542f UD |
3435 | * sysdeps/posix/clock_getres.c (hp_timing_getres): Remove inline |
3436 | to prevent warning. | |
3437 | ||
17756df3 UD |
3438 | 2008-08-01 Ulrich Drepper <drepper@redhat.com> |
3439 | ||
ebcc1f4d UD |
3440 | * sysdeps/unix/sysv/linux/Versions: Fix changes due to old patch for |
3441 | new epoll_create1 interface. | |
3442 | * sysdeps/unix/sysv/linux/syscalls.list: Likewise. | |
3443 | * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise. | |
3444 | * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise. | |
3445 | ||
144bfa86 UD |
3446 | * include/arpa/nameser.h (NS_GET16): Use const pointer. |
3447 | (NS_GET32): Likewise. | |
3448 | ||
7e1b29c6 UD |
3449 | * sysdeps/unix/sysv/linux/kernel-features.h: s390 has the new |
3450 | syscalls, too. | |
3451 | ||
42fa1f67 UD |
3452 | * sysdeps/unix/sysv/linux/dl-origin.c (_dl_get_origin): We cannot |
3453 | use the AT_EXECFN value if it is no absolute path. | |
3454 | * sysdeps/unix/sysv/linux/kernel-features.h: Never define | |
3455 | __ASSUME_AT_EXECFN. | |
3456 | ||
cd5743fd UD |
3457 | * Versions.def: Add GLIBC_2.9 to libresolv. |
3458 | * include/resolv.h: Remove hidden proto declarations for __ns_* | |
3459 | functions. Add them for __dn_count_labels and __p_secstodate. | |
3460 | * include/arpa/nameser.h: Add a number of hidden proto declarations. | |
3461 | Define ns_msg_getflags macro here. | |
3462 | * resolv/res_debug.c: Add hidden definition for __dn_count_labels | |
3463 | and __p_secstodate. | |
3464 | * resolv/Versions: Export functions from <arpa/nameser.h> from | |
3465 | libresolv in version GLIBC_2.9. | |
3466 | * resolv/ns_name.c: Integrate changes from bind 9.5.0. Add necessary | |
3467 | hidden definitions. | |
3468 | * resolv/ns_netint.c: Likewise. | |
3469 | * resolv/ns_parse.c: Likewise. | |
3470 | * resolv/ns_print.c: Likewise. | |
3471 | * resolv/ns_samedomain.c: Likewise. | |
3472 | * resolv/ns_ttl.c: Likewise. | |
3473 | * resolv/arpa/nameser_compat.h: Likewise. | |
3474 | * resolv/arpa/nameser.h: Likewise. Remove macros which redirect | |
3475 | function calls. | |
3476 | * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Use __ns_get16 | |
3477 | instead of ns_get16. | |
3478 | * resolv/nss_dns/dns-host.c (getanswer_r): Use __ns_get16 and | |
3479 | __ns_get32 instead of ns_get16 and ns_get32 respectively. | |
3480 | (gaih_getanswer_slice): Likewise. | |
3481 | * resolv/Makefile (libresolv-routines): Add ns_date. | |
3482 | * resolv/ns_date.c: New file. | |
3483 | ||
17756df3 UD |
3484 | * elf/Makefile (check-localplt.out): Also check libresolv and |
3485 | libcrypt. | |
3486 | ||
46bc5d43 UD |
3487 | 2008-07-31 Ulrich Drepper <drepper@redhat.com> |
3488 | ||
3489 | * sysdeps/unix/sysv/linux/kernel-features.h: Define | |
3490 | __ASSUME_O_CLOEXEC. | |
3491 | ||
a707cff6 UD |
3492 | 2008-07-30 Ulrich Drepper <drepper@redhat.com> |
3493 | ||
3c227386 UD |
3494 | * sysdeps/posix/getaddrinfo.c (gaih_inet): Raise size of initial |
3495 | buffer passed to NSS functions. | |
3496 | ||
9523fd28 | 3497 | * nscd/connections.c (nscd_init): Typo in preprocessor directive. |
bd7f4857 UD |
3498 | |
3499 | * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PACCEPT): | |
3500 | Define. | |
3501 | ||
a707cff6 UD |
3502 | * misc/syslog.c (openlog_internal): Fix compile problem. |
3503 | ||
0424d007 RM |
3504 | 2008-07-28 Roland McGrath <roland@redhat.com> |
3505 | ||
3506 | * elf/dl-sysdep.c (_dl_show_auxv): Add AT_EXECFN to the table. | |
3507 | ||
b7da31a1 UD |
3508 | 2008-07-28 Ulrich Drepper <drepper@redhat.com> |
3509 | ||
300ea0ad UD |
3510 | * io/ftw.c (add_object): Remove inline to avoid warning. |
3511 | ||
d6173baa UD |
3512 | * sysdeps/unix/sysv/linux/paccept.c: Fix compile problem. |
3513 | ||
b7da31a1 UD |
3514 | * resolv/res_send.c (__libc_res_nsend): Take additional parameter. |
3515 | Use it instead of locally defined resplen2 variable. | |
3516 | (res_nsend): Adjust for __libc_res_nsend interface change. | |
3517 | (send_vc): Initialize *resplen2 if necessary. Read length of | |
3518 | package into an appropriately aligned variable. Store converted length | |
3519 | in new variable and use it appropriately. | |
3520 | Add branch prediction help. | |
3521 | * resolv/res_query.c (__libc_res_nquery): Take additional parameter | |
3522 | and pass it on to __libc_res_nsend. Adjust all callers. | |
3523 | (__libc_res_nsearch): Likewise. | |
3524 | (__libc_res_nqeurydomain): Likewise. | |
3525 | * resolv/nss_dns/dns-host.c: Adjust for __libc_res_nsearch interface | |
3526 | change. | |
3527 | (_nss_dns_gethostbyname4): Don't unconditionally allocate tmp array. | |
3528 | Define resplen2 variable and pass it to __libc_res_nsearch and then | |
3529 | to gaih_getanswer. | |
3530 | (getanswer_r): In case of incorrect DNS data don't overread buffer. | |
3531 | Add branch prediction. | |
3532 | (gaih_getanswer_slice): Likewise. Check for invalid data types. | |
3533 | (gaih_getanswer): Don't decode second slice if first one failed due | |
3534 | to a too small buffer. Don't let not found status of second | |
3535 | decoder shadow results of the first. | |
3536 | * resolv/gethnamaddr.c (gethostbyname2): Adjust for __libc_res_nsearch | |
3537 | and __libc_res_nquery interface changes | |
3538 | (gethostbyaddr): Adjust for __libc_res_nquery interface change. | |
3539 | * include/resolv.h: Adjust prototypes for __libc_res_nquery, | |
3540 | __libc_res_nsearch, and __libc_res_nsend. | |
3541 | * resolv/nss_dns/dns-canon.c: Adjust for __libc_res_nquery interface | |
3542 | change. | |
3543 | * resolv/nss_dns/dns-network.c: Adjust for __libc_res_nquery and | |
3544 | __libc_res_nsearch interface changes. | |
3545 | ||
11ed3eae UD |
3546 | 2008-07-27 Ulrich Drepper <drepper@redhat.com> |
3547 | ||
372aece0 UD |
3548 | * libio/iopopen.c (_IO_new_proc_open): Remove unnecessary volatile. |
3549 | ||
e038616f UD |
3550 | * posix/wordexp.c (exec_comm): Use pipe2 if possible to create |
3551 | file descriptors with close-on-exec set. | |
3552 | (exec_comm_child): Fix the case where the write end of the pipe is | |
3553 | STDOUT_FILENO already. In case it is, clear close-on-exec. | |
3554 | ||
d6e0c2a6 UD |
3555 | * sysdeps/unix/sysv/linux/syscalls.list: Add __pipe2 alias. |
3556 | * io/pipe2.c: Likewise. | |
3557 | * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PIPE2 | |
3558 | instead of __ASSUME_PACCEPT. | |
3559 | * include/unistd.h: Declare __have_pipe2. | |
3560 | * libio/iopopen.c: Implement "e" flag. | |
3561 | * libio/Makefile (tests): Add tst-popen1. | |
3562 | * libio/tst-popen1.c: New file. | |
3563 | ||
11ed3eae UD |
3564 | * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_ISDN and AF_ISDN. |
3565 | * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise. | |
3566 | ||
7438a80d UD |
3567 | 2008-07-26 Ulrich Drepper <drepper@redhat.com> |
3568 | ||
c4a710b6 UD |
3569 | [BZ #6771] |
3570 | * libio/fileops.c (_IO_new_file_attach): Preserve errno around | |
3571 | success call of _IO_SEEKOFF or calls which failed because the | |
3572 | descriptor is for a pipe. | |
3573 | ||
31f3b159 UD |
3574 | * sunrpc/key_call.c (getkeyserv_handle): Use FD_CLOEXEC instead of |
3575 | magic number. | |
3576 | ||
c0216dfc UD |
3577 | * misc/syslog.c (openlog_internal): Use SOCK_CLOEXEC if possible. |
3578 | ||
72112b0c UD |
3579 | * malloc/mtrace.c (mtrace): Use 'e' flag in fopen call. Drop |
3580 | F_SETFD use if we know fopen set the flag. | |
3581 | ||
7438a80d UD |
3582 | * login/utmp_file.c (setutent_file): Minor optimization in case |
3583 | O_CLOEXEC is available. | |
3584 | ||
7b91359b UD |
3585 | 2008-07-24 Tom "spot" Callaway <tcallawa@redhat.com> |
3586 | ||
3587 | * Makeconfig: Define pie-ccflag and PIE-ccflag variables. | |
3588 | * elf/Makefile: Use pie-ccflag variable. | |
3589 | * nscd/Makefile: Likewise. | |
3590 | * sysdeps/sparc/Makefile: Set $(pie-ccflag) to -fPIE. | |
3591 | ||
4057dc45 UD |
3592 | 2008-07-21 Andreas Krebbel <krebbel1@de.ibm.com> |
3593 | ||
e7135e24 | 3594 | [BZ #6724] |
4057dc45 UD |
3595 | * Versions.def: Add GLIBC_2.9 version tag for libutil. |
3596 | * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Copy of | |
3597 | gnu/bits/utmp.h. Check for __WORDSIZE_COMPAT32 removed. | |
3598 | * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Copy of | |
3599 | gnu/bits/utmpx.h. Check for __WORDSIZE_COMPAT32 removed. | |
3600 | * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add new files | |
3601 | utmp32, utmpx32 and login32. | |
3602 | * sysdeps/unix/sysv/linux/s390/s390-32/Versions: Add 2.9 | |
3603 | versions of struct utmp functions to libc and libutil. | |
3604 | * sysdeps/unix/sysv/linux/s390/s390-32/utmp-compat.h: New file. | |
3605 | * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c: New file. | |
3606 | * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: New file. | |
3607 | * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c: New file. | |
3608 | * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: New file. | |
3609 | * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c: New file. | |
3610 | * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: New file. | |
3611 | * sysdeps/unix/sysv/linux/s390/s390-32/getutmp.c: New file. | |
3612 | * sysdeps/unix/sysv/linux/s390/s390-32/getutxent.c: New file. | |
3613 | * sysdeps/unix/sysv/linux/s390/s390-32/getutxid.c: New file. | |
3614 | * sysdeps/unix/sysv/linux/s390/s390-32/getutxline.c: New file. | |
3615 | * sysdeps/unix/sysv/linux/s390/s390-32/login.c: New file. | |
3616 | * sysdeps/unix/sysv/linux/s390/s390-32/login32.c: New file. | |
3617 | * sysdeps/unix/sysv/linux/s390/s390-32/pututxline.c: New file. | |
3618 | * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c: New file. | |
3619 | * sysdeps/unix/sysv/linux/s390/s390-32/updwtmpx.c: New file. | |
3620 | * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: New file. | |
3621 | * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.c: New file. | |
3622 | * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: New file. | |
3623 | * sysdeps/unix/sysv/linux/s390/s390-32/utmpx-convert.h: New file. | |
3624 | * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.c: New file. | |
3625 | * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: New file. | |
3626 | ||
ff0bf753 UD |
3627 | 2008-07-26 Ulrich Drepper <drepper@redhat.com> |
3628 | ||
619cc2f6 UD |
3629 | * scripts/gen-as-const.awk: Generate more widely usable code by |
3630 | using 64-bit arithmetic. | |
3631 | ||
1311b164 | 3632 | * stdio-common/printf_fp.c (___printf_fp): Give wide outout code |
3f414923 | 3633 | the same treatment as narrow output code in last patch. |
1311b164 | 3634 | |
ff0bf753 UD |
3635 | * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Namespace cleanup. |
3636 | ||
3f414923 | 3637 | [BZ #6763] |
ff0bf753 UD |
3638 | * elf/dl-load.c (local_strdup): Remove inline. |
3639 | (_dl_map_object_from_fd): Don't allocate l_symbolic_searchlist.r_list. | |
3640 | * elf/dl-object.c (_dl_new_object): Allocate symbolic searchlist as | |
3641 | part of the object. | |
3642 | ||
3643 | * sysdeps/unix/sysv/linux/dl-origin.c: Add const to avoid warning. | |
3644 | ||
8ccf22f9 UD |
3645 | 2008-07-25 Ulrich Drepper <drepper@redhat.com> |
3646 | ||
bdd24a30 UD |
3647 | * sysdeps/unix/sysv/linux/kernel-features.h: IA-64 and SPARC have |
3648 | the new syscalls, too. | |
b5c0b5e4 | 3649 | |
b41f1d14 UD |
3650 | * sysdeps/i386/i686/memcmp.S: Fix unwind information. |
3651 | Reported by Paul Pluzhnikov <ppluzhnikov@google.com>. | |
3652 | ||
3703468e UD |
3653 | [BZ #6698] |
3654 | * stdio-common/_i18n_number.h (_i18n_number_rewrite): Take additional | |
3655 | parameter for end of buffer. If temporary copy is too large use | |
3656 | malloc. | |
3657 | * stdio-common/vfprintf.c: Adjust for _i18n_number_rewrite | |
3658 | interface change. | |
3659 | * stdio-common/printf_fp.c (__printf_fp): Likewise.. Account for | |
3660 | string rewrite when allocating buffer. | |
3661 | ||
bb0277bf UD |
3662 | * sysdeps/unix/sysv/linux/kernel-features.h: PPC has the new |
3663 | syscalls, too. | |
3664 | ||
9dd84772 UD |
3665 | * nscd/connections.c (nscd_init): Clean up fcntl call. |
3666 | ||
c418b1ba UD |
3667 | * nscd/nscd_helper.c (open_socket): Use SOCK_CLOEXEC and |
3668 | SOCK_NONBLOCK if possible. | |
3669 | ||
b206d8b1 UD |
3670 | * sysdeps/unix/sysv/linux/opensock.c (__opensock): Use |
3671 | SOCK_CLOEXEC if available. | |
3672 | ||
8ccf22f9 UD |
3673 | * include/rpc/clnt.h: Declare __libc_clntudp_bufcreate and |
3674 | __libc_clntudp_bufcreate_internal. | |
3675 | * include/sys/socket.h: Declare __have_sock_cloexec. | |
3676 | * socket/Makefile (aux): Add have_sock_cloexec. | |
3677 | * socket/have_sock_cloexec.c: New file. | |
3678 | * sunrpc/clnt_udp.h (clntudp_bufcreate): Now a wrapper around | |
3679 | __libc_clntudp_bufcreate. | |
3680 | (__libc_clntudp_bufcreate): Former implementation of clntudp_bufcreate | |
3681 | which takes an additional parameter. Create socket with non-blocking | |
3682 | mode and close-on-exec flag set, if wanted. | |
3683 | * sunrpc/Versions: Export __libc_clntudp_bufcreate@GLIBC_PRIVATE. | |
3684 | * nis/ypclnt.c (yp_bind_client_create): Use __libc_clntpudp_bufcreate | |
3685 | instead of clntudp_create. The socket has already the close-on-exec | |
3686 | flag set if SOCK_CLOEXEC is defined. | |
3687 | ||
579cdf5a UD |
3688 | 2008-07-24 Ulrich Drepper <drepper@redhat.com> |
3689 | ||
3ff2c948 UD |
3690 | * sysdeps/unix/sysv/linux/kernel-features.h: Define |
3691 | __ASSUME_PACCEPT, __ASSUME_IN_NONBLOCK, and __ASSUME_PACCEPT if | |
3692 | appropriate. | |
3693 | * nscd/connections.c: Avoid fcntl calls to set close-on-exec flag and | |
3694 | non-blocking mode by using socket, paccept, and inotify_init1. | |
3695 | ||
bdcebfc4 UD |
3696 | * Versions.def (glibc): Add GLIBC_2.9. |
3697 | * io/Makefile (routines): Add dup3 and pipe2. | |
3698 | * io/Versions [glibc] (GLIBC_2.9): Add dup3 and pipe2. | |
3699 | * io/dup3.c: New file. | |
3700 | * io/pipe2.c: New file. | |
3701 | * posix/unistd.h: Declare dup3 and pipe2. | |
3702 | * socket/Makefile (routines): Add paccept. | |
3703 | * socket/Versions [glibc] (GLIBC_2.9): Add paccept. | |
3704 | * socket/paccept.c: New file. | |
3705 | * socket/sys/socket.h: Declare paccept. | |
3706 | * sysdeps/unix/syscalls.list: Add entry for dup3. | |
3707 | * sysdeps/unix/sysv/linux/Versions [glibc] (GLIBC_2.9): Add | |
3708 | epoll_create2 and inotify_init1. | |
3709 | * sysdeps/unix/sysv/linux/eventfd.c: Use eventfd1 syscall if possible. | |
3710 | * sysdeps/unix/sysv/linux/paccept.c: New file. | |
3711 | * sysdeps/unix/sysv/linux/signalfd.c: Use signalfd4 syscall if | |
3712 | possible. | |
3713 | * sysdeps/unix/sysv/linux/socketcall.h: Add SOCKOP_paccept. | |
3714 | * sysdeps/unix/sysv/linux/syscalls.list: Add epoll_create2, | |
3715 | inotify_init1, and pipe2 entries. | |
3716 | * sysdeps/unix/sysv/linux/alpha/sys/epoll.h: New file. | |
3717 | * sysdeps/unix/sysv/linux/alpha/sys/eventfd.h: New file. | |
3718 | * sysdeps/unix/sysv/linux/alpha/sys/inotify.h: New file. | |
3719 | * sysdeps/unix/sysv/linux/alpha/sys/signalfd.h: New file. | |
3720 | * sysdeps/unix/sysv/linux/alpha/sys/timerfd.h: New file. | |
3721 | * sysdeps/unix/sysv/linux/bits/socket.h: Define SOCK_CLOEXEC and | |
3722 | SOCK_NONBLOCK. | |
3723 | * sysdeps/unix/sysv/linux/i386/paccept.S: New file. | |
3724 | * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: New file. | |
3725 | * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: New file. | |
3726 | * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: New file. | |
3727 | * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: New file. | |
3728 | * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: New file. | |
3729 | * sysdeps/unix/sysv/linux/sparc/bits/socket.h: New file. | |
3730 | * sysdeps/unix/sysv/linux/sys/epoll.h: Define EPOLL_CLOEXEC and | |
3731 | EPOLL_NONBLOCK. Declare epoll_create2. | |
3732 | * sysdeps/unix/sysv/linux/sys/eventfd.h: Define EFD_CLOEXEC and | |
3733 | EFD_NONBLOCK. | |
3734 | * sysdeps/unix/sysv/linux/sys/inotify.h: Define IN_CLOEXEC and | |
3735 | IN_NONBLOCK. Declare inotify_init1. | |
3736 | * sysdeps/unix/sysv/linux/sys/signalfd.h: Define SFD_CLOEXEC and | |
3737 | SFD_NONBLOCK. | |
3738 | * sysdeps/unix/sysv/linux/sys/timerfd.h: Define TFD_CLOEXEC and | |
3739 | TFD_NONBLOCK. | |
3740 | ||
0e077a7e UD |
3741 | * elf/elf.h: Define AT_EXECFN. |
3742 | * elf/rtld.c [!__ASSUME_AT_EXECFN] (process_envvars): Don't handle | |
3743 | LD_ORIGIN_PATH. | |
3744 | * elf/dl-sysdep.c (_dl_sysdep_start): Handle AT_EXECFN. | |
3745 | * elf/dl-support.c: Define _dl_execfn. Don't define _dl_origin_path | |
3746 | if __ASSUME_AT_EXECFN is defined. | |
3747 | (_dl_aux_init): Handle AT_EXECFN. | |
3748 | * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_AT_EXECFN | |
3749 | for 2.6.27 and up. | |
3750 | * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_execfn. | |
3751 | Don't define _dl_origin_path if __ASSUME_AT_EXECFN is defined. | |
3752 | * sysdeps/unix/sysv/linux/dl-origin.c (_dl_get_origin): Use | |
3753 | _dl_execfn if available and avoid compatibility code if | |
3754 | __ASSUME_AT_EXECFN is defined. | |
3755 | ||
579cdf5a UD |
3756 | * sysdeps/unix/sysv/linux/dl-sysdep.h: Don't declare |
3757 | _dl_discover_osversion only for older kernels. | |
3758 | ||
7385c04c RM |
3759 | 2008-07-22 Roland McGrath <roland@frob.com> |
3760 | ||
3761 | * hurd/fd-read.c (_hurd_fd_read): Fix last change. | |
3762 | ||
8a26088d RM |
3763 | 2008-07-21 Roland McGrath <roland@frob.com> |
3764 | ||
3765 | * hurd/fd-read.c (_hurd_fd_read): Return EGRATUITOUS if the server | |
3766 | returned too much data out of line. | |
3767 | ||
9f558b80 UD |
3768 | 2008-07-20 Ulrich Drepper <drepper@redhat.com> |
3769 | ||
2e79213a UD |
3770 | * locale/setlocale.c (setname): Remove inline to avoid compiler |
3771 | warning. | |
3772 | ||
579cdf5a | 3773 | [BZ #6712] |
9f558b80 UD |
3774 | * locale/setlocale.c (setlocale): Take the setlocale lock earlier. |
3775 | ||
9667f97d UD |
3776 | 2008-07-15 Ulrich Drepper <drepper@redhat.com> |
3777 | ||
2486b496 UD |
3778 | * stdio-common/vfprintf.c (_IO_helper_overflow): In case _IO_sputn |
3779 | doesn't manage to write anything, fail. | |
3780 | ||
9667f97d UD |
3781 | * malloc/hooks.c (__malloc_check_init): Remove printf. |
3782 | ||
6d4c073b RM |
3783 | 2008-07-14 Samuel Thibault <samuel.thibault@ens-lyon.org> |
3784 | ||
3785 | * sysdeps/mach/hurd/bits/fcntl.h: Include <sys/types.h>. | |
3786 | ||
b7432416 UD |
3787 | 2008-07-12 Ulrich Drepper <drepper@redhat.com> |
3788 | ||
3789 | * nscd/connections.c (main_loop_poll): Fix handling of read errors | |
3790 | from inotify. | |
3791 | (main_loop_epoll): Likewise. | |
3792 | ||
44abc397 UD |
3793 | 2008-07-09 Ulrich Drepper <drepper@redhat.com> |
3794 | ||
835113c6 UD |
3795 | * resolv/res_send.c: Remove unnecessary res_pquery prototype. |
3796 | ||
fdc769f6 UD |
3797 | * resolv/res_query.c (__libc_res_nquery): Issue debug message only |
3798 | if DEBUG is defined. | |
3799 | ||
44abc397 UD |
3800 | * resolv/res_query.c (__libc_res_nquery): Align buffer for T_AAAA |
3801 | query. Adjust buffer size computation for padding. | |
3802 | ||
38dc8fad UD |
3803 | 2008-07-08 Ulrich Drepper <drepper@redhat.com> |
3804 | ||
75684bd7 UD |
3805 | * stdio-common/Makefile: Add rules to build and run tst-setvbuf1. |
3806 | * stdio-common/tst-setvbuf1.c: New file. | |
3807 | * stdio-common/tst-setvbuf1.expect: New file. | |
3808 | ||
38dc8fad UD |
3809 | [BZ #6719] |
3810 | * libio/iosetvbuf.c (_IO_setvbuf): Correctly clear buffering flags | |
3811 | when selecting fully-buffered stream. | |
3812 | Patch by Wang Xin <wxinee@gmail.com>. | |
3813 | ||
107f4ac2 RM |
3814 | 2008-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org> |
3815 | ||
3816 | * sysdeps/mach/hurd/open.c: Include <stdio.h>. | |
3817 | (__open_2): New function. | |
3818 | (__open64_2): New alias to __open_2. | |
3819 | * sysdeps/mach/hurd/openat.c: Include <stdio.h>. | |
3820 | (__openat_2): New function. | |
3821 | (__openat64_2): New alias to __openat_2. | |
3822 | ||
45ec3e79 UD |
3823 | 2008-07-06 Ulrich Drepper <drepper@redhat.com> |
3824 | ||
3825 | [BZ #6723] | |
3826 | * time/mktime.c (__mktime_internal): Normalize tp->tm_isdst value. | |
3827 | ||
0a583b54 RM |
3828 | 2008-07-01 Samuel Thibault <samuel.thibault@ens-lyon.org> |
3829 | ||
3830 | * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Define MSG_NOSIGNAL. | |
3831 | * hurd/hurd/fd.h (__hurd_sockfail): Add extern inline function. | |
3832 | * sysdeps/mach/hurd/recv.c (__recv): Use __hurd_sockfail instead of | |
3833 | __hurd_dfail. | |
3834 | * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise. | |
3835 | * sysdeps/mach/hurd/recvmsg.c (__recvmsg): Likewise. | |
3836 | * sysdeps/mach/hurd/send.c (__send): Likewise. | |
3837 | * sysdeps/mach/hurd/sendto.c (__sendfrom): Likewise. | |
3838 | * sysdeps/mach/hurd/sendmsg.c (__sendmsg): Likewise. | |
3839 | ||
d5a0160b RM |
3840 | 2008-03-04 Samuel Thibault <samuel.thibault@ens-lyon.org> |
3841 | ||
3842 | * sysdeps/mach/hurd/recv.c (__recv): Initialize NPORTS. | |
3843 | * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise. | |
3844 | * sysdeps/mach/hurd/recvmsg.c (__recvmsg): Likewise. | |
3845 | * hurd/fd-read.c (_hurd_fd_read): Initialize NREAD. | |
3846 | * hurd/get-host.c (_hurd_get_host_config): Likewise. | |
3847 | * sysdeps/mach/hurd/dl-sysdep.c (__libc_read): Likewise. | |
3848 | ||
80922a99 UD |
3849 | 2008-06-27 Ulrich Drepper <drepper@redhat.com> |
3850 | ||
3851 | [BZ #6657] | |
3852 | * time/strptime_l.c: Don't clear s.era_cnt after successful match | |
3853 | of %EY. | |
3854 | Patch by Petr Baudis. | |
3855 | ||
34ca2ff7 UD |
3856 | 2008-06-26 Ulrich Drepper <drepper@redhat.com> |
3857 | ||
5ee0f5e2 | 3858 | * resolv/res_debug.c (__p_type_syms): Add ns_t_dname entry. |
34ca2ff7 UD |
3859 | Patch by Peter Jones <pjones@redhat.com>. |
3860 | ||
104426b6 UD |
3861 | 2008-06-25 Ulrich Drepper <drepper@redhat.com> |
3862 | ||
3863 | [BZ #6654] | |
3864 | * stdlib/canonicalize.c (__realpath): readlink can write too much | |
3865 | into the buffer on platforms without PATH_MAX. | |
3866 | ||
7166d23f UD |
3867 | 2008-06-17 Carlos O'Donell <carlos@codesourcery.com> |
3868 | ||
4cb8e687 | 3869 | [BZ #6653] |
7166d23f UD |
3870 | * posix/tst-regex.c (main): Rename to... |
3871 | (do_test): ... this. Remove cmdline option processing. | |
3872 | (TIMEOUT): Define. | |
3873 | (TEST_FUNCTION): Define. | |
3874 | (CMDLINE_OPTIONS): Define. | |
3875 | ||
974069d8 UD |
3876 | 2008-06-25 Ulrich Drepper <drepper@redhat.com> |
3877 | ||
3878 | [BZ #5210] | |
3879 | * configure.in: Add -Werror to -fstack-protector test to catch | |
3880 | unsupported architectures. | |
3881 | Patch by Gilles Esponasse <g.esp@free.fr>. | |
3882 | ||
cefa2dd3 UD |
3883 | 2008-06-17 Joseph Myers <joseph@codesourcery.com> |
3884 | ||
3885 | * stdlib/tst-setcontext.c: Set back_in_main before exit if | |
3886 | getcontext returns ENOSYS. | |
3887 | ||
c00d1128 UD |
3888 | 2008-06-18 Ulrich Drepper <drepper@redhat.com> |
3889 | ||
3890 | * nscd/connections.c (main_loop_poll): Fix test for read error. | |
3891 | (main_loop_epoll): Likewise. | |
3892 | ||
a0edbb48 UD |
3893 | 2008-06-13 Ulrich Drepper <drepper@redhat.com> |
3894 | ||
d0a1ae94 UD |
3895 | * sysdeps/posix/getaddrinfo.c: Move _res_hconf_init call to a |
3896 | better place so it is not called when nscd is used. | |
3897 | ||
a0edbb48 UD |
3898 | * nscd/connections.c: Also recognize and handle changes to the |
3899 | resolver configuration file. | |
3900 | ||
46f70b3c UD |
3901 | 2008-06-12 Ulrich Drepper <drepper@redhat.com> |
3902 | ||
5bcc6c0f UD |
3903 | * time/strftime.c: Pass reference to tzset_called around to handle |
3904 | recursive calls. | |
3905 | ||
3906 | [BZ #6612] | |
3907 | * time/strftime.c (__strftime_internal): Call tzset() only | |
3908 | when printing timezone-dependent values. | |
3909 | Based on a patch by Petr Baudis <pasky@suse.cz>. | |
3910 | ||
f854efd7 UD |
3911 | * resolv/nss_dns/dns-host.c (gaih_getanswer): Don't |
3912 | unconditionally use second gaih_getanswer_slice result. | |
3913 | ||
46f70b3c UD |
3914 | * sysdeps/posix/getaddrinfo.c (gai_inet): Remove unnecessary test. |
3915 | (getaddrinfo): RES must always be non-NULL. | |
3916 | ||
9ea8bfec UD |
3917 | 2008-06-12 Jakub Jelinek <jakub@redhat.com> |
3918 | ||
3919 | * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Avoid using | |
3920 | cr[34] registers. | |
3921 | * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf): Likewise. | |
3922 | * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround): | |
3923 | Likewise. | |
3924 | * sysdeps/powerpc/powerpc32/fpu/s_lround.S (__lround): Avoid using cr3 | |
3925 | register. | |
3926 | ||
5a337776 UD |
3927 | 2008-06-12 Ulrich Drepper <drepper@redhat.com> |
3928 | ||
5228ba2f UD |
3929 | * nscd/nscd.h (struct database_dyn): Add inotify_descr and clear_cache |
3930 | fields. | |
3931 | * nscd/connections.c (inotify_fd): New variable. | |
3932 | (nscd_init): Try to open an inotify descriptor. | |
3933 | If successful, watch files for databases using inotify instead of | |
3934 | having prune threads stat the files. | |
3935 | (nscd_run_prune): Recognize clear_cache flag being set and call | |
3936 | prune_cache appropriately. | |
3937 | (main_loop_poll): Add inotify descriptor to wait set and handle the | |
3938 | reported changes. | |
3939 | (main_loop_epoll): Likewise. | |
3940 | * nscd/cache.c (prune_cache): Don't stat files for databases if | |
3941 | inotify is used. | |
3942 | * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] | |
3943 | (CFLAGS-connections.c): Add -DHAVE_INOTIFY. | |
3944 | ||
5a337776 UD |
3945 | * nscd/grpcache.c (cache_addgr): Correctly compute size of |
3946 | fixed-size portion of the record. | |
3947 | * nscd/servicescache.c (cache_addserv): Likewise. | |
3948 | * nscd/pwdcache.c (cache_addpw): Likewise. | |
3949 | * nscd/initgrcache.c (addinitgroupsX): Likewise. | |
3950 | ||
9ad58cc3 UD |
3951 | 2008-06-11 Ulrich Drepper <drepper@redhat.com> |
3952 | ||
3953 | * nscd/mem.c (gc): Initialize obstack earlier so that if we jump | |
3954 | out we don't use uninitialized memory. | |
3955 | ||
3956 | * nscd/hstcache.c (cache_addhst): Send correct number of bytes to | |
3957 | the client. | |
3958 | ||
c1283552 UD |
3959 | 2008-06-10 Ulrich Drepper <drepper@redhat.com> |
3960 | ||
3961 | * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Also log and | |
3962 | ignore T_DNAME messages. | |
3963 | * resolv/arpa/nameser_compat.h (T_DNAME): Define. | |
3964 | ||
eef8a803 JJ |
3965 | 2008-06-05 Jakub Jelinek <jakub@redhat.com> |
3966 | ||
3967 | * misc/regexp.h (compile): Use __REPB_PREFIX macro. | |
3968 | Avoid segfault if first GETC returns eof/'\0'/'\n'. | |
3969 | ||
ee78670e JJ |
3970 | 2008-06-03 Jakub Jelinek <jakub@redhat.com> |
3971 | ||
3972 | * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Pass cp | |
3973 | instead of portstr to nscd_getserv_r. Patch by | |
3974 | Roman Kagan <rkagan@mail.ru>. | |
3975 | ||
62605cbf UD |
3976 | 2008-05-26 Jim Meyering <meyering@redhat.com> |
3977 | ||
10966640 | 3978 | Remove more useless "if" tests before "free". |
62605cbf UD |
3979 | * include/inline-hashtab.h (htab_delete): Likewise. |
3980 | * libio/freopen.c (freopen): Likewise. | |
3981 | * libio/freopen64.c (freopen64): Likewise. | |
3982 | * locale/programs/ld-collate.c (collate_read): Likewise. | |
3983 | * misc/fstab.c (libc_freeres_fn): Likewise. | |
3984 | * posix/glob.c (globfree): Likewise. | |
3985 | ||
f63abf58 UD |
3986 | 2008-05-24 Ulrich Drepper <drepper@redhat.com> |
3987 | ||
3988 | * string/Makefile (strop-tests): Add memmem. | |
3989 | * string/test-memmem.c: New file. | |
3990 | * string/test-string.h (BUF1PAGES): Define to 1 if undefined. | |
3991 | (test_init): Size buf1 according to BUF1PAGES. | |
3992 | ||
ad8a5511 JJ |
3993 | 2008-05-24 Jakub Jelinek <jakub@redhat.com> |
3994 | ||
3995 | * libio/stdio.h (vscanf): Fix -std=c99 redirect. | |
3996 | * stdio-common/Makefile (tests): Add scanf16 and scanf17. | |
3997 | (CFLAGS-scanf17.c): New. | |
3998 | * stdio-common/scanf14.c (main): Add fscanf and scanf tests. | |
3999 | * stdio-common/scanf15.c (main): Likewise. | |
f63abf58 UD |
4000 | * stdio-common/scanf16.c: New file. |
4001 | * stdio-common/scanf17.c: New file. | |
ad8a5511 | 4002 | |
e2003883 UD |
4003 | 2008-05-24 Ulrich Drepper <drepper@redhat.com> |
4004 | ||
4005 | * resolv/res_send.c (send_dg): If we already have one of two | |
b5ba2c79 | 4006 | answers and the server reports SERVFAIL, NOTIMP, or REFUSED, then |
e2003883 UD |
4007 | use the one answer insted of failing. |
4008 | ||
acbb9873 UD |
4009 | 2008-02-20 Ryan S. Arnold <rsa@us.ibm.com> |
4010 | ||
4011 | * math/libm-test.inc (exp_test): Exclude expl(1000.0L) from | |
4012 | being executed on PowerPC as the expected result exceeds IBM | |
4013 | long double 128 __LDBL_MAX__. | |
4014 | ||
e85f1d6a RM |
4015 | 2008-05-21 Roland McGrath <roland@redhat.com> |
4016 | ||
4017 | * shlib-versions (sparc.*-.*-.*, sparc64.*-.*-.*): Add ABI lines. | |
4018 | ||
4019 | * Makefile (check-data): Use $(abi-name) before other guesses. | |
4020 | Look in $(add-ons) dirs before scripts/data/. | |
4021 | * elf/Makefile (check-data): Likewise. | |
4022 | ||
4023 | * scripts/soversions.awk: Grok ABI line. | |
4024 | * Makeconfig ($(common-objpfx)soversions.mk): Likewise. | |
4025 | Emit definition for abi-name variable. | |
4026 | ||
d8e763c6 UD |
4027 | 2008-05-21 Ulrich Drepper <drepper@redhat.com> |
4028 | ||
e92799fc | 4029 | * string/endian.h: Define new fixed-size hto* and *toh macros only |
e85f1d6a | 4030 | if [__USE_BSD]. |
e92799fc | 4031 | |
d8e763c6 UD |
4032 | * iconvdata/Depend: Add localedata. |
4033 | ||
009ef333 RM |
4034 | 2008-05-21 Samuel Thibault <samuel.thibault@ens-lyon.org> |
4035 | ||
4036 | * bits/termios.h (ONLCR): Define under [__USE_XOPEN] too. | |
4037 | ||
86746abb JJ |
4038 | 2008-05-08 David S. Miller <davem@davemloft.net> |
4039 | ||
4040 | * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S: Use | |
4041 | HIDDEN_JUMPTARGET. | |
4042 | * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h | |
4043 | (__SYSCALL_CLOBBERS): Remove %g* registers. | |
4044 | * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h | |
4045 | (__SYSCALL_CLOBBERS): Likewise. | |
4046 | * scripts/data/localplt-sparc-linux-gnu.data: New file. | |
f63abf58 | 4047 | * scripts/data/localplt-sparc64-linux-gnu.data: New file. |
86746abb | 4048 | |
5e6f34c2 JJ |
4049 | 2008-05-21 Jakub Jelinek <jakub@redhat.com> |
4050 | ||
4051 | * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h | |
4052 | (CALL_ERRNO_LOCATION): Define. | |
4053 | (__SYSCALL_STRING, __CLONE_SYSCALL_STRING): Use it. | |
4054 | * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h | |
4055 | (CALL_ERRNO_LOCATION): Define. | |
4056 | (__SYSCALL_STRING, __CLONE_SYSCALL_STRING): Use it. | |
4057 | * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S (__brk): Use | |
4058 | HIDDEN_JUMPTARGET for __errno_location call in libc.so. | |
4059 | ||
4beb4532 UD |
4060 | 2008-05-20 Ulrich Drepper <drepper@redhat.com> |
4061 | ||
4062 | * include/inline-hashtab.h (higher_prime_number): Fix type of mid | |
4063 | variable. | |
4064 | ||
ed8f38ba JJ |
4065 | 2008-05-20 Jakub Jelinek <jakub@redhat.com> |
4066 | ||
4067 | * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h | |
4068 | (FIRST_FRAME_POINTER): Define. | |
4069 | ||
4070 | 2008-05-09 David S. Miller <davem@davemloft.net> | |
4071 | ||
4072 | * sysdeps/sparc/sparc64/backtrace.c: New file. | |
4073 | ||
c1b8190a JJ |
4074 | 2008-05-14 David S. Miller <davem@davemloft.net> |
4075 | ||
4076 | * sysdeps/sparc/machine-gmon.h: New file. | |
4077 | * sysdeps/sparc/sparc-mcount.S: Likewise. | |
4078 | * sysdeps/sparc/Makefile: Add sparc-mcount target to | |
4079 | sysdep_routines in gmon directory. | |
4080 | ||
84aacd93 JJ |
4081 | 2008-05-19 Jakub Jelinek <jakub@redhat.com> |
4082 | ||
4083 | * elf/soinit.c (__EH_FRAME_BEGIN__): Remove. | |
4084 | ||
5908f779 UD |
4085 | 2008-05-19 Ulrich Drepper <drepper@redhat.com> |
4086 | ||
4087 | * resolv/res_query.c (__libc_res_nquery): In case one of two | |
4088 | answer was too short don't try to read that answer's header. | |
4089 | ||
4090 | * resolv/res_send.c (send_dg): In case of timeout and there are | |
4091 | two queries and one has been answered, return value indicating | |
4092 | success. | |
4093 | ||
528741cb UD |
4094 | 2008-05-18 Ulrich Drepper <drepper@redhat.com> |
4095 | ||
4096 | * nscd/cache.c (cache_add): Take additional parameter specifying | |
4097 | whether this is in response of a cache refill. Check alignment | |
4098 | of package data. Revamp waking of pruning thread. | |
4099 | (prune_cache): Small optimization. | |
4100 | * nscd/nscd.h: Adjust cache_add prototypes. | |
4101 | * nscd/aicache.c: Adjust cache_add calls. | |
4102 | * nscd/grpcache.c: Likewise. | |
4103 | * nscd/hstcache.c: Likewise. | |
4104 | * nscd/initgrcache.c: Likewise. | |
4105 | * nscd/pwdcache.c: Likewise. | |
4106 | * nscd/servicescache.c: Likewise. | |
4107 | * nscd/connections.c (restart): Really disable cache use before | |
4108 | exec attempt. If it fails, reenable cache. | |
4109 | (nscd_run_prune): Initialize wakeup_time. After wakeup, set wakeup | |
4110 | time to max to be able to notice concurrent cache additions. Unlock | |
4111 | prune_lock while performing gc. Afterwards compute wakeup time with | |
4112 | current wakeup_time value in mind. | |
4113 | ||
343996c4 UD |
4114 | 2008-05-17 Ulrich Drepper <drepper@redhat.com> |
4115 | ||
5811d72b UD |
4116 | * nscd/mem.c (gc): Avoid stack overflow when allocating move list. |
4117 | ||
fa526148 UD |
4118 | * nscd/mem.c (gc): Correctly determine highest used array element |
4119 | in mark. | |
4120 | ||
77d40f10 UD |
4121 | * nscd/mem.c (markrange): Add assert to check entries are all |
4122 | aligned. Small cleanup in bitmap use. | |
4123 | ||
8884028c UD |
4124 | * nscd/nscd.h (mem_in_flight): Replace blockaddr field with |
4125 | blockoff of type nscd_ssize_t. | |
4126 | * nscd/mem.c (gc): Simplify markrange call for on-flight blocks. | |
4127 | (mempoll_alloc): Record block offset and not address. | |
4128 | ||
b2159575 UD |
4129 | * nscd/mem.c (gc): Fix test for stack overuse. |
4130 | ||
5c9629d2 UD |
4131 | * nscd/aicache.c (addhstaiX): Fix a few small problems, cleanups, |
4132 | more asserts. | |
4133 | ||
66d90496 UD |
4134 | * sysdeps/posix/getaddrinfo.c (gaih_inet): If nscd reports no |
4135 | entry is available, believe it. | |
4136 | ||
343996c4 UD |
4137 | * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): If there are |
4138 | no answers return NSS_STATUS_NOTFOUND. | |
4139 | (gaih_getanswer): Don't call gaih_getanswer_slice if the answer | |
4140 | buffer does not have any content. | |
4141 | ||
91c8a74b UD |
4142 | 2008-05-16 Ulrich Drepper <drepper@redhat.com> |
4143 | ||
74e13385 UD |
4144 | * string/strcasestr.c (CMP_FUNC): Use __strncasecmp, not strncasecmp. |
4145 | ||
91c8a74b UD |
4146 | * sysdeps/posix/getaddrinfo.c (gaih_inet): After gethostbyname4_r |
4147 | lookup, don't assign canon unconditionally. | |
4148 | ||
0caca71a UD |
4149 | 2008-05-14 Ulrich Drepper <drepper@redhat.com> |
4150 | ||
4151 | * string/Makefile (distribute): Add str-two-way.h. | |
4152 | ||
4153 | 2008-03-29 Eric Blake <ebb9@byu.net> | |
4154 | ||
4155 | Rewrite string searches to O(n) rather than O(n^2). | |
4156 | * string/str-two-way.h: New file. For linear fixed-allocation | |
4157 | string searching. | |
4158 | * string/memmem.c: New implementation. | |
4159 | * string/strstr.c: New implementation. | |
4160 | * string/strcasestr.c: New implementation. | |
4161 | ||
b194db79 UD |
4162 | 2008-04-11 Paolo Bonzini <bonzini@gnu.org> |
4163 | ||
4164 | * posix/regcomp.c (optimize_utf8): Add a note on why we test | |
4165 | opr.ctx_type. | |
4166 | (calc_first): Initialize constraint field. | |
4167 | (duplicate_node_closure): Use it instead of special casing ANCHORS. | |
4168 | Use search_duplicated_node to avoid loops. Fix grammar. | |
4169 | (duplicate_node): Merge constraint field for all node types. | |
4170 | (calc_eclosure_iter): Look at constraint field for all node types. | |
4171 | * posix/regex_internal.c (create_cd_newstate): Don't look at | |
4172 | create_cd_newstate. | |
4173 | ||
c8d49f05 UD |
4174 | 2008-05-14 Ulrich Drepper <drepper@redhat.com> |
4175 | ||
215a8745 UD |
4176 | [BZ #6428] |
4177 | * configure.in: Don't use $CFLAGS when assembling, use $ASFLAGS. | |
4178 | ||
2f9a1be8 UD |
4179 | [BZ #6442] |
4180 | * string/endian.h: Add macros for fixed-size endian conversion. | |
4181 | * bits/byteswap.h: Allow inclusion from <endian.h>. | |
4182 | * sysdeps/i386/bits/byteswap.h: Likewise. | |
4183 | * sysdeps/ia64/bits/byteswap.h: Likewise. | |
4184 | * sysdeps/s390/bits/byteswap.h: Likewise. | |
4185 | * sysdeps/x86_64/bits/byteswap.h: Likewise. | |
4186 | * string/Makefile (tests): Add tst-endian. | |
4187 | * string/tst-endian.c: New file. | |
4188 | ||
c8d49f05 UD |
4189 | * iconvdata/run-iconv-test.sh: Use = instead of == in test. |
4190 | Patch by Reuben Thomas. | |
4191 | ||
a754f018 UD |
4192 | 2008-05-14 Joseph Myers <joseph@codesourcery.com> |
4193 | ||
4194 | * iconvdata/Makefile (bug-iconv6-ENV, tst-iconv7-ENV): Define. | |
4195 | ||
372bfcac UD |
4196 | 2008-05-14 Ulrich Drepper <drepper@redhat.com> |
4197 | ||
a754f018 UD |
4198 | * iconvdata/bug-iconv6.c (do_test): Use de_DE.UTF-8 locale. |
4199 | ||
5deca9bb UD |
4200 | [BZ #6461] |
4201 | * iconv/gconv_simple.c (BODY for __gconv_transform_ascii_internal): | |
4202 | Add missing braces. | |
4203 | (BODY for __gconv_transform_internal_ascii): Likewise. | |
4204 | ||
af77c9b7 | 4205 | [BZ #6472] |
5fab5544 UD |
4206 | * sysdeps/posix/getaddrinfo.c (get_scope): Loopback addresses have |
4207 | to be treated like link-local addresses. | |
5846c4e2 UD |
4208 | (match_prefix): Don't treat IPv4 loopback address special when |
4209 | converting to v4 mapped addressed. | |
5fab5544 | 4210 | |
0caca71a | 4211 | * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call _res_hconf_init |
1f039824 | 4212 | if necessary. |
b194db79 UD |
4213 | * posix/tst-rfc3484.c: Add dummy definition of _res_hconf_init. |
4214 | * posix/tst-rfc3484-2.c: Likewise. | |
4215 | * posix/tst-rfc3484-3.c: Likewise. | |
1f039824 | 4216 | |
18a74157 UD |
4217 | * sysdeps/posix/getaddrinfo.c: Implement handling of DCCP, UDPlite, |
4218 | and SCTP. | |
372bfcac UD |
4219 | |
4220 | * nss/getent.c (ahosts_keys_int): Handle all known socket types. | |
4221 | ||
4222 | * inet/netinet/in.h (IPPIPPROTO_DCCP, IPPROTO_UDPLITE): Define. | |
4223 | ||
4224 | * sysdeps/unix/sysv/linux/bits/socket.h (SOCK_DCCP): Define. | |
4225 | ||
f05ac8f5 UD |
4226 | 2008-05-13 Ulrich Drepper <drepper@redhat.com> |
4227 | ||
4228 | * po/lt.po: New file. From Lituanian translation team. | |
4229 | ||
c9ff0187 UD |
4230 | 2008-01-30 Alexandre Oliva <aoliva@redhat.com> |
4231 | ||
4232 | Introduce TLS descriptors for i386 and x86_64. | |
4233 | * include/inline-hashtab.h: New file, copied from 2005's | |
4234 | libiberty, with fix for memory leak imported afterwards by | |
4235 | Glauber de Oliveira Costa. | |
4236 | * elf/tlsdeschtab.h: New file. | |
4237 | * elf/dl-reloc.c (_dl_try_allocate_static_tls): Extract from... | |
4238 | (_dl_allocate_static_tls): ... here. Rearrange failure path. | |
4239 | (CHECK_STATIC_TLS): Move to... | |
4240 | * elf/dynamic-link.h: ... this file. | |
4241 | (TRY_STATIC_TLS): New macro. | |
4242 | * elf/dl-conflict.c (CHECK_STATIC_TLS, TRY_STATIC_TLS): Override. | |
4243 | * elf/elf.h (R_386_TLS_GOTDESC, R_386_TLS_DESC_CALL, | |
4244 | R_386_TLS_DESC): Define. | |
4245 | (R_X86_64_PC64, R_X86_GOTOFF64, R_X86_64_GOTPC32): Merge from | |
4246 | binutils. | |
4247 | (R_X86_64_GOTPC32_TLSDESC, R_X86_64_TLSDESC_CALL, | |
4248 | R_X86_64_TLSDESC): Define. | |
4249 | (R_386_NUM, R_X86_64_NUM): Adjust. | |
4250 | * sysdeps/i386/Makefile (sysdep-dl-routines, sysdep_routines, | |
f05ac8f5 | 4251 | sysdep-rtld-routines): Add tlsdesc and dl-tlsdesc for elf subdir. |
c9ff0187 UD |
4252 | (gen-as-const-headers): Add tlsdesc.sym to csu subdir. |
4253 | * sysdeps/i386/dl-lookupcfg.h: New file. Introduce _dl_unmap to | |
4254 | release tlsdesc_table. | |
4255 | * sysdeps/i386/dl-machine.h: Include dl-tlsdesc.h. | |
4256 | (elf_machine_type_class): Mark R_386_TLS_DESC as PLT class. | |
4257 | (elf_machine_rel): Handle R_386_TLS_DESC. | |
4258 | (elf_machine_rela): Likewise. | |
4259 | (elf_machine_lazy_rel): Likewise. | |
4260 | (elf_machine_lazy_rela): Likewise. | |
4261 | * sysdeps/i386/dl-tls.h (struct dl_tls_index): Name it. | |
4262 | * sysdeps/i386/dl-tlsdesc.S: New file. | |
4263 | * sysdeps/i386/dl-tlsdesc.h: New file. | |
4264 | * sysdeps/i386/tlsdesc.c: New file. | |
4265 | * sysdeps/i386/tlsdesc.sym: New file. | |
4266 | * sysdeps/i386/bits/linkmap.h (struct link_map_machine): Add | |
4267 | tlsdesc_table. | |
4268 | * sysdeps/x86_64/Makefile (sysdep-dl-routines, sysdep_routines, | |
f05ac8f5 | 4269 | sysdep-rtld-routines): Add tlsdesc and dl-tlsdesc for elf subdir. |
c9ff0187 UD |
4270 | (gen-as-const-headers): Add tlsdesc.sym to csu subdir. |
4271 | * sysdeps/x86_64/dl-lookupcfg.h: New file. Introduce _dl_unmap to | |
4272 | release tlsdesc_table. | |
4273 | * sysdeps/x86_64/dl-machine.h: Include dl-tlsdesc.h. | |
4274 | (elf_machine_runtime_setup): Set up lazy TLSDESC GOT entry. | |
4275 | (elf_machine_type_class): Mark R_X86_64_TLSDESC as PLT class. | |
4276 | (elf_machine_rel): Handle R_X86_64_TLSDESC. | |
4277 | (elf_machine_rela): Likewise. | |
4278 | (elf_machine_lazy_rel): Likewise. | |
4279 | * sysdeps/x86_64/dl-tls.h (struct dl_tls_index): Name it. | |
4280 | (__tls_get_addr): Do not declare for non-shared compiles. | |
4281 | * sysdeps/x86_64/dl-tlsdesc.S: New file. | |
4282 | * sysdeps/x86_64/dl-tlsdesc.h: New file. | |
4283 | * sysdeps/x86_64/tlsdesc.c: New file. | |
4284 | * sysdeps/x86_64/tlsdesc.sym: New file. | |
4285 | * sysdeps/x86_64/bits/linkmap.h (struct link_map_machine): Add | |
4286 | tlsdesc_table for both 32- and 64-bit structs. | |
4287 | ||
a3636e8b UD |
4288 | 2008-05-11 Ulrich Drepper <drepper@redhat.com> |
4289 | ||
4290 | * elf/dl-tls.c (__tls_get_addr): Optimize by moving slow path in | |
4291 | its own function. This reduces the frame setup costs and more. | |
4292 | ||
a7eb802f UD |
4293 | 2008-02-11 Joseph Myers <joseph@codesourcery.com> |
4294 | ||
4295 | [BZ #3406] | |
4296 | * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Correct value. | |
4297 | * math/libm-test.inc (exp_test): Test 88.72269439697265625. | |
4298 | ||
3490f01d UD |
4299 | 2008-05-11 Ulrich Drepper <drepper@redhat.com> |
4300 | ||
3d7eeebe UD |
4301 | * io/openat.c (__openat_2): Also pass fd to __openat. |
4302 | * io/openat64.c (__openat64_2): Also pass fd to __openat64. | |
4303 | Patch by Kristian Van Der Vliet <vanders@liqwyd.com>. | |
4304 | ||
3490f01d UD |
4305 | * string/tester.c (test_memcmp): Add a few more tests. |
4306 | Patch by Mats Erik Andersson <ynglingatal@comhem.se>. | |
4307 | ||
7e71e55f UD |
4308 | 2008-05-10 Ulrich Drepper <drepper@redhat.com> |
4309 | ||
4310 | * nscd/cache.c (cache_add): Before returning with failure and this | |
4311 | is the first use of the record, mark it as unusable. | |
4312 | * nscd/aicache.c: Don't touch the dataset after cache_add returns | |
4313 | reporting a failure. | |
4314 | * nscd/grpcache.c: Likewise | |
4315 | * nscd/hstcache.c: Likewise. | |
4316 | * nscd/initgrcache.c: Likewise. | |
4317 | * nscd/pwdcache.c: Likewise. | |
343996c4 | 4318 | * nscd/servicescache.c: Likewise. |
7e71e55f | 4319 | |
7396d0a9 RM |
4320 | 2008-05-10 Roland McGrath <roland@redhat.com> |
4321 | ||
4322 | [BZ #6505] | |
4323 | * sysdeps/unix/sysv/linux/sys/user.h: Replace with #error stub. | |
4324 | ||
c5ee217f UD |
4325 | 2008-05-08 David S. Miller <davem@davemloft.net> |
4326 | ||
b29899ae UD |
4327 | * misc/truncate64.c (truncate64): Use __truncate not truncate. |
4328 | ||
c5ee217f UD |
4329 | * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee751_j0l): Use __finitel. |
4330 | (__ieee754_y0l): Likewise. | |
4331 | * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise. | |
4332 | (__ieee754_y1l): Likewise. | |
4333 | * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use __ldexpl. | |
4334 | * sysdeps/ieee754/ldbl-128/s_log1pl.c: Kill bogus prototypes for | |
4335 | frexpl and ldexpl. math_private.h provides them and the latter | |
4336 | is not even used. | |
4337 | (__log1pl): Use __frexpl. | |
4338 | ||
1eb946b9 UD |
4339 | 2008-05-10 Ulrich Drepper <drepper@redhat.com> |
4340 | ||
4341 | * include/resolv.h: Adjust __libc_res_nquery and __libc_res_nsend | |
4342 | prototypes. | |
4343 | * include/arpa/nameser_compat.h: Define T_UNSPEC. | |
4344 | * nis/Versions (libnss_nis): Export _nss_nis_gethostbyname4_r. | |
4345 | (libnss_nisplus): Export _nss_nisplus_gethostbyname4_r. | |
4346 | * nis/nss_nis/nis-hosts.c (LINE_PARSER): Change to also handle | |
4347 | af==AF_UNSPEC. | |
4348 | (_nss_nis_gethostbyname4_r): New function. | |
4349 | * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent): | |
4350 | Change to also handle af==AF_UNSPEC. | |
4351 | (get_tablename): New function. Use it to avoid duplication. | |
4352 | (_nss_nisplus_gethostbyname4_r): New function. | |
4353 | * nscd/aicache.c (addhstaiX): Use gethostbyname4_r function is | |
4354 | available. | |
4355 | * nss/Versions (libnss_files): Export _nss_files_gethostbyname4_r. | |
4356 | * nss/nss.h: Define struct gaih_addrtuple. | |
4357 | * nss/nss_files/files-hosts.c (LINE_PARSER): Change to also handle | |
4358 | af==AF_UNSPEC. | |
4359 | (_nss_files_gethostbyname4_r): New function. | |
4360 | * resolv/Versions (libnss_dns): Export _nss_dns_gethostbyname4_r. | |
4361 | * resolv/gethnmaddr.c: Adjust __libc_res_nsearch and __libc_res_nquery | |
4362 | calls. | |
4363 | * resolv/res_query.c (__libc_res_nquery): Take two additional | |
4364 | parameters for second answer buffer. Handle type=T_UNSPEC to mean | |
4365 | look up IPv4 and IPv6. | |
4366 | Change all callers. | |
4367 | * resolv/res_send.c (__libc_res_nsend): Take five aditional parameters | |
4368 | for an additional query and answer buffer. Pass to send_vc and | |
4369 | send_dg. | |
4370 | (send_vc): Send possibly two requests and receive two answers. | |
4371 | (send_dg): Likewise. | |
4372 | * resolv/nss_dns/dns-host.c: Adjust calls to __libc_res_nsearch and | |
4373 | __libc_res_nquery. | |
4374 | (_nss_dns_gethostbyname4_r): New function. | |
4375 | (gaih_getanswer_slice): Likewise. | |
4376 | (gaih_getanswer): Likewise. | |
4377 | * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Adjust | |
4378 | __libc_res_nquery call. | |
4379 | * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r): Likewise. | |
4380 | (_nss_dns_getnetbyname_r): Adjust __libc_res_nsearch call. | |
4381 | * sysdeps/posix/getaddrinfo.c: Use gethostbyname4_r function is | |
4382 | available. | |
4383 | ||
b7fb703a JJ |
4384 | 2008-05-05 David S. Miller <davem@davemloft.net> |
4385 | ||
4386 | * sysdeps/sparc/sparc32/Makefile: Use -mcpu=v7 for initfini.s build. | |
4387 | * sysdeps/sparc/sparc64/Makefile: Use -mcpu=v9 for initfini.s build. | |
4388 | ||
2256e43d RM |
4389 | 2007-09-14 Samuel Thibault <samuel.thibault@ens-lyon.org> |
4390 | ||
4391 | Fix termios bit macros. | |
4392 | Move *DLY definitions where they belong, in termios.h. | |
4393 | Add *[0-3] definitions. | |
4394 | Fixes confusion between VT and FF. | |
8bb52dbf RM |
4395 | * sysdeps/mach/hurd/bits/ioctls.h (NL0, NL1, TAB0, TAB1, TAB2, CR0, |
4396 | CR1, CR2, CR3, FF0, FF1, BS0, BS1): Undefine these at start if they | |
4397 | are already defined to avoid collision with termios.h. | |
2256e43d RM |
4398 | (NLDLY, TABDLY, TAB3, CRDLY, VTDLY, BSDLY): Remove macros. |
4399 | * bits/termios.h [__USE_MISC || __USE_XOPEN] (NL0, NL1, TAB0, | |
4400 | TAB1, TAB2, CR0, CR1, CR2, CR3, FF0, FF1, BS0, BS1): Likewise. | |
4401 | [__USE_BSD || __USE_XOPEN] (OCRNL, ONOCR, ONLRET): New macros. | |
4402 | [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, TABDLY, TAB0, TAB1, TAB2, | |
4403 | TAB3, CRDLY, CR0, CR1, CR2, CR3, FFDLY, FF0, FF1, BSDLY, BS0, BS1, | |
4404 | VTDLY, VT0, VT1): New macros. | |
4405 | [__USE_GNU] (OLCUC): Change value of macro. | |
4406 | [__USE_XOPEN] (OFILL): New macro. | |
4407 | [__USE_BSD] (CRTSCTS): Change value. | |
4408 | (CRTS_IFLOW, CCTS_OFLOW): Change into compatibility macros. | |
4409 | [__USE_BSD] (CDTRCTS, CHWFLOW): New macros. | |
4410 | (B7200, B14400, B28800, B76800): New macros. | |
4411 | ||
4ce349e5 JJ |
4412 | 2008-05-01 David S. Miller <davem@davemloft.net> |
4413 | ||
a86a7a39 JJ |
4414 | * sysdeps/unix/sysv/linux/sparc/sparc32/ucontext_i.sym: New file. |
4415 | * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile [$(subdir) = stdlib]: | |
4416 | (gen-as-const-headers): Add it. | |
4417 | * sysdeps/unix/sysv/linux/sparc/sparc32/getcontext.S: New file. | |
4418 | * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise. | |
4419 | * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S: Likewise. | |
4420 | * sysdeps/unix/sysv/linux/sparc/sparc32/swapcontext.S: Likewise. | |
2256e43d | 4421 | |
4ce349e5 JJ |
4422 | * sysdeps/unix/sysv/linux/sparc/sparc32/syscall.S: Add support for |
4423 | six system call parameters. | |
4424 | * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise. | |
4425 | ||
89a8963d UD |
4426 | 2008-04-30 Ulrich Drepper <drepper@redhat.com> |
4427 | ||
4428 | * sysdeps/unix/sysv/linux/bits/resource.h: Define RUSAGE_THREAD and | |
4429 | RUSAGE_LWP. | |
4430 | * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise. | |
4431 | * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise. | |
4432 | ||
b5ec5fce JJ |
4433 | 2008-04-30 Jakub Jelinek <jakub@redhat.com> |
4434 | ||
4435 | * stdlib/tst-setcontext.c: Include unistd.h. | |
4436 | ||
d4e92d9e JJ |
4437 | 2008-04-25 David S. Miller <davem@davemloft.net> |
4438 | ||
4439 | * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c (semctl): | |
4440 | Pass "union semun" properly in to sys_ipc, it must be passed | |
4441 | by value, not by reference. | |
4442 | ||
7eb5e6c9 UD |
4443 | 2008-04-22 Jakub Jelinek <jakub@redhat.com> |
4444 | ||
4445 | * nscd/Makefile (nscd-cflags): Set back to -fpie. | |
4446 | * nscd/nscd.h (mem_in_flight): Add attribute_tls_model_ie. | |
4447 | * nscd/connections.c (mem_in_flight): Likewise. | |
4448 | ||
4449 | * nscd/nscd.h (dbs): Make hidden. | |
4450 | ||
4451 | * sysdeps/unix/sysv/linux/times.c (__times): Fix check for EFAULT. | |
4452 | Avoid returning -1, return 0 instead. | |
4453 | ||
0073dd2d UD |
4454 | 2008-04-19 Ulrich Drepper <drepper@redhat.com> |
4455 | ||
4456 | * resolv/res_mkquery.c (__res_nopt): Use NS_PUT16 instead of ns_put16. | |
4457 | ||
c52137d3 UD |
4458 | 2008-04-15 Ulrich Drepper <drepper@redhat.com> |
4459 | ||
4460 | [BZ #5209] | |
4461 | * sysdeps/unix/sysv/linux/times.c: New file. | |
4462 | ||
4463 | [BZ #5381] | |
4464 | * nscd/nscd.h: Define enum in_flight, mem_in_flight, and | |
4465 | mem_in_flight_list variables. Add new parameter to mempool_alloc | |
4466 | prototype. | |
4467 | * nscd/mem.c (mempool_alloc): Take additional parameter. Initialize | |
4468 | appropriate mem_in_flight element. | |
4469 | (gc): Take allocations which have not yet been committed to the | |
4470 | database into account. | |
4471 | * nscd/cache.c (cache_add): Add new parameter to mempool_alloc call. | |
4472 | Reset mem_in_flight before returning. | |
4473 | * nscd/connections.c (nscd_run_worker): Initialize mem_in_flight and | |
4474 | cue it up in mem_in_flight_list. | |
4475 | * nscd/aicache.c: Adjust mempool_alloc call. | |
4476 | * nscd/grpcache.c: Likewise. | |
4477 | * nscd/hstcache.c: Likewise. | |
4478 | * nscd/initgrcache.c: Likewise. | |
4479 | * nscd/pwdcache.c: Likewise. | |
4480 | * nscd/servicescache.c: Likewise. | |
4481 | * nscd/Makefile (nscd-flags): Until ld is fixed, use -fpic instead | |
4482 | of -fpie. | |
4483 | ||
4484 | * nscd/connections.c (handle_request): Provide better error message | |
4485 | in case SELinux forbids the service. | |
4486 | ||
4487 | * version.h (VERSION): Bump to 2.8.90. | |
4488 | ||
39546e34 JJ |
4489 | 2008-04-17 Jakub Jelinek <jakub@redhat.com> |
4490 | ||
4491 | * sysdeps/unix/sysv/linux/dl-osinfo.h: Include fcntl.h. | |
4492 | ||
cf3a8c7f UD |
4493 | 2008-04-11 Ulrich Drepper <drepper@redhat.com> |
4494 | ||
9e113ecd UD |
4495 | * sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h (__signbitl): |
4496 | Also use for 32-bit. | |
3b6d574e UD |
4497 | * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Use |
4498 | __nextafter instead of nextafter to avoid local PLT. | |
c3a0ead4 UD |
4499 | * sysdeps/powerpc/fpu/e_sqrt.c: Avoid call to fetestexcept. |
4500 | * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise. | |
4501 | ||
3781ec29 UD |
4502 | * scripts/data/localplt-powerpc64-linux-gnu.data: New file. |
4503 | ||
246ec411 UD |
4504 | * sysdeps/powerpc/fpu/fenv_libc.h: Add libm_hidden_proto for |
4505 | __fe_nomask_env. | |
3cc56f92 UD |
4506 | * sysdeps/powerpc/fpu/fe_nomask.c: Add libm_hidden_def. Include |
4507 | <fenv_libc.h> instead of <fenv.h>. | |
246ec411 UD |
4508 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise. |
4509 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise. | |
4510 | ||
4511 | * sysdeps/powerpc/bits/fenv.h: Make safe for C++. | |
4512 | ||
4513 | * sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h: New file. | |
4514 | * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Rename | |
4515 | function from fegetexcept and make old name weak alias. | |
4516 | * include/fenv.h: Declare __fegetexcept. | |
4517 | * sysdeps/powerpc/fpu/fedisblxcpt.c: Use __fegetexcept instead of | |
4518 | fegetexcept. | |
4519 | * sysdeps/powerpc/fpu/feenablxcpt.c: Likewise. | |
4520 | * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Avoid call | |
4521 | to fetestexcept. | |
4522 | * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Use __frexpl | |
4523 | instead of frexpl to avoid local PLT. | |
4524 | * math/s_significandl.c (__significandl): Use __ilogbl instead of | |
4525 | ilogbl to avoid local PLT. | |
4526 | * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __ldexpl | |
4527 | instead of ldexpl to avoid local PLT. | |
4528 | * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use | |
4529 | __roundl not roundl to avoid local PLT. | |
4530 | * sysdeps/ieee754/ldbl-128/e_j0l.c: Use function names which avoid | |
4531 | local PLTs. Use __sincosl instead of separate sinl and cosl | |
4532 | calls. | |
4533 | * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise. | |
4534 | ||
2dc4a2fd UD |
4535 | * sysdeps/unix/sysv/linux/configure.in: Bump minimal kernel |
4536 | version for ppc64 to 2.4.21 since without it makecontext will fail. | |
4537 | ||
fe3350ee UD |
4538 | * elf/tls-macros.h [__powerpc64__] (__TLS_GET_ADDR): Define according |
4539 | to the ABI in use. | |
4540 | [__powerpc64__] (TLS_LD): Use __TLS_GET_ADDR instead of | |
4541 | .__tls_get_addr. | |
4542 | [__powerpc64__] (TLS_GD): Likewise. | |
cf3a8c7f | 4543 | |
c1e6b459 UD |
4544 | 2007-11-20 Ryan S. Arnold <rsa@us.ibm.com> |
4545 | ||
7763d4f1 | 4546 | [BZ #4997] |
c1e6b459 UD |
4547 | * sysdeps/powerpc/powerpc32/fpu/s_lround.S (__lround): Fixed erroneous |
4548 | result when x is +/-nextafter(+/-0.5,-/+1) i.e. all 1's in the | |
4549 | mantissa. | |
4550 | * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround): | |
4551 | Likewise. Also account for when x is an odd number between 2^52 | |
4552 | and 2^53-1. | |
4553 | * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Likewise. | |
4554 | * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf): Likewise. | |
4555 | * math/libm-test.inc (lround_test, llround_test): Added test cases to | |
4556 | detect aforementioned erroneous conditions. | |
4557 | ||
22dca1ea UD |
4558 | 2008-04-11 Jakub Jelinek <jakub@redhat.com> |
4559 | ||
4560 | * configure.in: Check for -fno-section-anchors in addition to | |
4561 | -fno-toplevel-reorder. | |
4562 | ||
5d59f4a5 UD |
4563 | 2008-04-11 Ulrich Drepper <drepper@redhat.com> |
4564 | ||
4565 | * include/features.h (__GLIBC_MINOR__): Bump to 8. | |
4566 | ||
4567 | * sysdeps/powerpc/powerpc32/fpu/s_lroundf.S: Remove duplicate comment. | |
4568 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise. | |
4569 | * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise. | |
4570 | * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise. | |
4571 | * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise. | |
4572 | * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise. | |
4573 | ||
91e32540 UD |
4574 | 2008-04-11 Jakub Jelinek <jakub@redhat.com> |
4575 | ||
4576 | [BZ #5443] | |
4577 | * time/era.c: Transform __libc_setlocale_lock into rwlock. | |
4578 | * time/alt_digit.c: Likewise. | |
4579 | * wcsmbs/wcsmbsload.c: Likewise. | |
4580 | ||
fd490ac8 UD |
4581 | 2008-04-10 Ulrich Drepper <drepper@redhat.com> |
4582 | ||
1db5b6f4 UD |
4583 | * version.h (VERSION): Bump to 2.8. |
4584 | ||
fd490ac8 UD |
4585 | * timzeone/asia: Update from tzdata2008b. |
4586 | * timezone/backward: Likewise. | |
4587 | * timezone/europe: Likewise. | |
4588 | * timezone/northamerica: Likewise. | |
4589 | * timezone/southamerica: Likewise. | |
4590 | * timezone/iso3166.tab: Likewise. | |
4591 | * timezone/leapseconds: Likewise. | |
4592 | * timezone/zone.tab: Likewise. | |
4593 | * timezone/private.h: Update from tzcode2008a. | |
4594 | * timezone/zdump.c: Likewise. | |
4595 | * timezone/zic.c: Likewise. | |
4596 | ||
153cf972 UD |
4597 | 2008-01-24 Steven Munroe <sjmunroe@us.ibm.com> |
4598 | ||
4599 | [BZ #5741] | |
4600 | * sysdeps/powerpc/powerpc64/dl-machine.h (PPC_DCBT, PPC_DCBF): | |
4601 | Define additonal Data Cache Block instruction macros. | |
4602 | (elf_machine_fixup_plt): Add dcbt for opd and plt entries. | |
4603 | Replace dcbst with dcbf and sync with sync/isync. | |
4604 | ||
d2207f32 UD |
4605 | 2008-02-21 Alan Modra <amodra@bigpond.net.au> |
4606 | ||
4607 | * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class): | |
4608 | Always set ELF_RTYPE_CLASS_PLT. | |
4609 | (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p): Delete. | |
4610 | ||
13d83320 UD |
4611 | 2008-04-03 Steven Munroe <sjmunroe@us.ibm.com> |
4612 | ||
4613 | * sysdeps/powerpc/powerpc32/power4/hp-timing.c: New file. | |
4614 | * sysdeps/powerpc/powerpc32/power4/hp-timing.h: New file. | |
4615 | * sysdeps/powerpc/powerpc64/hp-timing.h [_ARCH_PWR4] (HP_TIMING_NOW): | |
4616 | For ISA 2.01 and later replace mftb with mfspr 268. | |
4617 | ||
5f7aead5 UD |
4618 | 2008-02-19 Steven Munroe <sjmunroe@us.ibm.com> |
4619 | ||
4620 | [BZ #5768] | |
4621 | * sysdeps/powerpc/fpu/Makefile (libm-tests): Add test-powerpc-snan. | |
4622 | * sysdeps/powerpc/fpu/test-powerpc-snan.c: New file. | |
4623 | ||
4624 | 2008-02-18 Steven Munroe <sjmunroe@us.ibm.com> | |
4625 | ||
4626 | [BZ #5768] | |
4627 | * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: New file. | |
4628 | * sysdeps/powerpc/powerpc32/fpu/s_isnan.c: Removed. | |
4629 | * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: New file. | |
4630 | * sysdeps/powerpc/powerpc64/fpu/s_isnan.c: Removed. | |
4631 | ||
117df5d9 JJ |
4632 | 2008-04-10 Jakub Jelinek <jakub@redhat.com> |
4633 | ||
4634 | * stdlib/tst-makecontext.c (othervar): New variable. | |
4635 | (cf): Test sign extending the argument to long. | |
4636 | ||
3b32d8a2 UD |
4637 | 2008-03-03 Steven Munroe <sjmunroe@us.ibm.com> |
4638 | ||
4639 | * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: New file. | |
4640 | * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: New file. | |
4641 | * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: New file. | |
4642 | * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: New file. | |
4643 | * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: New file. | |
4644 | * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: New file. | |
4645 | * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: New file. | |
4646 | ||
9fb11d4c UD |
4647 | 2008-02-22 Alan Modra <amodra@bigpond.net.au> |
4648 | ||
4649 | * elf/Makefile (tests): Substitute tests-vis-yes here. | |
4650 | (tests-vis-yes): Delete. | |
4651 | (modules-name, modules-vis-yes): Similarly. | |
4652 | ||
facd1d8e UD |
4653 | 2008-02-12 Pete Eberlein <eberlein@us.ibm.com> |
4654 | ||
4655 | [BZ #4407] | |
4656 | * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): | |
4657 | Preserve sign in signgamp when x is zero. | |
4658 | ||
aece054b UD |
4659 | 2007-10-26 Steven Munroe <sjmunroe@us.ibm.com> |
4660 | ||
4661 | * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: New File. | |
4662 | * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.c: Removed. | |
4663 | * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: New File. | |
4664 | * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.c: Removed. | |
4665 | * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: New File. | |
4666 | * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: New File. | |
4667 | ||
6c30d38f UD |
4668 | 2008-04-09 Ulrich Drepper <drepper@redhat.com> |
4669 | ||
21208604 | 4670 | [BZ #4314] |
13d83320 UD |
4671 | * sysdeps/i386/i686/memcpy.S: Optimize copying of equally aligned |
4672 | buffers. | |
21208604 | 4673 | |
2f611ada | 4674 | [BZ #5209] |
d1235fdf UD |
4675 | * sysdeps/unix/sysv/syscalls.list: The times syscall doesn't have |
4676 | a reserved error value. | |
2f611ada | 4677 | |
6c30d38f UD |
4678 | * stdlib/tst-makecontext.c: Change parameter to cf to negative |
4679 | value to check for correct sign extension. | |
4680 | ||
4681 | [BZ #5436] | |
4682 | * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext): | |
4683 | Copy 64-bit parameter values even though this is not required in | |
4684 | the standard. | |
4685 | ||
4686 | * sysdeps/unix/sysv/linux/x86_64/vfork.S (__vfork): Record return | |
4687 | PC save. | |
4688 | ||
de1bbf68 UD |
4689 | 2008-02-14 Daniel Jacobowitz <dan@codesourcery.com> |
4690 | ||
4691 | * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork): Record return | |
4692 | PC save. | |
4693 | ||
9aef35a5 UD |
4694 | 2008-04-09 Jakub Jelinek <jakub@redhat.com> |
4695 | ||
4696 | * nss_files/files-XXX.c (_nss_files_getXXent_r): Restore saved errno. | |
4697 | ||
a7925a24 UD |
4698 | 2008-04-09 Ulrich Drepper <drepper@redhat.com> |
4699 | ||
4700 | [BZ #5998] | |
4701 | * libio/iofwrite.c (_IO_fwrite): Return correct count if flushing | |
4702 | in line-buffered stream failed. | |
4703 | * libio/iofwrite_u.c (fwrite_unlocked): Likewise. | |
4704 | ||
7b61ef24 UD |
4705 | 2008-04-08 Ulrich Drepper <drepper@redhat.com> |
4706 | ||
c2a684a4 UD |
4707 | [BZ #6024] |
4708 | * scripts/abi-versions.awk: If the version specified by | |
4709 | --enable-oldest-abi is older than the first version for this | |
4710 | architecture, use the default version. | |
4711 | ||
7b61ef24 UD |
4712 | * locale/programs/ld-collate.c (collate_read): Ignore script lines |
4713 | as well when ignoring the whole category. | |
4714 | ||
f6d749f0 UD |
4715 | 2008-04-07 Ulrich Drepper <drepper@redhat.com> |
4716 | ||
4717 | [BZ #6042] | |
4718 | * sysdeps/unix/sysv/linux/net/ethernet.h: Add a few more | |
4719 | ETHERTYPE_* definitions. | |
4720 | Patch partly by Aurelien Jarno <aurelien@aurel32.net>. | |
4721 | ||
1e99aede JJ |
4722 | 2008-04-07 Jakub Jelinek <jakub@redhat.com> |
4723 | ||
4724 | * stdlib/mbtowc.c (__no_r_state): Remove. | |
4725 | (mbtowc): New static state variable. Use it instead of | |
4726 | __no_r_state. | |
4727 | * stdlib/wctomb.c (__no_r_state): Remove extern decl. | |
4728 | (__wctomb_state): New hidden variable. | |
4729 | (wctomb): Use __wctomb_state instead of __no_r_state. | |
4730 | * debug/wctomb_chk.c (__no_r_state): Remove extern decl. | |
4731 | (__wctomb_state): New extern decl. | |
4732 | (__wctomb_chk): Use __wctomb_state instead of __no_r_state. | |
4733 | ||
fcf90e0a UD |
4734 | 2008-04-07 Ulrich Drepper <drepper@redhat.com> |
4735 | ||
4736 | [BZ #5475] | |
4737 | * resolv/res_init.c: Handle scope IDs in resolv.conf. | |
4738 | ||
ae39e102 JJ |
4739 | 2008-04-07 Jakub Jelinek <jakub@redhat.com> |
4740 | ||
4741 | * malloc/mtrace.pl: Use $@ instead of $* to keep perl 5.10 quiet. | |
4742 | ||
2503dd30 UD |
4743 | 2008-04-06 Ulrich Drepper <drepper@redhat.com> |
4744 | ||
4745 | * po/nl.po: Update from translation team. | |
4746 | ||
3eb9c809 UD |
4747 | 2008-03-31 Ulrich Drepper <drepper@redhat.com> |
4748 | ||
4749 | [BZ #6007] | |
4750 | * string/strfry.c: Handle empty strings again. | |
4751 | ||
9a69db29 UD |
4752 | 2008-03-30 Ulrich Drepper <drepper@redhat.com> |
4753 | ||
4754 | [BZ #5443] | |
4755 | * intl/dcigettext.c (__dcigettext): Get reader lock for locale data | |
4756 | before looking for translation. | |
4757 | * locale/duplocale.c: Transform __libc_setlocale_lock into rwlock. | |
4758 | * locale/freelocale.c: Likewise. | |
4759 | * locale/newlocale.c: Likewise. | |
4760 | * locale/setlocale.c: Likewise. | |
4761 | Based partially on a patch by ryo@np.css.fujitsu.com. | |
4762 | ||
2ecc7d93 UD |
4763 | 2008-03-30 Jakub Jelinek <jakub@redhat.com> |
4764 | ||
4765 | * intl/dcigettext.c (_nl_find_msg): Reread nconversions after | |
4766 | acquiring wrlock. Do conv_tab allocation while holding lock. | |
4767 | * intl/Makefile: Add rules to build and run tst-gettext6. | |
4768 | * intl/tst-gettext6.c: New test. | |
4769 | * intl/tst-gettext6.sh: New file. | |
4770 | ||
221e5230 UD |
4771 | 2008-03-30 Ulrich Drepper <drepper@redhat.com> |
4772 | ||
faa091c6 UD |
4773 | * po/nl.po: Update from translation team. |
4774 | ||
221e5230 UD |
4775 | * sysdeps/unix/opendir.c (__alloc_dir): If allocation fails for size |
4776 | provided through st_blksize, try the default size before giving up. | |
4777 | ||
1c272665 UD |
4778 | 2008-03-29 Ulrich Drepper <drepper@redhat.com> |
4779 | ||
43f6bec1 UD |
4780 | * stdio-common/vfprintf.c (vfprintf): Correct overflow test. |
4781 | ||
e8a32126 UD |
4782 | [BZ #5939] |
4783 | * sysdeps/posix/tempname.c (__gen_tempname): Correct flag selection. | |
4784 | ||
1e489af9 UD |
4785 | * posix/getopt.c (_getopt_internal_r): Remove old POSIX-demanded |
4786 | error message. POSIX today does not require the messages to be in | |
4787 | a specific form. Suggested by Jim Meyering <jim@meyering.net>. | |
4788 | ||
1d20f7f8 UD |
4789 | [BZ #5979] |
4790 | * sunrpc/auth_unix.c: Unify printed strings. | |
4791 | * sunrpc/clnt_tcp.c: Likewise. | |
4792 | * sunrpc/clnt_udp.c: Likewise. | |
4793 | * sunrpc/clnt_unix.c: Likewise. | |
4794 | * sunrpc/svc_tcp.c: Likewise. | |
4795 | * sunrpc/svc_udp.c: Likewise. | |
4796 | * sunrpc/svc_unix.c: Likewise. | |
4797 | * sunrpc/xdr.c: Likewise. | |
4798 | * sunrpc/xdr_array.c: Likewise. | |
4799 | * sunrpc/xdr_rec.c: Likewise. | |
4800 | * sunrpc/xdr_ref.c: Likewise. | |
4801 | * locale/programs/ld-time.c (time_finish): Unify messages. | |
4802 | * locale/programs/locfile.c (handle_copy): Fix typo. | |
4803 | * nscd/nscd.c (options): Fix typo. | |
4804 | ||
1c272665 UD |
4805 | [BZ #5995] |
4806 | * stdlib/strtod_l.c: Use correct sign for result in one more | |
4807 | underflow case. | |
4808 | Patch by Eric Blake <ebb9@byu.net>. | |
4809 | ||
48cc060e UD |
4810 | 2008-03-27 Jakub Jelinek <jakub@redhat.com> |
4811 | ||
4812 | * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Add open | |
4813 | and creat system calls. | |
4814 | * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove open system | |
4815 | call. | |
4816 | * sysdeps/unix/sysv/linux/ia64/syscalls.list: Remove open and creat | |
4817 | system calls. | |
4818 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise. | |
4819 | * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. | |
4820 | * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. | |
4821 | ||
f96853be UD |
4822 | 2008-03-27 Ulrich Drepper <drepper@redhat.com> |
4823 | ||
4824 | * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefined ARG_MAX if | |
4825 | <linux/limits.h> has defined it. | |
4826 | * sysdeps/unix/sysv/linux/sys/param.h: Define NCARGS to the legacy | |
4827 | ARG_MAX value and prevent ARG_MAX from being defined by the kernel | |
4828 | headers. | |
4829 | * sysdeps/unix/sysv/linux/sysconf.c: Define legacy_ARG_MAX and use | |
4830 | it instead of ARG_MAX. | |
4831 | ||
fde15fdc UD |
4832 | 2008-03-25 Jakub Jelinek <jakub@redhat.com> |
4833 | ||
4834 | * posix/gai.conf: Fix comment for scope nullbits. | |
4835 | * sysdeps/posix/getaddrinfo.c (gaiconf_init): If /bits is not present, | |
4836 | default to 128 bits for v4 mapped addresses. | |
4837 | ||
87b9b50f UD |
4838 | 2008-03-07 Martin Schwidefsky <schwidefsky@de.ibm.com> |
4839 | ||
4840 | * sysdeps/s390/fpu/fegetenv.c (fegetenv): Remove PTRACE_PEEKUSER | |
4841 | ptrace call to get the ieee_instruction_pointer from the kernel. | |
4842 | * sysdeps/s390/fpu/fesetenv.c (fesetenv): Remove PTRACE_POKEUSER | |
4843 | ptrace call to set the ieee_instructtion_pointer. | |
4844 | * sysdeps/unix/sysv/linux/s390/sys/user.h (struct _user_regs_struct): | |
4845 | Add comment that ieee_instruction_pointer is always 0. | |
4846 | ||
af0498dc UD |
4847 | 2008-03-09 Andreas Jaeger <aj@suse.de> |
4848 | ||
4849 | [BZ #5857] | |
4850 | * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Handle j0==18. | |
4851 | * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Likewise. | |
4852 | Patch by Mark Elliott <mark.h.elliott@lmco.com>. | |
4853 | ||
4854 | * math/libm-test.inc (nearbyint_test): Add new test cases from #5857. | |
4855 | (rint_test): Likewise. | |
4856 | ||
0ab7632d UD |
4857 | 2008-03-24 Ulrich Drepper <drepper@redhat.com> |
4858 | ||
0facd3df UD |
4859 | * nis/nis_call.c (nis_server_cache_search): Save errno around stat |
4860 | call. | |
4861 | (__nisfind_server): Similar for open readColdStartFile call. | |
4862 | Patch partially by Jim Meyering. | |
4863 | * nss/nss_files/files-XXX.c (_nss_files_getXXent_r): Save errno | |
4864 | around internal_setent call. | |
4865 | ||
7e570c55 UD |
4866 | * po/vi.po: New Vietnamese translation. |
4867 | ||
e093c247 UD |
4868 | * sysdeps/unix/sysv/linux/adjtime.c: Correctly use |
4869 | ADJ_OFFSET_SS_READ. | |
4870 | ||
0ab7632d UD |
4871 | * sysdeps/unix/sysv/linux/bits/sched.h: Add new CLONE_* flags, |
4872 | remove CLONE_STOPPED. | |
4873 | ||
0726cdf7 UD |
4874 | 2008-02-10 Jim Meyering <meyering@redhat.com> |
4875 | ||
4876 | Remove useless "if" before "free": | |
4877 | * elf/ldconfig.c (parse_conf_include): Likewise. | |
4878 | * gmon/gmon.c (weak_alias): Likewise. | |
4879 | * iconv/gconv_conf.c (__gconv_get_path): Likewise. | |
4880 | * inet/rcmd.c (__validuser2_sa): Likewise. | |
4881 | * intl/bindtextdom.c (set_binding_values): Likewise. | |
4882 | * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Likewise. | |
4883 | * libio/genops.c (save_for_backup): Likewise. | |
4884 | * libio/wgenops.c (save_for_wbackup): Likewise. | |
4885 | * locale/programs/ld-collate.c (collate_read): Likewise. | |
4886 | * locale/programs/linereader.c (get_string): Likewise. | |
4887 | * nis/nss_compat/compat-pwd.c (give_pwd_free): Likewise. | |
4888 | * nis/nss_compat/compat-spwd.c (give_spwd_free): Likewise. | |
4889 | * resolv/res_debug.c (do_section): Likewise. | |
4890 | * sunrpc/xdr_sizeof.c (x_inline, xdr_sizeof): Likewise. | |
4891 | * sysdeps/mach/hurd/if_index.c (libc_hidden_def): Likewise. | |
4892 | * sysdeps/posix/sprofil.c (__sprofil): Likewise. | |
4893 | * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise. | |
4894 | * time/tzset.c (tzset_internal): Likewise. | |
4895 | ||
354b7527 JJ |
4896 | 2008-03-18 Jakub Jelinek <jakub@redhat.com> |
4897 | ||
4898 | * sysdeps/unix/sysv/linux/dl-sysdep.h: Use __ASSEMBLER__ instead | |
4899 | of ASSEMBLER. | |
4900 | ||
ca668b29 UD |
4901 | 2008-03-11 Ulrich Drepper <drepper@redhat.com> |
4902 | ||
4903 | [BZ #5903] | |
4904 | * iconv/iconv_charmap.c (charmap_conversion): Pass name of output file | |
4905 | not stream for output file. Open output file here. | |
4906 | * iconv/iconv_prog.c (process_lock): Take pointer to output stream | |
4907 | and output file name. | |
4908 | (process_fd): Likewise. | |
4909 | (process_file): Likewise. | |
4910 | (main): Adjust callers of changed functions. | |
4911 | * iconv/iconv_prog.h: Adjust prototype. | |
4912 | ||
f3dc3415 AJ |
4913 | 2008-03-09 Andreas Jaeger <aj@suse.de> |
4914 | ||
4915 | [BZ #5753] | |
4916 | * sysdeps/ia64/ieee754.h: Use protected namespace | |
4917 | __BIG_ENDIAN/__LITTLE_ENDIAN. | |
4918 | * sysdeps/ieee754/ieee754.h: Likewise. | |
4919 | Patch by Aurelien Jarno <aurelien@aurel32.net>. | |
4920 | ||
a8fd84d4 RM |
4921 | 2008-03-08 Roland McGrath <roland@frob.com> |
4922 | ||
2b965f1b RM |
4923 | * hurd/hurdsig.c (_hurd_internal_post_signal): When normal rules would |
4924 | ignore a signal that came from a machine exception, treat it as a | |
4925 | fatal core-dump signal instead. | |
4926 | Reported by Samuel Thibault <samuel.thibault@ens-lyon.org>. | |
4927 | ||
a8fd84d4 RM |
4928 | * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): |
4929 | Clear DF bit in thread state's eflags. | |
4930 | Reported by Samuel Thibault <samuel.thibault@ens-lyon.org>. | |
4931 | ||
368a8dec UD |
4932 | 2008-03-08 Ulrich Drepper <drepper@redhat.com> |
4933 | ||
b3278554 UD |
4934 | [BZ #5774] |
4935 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Consume closing brace | |
c6c00e0d | 4936 | of NAN(...) sequence. |
b3278554 UD |
4937 | * stdlib/Makefile (tests): Add tst-strtod6. |
4938 | * stdlib/tst-strtod6.c: New file. | |
4939 | ||
4940 | * inet/inet6_opt.c (inet6_opt_init): Check extlen for overflow. | |
4941 | ||
2127a186 UD |
4942 | [BZ #5762] |
4943 | * posix/getopt.c (_getopt_internal_r): Clarify error message by | |
4944 | putting offending option character in quotes. Clean up error | |
4945 | messages. | |
4946 | * po/be.po: Adjust msgstr in translation file. | |
4947 | * po/bg.po: Likewise. | |
4948 | * po/ca.po: Likewise. | |
4949 | * po/cs.po: Likewise. | |
4950 | * po/da.po: Likewise. | |
4951 | * po/de.po: Likewise. | |
4952 | * po/es.po: Likewise. | |
4953 | * po/fr.po: Likewise. | |
4954 | * po/hr.po: Likewise. | |
4955 | * po/ko.po: Likewise. | |
4956 | * po/nl.po: Likewise. | |
4957 | * po/rw.po: Likewise. | |
4958 | * po/sk.po: Likewise. | |
4959 | * po/sv.po: Likewise. | |
4960 | * po/tr.po: Likewise. | |
4961 | * po/zh_CN.po: Likewise. | |
4962 | * po/zh_TW.po: Likewise. | |
4963 | ||
725c0c87 UD |
4964 | [BZ #5760] |
4965 | * inet/inet6_opt.c (inet6_opt_init): Fix ip6h_len computation. | |
4966 | Patch by Roland Bless <roland@bless.de>. | |
4967 | ||
368a8dec UD |
4968 | * sysdeps/unix/sysv/linux/dl-sysdep.c: Avoid unnecessary code for |
4969 | .o file. | |
4970 | * elf/Makefile (routines): Add dl-sysdep. | |
4971 | (elide-routines.os): Likewise. | |
4972 | ||
78c2bf0e UD |
4973 | 2008-03-07 Ulrich Drepper <drepper@redhat.com> |
4974 | ||
7c22c7ec UD |
4975 | [BZ #5786] |
4976 | * elf/dl-sysdep.c: Undefine ROUND after use. | |
4977 | * sysdeps/generic/ldsodefs.h [HAVE_DL_DISCOVER_OSVERSION] | |
4978 | (struct rtld_global_ro): Add _dl_tls_get_addr_soft element. | |
4979 | * elf/rtld.c (rtld_global_ro): Initialize _dl_discover_osversion. | |
4980 | * sysdeps/unix/sysv/linux/dl-osinfo.h: Move _dl_discover_osversion | |
4981 | to ... | |
4982 | * sysdeps/unix/sysv/linux/dl-sysdep.c: ...here. | |
4983 | * sysdeps/unix/sysv/linux/dl-sysdep.h: Declare _dl_discover_osversion | |
4984 | if necessary. | |
4985 | * sysdeps/unix/sysv/linux/sysconf.c: Handle _SC_ARG_MAX here. | |
4986 | ||
93025f93 UD |
4987 | * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add |
4988 | _dl_tls_get_addr_soft element. | |
4989 | * elf/rtld.c (rtld_global_ro): Initialize _dl_tls_get_addr_soft. | |
4990 | * elf/Versions (ld): Don't export _dl_tls_get_addr_soft. | |
4991 | * dlfcn/dlinfo.c (dlinfo_doit): Access dl_tls_get_addr_soft through | |
4992 | GLRO. | |
4993 | * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise. | |
4994 | * elf/dl-tls.c (_dl_tls_get_addr_soft): Use attribute_hidden instead | |
4995 | of internal_function. | |
4996 | ||
72f10127 UD |
4997 | * stdlib/Makefile (aux): Add tens_in_limb. |
4998 | * stdlib/strtod_l.c: Move _tens_in_limb definition to... | |
4999 | * stdlib/tens_in_limb.c: ...here. New file. | |
5000 | ||
443db178 UD |
5001 | [BZ #5778] |
5002 | * sysdeps/unix/sysv/linux/pathconf.h: Declare | |
5003 | __statfs_chown_restricted. | |
5004 | * sysdeps/unix/sysv/linux/fpathconf.c: Call __statfs_chown_restricted | |
5005 | for _PC_CHOWN_RESTRICTED. | |
5006 | * sysdeps/unix/sysv/linux/pathconf.c: Likewise. | |
5007 | Implement __statfs_chown_restricted. | |
5008 | * sysdeps/unix/sysv/linux/bits/posix_opt.h: Change | |
5009 | _POSIX_CHOWN_RESTRICTED value to zero. | |
c71665ad UD |
5010 | * io/tst-fchownat.c: Correctly handle _POSIX_CHOWN_RESTRICTED |
5011 | defined to zero. | |
443db178 | 5012 | |
78c2bf0e UD |
5013 | * sysdeps/x86_64/rtld-memset.c: New file. |
5014 | ||
443db178 | 5015 | 2008-02-26 Harsha Jagasia <harsha.jagasia@amd.com> |
78c2bf0e UD |
5016 | |
5017 | * sysdeps/x86_64/cacheinfo.c (NOT_USED_RIGHT_NOW): Remove ifdef guards. | |
5018 | ||
5019 | * sysdeps/x86_64/memset.S: Rewrite non-SSE code path as tuned for AMD | |
5020 | Barcelona machine. Make default fall through branch of | |
5021 | __x86_64_preferred_memory_instruction check as the integer code path. | |
5022 | ||
5023 | 2007-10-15 H.J. Lu <hongjiu.lu@intel.com> | |
5024 | ||
5025 | * sysdeps/x86_64/cacheinfo.c | |
5026 | (__x86_64_preferred_memory_instruction): New variable. | |
5027 | (init_cacheinfo): Initialize __x86_64_preferred_memory_instruction. | |
5028 | ||
5029 | * sysdeps/x86_64/memset.S: Rewrite. | |
5030 | ||
dff37515 UD |
5031 | 2008-03-04 Jakub Jelinek <jakub@redhat.com> |
5032 | ||
5033 | * include/stdio.h (__asprintf_chk, __dprintf_chk, | |
5034 | __obstack_printf_chk): New prototypes. | |
5035 | (__vasprintf_chk, __vdprintf_chk, | |
5036 | __obstack_vprintf_chk): Likewise. | |
5037 | Add libc_hidden_proto. | |
5038 | * libio/obprintf.c | |
5039 | (_IO_obstack_jumps): No longer static, add attribute_hidden. | |
5040 | * libio/bits/stdio-ldbl.h (__asprintf_chk, __dprintf_chk, | |
5041 | __obstack_printf_chk, __vasprintf_chk, __vdprintf_chk, | |
5042 | __obstack_vprintf_chk): Add __LDBL_REDIR_DECL. | |
5043 | * libio/bits/stdio2.h (__asprintf_chk, __dprintf_chk, | |
5044 | __obstack_printf_chk, __vasprintf_chk, __vdprintf_chk, | |
5045 | __obstack_vprintf_chk): New prototypes. | |
5046 | (asprintf, __asprintf, dprintf, obstack_printf, vasprintf, vdprintf, | |
5047 | obstack_vprintf): New inlines. | |
5048 | * debug/dprintf_chk.c: New file. | |
5049 | * debug/vdprintf_chk.c: New file. | |
5050 | * debug/asprintf_chk.c: New file. | |
5051 | * debug/vasprintf_chk.c: New file. | |
5052 | * debug/obprintf_chk.c: New file. | |
5053 | * debug/tst-chk1.c (do_test): Add asprintf and obstack_printf tests. | |
5054 | * debug/Versions (__asprintf_chk, __dprintf_chk, __obstack_printf_chk, | |
5055 | __vasprintf_chk, __vdprintf_chk, __obstack_vprintf_chk): Export | |
5056 | @@GLIBC_2.8. | |
5057 | * debug/Makefile: Build asprintf_chk, vasprintf_chk, dprintf_chk, | |
5058 | vdprintf_chk and obprintf_chk, set CFLAGS for them. | |
5059 | * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vasprintf_chk, | |
5060 | __nldbl___vdprintf_chk, __nldbl___obstack_vprintf_chk): Add | |
5061 | libc_hidden_proto. | |
5062 | * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl___vasprintf_chk, | |
5063 | __nldbl___vdprintf_chk, __nldbl___obstack_vprintf_chk): New prototypes. | |
5064 | * sysdeps/ieee754/ldbl-opt/Versions (__nldbl___asprintf_chk, | |
5065 | __nldbl___vasprintf_chk, __nldbl___dprintf_chk, __nldbl___vdprintf_chk, | |
5066 | __nldbl___obstack_printf_chk, __nldbl___obstack_vprintf_chk): Export | |
5067 | @@GLIBC_2.8. | |
5068 | * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add asprintf_chk, | |
5069 | vasprintf_chk, dprintf_chk, vdprintf_chk, obstack_printf_chk and | |
5070 | obstack_vprintf_chk. | |
5071 | * sysdeps/ieee754/ldbl-opt/nldbl-obstack_vprintf_chk.c: New file. | |
5072 | * sysdeps/ieee754/ldbl-opt/nldbl-dprintf_chk.c: New file. | |
5073 | * sysdeps/ieee754/ldbl-opt/nldbl-obstack_printf_chk.c: New file. | |
5074 | * sysdeps/ieee754/ldbl-opt/nldbl-asprintf_chk.c: New file. | |
5075 | * sysdeps/ieee754/ldbl-opt/nldbl-vdprintf_chk.c: New file. | |
5076 | * sysdeps/ieee754/ldbl-opt/nldbl-vasprintf_chk.c: New file. | |
5077 | ||
d835f136 UD |
5078 | 2008-03-04 Ulrich Drepper <drepper@redhat.com> |
5079 | ||
a4bb445a UD |
5080 | [BZ #5779] |
5081 | * misc/sys/queue.h: Add STAILQ_CONCAT and TAILQ_CONCAT definitions. | |
5082 | Patch by Roy Marples <roy@marples.name>. | |
5083 | ||
c958a6a4 UD |
5084 | [BZ #5736] |
5085 | * malloc/malloc.c: Fix typo in comment. | |
5086 | ||
d835f136 UD |
5087 | [BZ #5627] |
5088 | * locale/iso-639.def: Add Shuswap. | |
5089 | ||
65b4743a UD |
5090 | 2008-02-25 Jakub Jelinek <jakub@redhat.com> |
5091 | ||
5092 | [BZ #5790] | |
5093 | * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Don't | |
5094 | overwrite *h_errnop/*errnop values from getanswer_r in case of | |
5095 | failure. | |
5096 | ||
3868fb6e UD |
5097 | 2008-03-03 Ulrich Drepper <drepper@redhat.com> |
5098 | ||
27c377dd UD |
5099 | [BZ #5818] |
5100 | * nscd/connections.c (dbs): Add initializers for .suggested_module. | |
5101 | (verify_persistent_db): Remove one unnecessary test and add a new one | |
5102 | for bad configuration. | |
5103 | (nscd_init): Improve error reported when persistent database cannot | |
5104 | be reused. | |
5105 | * nscd/nscd.h (DEFAULT_SUGGESTED_MODULE): Define. | |
5106 | * nscd/nscd_conf.c (nscd_parse_file): Provide default values for | |
5107 | .suggested_module and .max_db_size and case config file says the | |
5108 | values are zero. | |
5109 | * nscd/nscd_helper.c (get_mapping): Fail if hash table module is zero. | |
5110 | ||
0f749099 UD |
5111 | [BZ #5854] |
5112 | * nis/ypclnt.c (yp_order): Fix handling of return value of | |
5113 | do_ypcall_tr call. | |
5114 | Patch by Jeff Moyer <jmoyer@redhat.com>. | |
5115 | ||
3868fb6e UD |
5116 | * po/fr.po: Update from translation team. |
5117 | ||
268dbf25 AJ |
5118 | 2008-02-22 Andreas Jaeger <aj@suse.de>, |
5119 | Carlos O'Donell <carlos@systemhalted.org> | |
5120 | ||
5121 | [BZ #5012] | |
5122 | * FAQ.in: Describe why glibc needs to be compiled with | |
5123 | optimization. | |
5124 | ||
73b82641 RM |
5125 | 2008-02-19 Roland McGrath <roland@redhat.com> |
5126 | ||
5127 | * elf/elf.h (SHT_GNU_ATTRIBUTES): New macro. | |
5128 | ||
c9136393 UD |
5129 | 2008-02-15 Ulrich Drepper <drepper@redhat.com> |
5130 | ||
5131 | [BZ #5737] | |
5132 | * resolv/netdb.h: Make NI_MAXHOST and NI_MAXSERV available when | |
5133 | __USE_MISC is defined. | |
5134 | ||
2e3e9ff1 UD |
5135 | 2008-02-10 Ulrich Drepper <drepper@redhat.com> |
5136 | ||
5137 | * sysdeps/unix/sysv/linux/sys/timerfd.h: New file. | |
5138 | * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers): Add | |
5139 | sys/timerfd.h. | |
5140 | * sysdeps/unix/sysv/linux/syscalls.list: Add timerfd_create, | |
5141 | timerfd_gettime, timerfd_settime. | |
5142 | * sysdeps/unix/sysv/linux/Versions: Add timerfd_create, | |
5143 | timerfd_gettime, timerfd_settime for GLIBC_2.8. | |
5144 | ||
85202a2b RM |
5145 | 2008-02-08 Roland McGrath <roland@redhat.com> |
5146 | ||
5147 | * elf/elf.h (NT_PPC_SPE): New macro. | |
5148 | ||
708ef8a4 RM |
5149 | 2008-02-06 Roland McGrath <roland@redhat.com> |
5150 | ||
5151 | * Makerules ($(common-objpfx)sysd-rules): | |
5152 | Depend on $(sysdep-makeconfigs). | |
5153 | ||
363a641b RM |
5154 | 2008-01-31 Roland McGrath <roland@redhat.com> |
5155 | ||
67fbfa5c RM |
5156 | [BZ #5442] |
5157 | * configure.in: Use -print-file-name if it yields a directory, | |
5158 | for each of include and include-fixed. | |
5159 | * configure: Regenerated. | |
5160 | ||
363a641b RM |
5161 | * Makeconfig (sysd-rules-targets): New variable. |
5162 | * sysdeps/unix/make-syscalls.sh: Use it in the rules emitted. | |
5163 | * sysdeps/unix/Makefile (omit-deps): Append variants for each target. | |
5164 | ||
0f0f9610 RM |
5165 | 2008-01-30 Roland McGrath <roland@redhat.com> |
5166 | ||
7bd00dbf RM |
5167 | * manual/libc.texinfo: Update back-cover text. |
5168 | ||
0f0f9610 RM |
5169 | * elf/elf.h (NT_386_TLS): New macro. |
5170 | ||
16cd816f RM |
5171 | 2008-01-29 Roland McGrath <roland@redhat.com> |
5172 | ||
5173 | * Makeconfig (sysd-rules-patterns): New variable. | |
5174 | * Makerules ($(common-objpfx)sysd-rules): Drive the loop from that. | |
5175 | (check-inhibit-asm): New canned sequence, replaces ... | |
5176 | (open-check-inhibit-asm, close-check-inhibit-asm): ... these, removed. | |
5177 | * elf/rtld-Rules ($(objpfx)rtld-%.os): Use $(rtld-CPPFLAGS) in commands. | |
5178 | (rtld-CPPFLAGS): Renamed from CPPFLAGS-rtld. | |
5179 | (CFLAGS-rtld): Variable removed. | |
5180 | ||
f641ffcc RM |
5181 | 2008-01-24 Roland McGrath <roland@redhat.com> |
5182 | ||
5183 | * configure.in: Let configure fragments set base_os. | |
5184 | * configure: Regenerated. | |
5185 | ||
b7e26885 UD |
5186 | 2008-01-22 Ulrich Drepper <drepper@redhat.com> |
5187 | ||
5188 | * po/ko.po: Update from translation team. | |
5189 | ||
b4b166af UD |
5190 | 2008-01-12 H.J. Lu <hongjiu.lu@intel.com> |
5191 | ||
5192 | * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Use short for fnstsw. | |
5193 | ||
f66def9d AJ |
5194 | 2008-01-12 Andreas Jaeger <aj@suse.de> |
5195 | ||
5196 | [BZ #5040] | |
5197 | * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h (enum EPOLL_EVENTS): | |
5198 | Add EPOLLRDHUP. | |
5199 | ||
d3bc5e77 RM |
5200 | 2008-01-20 Samuel Thibault <samuel.thibault@ens-lyon.org> |
5201 | ||
5202 | * hurd/hurdsock.c (_hurd_socket_server): Return the standard | |
5203 | error EAFNOSUPPORT rather than non-standard EPFNOSUPPORT. | |
5204 | * sunrpc/bindrsvprt.c (bindresvport): Likewise. | |
5205 | ||
4c533566 UD |
5206 | 2007-10-23 Alexandre Oliva <aoliva@redhat.com> |
5207 | ||
5208 | * include/link.h (FORCED_DYNAMIC_TLS_OFFSET): Define. | |
5209 | * elf/dl-close.c (_dl_close): Check for it. | |
5210 | * elf/dl-reloc.c (CHECK_STATIC_TLS): Likewise. | |
5211 | (_dl_allocate_static_tls): Likewise. | |
5212 | * elf/dl-tls.c (_dl_allocate_tls_init): Likewise. | |
5213 | (__tls_get_addr): Protect from race conditions in setting l_tls_offset | |
5214 | to it. | |
5215 | * elf/tst-tls16.c: New file. | |
5216 | * elf/tst-tlsmod16a.c: New file. | |
5217 | * elf/tst-tlsmod16b.c: New file. | |
5218 | * elf/Makefile: Add rules to build and run tst-tls16. | |
5219 | ||
a53d3f82 UD |
5220 | 2008-01-16 Ulrich Drepper <drepper@redhat.com> |
5221 | ||
a0f6c236 UD |
5222 | [BZ #5628] |
5223 | * bits/shm.h: Fix comment describing shmid_ds. | |
5224 | * sysdeps/gnu/bits/shm.h: Likewise. | |
5225 | * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise. | |
5226 | * sysdeps/unix/sysv/linux/bits/shm.h: Likewise. | |
5227 | * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise. | |
5228 | * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise. | |
5229 | * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise. | |
5230 | * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise. | |
5231 | * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise. | |
5232 | * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise. | |
5233 | Patch by Hareesh Nagarajan <hareesh.nagarajan@gmail.com>. | |
5234 | ||
a53d3f82 UD |
5235 | [BZ #5607] |
5236 | * conform/data/fcntl.h-data: Fix posix_fadvise and posix_fallocate | |
5237 | prototypes. | |
5238 | * conform/data/limits.h-data: Adjust limits changed in v6 and add | |
5239 | additional suffixes. | |
5240 | * conform/data/mqueue.h-data: Fix typo in mq_curmsgs entry. | |
5241 | Add optional functions mq_timedreceive and mq_timedsend. | |
5242 | * conform/data/netdb.h-data: Add more AI_* and EAI_* constants. | |
5243 | * conform/data/pthread.h-data: Fix prototype of | |
5244 | pthread_condattr_setclock. pthread_sigmask is not required in v6. | |
5245 | * conform/data/semaphore.h-data: Allow time.h definitions. | |
5246 | * conform/data/signal.h-data: Likewise. | |
5247 | * conform/data/stdio.h-data: getw and putw are not required in v6. | |
5248 | * conform/data/stdlib.h-data: Change setstate prototype. | |
5249 | * conform/data/string.h-data: Fix strerror_r prototype. | |
5250 | * conform/data/time.h-data: Fix typo in TIMER_ABSTIME definition. | |
5251 | * conform/data/unistd.h-data: pthread_atfork not required in v6. | |
5252 | Fix readlink prototype. | |
5253 | * conform/data/netinet/in.h-data: Add const to in6addr_any and | |
5254 | in6addr_loopback. | |
5255 | * inet/netinet/in.h: Cleanup namespace. | |
5256 | * posix/regex.h: Likewise. | |
5257 | * resolv/netdb.h: Likewise. | |
5258 | * sysdeps/unix/sysv/linux/bits/in.h: Likewise. | |
5259 | * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. | |
5260 | * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise. | |
6107639e UD |
5261 | * sysdeps/posix/getaddrinfo.c (default_labels): Adjust for change |
5262 | of names of in in6_addr. | |
5263 | (default_precedence): Likewise. | |
5264 | * sysdeps/unix/sysv/linux/cmsg_nxthdr.c: Include <stddef.h> for | |
5265 | NULL definition. | |
a53d3f82 | 5266 | |
ebca8f73 UD |
5267 | 2008-01-15 Ulrich Drepper <drepper@redhat.com> |
5268 | ||
fbe90cd5 UD |
5269 | * conform/data/fmtmsg.h-data: Add missing allows. |
5270 | * conform/data/ftw.h-data: Likewise. | |
5271 | * conform/data/inttypes.h-data: Likewise. | |
5272 | * conform/data/math.h-data: Likewise. | |
5273 | * conform/data/signal.h-data: Likewise. | |
5274 | * conform/data/net/if.h-data: Likewise. | |
5275 | * conform/data/netinet/in.h-data: Likewise. | |
5276 | * conform/data/sys/socket.h-data: Likewise. | |
5277 | ||
ebca8f73 UD |
5278 | [BZ #5614] |
5279 | * string/bits/string2.h (__strtok_r_1c): Always update *__NEXTP. | |
5280 | (__strtok_r): Simplify. | |
5281 | * string/tester.c (test_strtok_r): Add test case for futile search | |
5282 | with single-character seach string. | |
5283 | ||
7c33ca8b UD |
5284 | 2008-01-12 Ulrich Drepper <drepper@redhat.com> |
5285 | ||
5286 | * po/ko.po: Update from translation team. | |
5287 | ||
b8cc0848 AJ |
5288 | 2008-01-11 Andreas Jaeger <aj@suse.de> |
5289 | ||
5290 | [BZ #5600] | |
5291 | * sysdeps/unix/sysv/linux/sys/signalfd.h (struct | |
5292 | signalfd_siginfo): Use 64-bit type for ssi_ptr to sync with Linux | |
5293 | kernel header. | |
5294 | ||
49029a66 UD |
5295 | 2008-01-10 Ulrich Drepper <drepper@redhat.com> |
5296 | ||
5297 | * sysdeps/posix/getaddrinfo.c (rfc3484_sort): Store result of | |
5298 | native interface lookup in all the relevant places. | |
5299 | ||
99f05798 UD |
5300 | 2008-01-10 Jakub Jelinek <jakub@redhat.com> |
5301 | Ulrich Drepper <drepper@redhat.com> | |
0efd1956 UD |
5302 | |
5303 | * sysdeps/posix/getaddrinfo.c (sort_results): Remove service_order | |
5304 | field. Use sockaddr_in6 for source_addr. | |
5305 | (get_scope): Change type of parameter to sockaddr_in6. Adjust. | |
5306 | (match_prefix): Likewise. | |
5307 | (get_label): Likewise. | |
5308 | (get_precedence): Likewise. | |
5309 | (rfc3484_sort): Change to use indirect access to results array. | |
5310 | Adjust to use of sockaddr_in6. Replace service_order test with | |
5311 | simple index comparison. | |
5312 | (getaddrinfo): Define order array. Initialize it. Don't initialize | |
5313 | service_order field. Adjust qsort_t calls. Access sorted result | |
5314 | array indirectly through order array. | |
5315 | * posix/tst-rfc3484.c: Adjust for change of rfc3484_sort. | |
5316 | * posix/tst-rfc3484-2.c: Likewise. | |
5317 | * posix/tst-rfc3484-3.c: Likewise. | |
5318 | ||
b3443701 UD |
5319 | 2008-01-09 Ulrich Drepper <drepper@redhat.com> |
5320 | ||
f6bacb8e UD |
5321 | [BZ #5541] |
5322 | * sunrpc/rpc_thread.c (__rpc_thread_destroy): Also free xports and | |
5323 | pollfd structures. | |
5324 | Patch by André Cruz. | |
5325 | ||
aa693c68 UD |
5326 | [BZ #5545] |
5327 | * sunrpc/clnt_perr.c (clnt_sperror): Don't use fixed size buffer. | |
5328 | (clnt_spcreateerror): Likewise. | |
5329 | ||
b3443701 UD |
5330 | [BZ #5553] |
5331 | * malloc/malloc.c (public_mALLOc): Set ar_ptr when trying main_arena. | |
5332 | (public_mEMALIGn): Likewise. | |
5333 | Patch mostly by Daniel Jacobowitz. | |
5334 | ||
148e12ed UD |
5335 | 2008-01-09 Jakub Jelinek <jakub@redhat.com> |
5336 | ||
5337 | * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext): Avoid | |
5338 | clobbering memory at or above uc_stack.ss_sp + uc_stack.ss_size. | |
5339 | * stdlib/Makefile: Add rules to build and run tst-makecontext2. | |
5340 | * stdlib/tst-makecontext2.c: New test. | |
5341 | ||
78c2bf0e | 5342 | 2008-01-08 Jakub Jelinek <jakub@redhat.com> |
4b1b449d UD |
5343 | |
5344 | * iconv/loop.c (UPDATE_PARAMS): Define to empty statement if not | |
5345 | defined. | |
5346 | (REINIT_PARAMS): Likewise. Undefine before end of file. | |
5347 | (STANDARD_TO_LOOP_ERR_HANDLER): Use UPDATE_PARAMS before calling | |
5348 | transliteration hooks and REINIT_PARAMS afterwards. | |
5349 | * iconvdata/iso-2022-jp.c (BODY): Use a separate variable for | |
5350 | status. | |
5351 | (REINIT_PARAMS): Define. | |
5352 | * iconvdata/ibm1364.c (REINIT_PARAMS): Likewise. | |
5353 | * iconvdata/ibm930.c (REINIT_PARAMS): Likewise. | |
5354 | * iconvdata/ibm933.c (REINIT_PARAMS): Likewise. | |
5355 | * iconvdata/ibm935.c (REINIT_PARAMS): Likewise. | |
5356 | * iconvdata/ibm937.c (REINIT_PARAMS): Likewise. | |
5357 | * iconvdata/ibm939.c (REINIT_PARAMS): Likewise. | |
5358 | * iconvdata/iso-2022-cn.c (REINIT_PARAMS): Likewise. | |
5359 | * iconvdata/iso-2022-cn-ext.c (REINIT_PARAMS): Likewise. | |
5360 | * iconvdata/iso-2022-jp-3.c (REINIT_PARAMS): Likewise. | |
5361 | * iconvdata/iso-2022-kr.c (REINIT_PARAMS): Likewise. | |
5362 | * iconvdata/Makefile: Add rules to build and run tst-iconv7.c. | |
5363 | * iconvdata/tst-iconv7.c: New test. | |
5364 | ||
71edcafa UD |
5365 | 2008-01-07 Ulrich Drepper <drepper@redhat.com> |
5366 | ||
5367 | * libio/stdio.h (vscanf): Fix definition for loser compilers. | |
5368 | ||
0fbfe2f7 JJ |
5369 | 2008-01-05 Jakub Jelinek <jakub@redhat.com> |
5370 | ||
5371 | [BZ #5112] | |
5372 | * nscd/connections.c (restart): Fix condition. | |
5373 | ||
8726a12e UD |
5374 | 2008-01-03 Jakub Jelinek <jakub@redhat.com> |
5375 | ||
5376 | * ctype/ctype.h (__ctype_b_loc, __ctype_tolower_loc, | |
5377 | __ctype_toupper_loc): Add __THROW. | |
5378 | ||
f4a1363e UD |
5379 | 2008-01-02 Ulrich Drepper <drepper@redhat.com> |
5380 | ||
ad586879 UD |
5381 | * sysdeps/unix/sysv/linux/check_pf.c (make_request): Fix |
5382 | recognition of interface family. | |
5383 | ||
f4a1363e UD |
5384 | * posix/getconf.c: Update copyright year. |
5385 | * nss/getent.c: Likewise. | |
5386 | * iconv/iconvconfig.c: Likewise. | |
5387 | * iconv/iconv_prog.c: Likewise. | |
5388 | * elf/ldconfig.c: Likewise. | |
5389 | * catgets/gencat.c: Likewise. | |
5390 | * csu/version.c: Likewise. | |
5391 | * elf/ldd.bash.in: Likewise. | |
5392 | * elf/sprof.c (print_version): Likewise. | |
5393 | * locale/programs/locale.c: Likewise. | |
5394 | * locale/programs/localedef.c: Likewise. | |
5395 | * nscd/nscd.c (print_version): Likewise. | |
5396 | * debug/xtrace.sh: Likewise. | |
5397 | * malloc/memusage.sh: Likewise. | |
5398 | * malloc/mtrace.pl: Likewise. | |
5399 | * debug/catchsegv.sh: Likewise. | |
5400 | ||
0dc6c5e4 UD |
5401 | 2007-12-26 Ulrich Drepper <drepper@redhat.com> |
5402 | ||
5403 | * nss/nsswitch.c (__nss_lookup): Actually use alternative name in | |
5404 | second lookup. | |
5405 | ||
80af8b82 UD |
5406 | 2007-12-23 Ulrich Drepper <drepper@redhat.com> |
5407 | ||
5408 | * sysdeps/x86_64/cacheinfo.c (intel_02_known): New entry 0x3f. | |
5409 | * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise. | |
5410 | ||
4bcecfb7 RM |
5411 | 2007-12-17 Roland McGrath <roland@redhat.com> |
5412 | ||
5413 | * inet/ether_line.c (ether_line): Remove unused variable. | |
5414 | ||
5415 | 2007-12-17 Samuel Thibault <samuel.thibault@ens-lyon.org> | |
5416 | ||
5417 | * login/forkpty.c (forkpty): Add const qualifier to parameters termp | |
5418 | and winp. | |
5419 | * login/openpty.c (openpty): Likewise. | |
5420 | * login/pty.h (openpty, forkpty): Likewise. | |
5421 | * manual/terminal.texi (openpty, forkpty): Likewise. | |
5422 | ||
4cd4c5d6 UD |
5423 | 2007-12-17 Ulrich Drepper <drepper@redhat.com> |
5424 | ||
78c2bf0e | 5425 | * malloc/malloc.c (public_cALLOc): For arenas other than |
4cd4c5d6 UD |
5426 | main_arena, count all bytes inside the mprotect_size range of the |
5427 | heap as uninitialized. | |
5428 | ||
68631c8e UD |
5429 | 2007-12-16 Ulrich Drepper <drepper@redhat.com> |
5430 | ||
d9961b6a UD |
5431 | * elf/tst-execstack.c (do_test): Don't fail if SELinux forbids |
5432 | executable stacks. | |
5433 | ||
68631c8e UD |
5434 | * malloc/malloc.c (public_mTRIm): Iterate over all arenas and call |
5435 | mTRIm for all of them. | |
5436 | (mTRIm): Additionally iterate over all free blocks and use madvise | |
5437 | to free memory for all those blocks which contain at least one | |
5438 | memory page. | |
be8c1500 UD |
5439 | * malloc/tst-trim1.c: New file. |
5440 | * malloc/Makefile (tests): Add tst-trim1. | |
68631c8e UD |
5441 | |
5442 | * malloc/malloc.c (do_check_malloc_state): Minimal cleanups. | |
5443 | ||
78b767a0 UD |
5444 | 2007-12-14 Ulrich Drepper <drepper@redhat.com> |
5445 | ||
5446 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INTERNAL_SYSCALL_ERROR_P): | |
5447 | First cast argument to long | |
52386be7 UD |
5448 | * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_gettimeofday): |
5449 | Return long. | |
5450 | (__vdso_clock_gettime): Likewise. | |
78b767a0 UD |
5451 | * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Functions |
5452 | return long. | |
5453 | ||
bc3e1c12 UD |
5454 | 2007-12-13 Ulrich Drepper <drepper@redhat.com> |
5455 | ||
5456 | * locale/nl_langinfo.c (nl_langinfo): Just call __nl_langinfo_l. | |
5457 | * locale/nl_langinfo_l.c: Real implementation, copied from | |
5458 | nl_langinfo.c. | |
5459 | * include/langinfo.h: Add libc_hidden_proto for __nl_langinfo_l. | |
5460 | ||
77751669 UD |
5461 | 2007-12-01 Jim Meyering <meyering@redhat.com> |
5462 | ||
5463 | * posix/regcomp.c (optimize_utf8): Fix a typo, s/idx/ctx_type/, | |
5464 | that would inhibit utf8-optimization of a regexp containing line- | |
5465 | or buffer-anchors, e.g., `^', `$'. | |
5466 | ||
f63e5063 UD |
5467 | 2007-12-12 Ulrich Drepper <drepper@redhat.com> |
5468 | ||
5469 | * time/bug-getdate1.c (do_test): Don't use century values which | |
5470 | aren't valid on 32-bit systems. | |
5471 | ||
a78814a9 UD |
5472 | 2007-12-12 Jakub Jelinek <jakub@redhat.com> |
5473 | ||
5474 | * sysdeps/i386/i486/bits/string.h (memmove): Define as macro. | |
5475 | (memmove): Rename to __memmove_g, with __asm__ ("memmove"). | |
5476 | * sysdeps/s390/bits/string.h (__strlen_g, __strcpy_g, __strncpy_g, | |
5477 | __strcat_g, __strncat_g): Add __asm__. | |
5478 | ||
5479 | 2007-12-12 Ulrich Drepper <drepper@redhat.com> | |
5480 | ||
5481 | [BZ #5477] | |
5482 | * io/fchmodat.c: Fix typo in stub_warning use. | |
5483 | Patch by Petr Salinger. | |
5484 | ||
17edb30c UD |
5485 | 2007-12-11 Ulrich Drepper <drepper@redhat.com> |
5486 | ||
58d11795 UD |
5487 | * iconvdata/hp-thai8.c: New file. |
5488 | * iconvdata/Makefile: Add rules for hp-thai8.c. | |
5489 | * iconvdata/tst-tables.sh: Add entry for HP-THAI8. | |
5490 | * iconvdata/gconv-modules: Likewise. | |
5491 | ||
5492 | [BZ #5464] | |
5493 | * iconvdata/hp-greek8.c: New file. | |
5494 | * iconvdata/Makefile: Add rules for hp-greek8.c. | |
5495 | * iconvdata/tst-tables.sh: Add entry for HP-GREEK8. | |
5496 | * iconvdata/gconv-modules: Likewise. | |
5497 | ||
5498 | [BZ #5463] | |
5499 | * iconvdata/hp-turkish8.c: New file. | |
5500 | * iconvdata/Makefile: Add rules for hp-turkish8.c. | |
5501 | * iconvdata/tst-tables.sh: Add entry for HP-TURKISH8. | |
5502 | * iconvdata/gconv-modules: Likewise. | |
5503 | ||
cbf5760e UD |
5504 | * malloc/arena.c (grow_heap): Split out code to shrink heap into... |
5505 | (shrink_heap): ... this new function. | |
5506 | (heap_trim): Call shrink_heap instead of grow_heap. | |
5507 | ||
17edb30c UD |
5508 | * malloc/malloc.c (_int_malloc): sYSMALLOc might fail, in this |
5509 | case don't call alloc_perturb. | |
5510 | ||
ae18718f UD |
5511 | 2007-12-10 Ulrich Drepper <drepper@redhat.com> |
5512 | ||
5513 | * sysdeps/unix/sysv/linux/adjtime.c: Use ADJ_OFFSET_SS_READ if | |
5514 | possible. | |
5515 | * sysdeps/unix/sysv/linux/kernel-features.h | |
5516 | (__ASSUME_ADJ_OFFSET_SS_READ): Define for 2.6.24. | |
5517 | * sysdeps/unix/sysv/linux/sys/timex.h (ADJ_OFFSET_SS_READ): Define. | |
5518 | ||
b4354cf4 UD |
5519 | 2007-12-08 Ulrich Drepper <drepper@redhat.com> |
5520 | ||
5521 | [BZ #5424] | |
5522 | * stdio-common/vfprintf.c: Do not overflow when adding to done. | |
5523 | * stdio-common/Makefile (tests): Add bug22. | |
5524 | * stdio-common/bug22.c: New file. | |
5525 | ||
5526 | [BZ #5451] | |
5527 | * time/getdate.c: Fix filling in default values. | |
5528 | * time/bug-getdate1.c: New file. | |
5529 | * time/Makefile: Add rules to build and run bug-getdate1. | |
5530 | ||
5531 | * iconvdata/ebcdic-is-friss.c: Use 8bit-gap instead of 8bit-generic. | |
5532 | * iconvdata/ebcdic-es.c: Likewise. | |
5533 | * iconvdata/ebcdic-es-a.c: Likewise. | |
5534 | * iconvdata/ebcdic-uk.c: Likewise. | |
5535 | * iconvdata/iso8859-16.c: Likewise. | |
5536 | * iconvdata/viscii.c: Likewise. | |
5537 | * iconvdata/iso8859-9e.c: Likewise. | |
5538 | * iconvdata/Makefile: Adjust appropriately. | |
5539 | ||
5540 | [BZ #5428] | |
5541 | * wcsmbs/wchar.h: Unconditionally undefine __need_mbstate and | |
5542 | __need_wint_t. | |
5543 | ||
26e21e75 UD |
5544 | 2007-12-07 Ulrich Drepper <drepper@redhat.com> |
5545 | ||
87520ccc UD |
5546 | [BZ #5427] |
5547 | * iconvdata/hp-roman9.c: New file. | |
5548 | * iconvdata/Makefile: Add rules for hp-roman9.c. | |
5549 | * iconvdata/tst-tables.sh: Add HP-ROMAN9. | |
b4354cf4 | 5550 | * iconvdata/gconv-modules: Likewise. |
87520ccc UD |
5551 | |
5552 | * iconvdata/hp-roman8.c: Use 8bit-gap instead of 8bit-generic. | |
5553 | * iconvdata/Makefile: Adjust appropriately. | |
5554 | ||
26e21e75 UD |
5555 | [BZ #5441] |
5556 | * stdio-common/vfscanf.c (_IO_vfwscanf): Don't free ptrs_to_free | |
5557 | structure, it's allocated with alloca. | |
5558 | * stdio-common/Makefile (tests): Add bug21. | |
5559 | * stdio-common/bug21.c: New file. | |
5560 | ||
5561 | 2007-12-06 Aurelien Jarno <aurelien@aurel32.net> | |
5562 | ||
5563 | [BZ #5452] | |
5564 | * sysdeps/unix/sysv/linux/bits/sched.h: Use __extension__ | |
87520ccc | 5565 | keyword for gcc's braced-groups. |
26e21e75 UD |
5566 | |
5567 | 2007-12-07 Ulrich Drepper <drepper@redhat.com> | |
5568 | ||
5569 | [BZ #5454] | |
5570 | * inet/ether_line.c: Strip hostname of whitespaces. | |
5571 | * inet/Makefile (tests): Add tst-ether_line. | |
5572 | * inet/tst-ether_line.c: New file. | |
5573 | ||
9e80c123 UD |
5574 | 2007-12-03 Ulrich Drepper <drepper@redhat.com> |
5575 | ||
da0ff4ae UD |
5576 | [BZ #5439] |
5577 | * sysdeps/unix/sysv/linux/sys/signalfd.h: Fix use of __nonnull. | |
5578 | ||
51bd20d9 UD |
5579 | [BZ #5435] |
5580 | * sysdeps/unix/sysv/linux/i386/makecontext.S: Align stack. | |
5581 | ||
d90d0256 UD |
5582 | * stdlib/tst-setcontext.c: Catch the case where the links gets |
5583 | messed up and we do not reach main again. | |
5584 | ||
9e80c123 UD |
5585 | * po/ca.po: Update from translation team. |
5586 | ||
ae4287f8 UD |
5587 | 2007-11-26 Ulrich Drepper <drepper@redhat.com> |
5588 | ||
6701afc7 | 5589 | * posix/unistd.h: Declare fsync also for __USE_XOPEN2K. |
79fb2e02 | 5590 | * posix/regex.h (REG_ENOSYS): Likewise. |
a912a4f8 | 5591 | * wcsmbs/wchar.h: Define __need_file also for __USE_XOPEN2K. |
ae4287f8 | 5592 | |
30294ea4 UD |
5593 | 2007-11-25 Ulrich Drepper <drepper@redhat.com> |
5594 | ||
5595 | * nscd/nscd.h (MAX_STACK_USE): Define. | |
5596 | * nscd/mem.c (MAX_STACK_USE): Remove definition here. | |
5597 | (gc): Initialize stack_used based on allocation in prune_cache. | |
5598 | * nscd/cache.c (prune_cache): Use heap for mark array if necessary. | |
e8667ddc | 5599 | Clear array before use. |
30294ea4 UD |
5600 | |
5601 | * nscd/aicache.c (addhstaiX): Update statistics counter in case | |
10a4c1e9 | 5602 | memory allocation failed. |
e8667ddc UD |
5603 | * nscd/hstcache.c (cache_addhst): Likewise. |
5604 | * nscd/grpcache.c (cache_addgr): Likewise. | |
5605 | * nscd/servicescache.c (cache_addserv): Likewise. | |
5606 | * nscd/pwdcache.c (cache_addpw): Likewise. | |
5607 | * nscd/initgrcache.c (addinitgroupsX): Likewise. | |
30294ea4 | 5608 | |
715db78b UD |
5609 | 2007-11-23 Ulrich Drepper <drepper@redhat.com> |
5610 | ||
609bb071 UD |
5611 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Add open |
5612 | and creat system calls. | |
5613 | ||
715db78b UD |
5614 | * sysdeps/unix/sysv/linux/check_native.c: Include <asm/types.h>. |
5615 | ||
ea2c47b6 UD |
5616 | 2007-11-23 Martin Schwidefsky <schwidefsky@de.ibm.com> |
5617 | ||
5618 | * sysdeps/unix/sysv/linux/Makefile [subdir=inet] (sysdep_headers): | |
5619 | Add netiucv/iucv.h. | |
5620 | * sysdeps/unix/sysv/linux/netiucv/iucv.h: New file. | |
5621 | * sysdeps/unix/sysv/linux/opensock.c (__opensock): Add AF_IUCV | |
5622 | protocol. | |
5623 | * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Likewise. | |
5624 | * sysdeps/unix/sysv/linux/s390/opensock.c: New file. | |
5625 | * sysdeps/unix/sysv/linux/s390/sa_len.c: New file. | |
5626 | ||
dcdcf4b9 UD |
5627 | 2007-11-22 Martin Schwidefsky <schwidefsky@de.ibm.com> |
5628 | ||
37143323 UD |
5629 | * sysdeps/s390/bits/string.h (strlen, strcpy, strncpy, strcat, |
5630 | strncat): Define as macros to avoid compile errors. | |
5631 | ||
dcdcf4b9 UD |
5632 | * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Add open and |
5633 | creat entries. | |
5634 | ||
3a632674 UD |
5635 | 2007-11-22 Ulrich Drepper <drepper@redhat.com> |
5636 | ||
7ea8eb02 UD |
5637 | [BZ #5382] |
5638 | * nscd/nscd.h (NSCD_THREAD_STACKSIZE): Define. | |
5639 | * nscd/connections.c (start_threads): Use NSCD_THREAD_STACKSIZE. | |
715db78b | 5640 | * nscd/mem.c (gc): Don't allocate arrays on the stack if they can |
7ea8eb02 | 5641 | overflow it. |
70d5b6ef | 5642 | Partially based on a patch by Petr Baudis <pasky@suse.cz>. |
7ea8eb02 UD |
5643 | |
5644 | * sysdeps/unix/sysv/linux/nscd_setup_thread.c (setup_thread): | |
715db78b | 5645 | Return zero in case the thread library is not NPTL. |
7ea8eb02 | 5646 | |
5c3a3dba UD |
5647 | [BZ #5375] |
5648 | * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix locking when | |
5649 | initializing interface list. | |
5650 | ||
85883123 UD |
5651 | [BZ #5378] |
5652 | * nis/nss_compat/compat-initgroups.c (getgrent_next_nss): Don't | |
5653 | use result of nss_getgrgid_r if nothing was found. For other | |
5654 | error return with a failure. | |
5655 | Partially based on a patch by Petr Baudis <pasky@suse.cz>. | |
5656 | ||
3a632674 UD |
5657 | * locale/programs/ld-collate.c (collate_read): Fix loop to match |
5658 | macro name. | |
5659 | ||
b73f9135 UD |
5660 | 2007-11-19 Ulrich Drepper <drepper@redhat.com> |
5661 | ||
ee72b971 UD |
5662 | * sysdeps/posix/getaddrinfo.c (defaults_scopes, scopes): New variables. |
5663 | (get_scope): For IPv4 scope, use scopes table. | |
5664 | (fini): Free scopes table if necessary. | |
5665 | (free_scopelist): New function. | |
5666 | (scopecmp): New function. | |
5667 | (gaiconf_init): Also handle scopev4 entries. | |
5668 | * posix/tst-rfc3484.c (do_test): Initialize scopes. | |
5669 | * posix/tst-rfc3484-2.c (do_test): Likewise. | |
5670 | * posix/gai.conf: Document scopev4 defaults. | |
5671 | * posix/Makefile (tests): Add tst-rfc3484-3. | |
5672 | * posix/tst-rfc3484-3.c: New file. | |
5673 | ||
f4a79765 UD |
5674 | * sysdeps/posix/getaddrinfo.c (default_labels): Describe entry for |
5675 | Teredo tunnels. | |
b73f9135 UD |
5676 | * posix/gai.conf: Update for current default tables. |
5677 | ||
429bd64d UD |
5678 | 2007-11-19 Ulrich Drepper <drepper@redhat.com> |
5679 | ||
5680 | * po/tr.po: Update from translation team. | |
5681 | ||
3c9af259 RM |
5682 | 2007-11-18 Roland McGrath <roland@frob.com> |
5683 | ||
76cf9889 RM |
5684 | * manual/arith.texi (Remainder Functions): Spelling fix. |
5685 | From Shaun Silk <genix@mysoul.com.au>. | |
5686 | ||
3c9af259 RM |
5687 | * sysdeps/mach/hurd/bits/fcntl.h (O_CLOEXEC): Fix value. |
5688 | ||
238346ab UD |
5689 | 2007-11-17 Ulrich Drepper <drepper@redhat.com> |
5690 | ||
5879ad50 UD |
5691 | * po/zh_CN.po: Update from translation team. |
5692 | ||
238346ab UD |
5693 | * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers): |
5694 | Add sys/signalfd.h and sys/eventfd.h. | |
5695 | ||
b80b9c77 UD |
5696 | 2007-11-15 Bruno Haible <bruno@clisp.org> |
5697 | ||
5698 | [BZ #5346] | |
5699 | * intl/dcigettext.c (struct known_translation_t): Turn msgid into a | |
5700 | union. | |
5701 | (transcmp): Use the appropriate part of s1->msgid and s2->msgid. | |
5702 | (DCIGETTEXT): Change the allocation of the 'search' variable so that | |
5703 | it needs only fixed stack space. Delay the initialization of | |
5704 | msgid_len until it is needed. | |
5705 | ||
2da2501c AJ |
5706 | 2007-11-15 Andreas Jaeger <aj@suse.de> |
5707 | ||
5708 | * sysdeps/ieee754/dbl-64/sincos.tbl: Fix size of union. | |
5709 | Reported by Christoph Quirin Lauter <christoph.lauter@ens-lyon.fr>. | |
5710 | ||
68a6dcf5 UD |
5711 | 2007-11-15 Ulrich Drepper <drepper@redhat.com> |
5712 | ||
5713 | * po/ko.po: Update from translation team. | |
5714 | ||
43850227 UD |
5715 | 2007-11-14 Ulrich Drepper <drepper@redhat.com> |
5716 | ||
1e2692c9 UD |
5717 | * sysdeps/unix/sysv/linux/check_native.c (__check_native): Simplify |
5718 | significantly. The device type is also part of the ifinfomsg data. | |
5719 | ||
84e6cc7c | 5720 | * po/sv.po: Update from translation team. |
cbd52634 | 5721 | * po/nl.po: Likewise. |
84e6cc7c | 5722 | |
f9e2261b UD |
5723 | * nscd/cache.c (prune_cache): If cache is empty, instruct caller |
5724 | to wake up in 24 hours. | |
5725 | ||
43850227 UD |
5726 | * nscd/gai.c (__ioctl): Define. Include check_native.c. |
5727 | ||
5742e960 UD |
5728 | 2007-11-13 Ulrich Drepper <drepper@redhat.com> |
5729 | ||
1a821d82 UD |
5730 | * po/cs.po: Update from translation team. |
5731 | * po/pl.po: Likewise. | |
5732 | ||
773e79b3 UD |
5733 | * include/ifaddrs.h: Remove in6ai_temporary. |
5734 | (struct in6addrinfo): Add index element. | |
5735 | Declare __check_native. | |
5736 | * inet/Makefile (aux): Add check_native. | |
5737 | * sysdeps/unix/sysv/linux/check_native.c: New file. | |
5738 | * sysdeps/unix/sysv/linux/check_pf.c: No need to recognize | |
5739 | IFA_F_TEMPORARY. Pass back ifa_index. | |
5740 | * sysdeps/posix/getaddrinfo.c: Remove netlink compatibility code. | |
5741 | (rfc3484_sort): Add new parameter. Implement rule 7 correctly: | |
5742 | call __check_native if necessary. | |
5743 | (getaddrinfo): Fill in index field. Use qsort_r instead of qsort | |
5744 | to sort addresses. Pass information about the results. | |
5745 | * posix/tst-rfc3484.c: Adjust for addition of index field and change | |
5746 | of rfc3484_sort interface. | |
5747 | * posix/tst-rfc3484-2.c: Likewise. | |
5748 | ||
e458144c UD |
5749 | * stdlib/stdlib.h: Define __compar_d_fn_t. Declare qsort_r. |
5750 | * include/stdlib.h: Add hidden_proto for qsort_t and adjust protoype | |
5751 | for _quicksort. | |
5752 | * stdlib/msort.c (qsort): Now a wrapper around qsort_r. | |
5753 | (qsort_r): Renamed from qsort. Take additional parameter and pass it | |
5754 | on as third parameter to compare function and _quicksort. | |
5755 | * stdlib/qsort.c (_quicksort): Take additional parameter and pass on | |
5756 | to the compare function. | |
5757 | * stdlib/Versions [libc] (GLIBC_2.8): Add qsort_r. | |
5758 | * Versions.def: Add GLIBC_2.8 for libc. | |
5759 | ||
bd63f380 UD |
5760 | * posix/tst-rfc3484.c: Adjust for addition of prefixlen field. |
5761 | * posix/tst-rfc3484-2.c: Likewise. | |
5762 | ||
5742e960 UD |
5763 | * include/kernel-features.h: Moved to... |
5764 | * sysdeps/mach/hurd/kernel-features.h: ...here. | |
5765 | ||
a6ac7fdb RM |
5766 | 2007-09-13 H.J. Lu <hongjiu.lu@intel.com> |
5767 | ||
5768 | * sysdeps/i386/i586/memcpy_chk.S: New file. | |
5769 | * sysdeps/i386/i586/mempcpy_chk.S: Likewise. | |
5770 | * sysdeps/i386/i586/memset_chk.S: Likewise. | |
5771 | ||
6f3914d5 UD |
5772 | 2007-11-12 Ulrich Drepper <drepper@redhat.com> |
5773 | ||
5774 | * include/ifaddrs.c (struct in6addrinfo): Add prefixlen field. | |
5775 | * sysdeps/unix/sysv/linux/check_pf.c (make_request): Always return | |
5776 | list of interfaces. Also store prefix length. | |
5777 | * sysdeps/posix/getaddrinfo.c (sort_result): Add prefixlen element. | |
5778 | (rfc3484_sort): In rule 9, for IPv4 addresses count only matching | |
5779 | prefix if source and destination address are in the same subnet. | |
5780 | (getaddrinfo): Always call __check_pf. Fill in prefixlen field. | |
5781 | Always look for matching record in in6ai list. | |
5782 | Correct source_addr_len value for IPv6->IPv4 converted records. | |
5783 | ||
78cf5f6a RM |
5784 | 2007-11-11 Roland McGrath <roland@frob.com> |
5785 | ||
5786 | * include/kernel-features.h: New file. | |
5787 | ||
7f745396 UD |
5788 | 2007-11-10 Ulrich Drepper <drepper@redhat.com> |
5789 | ||
01e7fdbb UD |
5790 | * sysdeps/pthread/aio_misc.c (handle_fildes_io): Avoid unnecessary |
5791 | complications for 64-bit platforms. | |
5792 | ||
7f745396 UD |
5793 | * sysdeps/unix/sysv/linux/open64.c: Move __open64_2 implementation to.. |
5794 | * sysdeps/unix/sysv/linux/open64_2.c: ...here. New file. | |
5795 | * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): Add | |
5796 | open64_2. | |
5797 | * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add open and creat | |
5798 | entries. | |
5799 | * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. | |
5800 | * sysdeps/wordsize-64/alphasort.c: New file. | |
5801 | * sysdeps/wordsize-64/alphasort64.c: New file. | |
5802 | * sysdeps/wordsize-64/fseeko.c: New file. | |
5803 | * sysdeps/wordsize-64/fseeko64.c: New file. | |
5804 | * sysdeps/wordsize-64/ftello.c: New file. | |
5805 | * sysdeps/wordsize-64/ftello64.c: New file. | |
5806 | * sysdeps/wordsize-64/ftw.c: New file. | |
5807 | * sysdeps/wordsize-64/ftw64.c: New file. | |
5808 | * sysdeps/wordsize-64/iofgetpos.c: New file. | |
5809 | * sysdeps/wordsize-64/iofgetpos64.c: New file. | |
5810 | * sysdeps/wordsize-64/iofopen.c: New file. | |
5811 | * sysdeps/wordsize-64/iofopen64.c: New file. | |
5812 | * sysdeps/wordsize-64/iofsetpos.c: New file. | |
5813 | * sysdeps/wordsize-64/iofsetpos64.c: New file. | |
5814 | * sysdeps/wordsize-64/lockf.c: New file. | |
5815 | * sysdeps/wordsize-64/lockf64.c: New file. | |
5816 | * sysdeps/wordsize-64/mkostemp.c: New file. | |
5817 | * sysdeps/wordsize-64/mkostemp64.c: New file. | |
5818 | * sysdeps/wordsize-64/mkstemp.c: New file. | |
5819 | * sysdeps/wordsize-64/mkstemp64.c: New file. | |
5820 | * sysdeps/wordsize-64/scandir.c: New file. | |
5821 | * sysdeps/wordsize-64/scandir64.c: New file. | |
5822 | * sysdeps/wordsize-64/tmpfile.c: New file. | |
5823 | * sysdeps/wordsize-64/tmpfile64.c: New file. | |
5824 | * sysdeps/wordsize-64/versionsort.c: New file. | |
5825 | * sysdeps/wordsize-64/versionsort64.c: New file. | |
5826 | * sysdeps/unix/sysv/linux/wordsize-64/aio_read.c: New file. | |
5827 | * sysdeps/unix/sysv/linux/wordsize-64/aio_read64.c: New file. | |
5828 | * sysdeps/unix/sysv/linux/wordsize-64/aio_write.c: New file. | |
5829 | * sysdeps/unix/sysv/linux/wordsize-64/aio_write64.c: New file. | |
5830 | * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: New file. | |
5831 | * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: New file. | |
5832 | * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: New file. | |
5833 | * sysdeps/unix/sysv/linux/wordsize-64/lio_listio.c: New file. | |
5834 | * sysdeps/unix/sysv/linux/wordsize-64/lio_listio64.c: New file. | |
5835 | * sysdeps/unix/sysv/linux/wordsize-64/open64.c: New file. | |
5836 | * sysdeps/unix/sysv/linux/wordsize-64/openat.c: New file. | |
5837 | * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: New file. | |
5838 | ||
5839 | * crypt/sha256-crypt.c: Fix a comment. | |
5840 | * crypt/sha512-crypt.c: Likewise. | |
5841 | ||
f6ed654c UD |
5842 | 2007-11-07 H.J. Lu <hongjiu.lu@intel.com> |
5843 | ||
5844 | * sysdeps/x86_64/memset.S: Add sfence after movnti. | |
5845 | ||
f2a8406a UD |
5846 | 2007-11-07 Ulrich Drepper <drepper@redhat.com> |
5847 | ||
5848 | [BZ #5277] | |
5849 | * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): If conversion failed | |
5850 | because output buffer is too small break, don't loop. | |
5851 | * iconvdata/Makefile (tests): Add bug-iconv6. | |
5852 | * iconvdata/bug-iconv6.c: New file. | |
5853 | ||
7fe4e0e8 UD |
5854 | 2007-11-06 Ulrich Drepper <drepper@redhat.com> |
5855 | ||
9ca230d6 UD |
5856 | * stdio-common/vfprintf.c (vfprintf): Compute necessary buffer size |
5857 | with size_t type. | |
5858 | * stdio-common/printf_fp.c (__print_fp): Change chars_needed type to | |
5859 | size_t. Add casts where needed. | |
5860 | ||
7fe4e0e8 UD |
5861 | * nscd/selinux.c (nscd_request_avc_has_perm): When compiled with |
5862 | old headers, don't call avc_has_perm if we don't have the | |
5863 | permission information. | |
5864 | ||
b92e3780 UD |
5865 | 2007-11-05 Daniel Jacobowitz <dan@codesourcery.com> |
5866 | ||
5867 | * elf/rtld.c (dl_main): Use the page size to find the map start. | |
5868 | ||
ffb1b882 UD |
5869 | 2007-11-05 Ulrich Drepper <drepper@redhat.com> |
5870 | ||
94a749f6 UD |
5871 | * time/tzfile.c (__tzfile_read): Fix check for version 0 data files. |
5872 | Patch by Szymon Siwek <sls@poczta.wp.pl>. | |
5873 | ||
ffb1b882 UD |
5874 | * nscd/aicache.c (addhstaiX): Check herrno after IPv4 lookup only |
5875 | when the lookup call failed. | |
5876 | ||
5877 | * nscd/nscd.h (struct database_dyn): Rename prunelock to prune_lock. | |
5878 | Add prune_cond and wakeup_time. | |
5879 | (CACHE_PRUNE_INTERNAL): Define. | |
5880 | Update declarations of prune_cache and setup_thread. | |
5881 | * nscd/connections.c (dbs): Update initializers. | |
5882 | (CACHE_PRUNE_INTERNAL): Moved to nscd.h. | |
5883 | (nscd_init): Default number of threads is now 4. | |
5884 | (invalidate_cache): Take lock before calling prune_cache. | |
5885 | (handle_request): If SELinux forbids the request, say so. | |
5886 | (readylist_cond): Use static initializer. | |
5887 | (nscd_run_prune): New function. Used only by pruning threads. | |
5888 | (nscd_run_worder): Renamed from nscd_run. Remove support for pruning | |
5889 | here. | |
5890 | (fd_ready): Update nscd_run reference. | |
5891 | (start_threads): No need to initialize readylist_cond. | |
5892 | Start pruning threads separately. | |
5893 | * nscd/nscd_setup_thread.c: Change return value type to int and always | |
5894 | return 0. | |
5895 | * sysdeps/unix/sysv/linux/nscd_setup_thread.c: Change return value type | |
5896 | to int and return nonzero value if we can use the TID address hack. | |
5897 | * nscd/cache.c (cache_add): If next wakeup time of cleanup thread for | |
5898 | the database is later than the new entry's timeout, update the | |
5899 | wakeup time and wake the cleanup thread. | |
5900 | (prune_cache): Return seconds the next entry in the database is still | |
5901 | valid. Remove locking for pruning here. | |
5902 | * nscd/nscd.conf: Document default number of threads. | |
5903 | ||
4c48ef06 UD |
5904 | 2007-10-31 Ulrich Drepper <drepper@redhat.com> |
5905 | ||
41ff2a49 UD |
5906 | * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Make sure |
5907 | stack is properly aligned for the target function. | |
5908 | Correct unwind info. | |
ffb1b882 | 5909 | |
4c48ef06 UD |
5910 | * elf/rtld.c (dl_main): Initialize stack and pointer guard early |
5911 | when using auditing libraries. | |
5912 | ||
384ca551 UD |
5913 | 2007-10-29 Ulrich Drepper <drepper@redhat.com> |
5914 | ||
31e2791c UD |
5915 | * resolv/Versions [libresolv] (GLIBC_PRIVATE): Add |
5916 | _nss_dns_getnetbyaddr2_r. | |
5917 | * resolv/nss_dns/dns-host.c: Define _nss_dns_getnetbyaddr2_r. Pass | |
5918 | extra parameter to getanswer_r. | |
5919 | (_nss_dns_getnetbyaddr_r): Now a wrapper around | |
5920 | _nss_dns_getnetbyaddr2_r. | |
5921 | ||
384ca551 UD |
5922 | * nscd/Makefile (nscd-modules): Replace gethstbynm2_r with |
5923 | gethstbynm3_r. | |
5924 | * nscd/gethstbynm2_r.c: Remove. | |
5925 | * nscd/gethstbynm3_r.c: New file. | |
5926 | * nscd/aicache.c (addhstaiX): Use __gethostbyaddr2_r instead of | |
5927 | __gethostbyaddr_r. | |
5928 | * nscd/gethstbyad_r.c: Generate __gethostbyaddr2_r function. Define | |
5929 | __gethostbyaddr_r compatibility wrapper. | |
5930 | * nscd/hstcache.c (cache_addhst): Add ttl parameter. Use it when | |
5931 | determining timeout of entry. | |
5932 | (lookup): Take new parameter and pass it to __gethostbyname3_r and | |
5933 | __gethostbyaddr2_r. | |
5934 | (addhstbyX): Pass reference to variable for TTL to lookup and | |
5935 | cache_addhst. | |
5936 | * nss/Versions [glibc] (GLIBC_PRIVATE): Export __nss_passwd_lookup2, | |
5937 | __nss_group_lookup2, __nss_hosts_lookup2, __nss_services_lookup2, | |
5938 | and __nss_next2. Remove __nss_services_lookup. | |
5939 | * nss/XXX-lookup.c: Name function now *_lookup2. Add new parameter. | |
5940 | Add compat wrapper. | |
5941 | * nss/getXXbyYY_r.c: Changes to call new *_lookup2 functions and | |
5942 | __nss_next2. | |
5943 | * nss/getXXent_r.c: Likewise. | |
5944 | * nss/getnssent_r.c: Likewise. | |
5945 | * nss/nsswitch.c (__nss_lookup): Add new parameter. If first function | |
5946 | does not exist in module, try the optional second name. | |
5947 | (__nss_next2): New function. | |
5948 | (__nss_next): Now wrapper around __nss_next2. | |
5949 | * nss/nsswitch.h: Adjust __nss_lookup prototype. | |
5950 | Declare __nss_next2. | |
5951 | Adjust definition of db_lookup_function type. | |
5952 | * nss/service-lookup.c: Define NO_COMPAT. | |
5953 | * include/netdb.h: Declare __gethostbyaddr2_r and __gethostbyname3_r. | |
5954 | * inet/ether_hton.c: Use __nss_next2 instead of __nss_next. | |
5955 | * inet/ether_ntoh.c: Likewise. | |
5956 | * sunrpc/netname.c: Likewise. | |
5957 | * sunrpc/publickey.c: Likewise. | |
5958 | * inet/getnetgrent.c: Likewise. Adjust calls to __nss_lookup. | |
5959 | * inet/gethstbyad_r.c (DB_LOOKUP_FCT): Change to __nss_hosts_lookup2. | |
5960 | * inet/gethstbynm2_r.c (DB_LOOKUP_FCT): Likewise. | |
5961 | * inet/gethstbynm_r.c (DB_LOOKUP_FCT): Likewise. | |
5962 | * inet/gethstent_r.c (DB_LOOKUP_FCT): Likewise. | |
5963 | ||
5964 | * nscd/aicache.c (addhstaiX): Fix default TTL handling. | |
5965 | ||
5e37840c | 5966 | * inet/getnetgrent_r.c (setup): Encrypt static pointer. |
384ca551 | 5967 | |
88197030 UD |
5968 | 2007-10-28 Ulrich Drepper <drepper@redhat.com> |
5969 | ||
f160a450 UD |
5970 | [BZ #5204] |
5971 | * crypt/sha256c-test.c: Define TIMEOUT to 6 for ancient hardware. | |
5972 | * crypt/sha512c-test.c: Likewise. | |
5973 | ||
4c6b2202 UD |
5974 | [BZ #5225] |
5975 | * stdio-common/vfscanf.c (_IO_vfwscanf): Don't misuse wp pointer | |
5976 | to keep track of end of %[ format string element. | |
22c915ac UD |
5977 | * stdio-common/Makefile (tests): Add bug20. |
5978 | * stdio-common/bug20.c: New file. | |
4c6b2202 | 5979 | |
88197030 UD |
5980 | [BZ #5222] |
5981 | * elf/dl-load.c (_dl_rtld_di_serinfo): Correct handling of short | |
5982 | path elements in counting mode. | |
5983 | ||
05d69147 UD |
5984 | 2007-10-27 Andreas Jaeger <aj@suse.de> |
5985 | ||
94833f11 UD |
5986 | [BZ #5040] |
5987 | * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLRDHUP): Add value. | |
5988 | ||
05d69147 UD |
5989 | [BZ #3112] |
5990 | * sysdeps/ia64/backtrace.c (init): Free shared library if incorrect. | |
5991 | (__cleanup): Free shared library when exiting. | |
5992 | * sysdeps/i386/backtrace.c (init): Free shared library if incorrect. | |
5993 | (__cleanup): Free shared library when exiting. | |
5994 | ||
e6b29af8 UD |
5995 | 2006-04-14 H.J. Lu <hongjiu.lu@intel.com> |
5996 | ||
5997 | [BZ #2549] | |
5998 | * math/libm-test.inc (check_float_internal): Support | |
5999 | denormalized return. | |
6000 | ||
ad3371fb UD |
6001 | 2007-10-23 Andreas Jaeger <aj@suse.de> |
6002 | ||
6003 | [BZ #5208] | |
6004 | * sysdeps/unix/sysv/linux/readahead.c (__readahead): Use | |
6005 | __LONG_LONG_PAIR to handle little endian byte order. | |
6006 | Suggested by abhishekrai@google.com | |
6007 | ||
666aa020 UD |
6008 | 2007-10-27 Ulrich Drepper <drepper@redhat.com> |
6009 | ||
6010 | * malloc/arena.c [!NO_THREADS]: Use ATFORK_MEM if defined. | |
6011 | ||
8ad343b3 UD |
6012 | 2007-10-26 Ulrich Drepper <drepper@redhat.com> |
6013 | ||
6014 | * nscd/cache.c (prune_cache): Move test for modified file outside | |
6015 | of locking. | |
6016 | ||
9251c568 AJ |
6017 | 2007-10-21 Andreas Jaeger <aj@suse.de> |
6018 | ||
6019 | * manual/texinfo.tex: Update to latest version. | |
6020 | ||
6021 | * manual/sysinfo.texi (System Parameters): Fix Formatting. | |
6022 | ||
6023 | * manual/arith.texi (Status bit operations): Fix formatting. | |
6024 | ||
6025 | * manual/errno.texi (Error Messages): Fix formatting. | |
6026 | ||
6027 | * manual/sysinfo.texi (System Parameters): Fix formatting. | |
6028 | ||
6029 | * manual/libc.texinfo: Update VERSION and UPDATED. | |
6030 | ||
260b2e06 RM |
6031 | 2007-10-19 Roland McGrath <roland@redhat.com> |
6032 | ||
6033 | * elf/Makefile ($(objpfx)ld.so): Use $(AWK). | |
6034 | ||
46ae8850 JJ |
6035 | 2007-10-06 David S. Miller <davem@davemloft.net> |
6036 | ||
6037 | * configure.in: Add sparcv9v2 and sparc64v2. | |
6038 | * scripts/config.sub: Likewise. | |
6039 | * configure: Regenerate. | |
6040 | * elf/elf.h (HWCAP_SPARC_N2): New. | |
6041 | * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Bump to 8. | |
6042 | * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add 'v9v2'. | |
6043 | (HWCAP_IMPORTANT): Add HWCAP_SPARC_N2. | |
6044 | * sysdeps/sparc/sparc32/sparcv9/sparcv9v2/memcpy.S: New file. | |
6045 | * sysdeps/sparc/sparc32/sparcv9/sparcv9v2/memset.S: New file. | |
6046 | * sysdeps/sparc/sparc64/sparcv9v2/memcpy.S: New file. | |
6047 | * sysdeps/sparc/sparc64/sparcv9v2/memset.S: New file. | |
6048 | ||
6fbfbd80 UD |
6049 | 2007-10-18 Ulrich Drepper <drepper@redhat.com> |
6050 | ||
6051 | * sunrpc/clnt_udp.c (clntudp_call): Don't block in recvfrom call | |
6052 | even if the poll result indicates there is data to read. | |
6053 | Patch by Jeff Moyer <jmoyer@redhat.com>. | |
6054 | ||
39cfc9fa RM |
6055 | 2007-10-18 Roland McGrath <roland@redhat.com> |
6056 | ||
6057 | * elf/elf.h (NT_PPC_VMX): New macro. | |
28919a77 | 6058 | |
39cfc9fa | 6059 | 2007-10-17 Ulrich Drepper <drepper@redhat.com> |
28919a77 UD |
6060 | |
6061 | * version.h (VERSION): Set to 2.7.90. | |
6062 | ||
ed13ccf1 JJ |
6063 | 2007-10-17 Jakub Jelinek <jakub@redhat.com> |
6064 | ||
6065 | * sysdeps/x86_64/memset.S (bzero): Renamed to __bzero. Add | |
6066 | weak_alias. | |
6067 | ||
ee9fd869 RM |
6068 | 2007-10-17 Roland McGrath <roland@frob.com> |
6069 | ||
6070 | * sysdeps/mach/hurd/bits/fcntl.h [__USE_GNU__] (F_DUPFD_CLOEXEC): New. | |
6071 | * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Implement it. | |
6072 | ||
1aa5e4d7 UD |
6073 | 2007-10-17 Ulrich Drepper <drepper@redhat.com> |
6074 | ||
50c9fbbf | 6075 | * version.h (VERSION): Bump to 2.7. |
777bc4bf | 6076 | * include/features.h (__GLIBC_MINOR__): Bump to 7. |
50c9fbbf | 6077 | |
58423c7d UD |
6078 | [BZ #5186] |
6079 | * time/tzset.c (__tz_convert): Don't force testing for a change of | |
6080 | TZ if not called from localtime. But then also see whether the | |
6081 | file changed, in case __use_tzfile is set. | |
6082 | ||
1aa5e4d7 UD |
6083 | * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define F_DUPFD_CLOEXEC. |
6084 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. | |
6085 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. | |
6086 | * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. | |
6087 | * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. | |
6088 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. | |
6089 | * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. | |
6090 | * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. | |
6091 | ||
fc4837e5 UD |
6092 | 2007-10-17 Jakub Jelinek <jakub@redhat.com> |
6093 | ||
6094 | * sysdeps/posix/getaddrinfo.c (getaddrinfo): When sorting addresses | |
6095 | and admin selects to be able to replace the gai.conf file, lock | |
6096 | data structures around the qsort call. | |
6097 | ||
62eaf7c8 UD |
6098 | 2007-10-17 Ulrich Drepper <drepper@redhat.com> |
6099 | ||
406f28db UD |
6100 | * sysdeps/x86_64/cacheinfo.c: Comment out code added in support of |
6101 | new memset. | |
ac1cb5da | 6102 | * sysdeps/x86_64/memset.S: Revert to old version for now. The cost is |
406f28db UD |
6103 | too high for the improvements. Implement bzero unconditionally for |
6104 | use in libc. | |
ac1cb5da UD |
6105 | |
6106 | 2007-10-17 Ulrich Drepper <drepper@redhat.com> | |
6107 | Jakub Jelinek <jakub@redhat.com> | |
6108 | ||
62eaf7c8 UD |
6109 | * time/tzfile.c (__tzfile_read): Read POSIX TZ string if available |
6110 | even when time_t is 32-bit. | |
6111 | (__tzfile_compute): Override POSIX TZ string STD/DST zone names if | |
6112 | timezone data read by __tzfile_default. Ensure __tzname[0] is | |
6113 | always set after the search. | |
6114 | ||
6a649d25 UD |
6115 | 2007-10-16 Ulrich Drepper <drepper@redhat.com> |
6116 | ||
6117 | * time/tzfile.c (__tzfile_read): Help the compiler recognize | |
6118 | unreachable code on 32-bit machines. | |
6119 | ||
800d6f9e UD |
6120 | 2007-10-16 Jakub Jelinek <jakub@redhat.com> |
6121 | ||
6122 | [BZ #5184] | |
6123 | * time/strftime_l.c: Include stdbool.h. | |
6124 | (my_strftime): New wrapper, old function renamed to... | |
6125 | (__strftime_internal): ... new function. Add tzset_called | |
6126 | argument, pass it down to recursive calls, don't call tzset () | |
6127 | if already true, set to true after call to tzset (). | |
62eaf7c8 | 6128 | |
69819d92 UD |
6129 | 2007-10-16 Ulrich Drepper <drepper@redhat.com> |
6130 | ||
6131 | * time/tzfile.c (__tzfile_read): Take extra memory requested by caller | |
6132 | into account when copying TZ string. | |
6133 | ||
62eaf7c8 UD |
6134 | 2007-10-16 Jakub Jelinek <jakub@redhat.com> |
6135 | ||
6136 | * time/tzfile.c (__tzfile_compute): For use_last case set i to | |
6137 | num_transition rather than num_transitions - 1. | |
6138 | ||
0308ad66 JJ |
6139 | 2007-10-16 Jakub Jelinek <jakub@redhat.com> |
6140 | ||
8d137b60 JJ |
6141 | * sysdeps/x86_64/memset.S (memset): Fix sse2_nt_move |
6142 | PIC indirect jump. | |
6143 | ||
0308ad66 JJ |
6144 | * sysdeps/x86_64/memset.S: Jump from bzero to memset using |
6145 | a local label rather than HIDDEN_JUMPTARGET. | |
6146 | ||
e2b393bc UD |
6147 | 2007-10-15 Ulrich Drepper <drepper@redhat.com> |
6148 | ||
6149 | * sysdeps/x86_64/cacheinfo.c (__x86_64_shared_cache_size): Define. | |
6150 | (init_cacheinfo): Initialize it. | |
6151 | * sysdeps/x86_64/memset.S: Use __x86_64_shared_cache_size. | |
6152 | Always define bzero. | |
6153 | Remove non-glibc code. | |
6154 | * sysdeps/x86_64/bzero.S: Make an empty file. | |
6155 | ||
6156 | 2007-10-15 H.J. Lu <hongjiu.lu@intel.com> | |
6157 | ||
6158 | * sysdeps/x86_64/cacheinfo.c | |
6159 | (__x86_64_preferred_memory_instruction): New. | |
6160 | (init_cacheinfo): Initialize __x86_64_preferred_memory_instruction. | |
6161 | ||
6162 | * sysdeps/x86_64/memset.S: Rewrite. | |
6163 | ||
0fbfcb7b RM |
6164 | 2007-10-15 Roland McGrath <roland@redhat.com> |
6165 | ||
6166 | * po/libc.pot: Regenerated. | |
6167 | ||
2884dad4 UD |
6168 | 2007-10-15 Ulrich Drepper <drepper@redhat.com> |
6169 | ||
e2b393bc | 6170 | * nss/getXXbyYY_r.c (REENTRANT_NAME): Mangle startp and start_fct |
d96a2216 UD |
6171 | pointers. |
6172 | ||
2884dad4 UD |
6173 | [BZ #3425] |
6174 | * resolv/nss_dns/dns-host.c (getanswer_r): Fail with | |
6175 | NSS_STATUS_NOTFOUND if the server replied with only a CNAME and no | |
6176 | address record to T_A/T_AAAA requests. | |
6177 | ||
89dc9d4c UD |
6178 | 2007-10-14 Ulrich Drepper <drepper@redhat.com> |
6179 | ||
8d97ac13 UD |
6180 | * posix/glob.c: Reimplement link_exists_p to use fstatat64. |
6181 | ||
1b6aa63f UD |
6182 | * posix/glob.c: Add some branch prediction throughout. |
6183 | ||
895a08c0 UD |
6184 | * nscd/nscd_getgr_r.c (nscd_getgr_r): Store result of successful |
6185 | read from nscd. | |
6186 | ||
6f55ed88 UD |
6187 | * sysdeps/posix/getaddrinfo.c (struct sort_result): Add |
6188 | service_order. | |
8d62c8ab UD |
6189 | (rfc3484_sort): Make sure that even if qsort doesn't support |
6190 | stable sorting out sorting here is stable by comparing service_order. | |
6f55ed88 | 6191 | (getaddrinfo): Initialize service_order. |
a94673e6 UD |
6192 | * posix/tst-rfc3484.c (do_test): Adjust for addition of |
6193 | service_order field to sorting structure. | |
dfcf64ce | 6194 | * posix/tst-rfc3484-2.c (do_test): Likewise. |
6f55ed88 | 6195 | |
fa76dde2 UD |
6196 | * include/time.h: Declare __tzset_parse_tz and __tzset_compute. |
6197 | * time/tzset.c (tzset_internal): Break TZ string parsing out into | |
6198 | __tzset_parse_tz and updating of daylight, timezone, tzname into | |
6199 | update_vars. | |
6200 | (__tz_compute): Renamed from tz_compute. Take additional parameters. | |
6201 | (__tz_convert): Updating of tm_isdst, tm_zone, and tm_gmtoff now | |
6202 | happens in __tz_compute. | |
6203 | * time/tzfile.c (__tzfile_read): Also read TZ string. | |
6204 | (find_transition): Fold into __tzfile_compute. | |
6205 | (__tzfile_compute): For times beyond the last transition try to | |
6206 | use the TZ string. | |
6207 | * timezone/tst-timezone.c: Information in daylight and tzname does | |
6208 | change for Asia/Tokyo timezone with more concrete information. | |
6209 | Remove the test. | |
6210 | ||
6211 | * include/stdio.h: Add libc_hidden_proto for ftello. | |
6212 | * libio/ftello.c: Add libc_hidden_def. | |
6213 | ||
89dc9d4c UD |
6214 | [BZ #1140] |
6215 | * time/tzfile.c (__tzfile_compute): Compute tzname[] values based | |
6216 | on the specified time and not the last entries in the file. Move | |
6217 | code to determine tzname[] to... | |
6218 | (find_transition): ...here. Add ugly guess for times before the | |
6219 | first transition. | |
6220 | ||
f7140274 UD |
6221 | 2007-10-13 Ulrich Drepper <drepper@redhat.com> |
6222 | ||
cfca0aa3 UD |
6223 | [BZ #3195] |
6224 | * nscd/nscd_getai.c (__nscd_getai): Set errno to 0 in case we found | |
6225 | no entry. | |
6226 | * nscd/nscd_getgr.c (nscd_getgr_r): Likewise. | |
6227 | * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise. | |
6228 | * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise. | |
6229 | * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise. | |
6230 | ||
43d3e6bd UD |
6231 | * nscd/nscd_getgr_r.c (nscd_getgr_r): Optimize a bit: use simpler |
6232 | read mechanism when there are no group members and avoid no-op | |
6233 | read syscall in this case. | |
6234 | ||
f7140274 UD |
6235 | [BZ #3242] |
6236 | * nscd/nscd_helper.c (wait_on_socket): Take timeout as parameter. | |
6237 | (__readall): If reading failed due to EAGAIN error wait a bit | |
6238 | and possibly try again. | |
6239 | (__readvall): Likewise. | |
6240 | ||
656f02ce UD |
6241 | 2007-10-13 Bruno Haible <bruno@clisp.org> |
6242 | ||
6243 | * intl/dcigettext.c (_nl_find_msg): Unlock the conversions_lock | |
6244 | when we cannot recode the message. | |
6245 | ||
0ea49677 UD |
6246 | 2007-10-13 Ulrich Drepper <drepper@redhat.com> |
6247 | ||
6248 | [BZ #4359] | |
6249 | * libio/__freading.c (__freading): Don't return true for | |
ed36f224 UD |
6250 | write-only streams. For read/write streams, check whether we |
6251 | performed a read operation already. | |
7e39d802 UD |
6252 | * libio/Makefile (tests): Add tst-ext2. |
6253 | * libio/tst-ext2.c: New file. | |
0ea49677 | 6254 | |
78a9b2dc UD |
6255 | 2007-10-12 Ulrich Drepper <drepper@redhat.com> |
6256 | ||
fab1a490 UD |
6257 | * locale/programs/repertoire.c (repertoire_read): Always free |
6258 | memory for repertoire file name [Coverity CID 270]. | |
6259 | ||
78a9b2dc UD |
6260 | * elf/cache.c (save_aux_cache): Free memory allocated for |
6261 | temporary file name [Coverity CID 267]. | |
6262 | ||
29d49a1a JJ |
6263 | 2007-10-12 Jakub Jelinek <jakub@redhat.com> |
6264 | ||
6265 | * misc/Makefile (headers): Add bits/error.h. | |
6266 | ||
d074d36d UD |
6267 | 2007-10-12 Ulrich Drepper <drepper@redhat.com> |
6268 | ||
b7d1c5fa UD |
6269 | * posix/fnmatch_loop.c: Take rule index returned as part of |
6270 | findidx return value into account when accessing weights. | |
6271 | * posix/regcomp.c: Likewise. | |
6272 | * posix/regexec.c: Likewise. | |
6273 | ||
d074d36d UD |
6274 | * locale/programs/ld-collate.c (collate_read): Optimize a bit. |
6275 | (skip_to): Fix problems with parameter of elifdef/elifndef. | |
6276 | ||
26a51060 UD |
6277 | 2007-10-11 Ulrich Drepper <drepper@redhat.com> |
6278 | ||
6279 | * iconv/gconv_simple.c: Add some branch prediction. | |
6280 | ||
6dd3748b UD |
6281 | 2007-10-12 Jakub Jelinek <jakub@redhat.com> |
6282 | ||
6283 | * locale/programs/ld-collate.c (collate_read): If ignore_content | |
6284 | and nowtok is tok_define, eat any tok_eol tokens. | |
6285 | ||
d0b5557d JJ |
6286 | 2007-10-11 Jakub Jelinek <jakub@redhat.com> |
6287 | ||
6288 | * sysdeps/gnu/netinet/tcp.h: Include sys/socket.h if __USE_MISC. | |
6289 | (struct tcp_md5sig): Change tcpm_addr type to struct sockaddr_storage. | |
6290 | ||
6291 | * inet/netinet/in.h: Don't include bits/socket.h. | |
6292 | * sysdeps/unix/sysv/linux/bits/socket.h: Only check _SYS_SOCKET_H | |
6293 | macro. | |
6294 | * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Likewise. | |
6295 | ||
3a054d7a UD |
6296 | 2007-10-10 Ulrich Drepper <drepper@redhat.com> |
6297 | ||
6298 | * locale/programs/locfile-token.h: Remove tok_elif, add tok_elifdef | |
6299 | and tok_elifndef. | |
6300 | * locale/programs/locfile-kw.gperf: Likewise. | |
6301 | * locale/programs/ld-collate.c: Implement primitive preprocessor. | |
6302 | ||
c06b7169 UD |
6303 | 2007-10-10 Jakub Jelinek <jakub@redhat.com> |
6304 | ||
6305 | * stdio-common/printf-parse.h: Include string.h and wchar.h. | |
6306 | (__find_specwc): Change into __extern_always_inline function. | |
6307 | (__find_specmb): Likewise. Remove ps argument. Use __strchrnul. | |
6308 | (__parse_one_specmb): Remove ps argument. | |
6309 | * stdio-common/vfprintf.c (vfprintf): Remove mbstate variable. | |
6310 | Adjust __find_specmb and __parse_one_specmb callers. | |
6311 | * stdio-common/printf-prs.c (parse_printf_format): Likewise. | |
6312 | * stdio-common/printf-parsemb.c (__find_specwc, __find_specmb): | |
6313 | Removed. | |
6314 | (__parse_one_specmb): Remove ps argument, adjust __find_specmb | |
6315 | caller. | |
6316 | ||
5a01ab7b UD |
6317 | 2007-10-09 Ulrich Drepper <drepper@redhat.com> |
6318 | ||
6319 | * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Work around problem | |
6320 | with some Pentium Ds. | |
6321 | ||
e3f8e049 UD |
6322 | 2007-10-08 Ulrich Drepper <drepper@redhat.com> |
6323 | ||
6324 | * sysdeps/unix/sysv/linux/eventfd_read.c (eventfd_read): Use | |
6325 | __read not read. | |
6326 | * sysdeps/unix/sysv/linux/eventfd_write.c (eventfd_write): Use | |
6327 | __write not write. | |
6328 | ||
a1a363d2 UD |
6329 | 2007-10-07 Ulrich Drepper <drepper@redhat.com> |
6330 | ||
a1160714 UD |
6331 | [BZ #181] |
6332 | * locale/C-time.c: Set week_1stday data to 19971201. | |
659a9013 UD |
6333 | * locale/programs/ld-time.c (time_finish): Default for |
6334 | first_workday is Monday. | |
a1160714 | 6335 | |
bb27a6eb UD |
6336 | [BZ #2633] |
6337 | * wcsmbs/wchar.h: Move many C99 functions into std namespace. | |
6338 | ||
c8d48fae UD |
6339 | [BZ #5103] |
6340 | * posix/glob.c (glob): Recognize patterns starting \/. | |
6341 | * posix/tst-gnuglob.c (find_file): Handle absolute path names. | |
6342 | (main): Add test for pattern starting \/. | |
6343 | ||
a1a363d2 UD |
6344 | * misc/error.h: Use __const instead of const. |
6345 | * misc/bits/error.h: Likewise. | |
6346 | ||
6347 | 2007-10-07 Andreas Jaeger <aj@suse.de> | |
6348 | ||
6349 | * include/bits/error.h: New file. | |
6350 | ||
6351 | * misc/bits/error.h (error_at_line): Fix prototype. | |
6352 | ||
71894681 UD |
6353 | 2007-10-06 Ulrich Drepper <drepper@redhat.com> |
6354 | ||
a6fa5328 UD |
6355 | [BZ #3924] |
6356 | * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix a few | |
6357 | more little bugs in creating the stack frame when pltexit has to | |
6358 | be called. | |
6359 | ||
8c7661bc | 6360 | * nscd/nscd_helper.c (__nscd_cache_search): Prevent endless loops. |
50607309 | 6361 | * nscd/connections.c (verify_persistent_db): Recognize circular lists. |
8c7661bc | 6362 | |
c039eedd UD |
6363 | [BZ #4407] |
6364 | * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Fix *signgamp for -0.0. | |
6365 | * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise. | |
6366 | * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise. | |
6367 | * math/libm-test.inc: Add test for this case. | |
6368 | ||
71894681 UD |
6369 | [BZ #5010] |
6370 | * sunrpc/svc.c (struct svc_callout): Add sc_mapped element. | |
6371 | (svc_register): Initialize sc_mapped. Set to TRUE if call to | |
6372 | map service succeeded. | |
6373 | (svc_is_mapped): New function. | |
6374 | (svc_unregister): Use it before trying to unmap service. | |
6375 | ||
34c2c092 UD |
6376 | 2007-10-05 Ulrich Drepper <drepper@redhat.com> |
6377 | ||
d10737e4 UD |
6378 | * timezone/zic.c: Update from tzcode2007h. |
6379 | ||
6380 | [BZ #5063] | |
6381 | * timezone/africa: Update from tzdata2007h. | |
6382 | * timezone/antarctica: Likewise. | |
6383 | * timezone/asia: Likewise. | |
6384 | * timezone/australasia: Likewise. | |
6385 | * timezone/europe: Likewise. | |
6386 | * timezone/leapseconds: Likewise. | |
6387 | * timezone/northamerica: Likewise. | |
6388 | * timezone/southamerica: Likewise. | |
6389 | * timzeone/zone.tab: Likewise. | |
6390 | ||
0304f168 UD |
6391 | [BZ #5104] |
6392 | * elf/do-lookup.h (do_lookup_x): Don't ignore STT_COMMON symbols. | |
6393 | ||
a83b5649 UD |
6394 | [BZ #5113] |
6395 | * string/bits/string2.h (__strdup): Cast parameters to calloc to | |
6396 | avoid warning with -Wconversion. | |
6397 | (__strndup): Likewise. | |
c039eedd | 6398 | Half the patch by Christian Iseli <christian.iseli@licr.org>. |
a83b5649 | 6399 | |
3e6ce4d7 UD |
6400 | [BZ #5112] |
6401 | * nscd/connections.c (restart): Don't resync if database is | |
6402 | disabled. Patch mostly by Brian De Wolf <bldewolf@csupomona.edu>. | |
6403 | ||
8e351378 UD |
6404 | * sysdeps/gnu/netinet/tcp.h: Define TCP_MD5SIG, TCP_MD5SIG_MAXKEYLEN, |
6405 | struct tcp_md5sig. Extend struct tcp_info according to recent kernels. | |
6406 | ||
6407 | * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add eventfd, | |
6408 | evetnfd_read, eventfd_write. | |
6409 | * sysdeps/unix/sysv/linux/eventfd.c: New file. | |
6410 | * sysdeps/unix/sysv/linux/eventfd_read.c: New file. | |
6411 | * sysdeps/unix/sysv/linux/eventfd_write.c: New file. | |
6412 | * sysdeps/unix/sysv/linux/sys/eventfd.h: New file. | |
d10737e4 | 6413 | * sysdeps/unix/sysv/linux/Versions: Export eventfd, eventfd_read, |
8e351378 UD |
6414 | eventfd_write for GLIBC_2.7. |
6415 | ||
34c2c092 UD |
6416 | * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add signalfd. |
6417 | * sysdeps/unix/sysv/linux/signalfd.c: New file. | |
6418 | * sysdeps/unix/sysv/linux/sys/signalfd.h: New file. | |
6419 | * sysdeps/unix/sysv/linux/Versions: Export signalfd for GLIBC_2.7. | |
6420 | ||
6789aaaa | 6421 | 2007-10-04 Jakub Jelinek <jakub@redhat.com> |
375d9429 UD |
6422 | |
6423 | * stdlib/msort.c: Include stdint.h. | |
6424 | (struct msort_param): New type. | |
6425 | (msort_with_tmp): Use struct msort_param pointer for unchanging | |
6426 | parameters. Add optimized handling for several common sizes | |
6427 | and indirect sorting mode. | |
6428 | (qsort): Adjust msort_with_tmp callers. For big S use indirect | |
6429 | sorting. | |
6430 | Suggested by Belazougui Djamel . | |
6431 | ||
6432 | * stdlib/Makefile (tests): Add tst-qsort2. | |
6433 | * stdlib/tst-qsort2.c: New test. | |
6434 | ||
b80bfc8b UD |
6435 | 2007-10-04 Ulrich Drepper <drepper@redhat.com> |
6436 | ||
174420d2 UD |
6437 | * login/login_tty.c (login_tty): The Linux kernel can return EBUSY |
6438 | for dup2 in case another thread races with the current one. Retry | |
6439 | in this case. | |
6440 | ||
b80bfc8b UD |
6441 | * misc/error.h: Remove support for use outside of libc. We have to |
6442 | include <features.h> now. Include <bits/error.h> if possible. | |
6443 | * misc/bits/error.h: New file. | |
6444 | ||
6789aaaa | 6445 | 2007-10-03 Jakub Jelinek <jakub@redhat.com> |
ee868c89 | 6446 | |
e5dd2178 UD |
6447 | * string/bits/string3.h (memcpy, memmove, mempcpy, memset, bcopy, |
6448 | bzero, strcpy, stpcpy, strncpy, strcat, strncat): Use | |
6449 | __extern_always_inline functions unconditionally, drop macros. | |
6450 | ||
ac97dec1 UD |
6451 | * misc/sys/cdefs.h (__REDIRECT_LDBL, __REDIRECT_NTH_LDBL): New macros. |
6452 | * wcsmbs/bits/wchar2.h (__swprintf_alias, __vswprintf_alias): Use | |
6453 | __REDIRECT_NTH_LDBL macro rather than __REDIRECT_NTH. | |
6454 | ||
ee868c89 UD |
6455 | * misc/sys/cdefs.h (__extern_always_inline): For GCC 4.3+ |
6456 | add __artificial__ attribute. | |
6457 | ||
80e069e0 UD |
6458 | 2007-10-02 Ulrich Drepper <drepper@redhat.com> |
6459 | ||
6e682cf5 UD |
6460 | * string/strcoll_l.c (STRCOLL): Correct handling of switching from |
6461 | backward to forward direction. | |
6462 | ||
90241a20 UD |
6463 | * string/strcoll_l.c (STRCOLL): Correct test for alloca use. |
6464 | ||
80e069e0 UD |
6465 | [BZ #645] |
6466 | * locale/programs/ld-collate.c (collate_finish): Compare against last | |
6467 | used section which is known to have rules defined. | |
6468 | (collate_read): After order_start, correctly record order of sections | |
6469 | and queue sections up. | |
6470 | ||
035ef8d7 UD |
6471 | 2007-10-01 Ulrich Drepper <drepper@redhat.com> |
6472 | ||
95bddc0c UD |
6473 | [BZ #5071] |
6474 | * malloc/malloc.c (mremap_chunk): Avoid resizing of new block has | |
6475 | the same number of pages. | |
6476 | Patch by Tomash Brechko <tomash.brechko@gmail.com>. | |
6477 | ||
c8caf089 UD |
6478 | * locale/programs/ld-collate.c (collate_read): After initial copy |
6479 | statement, continue in state 0. | |
6480 | ||
035ef8d7 UD |
6481 | * include/stdio_ext.h (__fsetlocking): Define as macro. |
6482 | ||
592a95ee UD |
6483 | 2007-09-30 Ulrich Drepper <drepper@redhat.com> |
6484 | ||
56ebeb41 UD |
6485 | * locale/programs/ld-collate.c (collate_finish): Compare all bytes |
6486 | of section order. | |
6487 | ||
592a95ee UD |
6488 | * po/pt_BR.po: Fix typo. |
6489 | ||
6c522e21 UD |
6490 | 2007-09-29 Ulrich Drepper <drepper@redhat.com> |
6491 | ||
8ad5c3cd UD |
6492 | * iconvdata/Makefile (modules): Add ISO8859-9E. |
6493 | (distribute): Add iso8859-9e.c. | |
6494 | (gen-8bit-gap-modules): Add iso8859-9e. | |
6495 | * iconvdata/iso8859-9e.c: New file. | |
6496 | * iconvdata/gconv-modules: Add entries for ISO-8859-9E. | |
6497 | * iconvdata/TESTS: Likewise. | |
6498 | * iconvdata/tst-tables.sh: Likewise. | |
6499 | ||
6500 | * iconvdata/koi8-r.c (HAS_HOLES): Define to 0. | |
6501 | ||
6c522e21 UD |
6502 | * locale/iso-639.def: Add several new entries. |
6503 | ||
385b4cf4 UD |
6504 | 2007-09-24 Jakub Jelinek <jakub@redhat.com> |
6505 | ||
6506 | * sysdeps/generic/ldsodefs.h (struct dl_scope_free_list): Store | |
6507 | void * pointers instead of struct link_map **. | |
6508 | (_dl_scope_free): Change argument type to void *. | |
6509 | * include/link.h (struct link_map): Change type of l_reldeps | |
6510 | to struct link_map_reldeps, move l_reldepsact into that | |
6511 | struct too. | |
6512 | * elf/dl-deps.c: Include atomic.h. | |
6513 | (_dl_map_object_deps): Only change l->l_initfini when it is | |
6514 | fully populated, use _dl_scope_free for freeing it. Optimize | |
6515 | removal of libs from reldeps by using l_reserved flag, when | |
6516 | some removal is needed, allocate a new list instead of | |
6517 | reallocating and free the old with _dl_scope_free. Adjust | |
6518 | for l_reldeps and l_reldepsact changes. | |
6519 | * elf/dl-lookup.c (add_dependency): Likewise. Reorganize to allow | |
6520 | searching in l_initfini and l_reldeps without holding dl_load_lock. | |
6521 | * elf/dl-fini.c (_dl_sort_fini): Adjust for l_reldeps and | |
6522 | l_reldepsact changes. | |
6523 | * elf/dl-close.c (_dl_close_worker): Likewise. | |
6524 | * elf/dl-open.c (_dl_scope_free): Change argument type to void *. | |
6525 | ||
90bf831b UD |
6526 | 2007-09-28 Ulrich Drepper <drepper@redhat.com> |
6527 | ||
6528 | * iconvdata/Makefile (modules): Add KOI8-RU. | |
6529 | (distribute): Add koi8-ru.c. | |
6530 | (gen-8bit-gap-modules): Add koi8-ru. | |
6531 | * iconvdata/koi8-ru.c: New file. | |
6532 | * iconvdata/gconv-modules: Add entries for KOI8-RU. | |
6533 | * iconvdata/TESTS: Likewise. | |
6534 | * iconvdata/tst-tables.sh: Likewise. | |
6535 | ||
6536 | * iconvdata/koi8-r.c (HAS_HOLES): Define to 0. | |
6537 | ||
d6cd6bf4 UD |
6538 | 2007-09-26 Jakub Jelinek <jakub@redhat.com> |
6539 | ||
6540 | * misc/sys/cdefs.h (__warndecl, __errordecl): For GCC 4.3+ define | |
6541 | with __warning__/__error__ attributes. | |
6542 | (__warnattr): Define. | |
6543 | * stdlib/bits/stdlib.h (__realpath_chk_warn, __ptsname_r_chk_warn, | |
6544 | __mbstowcs_chk_warn, __wcstombs_chk_warn): New aliases with | |
6545 | __warnattr. | |
6546 | (realpath, ptsname_r, mbstowcs, wcstombs): Call __*_chk_warn instead | |
6547 | of __*_chk if compile time detectable overflow is found. | |
6548 | * libio/bits/stdio2.h (__fgets_chk_warn, __fread_chk_warn, | |
6549 | __fgets_unlocked_chk_warn, __fread_unlocked_chk_warn): New aliases | |
6550 | with __warnattr. | |
6551 | (fgets, fread, fgets_unlocked, fread_unlocked): Call __*_chk_warn | |
6552 | instead of __*_chk if compile time detectable overflow is found. | |
6553 | (__gets_alias): Rename to... | |
6554 | (__gets_warn): ... this. Add __warnattr. | |
6555 | (gets): Call __gets_warn instead of __gets_alias. | |
6556 | * socket/bits/socket2.h (__recv_chk_warn, __recvfrom_chk_warn): New | |
6557 | aliases with __warnattr. | |
6558 | (recv, recvfrom): Call __*_chk_warn instead of __*_chk if compile | |
6559 | time detectable overflow is found. | |
6560 | * posix/bits/unistd.h (__read_chk_warn, __pread_chk_warn, | |
6561 | __pread64_chk_warn, __readlink_chk_warn, __readlinkat_chk_warn, | |
6562 | __getcwd_chk_warn, __confstr_chk_warn, __getgroups_chk_warn, | |
6563 | __ttyname_r_chk_warn, __getlogin_r_chk_warn, __gethostname_chk_warn, | |
6564 | __getdomainname_chk_warn): New aliases with __warnattr. | |
6565 | (read, pread, pread64, readlink, readlinkat, getcwd, confstr, | |
6566 | getgroups, ttyname_r, getlogin_r, gethostname, getdomainname): Call | |
6567 | __*_chk_warn instead of __*_chk if compile time detectable overflow | |
6568 | is found. | |
6569 | (__getgroups_chk): Rename argument to __listlen from listlen. | |
6570 | (__getwd_alias): Rename to... | |
6571 | (__getwd_warn): ... this. Add __warnattr. | |
6572 | (getwd): Call __getwd_warn instead of __getwd_alias. | |
6573 | * wcsmbs/bits/wchar2.h (__wmemcpy_chk_warn, __wmemmove_chk_warn, | |
6574 | __wmempcpy_chk_warn, __wmemset_chk_warn, __wcsncpy_chk_warn, | |
6575 | __wcpncpy_chk_warn, __fgetws_chk_warn, __fgetws_unlocked_chk_warn, | |
6576 | __mbsrtowcs_chk_warn, __wcsrtombs_chk_warn, __mbsnrtowcs_chk_warn, | |
6577 | __wcsnrtombs_chk_warn): New aliases with __warnattr. | |
6578 | (wmemcpy, wmemmove, wmempcpy, wmemset, mbsrtowcs, wcsrtombs, | |
6579 | mbsnrtowcs, wcsnrtombs): Call __*_chk_warn instead of __*_chk if | |
6580 | compile time detectable overflow is found. | |
6581 | (wcsncpy, wcpncpy): Likewise. For constant __n fix check whether | |
6582 | to use __*_chk or not. | |
6583 | (fgetws, fgetws_unlocked): Divide __bos by sizeof (wchar_t), both | |
6584 | in comparisons which function should be called and in __*_chk* | |
6585 | arguments. Call __*_chk_warn instead of __*_chk if compile time | |
6586 | detectable overflow is found. | |
6587 | (swprintf, vswprintf): Divide __bos by sizeof (wchar_t) in | |
6588 | __*_chk argument. | |
6589 | * debug/tst-chk1.c (do_test): Add a few more tests. | |
6590 | ||
408cfca0 UD |
6591 | 2007-09-24 Ulrich Drepper <drepper@redhat.com> |
6592 | ||
6593 | [BZ #5058] | |
6594 | * intl/gettextP.h (struct loaded_domain): Add conversions_lock member. | |
6595 | * intl/loadmsgcat.c (_nl_load_domain): Initialize conversions_lock. | |
6596 | (_nl_unload_domain): Finalize conversions_lock. | |
6597 | * intl/dcigettext.c (_nl_find_msg): Take conversions_lock before | |
6598 | handling table of known conversions. | |
6599 | ||
e6eec9ce JJ |
6600 | 2007-09-24 Jakub Jelinek <jakub@redhat.com> |
6601 | ||
6602 | * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use | |
6603 | close_not_cancel_no_status instead of close. | |
6604 | ||
a532a41d UD |
6605 | 2007-09-13 Aurelien Jarno <aurelien@aurel32.net> |
6606 | ||
682268ef | 6607 | [BZ #5028] |
408cfca0 | 6608 | * posix/regcomp.c (lookup_collation_sequence_value): Check that |
a532a41d UD |
6609 | nrules != 0 for multibyte chars. |
6610 | ||
dec9ed9e UD |
6611 | 2007-09-23 Ulrich Drepper <drepper@redhat.com> |
6612 | ||
91633816 UD |
6613 | * resolv/ns_print.c (ns_sprintrrf): Handle ns_t_a6 and ns_t_opt. |
6614 | Provide better error message in case the type is unknown. | |
6615 | ||
9cc198f6 UD |
6616 | [BZ #4963] |
6617 | * wcsmbs/wcsnlen.c: Don't reference before checking the length. | |
6618 | * string/stratcliff.c: Make usable to test wide char functions. | |
6619 | * wcsmbs/wcsatcliff.c: New file. | |
6620 | * wcsmbs/Makefiel (tests): Add wcsatcliff. | |
6621 | ||
27f3d446 UD |
6622 | [BZ #4972] |
6623 | * iconvdata/Makefile (modules): Add MAC-CENTRALEUROPE. | |
6624 | (distribute): Add mac-centraleurope.c. | |
6625 | (gen-8bit-gap-modules): Add mac-centraleurope. | |
6626 | * iconvdata/mac-centraleurope.c: New file. | |
6627 | * iconvdata/gconv-modules: Add entries for MAC-CENTRALEUROPE. | |
6628 | * iconvdata/TESTS: Likewise. | |
6629 | * iconvdata/tst-tables.sh: Likewise. | |
6630 | ||
dec9ed9e UD |
6631 | [BZ #5043] |
6632 | * iconv/iconv_open.c (iconv_open): For large codeset names use malloc. | |
6633 | ||
0435403c UD |
6634 | 2007-09-21 Ulrich Drepper <drepper@redhat.com> |
6635 | ||
6636 | * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size_half): Renamed | |
6637 | from __x86_64_core_cache_size_half. | |
6638 | (init_cacheinfo): Compute shared cache size for AMD processors with | |
6639 | shared L3 correctly. | |
6640 | * sysdeps/x86_64/memcpy.S: Adjust for __x86_64_data_cache_size_half | |
6641 | name change. | |
6642 | Patch in large parts by Evandro Menezes. | |
6643 | ||
c3266dc0 UD |
6644 | 2007-09-19 Ulrich Drepper <drepper@redhat.com> |
6645 | ||
715899d1 UD |
6646 | * elf/dl-lookup.c (add_dependency): Handle failing memory |
6647 | allocation for dependency list. Remove unnecessary check. | |
6648 | ||
e1db0493 UD |
6649 | * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid unnecessary |
6650 | open/close when determining source addresses. | |
6651 | ||
c3266dc0 UD |
6652 | * crypt/Makefile (libcrypt-routines): Add sha256-crypt, sha256, |
6653 | sha512-crypt, and sha512. | |
6654 | (tests): Add sha256test, sha256c-test, sha512test, and sha512c-test. | |
6655 | (distribute): Add sha256.h and sha512.h. | |
6656 | * crypt/crypt-entry.c (crypt): Recognize the new $5$ and $6$ prefixes | |
6657 | and call the appropriate code. | |
6658 | * crypt/sha256-crypt.c: New file. | |
6659 | * crypt/sha256.c: New file. | |
6660 | * crypt/sha256.h: New file. | |
6661 | * crypt/sha256c-test.c: New file. | |
6662 | * crypt/sha256test.c: New file. | |
6663 | * crypt/sha512-crypt.c: New file. | |
6664 | * crypt/sha512.c: New file. | |
6665 | * crypt/sha512.h: New file. | |
6666 | * crypt/sha512c-test.c: New file. | |
6667 | * crypt/sha512test.c: New file. | |
6668 | ||
ddf51ecb JJ |
6669 | 2007-09-19 Jakub Jelinek <jakub@redhat.com> |
6670 | ||
6671 | * misc/bits/syslog.h (syslog): Remove extraneous argument from | |
6672 | the inline, pass __USE_FORTIFY_LEVEL - 1 as second argument to | |
6673 | __syslog_chk. | |
6674 | ||
b90395e6 UD |
6675 | 2007-09-18 Jakub Jelinek <jakub@redhat.com> |
6676 | ||
76c0bea7 JJ |
6677 | * locale/programs/charmap-dir.c (charmap_aliases): Use %ms instead of |
6678 | %as in fscanf format strings. | |
6679 | ||
00680568 JJ |
6680 | * sysdeps/sparc/sparc32/elf/start.S: Remove cfi_* markup. |
6681 | * sysdeps/sparc/sparc64/elf/start.S: Likewise. | |
c3266dc0 UD |
6682 | * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start): |
6683 | Likewise. | |
6684 | * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start): | |
6685 | Likewise. | |
00680568 | 6686 | |
b90395e6 UD |
6687 | * sysdeps/generic/ldsodefs.h (DL_LOOKUP_GSCOPE_LOCK): New definition. |
6688 | * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Or in | |
6689 | DL_LOOKUP_GSCOPE_LOCK into flags after THREAD_GSCOPE_SET_FLAG (). | |
6690 | * elf/dl-sym.c (do_sym): Likewise. | |
6691 | * include/link.h (struct link_map): Add l_serial field. | |
6692 | * elf/dl-object.c (_dl_new_object): Initialize l_serial. | |
6693 | * elf/dl-lookup.c (add_dependency): Add flags argument. | |
6694 | Remember map->l_serial, if DL_LOOKUP_GSCOPE_LOCK is among | |
6695 | flags, use THREAD_GSCOPE_RESET_FLAG before and | |
6696 | THREAD_GSCOPE_SET_FLAG after | |
6697 | __rtld_lock_lock_recursive (GL(dl_load_lock)) to avoid deadlock. | |
6698 | Don't dereference map until it has been found on some list. | |
6699 | If map->l_serial changed, return -1. | |
6700 | ||
874aa523 UD |
6701 | 2007-09-17 Jakub Jelinek <jakub@redhat.com> |
6702 | ||
6703 | * include/stdio.h (__isoc99_fscanf, __isoc99_scanf, | |
6704 | __isoc99_sscanf, __isoc99_vscanf): New prototypes. | |
6705 | (__isoc99_vsscanf, __isoc99_vfscanf): New prototypes, add | |
6706 | libc_hidden_proto. | |
6707 | * include/wchar.h (__isoc99_fwscanf, __isoc99_wscanf, | |
6708 | __isoc99_swscanf, __isoc99_vwscanf): New prototypes. | |
6709 | (__isoc99_vswscanf, __isoc99_vfwscanf): New prototypes, | |
6710 | add libc_hidden_proto. | |
6711 | * libio/stdio.h (fscanf, scanf, sscanf, vfscanf, vscanf, | |
6712 | vsscanf): Redirect to __isoc99_* if strict ISO C99 or POSIX | |
6713 | conformance requested. | |
6714 | * wcsmbs/wchar.h (fwscanf, wscanf, swscanf, vfwscanf, vwscanf, | |
6715 | vswscanf): Redirect to __isoc99_* if strict ISO C99 or POSIX | |
6716 | conformance requested. | |
6717 | * libio/bits/stdio-ldbl.h (fscanf, scanf, sscanf, vfscanf, vscanf, | |
6718 | vsscanf): Redirect to __nldbl___isoc99_* if strict ISO C99 or POSIX | |
6719 | conformance requested. | |
6720 | * wcsmbs/bits/wchar-ldbl.h (fwscanf, wscanf, swscanf, vfwscanf, | |
6721 | vwscanf, vswscanf): Redirect to __nldbl___isoc99_* if strict | |
6722 | ISO C99 or POSIX conformance requested. | |
6723 | * stdio-common/Versions (libc): Export __isoc99_scanf@@GLIBC_2.7, | |
6724 | __isoc99_vscanf@@GLIBC_2.7, __isoc99_fscanf@@GLIBC_2.7, | |
6725 | __isoc99_vfscanf@@GLIBC_2.7, __isoc99_sscanf@@GLIBC_2.7 | |
6726 | and __isoc99_vsscanf@@GLIBC_2.7. | |
6727 | * stdio-common/Makefile (routines): Add isoc99_scanf, isoc99_vscanf, | |
6728 | isoc99_fscanf, isoc99_vfscanf, isoc99_sscanf and isoc99_vsscanf. | |
6729 | (tests): Add scanf14. | |
6730 | (CFLAGS-vfprintf.c, CFLAGS-fprintf.c, CFLAGS-printf.c, | |
6731 | CFLAGS-vfwprintf.c, CFLAGS-vfscanf.c, CFLAGS-vfwscanf.c, | |
6732 | CFLAGS-fscanf.c, CFLAGS-scanf.c, CFLAGS-isoc99_vfscanf.c, | |
6733 | CFLAGS-isoc99_vscanf.c, CFLAGS-isoc99_fscanf.c, | |
6734 | CFLAGS-isoc99_scanf.c): Add $(exceptions). | |
6735 | (CFLAGS-scanf15.c): Add various -I paths to prevent the compiler | |
6736 | from using internal headers. | |
6737 | * wcsmbs/Versions (libc): Export __isoc99_wscanf@@GLIBC_2.7, | |
6738 | __isoc99_vwscanf@@GLIBC_2.7, __isoc99_fwscanf@@GLIBC_2.7, | |
6739 | __isoc99_vfwscanf@@GLIBC_2.7, __isoc99_swscanf@@GLIBC_2.7 | |
6740 | and __isoc99_vswscanf@@GLIBC_2.7. | |
6741 | * wcsmbs/Makefile (routines): Add isoc99_wscanf, isoc99_vwscanf, | |
6742 | isoc99_fwscanf, isoc99_vfwscanf, isoc99_swscanf and isoc99_vswscanf. | |
6743 | (CFLAGS-isoc99_wscanf.c, CFLAGS-isoc99_fwscanf.c, | |
6744 | CFLAGS-isoc99_vwscanf.c, CFLAGS-isoc99_vfwscanf.c): Add $(exceptions). | |
6745 | (CPPFLAGS): Add -D_IO_MTSAFE_IO if needed. | |
6746 | * stdio-common/isoc99_scanf.c: New file. | |
6747 | * stdio-common/isoc99_vsscanf.c: New file. | |
6748 | * stdio-common/isoc99_vscanf.c: New file. | |
6749 | * stdio-common/isoc99_vfscanf.c: New file. | |
6750 | * stdio-common/isoc99_fscanf.c: New file. | |
6751 | * stdio-common/isoc99_sscanf.c: New file. | |
6752 | * wcsmbs/isoc99_fwscanf.c: New file. | |
6753 | * wcsmbs/isoc99_vswscanf.c: New file. | |
6754 | * wcsmbs/isoc99_swscanf.c: New file. | |
6755 | * wcsmbs/isoc99_wscanf.c: New file. | |
6756 | * wcsmbs/isoc99_vwscanf.c: New file. | |
6757 | * wcsmbs/isoc99_vfwscanf.c: New file. | |
6758 | * libio/libio.h (_IO_FLAGS2_SCANF_STD): Define. | |
6759 | * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct): Also | |
6760 | clear _IO_FLAGS2_SCANF_STD bit from _flags2. | |
6761 | * stdio-common/vfscanf.c (_IO_vfscanf_internal): Don't | |
6762 | handle %as, %aS and %a[ if _IO_FLAGS2_SCANF_STD is set in _flags2. | |
6763 | * stdio-common/scanf14.c: New test. | |
6764 | * stdio-common/scanf15.c: New test. | |
6765 | * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add | |
6766 | isoc99_scanf, isoc99_fscanf, isoc99_sscanf, | |
6767 | isoc99_vscanf, isoc99_vfscanf, isoc99_vsscanf, | |
6768 | isoc99_wscanf, isoc99_fwscanf, isoc99_swscanf, | |
6769 | isoc99_vwscanf, isoc99_vfwscanf and isoc99_vswscanf. | |
6770 | * sysdeps/ieee754/ldbl-opt/Versions (libc): Export | |
6771 | __nldbl___isoc99_scanf@@GLIBC_2.7, | |
6772 | __nldbl___isoc99_fscanf@@GLIBC_2.7, | |
6773 | __nldbl___isoc99_sscanf@@GLIBC_2.7, | |
6774 | __nldbl___isoc99_vscanf@@GLIBC_2.7, | |
6775 | __nldbl___isoc99_vfscanf@@GLIBC_2.7, | |
6776 | __nldbl___isoc99_vsscanf@@GLIBC_2.7, | |
6777 | __nldbl___isoc99_wscanf@@GLIBC_2.7, | |
6778 | __nldbl___isoc99_fwscanf@@GLIBC_2.7, | |
6779 | __nldbl___isoc99_swscanf@@GLIBC_2.7, | |
6780 | __nldbl___isoc99_vwscanf@@GLIBC_2.7, | |
6781 | __nldbl___isoc99_vfwscanf@@GLIBC_2.7 | |
6782 | and __nldbl___isoc99_vswscanf@@GLIBC_2.7. | |
6783 | * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__isoc99_scanf, | |
6784 | __isoc99_fscanf, __isoc99_sscanf, __isoc99_vscanf, | |
6785 | __isoc99_vfscanf, __isoc99_vsscanf, __isoc99_wscanf, | |
6786 | __isoc99_fwscanf, __isoc99_swscanf, __isoc99_vwscanf, | |
6787 | __isoc99_vfwscanf, __isoc99_vswscanf): Add NLDBL_DECL. | |
6788 | * sysdeps/ieee754/ldbl-opt/nldbl-compat.c | |
6789 | (__nldbl___isoc99_scanf, __nldbl___isoc99_fscanf, | |
6790 | __nldbl___isoc99_sscanf, __nldbl___isoc99_vscanf, | |
6791 | __nldbl___isoc99_vfscanf, __nldbl___isoc99_vsscanf, | |
6792 | __nldbl___isoc99_wscanf, __nldbl___isoc99_fwscanf, | |
6793 | __nldbl___isoc99_swscanf, __nldbl___isoc99_vwscanf, | |
6794 | __nldbl___isoc99_vfwscanf, __nldbl___isoc99_vswscanf): New | |
6795 | functions. | |
6796 | * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vfscanf.c: New file. | |
6797 | * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_swscanf.c: New file. | |
6798 | * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vwscanf.c: New file. | |
6799 | * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_wscanf.c: New file. | |
6800 | * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_scanf.c: New file. | |
6801 | * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_sscanf.c: New file. | |
6802 | * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vsscanf.c: New file. | |
6803 | * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_fwscanf.c: New file. | |
6804 | * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vfwscanf.c: New file. | |
6805 | * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vswscanf.c: New file. | |
6806 | * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vscanf.c: New file. | |
6807 | * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_fscanf.c: New file. | |
6808 | ||
6809 | * stdio-common/Makefile (tests): Add scanf13. | |
6810 | (scanf13-ENV): New. | |
6811 | * stdio-common/vfscanf.c (_IO_vfscanf_internal): Handle | |
6812 | m modifier followed by l. | |
6813 | (STRING_ARG): Add width argument. | |
6814 | (_IO_vfscanf_internal) <case L_('c')>: Handle %mc. | |
6815 | <case L_('C')>: Handle %mlc and %mC. | |
6816 | <case L_('s'), case L_('S'), case L_('[')>: Adjust STRING_ARG | |
6817 | arguments. | |
6818 | * stdio-common/scanf13.c: New test. | |
6819 | ||
6820 | * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct): Clear | |
6821 | the _IO_FLAGS2_FORTIFY bit from _flags2 rather than _flags. | |
6822 | ||
883f7943 UD |
6823 | 2007-09-18 Ulrich Drepper <drepper@redhat.com> |
6824 | ||
6825 | * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Correct return value | |
874aa523 | 6826 | type and __THROW marker of splice, vmsplice, and tee. |
883f7943 UD |
6827 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. |
6828 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. | |
6829 | * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. | |
6830 | * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. | |
6831 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. | |
6832 | * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. | |
6833 | * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. | |
6834 | * sysdeps/unix/sysv/linux/syscalls.list: Mark splice, vmsplice, and tee | |
6835 | as cancellation points. | |
6836 | ||
3524efe0 UD |
6837 | 2003-11-01 Daniel Jacobowitz <dan@debian.org> |
6838 | ||
6839 | * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion): Don't | |
6840 | parse more than three parts of the version number. | |
6841 | ||
267c54dc UD |
6842 | 2007-09-15 Ulrich Drepper <drepper@redhat.com> |
6843 | ||
6844 | * stdio-common/vfscanf.c (_IO_vfwscanf): Add support for 'm' | |
6845 | modifier. Patch by Jakub Jelinek. | |
6846 | ||
5e17d6b7 UD |
6847 | 2007-08-26 Jakub Jelinek <jakub@redhat.com> |
6848 | ||
6849 | * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_routines): Add | |
6850 | call_fallocate in misc subdir. | |
6851 | * sysdeps/unix/sysv/linux/i386/call_fallocate.S: New file. | |
6852 | * sysdeps/unix/sysv/linux/i386/syscalls.list (fallocate64): Remove. | |
6853 | * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Use __call_fallocate | |
6854 | instead of __fallocate64. | |
6855 | * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise. | |
6856 | ||
3a50811c UD |
6857 | 2007-09-15 Jakub Jelinek <jakub@redhat.com> |
6858 | ||
6859 | * rt/Versions (librt): Export __mq_open_2@@GLIBC_2.7. | |
6860 | * rt/Makefile (headers): Add bits/mqueue2.h. | |
6861 | * rt/mqueue.h: Include bits/mqueue2.h if -D_FORTIFY_SOURCE=2, | |
6862 | optimizing with GCC and __va_arg_pack_len is defined. | |
6863 | * rt/bits/mqueue2.h: New file. | |
6864 | * rt/mq_open.c (__mq_open): Renamed from mq_open. | |
6865 | (mq_open): New strong_alias. | |
6866 | (__mq_open_2): New function. | |
6867 | * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Renamed from mq_open. | |
6868 | (mq_open): New strong_alias. | |
6869 | (__mq_open_2): New function. | |
6870 | * debug/Versions (libc): Export __fortify_fail@@GLIBC_PRIVATE. | |
6871 | * Versions.def (librt): Add GLIBC_2.7 version. | |
6872 | * debug/fortify_fail.c (__fortify_fail): Add libc_hidden_def. | |
6873 | * include/stdio.h (__fortify_fail): Add libc_hidden_proto. | |
6874 | ||
6875 | * misc/sys/cdefs.h (__errordecl, __va_arg_pack_len): Define. | |
6876 | * io/fcntl.h: Include bits/fcntl2.h when __va_arg_pack_len | |
6877 | is defined rather than when not C++. | |
6878 | * io/bits/fcntl2.h (__open_alias, __open64_alias, __openat_alias, | |
6879 | __openat64_alias): New redirects. | |
6880 | (__open_too_many_args, __open_missing_mode, __open64_too_many_args, | |
6881 | __open64_missing_mode, __openat_too_many_args, __openat_missing_mode, | |
6882 | __openat64_too_many_args, __openat64_missing_mode): New __errordecls. | |
6883 | (open, open64, openat, openat64): Rewrite as __extern_always_inline | |
6884 | functions instead of function-like macros. | |
6885 | ||
9bdfff60 UD |
6886 | 2007-09-14 H.J. Lu <hongjiu.lu@intel.com> |
6887 | ||
6888 | * sysdeps/i386/i586/memcpy.S (__memcpy_chk): New definition. | |
6889 | * sysdeps/i386/i586/mempcpy.S (__memcpy_chk): New definition. | |
6890 | * sysdeps/i386/i586/memset.S (__memset_chk): New definition. | |
6891 | ||
ab905672 UD |
6892 | 2007-09-15 Mike Frysinger <vapier@gentoo.org> |
6893 | ||
6894 | * inet/inet_net.c: Reset digit to 0 for inputs starting with "0x". | |
6895 | * inet/tst-network.c (tests): Add edge case tests for "0", "0x", "0x0". | |
6896 | ||
9bd68902 RM |
6897 | 2007-09-14 Mike Frysinger <vapier@gentoo.org> |
6898 | ||
6899 | * inet/tst-network.c: Increment ERRORS for failing tests. | |
6900 | ||
de1c3ebb UD |
6901 | 2007-09-07 Jakub Jelinek <jakub@redhat.com> |
6902 | ||
6903 | * misc/sys/cdefs.h (__va_arg_pack): Define for GCC 4.3+. | |
6904 | * misc/bits/syslog.h (syslog): When __va_arg_pack is defined, | |
6905 | implement as __extern_always_inline function. | |
6906 | (vsyslog): Define as __extern_always_inline function unconditionally. | |
6907 | * libio/bits/stdio2.h (sprintf, snprintf, printf, fprintf): | |
6908 | When __va_arg_pack is defined, implement as __extern_always_inline | |
6909 | functions. | |
6910 | (vsprintf, vsnprintf, vprintf, vfprintf): Define as | |
6911 | __extern_always_inline functions unconditionally. | |
6912 | * libio/bits/stdio.h (vprintf): Ifdef out the inline when | |
6913 | bits/stdio2.h will be included. | |
6914 | * wcsmbs/bits/wchar2.h (__swprintf_alias): New redirect. | |
6915 | (swprintf, wprintf, fwprintf): When __va_arg_pack is defined, | |
6916 | implement as __extern_always_inline functions. | |
6917 | (vswprintf, vwprintf, vfwprintf): Define as | |
6918 | __extern_always_inline functions unconditionally. | |
6919 | * debug/tst-chk1.c (do_test): Enable remaining tests for C++. | |
6920 | ||
6921 | 2007-09-03 Jakub Jelinek <jakub@redhat.com> | |
6922 | ||
6923 | * misc/sys/cdefs.h (__extern_inline, __extern_always_inline): Only | |
6924 | define in C++ for GCC 4.3+, in C++ always use __gnu_inline__ | |
6925 | attribute. | |
6926 | * include/features.h (__USE_EXTERN_INLINES): Define only when | |
6927 | __extern_inline is defined. | |
6928 | * stdlib/stdlib.h: Include bits/stdlib.h when __extern_always_inline | |
6929 | is defined instead of when not __cplusplus. | |
6930 | * misc/sys/syslog.h: Include bits/syslog.h when __extern_always_inline | |
6931 | is defined instead of when not __cplusplus. | |
6932 | * socket/sys/socket.h: Include bits/socket2.h when | |
6933 | __extern_always_inline is defined instead of when not __cplusplus. | |
6934 | * libio/stdio.h: Include bits/stdio2.h when __extern_always_inline | |
6935 | is defined instead of when not __cplusplus. | |
6936 | * posix/unistd.h: Include bits/unistd.h when __extern_always_inline | |
6937 | is defined instead of when not __cplusplus. | |
6938 | * string/string.h: Include bits/string3.h when __extern_always_inline | |
6939 | is defined instead of when not __cplusplus. | |
6940 | * wcsmbs/wchar.h: Include bits/wchar2.h when __extern_always_inline | |
6941 | is defined instead of when not __cplusplus. | |
6942 | (btowc, wctob): Don't guard the inlines with ifndef __cplusplus. | |
6943 | * io/fcntl.h: Don't include bits/fcntl2.h if __extern_always_inline | |
6944 | is not defined. | |
6945 | * misc/bits/syslog-ldbl.h: Guard *_chk stuff with | |
6946 | defined __extern_always_inline instead of !defined __cplusplus. | |
6947 | * libio/bits/stdio-ldbl.h: Likewise. | |
6948 | * wcsmbs/bits/wchar-ldbl.h: Likewise. | |
6949 | * misc/bits/syslog.h (syslog): Don't define for C++. | |
6950 | (vsyslog): Use __extern_always_inline function for C++ instead of | |
6951 | a macro. | |
6952 | * libio/bits/stdio.h (__STDIO_INLINE): Define to __extern_inline | |
6953 | whenever that macro is defined. | |
6954 | (vprintf): Don't provide the inline for C++. | |
6955 | (fread_unlocked, fwrite_unlocked): Don't define the macros for C++. | |
6956 | * libio/bits/stdio2.h (sprintf, snprintf, printf, fprintf): Don't | |
6957 | define the macros for C++. | |
6958 | (vsprintf, vsnprintf, vprintf, vfprintf): Define as | |
6959 | __extern_always_inline functions for C++. | |
6960 | * io/sys/stat.h (stat, lstat, fstat, fstatat, mknod, mknodat, | |
6961 | stat64, lstat64, fstat64, fstatat64): Don't define if not | |
6962 | __USE_EXTERN_INLINES. | |
6963 | * wcsmbs/bits/wchar2.h: Fix #error message. | |
6964 | (swprintf, wprintf, fwprintf): Don't define the macros for C++. | |
6965 | (vswprintf, vwprintf, vfwprintf): Define using | |
6966 | __extern_always_inline functions for C++. | |
6967 | * string/bits/string3.h: Don't #undef macros if __cplusplus. | |
6968 | (memcpy, memmove, mempcpy, memset, bcopy, bzero, strcpy, stpcpy, | |
6969 | strncpy, strcat, strncat): Define as __extern_always_inline | |
6970 | functions instead of macros for C++. | |
6971 | * math/bits/cmathcalls.h: Guard __extern_inline routines with | |
6972 | defined __extern_inline. | |
6973 | * sysdeps/alpha/fpu/bits/mathinline.h (__MATH_INLINE): Define | |
6974 | to __extern_inline whenever that macro is defined. | |
6975 | * sysdeps/ia64/fpu/bits/mathinline.h (__MATH_INLINE): Likewise. | |
6976 | * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Likewise. | |
6977 | * sysdeps/i386/i486/bits/string.h (__STRING_INLINE): Likewise. | |
6978 | * sysdeps/s390/bits/string.h (__STRING_INLINE): Likewise. | |
6979 | * sysdeps/s390/fpu/bits/mathinline.h (__MATH_INLINE): Likewise. | |
6980 | * sysdeps/powerpc/fpu/bits/mathinline.h (__MATH_INLINE): Likewise. | |
6981 | * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Likewise. | |
6982 | * sysdeps/sparc/fpu/bits/mathinline.h (__MATH_INLINE): Likewise. | |
6983 | * sysdeps/unix/sysv/linux/sys/sysmacros.h (gnu_dev_major, | |
6984 | gnu_dev_minor, gnu_dev_makedev): Remove __extern_inline from | |
6985 | prototypes. Only provide __extern_inline routines if | |
6986 | __USE_EXTERN_INLINES. | |
6987 | * debug/Makefile: Add rules to build and run tst-{,lfs}chk{4,5,6} | |
6988 | tests. | |
6989 | * debug/tst-chk1.c (do_prepare, do_test): Allow compilation as C++. | |
6990 | For now avoid some *printf tests in C++. Skip all testing | |
6991 | if __USE_FORTIFY_LEVEL is defined, but __extern_always_inline macro | |
6992 | is not. | |
6993 | * debug/tst-chk4.cc: New file. | |
6994 | * debug/tst-chk5.cc: New file. | |
6995 | * debug/tst-chk6.cc: New file. | |
6996 | * debug/tst-lfschk4.cc: New file. | |
6997 | * debug/tst-lfschk5.cc: New file. | |
6998 | * debug/tst-lfschk6.cc: New file. | |
6999 | * include/wchar.h (__vfwprintf_chk, __vswprintf_chk): Avoid | |
7000 | prototypes in C++. | |
7001 | * include/stdio.h (__sprintf_chk, __snprintf_chk, __vsprintf_chk, | |
7002 | __vsnprintf_chk, __printf_chk, __fprintf_chk, __vprintf_chk, | |
7003 | __vfprintf_chk, __fgets_unlocked_chk, __fgets_chk): Likewise. | |
7004 | ||
b53eef9c UD |
7005 | 2007-09-13 Ulrich Drepper <drepper@redhat.com> |
7006 | ||
7007 | * po/cs.po: Update from translation team. | |
7008 | ||
af385590 RM |
7009 | 2007-09-11 Roland McGrath <roland@redhat.com> |
7010 | ||
7011 | * posix/Makefile ($(objpfx)getconf.speclist): Make it empty if cross | |
7012 | compiling. | |
7013 | ||
af2f25a1 RM |
7014 | 2007-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org> |
7015 | ||
7016 | * sysdeps/mach/hurd/bits/ioctls.h (TAB3): New macro. | |
7017 | ||
94733ae0 RM |
7018 | 2007-09-05 Roland McGrath <roland@redhat.com> |
7019 | ||
7020 | * manual/signal.texi (Signaling Another Process): Typo fix. | |
7021 | From Karl Berry <karl@freefriends.org>. | |
7022 | ||
de4d8563 UD |
7023 | 2007-08-29 Ulrich Drepper <drepper@redhat.com> |
7024 | ||
7025 | * sysdeps/unix/sysv/linux/check_pf.c (IFA_F_OPTIMISTIC): Define to | |
7026 | zero if not defined. | |
7027 | (make_request): Recognize optimistic addresses and treat them like | |
7028 | deprecated addresses. | |
7029 | Reported by Neil Horman <nhorman@redhat.com>. | |
7030 | ||
0adfcc05 UD |
7031 | 2007-08-28 Ulrich Drepper <drepper@redhat.com> |
7032 | ||
f3c54060 UD |
7033 | * nscd/connections.c (send_ro_fd): Also transfer file size. |
7034 | * nscd/nscd_helper.c (get_mapping): If nscd also transfers the | |
7035 | file size don't call fstat. | |
7036 | ||
0adfcc05 UD |
7037 | * nscd/nscd_helper.c (get_mapping): Avoid the pread call, just go |
7038 | ahead and map the file. This should always be correct and we can | |
7039 | catch problems later. | |
7040 | ||
3586b2b6 UD |
7041 | 2007-08-28 Jakub Jelinek <jakub@redhat.com> |
7042 | ||
7043 | * libio/bits/stdio2.h (__fread_chk, __fread_unlocked_chk): New | |
7044 | prototypes. | |
7045 | (__fread_alias, __fread_unlocked_alias): New aliases. | |
7046 | (fread): New extern inline. | |
7047 | (fread_unlocked): Likewise. Undef macro before definition of | |
7048 | the inline function. | |
7049 | * debug/Makefile (routines): Add fread_chk and fread_u_chk. | |
7050 | (CFLAGS-fread_chk.c, CFLAGS-fread_u_chk.c): Add. | |
7051 | * debug/Versions (libc): Export __fread_chk@@GLIBC_2.7 | |
7052 | and __fread_unlocked_chk@@GLIBC_2.7. | |
7053 | * debug/fread_chk.c: New file. | |
7054 | * debug/fread_u_chk.c: New file. | |
7055 | * debug/tst-chk1.c (do_test): Add fread and fread_unlocked tests. | |
7056 | ||
3704aa0b RM |
7057 | 2007-08-27 Jakub Jelinek <jakub@redhat.com> |
7058 | ||
7059 | * sysdeps/unix/sysv/linux/syscalls.list | |
7060 | (personality): Change caller to EXTRA. | |
7061 | ||
80e7d6a6 UD |
7062 | 2007-08-25 Ulrich Drepper <drepper@redhat.com> |
7063 | ||
278bfa00 UD |
7064 | * iconvdata/iso-2022-kr.c (BODY): Fake initialization of array buf |
7065 | to keep gcc quiet. | |
7066 | * iconvdata/iso-2022-cn.c (BODY): Likewise. | |
7067 | ||
a45d733c UD |
7068 | * locale/programs/ld-collate.c (collate_output): Avoid warning if |
7069 | NDEBUG is defined. | |
7070 | ||
5dfeae0e UD |
7071 | * Makerules: Use -p option with mkdir. |
7072 | ||
8f1fe057 UD |
7073 | * sunrpc/key_prot.c (xdr_unixcred): Work around gcc alias warning. |
7074 | * nis/nis_xdr.c (_xdr_nis_server): Likewise. | |
bd0dcd28 UD |
7075 | (_xdr_directory_obj): Likewise. |
7076 | (xdr_entry_obj): Likewise. | |
7077 | (xdr_group_obj): Likewise. | |
7078 | (xdr_link_obj): Likewise. | |
7079 | (xdr_table_obj): Likewise. | |
7080 | (_xdr_nis_result): Likewise. | |
7081 | (_xdr_ns_request): Likewise. | |
7082 | (_xdr_ib_request): Likewise. | |
7083 | (_xdr_nis_taglist): Likewise. | |
7084 | (xdr_cback_data): Likewise. | |
8f1fe057 | 7085 | * nis/yp_xdr.c (xdr_ypmaplist): Likewise. |
bd0dcd28 UD |
7086 | (xdr_ypresp_maplist): Likewise. |
7087 | ||
01339a67 UD |
7088 | * stdio-common/Makefile: Avoid format string warning for tst-sprint. |
7089 | ||
3fa10468 UD |
7090 | * posix/regex_internal.h: Prevent some declarations and definitions |
7091 | to be seen when used in tests. | |
7092 | ||
ec1e04de UD |
7093 | * posix/tst-rfc3484.c (__idna_to_unicode_lzlz): Initialize *OUTPUT. |
7094 | * posix/tst-rfc3484-2.c (__idna_to_unicode_lzlz): Likewise. | |
7095 | ||
7a344d1d UD |
7096 | * debug/Makefile: Disable format checking when compiling tst-chk?.c. |
7097 | ||
f8f6ff5d UD |
7098 | * config.make.in (datarootdir): Add to shut up configure. |
7099 | ||
76fca9f1 UD |
7100 | * sysdeps/x86_64/cacheinfo.c (handle_amd): Fix computation of |
7101 | associativity for fully-associative caches. | |
7102 | ||
80e7d6a6 UD |
7103 | * sysdeps/x86_64/cacheinfo.c (handle_amd): Handle L3 cache |
7104 | requests. Fill on more associativity values for L2. | |
7105 | Patch mostly by Evandro Menezes. | |
7106 | ||
cb5ba304 UD |
7107 | 2007-08-24 Ulrich Drepper <drepper@redhat.com> |
7108 | ||
d250df8c UD |
7109 | * sysdeps/unix/sysv/linux/x86_64/init-first.c |
7110 | (_libc_vdso_platform_setup): Avoid using exported variable by using | |
7111 | alias. | |
7112 | ||
88f61aaf UD |
7113 | * resolv/arpa/nameser.h (NS_OPT_DNSSEC_OK): Define. |
7114 | ||
cb5ba304 | 7115 | * sysdeps/unix/sysv/linux/i386/syscalls.list: No reason to mark |
cb104bd7 | 7116 | fallocate64 as EXTRA. It is not referenced if the symbol isn't |
cb5ba304 UD |
7117 | defined. |
7118 | ||
62e1b1f5 UD |
7119 | 2007-08-23 Ulrich Drepper <drepper@redhat.com> |
7120 | ||
44b2e581 UD |
7121 | * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Correctly |
7122 | align stack for call if pltexit is to be used. | |
7123 | ||
73e3ff07 UD |
7124 | [BZ #3924] |
7125 | * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Correctly | |
7126 | align for function call in case pltexit has to be called later. | |
7127 | ||
62e1b1f5 UD |
7128 | * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Avoid |
7129 | implicit atomic operation when storing function pointer. | |
7130 | (_dl_runtime_profile): Likewise. | |
7131 | ||
0008163a UD |
7132 | 2007-08-17 Jakub Jelinek <jakub@redhat.com> |
7133 | ||
7134 | * nis/nis_table.c (nis_list): Don't fail if __follow_path returned | |
7135 | NIS_NOTFOUND. | |
7136 | ||
55ea8790 UD |
7137 | 2007-08-21 Ulrich Drepper <drepper@redhat.com> |
7138 | ||
2e0e1a05 UD |
7139 | [BZ #4566] |
7140 | * string/strtok.c: Fix typo in comment. | |
7141 | ||
682e4437 UD |
7142 | [BZ #4582] |
7143 | * debug/segfault.c: Fix typos in comments. | |
7144 | ||
7d55c9eb UD |
7145 | [BZ #4588] |
7146 | * stdio-common/tempnam.c: Fix comment, it is not checked that | |
7147 | TMPDIR points to a writable directory. | |
7148 | ||
0f8f993c UD |
7149 | [BZ #4726] |
7150 | * resolv/res_send.c (__libc_res_nsend): Initialize all of the | |
7151 | memory allocated for the name server address. | |
7152 | ||
1465dd0f UD |
7153 | [BZ #4946] |
7154 | * nscd/connections.c (handle_request): Using sendfile always | |
7155 | requires that mmap is used for the database. | |
7156 | Patch by Petr Baudis <pasky@suse.cz>. | |
7157 | ||
c44d3bdf UD |
7158 | [BZ #4905] |
7159 | * nscd/hstcache.c (cache_addhst): When reloading an entry which | |
7160 | suddenly has two or more addresses, ignore it and remove the old | |
7161 | entry. | |
7162 | ||
1ce7d80d UD |
7163 | [BZ #4814] |
7164 | * resolv/res_hconf.c: Prepare for compiling outside libc. | |
7165 | * nscd/res_hconf.c: New file. | |
7166 | * nscd/Makefile (nscd-modules): Add res_hconf. Add rules to build | |
7167 | the new file. | |
7168 | * nscd/gethstbynm2_r.c (NEED__RES_HCONF): Define. | |
7169 | * nscd/gethstbyad_r.c (NEED__RES_HCONF): Likewise. | |
7170 | ||
a30d41c1 UD |
7171 | * nscd/hstcache.c (cache_addhst): Minimal optimization. |
7172 | ||
45dc3ad7 UD |
7173 | [BZ #4925] |
7174 | * debug/pcprofiledump.c: Turn on internationalization by calling | |
7175 | setlocale. Patch mostly by Benno Schulenberg. | |
7176 | ||
55ea8790 UD |
7177 | [BZ #4936] |
7178 | * iconv/gconv.c (__gconv): If flush was successful, clear rest of | |
7179 | the state. | |
7180 | * iconvdata/Makefile: Add rules to build and run bug-iconv5. | |
7181 | * iconvdata/bug-iconv5.c: New file. | |
7182 | ||
0b82ff74 UD |
7183 | 2007-08-04 Carlos O'Donell <carlos@systemhalted.org> |
7184 | ||
55ea8790 | 7185 | [BZ #4896] |
0b82ff74 UD |
7186 | * elf/elf.h: Define R_PARISC_PLABEL21L, R_PARISC_PLABEL14R, |
7187 | R_PARISC_GNU_VTENTRY, R_PARISC_GNU_VTINHERIT, R_PARISC_TLS_GD21L, | |
7188 | R_PARISC_TLS_GD14R, R_PARISC_TLS_GDCALL, R_PARISC_TLS_LDM21L, | |
7189 | R_PARISC_TLS_LDM14R, R_PARISC_TLS_LDMCALL, R_PARISC_TLS_LDO21L, | |
7190 | R_PARISC_TLS_LDO14R, R_PARISC_TLS_DTPMOD32, R_PARISC_TLS_DTPMOD64, | |
7191 | R_PARISC_TLS_DTPOFF32, R_PARISC_TLS_DTPOFF64, R_PARISC_TLS_LE21L, | |
7192 | R_PARISC_TLS_LE14R, R_PARISC_TLS_IE21L, R_PARISC_TLS_IE14R, | |
7193 | R_PARISC_TLS_TPREL32, R_PARISC_TLS_TPREL64. | |
7194 | ||
ee16a55a UD |
7195 | 2007-08-21 Ulrich Drepper <drepper@redhat.com> |
7196 | ||
7197 | [BZ #4937] | |
7198 | * elf/do-lookup.h (do_lookup_x): Minimal improvement in hash | |
7199 | lookup loop. Suggested by John Reiser. | |
7200 | ||
b211fe0f JJ |
7201 | 2007-08-21 Jakub Jelinek <jakub@redhat.com> |
7202 | ||
7203 | * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include tls.h. | |
7204 | ||
fb84593c UD |
7205 | 2007-08-20 Ulrich Drepper <drepper@redhat.com> |
7206 | ||
7207 | * csu/libc-start.c: Don't handle VDSO_SETUP here. | |
7208 | * sysdeps/unix/sysv/linux/init-first.c: Handle it here instead. | |
7209 | * sysdeps/unix/sysv/linux/x86_64/libc-start.c: Renamed to... | |
7210 | * sysdeps/unix/sysv/linux/x86_64/init-first.c: ...this. New file. | |
7211 | * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Move VDSO_SETUP code | |
7212 | to... | |
7213 | * sysdeps/unix/sysv/linux/x86_64/init-first.c: ...here. New file. | |
7214 | ||
b83fb35c UD |
7215 | 2007-08-18 Ulrich Drepper <drepper@redhat.com> |
7216 | ||
7217 | * po/nl.po: Update from translation team. | |
7218 | ||
20806a70 AJ |
7219 | 2007-08-16 Andreas Jaeger <aj@suse.de> |
7220 | ||
7221 | * locale/localeinfo.h: Make _nl_category_name_idxs extern. | |
f00d47a3 | 7222 | Reported by Peter Festner <peter.festner@ewetel.net>. |
20806a70 | 7223 | |
42282d57 JJ |
7224 | 2007-08-17 Jakub Jelinek <jakub@redhat.com> |
7225 | ||
7226 | * login/tst-grantpt.c (test_einval): Add 3rd argument to open. | |
7227 | ||
8a501135 JJ |
7228 | 2007-08-16 Jakub Jelinek <jakub@redhat.com> |
7229 | ||
cb84d1e4 JJ |
7230 | * elf/Makefile ($(objpfx)ld.so): Use readelf -s and awk instead of nm -u |
7231 | to check for undefined symbols. | |
7232 | ||
91ddd9c4 JJ |
7233 | * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): |
7234 | If the syscall fails, set errno to the actual returned error number | |
7235 | rather than EINVAL. | |
7236 | * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): If | |
7237 | arguments are incorrect, set errno to EINVAL, if the syscall | |
7238 | fails, set errno to the actual returned error number. | |
7239 | ||
18915760 JJ |
7240 | * stdlib/bits/stdlib-ldbl.h (__strtold_internal): Remove. |
7241 | * wcsmbs/bits/wchar-ldbl.h (__wcstold_internal): Remove. | |
7242 | ||
8a501135 JJ |
7243 | * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: Moved to... |
7244 | * sysdeps/sparc/sparc32/sparcv9/sparcv9b/memcpy.S: ... here. New | |
7245 | file. | |
7246 | (ASI_PNF, ASI_BLK_P): Don't define. | |
7247 | * sysdeps/sparc/sparc32/sparcv9v/memcpy.S: Moved to... | |
7248 | * sysdeps/sparc/sparc32/sparcv9/sparcv9v/memcpy.S: ... here. New | |
7249 | file. | |
7250 | * sysdeps/sparc/sparc32/sparcv9v/memset.S: Moved to... | |
7251 | * sysdeps/sparc/sparc32/sparcv9/sparcv9v/memset.S: ... here. New | |
7252 | file. | |
7253 | ||
e4720b0e JJ |
7254 | 2007-08-15 Jakub Jelinek <jakub@redhat.com> |
7255 | ||
7256 | * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Fix raising | |
7257 | FE_UNDERFLOW on Niagara CPUs. | |
7258 | ||
7259 | * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear all | |
7260 | exceptions. | |
7261 | ||
702a9414 JJ |
7262 | 2007-08-14 Jakub Jelinek <jakub@redhat.com> |
7263 | ||
467d1345 JJ |
7264 | * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup): No |
7265 | need to check GLRO(dl_hwcap) & HWCAP_SPARC_FLUSH on sparcv9. | |
7266 | (sparc_fixup_plt): Add do_flush argument instead of figuring whether | |
7267 | flush should be used or not inside of the function. | |
7268 | (elf_machine_fixup_plt, elf_machine_rela): Adjust caller. | |
7269 | ||
7270 | * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone, | |
7271 | __thread_start): Use HIDDEN_JUMPTARGET. | |
7272 | * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone, | |
7273 | __thread_start): Likewise. | |
7274 | * sysdeps/unix/sysv/linux/sparc/sysdep.h (JUMPTARGET): Define. | |
7275 | ||
702a9414 JJ |
7276 | * sysdeps/ieee754/ldbl-64-128/strtold_l.c (__STRTOF): Declare. |
7277 | Add libc_hidden_proto. | |
7278 | (STRTOF): Add libc_hidden_proto. | |
7279 | (___new_strtold_l, ___new_wcstold_l): New weak aliases. | |
7280 | (strtold_l, wcstold_l): Use them as second argument for | |
7281 | long_double_symbol. | |
7282 | ||
c6c8f0ec UD |
7283 | 2007-08-14 Ulrich Drepper <drepper@redhat.com> |
7284 | ||
7285 | * elf/dl-misc.c: Undo last change. The kernel won't allow it. | |
7286 | ||
5e88abf9 UD |
7287 | 2007-08-13 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
7288 | ||
7289 | * stdlib/strtold_l.c: Include wchar.h if needed. Add libc_hidden_def. | |
7290 | ||
fc4819b0 UD |
7291 | 2007-08-14 Ulrich Drepper <drepper@redhat.com> |
7292 | ||
7293 | * po/bg.po: New file. From the translation team. | |
7294 | ||
22502ea2 UD |
7295 | 2007-08-13 Jakub Jelinek <jakub@redhat.com> |
7296 | ||
7297 | * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PSELECT, | |
7298 | __ASSUME_PPOLL, __ASSUME_ATFCTS, __ASSUME_SET_ROBUST_LIST, | |
7299 | __ASSUME_UTIMENSAT, __ASSUME_FALLOCATE): Update per-arch conditions | |
7300 | when each feature was introduced. | |
7301 | ||
7302 | * sysdeps/unix/sysv/linux/dl-vdso.c: Don't include dl-hash.h. | |
7303 | * sysdeps/unix/sysv/linux/dl-vdso.h: Don't include dl-hash.h if NDEBUG. | |
7304 | (CHECK_HASH): New macro. | |
7305 | (PREPARE_VERSION): Use it. | |
7306 | ||
7307 | * sysdeps/unix/sysv/linux/pselect.c (__generic_pselect): Only provide | |
7308 | prototype if not __ASSUME_PSELECT. | |
7309 | * sysdeps/unix/sysv/linux/ppoll.c (__generic_ppoll): Only provide | |
7310 | prototype if not __ASSUME_PPOLL. | |
7311 | ||
7312 | * sysdeps/unix/sysv/linux/dl-osinfo.h (ROUND): #undef after use. | |
7313 | ||
7314 | * sysdeps/unix/clock_settime.c (freq, __pthread_clock_settime, | |
7315 | hp_timing_settime): Don't define or declare if HANDLED_CPUTIME | |
7316 | is defined. | |
7317 | ||
9c6f6953 UD |
7318 | 2007-08-13 Ulrich Drepper <drepper@redhat.com> |
7319 | ||
7320 | * sysdeps/unix/sysv/linux/x86_64/libc-start.c | |
7321 | (_libc_vdso_platform_setup): If vDSO is not available point | |
7322 | __vdso_gettimeofday to the vsyscall. | |
7323 | * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S [SHARED]: Use | |
7324 | __vdso_gettimeofday instead of vsyscall. | |
7325 | ||
f8de5057 UD |
7326 | 2007-08-13 Jakub Jelinek <jakub@redhat.com> |
7327 | ||
7328 | * nscd/servicescache.c: Include kernel-features.h. | |
7329 | * nscd/gai.c: Likewise. | |
7330 | * sysdeps/unix/sysv/linux/statfs64.c: Likewise. | |
7331 | * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise. | |
7332 | * sysdeps/unix/sysv/linux/fxstatat.c: Likewise. | |
7333 | * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise. | |
7334 | * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise. | |
7335 | * sysdeps/unix/sysv/linux/xstatconv.c: Likewise. | |
7336 | * sysdeps/unix/sysv/linux/if_index.c: Likewise. | |
7337 | * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Likewise. | |
7338 | * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise. | |
7339 | ||
3c87d79d UD |
7340 | 2007-08-12 Ulrich Drepper <drepper@redhat.com> |
7341 | ||
ea37207a UD |
7342 | * elf/dl-dst.h: No need for _dl_dst_count, _dl_dst_substitute, |
7343 | and _dl_get_origin defines anymore. | |
7344 | ||
4eb375fe UD |
7345 | * sysdeps/unix/sysv/linux/clock_gettime.c (maybe_syscall_gettime_cpu): |
7346 | Build fix for systems which might lack POSIX timer support. | |
7347 | ||
3c87d79d UD |
7348 | * sysdeps/unix/sysv/linux/x86_64/libc-start.c |
7349 | (_libc_vdso_platform_setup): Mangle function pointers before storing | |
7350 | them. | |
7351 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL): | |
7352 | Demangle vdso pointer before use. | |
7353 | (INTERNAL_VSYSCALL): Likewise. | |
7354 | ||
7355 | * elf/cache.c (primes): Mark as const. | |
7356 | Noted by Roland McGrath. | |
7357 | ||
27d9ffda UD |
7358 | 2007-08-01 Andreas Jaeger <aj@suse.de> |
7359 | Jakub Jelinek <jakub@redhat.com> | |
7360 | ||
7361 | * elf/ldconfig.c (opt_ignore_aux_cache): Add new option. | |
7362 | (options): Add option. | |
7363 | (parse_opt): Handle option. | |
7364 | (manual_link): Adjust process_file caller. Call implicit_soname. | |
7365 | (search_dir): Formatting. Use and populate auxiliary cache. | |
7366 | (main): Load and save auxiliary cache. | |
7367 | * elf/readlib.c (process_file): Add stat_buf argument. Pass struct | |
7368 | stat64 from fstat64 to caller. | |
7369 | (implicit_soname): New function. | |
7370 | * elf/readelflib.c (process_elf_file): If DT_SONAME is not present, | |
7371 | leave *soname as NULL. | |
7372 | * elf/cache.c: Include libgen.h. | |
7373 | (print_entry, print_cache, compare, save_cache, add_to_cache): | |
7374 | Formatting and cleanups. | |
7375 | (aux_cache_entry_id, aux_cache_entry, aux_cache_file_entry, | |
7376 | aux_cache_file): New structures. | |
7377 | (AUX_CACHEMAGIC): Define. | |
7378 | (primes): New array. | |
7379 | (aux_hash_size, aux_hash): New variables. | |
7380 | (aux_cache_entry_id_hash, nextprime, init_aux_cache, | |
7381 | search_aux_cache, insert_to_aux_cache, add_to_aux_cache, | |
7382 | load_aux_cache, save_aux_cache): New functions. | |
7383 | * sysdeps/generic/ldconfig.h (_PATH_LDCONFIG_AUX_CACHE): Define. | |
7384 | (init_aux_cache, search_aux_cache, add_to_aux_cache, | |
7385 | load_aux_cache, save_aux_cache, implicit_soname): New prototypes. | |
7386 | (process_file): Adjust prototype. | |
7387 | ||
8d944b0f UD |
7388 | 2007-08-12 Jakub Jelinek <jakub@redhat.com> |
7389 | ||
7390 | * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Include stddef.h | |
7391 | with __need_size_t. | |
7392 | ||
75fb247e UD |
7393 | 2007-08-12 Ulrich Drepper <drepper@redhat.com> |
7394 | ||
fb86328a UD |
7395 | * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Expect |
7396 | r_found_version structure as second parameter. | |
7397 | * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Define. | |
7398 | (_dl_vdso_vsym): Change type of second parameter accordingly. | |
7399 | * sysdeps/unix/sysv/linux/x86-64/libc-start.c | |
7400 | (_libc_vdso_platform_setup): Adjust. | |
974a1f0f | 7401 | * sysdeps/unix/sysv/linux/powerpc/libc-start.c |
fb86328a UD |
7402 | (_libc_vdso_platform_setup): Likewise. |
7403 | ||
75fb247e UD |
7404 | * sysdeps/unix/sysv/linux/powerpc/dl-vdso.c: Move to... |
7405 | * sysdeps/unix/sysv/linux/dl-vdso.c: ...here. | |
7406 | * sysdeps/unix/sysv/linux/powerpc/dl-vdso.h: Move to... | |
7407 | * sysdeps/unix/sysv/linux/dl-vdso.h: ...here. | |
7408 | * csu/libc-start.c: Pretty printing. | |
7409 | Use VDSO_SETUP if defined. | |
7410 | * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Define VDSO_SETUP | |
7411 | and let generic code call into _libc_vdso_platform_setup. | |
7412 | * sysdeps/unix/sysv/linux/x86_64/libc-start.c: New file. | |
7413 | * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: New file. | |
7414 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Pretty printing. | |
7415 | Define INLINE_VSYSCALL and INTERNAL_VSYSCALL. | |
7416 | * sysdeps/unix/sysv/linux/x86_64/Versions: Export __vdso_clock_gettime | |
7417 | for GLIBC_PRIVATE. | |
7418 | * sysdeps/unix/sysv/linux/x86_64/Makefile [subdir=elf] | |
7419 | (sysdep_rountines): Add dl-vdso. | |
7420 | ||
7421 | * sysdeps/unix/sysv/linux/powerpc/Makefile: Use sysdep_routines instead | |
7422 | of routines. | |
7423 | ||
7424 | * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add | |
7425 | attribute_hidden to __vdso_gettimeofday prototype. | |
7426 | ||
9229b83e RM |
7427 | 2007-08-12 Roland McGrath <roland@redhat.com> |
7428 | ||
7429 | * manual/stdio.texi (Variable Arguments Output): Fix xref to gcc manual. | |
7430 | From: Karl Berry <karl@freefriends.org>. | |
7431 | ||
4503061f UD |
7432 | 2007-08-11 Ulrich Drepper <drepper@redhat.com> |
7433 | ||
7434 | * elf/dl-misc.c (_dl_sysdep_read_whole_file): We really don't need | |
7435 | an atime update for the files we read. | |
7436 | ||
d7e23b02 UD |
7437 | 2007-08-10 Ulrich Drepper <drepper@redhat.com> |
7438 | ||
7cf89e95 UD |
7439 | * shadow/lckpwdf.c (__lckpwdf): Use O_CLOEXEC if possible. |
7440 | ||
9d169bb3 | 7441 | * nscd/connections.c: Use O_CLOEXEC if possible. Use mkostemp |
d7e23b02 UD |
7442 | instead of mkstemp. |
7443 | ||
7444 | * misc/Makefile (routines): Add mkostemp and mkostemp64. | |
7445 | * misc/Versions: Export mkostemp and mkostemp64 for GLIBC_2.7. | |
7446 | * misc/mkostemp.c: New file. | |
7447 | * misc/mkostemp64.c: New file. | |
7448 | * stdlib/stdlib.h: Declare the new functions. | |
7449 | * sysdeps/posix/tempname.c: Add new parameter which is added to | |
7450 | the flags for open. Remove __GT_BIGFILE handling. | |
7451 | * stdio-common/tempname.c: Likewise. | |
7452 | * include/stdio.h: Adjust __gen_tempname prototype. | |
7453 | Renumber __GT_* constants. | |
7454 | * libio/oldtmpfile.c: Adjust for __gen_tempname interface change. | |
7455 | * misc/mkdtemp.c: Likewise. | |
7456 | * misc/mkstemp.c: Likewise. | |
7457 | * misc/mkstemp64.c: Likewise. | |
7458 | * misc/mktemp.c: Likewise. | |
7459 | * stdio-common/tempnam.c: Likewise. | |
7460 | * stdio-common/tmpfile.c: Likewise. | |
7461 | * stdio-common/tmpfile64.c: Likewise. | |
7462 | * stdio-common/tmpnam.c: Likewise. | |
7463 | * stdio-common/tmpnam_r.c: Likewise. | |
7464 | ||
22532966 RM |
7465 | 2007-08-10 Roland McGrath <roland@frob.com> |
7466 | ||
7467 | * sysdeps/mach/hurd/bits/ioctls.h (NLDLY, TABDLY, BSDLY, VTDLY): | |
7468 | New macros. | |
7469 | (NLDELAY, CRDELAY, TBDELAY, BSDELAY, VTDELAY): Define to those. | |
7470 | Reported by Samuel Thibault <samuel.thibault@ens-lyon.org>. | |
7471 | ||
673876e6 UD |
7472 | 2007-08-10 Ulrich Drepper <drepper@redhat.com> |
7473 | ||
aa132749 UD |
7474 | * nss/nss_files/files-XXX.c (internal_setent): Use O_CLOEXEC if |
7475 | possible. | |
7476 | * nss/nss_files/files-alias.c (internal_setent): Likewise. | |
7477 | * nss/Makefile (libnss_files-routines): Add files-have_o_cloexec. | |
7478 | * nss/nss_files/files-have_o_cloexec.c: New file. | |
7479 | ||
22532966 | 7480 | * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Use O_CLOEXEC if |
673876e6 UD |
7481 | available. |
7482 | ||
1e286653 JJ |
7483 | 2007-08-10 Jakub Jelinek <jakub@redhat.com> |
7484 | ||
7485 | * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (___new_strtold_l, | |
7486 | ___new_wcstold_l): New weak aliases. | |
7487 | (strtold_l, wcstold_l): Use them as second argument for | |
7488 | long_double_symbol. | |
7489 | ||
f07f72f3 UD |
7490 | 2007-08-09 Ulrich Drepper <drepper@redhat.com> |
7491 | ||
6479496a UD |
7492 | * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Use correct |
7493 | register in test for error. | |
7494 | ||
c4adefbd UD |
7495 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_CLOEXEC): Define. |
7496 | * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_CLOEXEC): Likewise. | |
7497 | ||
f07f72f3 UD |
7498 | * po/sv.po: Update from translation team. |
7499 | ||
eef38c28 RM |
7500 | 2007-08-06 Roland McGrath <roland@redhat.com> |
7501 | ||
773e305e RM |
7502 | * include/stdlib.h: Add libc_hidden_proto for strto*, __strto*_l. |
7503 | Remove __strto*_l inlines. | |
7504 | * include/wchar.h: Add libc_hidden_proto for wcsto*, __wcsto*_l. | |
7505 | * stdlib/strtod.c: Add libc_hidden_def. | |
7506 | * stdlib/strtod_l.c: Likewise. | |
7507 | * stdlib/strtold.c [__LONG_DOUBLE_MATH_OPTIONAL]: Add libc_hidden_proto | |
7508 | for __new_strtold and __new_wcstold. | |
7509 | * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Add libc_hidden_proto for | |
7510 | __STRTOF, STRTOF. | |
7511 | * stdlib/strtol.c: Add libc_hidden_def. | |
7512 | * stdlib/strtol_l.c: Likewise. | |
7513 | * sysdeps/wordsize-64/strtol.c: Add libc_hidden_ver for strtoll and | |
7514 | strtoq. | |
7515 | ||
7516 | * scripts/data/localplt-powerpc-linux-gnu.data: New file. | |
7517 | ||
7518 | * scripts/data/localplt-x86_64-linux-gnu.data: File renamed to ... | |
7519 | * scripts/data/localplt-generic.data: ... here. | |
7520 | * elf/Makefile (check-data): Get generic file if no other. | |
7521 | ($(objpfx)check-localplt.out): Make target unconditional. | |
7522 | ||
eef38c28 RM |
7523 | * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion): |
7524 | Use ElfW(Nhdr). | |
7525 | ||
742df3a4 UD |
7526 | 2007-08-05 Ulrich Drepper <drepper@redhat.com> |
7527 | ||
7528 | * po/zh_CN.po: Updated translation from translation team. | |
7529 | ||
0470fa46 JJ |
7530 | 2007-08-05 Jakub Jelinek <jakub@redhat.com> |
7531 | ||
7532 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S (__socket): | |
7533 | Don't use CGOTSETUP and CGOTRESTORE macros. | |
7534 | ||
b5075bdc RM |
7535 | 2007-08-04 Roland McGrath <roland@redhat.com> |
7536 | ||
7537 | * posix/Makefile ($(objpfx)getconf.speclist): Fix typo. | |
7538 | ||
9accc268 JJ |
7539 | 2007-08-04 Jakub Jelinek <jakub@redhat.com> |
7540 | ||
7541 | * io/bits/fcntl2.h (open, open64, openat, openat64): Add | |
7542 | __extension__ around the whole statement expression. | |
7543 | ||
220ae3ef UD |
7544 | 2007-08-04 Ulrich Drepper <drepper@redhat.com> |
7545 | ||
c8ccd8e3 UD |
7546 | * sysdeps/unix/opendir.c (__alloc_dir): Correct order of DIR |
7547 | elements during initialization. | |
7548 | ||
220ae3ef UD |
7549 | * po/pl.po: Updated translation from translation team. |
7550 | * po/tr.po: Likewise. | |
11960f7f | 7551 | * po/nl.po: Likewise. |
220ae3ef | 7552 | |
2fb20667 UD |
7553 | 2007-08-03 Ulrich Drepper <drepper@redhat.com> |
7554 | ||
7555 | * rt/aio.h: Add __nonnull attributes. | |
7556 | ||
ce31a3b1 UD |
7557 | 2007-08-03 Jakub Jelinek <jakub@redhat.com> |
7558 | ||
64f6281c UD |
7559 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Properly handle -0. |
7560 | * stdlib/Makefile (tests): Add tst-strtod5. | |
7561 | (tst-strtod5-ENV): New. | |
7562 | * stdlib/tst-strtod5.c: New file. | |
7563 | ||
ce31a3b1 UD |
7564 | * intl/dcigettext.c (_nl_find_msg): Free encoding if __gconv_open |
7565 | failed. | |
7566 | * intl/finddomain.c (_nl_find_domain): Free normalized_codeset | |
7567 | on failure. | |
7568 | ||
7569 | * elf/dl-load.c (decompose_rpath): Free copy if result couldn't be | |
7570 | allocated. | |
7571 | ||
754980e4 JJ |
7572 | 2007-08-03 Jakub Jelinek <jakub@redhat.com> |
7573 | ||
7574 | * rt/mqueue.h (mq_timedreceive, mq_timedsend): Fix nonnull argument | |
7575 | numbers. | |
7576 | ||
497af0cb UD |
7577 | 2007-08-02 Ulrich Drepper <drepper@redhat.com> |
7578 | ||
cbf0489b UD |
7579 | * io/Makefile (aux): Add have_o_cloexec. |
7580 | * include/fcntl.h: Declare __have_o_cloexec. | |
7581 | * io/have_o_cloexec.c: New file. | |
7582 | * sysdeps/unix/opendir.c (__opendir): Use O_CLOEXEC is available. | |
7583 | (__alloc_dir): If O_CLOEXEC has been used, don't duplicate the | |
7584 | fcntl call if not necessary. | |
7585 | * login/utmp_file.c (setutent_file): Use __have_o_cloexec instead | |
7586 | of local variable. | |
7587 | ||
fa39685d UD |
7588 | * sysdeps/unix/opendir.c (__alloc_dir): Don't initialize ->data. |
7589 | Avoid memset, add explicit initialization. | |
7590 | * sysdeps/unix/dirstream.h (struct __dirstream): Move data elemtn | |
7591 | to the end and change into zero-sized array. | |
7592 | Move lock member to fill a hole on 64-bit platforms. | |
9b2e9577 UD |
7593 | |
7594 | * stdlib/stdlib.h: Remove __strto*_internal prototypes and strto* | |
7595 | inline functions. | |
7596 | * include/stdlib.h: Add __strto*_internal prototypes here. | |
7597 | * wcsmbs/wchar.h: Remove __wcsto*_internal prototypes and wcsto* | |
7598 | inline functions. | |
7599 | * include/wchar.h: Add __wcsto*_internal prototypes. | |
7600 | * sysdeps/generic/inttypes.h: No need to protect the declaration | |
7601 | of the __strto*_internal and __wcsto*_internal members here. | |
7602 | ||
497af0cb UD |
7603 | * rt/mqueue.h: Change const to __const and add nonnull attributes. |
7604 | ||
d17a8cf0 RM |
7605 | 2007-08-02 Roland McGrath <roland@redhat.com> |
7606 | ||
7607 | * posix/Makefile ($(inst_libexecdir)/getconf): Make hard links to | |
7608 | $(inst_bindir)/getconf if possible. | |
7609 | ||
7610 | * posix/Makefile ($(objpfx)getconf.speclist): New target. | |
7611 | (generated): Add it. | |
7612 | ($(inst_libexecdir)/getconf): Use it. | |
7613 | ||
0abf17de UD |
7614 | 2007-08-01 Ulrich Drepper <drepper@redhat.com> |
7615 | ||
7616 | * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Using | |
7617 | /proc is faster and sufficient. /sys is still needed for | |
7618 | __get_nprocs_conf. | |
7619 | ||
5e0923ab UD |
7620 | 2007-08-01 Jakub Jelinek <jakub@redhat.com> |
7621 | ||
7622 | * sysdeps/unix/sysv/linux/i386/syscalls.list (fallocate): Add fallocate | |
7623 | syscall as __fallocate64. | |
7624 | * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: New file. | |
7625 | * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: New file. | |
7626 | ||
1475e201 UD |
7627 | 2007-07-30 Jakub Jelinek <jakub@redhat.com> |
7628 | ||
7629 | * stdlib/tst-strtod2.c (do_test): Use %tu in fmt string for ptrdiff_t | |
7630 | value. | |
7631 | ||
7632 | * stdio-common/tst-fmemopen2.c (do_test): Avoid fmt string warning | |
7633 | if off_t is different rank from size_t. | |
7634 | ||
7635 | * sysdeps/generic/unwind-dw2.c (extract_cie_info, execute_cfa_program, | |
7636 | uw_frame_state_for): Avoid type punning warnings. | |
7637 | * sysdeps/generic/unwind-dw2-fde-glibc.c | |
7638 | (_Unwind_IteratePhdrCallback): Likewise. | |
7639 | * sysdeps/generic/unwind-dw2-fde.c (_Unwind_Find_FDE): Likewise. | |
7640 | (binary_search_single_encoding_fdes, binary_search_mixed_encoding_fdes, | |
7641 | get_cie_encoding, linear_search_fdes): Don't mix char and unsigned char | |
7642 | pointers. | |
7643 | ||
e076bece UD |
7644 | 2007-07-31 Ulrich Drepper <drepper@redhat.com> |
7645 | ||
9506149a UD |
7646 | * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs_conf): Count |
7647 | total processors using sysfs. | |
7648 | (__get_nprocs): Use sysfs to determine which processors are online. | |
e076bece | 7649 | |
bbeaaa84 JJ |
7650 | 2007-07-31 Jakub Jelinek <jakub@redhat.com> |
7651 | ||
09881398 JJ |
7652 | * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Fix |
7653 | syscall arguments count. | |
7654 | ||
bbeaaa84 JJ |
7655 | * stdio-common/tfformat.c (sprint_doubles): Add 12 new tests. |
7656 | ||
087ef75f RM |
7657 | 2007-07-30 Roland McGrath <roland@redhat.com> |
7658 | ||
7659 | * manual/libc.texinfo: Update copyrights, formatting magic, and | |
7660 | @dircategory. From Karl Berry <karl@freefriends.org>. | |
7661 | ||
44f08a6e UD |
7662 | 2007-07-29 Ulrich Drepper <drepper@redhat.com> |
7663 | ||
eafaae72 UD |
7664 | [BZ #4860] |
7665 | * io/Makefile (headers): Add bits/fcntl2.h. | |
7666 | ||
c5705565 UD |
7667 | * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_ZERO_S): Optimize |
7668 | using gcc builtin. | |
7669 | (__CPU_EQUAL_S): Likewise. | |
7670 | ||
44f08a6e UD |
7671 | * posix/Makefile (routines): Add sched_cpualloc and sched_cpufree. |
7672 | (tests): Add tst-cpuset. | |
7673 | * posix/sched_cpualloc.c: New file. | |
7674 | * posix/sched_cpufree.c: New file. | |
7675 | * posix/tst-cpuset.c: New file. | |
7676 | * posix/Versions: Export __sched_cpualloc and __sched_cpufree for | |
7677 | GLIBC_2.7. | |
7678 | * sysdeps/unix/sysv/linux/bits/sched.h: Define __CPU_*_S macros. | |
7679 | * posix/sched.h: Define old CPU_* macros in temers of __CPU_*_S | |
7680 | macros. Define CPU_*_S macros. | |
7681 | ||
8f5e1400 UD |
7682 | 2007-07-28 Ulrich Drepper <drepper@redhat.com> |
7683 | ||
5b74caf6 UD |
7684 | * posix/getconf.c (vars): Add missing _SC_LEVEL4_CACHE_LINESIZE |
7685 | entry. | |
7686 | ||
a26d01bb | 7687 | [BZ #4858] |
8f5e1400 UD |
7688 | * stdio-common/printf_fp.c (___printf_fp): Fix special case of |
7689 | #.0g and value rounded to 1.0. | |
7690 | * stdio-common/tfformat.c (sprint_doubles): Add two new tests. | |
7691 | ||
085a4412 UD |
7692 | 2007-07-26 Jakub Jelinek <jakub@redhat.com> |
7693 | ||
cedb4109 UD |
7694 | * locale/programs/ld-monetary.c (monetary_finish): Avoid range check |
7695 | for int_frac_digits and frac_digits. | |
7696 | ||
7697 | * login/logout.c (logout): Avoid aliasing violation. | |
7698 | * login/logwtmp.c (logwtmp): Likewise. | |
7699 | ||
7700 | * libio/genops.c (_IO_un_link): Avoid aliasing violation. | |
7701 | ||
9d9febc7 UD |
7702 | * nscd/selinux.c (preserve_capabilities): Initialize new_caps |
7703 | to avoid warning. | |
7704 | * iconv/gconv_open.c (__gconv_open): Initialize ptr to avoid | |
7705 | warning. | |
7706 | * nis/nis_subr.c (nis_getnames): Initialize saveptr to avoid | |
7707 | warning. | |
7708 | * resolv/inet_ntop.c (inet_ntop6): Initialize best.len and cur.len | |
7709 | to avoid warnings. | |
7710 | ||
701666b7 UD |
7711 | * nss/nsswitch.c (__nss_lookup_function): Don't cast &ni->known to |
7712 | void **. | |
7713 | * nss/nsswitch.h (service_user): Use void * type for KNOWN field. | |
7714 | ||
7715 | * nss/nss_files/files-hosts.c (LINE_PARSER): Cast host_addr to | |
7716 | char * to avoid warning. | |
7717 | * nis/nss_nis/nis-hosts.c (LINE_PARSER): Likewise. | |
7718 | ||
7719 | * timezone/Makefile (CFLAGS-zdump.c): Add -fwrapv. | |
7720 | ||
7721 | * locale/programs/ld-ctype.c (ctype_finish, set_class_defaults, | |
7722 | allocate_arrays): Cast second argument to charmap_find_symbol | |
7723 | to char * to avoid warnings. | |
7724 | ||
7725 | * locale/programs/repertoire.c (repertoire_new_char): Change | |
7726 | from_nr, to_nr and cnt to unsigned long, adjust printf format | |
7727 | string. | |
7728 | ||
7729 | * locale/programs/ld-collate.c (insert_value, handle_ellipsis): | |
7730 | Cast second argument to new_element to char * to avoid warnings. | |
7731 | ||
7732 | * locale/weightwc.h (findidx): Cast &extra[-i] to const int32_t *. | |
7733 | ||
7734 | * intl/gettextP.h (struct loaded_domain): Change plural to const | |
7735 | struct expression *. | |
7736 | * intl/plural-eval.c (plural_eval): Change first argument to | |
7737 | const struct expression *. | |
7738 | * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Change first | |
7739 | argument to const struct expression **. | |
7740 | * intl/plural-exp.h (EXTRACT_PLURAL_EXPRESSION, plural_eval): Adjust | |
7741 | prototypes. | |
7742 | * intl/loadmsgcat (_nl_unload_domain): Cast away const | |
7743 | in call to __gettext_free_exp. | |
7744 | ||
7745 | * posix/fnmatch.c (fnmatch): Rearrange code to avoid maybe | |
7746 | unitialized wstring/wpattern var warnings. | |
7747 | ||
7748 | * posix/runtests.c (struct a_test): Make data field const char *. | |
7749 | ||
7750 | * stdio-common/tst-sprintf2.c (main): Don't declere u, v and buf | |
7751 | vars if not LDBL_MANT_DIG >= 106. | |
7752 | ||
7753 | * stdio-common/Makefile (CFLAGS-vfwprintf.c): Add -Wno-unitialized. | |
7754 | ||
7755 | * stdio-common/vfprintf.c (vfprintf): Cast first arugment to | |
7756 | __find_specmb to avoid warning. | |
7757 | ||
7758 | * rt/tst-mqueue1.c (do_one_test): Add casts to avoid warnings. | |
7759 | ||
7760 | * debug/test-strcpy_chk.c (do_tests, do_random_tests): Add casts | |
7761 | to avoid warnings. | |
7762 | ||
7763 | * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Add L suffix to | |
7764 | initializer. | |
7765 | ||
7766 | * sysdeps/unix/clock_gettime.c (clock_gettime): Only define | |
7767 | tv var when it will be actually used. | |
7768 | ||
7769 | * sunrpc/rpc_cmsg.c (xdr_callmsg): Cast IXDR_PUT_* to void | |
7770 | to avoid warnings. | |
7771 | ||
085a4412 UD |
7772 | * iconvdata/gbk.c (BODY): Make buf and cp char instead of unsigned |
7773 | char array resp. pointer. | |
7774 | * iconvdata/iso-2022-kr.c (BODY): Make buf unsigned char instead of | |
7775 | char array. | |
7776 | * iconvdata/cns11643.h (cns11643_to_ucs4): Change first argument | |
7777 | to const unsigned char **. | |
7778 | (ucs4_to_cns11643): Change second argument to unsigned char *. | |
7779 | * iconvdata/euc-tw.c (BODY): Change endp type to | |
7780 | const unsigned char *. | |
7781 | * iconvdata/iso-ir-165.h (ucs4_to_isoir165): Change second argument | |
7782 | to unsigned char *. | |
7783 | * iconvdata/ibm1008_420.c (LOOP_NEED_FLAGS): Don't define. | |
7784 | * iconvdata/iso-2022-cn.c (BODY): Change buf to unsigned char array. | |
7785 | * iconvdata/iso-2022-cn-ext.c (BODY): Change buf, tmpbuf, tmp | |
7786 | types to unsigned char pointers/arrays instead of char. | |
7787 | * iconvdata/jis0201.h (ucs4_to_jisx0201): Change second argument | |
7788 | to unsigned char *. | |
7789 | * iconvdata/jis0208.h (ucs4_to_jisx0208): Likewise. | |
7790 | * iconvdata/jis0212.h: Include assert.h. | |
7791 | (ucs4_to_jisx0212): Change second argument to unsigned char *. | |
7792 | assert that if cp[0] is not '\0', cp[1] is not '\0' either instead | |
7793 | of trying to handle that. | |
7794 | * iconvdata/euc-kr.c (euckr_from_ucs4): Initialize also cp[1] to | |
7795 | shut up a warning. | |
7796 | * iconvdata/euc-jp-ms.c (from_ucs4_lat1, from_ucs4_greek, | |
7797 | from_ucs4_cjk, from_ucs4_cjkcpt, from_ucs4_extra): Change type to | |
7798 | two dimensional const unsigned char arrays. | |
7799 | (BODY): Cast "" to (const unsigned char *) for assignment to cp. | |
7800 | Initialize endp to inptr to shut up a warning. | |
7801 | ||
fa69dc9c UD |
7802 | 2007-07-20 Jakub Jelinek <jakub@redhat.com> |
7803 | ||
ae1ad762 UD |
7804 | [BZ #4772] |
7805 | * time/strptime_l.c (__strptime_internal): Silently ignore | |
7806 | strftime modifiers and field width in recursive calls. | |
7807 | ||
fa69dc9c UD |
7808 | * include/time.h (enum ptime_locale_status): Remove. |
7809 | (__strptime_internal): Remove decided and era_cnt arguments, | |
7810 | add statep argument. | |
7811 | * time/strptime_l.c (__strptime_internal): Remove decided | |
7812 | and era_cnt arguments, add statep argument. Don't recompute | |
7813 | any fields in recursive calls, only update caller's tm | |
7814 | and state, if recursive call fails, don't change tm nor | |
7815 | any state. | |
7816 | (get_alt_number): Adjust. | |
7817 | (recursive): Adjust caller. | |
7818 | (strptime): Likewise. | |
7819 | * time/strptime.c (strptime): Likewise. | |
7820 | ||
7b503bcc UD |
7821 | 2007-07-19 Jakub Jelinek <jakub@redhat.com> |
7822 | ||
7823 | * iconv/gconv_int.h (__GCONV_NULCONV): New internal only error code. | |
7824 | * iconv/gconv_cache.c (__gconv_lookup_cache): Return __GCONV_NULCONV | |
7825 | if from and to charsets are the same. | |
7826 | * iconv/gconv_db.c (__gconv_find_transform): Likewise. | |
7827 | * intl/dcigettext.c (_nl_find_msg): Return NULL even if __gconv_open | |
7828 | returns __GCONV_NOCONV, but not for __GCONV_NULCONV. | |
7829 | ||
7830 | 2007-07-17 Jakub Jelinek <jakub@redhat.com> | |
7831 | ||
7832 | * wcsmbs/wchar.h: Only define wint_t if __need_wint_t. | |
7833 | Don't define wint_t when __need_mbstate_t unless it | |
7834 | is necessary. | |
7835 | (__mbstate_t): Use __WINT_TYPE__ rather than wint_t | |
7836 | in the typedef if possible. | |
7837 | * wctype/wctype.h (wint_t): Define by including | |
7838 | wchar.h with __need_wint_t instead of including stddef.h | |
7839 | with __need_wint_t and as fallback definining it ourselves. | |
7840 | * iconv/gconv.h (__need_wint_t): Define before including | |
7841 | wchar.h. | |
7842 | * sysdeps/gnu/_G_config.h: Don't include gconv.h if not _LIBC | |
7843 | or _GLIBCPP_USE_WCHAR_T. | |
7844 | (__need_wchar_t): Don't define | |
7845 | if not _LIBC or _GLIBCPP_USE_WCHAR_T. | |
7846 | (__need_wint_t): Don't define before including stddef.h, | |
7847 | define before including wchar.h only if _LIBC or | |
7848 | _GLIBCPP_USE_WCHAR_T. | |
7849 | (_G_iconv_t): Don't define if not _LIBC or _GLIBCPP_USE_WCHAR_T. | |
7850 | * sysdeps/mach/hurd/_G_config.h: Likewise. | |
7851 | * sysdeps/generic/_G_config.h: Likewise. | |
7852 | * libio/libio.h (__wunderflow, __wuflow, __woverflow): Only | |
7853 | prototype if _LIBC or _GLIBCPP_USE_WCHAR_T. | |
7854 | (_IO_getwc_unlocked, _IO_putwc_unlocked): Only define | |
7855 | if _LIBC or _GLIBCPP_USE_WCHAR_T. | |
7856 | ||
a95a608f UD |
7857 | 2007-07-28 Ulrich Drepper <drepper@redhat.com> |
7858 | ||
7859 | * sysdeps/posix/posix_fallocate64.c: Undefine | |
7860 | __posix_fallocate64_l64 before alias handling. | |
7861 | * sysdeps/unix/sysv/linux/posix_fallocate.c: New file. | |
7862 | * sysdeps/unix/sysv/linux/posix_fallocate64.c: New file. | |
7863 | * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: New file. | |
7864 | * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: New file. | |
7865 | ||
7866 | * io/tst-posix_fallocate.c: Include <fcntl.h>. | |
7867 | ||
7868 | 2007-07-23 Jakub Jelinek <jakub@redhat.com> | |
7869 | ||
7870 | * locale/programs/ld-collate.c (atwc): New variable. | |
7871 | (add_to_tablewc): New toplevel function, moved from collate_output. | |
7872 | (collate_output): Remove add_to_tablewc nested function. | |
7873 | ||
7874 | * iconv/iconvconfig.c (hash_table, hash_size): New toplevel vars. | |
7875 | (name_insert): New function. | |
7876 | (write_output): Remove hash_table and hash_size vars and name_insert | |
7877 | nested function. | |
7878 | ||
80d4c3b0 RM |
7879 | 2007-07-24 Roland McGrath <roland@redhat.com> |
7880 | ||
7881 | * Makerules (install-others-programs-nosubdir): New target. | |
7882 | (install-no-libc.a-nosubdir): Depend on it. | |
7883 | ||
7884 | * iconv/Makefile (install-others-programs): Set this instead of | |
7885 | install-others. | |
7886 | * login/Makefile (install-others-programs): Likewise. | |
7887 | * posix/Makefile (install-others-programs): Likewise. | |
7888 | ||
7889 | * Makerules (install-no-libc.a-nosubdir): Clean up conditional | |
7890 | dependencies. | |
7891 | ||
c1bf9f14 UD |
7892 | 2007-07-23 Ulrich Drepper <drepper@redhat.com> |
7893 | ||
7894 | * io/Makefile (tests): Add tst-posix_fallocate. | |
7895 | * io/tst-posix_fallocate.c: New file. | |
7896 | ||
7897 | * sysdeps/unix/sysv/linux/kernel-features.h: Define | |
7898 | __ASSUME_FALLOCATE. | |
7899 | ||
2320270c RM |
7900 | 2007-07-22 Roland McGrath <roland@frob.com> |
7901 | ||
3dadfa7e RM |
7902 | * hurd/getdport.c: Add missing copyright year update. |
7903 | ||
2320270c RM |
7904 | * sysdeps/mach/hurd/bits/fcntl.h [__USE_GNU] (O_CLOEXEC): New macro. |
7905 | * hurd/port2fd.c (_hurd_port2fd): Implement O_CLOEXEC. | |
7906 | ||
cc783763 UD |
7907 | 2007-07-22 Ulrich Drepper <drepper@redhat.com> |
7908 | ||
c942388d UD |
7909 | * login/utmp_file.c (setutent_file): Use O_CLOEXEC if possible. |
7910 | ||
cc783763 UD |
7911 | * libio/fileops.c (_IO_new_file_fopen): Recognize 'e' flag and set |
7912 | O_CLOEXEC is needed. | |
7913 | * nis/nss_compat/compat-grp.c: Use 'e' flag when opening file. | |
7914 | Avoid additional fcntl to set O_CLOEXEC if not needed. | |
7915 | * nis/nss_compat/compat-initgroups.c: Likewise. | |
7916 | * nis/nss_compat/compat-pwd.c: Likewise. | |
7917 | * nis/nss_compat/compat-spwd.c: Likewise. | |
7918 | ||
610903b0 RM |
7919 | 2007-07-21 Samuel Thibault <samuel.thibault@ens-lyon.org> |
7920 | ||
3dadfa7e | 7921 | [BZ #3665] |
5c3d7832 RM |
7922 | * manual/errno.texi: Change ECANCELED value to 119. |
7923 | ||
3dadfa7e | 7924 | [BZ #4610] |
610903b0 RM |
7925 | * mach/lock-intern.h: Include <sys/cdefs.h>. |
7926 | ||
3dadfa7e | 7927 | [BZ #4178] |
610903b0 RM |
7928 | * sysdeps/mach/hurd/sigaction.c (__sigaction): Check ACT != NULL before |
7929 | reading A. | |
7930 | ||
3dadfa7e RM |
7931 | [BZ #4126] |
7932 | * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Define alias | |
7933 | to __sigsuspend. | |
610903b0 RM |
7934 | |
7935 | * sysdeps/mach/i386/sysdep.h: Include <dl-sysdep.h> and <tls.h>. | |
7936 | ||
7937 | 2006-06-13 Thomas Schwinge <tschwinge@gnu.org> | |
7938 | ||
7939 | * sysdeps/mach/hurd/tls.h: Change `ASSEMBLER' conditional to | |
7940 | `__ASSEMBLER__'. | |
7941 | * sysdeps/mach/hurd/i386/tls.h: Likewise. | |
7942 | ||
acf79996 UD |
7943 | 2007-07-21 Ulrich Drepper <drepper@redhat.com> |
7944 | ||
dde0763a UD |
7945 | * nscd/nscd_helper.c (get_mapping): Use MSG_CMSG_CLOEXEC for |
7946 | descriptor received from nscd. | |
7947 | ||
acf79996 UD |
7948 | * sysdeps/unix/sysv/linux/bits/socket.h: Define MSG_CMSG_CLOEXEC. |
7949 | ||
7950 | * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_CLOEXEC. | |
7951 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. | |
7952 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. | |
7953 | * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. | |
7954 | * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. | |
7955 | * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. | |
7956 | ||
00d26929 JJ |
7957 | 2007-07-20 Jakub Jelinek <jakub@redhat.com> |
7958 | ||
403445d7 JJ |
7959 | [BZ #4816] |
7960 | * manual/signal.texi (Non-atomic Example): Make memory var volatile. | |
7961 | ||
00d26929 JJ |
7962 | [BZ #4813] |
7963 | * login/forkpty.c (forkpty): Close master and slave fds on | |
7964 | fork failure. Patch by | |
7965 | Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>. | |
7966 | ||
087722b8 UD |
7967 | 2007-07-18 Jakub Jelinek <jakub@redhat.com> |
7968 | ||
7969 | * include/features.h (__USE_ISOC95): New define. | |
7970 | * wcsmbs/wchar.h (fwprintf, fwscanf, wprintf, wscanf, swprintf, | |
7971 | swscanf, vfwprintf, vwprintf, vswprintf, fwide): Define even | |
7972 | for -std=iso9899:199409. | |
7973 | * CONFORMANCE: Remove comments about unsupported AMD1. | |
7974 | ||
b042b023 UD |
7975 | 2007-07-17 Jakub Jelinek <jakub@redhat.com> |
7976 | ||
7977 | * sysdeps/ia64/sched_cpucount.c: New file. | |
7978 | * sysdeps/powerpc/sched_cpucount.c: New file. | |
7979 | ||
8381e467 UD |
7980 | * sysdeps/unix/sysv/linux/bits/sched.h (__sched_cpucount): Add |
7981 | __BEGIN_DECLS/__END_DECLS around the prototype. | |
7982 | * bits/sched.h (__sched_cpucount): Likewise. Make second argument | |
7983 | pointer to const cpu_set_t. | |
7984 | ||
50e16f85 UD |
7985 | * bits/types.h: Don't include stddef.h, don't define __need_size_t. |
7986 | * signal/signal.h <__USE_BSD || __USE_XOPEN_EXTENDED>: Define | |
7987 | __need_size_t and include stddef.h. | |
7988 | * sysvipc/sys/msg.h: Likewise. | |
7989 | * posix/sched.h: Likewise. | |
7990 | * hurd/hurd/signal.h (__need_size_t): Define. | |
7991 | ||
7992 | * CONFORMANCE: ctype.h and wctype.h no longer define size_t, | |
7993 | neither does signal.h in pedantic ISO C namespaces. stdio.h | |
7994 | no longer defines wint_t or wchar_t. | |
7995 | ||
b257c726 UD |
7996 | * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct): New function. |
7997 | * debug/vfwprintf_chk.c (__vfwprintf_chk): Use | |
7998 | _IO_acquire_lock_clear_flags2 instead of _IO_acquire_lock. | |
7999 | * debug/vprintf_chk.c (__vprintf_chk): Likewise. | |
8000 | * debug/vwprintf_chk.c (__vwprintf_chk): Likewise. | |
8001 | * debug/vfprintf_chk.c (__vfprintf_chk): Likewise. | |
8002 | * debug/fwprintf_chk.c (__fwprintf_chk): Likewise. | |
8003 | * debug/printf_chk.c (__printf_chk): Likewise. | |
8004 | * debug/fprintf_chk.c (__fprintf_chk): Likewise. | |
8005 | * debug/wprintf_chk.c (__wprintf_chk): Likewise. | |
8006 | ||
8007 | * sysdeps/pthread/bits/stdio-lock.h (_IO_acquire_lock_clear_flags2): | |
8008 | Define. | |
8009 | ||
d5078b9f UD |
8010 | * bits/confname.h (_CS_POSIX_V6_WIDTH_RESTRICTED_ENVS): Define. |
8011 | * posix/getconf.c (vars): Add POSIX_V6_WIDTH_RESTRICTED_ENVS. | |
8012 | ||
1c3e748e UD |
8013 | 2007-07-16 Jakub Jelinek <jakub@redhat.com> |
8014 | ||
8015 | [BZ #4792] | |
8016 | * stdlib/stdlib.h (realloc): Remove __attribute_malloc__. | |
8017 | * malloc/malloc.h (realloc): Likewise. | |
8018 | ||
4e425301 UD |
8019 | * libio/iopopen.c (_IO_new_proc_open): Don't close child_std_end |
8020 | if one of proc_file_chain streams has that fileno. | |
8021 | * stdio-common/Makefile (tests): Add tst-popen2. | |
8022 | * stdio-common/tst-popen2.c: New test. | |
8023 | ||
2e2efe65 RM |
8024 | 2007-07-14 Jakub Jelinek <jakub@redhat.com> |
8025 | ||
8026 | * elf/ldconfig.c: Allow GPLv2 or any later version. | |
8027 | * elf/readlib.c: Likewise. | |
8028 | * elf/chroot_canon.c: Likewise. | |
8029 | * elf/cache.c: Likewise. | |
8030 | * nscd/mem.c: Likewise. | |
8031 | * nscd/getpwuid_r.c: Likewise. | |
8032 | * nscd/grpcache.c: Likewise. | |
8033 | * nscd/aicache.c: Likewise. | |
8034 | * nscd/getsrvbynm_r.c: Likewise. | |
8035 | * nscd/nscd.c: Likewise. | |
8036 | * nscd/servicescache.c: Likewise. | |
8037 | * nscd/getsrvbypt_r.c: Likewise. | |
8038 | * nscd/initgrcache.c: Likewise. | |
8039 | * nscd/gethstbyad_r.c: Likewise. | |
8040 | * nscd/gethstbynm2_r.c: Likewise. | |
8041 | * nscd/getgrnam_r.c: Likewise. | |
8042 | * nscd/nscd_setup_thread.c: Likewise. | |
8043 | * nscd/getpwnam_r.c: Likewise. | |
8044 | * nscd/gai.c: Likewise. | |
8045 | * nscd/connections.c: Likewise. | |
8046 | * nscd/dbg_log.c: Likewise. | |
8047 | * nscd/cache.c: Likewise. | |
8048 | * nscd/hstcache.c: Likewise. | |
8049 | * nscd/nscd_conf.c: Likewise. | |
8050 | * nscd/getgrgid_r.c: Likewise. | |
8051 | * nscd/pwdcache.c: Likewise. | |
8052 | * catgets/gencat.c: Likewise. | |
8053 | * locale/programs/linereader.h: Likewise. | |
8054 | * locale/programs/locarchive.c: Likewise. | |
8055 | * locale/programs/ld-paper.c: Likewise. | |
8056 | * locale/programs/locfile-kw.h: Likewise. | |
8057 | * locale/programs/ld-address.c: Likewise. | |
8058 | * locale/programs/xmalloc.c: Likewise. | |
8059 | * locale/programs/ld-time.c: Likewise. | |
8060 | * locale/programs/localedef.c: Likewise. | |
8061 | * locale/programs/simple-hash.c: Likewise. | |
8062 | * locale/programs/xstrdup.c: Likewise. | |
8063 | * locale/programs/ld-numeric.c: Likewise. | |
8064 | * locale/programs/locfile-kw.gperf: Likewise. | |
8065 | * locale/programs/ld-collate.c: Likewise. | |
8066 | * locale/programs/charmap-kw.gperf: Likewise. | |
8067 | * locale/programs/charmap.h: Likewise. | |
8068 | * locale/programs/charmap-kw.h: Likewise. | |
8069 | * locale/programs/config.h: Likewise. | |
8070 | * locale/programs/locfile.c: Likewise. | |
8071 | * locale/programs/ld-ctype.c: Likewise. | |
8072 | * locale/programs/charmap.c: Likewise. | |
8073 | * locale/programs/ld-messages.c: Likewise. | |
8074 | * locale/programs/repertoire.h: Likewise. | |
8075 | * locale/programs/locale.c: Likewise. | |
8076 | * locale/programs/ld-name.c: Likewise. | |
8077 | * locale/programs/linereader.c: Likewise. | |
8078 | * locale/programs/locfile.h: Likewise. | |
8079 | * locale/programs/3level.h: Likewise. | |
8080 | * locale/programs/ld-monetary.c: Likewise. | |
8081 | * locale/programs/ld-measurement.c: Likewise. | |
8082 | * locale/programs/charmap-dir.c: Likewise. | |
8083 | * locale/programs/ld-identification.c: Likewise. | |
8084 | * locale/programs/localedef.h: Likewise. | |
8085 | * locale/programs/charmap-dir.h: Likewise. | |
8086 | * locale/programs/repertoire.c: Likewise. | |
8087 | * locale/programs/simple-hash.h: Likewise. | |
8088 | * locale/programs/ld-telephone.c: Likewise. | |
8089 | * locale/programs/locale-spec.c: Likewise. | |
8090 | * locale/programs/locfile-token.h: Likewise. | |
8091 | * posix/getconf.c: Likewise. | |
8092 | * iconv/dummy-repertoire.c: Likewise. | |
8093 | * iconv/iconv_charmap.c: Likewise. | |
8094 | * iconv/iconvconfig.c: Likewise. | |
8095 | * iconv/iconv_prog.c: Likewise. | |
8096 | * malloc/memusagestat.c: Likewise. | |
8097 | * sysdeps/unix/sysv/linux/nscd_setup_thread.c: Likewise. | |
8098 | ||
84c23a3d RM |
8099 | 2007-07-06 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
8100 | ||
8101 | * sysdeps/sh/bsd-setjmp.S (setjmp): Use correct argument registers. | |
8102 | * sysdeps/sh/bsd-_setjmp.S (_setjmp): Likewise. | |
8103 | * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Do correct sanity | |
8104 | check for the first argument. | |
8105 | ||
1c298d08 UD |
8106 | 2007-07-12 Jakub Jelinek <jakub@redhat.com> |
8107 | ||
8108 | [BZ #4775] | |
8109 | * math/tgmath.h (__tgmath_real_type_sub): Formatting. | |
8110 | (__tgmath_real_type): Fix if expr is const int or other const | |
8111 | qualified integral type. | |
8112 | (__TGMATH_UNARY_REAL_ONLY): Rewritten to avoid using statement | |
8113 | expressions and handle const qualified arguments. | |
8114 | (__TGMATH_BINARY_FIRST_REAL_ONLY, __TGMATH_UNARY_REAL_IMAG, | |
8115 | __TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise. | |
8116 | (__TGMATH_UNARY_REAL_RET_ONLY): Rewritten to avoid using | |
8117 | statement expressions. | |
8118 | (__TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY, | |
8119 | __TGMATH_TERNARY_REAL_ONLY, __TGMATH_BINARY_REAL_IMAG): Likewise. | |
8120 | (__TGMATH_UNARY_IMAG): Define. | |
8121 | (conj, cproj): Use __TGMATH_UNARY_IMAG macro. | |
8122 | * math/Makefile (tests): Add test-tgmath2. | |
8123 | (CFLAGS-test-tgmath2.c): Add. | |
8124 | * math/test-tgmath.c (fy, dy, ly, fz, dz, lz, count_cdouble, | |
8125 | count_cfloat, count_cldouble): New variables. | |
8126 | (NCCALLS): Define. | |
8127 | (main): Check number of complex calls as well. | |
8128 | (F(compile_test)): Add complex tests and tests with const qualified | |
8129 | arguments. | |
8130 | (y, z, ccount): Define. | |
8131 | (F(cacos), F(casin), F(catan), F(ccos), F(csin), F(ctan), F(cacosh), | |
8132 | F(casinh), F(catanh), F(ccosh), F(csinh), F(ctanh), F(cexp), F(clog), | |
8133 | F(csqrt), F(cpow), F(cabs), F(carg), F(creal), F(cimag), F(conj), | |
8134 | F(cproj)): New functions. | |
8135 | * math/test-tgmath2.c: New test. | |
8136 | ||
8137 | 2007-07-11 Jakub Jelinek <jakub@redhat.com> | |
8138 | ||
8139 | [BZ #4776] | |
8140 | * elf/dl-load.c (_dl_rtld_di_serinfo): Output / in LD_LIBRARY_PATH, | |
8141 | RPATH etc. as "/" rather than "", don't segfault on empty paths, | |
8142 | instead output ".". | |
8143 | * dlfcn/Makefile (distribute): Add glreflib3.c. | |
8144 | (module-names): Add glreflib3. | |
8145 | ($(objpfx)tst-dlinfo.out): Depend on glreflib3.so rather than | |
8146 | glreflib1.so. | |
8147 | (LDFLAGS_glreflib3.so): New. | |
8148 | * dlfcn/tst-dlinfo.c (do_test): Load glreflib3.so instead of | |
8149 | glreflib1.so. | |
8150 | * dlfcn/glreflib3.c: New file. | |
8151 | ||
8152 | * intl/finddomain.c (_nl_find_domain): If _nl_explode_name | |
8153 | returned -1, return NULL. | |
8154 | * intl/explodename.c (_nl_explode_name): Return -1 if | |
8155 | _nl_normalize_codeset failed. | |
8156 | ||
a88f47a7 UD |
8157 | 2007-07-07 Steven Munroe <sjmunroe@us.ibm.com> |
8158 | ||
8159 | * sysdeps/powerpc/powerpc32/power6/memset.S: Update comments. | |
8160 | Specify .machine power6 to get ISA-V2.0 branch hints. Unroll loops | |
8161 | and avoid branch misspredicts for > 31 bytes memset case. | |
8162 | * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise. | |
8163 | Remove toc ref to __cache_line_size. | |
8164 | ||
8165 | * sysdeps/powerpc/powerpc32/power4/memcmp.S: Specify .machine power4 | |
8166 | to get ISA-V2.0 branch hints. | |
8167 | * sysdeps/powerpc/powerpc32/power4/memcpy.S: Likewise | |
8168 | * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise | |
8169 | * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise. | |
8170 | * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise. | |
8171 | * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise. | |
8172 | * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise. | |
8173 | Remove toc ref to __cache_line_size. | |
8174 | ||
8175 | * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: | |
8176 | Include math_ldbl_opt.h. | |
8177 | ||
f98c2d06 UD |
8178 | 2007-07-10 Ulrich Drepper <drepper@redhat.com> |
8179 | ||
8180 | [BZ #4773] | |
8181 | * time/strptime_l.c (__strptime_internal): Implement greedy | |
8182 | matching of weekday and month names. | |
8183 | ||
cec5991f RM |
8184 | 2007-07-09 Roland McGrath <roland@redhat.com> |
8185 | ||
8186 | * elf/elf.h (NT_GNU_ABI_TAG): New macro. | |
8187 | (ELF_NOTE_ABI): Use it. | |
8188 | (NT_GNU_HWCAP, NT_GNU_BUILD_ID): New macros. | |
8189 | ||
8c1dcd26 UD |
8190 | 2007-07-09 Ulrich Drepper <drepper@redhat.com> |
8191 | ||
8192 | * sysdeps/x86_64/cacheinfo.c (intel_02_known): Add new entries. | |
8193 | * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise. | |
8194 | ||
c2c7bd3f UD |
8195 | 2007-07-07 Ulrich Drepper <drepper@redhat.com> |
8196 | ||
8197 | [BZ #4745] | |
0923a2c8 UD |
8198 | * stdio-common/vfscanf.c (_IO_vfscanf): Add additional test for EOF |
8199 | in loop to look for conversion specifier to avoid testing of | |
8200 | wrong errno value. | |
8201 | * stdio-common/Makefile (tests): Add bug18, bug18a, bug19, bug19a. | |
c2c7bd3f | 8202 | * stdio-common/bug18.c: New file. |
0923a2c8 UD |
8203 | * stdio-common/bug18a.c: New file. |
8204 | * stdio-common/bug19.c: New file. | |
8205 | * stdio-common/bug19a.c: New file. | |
c2c7bd3f | 8206 | |
4facf4af RM |
8207 | 2007-07-05 Mike Frysinger <vapier@gentoo.org> |
8208 | ||
8209 | * Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Use LC_ALL=C when | |
8210 | running awk script. | |
8211 | ||
1311e86e UD |
8212 | 2007-07-01 Jakub Jelinek <jakub@redhat.com> |
8213 | ||
8214 | * elf/dl-sysdep.c (_dl_important_hwcaps): Add integer overflow check. | |
8215 | * elf/dl-minimal.c (__libc_memalign): Likewise. Handle malloc (0). | |
8216 | Return NULL if mmap failed instead of asserting it does not. | |
8217 | (calloc): Check for integer overflow. | |
8218 | ||
8219 | * elf/dl-minimal.c (__strtoul_internal): Fix parsing of numbers bigger | |
8220 | than LONG_MAX / 10. | |
8221 | ||
57c9179c UD |
8222 | 2007-07-03 Jakub Jelinek <jakub@redhat.com> |
8223 | ||
8224 | [BZ #4702] | |
8225 | * nis/nss-default.c: Include errno.h. | |
8226 | (init): Preserve errno. | |
8227 | ||
d0b283a8 UD |
8228 | 2007-07-02 Ulrich Drepper <drepper@redhat.com> |
8229 | ||
8230 | * sysdeps/unix/sysv/linux/bits/socket.h (PF_UNIX): Update comment. | |
8231 | ||
34e0bbaf UD |
8232 | 2007-06-30 Ulrich Drepper <drepper@redhat.com> |
8233 | ||
8234 | * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_RXRPC and AF_RXRPC. | |
8235 | ||
8236 | 2007-06-29 Martin Schwidefsky <schwidefsky@de.ibm.com> | |
8237 | ||
8238 | * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_IUCV and AF_IUCV. | |
8239 | ||
34e0bbaf | 8240 | 2007-06-29 Martin Schwidefsky <schwidefsky@de.ibm.com> |
33516494 UD |
8241 | |
8242 | * sysdeps/s390/dl-procinfo.c: New file. | |
8243 | * sysdeps/s390/dl-procinfo.h: New file. | |
8244 | * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: New file. | |
8245 | ||
0e508a6e UD |
8246 | 2007-06-29 Jakub Jelinek <jakub@redhat.com> |
8247 | ||
8248 | * elf/dl-load.c (open_verify): Find .note.ABI-tag notes even | |
8249 | in PT_NOTE segments with multiple notes. | |
8250 | * elf/readelflib.c (process_elf_file): Likewise. | |
8251 | ||
e22c61fb UD |
8252 | 2007-06-22 Ulrich Drepper <drepper@redhat.com> |
8253 | ||
8254 | * nis/nis_domain_of.c (__nis_domain_of): Make the code a bit more | |
8255 | ISO C compliant. | |
8256 | ||
e4eb675d UD |
8257 | 2007-06-19 Ulrich Drepper <drepper@redhat.com> |
8258 | ||
8259 | * elf/dl-close.c (free_mem): Free _dl_scope_free_list. | |
8260 | ||
8261 | 2007-06-13 Jakub Jelinek <jakub@redhat.com> | |
8262 | ||
8263 | * include/link.h: Don't include rtld-lowlevel.h. | |
8264 | (struct link_map): Remove l_scope_lock. | |
8265 | * sysdeps/generic/ldsodefs.h: Don't include rtld-lowlevel.h. | |
8266 | (_dl_scope_free_list): New field (variable) in _rtld_global. | |
8267 | (DL_LOOKUP_SCOPE_LOCK): Remove. | |
8268 | (_dl_scope_free): New prototype. | |
8269 | * elf/dl-runtime.c (_dl_fixup): Don't use __rtld_mrlock_*lock. | |
8270 | Don't pass DL_LOOKUP_SCOPE_LOCK to _dl_lookup_symbol_x. | |
8271 | (_dl_profile_fixup): Likewise. | |
8272 | * elf/dl-sym.c (do_sym): Likewise. Use wrapped _dl_lookup_symbol_x | |
8273 | whenever !RTLD_SINGLE_THREAD_P, use THREAD_GSCOPE_SET_FLAG and | |
8274 | THREAD_GSCOPE_RESET_FLAG around it. | |
8275 | * elf/dl-close.c (_dl_close_worker): Don't use | |
8276 | __rtld_mrlock_{change,done}. Call _dl_scope_free on the old | |
8277 | scope. Make sure THREAD_GSCOPE_WAIT () happens if any old | |
8278 | scopes were queued or if l_scope_mem has been abandoned. | |
8279 | * elf/dl-open.c (_dl_scope_free): New function. | |
8280 | (dl_open_worker): Use it. Don't use __rtld_mrlock_{change,done}. | |
8281 | * elf/dl-support.c (_dl_scope_free_list): New variable. | |
8282 | * elf/dl-lookup.c (add_dependency): Remove flags argument. | |
8283 | Remove DL_LOOKUP_SCOPE_LOCK handling. | |
8284 | (_dl_lookup_symbol_x): Adjust caller. Remove DL_LOOKUP_SCOPE_LOCK | |
8285 | handling. | |
8286 | * elf/dl-object.c (_dl_new_object): Don't use | |
8287 | __rtld_mrlock_initialize. | |
8288 | ||
9be09e06 UD |
8289 | 2007-06-19 Ulrich Drepper <drepper@redhat.com> |
8290 | ||
8291 | * sysdeps/generic/ldsodefs.h (rtld_global): Reorder some elements | |
8292 | to fill in holes | |
8293 | (rtld_global_ro): Likewise. | |
8294 | ||
8295 | 2007-06-18 Jakub Jelinek <jakub@redhat.com> | |
8296 | ||
8297 | * elf/dl-addr.c (_dl_addr): Skip PT_LOAD checking if l_contiguous. | |
8298 | Move PT_LOAD checking to... | |
8299 | (_dl_addr_inside_object): ... here, new function. | |
8300 | * elf/dl-sym.c (do_sym): If not l_contiguous, | |
8301 | call _dl_addr_inside_object. | |
8302 | * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise. | |
8303 | * dlfcn/dlinfo.c (dlinfo_doit): Likewise. | |
8304 | * elf/dl-open.c (dl_open_worker): Likewise. | |
8305 | (_dl_addr_inside_object): New function if IS_IN_rtld. | |
8306 | * elf/dl-load.c (_dl_map_object_from_fd): Set l_contiguous if no | |
8307 | holes are present or are PROT_NONE protected. | |
8308 | * include/link.h (struct link_map): Add l_contiguous field. | |
8309 | * sysdeps/generic/ldsodefs.h (_dl_addr_inside_object): New prototype. | |
8310 | ||
ae1ad3ae | 8311 | 2007-06-18 Jakub Jelinek <jakub@redhat.com> |
f00d47a3 AS |
8312 | Tomas Janousek <tjanouse@redhat.com> |
8313 | Ulrich Drepper <drepper@redhat.com> | |
ae1ad3ae UD |
8314 | |
8315 | [BZ #4647] | |
8316 | * resolv/res_send.c (send_dg): Remove socket_pf. Use ipv6_unavail | |
8317 | member in __res_state, only convaddr4to6 if nssocks[ns] is a PF_INET6 | |
8318 | socket. | |
8319 | * resolv/resolv.h (__res_state): Add ipv6_unavail member. Make | |
8320 | unused member a bitmap. | |
8321 | * resolv/res_init.c (__res_vinit): Reset ipv6_unavail if IPv6 | |
8322 | servers are configured. | |
8323 | ||
3abee0b7 UD |
8324 | 2007-06-18 Jakub Jelinek <jakub@redhat.com> |
8325 | ||
8326 | * elf/rtld.c (dl_main): Don't call init_tls more than once. | |
8327 | ||
89074592 UD |
8328 | 2007-06-17 Andreas Schwab <schwab@suse.de> |
8329 | ||
8330 | * sysdeps/generic/initfini.c: Tell gcc about the nonstandard sections. | |
8331 | ||
b26e274d AJ |
8332 | 2007-06-16 Andreas Jaeger <aj@suse.de> |
8333 | ||
8334 | [BZ #4125] | |
8335 | * sysdeps/unix/sysv/linux/sys/ptrace.h | |
8336 | (PTRACE_O_TRACESYSGOOD, PTRACE_O_TRACEFORK, | |
8337 | PTRACE_O_TRACEVFORK, PTRACE_O_TRACECLONE, PTRACE_O_TRACEEXEC, | |
89074592 | 8338 | PTRACE_O_TRACEVFORKDONE, PTRACE_O_TRACEEXIT, PTRACE_O_MASK, |
b26e274d AJ |
8339 | PTRACE_EVENT_FORK, PTRACE_EVENT_VFORK, PTRACE_EVENT_CLONE, |
8340 | PTRACE_EVENT_EXEC, PTRACE_EVENT_VFORK_DONE, PTRACE_EVENT_EXIT): | |
8341 | Define. | |
8342 | * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise. | |
8343 | * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise. | |
8344 | * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise. | |
8345 | * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise. | |
8346 | ||
e0d4a4e5 UD |
8347 | 2007-06-16 Ulrich Drepper <drepper@redhat.com> |
8348 | ||
8349 | [BZ #4599] | |
8350 | * sysdeps/unix/sysv/linux/check_pf.c (make_request): When | |
8351 | determining whether there are IPv4/IPv6 addresses, ignore loopback | |
8352 | addresses. | |
8353 | ||
ae8e81f5 JJ |
8354 | 2007-06-14 Uros Bizjak <ubizjak@gmail.com> |
8355 | ||
8356 | * soft-fp/soft-fp.h (CMPtype): Define to "int" if undefined. | |
8357 | * soft-fp/eqdf2.c (__eqdf2): Use CMPtype instead of int | |
8358 | as the return type. Change type of "r" variable to CMPtype. | |
8359 | * soft-fp/eqsf2.c (__eqsf2): Likewise. | |
8360 | * soft-fp/eqtf2.c (__eqtf2): Likewise. | |
8361 | * soft-fp/gedf2.c (__gedf2): Likewise. | |
8362 | * soft-fp/gesf2.c (__gesf2): Likewise. | |
8363 | * soft-fp/getf2.c (__getf2): Likewise. | |
8364 | * soft-fp/ledf2.c (__ledf2): Likewise. | |
8365 | * soft-fp/lesf2.c (__lesf2): Likewise. | |
8366 | * soft-fp/letf2.c (__letf2): Likewise. | |
8367 | * soft-fp/unorddf2 (__unorddf2): Likewise. | |
8368 | * soft-fp/unordsf2 (__unordsf2): Likewise. | |
8369 | * soft-fp/unordtf2 (__unordtf2): Likewise. | |
8370 | ||
90cd2413 UD |
8371 | 2007-06-09 Ulrich Drepper <drepper@redhat.com> |
8372 | ||
8373 | * elf/do-lookup.h (do_lookup_x): Read r_nlist before r_list and | |
8374 | make sure gcc doesn't mess around with this. | |
8375 | ||
3c457089 UD |
8376 | 2007-06-08 Ulrich Drepper <drepper@redhat.com> |
8377 | ||
8378 | * elf/dl-lookup.c (_dl_lookup_symbol_x): Remove use of r_nlist. | |
8379 | ||
e8b6b64d UD |
8380 | 2007-06-08 Jakub Jelinek <jakub@redhat.com> |
8381 | ||
8382 | * elf/dl-close.c (_dl_close_worker): Remove all to be removed | |
8383 | libraries from the global scope at once and call THREAD_GSCOPE_WAIT | |
8384 | at most once per _dl_close_worker. | |
8385 | ||
36dffb22 UD |
8386 | 2007-06-08 Ulrich Drepper <drepper@redhat.com> |
8387 | ||
755db8c5 UD |
8388 | * sysdeps/unix/sysv/linux/bits/sched.h: Make second parameter of |
8389 | __sched_cpucount as const. | |
8390 | * posix/sched_cpucount.c: Adjust. | |
8391 | ||
36dffb22 UD |
8392 | * posix/sched_cpucount.c (__sched_cpucount): Allow using special |
8393 | instruction for counting bits. | |
8394 | * sysdeps/x86_64/sched_cpucount.c: New file. | |
8395 | ||
26f56c1c UD |
8396 | 2007-06-07 Ulrich Drepper <drepper@redhat.com> |
8397 | ||
8398 | * configure.in: Avoid variable named BASH. | |
e967d385 | 8399 | * config.make.in: Likewise. |
26f56c1c | 8400 | Patch in part by Mike Frysinger. |
835abc5c | 8401 | |
26f56c1c | 8402 | 2007-06-06 Jakub Jelinek <jakub@redhat.com> |
47779a7d JJ |
8403 | |
8404 | [BZ #4586] | |
835abc5c UD |
8405 | * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Treat |
8406 | pseudo-zeros as zero. | |
8407 | * sysdeps/x86_64/ldbl2mpn.c: New file. | |
8408 | * sysdeps/ia64/ldbl2mpn.c: New file. | |
8409 | ||
7e3706ea UD |
8410 | 2007-06-04 Jakub Jelinek <jakub@redhat.com> |
8411 | ||
8412 | * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (nextafterl): Remove | |
8413 | unused ily variable. Fix nextafterl on +-__LDBL_MAX__ and +-Inf. | |
8414 | Remove unreachable code at the end. | |
8415 | ||
8416 | 2007-06-01 Steven Munroe <sjmunroe@us.ibm.com> | |
8417 | ||
8418 | * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Correct description of | |
8419 | ldbl-128ibm in comment. | |
8420 | (fpclassifyl): Correct classification of denormals. | |
8421 | * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (nextafterl): Correct | |
8422 | return value for MIN denormal. Rewrite using long double math too | |
8423 | correctly handle denormals and canonicalize the results. | |
8424 | ||
8425 | 2007-06-05 Jakub Jelinek <jakub@redhat.com> | |
8426 | ||
8427 | * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c | |
8428 | (__mpn_construct_long_double): Fix conversion where result ought | |
8429 | to be smaller than __LDBL_MIN__, or the low double should be | |
8430 | denormal. Fix decision where to negate low double - honor round | |
8431 | to even rules. | |
8432 | * stdio-common/tst-sprintf2.c: Include string.h. | |
8433 | (COMPARE_LDBL): Define. | |
8434 | (TEST): Also test whether a string hexadecimal float representation | |
8435 | can be parsed back to the number. | |
8436 | (main): Add a couple of further tests. | |
8437 | ||
43b76828 UD |
8438 | 2007-06-04 Jakub Jelinek <jakub@redhat.com> |
8439 | ||
8440 | * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c | |
8441 | (PRINT_FPHEX_LONG_DOUBLE): Fix printing numbers where lower double | |
8442 | is non-zero, but smaller than 2 * __DBL_MIN__. | |
8443 | * stdio-common/tst-sprintf2.c: New test. | |
8444 | * stdio-common/Makefile (tests): Add tst-sprintf2. | |
8445 | ||
8446 | * math/test-misc.c (main): Don't run last batch of tests with | |
8447 | IBM long double format. | |
8448 | ||
04067002 UD |
8449 | 2007-05-31 Steven Munroe <sjmunroe@us.ibm.com> |
8450 | ||
8451 | * sysdeps/powerpc/powerpc32/970/fpu/Implies: New file. | |
8452 | * sysdeps/powerpc/powerpc32/power5/fpu/Implies: New file. | |
8453 | * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: New file. | |
8454 | * sysdeps/powerpc/powerpc32/power6/fpu/Implies: New file. | |
8455 | * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file. | |
8456 | * sysdeps/powerpc/powerpc64/970/fpu/Implies: New file. | |
8457 | * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New file. | |
8458 | * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New file. | |
8459 | * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New file. | |
8460 | * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: New file. | |
8461 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: New file. | |
8462 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: | |
8463 | New file. | |
8464 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: | |
8465 | New file. | |
8466 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: | |
8467 | New file. | |
8468 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: | |
8469 | New file. | |
8470 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: | |
8471 | New file. | |
8472 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: New file. | |
8473 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: | |
8474 | New file. | |
8475 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: | |
8476 | New file. | |
8477 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: | |
8478 | New file. | |
8479 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: | |
8480 | New file. | |
8481 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: | |
8482 | New file. | |
8483 | ||
8484 | 2007-05-31 Steven Munroe <sjmunroe@us.ibm.com> | |
8485 | ||
8486 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrint.S: Move. | |
8487 | * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: To here. | |
8488 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrintf.S: Move. | |
8489 | * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: To here. | |
8490 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llround.S: Move. | |
8491 | * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: To here. | |
8492 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llroundf.S: Move. | |
8493 | * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: To here. | |
8494 | ||
8495 | 2007-05-22 Steven Munroe <sjmunroe@us.ibm.com> | |
8496 | ||
8497 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S | |
8498 | (LONG_DOUBLE_COMPAT): Specify correct version, GLIBC_2_1. | |
8499 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S | |
8500 | (LONG_DOUBLE_COMPAT): Specify correct version, GLIBC_2_1. | |
8501 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S | |
8502 | (LONG_DOUBLE_COMPAT): Specify correct version, GLIBC_2_1. | |
8503 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S | |
8504 | (LONG_DOUBLE_COMPAT): Specify correct version, GLIBC_2_1. | |
8505 | ||
8506 | 2007-05-21 Steven Munroe <sjmunroe@us.ibm.com> | |
8507 | ||
8508 | * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: New file. | |
8509 | * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.c: New file. | |
8510 | * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: New file. | |
8511 | * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: New file. | |
8512 | ||
8513 | 2007-03-15 Steven Munroe <sjmunroe@us.ibm.com> | |
8514 | ||
8515 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrint.S | |
8516 | [LONG_DOUBLE_COMPAT]: Add compat_symbol for llrintl@@GLIBC_2_1. | |
8517 | ||
8518 | 2006-02-13 Steven Munroe <sjmunroe@us.ibm.com> | |
8519 | ||
8520 | * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: New File | |
8521 | * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: New File | |
8522 | * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: New File | |
8523 | * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: New File | |
8524 | ||
8525 | 2006-10-20 Steven Munroe <sjmunroe@us.ibm.com> | |
8526 | ||
8527 | * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: New file. | |
8528 | * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: New file. | |
8529 | ||
8530 | 2006-10-03 Steven Munroe <sjmunroe@us.ibm.com> | |
8531 | ||
8532 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llround.S: New file. | |
8533 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llroundf.S: New file. | |
8534 | ||
8535 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/Makefile: Moved. | |
8536 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/mpa.c: Likewise. | |
8537 | * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: To here. | |
8538 | * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise. | |
8539 | ||
8540 | 2006-09-29 Steven Munroe <sjmunroe@us.ibm.com> | |
8541 | ||
8542 | * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: New file. | |
8543 | * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: New file. | |
8544 | * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: New file. | |
8545 | * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: New file. | |
8546 | ||
8547 | 2006-09-28 Steven Munroe <sjmunroe@us.ibm.com> | |
8548 | ||
8549 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: New file. | |
8550 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: New file. | |
8551 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: New file. | |
8552 | * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file. | |
8553 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: New file. | |
8554 | * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: New file. | |
8555 | ||
8556 | 2006-08-31 Steven Munroe <sjmunroe@us.ibm.com> | |
8557 | ||
8558 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/Makefile: New file. | |
8559 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/mpa.c: New file. | |
8560 | * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: New file. | |
8561 | * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: New file. | |
8562 | ||
8563 | 2006-06-15 Steven Munroe <sjmunroe@us.ibm.com> | |
8564 | ||
8565 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: New file. | |
8566 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: New file. | |
8567 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: New file. | |
8568 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: New file. | |
8569 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: New file. | |
8570 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: New file. | |
8571 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: New file. | |
8572 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: New file. | |
8573 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: New file. | |
8574 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: New file. | |
8575 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: New file. | |
8576 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: New file. | |
8577 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: New file. | |
8578 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: New file. | |
8579 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: New file. | |
8580 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: New file. | |
8581 | ||
8582 | 2006-03-20 Steven Munroe <sjmunroe@us.ibm.com> | |
8583 | ||
8584 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrint.S: New file. | |
8585 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrintf.S: New file. | |
8586 | ||
8587 | 2007-06-01 Steven Munroe <sjmunroe@us.ibm.com> | |
8588 | ||
8589 | * sysdeps/powerpc/powerpc32/power6/memset.S: New file. | |
8590 | * sysdeps/powerpc/powerpc64/power6/memset.S: New file. | |
8591 | ||
8592 | 2007-05-31 Steven Munroe <sjmunroe@us.ibm.com> | |
8593 | ||
8594 | * sysdeps/powerpc/powerpc32/970/Implies: New file. | |
8595 | * sysdeps/powerpc/powerpc32/power5/Implies: New file. | |
8596 | * sysdeps/powerpc/powerpc32/power5+/Implies: New file. | |
8597 | * sysdeps/powerpc/powerpc32/power6/Implies: New file. | |
8598 | * sysdeps/powerpc/powerpc32/power6x/Implies: New file. | |
8599 | * sysdeps/powerpc/powerpc64/970/Implies: New file. | |
8600 | * sysdeps/powerpc/powerpc64/power5/Implies: New file. | |
8601 | * sysdeps/powerpc/powerpc64/power5+/Implies: New file. | |
8602 | * sysdeps/powerpc/powerpc64/power6/Implies: New file. | |
8603 | * sysdeps/powerpc/powerpc64/power6x/Implies: New file. | |
8604 | ||
8605 | 2007-05-21 Steven Munroe <sjmunroe@us.ibm.com> | |
8606 | ||
8607 | * sysdeps/powerpc/powerpc32/power4/memset.S: New file | |
8608 | ||
8609 | 2007-03-13 Steven Munroe <sjmunroe@us.ibm.com> | |
8610 | ||
8611 | * sysdeps/powerpc/powerpc64/memcpy.S: Improve aligned loop to minimize | |
8612 | branch miss-predicts. Ensure that cache line crossing does not impact | |
8613 | dispatch grouping. | |
8614 | ||
8615 | 2006-12-13 Steven Munroe <sjmunroe@us.ibm.com> | |
8616 | ||
8617 | * sysdeps/powerpc/powerpc64/power4/memcopy.h: Replace with include | |
8618 | "../../powerpc32/power4/memcopy.h". | |
8619 | * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Replace with include | |
8620 | "../../powerpc32/power4/wordcopy.c". | |
8621 | ||
8622 | 2006-10-03 Steven Munroe <sjmunroe@us.ibm.com> | |
8623 | ||
8624 | * sysdeps/powerpc/powerpc32/powerpc64/Makefile: Moved. | |
8625 | * sysdeps/powerpc/powerpc32/powerpc64/memcopy.h: Likewise. | |
8626 | * sysdeps/powerpc/powerpc32/powerpc64/wordcopy.c: Likewise. | |
8627 | * sysdeps/powerpc/powerpc32/power4/Makefile: To here. | |
8628 | * sysdeps/powerpc/powerpc32/power4/memcopy.h: Likewise. | |
8629 | * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise. | |
8630 | ||
8631 | 2006-09-10 Steven Munroe <sjmunroe@us.ibm.com> | |
8632 | ||
8633 | * sysdeps/powerpc/powerpc32/power6/memcpy.S: New file. | |
8634 | ||
8635 | 2006-08-31 Steven Munroe <sjmunroe@us.ibm.com> | |
8636 | ||
8637 | * sysdeps/powerpc/powerpc32/power6/wordcopy.c: New file. | |
8638 | * sysdeps/powerpc/powerpc32/powerpc64/Makefile: New file. | |
8639 | * sysdeps/powerpc/powerpc32/powerpc64/memcopy.h: New file. | |
8640 | * sysdeps/powerpc/powerpc32/powerpc64/wordcopy.c: New file. | |
8641 | * sysdeps/powerpc/powerpc64/power4/Makefile: New file. | |
8642 | * sysdeps/powerpc/powerpc64/power4/memcopy.h: New file. | |
8643 | * sysdeps/powerpc/powerpc64/power4/wordcopy.c: New file. | |
8644 | * sysdeps/powerpc/powerpc64/power6/wordcopy.c: New file. | |
8645 | ||
8646 | 2006-07-06 Steven Munroe <sjmunroe@us.ibm.com> | |
8647 | ||
8648 | * sysdeps/powerpc/powerpc64/power6/memcpy.S: New file. | |
8649 | ||
8650 | 2006-03-20 Steven Munroe <sjmunroe@us.ibm.com> | |
8651 | ||
8652 | * sysdeps/powerpc/powerpc32/power4/memcmp.S: New file. | |
8653 | * sysdeps/powerpc/powerpc32/power4/memcpy.S: New file. | |
8654 | * sysdeps/powerpc/powerpc32/power4/memset.S: New file. | |
8655 | * sysdeps/powerpc/powerpc32/power4/strncmp.S: New file. | |
8656 | * sysdeps/powerpc/powerpc64/power4/memcmp.S: New file. | |
8657 | * sysdeps/powerpc/powerpc64/power4/memcpy.S: New file. | |
8658 | * sysdeps/powerpc/powerpc64/power4/strncmp.S: New file. | |
8659 | ||
5b55e1d3 RM |
8660 | 2007-05-29 Roland McGrath <roland@redhat.com> |
8661 | ||
8662 | * po/Makefile (po-sed-cmd): New variable. | |
8663 | (libc.pot.files): Move sed command text in there, avoid \ inside ''. | |
8664 | ||
5da4373c UD |
8665 | 2007-05-29 Ulrich Drepper <drepper@redhat.com> |
8666 | ||
4b5e7304 UD |
8667 | * crypt/md5-crypt.c: Fix comment. |
8668 | ||
5da4373c UD |
8669 | * nscd/nscd_helper.c (get_mapping): Handle short replies instead |
8670 | of crashing. When this is the case or if the reply is malformed, | |
8671 | don't try to close the new file descriptor since it does not | |
8672 | exist. | |
8673 | Patch in part by Guillaume Chazarain <guichaz@yahoo.fr>. | |
8674 | ||
40f57573 UD |
8675 | 2007-05-28 Jakub Jelinek <jakub@redhat.com> |
8676 | ||
8677 | * sysdeps/unix/sysv/linux/futimes.c (miss_utimensat): Don't define | |
8678 | if __NR_utimensat is not defined. | |
8679 | ||
6df7ffad UD |
8680 | 2007-05-26 Ulrich Drepper <drepper@redhat.com> |
8681 | ||
8682 | * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Include <sysdep.h>. | |
8683 | ||
47ad95ab UD |
8684 | 2007-05-25 Jakub Jelinek <jakub@redhat.com> |
8685 | ||
8686 | * io/bits/fcntl2.h (__open_2): Add nonnull attribute. | |
8687 | (open): Fix comment typos. Don't call __open_2 if flags | |
8688 | is a compile time constant without O_CREAT. | |
8689 | (__open64_2): Add nonnull attribute. | |
8690 | (open64): Fix comment typos. Don't call __open64_2 if flags | |
8691 | is a compile time constant without O_CREAT. | |
8692 | (__openat_2): Add nonnull attribute, fix nonnull attribute | |
8693 | on redirect. | |
8694 | (openat): Fix comment typos. Don't call __openat_2 if flags | |
8695 | is a compile time constant without O_CREAT. | |
8696 | (__openat64_2): Add nonnull attribute, fix nonnull attribute | |
8697 | on redirect. | |
8698 | (openat64): Fix comment typos. Don't call __openat64_2 if flags | |
8699 | is a compile time constant without O_CREAT. | |
8700 | ||
ddfd0535 UD |
8701 | 2007-05-24 Ulrich Drepper <drepper@redhat.com> |
8702 | ||
8703 | * Makerules (sysd-rules): Define PTW for ptw-* files. | |
8704 | * Versions: Define GLIBC_2.7 for libc. | |
8705 | * include/stdio.h: Declare __fortify_fail. | |
8706 | * debug/fortify_fail.c: New file. | |
8707 | * debug/Makefile (routines): Add fortify_fail. | |
8708 | * debug/chk_fail.c: Use __fortify_fail. | |
8709 | * debug/stack_chk_fail.c: Likewise. | |
8710 | * io/Versions: Export __open_2, __open64_2, __openat_2, and | |
8711 | __openat64_2 for GLIBC_2.7. | |
8712 | * io/fcntl.h: When compiling with fortification, include bits/fcntl2.h. | |
8713 | * io/open.c: Define *_2 variant of function which checks for O_CREAT | |
8714 | and fails if necessary. | |
8715 | * io/open64.c: Likewise. | |
8716 | * io/openat.c: Likewise. | |
8717 | * io/openat64.c: Likewise. | |
8718 | * sysdeps/unix/sysv/linux/open64.c: Likewise. | |
8719 | * sysdeps/unix/sysv/linux/openat.c: Likewise. | |
8720 | * sysdeps/unix/sysv/linux/openat64.c: Likewise. | |
8721 | * io/bits/fcntl2.h: New file. | |
8722 | * include/fcntl.h: Declare __open_2, __open64_2, __openat_2, and | |
8723 | __openat64_2. | |
8724 | * include/bits/fcntl2.h: New file. | |
8725 | * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): | |
8726 | Add open_2. | |
8727 | * sysdeps/unix/sysv/linux/open_2.c: New file. | |
8728 | ||
bfe6f5fa UD |
8729 | 2007-05-21 Ulrich Drepper <drepper@redhat.com> |
8730 | ||
6d59823c UD |
8731 | * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Pass correct value |
8732 | as second parameter to handle_intel. | |
8733 | ||
e2b1e343 UD |
8734 | * nscd/aicache.c (addhstaiX): If reported TTL is zero don't cache |
8735 | the entry. | |
8736 | ||
bfe6f5fa UD |
8737 | * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Move cache information |
8738 | handling to ... | |
8739 | * sysdeps/x86_64/cacheinfo.c: ... here. New file. | |
8740 | * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add | |
8741 | cacheinfo. | |
8742 | * sysdeps/x86_64/memcpy.S: Complete rewrite. | |
8743 | * sysdeps/x86_64/mempcpy.S: Adjust appropriately. | |
8744 | Patch by Evandro Menezes <evandro.menezes@amd.com>. | |
8745 | ||
8746 | * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: New file. | |
8747 | ||
1f4843fb UD |
8748 | 2007-05-21 Jakub Jelinek <jakub@redhat.com> |
8749 | ||
2c2c003a UD |
8750 | [BZ #4525] |
8751 | * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add epoll_pwait. | |
8752 | * sysdeps/unix/sysv/linux/epoll_pwait.c: New file. | |
8753 | * sysdeps/unix/sysv/linux/syscalls.list (epoll_pwait): Remove. | |
8754 | ||
8755 | * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h (epoll_pwait): Declare. | |
8756 | ||
af269dd9 UD |
8757 | [BZ #4514] |
8758 | * stdio-common/vfprintf.c (vfprintf): Don't shadow workstart variable, | |
8759 | reinitialize workend at the start of each do_positional format spec | |
8760 | loop, free workstart before do_positional loops. | |
8761 | (printf_unknown): Fix size of work_buffer. | |
8762 | * stdio-common/tst-sprintf.c (main): Add 3 new testcases. | |
8763 | ||
1f4843fb UD |
8764 | * malloc/hooks.c (MALLOC_STATE_VERSION): Bump. |
8765 | (public_sET_STATe): If ms->version < 3, put all chunks into | |
8766 | unsorted chunks and clear {fd,bk}_nextsize fields of largebin | |
8767 | chunks. | |
8768 | ||
8769 | * malloc/malloc.c [MALLOC_DEBUG]: Revert 2007-05-13 changes. | |
8770 | * malloc/hooks.c: Likewise. | |
8771 | * malloc/arena.c: Likewise. | |
8772 | * malloc/malloc.c (do_check_malloc_state): Don't assert | |
8773 | n_mmaps is not greater than n_mmaps_max. This removes the need | |
8774 | for the previous change. | |
8775 | ||
8776 | * malloc/Makefile (CFLAGS-malloc.c): Revert accidental | |
8777 | 2007-05-07 commit. | |
8778 | ||
12e8bbff UD |
8779 | 2007-05-19 Ulrich Drepper <drepper@redhat.com> |
8780 | ||
8781 | * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRIVATE_FUTEX): | |
8782 | Define for kernel >= 2.6.22. | |
69e5cbf5 | 8783 | |
12e8bbff | 8784 | 2007-05-18 Ulrich Drepper <drepper@redhat.com> |
6d59823c | 8785 | |
df94b641 UD |
8786 | * elf/dl-close.c (_dl_close_worker): When removing object from |
8787 | global scope, wait for all lookups to finish afterwards. | |
8788 | * elf/dl-open.c (add_to_global): When global scope array must | |
8789 | grow, allocate a new one and free old array only after all | |
8790 | lookups finish. | |
8791 | * elf/dl-runtime.c (_dl_fixup): Protect using global scope. | |
8792 | (_dl_lookup_symbol_x): Likewise. | |
8793 | * elf/dl-support.c: Define _dl_wait_lookup_done. | |
8794 | * sysdeps/generic/ldsodefs.h (struct rtld_global): Add | |
8795 | _dl_wait_lookup_done. | |
8796 | ||
2acd01ac UD |
8797 | * malloc/malloc.c (do_check_chunk): Correct check for mmaped block |
8798 | not overlapping with arena. | |
8799 | ||
129abdd3 UD |
8800 | * malloc/mcheck.c (reallochook): If size==0, free the block. |
8801 | ||
eb4b098a UD |
8802 | * rt/tst-shm.c: Use fstat64 instead of fstat. |
8803 | ||
69e5cbf5 UD |
8804 | * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Fix case where |
8805 | __NR_sync_file_range is not defined. | |
8806 | ||
a2ccc760 UD |
8807 | 2007-05-17 Ulrich Drepper <drepper@redhat.com> |
8808 | ||
bec51a30 UD |
8809 | Dummy files to prevent stub versions from being used. |
8810 | * sysdeps/x86_64/fpu/k_cosl.c: New file. | |
8811 | * sysdeps/x86_64/fpu/k_rem_pio2l.c: New file. | |
8812 | * sysdeps/x86_64/fpu/k_sinl.c: New file. | |
8813 | * sysdeps/x86_64/fpu/k_tanl.c: New file. | |
8814 | ||
a2ccc760 UD |
8815 | * version.h (VERSION): Set to 2.6.90. |
8816 | ||
1a31b586 UD |
8817 | 2007-05-14 Ulrich Drepper <drepper@redhat.com> |
8818 | ||
a2ccc760 UD |
8819 | * version.h (VERSION): Define to 2.6. |
8820 | * include/features.h (__GLIBC_MINOR__): Define to 6. | |
2c1d6172 | 8821 | |
1d47e92f UD |
8822 | * malloc/malloc.c: Use all small bin slots on 64-bit archs. |
8823 | ||
8824 | * malloc/malloc.c (largebin_index): Really have 32 buckets with 64 | |
8825 | sizes. | |
366ad8fd | 8826 | |
1a31b586 | 8827 | 2007-05-13 Ulrich Drepper <drepper@redhat.com> |
87e66335 | 8828 | |
366ad8fd UD |
8829 | * malloc/malloc.c [MALLOC_DEBUG]: Keep track of current maximum |
8830 | number of mmaps. n_mmaps_max is the target. | |
8831 | * malloc/hooks.c: Likewise. | |
8832 | * malloc/arena.c: Likewise. | |
8833 | ||
11ed6713 AJ |
8834 | 2007-05-12 Andreas Jaeger <aj@suse.de> |
8835 | ||
8836 | * sysdeps/unix/sysv/linux/tst-getcpu.c: Include <unistd.h> for | |
8837 | getpid. | |
8838 | ||
d65ef3dd UD |
8839 | 2007-05-11 Ulrich Drepper <drepper@redhat.com> |
8840 | ||
2e81d449 UD |
8841 | * elf/dl-close.c (_dl_close_worker): Help gcc to optimize by |
8842 | adding new variables. | |
8843 | ||
d65ef3dd | 8844 | * elf/dl-open.c (add_to_global): Introduce variable ns to help gcc |
2e81d449 | 8845 | optimize. Completely extend global scope array before making the |
d65ef3dd UD |
8846 | new entries visible. |
8847 | ||
c27d2078 UD |
8848 | 2007-05-10 Ulrich Drepper <drepper@redhat.com> |
8849 | ||
341c566f UD |
8850 | * sysdeps/unix/sysv/linux/tst-getcpu.c: New file. |
8851 | * sysdeps/unix/sysv/linux/Makefile [subdir=posix] (tests): Add | |
8852 | tst-getcpu. | |
8853 | ||
8854 | * include/link.h: Move l_version and l_nversion members around to | |
8855 | fill gaps. | |
8856 | ||
a53fa282 UD |
8857 | * scripts/check-c++-types.sh: Don't use -fnu89-inline option. |
8858 | ||
3771196d UD |
8859 | * sysdeps/unix/sysv/linux/sched_setaffinity.c |
8860 | (__sched_setaffinity_new): If syscall was successful and | |
8861 | RESET_VGETCPU_CACHE is defined, use it before returning. | |
8862 | * sysdeps/unix/sysv/linux/x86_64/sched_setaffinity.c: New file. | |
8863 | ||
f9bf102d UD |
8864 | * io/sys/stat.h: Make sure struct timespec is defined for |
8865 | __USE_ATFILE. | |
8866 | ||
c27d2078 UD |
8867 | * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Define UTIME_NOW and |
8868 | UTIME_OMIT. | |
8869 | * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise. | |
8870 | * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. | |
8871 | * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise. | |
8872 | * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise. | |
8873 | * sysdeps/unix/sysv/linux/bits/stat.h: Likewise. | |
8874 | * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise. | |
8875 | * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_UTIMENSAT. | |
8876 | * io/sys/stat.h: Declare utimensat, futimens. | |
8877 | * io/utimensat.c: New file. | |
8878 | * io/futimens.c: New file. | |
8879 | * sysdeps/unix/sysv/linux/utimensat.c: New file. | |
8880 | * sysdeps/unix/sysv/linux/futimens.c: New file. | |
8881 | * io/Makefile (routines): Add utimensat, futimens. | |
8882 | * io/Versions: Add utimensat, futimens to GLIBC_2.6. | |
8883 | * sysdeps/unix/sysv/linux/lutimes.c: New file. | |
8884 | * sysdeps/unix/sysv/linux/futimes.c: Use utimensat syscall if | |
8885 | available. | |
8886 | ||
8887 | * include/sys/cdefs.h: Redefine __nonnull so that test for | |
8888 | incorrect parameters in the libc code itself are not omitted. | |
8889 | ||
cf6b0980 JJ |
8890 | 2007-05-09 Jakub Jelinek <jakub@redhat.com> |
8891 | ||
c1dfd7e6 JJ |
8892 | * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Don't raise overflow |
8893 | exception in addition to inexact when asked to raise only FE_INEXACT. | |
8894 | ||
cf6b0980 JJ |
8895 | [BZ #3427] |
8896 | * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Don't clear exceptions | |
8897 | in *envp. | |
8898 | ||
df7b6fea UD |
8899 | 2007-05-07 Ulrich Drepper <drepper@redhat.com> |
8900 | ||
8901 | [BZ #4403] | |
8902 | * string/strfry.c (strfry): Make result more random. | |
8903 | ||
37f40235 RH |
8904 | 2007-05-07 Richard Henderson <rth@redhat.com> |
8905 | ||
8906 | * sysdeps/alpha/fpu/bits/mathinline.h (__isnanl): Don't define | |
8907 | if __NO_LONG_DOUBLE_MATH. | |
8908 | * sysdeps/unix/sysv/linux/alpha/ioperm.c: If BWX insns not | |
df7b6fea | 8909 | available in the compiler, add .arch directive to the assembly. |
37f40235 RH |
8910 | |
8911 | 2007-05-07 Jakub Jelinek <jakub@redhat.com> | |
8912 | ||
8913 | * sysdeps/alpha/fpu/s_nearbyint.c (nearbyintl): Fix version on | |
8914 | compat_symbol to GLIBC_2_1. | |
8915 | * sysdeps/alpha/fpu/s_fmin.S (fminl): Likewise. | |
8916 | * sysdeps/alpha/fpu/s_trunc.c (truncl): Likewise. | |
8917 | * sysdeps/alpha/fpu/s_fmax.S (fmaxl): Likewise. | |
8918 | * sysdeps/alpha/fpu/s_lrint.c (lrintl, llrintl): Likewise. | |
8919 | * sysdeps/alpha/fpu/s_lround.c (lroundl, llroundl): Likewise. | |
8920 | * sysdeps/alpha/fpu/s_round.c (roundl): Likewise. | |
8921 | * sysdeps/alpha/fpu/s_isnan.c (isnanl): Provide compat_symbol in | |
8922 | libc, not libm. | |
8923 | (__isnanl): New compat_symbol. | |
8924 | ||
c7fd3362 JJ |
8925 | 2007-05-07 Ulrich Drepper <drepper@redhat.com> |
8926 | Jakub Jelinek <jakub@redhat.com> | |
8927 | ||
8928 | * malloc/arena.c (heap_info): Add mprotect_size field, adjust pad. | |
8929 | (new_heap): Initialize mprotect_size. | |
8930 | (grow_heap): When growing, only mprotect from mprotect_size till | |
8931 | new_size if mprotect_size is smaller. When shrinking, use PROT_NONE | |
8932 | MMAP for __libc_enable_secure only, otherwise use MADV_DONTNEED. | |
8933 | ||
4a59e9ad | 8934 | 2007-04-30 Steven Munroe <sjmunroe@us.ibm.com> |
37f40235 | 8935 | Peter Bergner <bergner@us.ibm.com> |
4a59e9ad UD |
8936 | |
8937 | * sysdeps/powerpc/bits/fenv.h: Declare __fe_mask_env extern. | |
8938 | Define FE_NOMASK_ENV as FE_EANBLED_ENV. Define FE_MASK_ENV. | |
8939 | * sysdeps/powerpc/fpu/Makefile: Add fe_mask to libm-support. | |
8940 | * sysdeps/powerpc/fpu/fe_mask.c: New file. | |
8941 | * sysdeps/powerpc/fpu/fe_nomask.c: Correct comment. | |
8942 | * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): | |
8943 | Call __fe_mask_env() if all FP exceptions disabled. | |
8944 | * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Copy high 32-bits | |
8945 | from old FPSCR to new fenv to propagate DFP rounding modes. | |
8946 | Call __fe_mask_env() if FP exceptions previously enabled. | |
8947 | * sysdeps/powerpc/fpu/fesetenv.c (fesetenv): Change mask to merge | |
8948 | exceptions from env. Use __fe_nomask_env() or __fe_mask_env() when | |
8949 | transitioning from all exceptions disabled to any exception enabled | |
8950 | or visa versa. | |
8951 | * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Change mask to | |
8952 | merge exceptions from env. Call __fe_nomask_env or __fe_mask_env | |
8953 | when transitioning from all exceptions disabled to any exception | |
8954 | enabled or visa versa. | |
8955 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: Moved to... | |
8956 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: ...here. | |
8957 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: Moved to... | |
8958 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: ...here. | |
8959 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: New file. | |
8960 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: New file. | |
8961 | ||
aa75f64c UD |
8962 | 2007-05-06 Ulrich Drepper <drepper@redhat.com> |
8963 | ||
15eca720 | 8964 | [BZ #4465] |
aa75f64c UD |
8965 | * posix/unistd.h: Remove __THROW from fdatasync. |
8966 | ||
711deb05 UD |
8967 | 2007-05-06 Mike Frysinger <vapier@gentoo.org> |
8968 | ||
15eca720 | 8969 | [BZ #4465] |
711deb05 UD |
8970 | * sysdeps/unix/sysv/linux/syscalls.list (fdatasync): Add "C" to args. |
8971 | ||
ffecd39b UD |
8972 | 2007-05-06 Ulrich Drepper <drepper@redhat.com> |
8973 | ||
49a8eb75 UD |
8974 | * stdio-common/vfprintf.c (process_string_arg): Optimize |
8975 | ridiculous precision in wide char code printing multi-byte string. | |
8976 | Reported by Jim Meyering <jim@meyering.net>. | |
8977 | ||
ffecd39b UD |
8978 | [BZ #4131] |
8979 | * elf/dl-addr.c (_dl_addr): Compare address with actual segment | |
8980 | boundaries to work around systems with overlapping binary loading. | |
8981 | Based on a patch by Suzuki <suzuki@in.ibm.com>. | |
8982 | ||
b16dba4c UD |
8983 | 2007-05-04 Ulrich Drepper <drepper@redhat.com> |
8984 | ||
30b323ab UD |
8985 | * stdio-common/vfprintf.c (process_string_arg): Adjust call to |
8986 | __mbsnrtowcs after last change. | |
8987 | ||
b16dba4c UD |
8988 | * locale/programs/linereader.c (get_symname): Fix adding final NUL. |
8989 | (get_ident): Likewise. | |
8990 | ||
37002cbc JJ |
8991 | 2007-05-03 Jakub Jelinek <jakub@redhat.com> |
8992 | ||
8993 | * soft-fp/op-common.h (FP_TRUNC): Replace raising of FP_EX_INEXACT | |
8994 | with setting the sticky bit. | |
8995 | * math/test-misc.c (main): Add more truncation tests. | |
8996 | ||
8997 | 2007-04-14 Uros Bizjak <ubizjak@gmail.com> | |
8998 | ||
8999 | * soft-fp/floatunsidf.c (__floatunsidf): Use DFtype instead of | |
9000 | double in the function declaration. | |
9001 | * soft-fp/floatundidf.c (__floatundidf): Use DFtype instead of | |
9002 | double in the function declaration. | |
9003 | * soft-fp/floatunsisf.c (__floatunsisf): Use SFtype instead of | |
9004 | float in the function declaration. | |
9005 | * soft-fp/floatunsisf.c (__floatunsisf): Use SFtype instead of | |
9006 | float in the function declaration. | |
9007 | ||
9008 | * soft-fp/extended.h (FP_UNPACK_RAW_E): Do not increase X##_e for | |
9009 | denormal operands. Do not generate FP_EX_DENORM exception. | |
9010 | (FP_UNPACK_RAW_EP): Ditto. | |
9011 | (FP_UNPACK_SEMIRAW_E): Use FP_UNPACK_RAW_E instead of | |
9012 | undefined _FP_UNPACK_RAW_E. | |
9013 | (FP_UNPACK_SEMIRAW_EP): Use FP_UNPACK_RAW_EP instead of | |
9014 | undefined _FP_UNPACK_RAW_EP. | |
9015 | (FP_PACK_SEMIRAW_E): Use FP_PACK_RAW_E instead of | |
9016 | undefined _FP_PACK_RAW_E. | |
9017 | (FP_PACK_SEMIRAW_EP): Use FP_PACK_RAW_EP instead of | |
9018 | undefined _FP_PACK_RAW_EP. | |
9019 | ||
d9ac82d0 UD |
9020 | * soft-fp/op-2.h (_FP_FRAC_COPY_2_2): Define as alias to |
9021 | _FP_FRAC_COPY_2. | |
9022 | * soft-fp/op-4.h (_FP_FRAC_COPY_2_2): Define as alias to | |
9023 | _FP_FRAC_COPY_4. | |
37002cbc JJ |
9024 | |
9025 | 2007-04-16 Uros Bizjak <ubizjak@gmail.com> | |
9026 | Jakub Jelinek <jakub@redhat.com> | |
9027 | ||
9028 | * soft-fp/op-common.h (FP_EXTEND): Do not abort when | |
9029 | _FP_EXPBIAS_##dfs == _FP_EXPBIAS_##sfs. Handle denormals for | |
9030 | this case. | |
9031 | * soft-fp/op-common.h (FP_TRUNC): Ditto. | |
9032 | ||
002f0b0b JJ |
9033 | 2007-05-03 Jakub Jelinek <jakub@redhat.com> |
9034 | ||
9035 | * math/test-misc.c (main): Add tests for rounding long double | |
9036 | values close to smallest double denormalized value to double. | |
9037 | ||
9038 | 2007-04-30 Joseph Myers <joseph@codesourcery.com> | |
9039 | ||
9040 | * soft-fp/op-common.h (FP_TRUNC): Correct off-by-one error in | |
9041 | condition for truncating to 0. Set sticky bit for such | |
9042 | truncation. | |
9043 | ||
57433ede UD |
9044 | 2007-05-02 Jakub Jelinek <jakub@redhat.com> |
9045 | ||
9046 | * stdio-common/vfprintf.c (process_string_arg): Use a VLA rather than | |
9047 | fixed length array for ignore. | |
9048 | ||
c01c2455 UD |
9049 | 2007-04-30 Ulrich Drepper <drepper@redhat.com> |
9050 | ||
9051 | [BZ #4438] | |
9052 | * stdio-common/vfprintf.c (process_string_arg): Don't overflow the | |
9053 | stack for large precisions. | |
1cb04337 UD |
9054 | * stdio-common/test-vfprintf.c (main): Add test for large |
9055 | precision. | |
c01c2455 | 9056 | |
37f02b1d UD |
9057 | 2007-04-30 Jakub Jelinek <jakub@redhat.com> |
9058 | ||
b866373d UD |
9059 | * stdio-common/printf_fp.c (___printf_fp): Don't print negative sign |
9060 | for exponent 0. | |
9061 | * stdio-common/tfformat.c (sprint_doubles): Add a new test. | |
9062 | ||
37f02b1d UD |
9063 | [BZ #4439] |
9064 | * resolv/inet_ntop.c (inet_ntop4): Take terminating '\0' into | |
9065 | account in the size check. | |
9066 | * resolv/tst-inet_ntop.c: New test. | |
9067 | * resolv/Makefile (tests): Add tst-inet_ntop. | |
9068 | ||
7ecfbd38 UD |
9069 | 2007-04-30 Ulrich Drepper <drepper@redhat.com> |
9070 | Jakub Jelinek <jakub@redhat.com> | |
9071 | ||
9072 | [BZ #4349] | |
9073 | * malloc/malloc.c: Keep separate list for first blocks on the bin | |
9074 | lists with a given size. This helps skipping over list elements | |
9075 | we know won't fit in two places. | |
9076 | Inspired by a patch by Tomash Brechko <tomash.brechko@gmail.com>. | |
9077 | ||
e53f0f51 UD |
9078 | 2007-04-28 Ulrich Drepper <drepper@redhat.com> |
9079 | ||
9080 | [BZ #4102] | |
9081 | * sysdeps/posix/getaddrinfo.c (default_labels): Assign separate | |
9082 | label to Teredo tunnel addresses 2001://32. | |
9083 | ||
109f51f2 UD |
9084 | 2007-04-27 Ulrich Drepper <drepper@redhat.com> |
9085 | ||
762422d1 UD |
9086 | * locale/programs/ld-collate.c (collate_read): Allow order_start |
9087 | after copy. | |
9088 | ||
61d5a67f UD |
9089 | * locale/programs/ld-collate.c (collate_read): Fix printing of |
9090 | error message. | |
9091 | ||
9092 | [BZ #3213] | |
9093 | * locale/C-translit.h.in: Add entry for U2044. | |
9094 | ||
109f51f2 UD |
9095 | [BZ #4342] |
9096 | * stdio-common/vfscanf.c (_IO_vfscanf_internal): Allow | |
9097 | hexa-decimal floats without exponent. | |
9098 | * stdio-common/tstscanf.c (main): Adjust Test 8 test for success. | |
9099 | ||
ec08f13d UD |
9100 | 2007-04-25 Ulrich Drepper <drepper@redhat.com> |
9101 | ||
9102 | * sysdeps/unix/sysv/linux/bits/sched.h: Declare sched_getcpu. | |
9103 | * sysdeps/unix/sysv/linux/sched_getcpu.c: New file. | |
9104 | * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: New file. | |
9105 | * sysdeps/unix/sysv/linux/Versions: Export sched_getcpu for | |
9106 | GLIBC_2.6. | |
bce20b9a UD |
9107 | * sysdeps/unix/sysv/linux/Makefile [subdir=posix] (sysdep_routines): |
9108 | Add sched_getcpu. | |
ec08f13d | 9109 | |
41967e1c JJ |
9110 | 2007-04-25 Jakub Jelinek <jakub@redhat.com> |
9111 | ||
9112 | * sysdeps/unix/sysv/linux/check_pf.c (make_request): Return -1 instead | |
9113 | of 0 after the out_fail label. | |
9114 | ||
ba508da3 UD |
9115 | 2007-04-25 Ulrich Drepper <drepper@redhat.com> |
9116 | ||
9117 | [BZ #4406] | |
109f51f2 | 9118 | * iconv/gconv_charset.h (strip): Allow ':'. |
ba508da3 UD |
9119 | * iconv/iconv_open.c (iconv_open): Adjust comment. |
9120 | ||
9c8d03d9 JJ |
9121 | 2007-04-25 Jakub Jelinek <jakub@redhat.com> |
9122 | ||
9123 | * libio/bits/stdio.h (fgetc_unlocked): Add extern inline optimized | |
9124 | version. | |
9125 | ||
2f1687b9 UD |
9126 | 2007-04-23 Jakub Jelinek <jakub@redhat.com> |
9127 | ||
9128 | [BZ #4381] | |
9129 | * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Ensure sufficient | |
9130 | alignment of buffer and tmp_buffer. | |
9131 | * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r, | |
9132 | internal_gethostbyname2_r, _nss_nis_gethostbyaddr_r): Ensure sufficient | |
9133 | alignment of buffer. | |
9134 | * resolv/nss_dns/dns-hosts.c (getanswer_r): Likewise. Handle buflen | |
9135 | bigger than INT_MAX. | |
9136 | * resolv/nss_dns/dns-network.c (getanswer_r): Likewise. Add errnop and | |
9137 | h_errnop arguments. Fail if buflen is too small. | |
9138 | (_nss_dns_getnetbyname_r, _nss_dns_getnetbyaddr_r): Adjust callers. | |
9139 | ||
b64a9db8 JJ |
9140 | 2007-04-23 Jakub Jelinek <jakub@redhat.com> |
9141 | ||
9142 | [BZ #4405] | |
9143 | * iconvdata/gconv-modules (E13B): Add a missing slash to the alias | |
9144 | name. Patch by Aurelien Jarno <aurelien@aurel32.net>. | |
9145 | ||
4d3144c9 RM |
9146 | 2007-04-22 Roland McGrath <roland@redhat.com> |
9147 | ||
9148 | * elf/elf.h (NT_PRXFPREG): New macro. | |
9149 | ||
767b40bf AJ |
9150 | 2007-04-19 Andreas Jaeger <aj@suse.de> |
9151 | ||
9152 | [BZ #3905] | |
9153 | * bits/in.h (IPV6_ROUTER_ALERT, IPV6_MTU_DISCOVER, IPV6_MTU, | |
9154 | IPV6_RECVERR, IPV6_V6ONLY, IPV6_JOIN_ANYCAST, IPV6_LEAVE_ANYCAST): | |
9155 | Added. | |
9156 | ||
2592d1ec UD |
9157 | 2007-04-19 Ulrich Drepper <drepper@redhat.com> |
9158 | ||
9159 | * include/sys/mman.h: Mark madvise hidden. | |
d07d044e | 9160 | * misc/madvise.c: Add libc_hidden_def. |
2592d1ec | 9161 | |
7ab174ed UD |
9162 | 2007-04-06 Jakub Jelinek <jakub@redhat.com> |
9163 | ||
9164 | * nis/nis_domain_of.c (__nis_domain_of): New function. | |
9165 | * include/rpcsvc/nislib.h (__nis_domain_of): New prototype. | |
9166 | * nis/nis_lookup.c (nis_lookup): Use __nis_domain_of. | |
9167 | * nis/nis_call.c (rec_dirsearch): Likewise. | |
9168 | (first_shoot): Likewise. Remove search_parent_first argument. | |
9169 | (struct nis_server_cache): Rename search_parent_first field | |
9170 | to search_parent. | |
9171 | (nis_server_cache_search, nis_server_cache_add): Rename | |
9172 | search_parent_first argument to search_parent. | |
9173 | (__nisfind_server): Likewise. If search_parent, call | |
9174 | __nis_domain_of. | |
9175 | ||
b17c265f UD |
9176 | 2007-04-18 Ulrich Drepper <drepper@redhat.com> |
9177 | ||
9178 | * sysdeps/posix/getaddrinfo.c: Remove commented-out code. | |
9179 | ||
b7674b11 UD |
9180 | 2007-04-17 Ulrich Drepper <drepper@redhat.com> |
9181 | ||
9182 | [BZ #4368] | |
9183 | * stdlib/stdlib.h: Remove obsolete part of comment for realpath. | |
9184 | ||
faf3ad69 UD |
9185 | 2007-04-16 Ulrich Drepper <drepper@redhat.com> |
9186 | ||
9187 | [BZ #4364] | |
9188 | * posix/unistd.h (_XOPEN_VERSION): Define appropriately for SUSv3. | |
9189 | ||
c14f245c UD |
9190 | 2007-04-15 Jakub Jelinek <jakub@redhat.com> |
9191 | ||
9192 | * locale/programs/locarchive.c (INITIAL_NUM_NAMES, | |
9193 | INITIAL_SIZE_STRINGS, INITIAL_NUM_LOCREC): Update to accomodate | |
9194 | current number of locales in SUPPORTED. | |
9195 | (create_archive): Initialize serial. | |
9196 | (enlarge_archive): Preserve aliases rather than duplicating | |
9197 | their locrecs. | |
9198 | ||
d40e67f5 UD |
9199 | 2007-04-13 Jakub Jelinek <jakub@redhat.com> |
9200 | ||
993a5d66 UD |
9201 | * libio/genops.c (_IO_default_finish): Call _IO_lock_fini |
9202 | after _IO_un_link, not before it. | |
9203 | ||
d40e67f5 UD |
9204 | * stdio-common/printf_fp.c (___printf_fp): Fix exponent -4 |
9205 | special case handling when wcp == wstartp + 1. Fix a comment typo. | |
9206 | * stdio-common/tfformat.c (sprint_doubles): Add a new testcase. | |
9207 | ||
0fca3153 UD |
9208 | 2007-03-30 Jakub Jelinek <jakub@redhat.com> |
9209 | ||
9210 | * libio/libio.h (__underflow, __uflow, __overflow, __wunderflow, | |
9211 | __wuflow, __woverflow, _IO_getc, _IO_putc, _IO_peekc_locked, _IO_padn, | |
9212 | _IO_sgetn, _IO_seekoff, _IO_seekpos, _IO_getwc, _IO_putwc, _IO_wpadn): | |
9213 | Remove __THROW. | |
9214 | * libio/fileops.c (new_do_write, _IO_file_xsgetn_mmap, | |
9215 | _IO_file_xsgetn_maybe_mmap): Likewise. | |
9216 | * libio/oldfileops.c (old_do_write): Likewise. | |
9217 | * libio/libioP.h (_IO_switch_to_get_mode, _IO_switch_to_wget_mode, | |
9218 | _IO_init_marker, _IO_init_wmarker, _IO_default_uflow, | |
9219 | _IO_wdefault_uflow, _IO_default_setbuf, _IO_default_seekpos, | |
9220 | _IO_do_write, _IO_new_do_write, _IO_old_do_write, _IO_wdo_write, | |
9221 | _IO_flush_all_lockp, _IO_flush_all, _IO_cleanup, | |
9222 | _IO_flush_all_linebuffered, _IO_new_fgetpos, _IO_old_fgetpos, | |
9223 | _IO_new_fsetpos, _IO_old_fsetpos, _IO_new_fgetpos64, | |
9224 | _IO_old_fgetpos64, _IO_new_fsetpos64, _IO_old_fsetpos64, | |
9225 | _IO_file_setbuf, _IO_file_seekoff, _IO_file_xsputn, _IO_file_xsgetn, | |
9226 | _IO_file_underflow, _IO_file_underflow_mmap, | |
9227 | _IO_file_underflow_maybe_mmap, _IO_file_overflow, _IO_file_attach, | |
9228 | _IO_file_open, _IO_file_fopen, _IO_file_write, _IO_file_read, | |
9229 | _IO_file_sync, _IO_file_close_it, _IO_file_finish, | |
9230 | _IO_new_file_attach, _IO_new_file_close_it, _IO_new_file_finish, | |
9231 | _IO_new_file_fopen, _IO_new_file_setbuf, _IO_file_setbuf_mmap, | |
9232 | _IO_new_file_sync, _IO_new_file_underflow, _IO_new_file_overflow, | |
9233 | _IO_new_file_seekoff, _IO_new_file_write, _IO_new_file_xsputn, | |
9234 | _IO_old_file_setbuf, _IO_old_file_seekoff, _IO_old_file_xsputn, | |
9235 | _IO_old_file_underflow, _IO_old_file_overflow, _IO_old_file_attach, | |
9236 | _IO_old_file_fopen, _IO_old_file_write, _IO_old_file_sync, | |
9237 | _IO_old_file_close_it, _IO_old_file_finish, _IO_wfile_xsputn, | |
9238 | _IO_wfile_setbuf, _IO_wfile_sync, _IO_wfile_underflow, | |
9239 | _IO_wfile_overflow, _IO_wfile_seekoff, _IO_old_proc_open, | |
9240 | _IO_old_proc_close, _IO_getdelim, _IO_flush_all_internal, | |
9241 | _IO_adjust_column_internal, _IO_default_uflow_internal, | |
9242 | _IO_default_xsgetn_internal, _IO_wdefault_xsputn_internal, | |
9243 | _IO_wdefault_xsgetn_internal, _IO_wdefault_uflow_internal, | |
9244 | _IO_file_setbuf_internal, _IO_file_seekoff_internal, | |
9245 | _IO_file_xsputn_internal, _IO_file_xsgetn_internal, | |
9246 | _IO_file_close_it_internal, _IO_file_underflow_internal, | |
9247 | _IO_file_overflow_internal, _IO_file_attach_internal, | |
9248 | _IO_file_fopen_internal, _IO_file_sync_internal, | |
9249 | _IO_file_finish_internal, _IO_wfile_xsputn_internal, | |
9250 | _IO_wfile_seekoff_internal, _IO_wfile_sync_internal, | |
9251 | _IO_switch_to_wget_mode_internal, _IO_padn_internal, | |
9252 | _IO_switch_to_get_mode_internal, _IO_seekoff_unlocked, | |
9253 | _IO_seekpos_unlocked): Likewise. | |
9254 | (_IO_strtod, _IO_dtoa, _IO_outfloat, _IO_read, _IO_write, | |
9255 | _IO_lseek, _IO_close, _IO_fstat): Remove unused prototypes. | |
9256 | ||
07358add JJ |
9257 | 2007-04-16 Jakub Jelinek <jakub@redhat.com> |
9258 | ||
9259 | * locale/programs/locarchive.c (show_archive_content): Fix sizeof | |
9260 | argument in xmalloc size computation. | |
9261 | ||
7a82b74f UD |
9262 | 2007-04-01 Jakub Jelinek <jakub@redhat.com> |
9263 | ||
9264 | * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Use | |
9265 | math_opt_barrier and math_force_eval macros. | |
9266 | ||
3e336a87 UD |
9267 | 2007-03-27 Jakub Jelinek <jakub@redhat.com> |
9268 | ||
9269 | [BZ #3306] | |
9270 | * math/math_private.h (math_opt_barrier, math_force_eval): Define. | |
9271 | * sysdeps/i386/fpu/math_private.h: New file. | |
9272 | * sysdeps/x86_64/fpu/math_private.h: New file. | |
9273 | * math/s_nexttowardf.c (__nexttowardf): Use math_opt_barrier and | |
9274 | math_force_eval macros. Use "+m" constraint on asm rather than | |
9275 | "=m" and "m". | |
9276 | * math/s_nextafter.c (__nextafter): Likewise. | |
9277 | * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): | |
9278 | Likewise. | |
9279 | * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise. | |
9280 | * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Likewise. | |
9281 | * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise. | |
9282 | * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Use | |
9283 | math_opt_barrier and math_force_eval macros. | |
9284 | * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl): Likewise. | |
9285 | * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Likewise. | |
9286 | * sysdeps/i386/fpu/s_nexttoward.c: Include float.h. | |
9287 | (__nexttoward): Use math_opt_barrier and | |
9288 | math_force_eval macros. Use "+m" constraint on asm rather than | |
9289 | "=m" and "m". Only use asm to force double result if | |
9290 | FLT_EVAL_METHOD is 2. | |
9291 | * sysdeps/i386/fpu/s_nexttowardf.c: Include float.h. | |
9292 | (__nexttowardf): Use math_opt_barrier and | |
9293 | math_force_eval macros. Use "+m" constraint on asm rather than | |
9294 | "=m" and "m". Only use asm to force double result if | |
9295 | FLT_EVAL_METHOD is not 0. | |
9296 | * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include float.h. | |
9297 | (__nexttowardf): Use math_opt_barrier and | |
9298 | math_force_eval macros. If FLT_EVAL_METHOD is not 0, force | |
9299 | x to float using asm. | |
9300 | * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include float.h. | |
9301 | (__nldbl_nexttowardf): Use math_opt_barrier and | |
9302 | math_force_eval macros. If FLT_EVAL_METHOD is not 0, force | |
9303 | x to float using asm. | |
9304 | * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include float.h. | |
9305 | (__nexttowardf): Use math_opt_barrier and math_force_eval | |
9306 | macros. If FLT_EVAL_METHOD is not 0, force x to float using asm. | |
9307 | * math/bug-nextafter.c (zero, inf): New variables. | |
9308 | (main): Add new tests. | |
9309 | * math/bug-nexttoward.c (zero, inf): New variables. | |
9310 | (main): Add new tests. | |
9311 | ||
a8c79c40 UD |
9312 | 2007-03-22 Jakub Jelinek <jakub@redhat.com> |
9313 | ||
9314 | [BZ #3427] | |
9315 | * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Clear all | |
9316 | exceptions both in SW and MXCSR. | |
9317 | * sysdeps/x86_64/fpu/feupdateenv.c: New file. | |
9318 | * sysdeps/x86_64/fpu/feenablxcpt.c (feenableexcept): Remove dead code. | |
9319 | * sysdeps/x86_64/fpu/fedisblxcpt.c (fedisableexcept): Likewise. | |
9320 | * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Clear all exceptions | |
9321 | in MXCSR if SSE is available. | |
9322 | * sysdeps/i386/fpu/feupdateenv.c: Include unistd.h, dl-procinfo.h | |
9323 | and ldsodefs.h. | |
9324 | (__feupdateenv): Query exceptions also from MXCSR if SSE is available. | |
9325 | Fix comment typo. | |
9326 | * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Clear all exceptions. | |
9327 | Return 0 rather than 1. | |
9328 | * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Fix comment typo. | |
9329 | Remove incorrect part of a comment. Fix argument to feraiseexcept. | |
9330 | * math/test-fenv.c (feholdexcept_tests): New function. | |
9331 | (main): Call it. | |
9332 | ||
9333 | 2007-01-05 Richard B. Kreckel <kreckel@ginac.de> | |
9334 | ||
9335 | [BZ #3427] | |
9336 | * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Clear all exceptions | |
9337 | in SW. | |
9338 | ||
30a3aa75 JJ |
9339 | 2007-04-13 Jakub Jelinek <jakub@redhat.com> |
9340 | ||
9341 | [BZ #4344] | |
9342 | * elf/ldconfig.c (search_dir): Fix 2 off-by-2 errors. | |
9343 | Reported by David Anderson <davea42@earthlink.net>. | |
9344 | ||
75587bfe UD |
9345 | 2007-04-07 Ulrich Drepper <drepper@redhat.com> |
9346 | ||
9347 | * posix/sys/wait.h: Remove unnecessary forward declaration. | |
9348 | ||
88fa1769 JJ |
9349 | 2007-04-05 Jakub Jelinek <jakub@redhat.com> |
9350 | ||
9351 | * nis/nis_call.c (__nisfind_server): Replace (*dir)->do_servers | |
9352 | with obj->do_servers after first_shoot. | |
9353 | ||
eab1bdfb UD |
9354 | 2007-04-03 Ulrich Drepper <drepper@redhat.com> |
9355 | ||
9356 | * posix/Makefile (routines): Add sched_cpucount. | |
9357 | (tests): Add tst-cpucount. | |
9358 | * posix/sched_cpucount.c: New file. | |
9359 | * posix/tst-cpucount.c: New file. | |
9360 | * posix/Versions: Export __sched_cpucount with version GLIBC_2.6. | |
b4afdd06 UD |
9361 | * bits/sched.h: Define __CPU_COUNT. Declare __sched_cpucount. |
9362 | * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. | |
9363 | * posix/sched.h: Define CPU_COUNT. | |
eab1bdfb | 9364 | |
9700b039 UD |
9365 | 2007-03-27 Jakub Jelinek <jakub@redhat.com> |
9366 | ||
9367 | * posix/fnmatch.c (STRUCT): Define. | |
9368 | (fnmatch): Pass NULL as last argument to internal_fn{,w}match. | |
9369 | * posix/fnmatch_loop.c (struct STRUCT): New type. | |
9370 | (FCT): Add ends argument. If ends != NULL and normal * is | |
9371 | seen in the pattern, store current pattern and string pointers | |
9372 | and return. Adjust recursive calls. | |
9373 | (EXT): Adjust FCT callers. | |
9374 | (STRUCT): Undef at the end of the file. | |
9375 | * posix/Makefile (tests): Add tst-fnmatch2. | |
9376 | * posix/tst-fnmatch2.c: New test. | |
9377 | ||
d64e9790 JJ |
9378 | 2007-04-01 Jakub Jelinek <jakub@redhat.com> |
9379 | ||
933dfe7b JJ |
9380 | * sysdeps/ia64/fpu/fesetround.c (fesetround): Return 0 on success |
9381 | and 1 on failure. | |
9382 | ||
d64e9790 JJ |
9383 | * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range): |
9384 | Change last argument to unsigned int. | |
9385 | ||
e1f0c5bc UD |
9386 | 2007-03-23 Jakub Jelinek <jakub@redhat.com> |
9387 | ||
9388 | * scripts/check-local-headers.sh: Filter out sys/capability.h. | |
9389 | ||
9390 | 2007-03-22 Jakub Jelinek <jakub@redhat.com> | |
9391 | ||
9392 | * config.h.in (HAVE_LIBCAP): Add. | |
9393 | * nscd/selinux.h: Include sys/capability.h rather than non-existent | |
9394 | sys/capabilities.h. | |
9395 | * nscd/selinux.c (preserve_capabilities): Use cap_free instead of | |
9396 | free_caps. Cast away const from 4th cap_set_flag argument. | |
9397 | ||
4e87573f UD |
9398 | 2007-03-26 Ulrich Drepper <drepper@redhat.com> |
9399 | ||
9400 | * sysdeps/unix/sysv/linux/Versions: Move sync_file_range to | |
9401 | GLIBC_2.6. | |
9402 | * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): | |
9403 | Add sync_file_range. | |
9404 | Reported by Atsushi Nemoto <anemo@mba.ocn.ne.jp>. | |
9405 | ||
fa6e3bc3 UD |
9406 | 2007-03-19 Steven Munroe <sjmunroe@us.ibm.com> |
9407 | ||
9408 | * sysdeps/powerpc/bits/atomic.h | |
9409 | [!MUTEX_HINT_ACQ]: Define MUTEX_HINT_ACQ. | |
9410 | [!MUTEX_HINT_REL]: Define MUTEX_HINT_REL. | |
9411 | (__arch_compare_and_exchange_val_32_acq): Add MUTEX_HINT_ACQ to lwarx. | |
9412 | (__arch_compare_and_exchange_val_32_rel): Add MUTEX_HINT_REL to lwarx. | |
9413 | (__arch_atomic_exchange_val_32_acq): Add MUTEX_HINT_ACQ to lwarx. | |
9414 | (__arch_atomic_exchange_rel_32_rel): Add MUTEX_HINT_REL to lwarx. | |
9415 | * sysdeps/powerpc/powerpc32/bits/atomic.h [_ARCH_PWR6 || _ARCH_PWR6X]: | |
9416 | Define MUTEX_HINT_ACQ as ",1" and MUTEX_HINT_REL as ",0". | |
9417 | (__arch_compare_and_exchange_bool_32_acq): Add MUTEX_HINT_ACQ to lwarx. | |
9418 | (__arch_compare_and_exchange_bool_32_rel): Add MUTEX_HINT_REL to lwarx. | |
9419 | * sysdeps/powerpc/powerpc64/bits/atomic.h [_ARCH_PWR6 || _ARCH_PWR6D]: | |
9420 | Define MUTEX_HINT_ACQ as ",1" and MUTEX_HINT_REL as ",0". | |
9421 | (__arch_compare_and_exchange_bool_32_acq): Add MUTEX_HINT_ACQ to lwarx. | |
9422 | (__arch_compare_and_exchange_bool_32_rel): Add MUTEX_HINT_REL to lwarx. | |
9423 | (__arch_compare_and_exchange_bool_64_acq): Add MUTEX_HINT_ACQ to lwarx. | |
9424 | (__arch_compare_and_exchange_bool_64_rel): Add MUTEX_HINT_REL to lwarx. | |
9425 | (__arch_compare_and_exchange_val_64_acq): Add MUTEX_HINT_ACQ to lwarx. | |
9426 | (__arch_compare_and_exchange_val_64_rel): Add MUTEX_HINT_REL to lwarx. | |
9427 | (__arch_atomic_exchange_val_64_acq): Add MUTEX_HINT_ACQ to lwarx. | |
9428 | (__arch_atomic_exchange_rel_64_rel): Add MUTEX_HINT_REL to lwarx. | |
9429 | ||
9430 | 2007-03-20 Jakub Jelinek <jakub@redhat.com> | |
c7693af7 UD |
9431 | |
9432 | * sysdeps/unix/sysv/linux/powerpc/libc-start.c | |
9433 | (__cache_line_size): Define the variable here. Add | |
9434 | attribute_hidden, remove weak_extern. | |
9435 | (__libc_start_main): Set __cache_line_size | |
9436 | unconditionally. | |
9437 | * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c | |
9438 | (__cache_line_size): Define the variable here. Add | |
9439 | attribute_hidden, remove weak_extern. | |
9440 | (DL_PLATFORM_AUXV): Set __cache_line_size | |
9441 | unconditionally. | |
9442 | * sysdeps/powerpc/powerpc32/dl-machine.c (__cache_line_size): Remove | |
9443 | weak_extern, add attribute_hidden. | |
9444 | (__elf_machine_runtime_setup): Assume __cache_line_size is always | |
9445 | defined in ld.so. | |
9446 | * sysdeps/powerpc/powerpc32/memset.S (__cache_line_size): Remove | |
9447 | definition. | |
9448 | * sysdeps/powerpc/powerpc64/memset.S (__cache_line_size): Likewise. | |
9449 | ||
0479e581 JJ |
9450 | 2007-03-26 Jakub Jelinek <jakub@redhat.com> |
9451 | ||
9452 | [BZ #4276] | |
9453 | * timezone/africa: Update from tzdata2007d. | |
9454 | * timezone/asia: Likewise. | |
9455 | * timezone/australasia: Likewise. | |
9456 | * timezone/backward: Likewise. | |
9457 | * timezone/europe: Likewise. | |
9458 | * timezone/iso3166.tab: Likewise. | |
9459 | * timezone/leapseconds: Likewise. | |
9460 | * timezone/northamerica: Likewise. | |
9461 | * timezone/southamerica: Likewise. | |
9462 | * timezone/zone.tab: Likewise. | |
9463 | ||
9464 | * timezone/private.h: Update from tzcode2007d. | |
9465 | * timezone/zdump.c: Likewise. | |
9466 | * timezone/zic.c: Likewise. | |
9467 | ||
697d37b1 JJ |
9468 | 2007-03-21 Jakub Jelinek <jakub@redhat.com> |
9469 | ||
9470 | * nis/nis_call.c: Include bits/libc-lock.h, sys/stat.h, unistd.h. | |
9471 | (nis_server_cache, nis_server_cache_lock, nis_cold_start_mtime): New | |
9472 | variables. | |
9473 | (nis_server_cache_search, nis_server_cache_add): New functions. | |
9474 | (__nisfind_server): Use them. Add dbp and flags argument, if | |
9475 | call __nisbind_create. | |
9476 | (__nisbind_create): Add server_used and current_ep arguments, | |
9477 | only call __nis_findfastest if server_used is ~0. | |
9478 | (__do_niscall2, __prepare_niscall): Adjust callers. | |
9479 | (ckey_cache, ckey_cache_size, ckey_cache_allocated, ckey_cache_pid, | |
9480 | ckey_cache_euid, ckey_cache_lock): New variables. | |
9481 | (get_ckey): New function. | |
9482 | (__nisbind_connect): If not dbp->use_udp, pass IPPROTO_TCP to | |
9483 | __pmap_getnisport. Save __pmap_getnisport result in | |
9484 | dbp->addr.sin_port if non-zero. Use get_ckey to create conversation | |
9485 | key. | |
9486 | * nis/nis_lookup.c (nis_lookup): Likewise. | |
9487 | * nis/nis_table.c (nis_list): Likewise. | |
9488 | * nis/rpcsvc/nislib.h (__nisbind_create, __nisfind_server): Adjust | |
9489 | prototypes. | |
9490 | ||
9491 | * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_getpwnam_r, | |
9492 | _nss_nisplus_getpwuid_r): Pass USE_DGRAM flag to nis_list. | |
9493 | * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_getservbyname_r, | |
9494 | _nss_nisplus_getservbyport_r): Likewise. | |
9495 | * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r, | |
9496 | _nss_nisplus_getnetbyaddr_r): Likewise. | |
9497 | * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_getspnam_r): Likewise. | |
9498 | * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r, | |
9499 | _nss_nisplus_getntohost_r): Likewise. | |
9500 | * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r, | |
9501 | _nss_nisplus_getrpcbynumber_r): Likewise. | |
9502 | ||
06029c20 JJ |
9503 | 2007-03-20 Jakub Jelinek <jakub@redhat.com> |
9504 | ||
371f84a4 JJ |
9505 | * configure.in (libc_cv_gnu89_inline): Only do compile test. |
9506 | * configure: Rebuilt. | |
9507 | ||
06029c20 JJ |
9508 | * soft-fp/double.h (_FP_UNION_D): Use _FP_W_TYPE for frac |
9509 | bit-fields. | |
9510 | * soft-fp/extended.h (_FP_UNION_E): Likewise. | |
9511 | ||
9512 | 2006-06-07 Joseph Myers <joseph@codesourcery.com> | |
9513 | ||
9514 | [BZ #2831] | |
9515 | * soft-fp/quad.h (_FP_UNION_Q): Use _FP_W_TYPE for frac | |
9516 | bit-fields. | |
9517 | ||
addc8335 UD |
9518 | 2007-03-18 Jakub Jelinek <jakub@redhat.com> |
9519 | ||
9520 | * nscd/gai.c: Include alloca.h. | |
9521 | (__libc_use_alloca): Define. | |
9522 | ||
b037a293 UD |
9523 | 2007-03-16 Jakub Jelinek <jakub@redhat.com> |
9524 | ||
965cba04 UD |
9525 | * elf/dl-open.c (dl_open_worker): Declare l in 2 different |
9526 | smaller scopes. | |
9527 | * elf/dl-dst.h (DL_DST_REQ_STATIC): Add l as macro argument. | |
9528 | (DL_DST_REQUIRED): Adjust user. | |
9529 | ||
9530 | * include/dlfcn.h (struct link_map): New forward decl. | |
9531 | ||
9532 | * inet/getnameinfo.c: Include stddef.h. | |
9533 | (getnameinfo): Use offsetof. | |
9534 | ||
9535 | * time/tst-mktime2.c (do_test): Don't rely on signed wrap. | |
9536 | ||
9537 | * stdio-common/vfprintf.c (_itoa): Undef before redefining. | |
9538 | ||
9539 | * string/strerror_l.c: Include stdlib.h. | |
9540 | ||
b037a293 UD |
9541 | * configure.in (libc_cv_gnu89_inline): Test for -fgnu89-inline. |
9542 | * config.make.in (gnu89-inline-CFLAGS): New variable. | |
9543 | * Makeconfig (CFLAGS): Use $(gnu89-inline-CFLAGS) together with | |
9544 | -std=gnu99. | |
9545 | * misc/sys/cdefs.h (__extern_inline, __extern_always_inline): Define. | |
9546 | * argp/argp.h: Use it. | |
9547 | * bits/mathinline.h: Likewise. | |
9548 | * bits/sigset.h: Likewise. | |
9549 | * bits/string.h: Likewise. | |
9550 | * ctype/ctype.h: Likewise. | |
9551 | * hurd/hurd.h: Likewise. | |
9552 | * hurd/hurd/fd.h: Likewise. | |
9553 | * hurd/hurd/port.h: Likewise. | |
9554 | * hurd/hurd/signal.h: Likewise. | |
9555 | * hurd/hurd/threadvar.h: Likewise. | |
9556 | * hurd/hurd/userlink.h: Likewise. | |
9557 | * io/sys/stat.h: Likewise. | |
9558 | * libio/bits/stdio.h: Likewise. | |
9559 | * libio/bits/stdio2.h: Likewise. | |
9560 | * mach/lock-intern.h: Likewise. | |
9561 | * mach/mach/mig_support.h: Likewise. | |
9562 | * math/bits/cmathcalls.h: Likewise. | |
9563 | * posix/bits/unistd.h: Likewise. | |
9564 | * socket/bits/socket2.h: Likewise. | |
9565 | * stdlib/bits/stdlib.h: Likewise. | |
9566 | * stdlib/stdlib.h: Likewise. | |
9567 | * string/argz.h: Likewise. | |
9568 | * string/bits/string2.h: Likewise. | |
9569 | * string/bits/string3.h: Likewise. | |
9570 | * sysdeps/alpha/fpu/bits/mathinline.h: Likewise. | |
9571 | * sysdeps/generic/inttypes.h: Likewise. | |
9572 | * sysdeps/generic/machine-lock.h: Likewise. | |
9573 | * sysdeps/generic/machine-sp.h: Likewise. | |
9574 | * sysdeps/i386/fpu/bits/mathinline.h: Likewise. | |
9575 | * sysdeps/i386/i486/bits/string.h: Likewise. | |
9576 | * sysdeps/ia64/fpu/bits/mathinline.h: Likewise. | |
9577 | * sysdeps/mach/alpha/machine-lock.h: Likewise. | |
9578 | * sysdeps/mach/alpha/machine-sp.h: Likewise. | |
9579 | * sysdeps/mach/i386/machine-lock.h: Likewise. | |
9580 | * sysdeps/mach/powerpc/machine-lock.h: Likewise. | |
9581 | * sysdeps/mach/powerpc/machine-sp.h: Likewise. | |
9582 | * sysdeps/powerpc/fpu/bits/mathinline.h: Likewise. | |
9583 | * sysdeps/s390/bits/string.h: Likewise. | |
9584 | * sysdeps/s390/fpu/bits/mathinline.h: Likewise. | |
9585 | * sysdeps/sparc/fpu/bits/mathinline.h: Likewise. | |
9586 | * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Likewise. | |
9587 | * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise. | |
9588 | * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. | |
9589 | * sysdeps/unix/sysv/linux/sys/sysmacros.h: Likewise. | |
9590 | * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise. | |
9591 | * wcsmbs/bits/wchar2.h: Likewise. | |
9592 | * wcsmbs/wchar.h: Likewise. | |
9593 | * stdlib/gmp.h: Likewise. Include <features.h> to get | |
9594 | __extern_inline definition. | |
9595 | ||
6b2665f5 UD |
9596 | 2007-03-15 Jakub Jelinek <jakub@redhat.com> |
9597 | ||
b037a293 UD |
9598 | * locale/programs/ld-ctype.c (find_translit): Return NULL if ctype is |
9599 | NULL. | |
9600 | ||
6b2665f5 UD |
9601 | [BZ #3919] |
9602 | * math/libm-test.inc (log_test): Test -Inf and NaN. | |
9603 | (log10_test, log1p_test, log2_test): Test -Inf. | |
9604 | * sysdeps/i386/fpu/e_log.S (__ieee754_log): Don't raise | |
9605 | FE_INVALID when argument is qNaN. | |
9606 | * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise. | |
9607 | * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise. | |
9608 | * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise. | |
9609 | * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Replace | |
9610 | andb $1, %ah with testb $1, %ah, don't test for parity, instead | |
9611 | testb $4, %ah and jump if non-zero. | |
9612 | * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise. | |
9613 | * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise. | |
9614 | ||
44969f17 UD |
9615 | [BZ #4101] |
9616 | * argp/argp-help.c (hol_cluster_cmp): Fix comparisons used to find | |
9617 | ancestors with the same depths. | |
9618 | Patch by Niels Moeller <nisse@lysator.liu.se>. | |
9619 | (filter_doc): Don't crash if argp is NULL. | |
9620 | * argp/Makefile (tests): Add tst-argp2. | |
9621 | * argp/tst-argp2.c: New test. | |
9622 | ||
05eb8975 UD |
9623 | [BZ #4130] |
9624 | * login/utmp_file.c (setutent_file): Use O_LARGEFILE for | |
9625 | open_not_cancel_2. | |
9626 | (updwtmp_file): Likewise. | |
9627 | ||
6cb988fa UD |
9628 | [BZ #4181] |
9629 | * inet/inet6_opt.c (add_padding): Only insert padding if npad > 0. | |
9630 | (inet6_opt_append): Don't check extlen is big enough if extbuf | |
9631 | is NULL. | |
9632 | (inet6_opt_finish): Likewise. | |
9633 | * inet/Makefile (tests): Add test-inet6_opt. | |
9634 | * inet/test-inet6_opt.c: New test. | |
9635 | ||
9636 | * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Never | |
9637 | reallocate the buffer, instead fail for MSG_TRUNC or for EBUSY | |
9638 | NLMSG_ERR. Instead use a page sized buffer. | |
9639 | * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use page sized | |
9640 | buffer. | |
9641 | ||
aea1d19e RH |
9642 | 2007-03-14 Richard Henderson <rth@redhat.com> |
9643 | ||
b6df547c RH |
9644 | * sysdeps/alpha/fpu/s_llround.c: New file. |
9645 | * sysdeps/alpha/fpu/s_llroundf.c: New file. | |
9646 | * sysdeps/alpha/fpu/s_lround.c: New file. | |
9647 | * sysdeps/alpha/fpu/s_lroundf.c: New file. | |
9648 | * sysdeps/alpha/fpu/s_round.c: New file. | |
9649 | * sysdeps/alpha/fpu/s_roundf.c: New file. | |
9650 | * sysdeps/alpha/fpu/s_trunc.c: New file. | |
9651 | * sysdeps/alpha/fpu/s_truncf.c: New file. | |
9652 | ||
aea1d19e RH |
9653 | * sysdeps/alpha/fpu/s_ceil.c: Rewrite without branches. |
9654 | * sysdeps/alpha/fpu/s_ceilf.c: Likewise. | |
9655 | * sysdeps/alpha/fpu/s_floor.c: Likewise. | |
9656 | * sysdeps/alpha/fpu/s_floorf.c: Likewise. | |
9657 | * sysdeps/alpha/fpu/s_rint.c: Likewise. | |
9658 | * sysdeps/alpha/fpu/s_rintf.c: Likewise. | |
9659 | ||
9660 | * sysdeps/alpha/fpu/s_fmax.S: New file. | |
9661 | * sysdeps/alpha/fpu/s_fmaxf.S: New file. | |
9662 | * sysdeps/alpha/fpu/s_fmin.S: New file. | |
9663 | * sysdeps/alpha/fpu/s_fminf.S: New file. | |
9664 | * sysdeps/alpha/fpu/s_isnan.c: New file. | |
9665 | * sysdeps/alpha/fpu/s_isnanf.c: New file. | |
9666 | * sysdeps/alpha/fpu/s_llrint.c: New file. | |
9667 | * sysdeps/alpha/fpu/s_llrintf.c: New file. | |
9668 | * sysdeps/alpha/fpu/s_lrint.c: New file. | |
9669 | * sysdeps/alpha/fpu/s_lrintf.c: New file. | |
9670 | * sysdeps/alpha/fpu/s_nearbyint.c: New file. | |
9671 | * sysdeps/alpha/fpu/s_nearbyintf.c: New file. | |
9672 | ||
9673 | * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor): Remove. | |
9674 | (__fdimf, fdimf, __fdim, fdim): Remove. | |
9675 | (__signbitf, __signbit, __signbitl): Use gcc builtin if available. | |
9676 | (__isnanf, __isnan, __isnanl): New. | |
9677 | ||
9e43b50d RH |
9678 | 2007-03-13 Richard Henderson <rth@redhat.com> |
9679 | ||
9680 | * sysdeps/ieee754/ldbl-128/Makefile: New file. | |
9681 | ||
62789da3 RH |
9682 | 2007-03-13 Richard Henderson <rth@redhat.com> |
9683 | ||
9684 | * sysdeps/alpha/Makefile (sysdep-CFLAGS): Force dynamic rounding. | |
9685 | * sysdeps/alpha/fpu/bits/mathinline.h (__signbitl): New. | |
9686 | * sysdeps/alpha/fpu/libm-test-ulps: Regenerate. | |
9687 | * sysdeps/unix/sysv/linux/alpha/alphaev6/fpu/Implies: New file. | |
9688 | * sysdeps/unix/sysv/linux/alpha/alphaev67/fpu/Implies: New file. | |
9689 | * sysdeps/unix/sysv/linux/alpha/fpu/Implies: New file. | |
9690 | ||
47dbe62b RH |
9691 | 2007-03-13 Richard Henderson <rth@redhat.com> |
9692 | ||
37f40235 | 9693 | * elf/dl-support.c (_dl_aux_init): Honor DL_PLATFORM_AUXV. |
47dbe62b RH |
9694 | * sysdeps/unix/sysv/linux/alpha/dl-auxv.h: New file. |
9695 | * sysdeps/unix/sysv/linux/alpha/dl-support.c: New file. | |
9696 | * sysdeps/unix/sysv/linux/alpha/dl-sysdep.c (__libc_alpha_cache_shape): | |
9697 | Move to dl-auxv.h; initialize instead of extern weak. | |
9698 | (DL_PLATFORM_AUXV): Move to dl-auxv.h; don't test for undef | |
9699 | weak symbol. | |
9700 | * sysdeps/unix/sysv/linux/alpha/sysconf.c (__libc_alpha_cache_shape): | |
9701 | Extern instead of initialized. | |
9702 | ||
b8097bed RH |
9703 | 2007-03-13 Richard Henderson <rth@redhat.com> |
9704 | ||
9705 | * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Add support for | |
9706 | __sigsuspend_nocancel. | |
9707 | ||
6bf4a686 UD |
9708 | 2007-03-06 Ulrich Drepper <drepper@redhat.com> |
9709 | ||
9710 | * sysdeps/posix/getaddrinfo.c (get_scope): Correct test for | |
9711 | 172.16/12 address range. | |
9712 | ||
0b3b1a0c UD |
9713 | 2007-03-02 Jakub Jelinek <jakub@redhat.com> |
9714 | ||
9715 | * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Retry with | |
9716 | a new netlink socket if NLMSG_ERR -EBUSY is seen after some MSG_TRUNC | |
9717 | message. | |
9718 | ||
8f3edfee UD |
9719 | 2007-03-01 Jakub Jelinek <jakub@redhat.com> |
9720 | ||
c1c5e654 | 9721 | [BZ #4069] |
8f3edfee UD |
9722 | * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Check for NaN |
9723 | earlier. | |
9724 | * math/libm-test.inc (pow_test): Add more tests involving NaNs. | |
9725 | ||
9726 | * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Avoid invalid exception | |
9727 | for x qNaN and y either +-inf or non-integer value. | |
9728 | * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Likewise. | |
9729 | * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. | |
9730 | * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise. | |
9731 | ||
245a1481 UD |
9732 | 2007-02-10 Mike Frysinger <vapier@gentoo.org> |
9733 | ||
9734 | * sysdeps/unix/sysv/linux/sh/Makefile: Remove sys/io.h | |
9735 | from sysdep_headers. | |
9736 | ||
c217692b UD |
9737 | 2007-02-28 Jakub Jelinek <jakub@redhat.com> |
9738 | ||
9739 | * time/tzfile.c (find_transition): Instead of a linear search try to | |
9740 | guess the transition index, use a linear search if the result is at | |
9741 | most 10 transitions away from the guess or binary search otherwise. | |
9742 | ||
fe64626c JJ |
9743 | 2007-02-27 Jakub Jelinek <jakub@redhat.com> |
9744 | ||
9745 | * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Fix | |
9746 | memory reallocation. | |
9747 | ||
0f7769f7 UD |
9748 | 2007-02-21 Ulrich Drepper <drepper@redhat.com> |
9749 | ||
621c133d UD |
9750 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Add branch predictions |
9751 | and fix some typos. | |
9752 | Optimize use of TOLOWER. | |
9cf147d8 | 9753 | |
cdfd61e1 UD |
9754 | [BZ #3325] |
9755 | * sysdeps/i386/fpu/e_fmodf.S: Revert last changes, keep using fprem. | |
9756 | * sysdeps/i386/fpu/e_fmodl.c: Likewise. | |
9757 | * sysdeps/i386/fpu/e_fmod.S: Likewise. | |
9758 | ||
8889e7aa UD |
9759 | [BZ #3458] |
9760 | * sysdeps/unix/sysv/linux/posix_madvise.c: New file. | |
9761 | * sysdeps/unix/sysv/linux/syscalls.list: Remove posix_madvise entry. | |
9762 | ||
63a2f305 UD |
9763 | [BZ #4076] |
9764 | * io/ftw.c (ftw_startup): Handle special case of FTW_CHDIR in /. | |
9765 | (open_dir_stream): Likewise. | |
9766 | * io/Makefile (tests): Add bug-ftw5. | |
c536b9b8 | 9767 | * io/bug-ftw5.c: New file. |
63a2f305 | 9768 | |
c8703f88 UD |
9769 | * nscd/hstcache.c (cache_addhst): Remove unnecessary conditional. |
9770 | * nscd/servicescache.c (cache_addserv): Likewise. | |
9771 | ||
9772 | * nscd/grpcache.c (cache_addgr): In case a record changed on | |
9773 | refresh, adjust key_copy. | |
9774 | ||
61705e06 UD |
9775 | [BZ #4074] |
9776 | * nscd/pwdcache.c (cache_addpw): In case a record changed on | |
9777 | refresh, adjust key_copy. | |
9778 | ||
0f7769f7 UD |
9779 | [BZ #4070] |
9780 | * stdio-common/printf_fp.c (___printf_fp): Handle a few more | |
0f7769f7 | 9781 | special cases. |
8889e7aa | 9782 | * stdio-common/tfformat.c (sprint_doubles): Some more tests. |
0f7769f7 | 9783 | |
3979024a UD |
9784 | 2007-02-19 Ulrich Drepper <drepper@redhat.com> |
9785 | ||
4c02bf1a UD |
9786 | * stdio-common/printf_fp.c (___printf_fp): Cleanups and minor |
9787 | optimization. | |
9788 | ||
3979024a UD |
9789 | * stdio-common/vfscanf.c: Small cleanups throughout. |
9790 | ||
821d3e70 UD |
9791 | 2007-02-18 Ulrich Drepper <drepper@redhat.com> |
9792 | ||
2484468b UD |
9793 | [BZ #3325] |
9794 | * sysdeps/i386/fpu/e_fmodf.S: Use fprem1 instead of fprem. | |
9795 | * sysdeps/i386/fpu/e_fmodl.c: Likewise. | |
9796 | * sysdeps/i386/fpu/e_fmod.S: Likewise. | |
9797 | Patch by Jared Casper <jaredcasper@gmail.com>. | |
9798 | ||
858ee15d UD |
9799 | * sysdeps/unix/closedir.c: Outside libc don't use locking. |
9800 | * sysdeps/unix/opendir.c: Likewise. | |
9801 | * sysdeps/unix/readdir.c: Likewise. | |
9802 | ||
ecb72bd5 UD |
9803 | [BZ #2211] |
9804 | * stdio-common/vfscanf.c: Handle localized digits etc for floating | |
9805 | point numbers. | |
9806 | Patch mostly by Hamed Malek <hamed@farsiweb.info>. | |
9807 | ||
ac2ca022 UD |
9808 | * stdio-common/vfscanf.c: Fix problems in width accounting. |
9809 | * stdio-common/tst-sscanf.c (double_tests): New tests. | |
9810 | (main): Hook them up. | |
9811 | ||
e9bb5246 | 9812 | * stdio-common/vfscanf.c: Remove unused WIDTH handling. |
da50f001 | 9813 | More simplifications of floating-point reader. |
e9bb5246 | 9814 | |
821d3e70 UD |
9815 | * stdio-common/Makefile (tests): Add tst-swscanf. |
9816 | * stdio-common/tst-sscanf.c: Make tests usable for swscanf | |
9817 | testing. | |
9818 | * stdio-common/tst-swscanf.c: New file. | |
9819 | ||
07fb5185 UD |
9820 | 2007-02-17 Ulrich Drepper <drepper@redhat.com> |
9821 | ||
9138cc0b UD |
9822 | [BZ #2633] |
9823 | * libio/stdio.h: Define struct _IO_FILE in global namespace. | |
9824 | * setjmp/setjmp.h: Define __jmp_buf_tag in global namespace. | |
9825 | Remove using for __jmp_buf_tag. | |
9826 | * locale/locale.h (struct lconv): Also define in std namespace. | |
9827 | * wcsmbs/wchar.h: Move using declaration for tm out of namespace. | |
9828 | ||
6818d837 UD |
9829 | [BZ #3842] |
9830 | * sysdeps/posix/euidaccess.c [_LIBC] (euidaccess): Remove shortcut | |
9831 | using __libc_enable_secure. | |
9832 | ||
15c4b5a4 UD |
9833 | [BZ #3818] |
9834 | * sysdeps/unix/sysv/linux/sys/acct.h (struct acct_v3): Define. | |
9835 | ||
5e9e9c14 UD |
9836 | [BZ #3745] |
9837 | * locale/programs/ld-collate.c (handle_ellipsis): Fix generation | |
9838 | of names for ellipsises. | |
9839 | ||
07fb5185 UD |
9840 | [BZ #3348] |
9841 | * malloc/memusage.sh: Cleanups. | |
9842 | * debug/xtrace.sh: Quoting and trap changes. | |
9843 | ||
8c6d1043 UD |
9844 | 2007-02-16 Ulrich Drepper <drepper@redhat.com> |
9845 | ||
07fb5185 UD |
9846 | * locale/iso-3166.def: Add Jersey, Guernsey, and Isle Of Man entries. |
9847 | ||
93e66914 | 9848 | * locale/iso-3166.def: Update entry for Serbia. |
93e36434 UD |
9849 | * locale/iso-4217.def: Define RSD, remove CSD. |
9850 | ||
ad0b348c UD |
9851 | * sysdeps/x86_64/bits/atomic.h: One more change, this time for 16- |
9852 | and 64-bit operations. | |
9853 | ||
9854 | [BZ #4040] | |
9855 | * sysdeps/i386/i486/bits/atomic.h: One more change, this time for | |
9856 | 16-bit operations. | |
9857 | ||
8c6d1043 UD |
9858 | * nscd/nscd.c (parse_opt): One more conversion to use send instead |
9859 | of writev. | |
9860 | ||
987f54c6 UD |
9861 | 2007-02-15 Ulrich Drepper <drepper@redhat.com> |
9862 | ||
b3715c05 UD |
9863 | [BZ #3991] |
9864 | * assert/assert.h (assert): Simplify. | |
9865 | (assert_perror): Likewise. | |
9866 | Patch by Israel G. Lugo <ilugo@bridonsecurity.com>. | |
9867 | ||
6eea8e0d UD |
9868 | * nscd/nscd_helper.c (open_socket): Don't send padding bytes from |
9869 | reqdata. | |
9870 | ||
987f54c6 UD |
9871 | * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Cosmetic |
9872 | change: don't pass NULL in place of an integer. | |
9873 | ||
3dc08a7e UD |
9874 | 2007-02-02 Bruno Haible <bruno@clisp.org> |
9875 | ||
06c17c78 UD |
9876 | [BZ #3954] |
9877 | * iconvdata/ksc5601.c (__ksc5601_sym_to_ucs, __ksc5601_sym_from_ucs): | |
9878 | Add mapping for U+327E. | |
9879 | * iconvdata/ksc5601.h (KSC5601_SYMBOL): Increment. | |
9880 | * iconvdata/johab.c (BODY for FROM_LOOP, BODY for TO_LOOP): Enable | |
9881 | mapping of 0xD9 0xE8. | |
9882 | * iconvdata/uhc.c (BODY for FROM_LOOP, BODY for TO_LOOP): Disable | |
9883 | mapping of U+327E. | |
9884 | Reported by Jungshik Shin <jungshik@google.com>. | |
9885 | ||
9886 | [BZ #3955] | |
3dc08a7e UD |
9887 | * iconvdata/johab.c (BODY for FROM_LOOP, BODY for TO_LOOP): Enable |
9888 | mapping of 0xD9 0xE6 and of 0xD9 0xE7. | |
9889 | Reported by Jungshik Shin <jungshik@google.com>. | |
9890 | ||
a810e68c UD |
9891 | 2007-02-14 Ulrich Drepper <drepper@redhat.com> |
9892 | ||
9893 | * sysdeps/x86_64/bits/atomic;h: Fix asm parameters for some | |
9894 | byte variants. | |
9895 | ||
9896 | [BZ #4040] | |
9897 | * sysdeps/i386/i486/bits/atomic.h: Fix asm parameters for some | |
9898 | byte variants. Patch mostly be tom@tommay.net. | |
9899 | ||
05f135ba UD |
9900 | 2007-02-14 Jakub Jelinek <jakub@redhat.com> |
9901 | ||
9902 | [BZ #3996] | |
9903 | * posix/glob.c (attribute_hidden): Define if not defined. | |
9904 | (glob): Unescape dirname, filename or username when needed and not | |
9905 | GLOB_NOESCAPE. Handle \/ correctly. Handle GLOB_MARK if filename | |
9906 | is NULL. Handle unescaped [ in pattern without closing ]. | |
9907 | Don't pass GLOB_CHECK down to recursive glob for directories. | |
9908 | (__glob_pattern_type): New function. | |
9909 | (__glob_pattern_p): Implement using __glob_pattern_type. | |
9910 | (glob_in_dir): Handle GLOB_NOCHECK patterns containing no meta | |
9911 | characters and backslashes if not GLOB_NOESCAPE or unterminated [. | |
9912 | Remove unreachable code. | |
9913 | * posix/globtest.sh: Add a couple of new tests. | |
9914 | ||
2f699967 UD |
9915 | 2007-02-13 Ulrich Drepper <drepper@redhat.com> |
9916 | ||
9917 | * po/ru.po: Update from translation team. | |
9918 | ||
3a7cd5b4 JJ |
9919 | 2007-02-12 Jakub Jelinek <jakub@redhat.com> |
9920 | ||
9921 | * sysdeps/i386/bits/byteswap.h (__bswap_32): Add __amdfam10__ | |
9922 | to the list of i486+ CPUs. | |
9923 | * sysdeps/x86_64/bits/byteswap.h (__bswap_32): Likewise. | |
9924 | ||
2f978feb UD |
9925 | 2007-02-12 Ulrich Drepper <drepper@redhat.com> |
9926 | ||
9927 | * elf/rtld.c (RESOLVE_MAP): Always return bootstrap_map reference. | |
9928 | * elf/Makefile ($(objpfx)ld.so): Check that ld.so has no undefined | |
9929 | references. | |
9930 | ||
2bbb7d5b UD |
9931 | 2007-02-09 Ulrich Drepper <drepper@redhat.com> |
9932 | ||
5ed61e0f UD |
9933 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Remove incorrect comment. |
9934 | ||
2bbb7d5b UD |
9935 | * resolv/res_init.c (res_setoptions): Recognize edns0 option. |
9936 | * resolv/res_mkquery.c: Define __res_nopt. | |
9937 | * resolv/res_query.c (__libc_res_nquery): If RES_USE_EDNS0 is set | |
9938 | try adding EDNS0 record. | |
9939 | * resolv/res_send.c (send_dg): If request failed with FORMERR and | |
9940 | EDNS0 record was send make sure we don't try it again. | |
9941 | * resolv/resolv.h: Define RES_F_EDNS0ERR and RES_USE_EDNS0. | |
9942 | * include/resolv.h: Declare __res_nopt. | |
9943 | ||
00458b5b UD |
9944 | 2007-02-08 Jakub Jelinek <jakub@redhat.com> |
9945 | ||
9946 | [BZ #3944] | |
9947 | * time/strptime_l.c (__strptime_internal): Set have_mon for | |
9948 | %b/%B/%h. Set have_mon and have_mday if tm_mon and tm_mday | |
9949 | have been computed from tm_yday and tm_year. Don't crash | |
9950 | in day_of_the_week or day_of_the_year if not have_mon | |
9951 | and tm_mon contains bogus value. | |
9952 | * time/Makefile (tests): Add tst-strptime3. | |
9953 | * time/tst-strptime3.c: New test. | |
9954 | ||
784aacea UD |
9955 | 2007-02-05 Jakub Jelinek <jakub@redhat.com> |
9956 | ||
9957 | [BZ #3957] | |
9958 | * posix/regcomp.c (parse_bracket_exp): Set '\n' bit rather than '\0' | |
9959 | bit for RE_HAT_LISTS_NOT_NEWLINE. | |
9960 | (build_charclass_op): Remove bogus comment. | |
9961 | * posix/Makefile (tests): Add bug-regex27 and bug-regex28. | |
9962 | * posix/bug-regex27.c: New test. | |
9963 | * posix/bug-regex28.c: New test. | |
9964 | ||
bf7a2463 UD |
9965 | 2007-02-03 Ulrich Drepper <drepper@redhat.com> |
9966 | ||
9967 | * po/sv.po: Update from translation team. | |
9968 | ||
f2ccf983 UD |
9969 | 2007-02-02 Ulrich Drepper <drepper@redhat.com> |
9970 | ||
9971 | * nscd/nscd_helper.c (open_socket): Minor size optimization. | |
9972 | ||
73f50d5a UD |
9973 | 2007-02-02 Jakub Jelinek <jakub@redhat.com> |
9974 | ||
9975 | * include/locale.h (__uselocale): Add libc_hidden_proto. | |
9976 | * locale/uselocale.c (__uselocale): Add libc_hidden_def. | |
9977 | ||
f6bf9e59 JJ |
9978 | * nscd/nscd_helper.c (open_socket): Use __gettimeofday instead of |
9979 | gettimeofday. | |
9980 | ||
4a44ce79 UD |
9981 | 2007-02-01 Ulrich Drepper <drepper@redhat.com> |
9982 | ||
9983 | * sysdeps/unix/sysv/linux/i386/sysdep.h (PTR_MANGLE): Roll value before | |
9984 | returning. | |
9985 | (PTR_DEMANGLE): Real definition now that it's not the same as | |
9986 | PRT_MANGLE anymore. | |
9987 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. | |
9988 | ||
9989 | * string/strerror_l.c: New file. | |
9990 | * string/Makefile (routines): Add strerror_l. | |
9991 | * string/string.h: Declare strerror_l. | |
9992 | * string/Versions: Export strerror_l for GLIBC_2.6. | |
9993 | ||
58a2d52e UD |
9994 | 2007-01-31 Ulrich Drepper <drepper@redhat.com> |
9995 | ||
9996 | * nscd/nscd_helper.c (open_socket): Now takes request type and key | |
9997 | as parameter. Construct request record. Try sending request | |
9998 | before the first poll use, it usually succeeds. Adjust all | |
9999 | callers. | |
10000 | * nscd/nscd-client.h: Define MAXKEYLEN. | |
4a44ce79 | 10001 | * nscd/connections.c (nscd_run): Don't define MAXKEYLEN here. |
58a2d52e | 10002 | |
1a77d37f JJ |
10003 | 2007-01-31 Jakub Jelinek <jakub@redhat.com> |
10004 | ||
10005 | * nscd/nscd-client.h (__nscd_cache_search): Remove const qualifier | |
10006 | from return value. | |
10007 | * nscd/nscd_helper.c: Include string.h. | |
10008 | (__nscd_cache_search): Remove const qualifier from return value. | |
10009 | On strict alignment architectures check hash entry and data head | |
10010 | alignment. | |
10011 | * nscd/nscd_getpw_r.c (nscd_getpw_r): Don't crash or fail because | |
10012 | mmapped data during GC cycle contains garbage. If | |
10013 | __nscd_drop_map_ref fails, decrement mapped->counter when returning | |
10014 | error or if retrying with NO_MAPPING, only __nscd_unmap if counter | |
10015 | dropped to 0. | |
10016 | * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. | |
10017 | * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise. | |
10018 | * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise. | |
10019 | * nscd/nscd_getai.c (__nscd_getai): Likewise. | |
10020 | * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise. | |
10021 | ||
ee314200 UD |
10022 | 2007-01-30 Ulrich Drepper <drepper@redhat.com> |
10023 | ||
10024 | * misc/hsearch_r.c (hdestroy_r): Remove unnecessary test. | |
10025 | ||
14c8bf3b UD |
10026 | 2007-01-26 Ulrich Drepper <drepper@redhat.com> |
10027 | ||
10028 | * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Use register | |
10029 | names not numbers in cfi_*. | |
10030 | ||
d2708e67 AJ |
10031 | 2007-01-26 Andreas Jaeger <aj@suse.de> |
10032 | ||
10033 | * sysdeps/unix/sysv/linux/sys/personality.h (ADDR_NO_RANDOMIZE, | |
14c8bf3b | 10034 | ADDR_LIMIT_3GB, PER_LINUX_32BIT, PER_LINUX32_3GB): Add. |
d2708e67 AJ |
10035 | Correct values of PER_HPUX and PER_OSF4. |
10036 | ||
7fbc8784 UD |
10037 | 2007-01-24 Ulrich Drepper <drepper@redhat.com> |
10038 | ||
8aaf53ee | 10039 | * elf/dl-minimal.c: Undefine _itoa first. |
7fbc8784 UD |
10040 | * stdio-common/_itoa.h: Define _itoa and _fitoa for 64-bit platforms. |
10041 | * malloc/mtrace.c: Revert last change. | |
10042 | * posix/wordexp.c: Likewise. | |
10043 | ||
9d6cde3d UD |
10044 | 2007-01-24 Jakub Jelinek <jakub@redhat.com> |
10045 | ||
10046 | * sysdeps/i386/bits/byteswap.h (__bswap_32): Add __nocona__, __core2__ | |
10047 | and __geode__ to the list of i486+ CPUs. | |
10048 | * sysdeps/x86_64/bits/byteswap.h (__bswap_32): Likewise. | |
10049 | ||
c1f0486a UD |
10050 | 2007-01-23 Ulrich Drepper <drepper@redhat.com> |
10051 | ||
10052 | * stdio-common/_itoa.c: Include <limits.h>. | |
10053 | * stdio-common/_itowa.c: Likewise. | |
10054 | ||
6cae3957 UD |
10055 | 2007-01-22 Ulrich Drepper <drepper@redhat.com> |
10056 | ||
765bbb24 UD |
10057 | * stdio-common/_itowa.c: Don't compile _itowa for 64-bit |
10058 | platforms. | |
10059 | * stdio-common/_itoa.c: Don't compile in _itoa and _fitoa for | |
10060 | 64-bit platforms. | |
10061 | * malloc/mtrace.c (tr_where): Use _fitoa_word instead of _fitoa if | |
10062 | possible. | |
10063 | * posix/wordexp.c (parse_arith): Use _itoa_word instead of _itoa | |
10064 | if possible. | |
10065 | ||
6cae3957 UD |
10066 | [BZ #3902] |
10067 | * stdio-common/_itoa.c (_itoa): Make sure at least a zero is emitted. | |
10068 | * stdio-common/Makefile (tests): Add bug17. | |
10069 | * stdio-common/bug17.c: New file. | |
10070 | ||
ddaafd04 UD |
10071 | 2007-01-19 Ulrich Drepper <drepper@redhat.com> |
10072 | ||
10073 | * iconvdata/brf.c: New file. | |
439201de UD |
10074 | * iconvdata/testdata/BRF: New file. |
10075 | * iconvdata/testdata/BRF..UTF8: New file. | |
10076 | Contributed by Samuel Thibault <samuel.thibault@ens-lyon.org>. | |
ddaafd04 UD |
10077 | * iconvdata/Makefile: Add rules to build BRF. |
10078 | * iconvdata/TESTS: Add BRF entry. | |
10079 | * iconvdata/gconv-modules: Likewise. | |
10080 | * iconvdata/tst-tables.sh: Likewise. | |
ddaafd04 | 10081 | |
9e6e344e UD |
10082 | 2007-01-18 Anton Nikishaev <anton.nik@gmail.com> |
10083 | ||
10084 | * wcsmbs/wchar.h (wcstoll): Fix comment, function returns value of | |
10085 | type `long long int', not `long int'. | |
10086 | (wcstoq): Likewise. | |
10087 | ||
299f7b0f UD |
10088 | 2007-01-18 Ulrich Drepper <drepper@redhat.com> |
10089 | ||
10090 | * scripts/gen-as-const.awk: Add cast to long to avoid int promotion | |
10091 | of values on 64-bit platforms which are too large. | |
10092 | ||
cd8127cc JJ |
10093 | 2007-01-12 Steven Munroe <sjmunroe@us.ibm.com> |
10094 | Joe Kerian <jkerian@us.us.ibm.com> | |
10095 | ||
10096 | [BZ #2749] | |
10097 | * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Include | |
10098 | <math_ldbl_opt.h>. Remove weak_alias. Use long_double_symbol macro. | |
10099 | (__copysignl): Use signbit() for comparison. | |
10100 | * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Correct parms for | |
10101 | SET_LDOUBLE_WORDS64. | |
10102 | ||
10103 | [BZ #2423, #2749] | |
10104 | * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Don't include <fenv_libc.h>. | |
10105 | (__ceill): Remove calls to fegetround(), fesetround(). | |
10106 | * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise. | |
10107 | * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise. | |
10108 | * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise. | |
10109 | ||
b3acfdf7 JJ |
10110 | 2007-01-17 Jakub Jelinek <jakub@redhat.com> |
10111 | ||
4a2e03c6 JJ |
10112 | * nscd/nscd_getserv_r.c (nscd_getserv_r): Fix pastos. |
10113 | ||
b3acfdf7 JJ |
10114 | * sysdeps/unix/sysv/linux/getdents.c (offsetof): Remove. |
10115 | ||
1476bce6 UD |
10116 | 2007-01-17 Ulrich Drepper <drepper@redhat.com> |
10117 | ||
10118 | * sysdeps/unix/sysv/linux/fatal-prepare.h: Use PTHFCT_CALL to | |
10119 | demangle pointer. | |
10120 | * csu/libc-start.c: Likewise. | |
10121 | ||
d78bce1c UD |
10122 | 2007-01-16 Ulrich Drepper <drepper@redhat.com> |
10123 | ||
10124 | * sysdeps/posix/system.c: Remove NO_WAITPID support, it cannot | |
10125 | really work anyway. | |
10126 | ||
1bd79025 UD |
10127 | 2007-01-15 Ulrich Drepper <drepper@redhat.com> |
10128 | ||
000b027e UD |
10129 | * nscd/connections.c (servinfo): Renamed to reqinfo. Change all |
10130 | users. | |
10131 | (handle_request): Remove unnecessary tests. | |
10132 | ||
1bd79025 UD |
10133 | * nscd/cache.c (cache_add): Record the failure to add to the cache. |
10134 | ||
d68f5d2c JJ |
10135 | 2007-01-15 Jakub Jelinek <jakub@redhat.com> |
10136 | ||
10137 | * soft-fp/op-common.h (FP_TRUNC): When truncating a NaN, clear | |
10138 | workbits in semi-raw fraction. | |
10139 | ||
10140 | * math/test-misc.c: Add new tests. | |
10141 | ||
10142 | 2007-01-14 Steven Munroe <sjmunroe@us.ibm.com> | |
10143 | ||
10144 | * math/basic-test.c: Include test-skeleton.c. | |
10145 | (TEST_TRUNC): Define. | |
10146 | (truncdfsf_test, trunctfsf_test, trunctfdf_test): New. | |
10147 | (main): Rename to ... | |
10148 | (do_test): ...this. Run new tests. | |
10149 | (TEST_FUNCTION): Define. | |
10150 | ||
10151 | 2006-10-05 Steven Munroe <sjmunroe@us.ibm.com> | |
10152 | Joe Kerian <jkerian@us.us.ibm.com> | |
10153 | ||
10154 | [BZ #2749] | |
10155 | * soft-fp/op-4.h (__FP_FRAC_SUB_3, __FP_FRAC_SUB_4): Correct borrow | |
10156 | handling for high words. | |
10157 | * soft-fp/op-common.h (_FP_OVERFLOW_SEMIRAW): Always set inexact | |
10158 | and overflow for infinity. | |
10159 | ||
4e35ef2c UD |
10160 | 2007-01-15 Ulrich Drepper <drepper@redhat.com> |
10161 | ||
2a1dea97 UD |
10162 | * nscd/connections.c (handle_request): Add a __builtin_expect. |
10163 | ||
9691d83c UD |
10164 | * nscd/connections.c (serv2db): Change type into structure which |
10165 | also says whether this is a request for data. Renamed to | |
10166 | servinfo. All users changed. | |
10167 | (handle_request): Much simpler test whether we should search the cache. | |
10168 | ||
49ee6d79 UD |
10169 | * nscd/connections.c (handle_request): Fix thinko in selinux test |
10170 | invocation. | |
10171 | ||
4e35ef2c UD |
10172 | * sysdeps/generic/ldsodefs.h: Define DL_LOOKUP_SCOPE_LOCK. |
10173 | * elf/dl-lookup.c (add_dependency): If scope map is locked, unlock | |
10174 | it before getting dl_load_lock and then relock. | |
10175 | (_dl_lookup_symbol_x): Pass flags to add_dependency. | |
10176 | When rerunning _dl_lookup_symbol_x, compute symbol_scope again in | |
10177 | case we unlocked the scope. | |
10178 | * elf/dl-runtime.c (_dl_fixup): Pass DL_LOOKUP_SCOPE_LOCK to | |
10179 | _dl_lookup_symbol_x in case we locked the scope. | |
10180 | (_dl_profile_fixup): Likewise. | |
10181 | * elf/dl-sym.c (do_sym): In flags passed to call_dl_lookup, also | |
10182 | set DL_LOOKUP_SCOPE_LOCK. | |
10183 | ||
23691ab2 UD |
10184 | 2007-01-13 Ulrich Drepper <drepper@redhat.com> |
10185 | ||
fb453d08 UD |
10186 | * inet/Makefile: Define CFLAGS-getsrvbynm_r.c and |
10187 | CFLAGS-getsrvbynpt_r.c. | |
10188 | * nscd/getsrvbynm_r.c: New file. | |
10189 | * nscd/getsrvbypt_r.c: New file. | |
10190 | * nscd/nscd_getserv_r.c: New file. | |
10191 | * nscd/servicescache.c: New file. | |
10192 | * nscd/Makefile (routines): Add nscd_getserv_r. | |
10193 | (nscd-modules): Add getsrvbynm_r, getsrvbypt_r, and servicescache. | |
10194 | Define CFLAGS-servicescache.c, CFLAGS-getsrvbynm_r.c, and | |
10195 | CFLAGS-getsrvbypt_r.c. | |
10196 | * nscd/cache.c (prune_cache): Rewrite to get re-add function from | |
10197 | table. Add entries for services database. | |
10198 | * nscd/connections.c (serv2str): Mark as const. Add entries for | |
10199 | services database. | |
10200 | (dbs): Add .reset_res and servdb initialization. | |
10201 | (serv2db): Add entries for services database. | |
10202 | (verify_persistent_db): Accept dbnr == servdb. | |
10203 | (invalidate_cache): Rewrite database name recognition to use a table. | |
10204 | Call res_init() if .reset_res is set for database. | |
10205 | (handle_request): Add code to handle services database. | |
10206 | * nscd/gai.c: Don't define __getservbyname_r. | |
10207 | * nscd/nscd-client.h (request_type): Remove LASTDBREQ, add | |
10208 | GETSERVBYNAME, GETSERVBYPORT, GETFDSERV. | |
10209 | (serv_response_header): Define. | |
10210 | (struct datahead): Add serv_response_header member. | |
10211 | * nscd/nscd.c (parse_opt): Rewrite parsing of -i parameter value | |
10212 | using table. | |
10213 | * nscd/nscd.conf: Add entries for services database. | |
10214 | * nscd/nscd.h: Adjust declaration of dbnames and serv2str. | |
10215 | Declare serv_iov_disabled. | |
10216 | Declare addservbyname, readdservbyname, addservbyport, and | |
10217 | readdservbyport. | |
10218 | * nscd/nscd_conf.c (dbnames): Mark as const. Add services entry. | |
10219 | (find_db): Fix error message. | |
10220 | * nscd/nscd_proto.h: Declare __nss_not_use_nscd_services, | |
10221 | __nscd_getservbyname_r, and __nscd_getservbyport_r. | |
10222 | * nscd/selinux.c (perms): Add entries for services database. | |
10223 | * nss/Versions: Export __nss_services_lookup with GLIBC_PRIVATE. | |
10224 | * nss/nsswitch.c (__nss_disable_nscd): Also disable services database. | |
10225 | ||
10226 | * nscd/grpcache.c: Remove obsolete code. Cleanups. | |
10227 | * nscd/hstcache.c: Likewise. | |
10228 | * nscd/pwdcache.c: Likewise. | |
10229 | ||
b21fa963 UD |
10230 | * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Correct |
10231 | computation of keylen. | |
10232 | ||
23691ab2 UD |
10233 | * include/string.h: Only redefine strndupa if this is really for |
10234 | libc code. | |
10235 | ||
8980796b UD |
10236 | 2007-01-12 Ulrich Drepper <drepper@redhat.com> |
10237 | ||
4a4a65f2 UD |
10238 | * nscd/nscd_gethst_r.c: Minor cleanups. |
10239 | ||
43397eaf UD |
10240 | * nscd/connections.c (handle_request): Check selinux permissions |
10241 | for all non-admin commands. | |
10242 | ||
038a1a9f UD |
10243 | * sysdeps/i386/i486/bits/atomic.h: Define |
10244 | atomic_compare_and_exchange_val_acq, | |
10245 | atomic_compare_and_exchange_bool_acq, and atomic_exchange_and_add | |
10246 | using __sync_* built-ins for gcc >= 4.1. | |
10247 | * sysdeps/x86_64/bits/atomic.h: Likewise. | |
10248 | ||
8980796b UD |
10249 | [BZ #3840] |
10250 | * scripts/check-local-headers.sh: Restrict to testing .o.d, .os.d, | |
10251 | and .oS.d files. | |
10252 | ||
32c075e1 JJ |
10253 | 2007-01-05 Steven Munroe <sjmunroe@us.ibm.com> |
10254 | ||
10255 | * stdlib/tst-makecontext.c: Include errno.h. Change main() | |
10256 | to do_test(). Define TEST_FUNCTION. Include test-skeleton.c. | |
10257 | (do_test): Check errno and exit(0) if ENOSYS. | |
10258 | ||
10259 | 2007-01-11 Jakub Jelinek <jakub@redhat.com> | |
10260 | ||
10261 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix handling of multi-byte | |
10262 | thousands separators. | |
10263 | * stdlib/Makefile: Add rules to build and run tst-strtod4. | |
10264 | * stdlib/tst-strtod4.c: New test. | |
10265 | ||
10266 | [BZ #3855] | |
10267 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): 0x. not followed by | |
10268 | hexadecimal digit should accept just the initial 0. | |
10269 | * stdlib/tst-strtod2.c (tests): New variable. | |
10270 | (do_test): Run several tests rather than just one. | |
10271 | ||
11bf311e | 10272 | 2007-01-11 Jakub Jelinek <jakub@redhat.com> |
df859a0c | 10273 | |
11bf311e UD |
10274 | * sysdeps/i386/soft-fp/sfp-machine.h: Remove. |
10275 | * sysdeps/x86_64/soft-fp/sfp-machine.h: Likewise. | |
df859a0c | 10276 | |
11bf311e | 10277 | 2007-01-10 Ulrich Drepper <drepper@redhat.com> |
32c075e1 | 10278 | |
11bf311e UD |
10279 | * io/fts.c: Make sure fts_cur is always valid after return from |
10280 | fts_read. | |
10281 | Patch by Miloslav Trmac <mitr@redhat.com>. | |
64a0aa0f | 10282 | |
11bf311e | 10283 | 2006-10-27 Richard Sandiford <richard@codesourcery.com> |
32c075e1 | 10284 | |
11bf311e UD |
10285 | * elf/elf.h (R_MIPS_GLOB_DAT): Define. |
10286 | (R_MIPS_NUM): Bump by 1. | |
32c075e1 | 10287 | |
11bf311e | 10288 | 2007-01-03 Jakub Jelinek <jakub@redhat.com> |
32c075e1 | 10289 | |
11bf311e UD |
10290 | * posix/execvp.c: Include alloca.h. |
10291 | (allocate_scripts_argv): Renamed to... | |
10292 | (scripts_argv): ... this. Don't allocate buffer here nor count | |
10293 | arguments. | |
10294 | (execvp): Use alloca if possible. | |
10295 | * posix/Makefile: Add rules to build and run tst-vfork3 test. | |
10296 | * posix/tst-vfork3.c: New test. | |
32c075e1 JJ |
10297 | |
10298 | 2007-01-03 Ulrich Drepper <drepper@redhat.com> | |
10299 | ||
10300 | * string/Makefile (tst-strxfrm2-ENV): Define. | |
11bf311e | 10301 | * stdlib/Makefile (tst-strtod3-ENV): Define. |
32c075e1 | 10302 | |
11bf311e | 10303 | 2007-01-02 Ulrich Drepper <drepper@redhat.com> |
32c075e1 | 10304 | |
11bf311e UD |
10305 | * posix/getconf.c: Update copyright year. |
10306 | * nss/getent.c: Likewise. | |
10307 | * iconv/iconvconfig.c: Likewise. | |
10308 | * iconv/iconv_prog.c: Likewise. | |
10309 | * elf/ldconfig.c: Likewise. | |
10310 | * catgets/gencat.c: Likewise. | |
10311 | * csu/version.c: Likewise. | |
10312 | * elf/ldd.bash.in: Likewise. | |
10313 | * elf/sprof.c (print_version): Likewise. | |
10314 | * locale/programs/locale.c: Likewise. | |
10315 | * locale/programs/localedef.c: Likewise. | |
10316 | * nscd/nscd.c (print_version): Likewise. | |
10317 | * debug/xtrace.sh: Likewise. | |
10318 | * malloc/memusage.sh: Likewise. | |
10319 | * malloc/mtrace.pl: Likewise. | |
10320 | * debug/catchsegv.sh: Likewise. | |
64a0aa0f | 10321 | |
11bf311e | 10322 | 2006-12-24 Ulrich Drepper <drepper@redhat.com> |
48576885 | 10323 | |
11bf311e UD |
10324 | * malloc/malloc.c (sYSMALLOc): Remove some unnecessary alignment |
10325 | attempts. | |
48576885 | 10326 | |
11bf311e | 10327 | 2006-12-23 Ulrich Drepper <drepper@redhat.com> |
3b6667a4 | 10328 | |
11bf311e | 10329 | * posix/wordexp.c: Remove some unnecessary tests. |
3b6667a4 | 10330 | |
33c6de58 UD |
10331 | 2006-12-22 Gavin Romig-Koch <gavin@redhat.com> |
10332 | ||
10333 | * nis/nss_compat/compat-grp.c (internal_getgrgid_r): Don't | |
10334 | blacklist the group till after we look it up. | |
10335 | ||
fc242bef UD |
10336 | 2006-12-21 Ulrich Drepper <drepper@redhat.com> |
10337 | ||
10338 | * include/atomic.h (atomic_forced_read): New macro. | |
10339 | ||
11bf311e UD |
10340 | 2006-12-20 SUGIOKA Toshinobu <sugioka@itonet.co.jp> |
10341 | ||
10342 | * sysdeps/unix/sysv/linux/sh/bits/shm.h: New file. | |
10343 | ||
a12dcecc UD |
10344 | 2006-12-19 Jakub Jelinek <jakub@redhat.com> |
10345 | ||
11bf311e UD |
10346 | * nss/getXXbyYY_r.c: Include atomic.h. |
10347 | (INTERNAL (REENTRANT_NAME)): Write startp after start_fct, | |
10348 | add atomic_write_barrier () in between. | |
10349 | ||
a12dcecc UD |
10350 | * stdlib/Makefile (tests): Add tst-makecontext. |
10351 | * stdlib/tst-makecontext.c: New test. | |
10352 | ||
10353 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S | |
10354 | (__makecontext): Don't realign uc_mcontext.uc_regs. | |
10355 | ||
11bf311e | 10356 | 2006-11-28 Jakub Jelinek <jakub@redhat.com> |
594d423a | 10357 | |
11bf311e UD |
10358 | * elf/dl-support.c: Include dl-procinfo.h. |
10359 | * sysdeps/powerpc/dl-procinfo.h (PPC_PLATFORM_POWER4, | |
10360 | PPC_PLATFORM_PPC970, PPC_PLATFORM_POWER5, PPC_PLATFORM_POWER5_PLUS, | |
10361 | PPC_PLATFORM_POWER6, PPC_PLATFORM_CELL_BE, PPC_PLATFORM_POWER6X): | |
10362 | Define. | |
10363 | (_dl_string_platform): Use PPC_PLATFORM_* macros instead of | |
10364 | hardcoded constants. | |
10365 | * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platform): Use | |
10366 | PPC_PLATFORM_* macros for array designators. | |
594d423a | 10367 | |
11bf311e | 10368 | 2006-11-11 Steven Munroe <sjmunroe@us.ibm.com> |
594d423a | 10369 | |
11bf311e UD |
10370 | * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add 3 new cap |
10371 | names to the beginning. | |
10372 | (_dl_powerpc_platforms): Add "power6x". | |
10373 | * sysdeps/powerpc/dl-procinfo.h (_DL_HWCAP_FIRST): Decrease. | |
10374 | (HWCAP_IMPORTANT): Add PPC_FEATURE_HAS_DFP. | |
10375 | (_DL_PLATFORMS_COUNT): Increase. | |
10376 | (_dl_string_platform): Handle power6x case. | |
10377 | * sysdeps/powerpc/sysdep.h (PPC_FEATURE_PA6T, PPC_FEATURE_HAS_DFP, | |
10378 | PPC_FEATURE_POWER6_EXT): Define. | |
10379 | (PPC_FEATURE_POWER5, PPC_FEATURE_POWER5_PLUS): Correct Comment. | |
594d423a | 10380 | |
5bcba0ed UD |
10381 | 2006-12-18 Jakub Jelinek <jakub@redhat.com> |
10382 | ||
10383 | [BZ #3747] | |
10384 | * stdlib/jrand48_r.c (__jrand48_r): Make sure result is in the | |
11bf311e | 10385 | [-2^31 .. 2^31) range. |
5bcba0ed UD |
10386 | * stdlib/tst-rand48.c (main): Fix expected values for 64-bit |
10387 | targets. | |
10388 | * stdlib/tst-rand48-2.c: New test. | |
10389 | * stdlib/Makefile (tests): Add tst-rand48-2. | |
10390 | ||
9e1444fc UD |
10391 | 2006-12-14 Jakub Jelinek <jakub@redhat.com> |
10392 | ||
10393 | * misc/tst-pselect.c (do_test): Fix sigblock argument. | |
10394 | ||
36775704 UD |
10395 | 2006-12-14 Ulrich Drepper <drepper@redhat.com> |
10396 | ||
10397 | * misc/tst-pselect.c (do_test): Make sure the helper process is | |
10398 | terminating when the test is aborted. | |
10399 | ||
1e88bd0f UD |
10400 | 2006-12-13 Ulrich Drepper <drepper@redhat.com> |
10401 | ||
11bf311e UD |
10402 | * sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_RELATIME. |
10403 | * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags): | |
10404 | Handle relatime mount option. | |
10405 | ||
1e88bd0f UD |
10406 | [BZ #2337] |
10407 | * libio/Makefile (tests): Add tst-setvbuf1. | |
10408 | * libio/tst-setvbuf1.c: New file. | |
10409 | ||
10410 | 2006-12-08 Jakub Jelinek <jakub@redhat.com> | |
10411 | ||
10412 | [BZ #2337] | |
10413 | * libio/genops.c (__uflow): Fix a typo. | |
10414 | * libio/wfiledoalloc.c (_IO_wfile_doallocate): Don't stat | |
10415 | nor set _IO_LINE_BUF bit here. Size the wide buffer based on | |
10416 | the narrow buffer size. | |
10417 | ||
10418 | 2006-11-24 Jakub Jelinek <jakub@redhat.com> | |
10419 | ||
10420 | [BZ #2337] | |
10421 | * libio/libio.h (_IO_FLAGS2_USER_WBUF): Define. | |
10422 | * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Test and set | |
10423 | _IO_FLAGS2_USER_WBUF bit in _flags2 instead of _IO_USER_BUF bit | |
10424 | in _flags. | |
10425 | * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf, | |
10426 | _IO_wstr_finish): Likewise. | |
10427 | * libio/wmemstream.c (open_wmemstream): Likewise. | |
10428 | * libio/fileops.c (_IO_new_file_close_it): Call _IO_set[bgp] | |
10429 | even for wide streams. | |
10430 | ||
11bf311e | 10431 | 2006-12-13 Jakub Jelinek <jakub@redhat.com> |
1f55ce48 | 10432 | |
11bf311e UD |
10433 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Include |
10434 | kernel-features.h. | |
10435 | ||
10436 | 2006-12-11 Ulrich Drepper <drepper@redhat.com> | |
10437 | ||
10438 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Parse thousand | |
10439 | separators also if no non-zero digits found. | |
10440 | * stdlib/Makefile (tests): Add tst-strtod3. | |
1f55ce48 | 10441 | |
d117c1ce UD |
10442 | 2006-12-09 Ulrich Drepper <drepper@redhat.com> |
10443 | ||
f85fb97b UD |
10444 | [BZ #3632] |
10445 | * include/features.h: Fix comment about default value for | |
10446 | _POSIX_C_SOURCE. | |
10447 | ||
11bf311e UD |
10448 | [BZ #3664] |
10449 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix test to recognize | |
10450 | empty parsed strings. | |
10451 | * stdlib/Makefile (tests): Add tst-strtod2. | |
10452 | * stdlib/tst-strtod2.c: New file. | |
10453 | ||
10454 | [BZ #3673] | |
10455 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix exp_limit | |
10456 | computation. | |
10457 | * stdlib/Makefile (tests): Add tst-atof2. | |
10458 | * stdlib/tst-atof2.c: New file. | |
10459 | ||
10460 | [BZ #3674] | |
10461 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Adjust exponent value | |
10462 | correctly if removing trailing zero of hex-float. | |
10463 | * stdlib/Makefile (tests): Add tst-atof1. | |
10464 | * stdlib/tst-atof1.c: New file. | |
10465 | ||
a822d9f4 UD |
10466 | 2006-12-09 Jakub Jelinek <jakub@redhat.com> |
10467 | ||
11bf311e UD |
10468 | * misc/mntent_r.c (__hasmntopt): Check p[optlen] even when p == rest. |
10469 | Start searching for next comma at p rather than rest. | |
10470 | * misc/Makefile (tests): Add tst-mntent2. | |
10471 | * misc/tst-mntent2.c: New test. | |
10472 | ||
a822d9f4 UD |
10473 | * misc/getusershell.c (initshells): Check for integer overflows. |
10474 | Make strings buffer one bigger as fgets always succeeds when second | |
10475 | argument is 1. Don't use calloc for shells array. Disallow | |
11bf311e | 10476 | / as shell. |
f0d5e1f6 | 10477 | |
11bf311e | 10478 | 2006-12-08 Ulrich Drepper <drepper@redhat.com> |
f0d5e1f6 | 10479 | |
11bf311e UD |
10480 | * malloc/memusage.c: Handle realloc with new size of zero and |
10481 | non-NULL pointer correctly. | |
10482 | (me): Really write first record twice. | |
10483 | (struct entry): Make format bi-arch safe. | |
10484 | (dest): Write out more realloc statistics. | |
10485 | * malloc/memusagestat.c (struct entry): Make format bi-arch safe. | |
32c075e1 | 10486 | |
11bf311e | 10487 | 2006-12-05 Jakub Jelinek <jakub@redhat.com> |
32c075e1 | 10488 | |
11bf311e | 10489 | * nis/nis_subr.c (nis_getnames): Revert last change. |
32c075e1 | 10490 | |
f0d5e1f6 UD |
10491 | 2006-12-04 Jakub Jelinek <jakub@redhat.com> |
10492 | ||
10493 | * sysdeps/unix/sysv/linux/ttyname.c: Include termios.h. | |
10494 | (ttyname): Use tcgetattr instead of isatty, don't set errno to ENOTTY. | |
10495 | * sysdeps/unix/sysv/linux/ttyname_r.c: Include termios.h. | |
10496 | (__ttyname_r): Use tcgetattr instead of isatty, don't set errno to | |
10497 | ENOTTY. | |
10498 | * io/Makefile: Add rules to build and run tst-ttyname_r test. | |
10499 | * io/tst-ttyname_r.c: New test. | |
10500 | ||
11bf311e | 10501 | 2006-12-03 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
5df4fe08 | 10502 | |
11bf311e | 10503 | * sysdeps/unix/sysv/linux/sh/sys/io.h: Removed. |
5df4fe08 | 10504 | |
11bf311e | 10505 | 2006-11-30 H.J. Lu <hongjiu.lu@intel.com> |
ee50871d | 10506 | |
11bf311e UD |
10507 | * sysdeps/i386/i686/memcmp.S: Use jump table as the base of |
10508 | jump table entries. | |
10509 | ||
10510 | 2006-11-30 Jan Kratochvil <jan.kratochvil@redhat.com> | |
10511 | ||
10512 | * sysdeps/unix/sysv/linux/i386/clone.S: Provide CFI for the outermost | |
10513 | `clone' function to ensure proper unwinding stop of gdb. | |
10514 | * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise. | |
10515 | ||
10516 | 2006-12-01 Ulrich Drepper <drepper@redhat.com> | |
10517 | ||
10518 | * nscd/nscd.init: Remove obsolete and commented-out -S option | |
10519 | handling. | |
10520 | ||
10521 | 2006-11-23 Jakub Jelinek <jakub@redhat.com> | |
10522 | ||
10523 | [BZ #3514] | |
10524 | * manual/string.texi (strncmp): Fix pastos from wcscmp description. | |
10525 | ||
10526 | [BZ #3515] | |
10527 | * manual/string.texi (strtok): Remove duplicate paragraph. | |
10528 | ||
10529 | 2006-12-01 Jan Kratochvil <jan.kratochvil@redhat.com> | |
10530 | ||
10531 | * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Fix compatibility with | |
10532 | libgcc not supporting `rflags' unwinding (register # >= 17). | |
10533 | ||
10534 | 2006-11-30 Jakub Jelinek <jakub@redhat.com> | |
10535 | ||
10536 | * sunrpc/svc_run.c (svc_run): Set my_pollfd to new_pollfd if realloc | |
10537 | succeeded. | |
10538 | ||
10539 | 2006-11-29 Daniel Jacobowitz <dan@codesourcery.com> | |
10540 | Jakub Jelinek <jakub@redhat.com> | |
10541 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
10542 | ||
10543 | * sysdeps/unix/sysv/linux/x86_64/sigaction.c (restore_rt): Add correct | |
10544 | unwind information. | |
10545 | * sysdeps/unix/sysv/linux/x86_64/Makefile: Provide symbols for | |
10546 | 'restore_rt' even in the 'signal' directory. | |
10547 | * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym: Extend the regs list. | |
ee50871d | 10548 | |
b1a758f3 UD |
10549 | 2006-11-27 Jakub Jelinek <jakub@redhat.com> |
10550 | ||
10551 | [BZ #3559] | |
10552 | * sunrpc/svc_run.c (svc_run): Fail instead of segfaulting if | |
11bf311e UD |
10553 | malloc crashed. Don't allocate memory unnecessarily in each |
10554 | loop. | |
b1a758f3 | 10555 | |
11bf311e | 10556 | 2006-10-21 Jakub Jelinek <jakub@redhat.com> |
854d1124 | 10557 | |
11bf311e | 10558 | * resolv/mapv4v6addr.h (map_v4v6_address): Fix last change. |
dfc99a56 | 10559 | |
11bf311e | 10560 | 2006-11-20 Ulrich Drepper <drepper@redhat.com> |
dfc99a56 | 10561 | |
11bf311e | 10562 | * resolv/mapv4v6addr.h (map_v4v6_address): Optimize a bit. |
852d657c | 10563 | |
11bf311e | 10564 | 2006-11-18 Bruno Haible <bruno@clisp.org> |
852d657c | 10565 | |
11bf311e UD |
10566 | * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Invoke |
10567 | __sysconf only after having tried to call getgroups32. | |
36c0a636 | 10568 | |
11bf311e | 10569 | 2006-11-19 Ulrich Drepper <drepper@redhat.com> |
36c0a636 | 10570 | |
11bf311e UD |
10571 | * nss/nss_files/files-hosts.c (LINE_PARSER): Support IPv6-style |
10572 | addresses for IPv4 queries if they can be mapped. | |
b1f0c2a6 | 10573 | |
11bf311e | 10574 | 2006-11-16 Jakub Jelinek <jakub@redhat.com> |
b1f0c2a6 | 10575 | |
11bf311e UD |
10576 | * sysdeps/x86_64/fpu/s_copysignf.S (__copysignf): Switch to .text. |
10577 | * sysdeps/x86_64/fpu/s_copysign.S (__copysign): Likewise. | |
10578 | (signmask): Add .size directive. | |
10579 | (othermask): Add .type directive. | |
bef8927a | 10580 | |
11bf311e | 10581 | 2006-11-14 Ulrich Drepper <drepper@redhat.com> |
2c53fa20 | 10582 | |
11bf311e | 10583 | * po/nl.po: Update from translation team. |
854d1124 | 10584 | |
11bf311e | 10585 | * timezone/zdump.c: Redo fix for BZ #3137. |
3f1e9205 | 10586 | |
11bf311e | 10587 | 2006-11-14 Jakub Jelinek <jakub@redhat.com> |
bef8927a | 10588 | |
11bf311e UD |
10589 | * nss/nss_files/files-alias.c (get_next_alias): Set line back |
10590 | to first_unused after parsing :include: file. | |
5c2af134 | 10591 | |
32c075e1 | 10592 | 2006-11-10 Ulrich Drepper <drepper@redhat.com> |
e1b37083 | 10593 | |
11bf311e UD |
10594 | * timezone/africa: Update from tzdata2006o. |
10595 | * timezone/antarctica: Likewise. | |
10596 | * timezone/asia: Likewise. | |
10597 | * timezone/australasia: Likewise. | |
10598 | * timezone/backward: Likewise. | |
10599 | * timezone/europe: Likewise. | |
10600 | * timezone/iso3166.tab: Likewise. | |
10601 | * timezone/northamerica: Likewise. | |
10602 | * timezone/southamerica: Likewise. | |
10603 | * timezone/zone.tab: Likewise. | |
10604 | ||
10605 | * time/tzfile.c (__tzfile_read): Extend to handle new file format | |
10606 | on machines with 64-bit time_t. | |
10607 | ||
10608 | * timezone/checktab.awk: Update from tzcode2006o. | |
10609 | * timezone/ialloc.c: Likewise. | |
10610 | * timezone/private.h: Likewise. | |
10611 | * timezone/scheck.c: Likewise. | |
10612 | * timezone/tzfile.h: Likewise. | |
10613 | * timezone/tzselect.ksh: Likewise. | |
10614 | * timezone/zdump.c: Likewise. | |
10615 | * timezone/zic.c: Likewise. | |
10616 | ||
10617 | [BZ #3483] | |
10618 | * elf/ldconfig.c (main): Call setlocale and textdomain. | |
10619 | Patch mostly by Benno Schulenberg <bensberg@justemail.net>. | |
10620 | ||
10621 | [BZ #3480] | |
10622 | * manual/argp.texi: Fix typos. | |
10623 | * manual/charset.texi: Likewise. | |
10624 | * manual/errno.texi: Likewise. | |
10625 | * manual/filesys.texi: Likewise. | |
10626 | * manual/lang.texi: Likewise. | |
10627 | * manual/maint.texi: Likewise. | |
10628 | * manual/memory.texi: Likewise. | |
10629 | * manual/message.texi: Likewise. | |
10630 | * manual/resource.texi: Likewise. | |
10631 | * manual/search.texi: Likewise. | |
10632 | * manual/signal.texi: Likewise. | |
10633 | * manual/startup.texi: Likewise. | |
10634 | * manual/stdio.texi: Likewise. | |
10635 | * manual/sysinfo.texi: Likewise. | |
10636 | * manual/syslog.texi: Likewise. | |
10637 | * manual/time.texi: Likewise. | |
10638 | Patch by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>. | |
10639 | ||
10640 | [BZ #3465] | |
10641 | * sunrpc/clnt_raw.c: Minimal message improvements. | |
10642 | * sunrpc/pm_getmaps.c: Likewise. | |
10643 | * nis/nss_nisplus/nisplus-publickey.c: Likewise. | |
10644 | * nis/nis_print_group_entry.c: Likewise. | |
10645 | * locale/programs/repertoire.c: Likewise. | |
10646 | * locale/programs/charmap.c: Likewise. | |
10647 | * malloc/memusage.sh: Likewise. | |
10648 | * elf/dl-deps.c: Likewise. | |
10649 | * locale/programs/ld-collate.c: Likewise. | |
10650 | * libio/vswprintf.c: Likewise. | |
10651 | * malloc/memusagestat.c: Likewise. | |
10652 | * sunrpc/auth_unix.c: Likewise. | |
10653 | * sunrpc/rpc_main.c: Likewise. | |
10654 | * nscd/cache.c: Likewise. | |
10655 | * locale/programs/repertoire.c: Unify output messages. | |
10656 | * locale/programs/charmap.c: Likewise. | |
10657 | * locale/programs/ld-ctype.c: Likewise. | |
10658 | * locale/programs/ld-monetary.c: Likewise. | |
10659 | * locale/programs/ld-numeric.c: Likewise. | |
10660 | * locale/programs/ld-time.c: Likewise. | |
10661 | * elf/ldconfig.c: Likewise. | |
10662 | * nscd/selinux.c: Likewise. | |
10663 | * elf/cache.c: Likewise. | |
10664 | Patch mostly by Benno Schulenberg <bensberg@justemail.net>. | |
10665 | ||
5c2af134 UD |
10666 | [BZ #3451] |
10667 | * sysdeps/i386/fpu/bits/mathinline.h (floor): Make rounding mode | |
10668 | change atomic. | |
10669 | (ceil): Likewise. | |
10670 | ||
11bf311e UD |
10671 | 2006-11-10 Jakub Jelinek <jakub@redhat.com> |
10672 | ||
10673 | * string/strxfrm_l.c (STRXFRM): Fix trailing \1 optimization | |
10674 | if N is one bigger than return value. | |
10675 | * string/tst-strxfrm2.c (do_test): Also test strxfrm with l1 + 1 | |
10676 | and l1 last arguments, if buf is defined, verify the return value | |
10677 | equals to strlen (buf) and verify no byte beyond passed length | |
10678 | is modified. | |
10679 | ||
10680 | 2006-11-10 Ulrich Drepper <drepper@redhat.com> | |
10681 | ||
10682 | * po/sv.po: Update from translation team. | |
10683 | ||
37afcf79 UD |
10684 | 2006-11-09 Ulrich Drepper <drepper@redhat.com> |
10685 | ||
10686 | * sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_check_word): Add | |
10687 | noinline attribute. | |
10688 | ||
10689 | 2006-11-10 Jakub Jelinek <jakub@redhat.com> | |
10690 | ||
10691 | * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Add | |
10692 | noinline attribute. | |
10693 | ||
11bf311e UD |
10694 | * sysdeps/gnu/siglist.c (__old_sys_siglist, __old_sys_sigabbrev): |
10695 | Use __new_sys_siglist instead of _sys_siglist_internal as | |
10696 | second macro argument. | |
10697 | (_old_sys_siglist): Use declare_symbol_alias macro instead of | |
10698 | strong_alias. | |
2692deea | 10699 | |
11bf311e UD |
10700 | 2006-11-09 Ulrich Drepper <drepper@redhat.com> |
10701 | ||
10702 | [BZ #3493] | |
10703 | * posix/unistd.h (sysconf): Remove const attribute. | |
10704 | ||
10705 | * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix test for | |
10706 | temporary or deprecated addresses. | |
10707 | Patch by Sridhar Samudrala <sri@us.ibm.com>. | |
10708 | ||
10709 | * string/Makefile (tests): Add tst-strxfrm2. | |
10710 | * string/tst-strxfrm2.c: New file. | |
10711 | ||
10712 | 2006-10-09 Jakub Jelinek <jakub@redhat.com> | |
10713 | ||
10714 | * elf/dl-debug.c (_dl_debug_initialize): Check r->r_map for 0 | |
10715 | rather than r->r_brk. | |
2692deea UD |
10716 | |
10717 | 2006-11-08 Jakub Jelinek <jakub@redhat.com> | |
10718 | ||
11bf311e UD |
10719 | * string/strxfrm_l.c (STRXFRM): Do the trailing \1 removal |
10720 | optimization even if needed > n. | |
10721 | ||
2692deea UD |
10722 | * elf/dl-load.c (decompose_rpath): Return bool rather than void. |
10723 | If l->l_name is on inhibit_rpath list, set sps->dirs to -1 and | |
10724 | return false, otherwise return true. | |
10725 | (cache_rpath): Return decompose_rpath return value. | |
10726 | ||
11bf311e UD |
10727 | 2006-11-07 Jakub Jelinek <jakub@redhat.com> |
10728 | ||
10729 | * include/libc-symbols.h (declare_symbol): Rename to... | |
10730 | (declare_symbol_alias): ... this. Add ORIGINAL argument, imply | |
10731 | strong_alias (ORIGINAL, SYMBOL) in asm to make sure it preceedes | |
10732 | .size directive. | |
10733 | * sysdeps/gnu/errlist-compat.awk: Adjust for declare_symbol_alias | |
10734 | changes. | |
10735 | * sysdeps/gnu/siglist.c: Likewise. | |
10736 | ||
10737 | 2006-11-03 Steven Munroe <sjmunroe@us.ibm.com> | |
10738 | ||
10739 | * sysdeps/powerpc/fpu/bits/mathinline.h | |
10740 | [__LIBC_INTERNAL_MATH_INLINES]: Moved to ... | |
10741 | * sysdeps/powerpc/fpu/math_private.h: ...here. New file. | |
10742 | ||
10743 | 2006-11-05 Ulrich Drepper <drepper@redhat.com> | |
10744 | ||
10745 | * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): | |
10746 | Update handling of cache descriptor 0x49 for new models. | |
10747 | * sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_check_word): | |
10748 | Likewise. | |
10749 | ||
9666e36c UD |
10750 | 2006-11-02 Jakub Jelinek <jakub@redhat.com> |
10751 | ||
10752 | * malloc/memusage.c (dest): Reset not_me back to false after | |
10753 | printing statistics. | |
10754 | ||
11bf311e UD |
10755 | 2006-11-02 Ulrich Drepper <drepper@redhat.com> |
10756 | ||
10757 | * configure.in: Work around ld --help change and avoid -z relro | |
10758 | test completely if the architecture doesn't care about security. | |
10759 | ||
10760 | 2006-11-01 Ulrich Drepper <drepper@redhat.com> | |
10761 | ||
10762 | * po/sv.po: Update from translation team. | |
10763 | ||
10764 | 2006-10-31 Ulrich Drepper <drepper@redhat.com> | |
10765 | ||
10766 | * stdlib/atexit.c (atexit): Don't mark as hidden when used to | |
10767 | generate compatibility version. | |
10768 | ||
10769 | 2006-10-29 Ulrich Drepper <drepper@redhat.com> | |
10770 | ||
10771 | * configure.in: Relax -z relro requirement a bit. | |
10772 | ||
10773 | * po/sv.po: Update from translation team. | |
10774 | ||
10775 | 2006-10-29 Jakub Jelinek <jakub@redhat.com> | |
10776 | ||
10777 | * elf/dl-sym.c (do_sym): Use RTLD_SINGLE_THREAD_P. | |
10778 | * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise. | |
10779 | * elf/dl-close.c (_dl_close_worker): Likewise. | |
10780 | * elf/dl-open.c (_dl_open_worker): Likewise. | |
10781 | * sysdeps/generic/sysdep-cancel.h (RTLD_SINGLE_THREAD_P): Define. | |
10782 | ||
b2369ca3 UD |
10783 | 2006-10-27 Ulrich Drepper <drepper@redhat.com> |
10784 | ||
11bf311e UD |
10785 | * configure.in: Require assembler support for visibility, compiler |
10786 | support for visibility and aliases, linker support for various -z | |
10787 | options. | |
10788 | * Makeconfig: Remove conditional code which now is unnecessary. | |
10789 | * config.h.in: Likewise. | |
10790 | * config.make.in: Likewise. | |
10791 | * dlfcn/Makefile: Likewise. | |
10792 | * elf/Makefile: Likewise. | |
10793 | * elf/dl-load.c: Likewise. | |
10794 | * elf/rtld.c: Likewise. | |
10795 | * include/libc-symbols.h: Likewise. | |
10796 | * include/stdio.h: Likewise. | |
10797 | * io/Makefile: Likewise. | |
10798 | * io/fstat.c: Likewise. | |
10799 | * io/fstat64.c: Likewise. | |
10800 | * io/fstatat.c: Likewise. | |
10801 | * io/fstatat64.c: Likewise. | |
10802 | * io/lstat.c: Likewise. | |
10803 | * io/lstat64.c: Likewise. | |
10804 | * io/mknod.c: Likewise. | |
10805 | * io/mknodat.c: Likewise. | |
10806 | * io/stat.c: Likewise. | |
10807 | * io/stat64.c: Likewise. | |
10808 | * libio/stdio.c: Likewise. | |
10809 | * nscd/Makefile: Likewise. | |
10810 | * stdlib/Makefile: Likewise. | |
10811 | * stdlib/atexit.c: Likewise. | |
10812 | * sysdeps/generic/ldsodefs.h: Likewise. | |
10813 | * sysdeps/i386/dl-machine.h: Likewise. | |
10814 | * sysdeps/i386/sysdep.h: Likewise. | |
10815 | * sysdeps/i386/i686/memcmp.S: Likewise. | |
10816 | * sysdeps/powerpc/powerpc32/sysdep.h: Likewise. | |
10817 | * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. | |
10818 | * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise. | |
10819 | ||
10820 | * Makerules: USE_TLS support is now default. | |
10821 | * tls.make.c: Likewise. | |
10822 | * csu/Versions: Likewise. | |
10823 | * csu/libc-start.c: Likewise. | |
10824 | * csu/libc-tls.c: Likewise. | |
10825 | * csu/version.c: Likewise. | |
10826 | * dlfcn/dlinfo.c: Likewise. | |
10827 | * elf/dl-addr.c: Likewise. | |
10828 | * elf/dl-cache.c: Likewise. | |
10829 | * elf/dl-close.c: Likewise. | |
10830 | * elf/dl-iteratephdr.c: Likewise. | |
10831 | * elf/dl-load.c: Likewise. | |
10832 | * elf/dl-lookup.c: Likewise. | |
10833 | * elf/dl-object.c: Likewise. | |
10834 | * elf/dl-open.c: Likewise. | |
10835 | * elf/dl-reloc.c: Likewise. | |
10836 | * elf/dl-support.c: Likewise. | |
10837 | * elf/dl-sym.c: Likewise. | |
10838 | * elf/dl-sysdep.c: Likewise. | |
10839 | * elf/dl-tls.c: Likewise. | |
10840 | * elf/ldconfig.c: Likewise. | |
10841 | * elf/rtld.c: Likewise. | |
10842 | * elf/tst-tls-dlinfo.c: Likewise. | |
10843 | * elf/tst-tls1.c: Likewise. | |
10844 | * elf/tst-tls10.h: Likewise. | |
10845 | * elf/tst-tls14.c: Likewise. | |
10846 | * elf/tst-tls2.c: Likewise. | |
10847 | * elf/tst-tls3.c: Likewise. | |
10848 | * elf/tst-tls4.c: Likewise. | |
10849 | * elf/tst-tls5.c: Likewise. | |
10850 | * elf/tst-tls6.c: Likewise. | |
10851 | * elf/tst-tls7.c: Likewise. | |
10852 | * elf/tst-tls8.c: Likewise. | |
10853 | * elf/tst-tls9.c: Likewise. | |
10854 | * elf/tst-tlsmod1.c: Likewise. | |
10855 | * elf/tst-tlsmod13.c: Likewise. | |
10856 | * elf/tst-tlsmod13a.c: Likewise. | |
10857 | * elf/tst-tlsmod14a.c: Likewise. | |
10858 | * elf/tst-tlsmod2.c: Likewise. | |
10859 | * elf/tst-tlsmod3.c: Likewise. | |
10860 | * elf/tst-tlsmod4.c: Likewise. | |
10861 | * elf/tst-tlsmod5.c: Likewise. | |
10862 | * elf/tst-tlsmod6.c: Likewise. | |
10863 | * include/errno.h: Likewise. | |
10864 | * include/link.h: Likewise. | |
10865 | * include/tls.h: Likewise. | |
10866 | * locale/global-locale.c: Likewise. | |
10867 | * locale/localeinfo.h: Likewise. | |
10868 | * malloc/arena.c: Likewise. | |
10869 | * malloc/hooks.c: Likewise. | |
10870 | * malloc/malloc.c: Likewise. | |
10871 | * resolv/Versions: Likewise. | |
10872 | * sysdeps/alpha/dl-machine.h: Likewise. | |
10873 | * sysdeps/alpha/libc-tls.c: Likewise. | |
10874 | * sysdeps/generic/ldsodefs.h: Likewise. | |
10875 | * sysdeps/generic/tls.h: Likewise. | |
10876 | * sysdeps/i386/dl-machine.h: Likewise. | |
10877 | * sysdeps/ia64/dl-machine.h: Likewise. | |
10878 | * sysdeps/ia64/libc-tls.c: Likewise. | |
10879 | * sysdeps/mach/hurd/fork.c: Likewise. | |
10880 | * sysdeps/mach/hurd/i386/tls.h: Likewise. | |
10881 | * sysdeps/powerpc/powerpc32/dl-machine.c: Likwise. | |
10882 | * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise. | |
10883 | * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise. | |
10884 | * sysdeps/s390/libc-tls.c: Likewise. | |
10885 | * sysdeps/s390/s390-32/dl-machine.h: Likewise. | |
10886 | * sysdeps/s390/s390-64/dl-machine.h: Likewise. | |
10887 | * sysdeps/sh/dl-machine.h: Likewise. | |
10888 | * sysdeps/sparc/sparc32/dl-machine.h: Likewise. | |
10889 | * sysdeps/sparc/sparc64/dl-machine.h: Likewise. | |
10890 | * sysdeps/x86_64/dl-machine.h: Likewise. | |
10891 | ||
131c4428 UD |
10892 | * elf/dl-close.c (_dl_close_worker): Renamed from _dl_close and |
10893 | split out locking and parameter checking. | |
10894 | (_dl_close): Call _dl_close_worker after locking and checking. | |
10895 | * elf/dl-open.c (_dl_open): Call _dl_close_worker instead of | |
10896 | _dl_close. | |
ffd0e1b7 UD |
10897 | * elf/Makefile: Add rules to build and run tst-thrlock. |
10898 | * elf/tst-thrlock.c: New file. | |
131c4428 | 10899 | |
11bf311e UD |
10900 | [BZ #3426] |
10901 | * stdlib/stdlib.h: Adjust comment for canonicalize_file_name to | |
10902 | reality. | |
10903 | ||
b2369ca3 UD |
10904 | [BZ #3429] |
10905 | * elf/dl-open.c (dl_open_worker): Keep holding dl_load_lock until | |
131c4428 | 10906 | we are sure we do not need it anymore for _dl_close. Also move |
b2369ca3 UD |
10907 | the asserts inside the lock region. |
10908 | Patch mostly by Suzuki <suzuki@in.ibm.com>. | |
10909 | ||
11bf311e UD |
10910 | 2006-10-27 Jakub Jelinek <jakub@redhat.com> |
10911 | ||
10912 | * elf/dl-lookup.c (_dl_debug_bindings): Remove unused symbol_scope | |
10913 | argument. | |
10914 | (_dl_lookup_symbol_x): Adjust caller. | |
10915 | ||
10916 | * sysdeps/generic/ldsodefs.h (struct link_namespaces): Remove | |
10917 | _ns_global_scope. | |
10918 | * elf/rtld.c (dl_main): Don't initialize _ns_global_scope. | |
10919 | ||
10920 | * elf/dl-libc.c: Revert l_scope name changes. | |
10921 | * elf/dl-load.c: Likewise. | |
10922 | * elf/dl-object.c: Likewise. | |
10923 | * elf/rtld.c: Likewise. | |
10924 | * elf/dl-close.c (_dl_close): Likewise. | |
10925 | * elf/dl-open.c (dl_open_worker): Likewise. If not SINGLE_THREAD_P, | |
10926 | always use __rtld_mrlock_{change,done}. Always free old scope list | |
10927 | here if not l_scope_mem. | |
10928 | * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Revert l_scope name | |
10929 | change. Never free scope list here. Just __rtld_mrlock_lock before | |
10930 | the lookup and __rtld_mrlock_unlock it after the lookup. | |
10931 | * elf/dl-sym.c: Likewise. | |
10932 | * include/link.h (struct r_scoperec): Remove. | |
10933 | (struct link_map): Replace l_scoperec with l_scope, l_scoperec_mem | |
10934 | with l_scope_mem and l_scoperec_lock with l_scope_lock. | |
10935 | ||
10936 | 2006-10-25 Ulrich Drepper <drepper@redhat.com> | |
10937 | ||
10938 | * sysdeps/gnu/netinet/tcp.h: Define TCP_CONGESTION. | |
10939 | ||
10940 | 2006-10-18 Ulrich Drepper <drepper@redhat.com> | |
10941 | ||
10942 | * configure.in: Disable building profile libraries by default. | |
10943 | ||
609cf614 UD |
10944 | 2006-10-17 Jakub Jelinek <jakub@redhat.com> |
10945 | ||
10946 | * sunrpc/xdr_mem.c (xdrmem_setpos): Don't compare addresses | |
10947 | as signed longs, check for x_base + pos overflow. | |
10948 | * sunrpc/Makefile (tests): Add tst-xdrmem2. | |
10949 | * sunrpc/tst-xdrmem2.c: New test. | |
10950 | ||
11bf311e UD |
10951 | 2006-10-18 Ulrich Drepper <drepper@redhat.com> |
10952 | ||
10953 | * elf/dl-lookup.c (_dl_lookup_symbol_x): Add warning to | |
10954 | _dl_lookup_symbol_x code. | |
10955 | ||
10956 | 2006-10-17 Jakub Jelinek <jakub@redhat.com> | |
10957 | ||
10958 | * elf/dl-runtime.c: Include sysdep-cancel.h. | |
10959 | (_dl_fixup, _dl_profile_fixup): Use __rtld_mrlock_* and | |
10960 | scoperec->nusers only if !SINGLE_THREAD_P. Use atomic_* | |
10961 | instead of catomic_* macros. | |
10962 | * elf/dl-sym.c: Include sysdep-cancel.h. | |
10963 | (do_sym): Use __rtld_mrlock_* and scoperec->nusers only | |
10964 | if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros. | |
10965 | * elf/dl-close.c: Include sysdep-cancel.h. | |
10966 | (_dl_close): Use __rtld_mrlock_* and scoperec->nusers only | |
10967 | if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros. | |
10968 | * elf/dl-open.c: Include sysdep-cancel.h. | |
10969 | (dl_open_worker): Use __rtld_mrlock_* and scoperec->nusers only | |
10970 | if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros. | |
10971 | ||
10972 | 2006-10-17 Jakub Jelinek <jakub@redhat.com> | |
10973 | ||
10974 | [BZ #3313] | |
10975 | * malloc/malloc.c (malloc_consolidate): Set maxfb to address of last | |
10976 | fastbin rather than end of fastbin array. | |
10977 | ||
10978 | 2006-10-18 Ulrich Drepper <drepper@redhat.com> | |
10979 | ||
10980 | * sysdeps/i386/i486/bits/atomic.h (catomic_decrement): Use correct | |
10981 | body macro. | |
10982 | * sysdeps/x86_64/bits/atomic.h | |
10983 | (__arch_c_compare_and_exchange_val_64_acq): Add missing casts. | |
10984 | (catomic_decrement): Use correct body macro. | |
10985 | ||
10986 | 2006-10-17 Jakub Jelinek <jakub@redhat.com> | |
10987 | ||
10988 | * include/atomic.h: Add a unique prefix to all local variables | |
10989 | in macros. | |
10990 | * csu/tst-atomic.c (do_test): Test also catomic_* macros. | |
10991 | ||
4a85a8ee UD |
10992 | 2006-10-16 Ulrich Drepper <drepper@redhat.com> |
10993 | ||
10994 | [BZ #3369] | |
10995 | * sysdeps/posix/getaddrinfo.c (rfc3484_sort): Fix typos in rules 4 | |
10996 | and 7. | |
10997 | ||
11bf311e UD |
10998 | 2006-10-14 Ulrich Drepper <drepper@redhat.com> |
10999 | ||
11000 | * resolv/arpa/nameser.h: Document that ns_t_a6 is deprecated. | |
11001 | ||
ff8d96be UD |
11002 | 2006-10-13 Ulrich Drepper <drepper@redhat.com> |
11003 | ||
11bf311e UD |
11004 | [BZ #3313] |
11005 | * malloc/malloc.c (malloc_consolidate): Don't use get_fast_max to | |
11006 | determine highest fast bin to consolidate, always look into all of | |
11007 | them. | |
11008 | (do_check_malloc_state): Only require for empty bins for large | |
11009 | sizes in main arena. | |
11010 | ||
11011 | * libio/stdio.h: Add more __wur attributes. | |
11012 | ||
ff8d96be UD |
11013 | * elf/dl-minimal.c (realloc): Optimize last patch. |
11014 | ||
90a0991a UD |
11015 | 2006-10-12 Richard Sandiford <richard@codesourcery.com> |
11016 | ||
11017 | [BZ #3352] | |
11018 | * elf/dl-minimal.c (realloc): Let malloc() return a new pointer, | |
11019 | and use memcpy() if it does. | |
ff8d96be | 11020 | |
11bf311e UD |
11021 | 2006-11-12 Andreas Jaeger <aj@suse.de> |
11022 | ||
11023 | [BZ #2510] | |
11024 | * manual/search.texi (Hash Search Function): Clarify. | |
11025 | (Array Search Function): Clarify. | |
11026 | ||
11027 | 2006-11-12 Joseph Myers <joseph@codesourcery.com> | |
11028 | ||
11029 | [BZ #2830] | |
11030 | * math/atest-exp.c (main): Cast hex value to mp_limb_t before | |
11031 | shifting. | |
11032 | * math/atest-exp2.c (read_mpn_hex): Likewise. | |
11033 | * math/atest-sincos.c (main): Likewise. | |
11034 | ||
37fb7595 UD |
11035 | 2006-10-11 Ulrich Drepper <drepper@redhat.com> |
11036 | ||
11bf311e UD |
11037 | * sysdeps/unix/sysv/linux/syscalls.list: Add epoll_pwait. |
11038 | * sysdeps/unix/sysv/linux/sys/epoll.h: Declare epoll_pwait. | |
11039 | * sysdeps/unix/sysv/linux/Versions (libc): Add epoll_pwait for | |
11040 | version GLIBC_2.6. | |
11041 | * Versions.def: Add GLIBC_2.6 for libc. | |
11042 | ||
46c38bd7 UD |
11043 | * sysdeps/unix/sysv/linux/i386/sysdep.h (DOARGS_6): Fix offset. |
11044 | ||
11bf311e UD |
11045 | * sysdeps/i386/i486/bits/atomic.h: Add catomic_* support. |
11046 | ||
11047 | 2006-10-11 Jakub Jelinek <jakub@redhat.com> | |
11048 | ||
11049 | * malloc/malloc.c (_int_malloc): Remove unused any_larger variable. | |
11050 | ||
11051 | * nis/nis_defaults.c (__nis_default_access): Don't call getenv twice. | |
11052 | ||
11053 | * nis/nis_subr.c (nis_getnames): Use __secure_getenv instead of getenv. | |
11054 | * sysdeps/generic/unsecvars.h: Add NIS_PATH. | |
11055 | ||
11056 | 2006-10-11 Ulrich Drepper <drepper@redhat.com> | |
11057 | ||
11058 | * include/atomic.c: Define catomic_* operations. | |
11059 | * sysdeps/x86_64/bits/atomic.h: Likewise. Fix a few minor problems. | |
11060 | * stdlib/cxa_finalize.c: Use catomic_* operations instead of atomic_*. | |
11061 | * malloc/memusage.c: Likewise. | |
11062 | * gmon/mcount.c: Likewise. | |
11063 | * elf/dl-close.c: Likewise. | |
11064 | * elf/dl-open.c: Likewise. | |
11065 | * elf/dl-profile.c: Likewise. | |
11066 | * elf/dl-sym.c: Likewise. | |
11067 | * elf/dl-runtime.c: Likewise. | |
11068 | * elf/dl-fptr.c: Likewise. | |
11069 | * resolv/res_libc.c: Likewise. | |
11070 | ||
2a6ee549 UD |
11071 | 2006-10-10 Ulrich Drepper <drepper@redhat.com> |
11072 | ||
11073 | * nis/nis_subr.c (nis_getnames): Add trailing dot to NIS_PATH | |
11074 | components which lack them. | |
11075 | ||
11076 | * nis/nis_subr.c (nis_getnames): Make sure that we always return | |
11077 | at least one entry consisting of the parameter concatenated with | |
11078 | the domain. | |
11079 | ||
11bf311e | 11080 | 2006-10-10 Roland McGrath <roland@frob.com> |
c4f9fc3a | 11081 | |
11bf311e UD |
11082 | * sysdeps/mach/hurd/utimes.c: Use a union to avoid an improper cast. |
11083 | * sysdeps/mach/hurd/futimes.c: Likewise. | |
11084 | * sysdeps/mach/hurd/lutimes.c: Likewise. | |
11085 | ||
11086 | 2006-10-09 Ulrich Drepper <drepper@redhat.com> | |
11087 | Jakub Jelinek <jakub@redhat.com> | |
11088 | ||
11089 | Implement reference counting of scope records. | |
11090 | * elf/dl-close.c (_dl_close): Remove all scopes from removed objects | |
11091 | from the list in objects which remain. Always allocate new scope | |
11092 | record. | |
11093 | * elf/dl-open.c (dl_open_worker): When growing array for scopes, | |
11094 | don't resize, allocate a new one. | |
11095 | * elf/dl-runtime.c: Update reference counters before using a scope | |
11096 | array. | |
11097 | * elf/dl-sym.c: Likewise. | |
11098 | * elf/dl-libc.c: Adjust for l_scope name change. | |
11099 | * elf/dl-load.c: Likewise. | |
11100 | * elf/dl-object.c: Likewise. | |
11101 | * elf/rtld.c: Likewise. | |
11102 | * include/link.h: Include <rtld-lowlevel.h>. Define struct | |
11103 | r_scoperec. Replace r_scope with pointer to r_scoperec structure. | |
11104 | Add l_scoperec_lock. | |
11105 | * sysdeps/generic/ldsodefs.h: Include <rtld-lowlevel.h>. | |
11106 | * sysdeps/generic/rtld-lowlevel.h: New file. | |
11107 | ||
11108 | * include/atomic.h: Rename atomic_and to atomic_and_val and | |
11109 | atomic_or to atomic_or_val. Define new macros atomic_and and | |
11110 | atomic_or which do not return values. | |
11111 | * sysdeps/x86_64/bits/atomic.h: Define atomic_and and atomic_or. | |
11112 | Various cleanups. | |
11113 | * sysdeps/i386/i486/bits/atomic.h: Likewise. | |
11114 | ||
11115 | * po/sv.po: Update from translation team. | |
11116 | ||
11117 | 2006-10-07 Ulrich Drepper <drepper@redhat.com> | |
11118 | ||
11119 | * Versions.def: Add GLIBC_2.6 to libpthread. | |
11120 | ||
11121 | * include/shlib-compat.h (SHLIB_COMPAT): Expand parameters before use. | |
11122 | (versioned_symbol): Likewise. | |
11123 | (compat_symbol): Likewise. | |
11124 | ||
11125 | * po/tr.po: Update from translation team. | |
feb87ad1 | 11126 | |
4df92d57 UD |
11127 | 2006-10-06 Ulrich Drepper <drepper@redhat.com> |
11128 | ||
11bf311e UD |
11129 | * nis/Banner: Removed. It's been integral part forever and the |
11130 | author info is incomplete anyway. | |
11131 | * libio/Banner: Likewise. | |
11132 | ||
4df92d57 UD |
11133 | * nis/nis_table.c (nis_list): If __follow_path fails in the new |
11134 | code, make sure the nis_freeresult call doesn't crash and that the | |
11135 | result is reported correctly. | |
11136 | ||
68361572 UD |
11137 | 2006-09-27 Jakub Jelinek <jakub@redhat.com> |
11138 | ||
11139 | * nis/nis_table.c (nis_list): Handle FOLLOW_PATH | ALL_RESULTS | |
11140 | when callback is NULL. | |
11141 | ||
11142 | * nis/Versions (libnss_nisplus): Add | |
11143 | _nss_nisplus_initgroups_dyn@@GLIBC_PRIVATE. | |
11144 | * nis/Makefile (libnss_nisplus-routines): Add nisplus-initgroups. | |
11145 | * nis/nss_nisplus/nisplus-grp.c (tablename_val, tablename_len, | |
11146 | _nss_create_tablename): Rename to... | |
11147 | (grp_tablename_val, grp_tablename_len, _nss_grp_create_tablename): | |
11148 | ... these. No longer static. | |
11149 | (internal_setgrent): Adjust users. | |
11150 | (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise. | |
11151 | Don't use locking around _nss_grp_create_tablename call. | |
11152 | * nis/nss_nisplus/nisplus-initgroups.c: New file. | |
11153 | ||
11bf311e UD |
11154 | 2006-10-06 Ulrich Drepper <drepper@redhat.com> |
11155 | ||
11156 | * version.h (VERSION): Bump to 2.5.90 for new development tree. | |
11157 | ||
3a4e0609 UD |
11158 | 2006-10-06 Andreas Jaeger <aj@suse.de> |
11159 | ||
11160 | * include/features.h (__GLIBC_MINOR__): It's glibc 2.5 now. | |
11161 | ||
11162 | 2006-10-06 Ulrich Drepper <drepper@redhat.com> | |
11163 | ||
11164 | * po/pl.po: Update from translation team. | |
11165 | ||
11166 | * nscd/nscd.c (main): Fix typo in message. | |
11167 | Patch by Jakub Bogsz <qboosh@pld-linux.org>. | |
11168 | ||
97e57dee UD |
11169 | 2006-10-02 Jakub Jelinek <jakub@redhat.com> |
11170 | ||
11171 | [BZ #3291] | |
11172 | * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Include | |
11173 | errno.h, signal.h, unistd.h and sysdep-cancel.h. | |
11174 | (__sigprocmask): Define. | |
11175 | ||
768027a4 UD |
11176 | 2006-10-02 Ulrich Drepper <drepper@redhat.com> |
11177 | ||
11178 | * elf/rtld.c (dl_main): Don't use prelinking if LD_DYNAMIC_WEAK is | |
11179 | used. | |
11180 | ||
0b25a49a UD |
11181 | 2006-10-02 Jakub Jelinek <jakub@redhat.com> |
11182 | ||
11183 | * nscd/mem.c (mempool_alloc): Round array size to 16 bytes | |
11184 | in oldtotal and newtotal calculation. | |
11185 | * nscd/nscd-client.h (struct mapped_database): Add datasize | |
11186 | field. | |
11187 | * nscd/nscd_helper.c (get_mapping): Initialize datasize field. | |
11188 | (__nscd_get_map_ref): Get a new mapping even if mapping's data_size | |
11189 | increased. | |
11190 | (__nscd_cache_search): Add checks to make sure we never reference | |
11191 | data beyond the current mapping. | |
11192 | ||
a1286745 UD |
11193 | 2006-10-02 Dmitry V. Levin <ldv@altlinux.org> |
11194 | ||
d4ed7561 UD |
11195 | * sysdeps/posix/getaddrinfo.c (match_prefix): Make mask and val |
11196 | variables const to avoid compiler warnings. | |
11197 | ||
a1286745 UD |
11198 | * io/fts.c (fts_close): Remove redundant checks. |
11199 | (fts_build): Likewise. | |
11200 | (fts_palloc): Likewise. | |
11201 | ||
11202 | * manual/message.texi (Advanced gettext functions, | |
11203 | Using gettextized software): Fix typos. | |
11204 | ||
f01e4069 UD |
11205 | 2006-09-30 Ulrich Drepper <drepper@redhat.com> |
11206 | ||
11207 | * posix/glob.c (glob_in_dir): Add some comments and asserts to | |
11208 | explain why there are no leaks. | |
11209 | ||
154619b5 UD |
11210 | 2006-09-29 Ulrich Drepper <drepper@redhat.com> |
11211 | ||
690c3947 UD |
11212 | * libio/wmemstream.c: Include <wchar.h>. |
11213 | * libio/bug-wmemstream1.c: Likewise. | |
11214 | * libio/tst-wmemstream1.c: Likewise. | |
11215 | * libio/tst-wmemstream2.c: Likewise. | |
11216 | ||
88cc61e8 UD |
11217 | * version.h (RELEASE): Bump to 2.5. |
11218 | * README: Regenerated. | |
11219 | ||
a70c18b0 UD |
11220 | * locale/iso-3166.def: Add Aaland Islands and Montenegro. |
11221 | ||
154619b5 UD |
11222 | [BZ #3273] |
11223 | * nscd/nscd_initgroups.c (__nscd_getgrouplist): It is OK to have | |
11224 | found no group members. | |
11225 | Patch by Petr Baudis. | |
11226 | ||
11227 | 2006-09-29 Jakub Jelinek <jakub@redhat.com> | |
11228 | ||
11229 | * elf/rtld.c (_dl_start_final): If not USE___THREAD, don't | |
11230 | assert bootstrap_map.l_tls_modid is zero. | |
11231 | (_dl_start): Initialize bootstrap_map.l_tls_modid to 0 | |
11232 | if USE___THREAD. | |
11233 | ||
1c31aa79 UD |
11234 | 2006-09-27 Ulrich Drepper <drepper@redhat.com> |
11235 | ||
11236 | * libio/stdio.h: Move open_wmemstream prototype to ... | |
11237 | * wcsmbs/wchar.h: ... here. | |
11238 | ||
f1122ec3 UD |
11239 | 2006-09-25 Jakub Jelinek <jakub@redhat.com> |
11240 | ||
11241 | [BZ #3252] | |
11242 | * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Handle only | |
11243 | fchownat syscall and __ASSUME_LCHOWN_SYSCALL case inline, call | |
11244 | __{,l}chown to handle the rest. | |
11245 | * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Handle only | |
11246 | fchownat syscall and __ASSUME_32BITUIDS case inline, call | |
11247 | __{,l}chown to handle the rest. | |
11248 | * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Include | |
11249 | i386/fchownat.c. | |
11250 | * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Likewise. | |
11251 | * sysdeps/unix/sysv/linux/sh/fchownat.c: Likewise. | |
11252 | ||
11253 | [BZ #3253] | |
11254 | * posix/glob.c (glob_in_dir): Don't alloca one struct globlink at a | |
11255 | time, rather allocate increasingly bigger arrays of pointers, if | |
11256 | possible with alloca, if too large with malloc. | |
11257 | ||
11258 | 2006-09-24 Jakub Jelinek <jakub@redhat.com> | |
11259 | ||
11260 | * sysdeps/powerpc/fpu/libm-test-ulps: Updated. | |
11261 | ||
11262 | * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Fix 2 typos. | |
11263 | ||
457b559e UD |
11264 | 2006-09-24 Ulrich Drepper <drepper@redhat.com> |
11265 | ||
11266 | * sysdeps/posix/getaddrinfo.c (rfc3484_sort): Implement rule 4, | |
11267 | home addresses. | |
11268 | * sysdeps/unix/sysv/linux/check_pf.c (make_request): Recognize | |
11269 | IFA_F_HOMEADDRESS flag for interfaces. | |
11270 | * include/ifaddrs.h (struct in6addrinfo): Define | |
11271 | in6ai_homeaddress. | |
11272 | ||
4a132246 UD |
11273 | 2006-09-21 Jakub Jelinek <jakub@redhat.com> |
11274 | ||
11275 | [BZ #3225] | |
11276 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (PTR_MANGLE3, | |
11277 | PTR_DEMANGLE3): Define. | |
11278 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (PTR_MANGLE3, | |
11279 | PTR_DEMANGLE3): Likewise. | |
11280 | * sysdeps/powerpc/powerpc32/__longjmp-common.S (__longjmp): Use them. | |
11281 | * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): | |
11282 | Likewise. | |
11283 | * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise. | |
11284 | ||
c69136ae UD |
11285 | 2006-09-20 Jakub Jelinek <jakub@redhat.com> |
11286 | ||
11287 | * po/libc.pot: Regenerated. | |
11288 | * po/be.po: Updated. | |
11289 | * po/ca.po: Likewise. | |
11290 | * po/cs.po: Likewise. | |
11291 | * po/da.po: Likewise. | |
11292 | * po/de.po: Likewise. | |
11293 | * po/el.po: Likewise. | |
11294 | * po/en_GB.po: Likewise. | |
11295 | * po/es.po: Likewise. | |
11296 | * po/fi.po: Likewise. | |
11297 | * po/fr.po: Likewise. | |
11298 | * po/gl.po: Likewise. | |
11299 | * po/hr.po: Likewise. | |
11300 | * po/hu.po: Likewise. | |
11301 | * po/ja.po: Likewise. | |
11302 | * po/ko.po: Likewise. | |
11303 | * po/nb.po: Likewise. | |
11304 | * po/nl.po: Likewise. | |
11305 | * po/pl.po: Likewise. | |
11306 | * po/pt_BR.po: Likewise. | |
11307 | * po/ru.po: Likewise. | |
11308 | * po/rw.po: Likewise. | |
11309 | * po/sk.po: Likewise. | |
11310 | * po/sv.po: Likewise. | |
11311 | * po/tr.po: Likewise. | |
11312 | * po/zh_CN.po: Likewise. | |
11313 | * po/zh_TW.po: Likewise. | |
11314 | ||
11315 | [BZ #3137] | |
11316 | * iconv/iconv_prog.c (main): Fix spelling in error message. | |
11317 | * iconv/iconvconfig.c (main): Likewise. | |
11318 | * locale/programs/ld-collate.c (handle_ellipsis): Likewise. | |
11319 | * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Likewise. | |
11320 | * locale/programs/localedef.c (main): Likewise. | |
11321 | * locale/programs/repertoire.c (repertoire_read): Likewise. | |
11322 | * timezone/zdump.c (main): Likewise. | |
11323 | * nscd/connections.c (handle_request): Fix spelling in log message. | |
11324 | Patch by Malcolm Parsons <malcolm.parsons@gmail.com>. | |
11325 | ||
83b3108c UD |
11326 | 2006-09-20 Ulrich Drepper <drepper@redhat.com> |
11327 | ||
11328 | * inet/inet6_option.c: Also emit linker warnings for the RFC 2292 | |
11329 | interfaces. | |
11330 | ||
89210b4c AJ |
11331 | 2006-09-20 Andreas Jaeger <aj@suse.de> |
11332 | ||
11333 | * math/libm-test.inc (lrint_test_upward): Fix typo. | |
11334 | ||
6624dbc0 UD |
11335 | 2006-06-17 Joseph S. Myers <joseph@codesourcery.com> |
11336 | ||
11337 | [BZ #2592] | |
11338 | * math/libm-test.inc (lrint_test_tonearest): New function. | |
11339 | (lrint_test_towardzero): New function. | |
11340 | (lrint_test_downward): New function. | |
11341 | (lrint_test_upward): New function. | |
11342 | (main): Run these new tests. | |
11343 | * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Correct rounding | |
11344 | of values near to 0. | |
11345 | (two52): Use double not long double. | |
11346 | * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise. | |
11347 | * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise. | |
11348 | (two23): Use float not double. | |
11349 | * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise. | |
11350 | (two23): Use float not double. | |
11351 | * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise. | |
11352 | * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise. | |
11353 | * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise. | |
11354 | * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise. | |
11355 | ||
60cb50c7 UD |
11356 | 2006-09-20 Martin Schwidefsky <schwidefsky@de.ibm.com> |
11357 | ||
11358 | * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c (__makecontext): | |
11359 | Cast sp to unsigned long to avoid compiler warning. | |
11360 | Use __makecontext_ret function instead of a trampoline on the stack. | |
11361 | (__makecontext_ret): New function. | |
11362 | * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Likewise. | |
11363 | ||
33315ced UD |
11364 | 2006-09-19 Jakub Jelinek <jakub@redhat.com> |
11365 | ||
11366 | * elf/dl-cache.c (HWCAP_CHECK): If _DL_PLATFORMS_COUNT, but | |
11367 | platform == -1, reject any libs with non-zero _DL_HWCAP_PLATFORM | |
11368 | bits. | |
11369 | ||
1ee2ff20 UD |
11370 | 2006-09-19 Ulrich Drepper <drepper@redhat.com> |
11371 | ||
11372 | * elf/dl-close.c (_dl_close): If dependency is not unloaded make | |
11373 | sure no reference to the unloaded map's search list remains in the | |
11374 | dependency's scope. | |
11375 | ||
11376 | 2006-09-16 Jakub Jelinek <jakub@redhat.com> | |
11377 | ||
11378 | * elf/Makefile: Add rules to build and run unload7 test. | |
11379 | * elf/unload7.c: New test. | |
11380 | * elf/unload7mod1.c: New file. | |
11381 | * elf/unload7mod2.c: New file. | |
11382 | ||
0466106e UD |
11383 | 2006-09-18 Jakub Jelinek <jakub@redhat.com> |
11384 | ||
11385 | * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_GETEVENTMSG): Fix pasto. | |
11386 | * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_SETOPTIONS, | |
11387 | PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Define. | |
11388 | * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_SETOPTIONS, | |
11389 | PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Likewise. | |
11390 | * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_SETOPTIONS, | |
11391 | PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Likewise. | |
11392 | * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_SETOPTIONS, | |
11393 | PTRACE_GETEVENTMSG): Likewise. | |
11394 | (PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Change to the arch independent | |
11395 | values. | |
11396 | ||
9c316a45 UD |
11397 | 2006-09-17 Mike Frysinger <vapier@gentoo.org> |
11398 | ||
0466106e UD |
11399 | * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SETOPTIONS, |
11400 | PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Define. | |
11401 | * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Check PTRACE_SETOPTIONS, | |
11402 | PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO and PTRACE_SETSIGINFO. | |
9c316a45 UD |
11403 | |
11404 | 2006-09-16 Jakub Jelinek <jakub@redhat.com> | |
11405 | ||
11406 | * sysdeps/powerpc/powerpc32/register-dump.h (register_dump): Don't | |
11407 | write '\0' to the fd. | |
11408 | * sysdeps/mach/hurd/powerpc/register-dump.h (register_dump): Likewise. | |
11409 | * sysdeps/powerpc/powerpc64/register-dump.h (register_dump): Likewise. | |
11410 | Change regs to unsigned long pointer from unsigned int, fix fscr | |
11411 | offset. | |
11412 | ||
fb146a76 UD |
11413 | 2006-09-14 Jakub Jelinek <jakub@redhat.com> |
11414 | ||
11415 | * io/Makefile (CFLAGS-fstatat.c): Set. | |
11416 | (CFLAGS-fstatat64.c): Likewise. | |
11417 | (CFLAGS-mknodat.c): Likewise. | |
11418 | ||
11419 | * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Comment fixes. | |
11420 | * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise. | |
11421 | * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Rewritten. | |
11422 | * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Rewritten. | |
11423 | ||
4cd3633d UD |
11424 | 2006-09-14 Jakub Jelinek <jakub@redhat.com> |
11425 | Steven Munroe <sjmunroe@us.ibm.com> | |
fb146a76 | 11426 | |
4cd3633d UD |
11427 | * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add 4 new cap |
11428 | names to the beginning. Rename "cell" to "cellbe". | |
11429 | (_dl_powerpc_platforms): New. | |
11430 | * sysdeps/powerpc/dl-procinfo.h (_DL_HWCAP_FIRST): Decrease. | |
11431 | (HWCAP_IMPORTANT): Remove power{4,5,5+} and cell. | |
11432 | (_DL_PLATFORMS_COUNT, _DL_FIRST_PLATFORM): Define. | |
11433 | (_DL_HWCAP_PLATFORM): Define to new mask. | |
11434 | (_dl_platform_string, _dl_string_platform): New functions. | |
11435 | * sysdeps/powerpc/sysdep.h (PPC_FEATURE_BOOKE, PPC_FEATURE_SMT, | |
11436 | PPC_FEATURE_ICACHE_SNOOP, PPC_FEATURE_ARCH_2_05): Define. | |
11437 | ||
30aa5785 UD |
11438 | 2006-09-12 Jakub Jelinek <jakub@redhat.com> |
11439 | ||
11440 | [BZ #2526] | |
11441 | * README.libm: Fix a thinko in sqrt algorithm description. | |
11442 | ||
11443 | [BZ #3143] | |
11444 | * manual/string.texi (argz_delete): Fix prototype. | |
11445 | Patch by <alpt@freaknet.org>. | |
11446 | ||
11447 | 2006-08-26 Joseph Myers <joseph@codesourcery.com> | |
11448 | ||
11449 | [BZ #3138] | |
11450 | * io/test-lfs.c (do_prepare): Give name_len type size_t. | |
11451 | * io/tst-fcntl.c (do_prepare): Likewise. | |
11452 | * posix/tst-exec.c (do_prepare): Likewise. | |
11453 | * posix/tst-preadwrite.c (do_prepare): Likewise. | |
11454 | * posix/tst-spawn.c (do_prepare): Likewise. | |
11455 | * posix/tst-truncate.c (do_prepare): Likewise. | |
11456 | * rt/tst-aio.c (do_prepare): Likewise. | |
11457 | * rt/tst-aio64.c (do_prepare): Likewise. | |
11458 | * stdlib/test-canon2.c (do_prepare): Give test_dir_len type | |
11459 | size_t. | |
11460 | ||
d26d01d1 UD |
11461 | 2006-09-09 Ulrich Drepper <drepper@redhat.com> |
11462 | ||
41aba3d7 UD |
11463 | [BZ #2821] |
11464 | * time/mktime.c (guess_time_tm): Fix overflow detection. | |
11465 | * time/Makefile (tests): Add bug-mktime1. | |
11466 | * time/bug-mktime1.c: New file. | |
11467 | ||
eaa51b47 | 11468 | [BZ #3189, #3188] |
d26d01d1 | 11469 | * misc/sys/mman.h (remap_file_pages): Make available for _GNU_SOURCE. |
eaa51b47 | 11470 | (mremap): Likewise. |
d26d01d1 | 11471 | |
ba40cc15 UD |
11472 | 2006-09-07 Jakub Jelinek <jakub@redhat.com> |
11473 | ||
2b6a801e UD |
11474 | [BZ #1006] |
11475 | * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): | |
11476 | Ensure relocation doesn't clobber any bits outside of the | |
11477 | immediate field for R_SPARC_TLS_LE_HIX22, R_SPARC_WDISP30, | |
11478 | R_SPARC_HI22 and R_SPARC_H44. | |
11479 | ||
469615bd UD |
11480 | [BZ #2775] |
11481 | * malloc/malloc.c (sYSMALLOc): Only call grow_heap if | |
11482 | (long) (MINSIZE + nb - old_size) is positive. | |
11483 | ||
11484 | * malloc/arena.c (grow_heap): When growing bail even if new_size | |
11485 | is negative. | |
11486 | ||
ba40cc15 UD |
11487 | [BZ #3155] |
11488 | * sysdeps/powerpc/powerpc32/fpu/s_lrint.S (__lrint): Don't access | |
11489 | stack below r1. | |
11490 | ||
243b9ac1 UD |
11491 | 2006-09-06 Jakub Jelinek <jakub@redhat.com> |
11492 | ||
ba40cc15 UD |
11493 | * posix/regex_internal.c (re_string_reconstruct): Handle |
11494 | offset < pstr->valid_raw_len && pstr->offsets_needed case. | |
11495 | Ensure no bytes read before raw_mbs array. Pass a saved copy of | |
11496 | pstr->valid_len - 1 rather than pstr->valid_raw_len - 1 to | |
11497 | re_string_context_at. | |
11498 | * posix/Makefile: Add rules to build and run bug-regex26 test. | |
11499 | * posix/bug-regex26.c: New test. | |
11500 | ||
243b9ac1 UD |
11501 | * locale/programs/ld-collate.c (collate_read): Goto sym_equiv_free |
11502 | rather than col_sym_free. Move seqp declaration earlier. | |
11503 | ||
11504 | * resolv/gai_suspend.c (gai_suspend): Make sure result is initialized. | |
11505 | ||
d052233c UD |
11506 | 2006-09-05 Jakub Jelinek <jakub@redhat.com> |
11507 | ||
11508 | * nscd/initgrcache.c (addinitgroupsX): Move any_success | |
11509 | decl before first goto out. | |
11510 | ||
71213dc2 UD |
11511 | 2006-09-04 Jakub Jelinek <jakub@redhat.com> |
11512 | ||
11513 | * Makerules (shlib.lds): If have-hash-style, put .hash section | |
11514 | at the end of the RO segment. | |
11515 | ||
11516 | 2006-09-04 Ulrich Drepper <drepper@redhat.com> | |
11517 | ||
11518 | * elf/do-lookup.h (do_lookup_x): Initialize symidx in case the new | |
11519 | style hash table format is used. | |
11520 | ||
03eeff83 UD |
11521 | 2006-09-04 Jakub Jelinek <jakub@redhat.com> |
11522 | ||
11523 | * resolv/res_mkquery.c (res_nmkquery): Set hp->id to statp->id after | |
11524 | randomization rather than before. | |
11525 | * resolv/res_init.c (res_randomid): Don't call gettimeofday here. | |
11526 | ||
b80770b2 UD |
11527 | 2006-08-31 Jakub Jelinek <jakub@redhat.com> |
11528 | ||
ba40cc15 | 11529 | * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Add ld.so. |
b80770b2 UD |
11530 | |
11531 | * malloc/malloc.c (_int_malloc): Use full list insert and not | |
11532 | shortcut which assumes the list is empty for large requests | |
11533 | too. | |
11534 | ||
11535 | * elf/tst-addr1.c (do_test): Allow i.dli_sname "_IO_printf". | |
11536 | ||
99ea5991 UD |
11537 | 2006-08-30 Jakub Jelinek <jakub@redhat.com> |
11538 | ||
11539 | * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (splice): Add offin | |
11540 | and offout arguments to the prototype. | |
11541 | * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (splice): Likewise. | |
11542 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (splice): Likewise. | |
11543 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (splice): Likewise. | |
11544 | * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (splice): Likewise. | |
11545 | * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (splice): Likewise. | |
11546 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (splice): Likewise. | |
11547 | * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (splice): Likewise. | |
11548 | * sysdeps/unix/sysv/linux/syscalls.list (splice): Adjust args string. | |
11549 | ||
4004a0a5 UD |
11550 | 2006-08-28 Ulrich Drepper <drepper@redhat.com> |
11551 | ||
950398e1 UD |
11552 | * elf/dl-load.c (_dl_init_paths): Expand DSTs. |
11553 | ||
4004a0a5 UD |
11554 | * elf/dl-open.c (dl_open_worker): Allow $LIB and $PLATFORM in |
11555 | dlopen parameters. | |
11556 | ||
6e310111 UD |
11557 | 2006-08-28 Jakub Jelinek <jakub@redhat.com> |
11558 | ||
11559 | * inet/getnameinfo.c (getnameinfo): For AF_INET, check errno | |
11560 | only if herrno is NETDB_INTERNAL. Handle errors other than | |
11561 | ERANGE outside of the loops, handle TRY_AGAIN. | |
11562 | ||
11563 | * locale/programs/ld-ctype.c (translit_flatten): Issue error | |
11564 | if other's ctype category was missing. | |
11565 | * locale/programs/ld-collate.c (collate_read): Return if | |
11566 | copy_locale's collate category is missing. | |
11567 | ||
07014fca UD |
11568 | 2006-08-27 Ulrich Drepper <drepper@redhat.com> |
11569 | ||
11570 | [BZ #2684] | |
11571 | * malloc/malloc.c (public_rEALLOc): Try harder by using other | |
11572 | arenas if allocation failed. | |
11573 | Patch mostly by Jan Edler <jan.edler@indexengines.com>. | |
11574 | ||
71663747 UD |
11575 | 2006-08-26 Ulrich Drepper <drepper@redhat.com> |
11576 | ||
41999a1a UD |
11577 | * malloc/malloc.c (bin_at): Rewrite to be more clear and to not |
11578 | waste bins[0..1]. | |
11579 | (malloc_state): Reduce bins size by 2. | |
11580 | (_int_malloc): Fix test for large enough buffer for early termination. | |
11581 | When no unsorted block matches perfectly and an exiting block has | |
11582 | to be split, use full list insert and not shortcut which assumes | |
11583 | the list is empty. | |
11584 | ||
71663747 UD |
11585 | * locale/programs/ld-ctype.c (ctype_read): Better patch for read |
11586 | failure. | |
11587 | ||
93b53ca2 UD |
11588 | 2006-08-24 Ulrich Drepper <drepper@redhat.com> |
11589 | ||
f5a82772 UD |
11590 | * locale/programs/ld-ctype.c (ctype_read): If CTYPE is NULL, don't |
11591 | do anything. | |
11592 | ||
2ac9ca73 UD |
11593 | * sysdeps/generic/ldsodefs.h (DL_ADDR_SYM_MATCH): For undefined |
11594 | symbol require exact match (these are PLTs). | |
11595 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h | |
11596 | (_dl_ppc64_addr_sym_match): Likewise. | |
11597 | ||
93b53ca2 UD |
11598 | [BZ #2683] |
11599 | * elf/dl-addr.c (_dl_addr): Don't ignore all undefined symbols. | |
11600 | If symbol has a value use it. | |
11601 | * elf/tst-dladdr1.c: New file. | |
11602 | * elf/Makefile: Add rules to build and run tst-addr1. | |
11603 | ||
7463d5cb UD |
11604 | 2006-08-24 Jakub Jelinek <jakub@redhat.com> |
11605 | ||
11606 | * malloc/malloc.c (sYSMALLOc): Avoid infinite loop if MMAP | |
11607 | keeps failing and heap growth or new heap creation isn't | |
11608 | successful either. | |
11609 | * malloc/tst-malloc.c (main): Add new tests. | |
11610 | ||
542a6f62 UD |
11611 | 2006-08-24 Ulrich Drepper <drepper@redhat.com> |
11612 | ||
11613 | [BZ #2734] | |
11614 | * sysdeps/i386/bits/byteswap.h (__bswap_32): Use same conditions | |
11615 | as in the x86-64 code to use bswap. | |
11616 | ||
aa2c6b6d UD |
11617 | 2006-05-21 Joseph S. Myers <joseph@codesourcery.com> |
11618 | ||
24982798 | 11619 | [BZ #2680] |
aa2c6b6d UD |
11620 | * posix/unistd.h (getlogin_r): Condition on __USE_POSIX199506, not |
11621 | __USE_UNIX98. | |
11622 | * posix/bits/unistd.h: Likewise. | |
11623 | ||
59776aef UD |
11624 | 2006-05-15 Mike Frysinger <vapier@gentoo.org> |
11625 | ||
11626 | [BZ #2751] | |
11627 | * string/strchr.c: Add cast to avoid warning. | |
11628 | ||
e404fb16 UD |
11629 | 2006-08-21 Ulrich Drepper <drepper@redhat.com> |
11630 | ||
11631 | * malloc/malloc.c (DEFAULT_MMAP_THRESHOLD_MAX): For 32-bit | |
bd2c2341 | 11632 | platforms define as 512K. For 64-bit platforms as 32MB. The lower |
e404fb16 UD |
11633 | limit is needed to avoid the exploding of the address space |
11634 | requirement for secondary heaps. | |
11635 | * malloc/arena.c (HEAP_MAX_SIZE): Define using | |
11636 | DEFAULT_MMAP_THRESHOLD_MAX if it is defined. | |
11637 | ||
376e973a UD |
11638 | 2006-07-30 Joseph S. Myers <joseph@codesourcery.com> |
11639 | ||
11640 | [BZ #3018] | |
11641 | * Makerules (depfiles): Handle extra-test-objs the same as | |
11642 | extra-objs. | |
11643 | (common-mostlyclean): Likewise. | |
11644 | * dlfcn/Makefile (extra-objs): Add modules to extra-test-objs | |
11645 | instead. | |
11646 | * elf/Makefile (extra-objs): Likewise. | |
11647 | * stdlib/Makefile (extra-objs): Likewise. | |
11648 | ||
240c62a7 UD |
11649 | 2006-08-14 Eric Blake <ebb9@byu.net> |
11650 | ||
11651 | [BZ #3044] | |
11652 | * misc/error.h: Assume C89 or better. | |
11653 | * misc/error.c: Likewise. | |
11654 | ||
3997b7c4 UD |
11655 | 2006-08-21 Ulrich Drepper <drepper@redhat.com> |
11656 | ||
11657 | [BZ #3040] | |
11658 | * sysdeps/unix/sysv/linux/openat.c: Fix compilation if | |
11659 | __ASSUME_ATFCTS is defined. | |
11660 | ||
8a6537b0 UD |
11661 | 2006-08-19 Ulrich Drepper <drepper@redhat.com> |
11662 | ||
72320021 UD |
11663 | * malloc/malloc.c (_int_malloc): Limit number of unsorted blocks |
11664 | to sort in each call. | |
11665 | ||
ed3691ba UD |
11666 | * nis/nss_nis/nis-service.c (internal_nis_getservent_r): . If map |
11667 | is empty simply return and use next service. | |
11668 | * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise. | |
11669 | ||
8a6537b0 UD |
11670 | * locale/programs/charmap.c (charmap_read): Add new parameter. It |
11671 | tells us when not finding a charmap file is an error. | |
11672 | * locale/programs/charmap.h: Adjust charmap_read prototype. | |
11673 | * iconv/iconv_prog.c (main): Tell charmap_read it's no error if we | |
11674 | cannot find a charmap. | |
11675 | * locale/programs/localedef.c (main): Adjust charmap_read call. | |
11676 | ||
ad2a3c07 UD |
11677 | 2006-08-15 Jakub Jelinek <jakub@redhat.com> |
11678 | ||
11679 | * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Use | |
11680 | sysdeps/posix/pause.c implementation instead. | |
11681 | ||
11682 | 2006-08-09 Jakub Jelinek <jakub@redhat.com> | |
11683 | ||
11684 | * sysdeps/unix/nice.c (nice): Transform EACCES errno from setpriority | |
11685 | to EPERM. | |
11686 | ||
f17efcb4 UD |
11687 | 2006-08-13 Andreas Schwab <schwab@suse.de> |
11688 | ||
11689 | * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_runtime_resolve): | |
11690 | Don't clobber caller's LRSAVE. | |
11691 | (_dl_prof_resolve): Likewise. | |
11692 | ||
107b8a92 UD |
11693 | 2006-08-14 Ulrich Drepper <drepper@redhat.com> |
11694 | ||
11695 | [BZ #1996] | |
11696 | * libio/memstream.c (open_memstream): Allocate initial buffer with | |
11697 | calloc. | |
11698 | * libio/wmemstream.c (open_wmemstream): Likewise. | |
11699 | * libio/strops.c: Pretty printing. | |
11700 | (_IO_str_overflow): Clear uninitialized part of the new buffer. | |
11701 | (enlarge_userbuf): New function. | |
11702 | (_IO_str_seekoff): Call it if seek position is larger than current | |
11703 | buffer. | |
11704 | * libio/wstrops.c: Likewise. | |
11705 | * libio/vasprintf.c: Add comment as to why we do not have to use | |
11706 | calloc instead of malloc to allocate initial buffer. | |
11707 | * libio/Makefile (tests): Add bug-memstream1 and bug-wmemstream1. | |
11708 | * libio/bug-memstream1.c: New file. | |
11709 | * libio/bug-wmemstream1.c: New file. | |
11710 | ||
fa3ac53f UD |
11711 | 2006-08-13 Ulrich Drepper <drepper@redhat.com> |
11712 | ||
89993734 UD |
11713 | * libio/wstrops.c: Remove dead macro definitions and comments. |
11714 | * libio/strops.c: Likewise. | |
11715 | ||
fa3ac53f UD |
11716 | [BZ #2764] |
11717 | * login/utmpname.c (__utmpname): Remove unnecessary test. | |
11718 | ||
f99ed760 UD |
11719 | 2006-06-08 Joseph Myers <jsm28@gcc.gnu.org> |
11720 | ||
11721 | [BZ #2832] | |
11722 | * math/gen-libm-test.pl (clean_up_number): Do not remove trailing | |
11723 | 0s from integers. | |
11724 | ||
11725 | 2006-08-13 Ulrich Drepper <drepper@redhat.com> | |
11726 | ||
11727 | [BZ #2987] | |
11728 | * sysdeps/unix/sysv/linux/clock_settime.c: Add code to use syscall | |
11729 | for CPU clocks. | |
11730 | * sysdeps/unix/clock_settime.c: Add support for platform-specific | |
11731 | setting of CPU clocks. | |
11732 | ||
4c3f81d0 UD |
11733 | 2006-06-23 Paul Eggert <eggert@cs.ucla.edu> |
11734 | ||
11735 | [BZ #2841] | |
11736 | * sysdeps/generic/stdint.h (UINT8_C, UINT16_C): Don't append 'U', | |
11737 | since C99 requires the result to promote to 'int' when uint_least8_t | |
11738 | and uint_least16_t promote to 'int'. | |
11739 | ||
cd8e60ce UD |
11740 | 2006-08-12 Ulrich Drepper <drepper@redhat.com> |
11741 | ||
9a5c46e8 UD |
11742 | [BZ #3013] |
11743 | * locale/programs/ld-ctype.c (ctype_output): Adjust alignments, fix | |
11744 | lenght of one output field, correct bitmask creation. | |
11745 | * locale/programs/ld-time.c: Add alignment. | |
11746 | ||
cd8e60ce UD |
11747 | [BZ #2997] |
11748 | * misc/error.c: Add space between program name and message if file | |
11749 | name is missing. | |
11750 | ||
9a528884 UD |
11751 | 2006-08-03 Eric Blake <ebb9@byu.net> |
11752 | ||
11753 | [BZ #2998] | |
11754 | * misc/error.c (error_tail) [_LIBC]: Avoid invalid free. | |
11755 | ||
1d05c2fb UD |
11756 | 2006-08-09 Ulrich Drepper <drepper@redhat.com> |
11757 | ||
0c1c6c6c UD |
11758 | * malloc/memusagestat.c: Silence warnings. |
11759 | ||
1d05c2fb UD |
11760 | * malloc/malloc.c: Dynamically size mmap treshold if the program |
11761 | frees mmaped blocks. | |
11762 | Patch by Valerie Henson and Arjan van de Ven. | |
11763 | ||
2d1e6277 UD |
11764 | 2006-08-08 Jakub Jelinek <jakub@redhat.com> |
11765 | ||
be7ffd91 UD |
11766 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (O_DIRECT): Protect with |
11767 | __USE_GNU. | |
11768 | ||
2d1e6277 UD |
11769 | * stdlib/strtol_l.c (__strtol_ul_max_tab, __strtol_ul_rem_tab, |
11770 | __strtol_ull_max_tab, __strtol_ull_rem_tab): Declare. | |
11771 | (DEF): Don't put the var into .gnu.linkonce.r.* section. | |
11772 | Only provide var definitions in strtol_l (or for *ull* | |
11773 | in strtoll_l). | |
11774 | ||
11775 | * stdio-common/bug16.c (tests): New array. | |
11776 | (do_tests): Allow the first hexadecimal digit | |
11777 | to be 1, 2, 4 or 8. Do 3 additional tests. | |
11778 | ||
11779 | * sysdeps/s390/fpu/libm-test-ulps: Update. | |
11780 | ||
11781 | * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c (fchownat): Use | |
11782 | fchownat syscall if available. | |
11783 | * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise. | |
11784 | * sysdeps/unix/sysv/linux/sh/fchownat.c (fchownat): Likewise. | |
11785 | * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise. | |
11786 | ||
d0ccde25 UD |
11787 | 2006-08-07 Ulrich Drepper <drepper@redhat.com> |
11788 | ||
11789 | * nis/nis_xdr.c: Avoid some function calls. | |
11790 | ||
13a0293d | 11791 | 2006-08-07 Jakub Jelinek <jakub@redhat.com> |
3f7a21a9 | 11792 | Ulrich Drepper <drepper@redhat.com> |
13a0293d UD |
11793 | |
11794 | * nis/nis_call.c (rec_dirsearch) [case LOWER_NAME]: Don't take | |
11795 | short cut if only one name component is stripped away. | |
11796 | ||
bd1ebae0 UD |
11797 | 2006-08-07 Ulrich Drepper <drepper@redhat.com> |
11798 | ||
11799 | * nis/nis_call.c: Minor cleanups throughout. | |
2d1e6277 | 11800 | (rec_dirsearch) [case HIGHER_NAME]: Correctly size ndomain array. |
bd1ebae0 UD |
11801 | (first_shoot): Add search_parent_first parameter. Only if it is set |
11802 | search parent server first. | |
11803 | If directory for table found through cold start cache is not the same | |
11804 | as referenced in the cache, don't use it. | |
11805 | (__nisfind_server): Take additional parameter. Pass it on to | |
11806 | first_shoot. | |
11807 | (__prepare_niscall): Adjust __nisfind_server call. | |
11808 | * nis/rpcsvc/nislib.h: Adjust __nisfind_server prototype. | |
11809 | * nis/nis_table.c: Adjust __nisfind_server call. | |
11810 | * nis/nis_lookup.c: Likewise. | |
11811 | (nis_lookup): Don't loop endlessly if name is reduced to ".". | |
11812 | ||
f1762c0c UD |
11813 | 2006-08-03 Ulrich Drepper <drepper@redhat.com> |
11814 | ||
fe710250 UD |
11815 | [BZ #2182] |
11816 | * math/s_cacosh.c: Return values from positive branch. | |
11817 | * math/s_cacoshf.c: Likewise. | |
11818 | * math/s_cacoshl.c: Likewise. | |
11819 | ||
a5852807 UD |
11820 | [BZ #2883] |
11821 | * sysvipc/sys/msg.h: Change return value to ssize_t. | |
11822 | * sysdeps/unix/sysv/linux/msgrcv.c: Likewise. | |
fe710250 UD |
11823 | * sysvipc/msgrcv.c: Likewise. |
11824 | * include/sys/msg.h: Likewise. | |
39571a13 | 11825 | |
6c215a8d UD |
11826 | * grp/initgroups.c (internal_getgrouplist): Remove unnecessary |
11827 | test introduced in patch for bz #661. | |
39571a13 | 11828 | (getgrouplist): Simplify code a bit. Don't allocate one additional |
f13bfdd0 | 11829 | element for NEWGROUPS. |
6c215a8d | 11830 | |
9c06eb66 UD |
11831 | [BZ #2908] |
11832 | * stdio-common/printf_fphex.c (__printf_fphex): When rounding up | |
11833 | 'f', use '1' as leading digit not '\1'. | |
11834 | * stdio-common/Makefile (tests): Add bug16. | |
11835 | * stdio-common/bug16.c: New file. | |
11836 | ||
11837 | [BZ #2914] | |
11838 | * sysdeps/unix/sysv/linux/gethostid.c: Don't define OLD_HOSTIDFILE | |
11839 | and don't try to open it. The patch introducing the macro | |
11840 | contained a bug and used the same file name as the new file | |
11841 | instead of using /var/adm/hostid. Nobody complaint so I'm taking | |
11842 | this out completely. | |
11843 | ||
11844 | [BZ #2926] | |
11845 | * assert/assert.h: Move cast to void inside ?: to quiet gcc. | |
11846 | Patch by Jerry James <Jerry.James@usu.edu>. | |
11847 | ||
f1762c0c UD |
11848 | * rt/Makefile (tests): Add tst-clock2. |
11849 | * rt/tst-clock2.c: New file. | |
11850 | ||
11851 | [BZ #2978] | |
11852 | * resolv/gai_notify.c (__gai_notify_only): Copy memory for thread | |
11853 | function and its parameters and pass it to new thread. | |
11854 | (__gai_notify): Add support for alternative waiting for completion. | |
11855 | * resolv/gai_suspend.c (gai_suspend): Add support for alternative | |
11856 | waiting for completion. | |
11857 | * resolv/getaddrinfo_a.c: Likewise. | |
11858 | * resolv/gai_misc.h (struct waitlist): Don't add cond if alternative | |
11859 | waiting for completion is used. | |
11860 | * resolv/gai_misc.c: Allow overwriting code to start helper thread. | |
11861 | * resolv/gai_cancel.c: Include <gai_misc.h> not "gai_misc.h". | |
11862 | * resolv/gai_error.c: Likewise. | |
11863 | * resolv/gai_sigqueue.c: Likewise. | |
11864 | ||
83ae6b40 RM |
11865 | 2006-08-02 Thomas Schwinge <tschwinge@gnu.org> |
11866 | ||
0e4e62fe | 11867 | * hurd/getdport.c (__getdport): Don't return EBADF; instead set |
f1762c0c | 11868 | errno to EBADF and return MACH_PORT_NULL. |
83ae6b40 | 11869 | |
82ee37c5 UD |
11870 | 2006-06-23 Joseph Myers <joseph@codesourcery.com> |
11871 | ||
11872 | [BZ #2980] | |
f1762c0c | 11873 | * posix/Makefile (CFLAGS-waitid.c): Add -fasynchronous-unwind-tables. |
82ee37c5 UD |
11874 | |
11875 | 2006-08-02 Ulrich Drepper <drepper@redhat.com> | |
11876 | ||
11877 | * elf/dl-addr.c (_dl_addr): If GNU-style hash tables are present, | |
11878 | walk them instead of the symbol table. | |
11879 | ||
7bb1b2c9 UD |
11880 | 2006-08-01 Ulrich Drepper <drepper@redhat.com> |
11881 | ||
f13bfdd0 | 11882 | [BZ #2098] |
fbbc73b3 UD |
11883 | * nscd/initgrcache.c (addinitgroupsX): Judge successful lookups by |
11884 | status of NSS calls, not the number of returned entries. | |
11885 | ||
a4518922 UD |
11886 | * sysdeps/unix/sysv/linux/syscalls.list: Remove add_key, |
11887 | request_key, keyctl. | |
7bb1b2c9 | 11888 | |
b06e7e9a UD |
11889 | 2006-07-31 Ulrich Drepper <drepper@redhat.com> |
11890 | ||
11891 | * sysdeps/unix/sysv/linux/dl-osinfo.h: Remove unnecessary include. | |
11892 | ||
f1227969 UD |
11893 | 2006-07-16 Jeff Bailey <jbailey@ubuntu.com> |
11894 | ||
11895 | * elf/tst-auditmod1.c: Fix typo in #error. | |
11896 | ||
82ae2712 UD |
11897 | 2006-07-31 Ulrich Drepper <drepper@redhat.com> |
11898 | ||
f1227969 UD |
11899 | * elf/tst-auditmod1.c: Remove code for unsupported architectures. |
11900 | ||
82ae2712 UD |
11901 | * iconvdata/run-iconv-test.sh: Run cmp in C locale. |
11902 | ||
a1260d92 UD |
11903 | 2006-07-20 Adam Nemet <anemet@caviumnetworks.com> |
11904 | ||
11905 | * stdlib/test-canon.c (do_test): Close fd before unlinking file so | |
b06e7e9a | 11906 | that the directory is empty even on non-POSIX filesystems. |
a1260d92 | 11907 | |
d2de41fe UD |
11908 | 2006-07-31 Ulrich Drepper <drepper@redhat.com> |
11909 | ||
13669f2c UD |
11910 | * elf/dl-open.c (dl_open_worker): Add branch prediction. |
11911 | ||
d2de41fe UD |
11912 | * nis/nss_compat/compat-grp.c: Avoid unnecessary setgrent calls into |
11913 | the backend NSS module. If backend setgrent call failed, don't have | |
11914 | internal_setgrent fail. Just remember this until it is needed. | |
11915 | * nis/nss_compat/compat-pwd.c: Likewise. | |
11916 | * nis/nss_compat/compat-spwd.c: Likewise. | |
11917 | ||
b894c2ea RM |
11918 | 2006-07-30 Roland McGrath <roland@redhat.com> |
11919 | ||
11920 | * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: File removed. | |
11921 | * sysdeps/unix/sysv/linux/x86_64/sigsuspend.c: File removed. | |
11922 | * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: File removed. | |
11923 | * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: File removed. | |
11924 | ||
11925 | * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): New macro. | |
11926 | (nanosleep_not_cancel): New macro. | |
11927 | (sigsuspend_not_cancel): new macro. | |
11928 | * sysdeps/unix/sysv/linux/sigsuspend.c [__ASSUME_REALTIME_SIGNALS] | |
11929 | (do_sigsuspend): Define as inline. | |
11930 | (__sigsuspend): Always use do_sigsuspend. | |
11931 | [! NO_CANCELLATION] (__sigsuspend_nocancel): New function. | |
11932 | * include/signal.h: Declare __sigsuspend_nocancel. | |
11933 | * sysdeps/posix/pause.c | |
11934 | [! NO_CANCELLATION] (__pause_nocancel): New function. | |
11935 | ||
11936 | * include/unistd.h (__pause_nocancel): Add attribute_hidden. | |
11937 | * include/time.h (__nanosleep_nocancel): Likewise. | |
11938 | ||
c10d32c8 UD |
11939 | 2006-07-30 Ulrich Drepper <drepper@redhat.com> |
11940 | ||
11941 | * locale/programs/localedef.c (add_to_readlist): Rename local | |
11942 | variables to avoid confusion. | |
11943 | ||
11944 | * locale/programs/charmap.c (charmap_read): Emit error message if | |
11945 | charmap couldn't be found or read. | |
11946 | ||
6822f056 UD |
11947 | 2006-07-28 Ulrich Drepper <drepper@redhat.com> |
11948 | ||
d5ba53f9 UD |
11949 | * sysdeps/unix/sysv/linux/kernel-features.h: Define |
11950 | __ASSUME_FUTEX_LOCK_PI. | |
11951 | * include/time.h: Declare __nanosleep_nocancel. | |
11952 | * include/unistd.h: Declare __pause_nocancel. | |
11953 | ||
6822f056 UD |
11954 | * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Use this instead of |
11955 | LDFLAGS. Add -lgcc_eh and libc_nonshared (again) to make sure we | |
11956 | get the __stack_chk_fail_local definition when it's needed. | |
11957 | ||
3a975ff5 UD |
11958 | 2006-07-26 Ulrich Drepper <drepper@redhat.com> |
11959 | ||
6de1f625 UD |
11960 | * dlfcn/Makefile: Add rules to build and run bug-atexit3. |
11961 | * dlfcn/bug-atexit3.c: New file. | |
11962 | * dlfcn/bug-atexit3-lib.cc: New file. | |
11963 | ||
3a975ff5 UD |
11964 | * dlfcn/dlmopen.c (dlmopen_doit): Don't allow RTLD_GLOBAL to be |
11965 | used when the namespace is not the base namespace. | |
11966 | ||
a92b1166 UD |
11967 | 2006-07-26 Gavin Romig-Koch <gavin@redhat.com> |
11968 | ||
11969 | * stdlib/cxa_atexit.c (__new_exitfn_called): New variable. | |
11970 | (__new_exitfn): Bump it in every successful call. | |
11971 | * stdlib/cxa_finalize.c (__cxa_finalize): If destructor registered | |
11972 | more exit handlers, call them right away. | |
11973 | * stdlib/exit.h: Declare __new_exitfn_called. | |
11974 | ||
a08336fb UD |
11975 | 2006-07-25 Ulrich Drepper <drepper@redhat.com> |
11976 | ||
bd3754dc UD |
11977 | * stdlib/cxa_finalize.c (__cxa_finalize): Fix race condition when |
11978 | calling registered handler. | |
11979 | ||
a08336fb UD |
11980 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fix comment. |
11981 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. | |
11982 | * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. | |
11983 | * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. | |
11984 | * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. | |
11985 | * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. | |
11986 | * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. | |
11987 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. | |
11988 | ||
871b9158 UD |
11989 | 2006-07-10 Ulrich Drepper <drepper@redhat.com> |
11990 | ||
11991 | * elf/dl-lookup.c (dl_new_hash): New functions. | |
11992 | (_dl_lookup_symbol_x): Rename hash to old_hash and don't compute | |
11993 | value here. Compute new-style hash value. Pass new hash value | |
11994 | and reference to variable with the old value to do_lookup_x. | |
11995 | (_dl_setup_hash): If DT_GNU_HASH is defined, use it and not | |
11996 | old-style hash table. | |
11997 | (_dl_debug_bindings): Pass new hash value and reference to variable | |
11998 | with the old value to do_lookup_x. | |
11999 | * elf/do-lookup.h (do_lookup_x): Accept additional parameter with | |
12000 | new-style hash value and change old-style hash value parameter to | |
12001 | be a reference. Reoganize functions to determine whether | |
12002 | new-style hash table is available. Only fall back on old-style | |
12003 | table. If old-style hash value is needed, compute it here. | |
12004 | * elf/dynamic-link.h (elf_get_dynamic_info): Relocate DT_GNU_HASH | |
12005 | entry. | |
12006 | * elf/elf.h: Define SHT_GNU_HASH, DT_GNU_HASH, DT_TLSDEC_PLT, | |
12007 | DT_TLSDEC_GOT. Adjust DT_ADDRNUM. | |
12008 | * include/link.h (struct link_map): Add l_gnu_bitmask_idxbits, | |
12009 | l_gnu_shift, l_gnu_bitmask, l_gnu_buckets and l_gnu_chain_zero. | |
12010 | * Makeconfig: If linker supports --hash-style option add it to all | |
12011 | linker command lines to build DSOs. | |
12012 | * config.make.in: Define have-hash-style. | |
12013 | * configure.in: Test whether linker supports --hash-style option. | |
12014 | ||
12015 | * elf/dl-misc.c (_dl_name_match_p): Make MAP parameter const. | |
12016 | * sysdeps/generic/ldsodefs.h: Adjust prototype. | |
12017 | ||
a1f0de82 UD |
12018 | 2006-06-27 Ulrich Drepper <drepper@redhat.com> |
12019 | ||
361a3706 UD |
12020 | * elf/dl-load.c (open_path): Fix test to determine whether DSO is |
12021 | auditing. | |
12022 | ||
a1f0de82 UD |
12023 | * elf/dl-load.c (_dl_map_object): Try harder to avoid looking at |
12024 | RPATH of main map twice. | |
12025 | ||
4259230f UD |
12026 | 2006-06-22 Ulrich Drepper <drepper@redhat.com> |
12027 | ||
12028 | * intl/dcigettext.c (DCIGETTEXT): If _nl_find_msg returns -1 don't | |
12029 | look further, return original strings. | |
12030 | (_nl_find_msg): Do not return found translation if the conversion | |
12031 | failed. Either signal the string is unusable or that something went | |
12032 | wrong and the original should be used. | |
12033 | ||
12034 | 2006-06-21 Ulrich Drepper <drepper@redhat.com> | |
12035 | ||
12036 | * string/_strerror.c (__strerror_r): Add __builtin_expect. | |
12037 | ||
f9b7a98b UD |
12038 | 2006-06-14 Jakub Jelinek <jakub@redhat.com> |
12039 | ||
12040 | [BZ #2766] | |
12041 | * misc/insremque.c (insque): Handle prev == NULL. | |
12042 | * misc/Makefile (tests): Add tst-insremque. | |
12043 | * misc/tst-insremque.c: New test. | |
12044 | ||
ac55a25b UD |
12045 | 2006-06-17 Ulrich Drepper <drepper@redhat.com> |
12046 | ||
12047 | [BZ #2792] | |
12048 | * elf/dl-deps.c (expand_dst): Rename __cnt variable to not | |
12049 | conflict with DL_DST_REQUIRED. | |
12050 | ||
02f366b3 UD |
12051 | 2006-06-16 Ulrich Drepper <drepper@redhat.com> |
12052 | ||
12053 | * nis/nis_subr.c (nis_getnames): Fix the implementation to better | |
12054 | match what Solaris does. | |
12055 | ||
9009e8f8 UD |
12056 | 2006-06-04 Ulrich Drepper <drepper@redhat.com> |
12057 | ||
1b8373f4 UD |
12058 | * sysdeps/posix/spawni.c (__spawni): Use local_seteuid and |
12059 | local_setegid instead of seteuid and setegid. | |
12060 | * sysdeps/generic/local-setxid.h: New file. | |
12061 | * sysdeps/unix/sysv/linux/local-setxid.h: New file. | |
12062 | ||
7231452e UD |
12063 | * sysdeps/posix/spawni.c (__spawni): Use non-cancelable interfaces. |
12064 | ||
9009e8f8 | 12065 | * string/Makefile (tests): Add bug-envz1. |
02f366b3 | 12066 | * string/bug-envz1.c: New file. |
9009e8f8 | 12067 | |
33e63e79 UD |
12068 | 2006-06-02 Jakub Jelinek <jakub@redhat.com> |
12069 | ||
12070 | * posix/regex_internal.c (re_string_skip_chars): If no character has | |
12071 | been converted at all, set *last_wc to WEOF. If mbrtowc failed, set wc | |
12072 | to the byte which couldn't be converted. | |
12073 | (re_string_reconstruct): Don't clear valid_raw_len before calling | |
12074 | re_string_skip_chars. If wc is WEOF after re_string_skip_chars, set | |
12075 | tip_context using re_string_context_at. | |
12076 | * posix/Makefile: Add rules to build and run bug-regex25 test. | |
12077 | * posix/bug-regex25.c: New test. | |
12078 | ||
fdc02996 UD |
12079 | 2006-06-02 Ryan S. Arnold <rsa@us.ibm.com> |
12080 | ||
12081 | [BZ #2703] | |
12082 | * string/envz.c (envz_strip): Correct erroneously reversed src | |
12083 | and dest parameters to memmove() invocation. | |
12084 | ||
902c4291 UD |
12085 | 2006-05-30 Jakub Jelinek <jakub@redhat.com> |
12086 | ||
12087 | * nscd/nscd.h (prune_cache): Add fd argument to prototype. | |
12088 | * nscd/nscd.c (parse_opt): Read response from INVALIDATE request | |
12089 | to make sure the database has been already invalidated. | |
12090 | * nscd/cache.c (prune_cache): Add fd argument. Write response to fd | |
12091 | after the cache has been invalidated. Use pthread_mutex_lock rather | |
12092 | than pthread_mutex_trylock if fd != -1. | |
12093 | * nscd/connections.c (invalidate_cache): Add fd argument, write | |
12094 | response to fd if not calling prune_cache, pass fd to prune_cache. | |
12095 | (handle_request): Adjust invalidate_cache caller. | |
12096 | (nscd_run): Pass -1 as fd to prune_cache. | |
12097 | ||
ecc68568 UD |
12098 | 2006-05-30 Ulrich Drepper <drepper@redhat.com> |
12099 | ||
12100 | * sysdeps/posix/getaddrinfo.c (gaiconf_init): Initialize bits in | |
12101 | the correct place. | |
12102 | ||
9636a217 UD |
12103 | 2006-05-29 Ulrich Drepper <drepper@redhat.com> |
12104 | ||
12105 | * nscd/nscd.h (struct database_dyn): Add prunelock field. | |
12106 | * nscd/cache.c (prune_cache): Take prunelock before starting the | |
12107 | work. Just return in case it is already taken. | |
cabfcde1 | 12108 | * nscd/connections.c (dbs): Initialize .prunelock. |
9636a217 | 12109 | |
6bcb494a UD |
12110 | 2006-05-25 Ulrich Drepper <drepper@redhat.com> |
12111 | ||
672d5a63 | 12112 | * nis/nis_removemember.c (nis_removemember): Avoid unnecessary |
ecc68568 | 12113 | copying. No need to allocate new array for group members. Just |
672d5a63 UD |
12114 | move the pointers and update the size. |
12115 | ||
1663b44f UD |
12116 | * nis/nis_addmember.c (nis_addmember): Avoid unnecessary copying. |
12117 | Avoid memory leak in case realloc fails. Simplification for | |
12118 | better code generation. | |
12119 | ||
12120 | Avoid deprecation warning because of libc_hidden_proto for | |
12121 | inet6_option_alloc. | |
12122 | * inet/inet6_option.c (option_alloc): Renamed from | |
12123 | inet6_option_alloc. Made static. | |
9636a217 | 12124 | (inet6_option_alloc): Now a simple wrapper around option_alloc. |
1663b44f UD |
12125 | (inet6_option_append): Call option_alloc. |
12126 | * include/netinet/in.h: Remove libc_hidden_proto for | |
12127 | inet6_option_alloc. | |
12128 | ||
6bcb494a UD |
12129 | * nis/nis_callback.c (__nis_create_callback): Always call xdr_free |
12130 | for cleanup when cb!=NULL [Coverity CID 233]. | |
12131 | ||
aec6b246 UD |
12132 | 2006-05-24 Ulrich Drepper <drepper@redhat.com> |
12133 | ||
07bfff20 UD |
12134 | [BZ #2693] |
12135 | * inet/Makefile (routines): Add inet6_opt and inet6_rth. | |
12136 | * inet/Versions (libc, GLIBC_2.5): Add inet6_opt_init, | |
12137 | inet6_opt_append, inet6_opt_finish, inet6_opt_set_val, inet6_opt_next, | |
12138 | inet6_opt_find, inet6_opt_get_val, inet6_rth_space, inet6_rth_init, | |
12139 | inet6_rth_add, inet6_rth_reverse, inet6_rth_segments, | |
12140 | and inet6_rth_getaddr. | |
12141 | * inet/netinet/ip6.h (struct ip6_rthdr0): Make ip6r0_addr a flexible | |
12142 | array. | |
12143 | * inet/netinet/in.h (struct ip6_mtuinfo): Define. | |
12144 | Mark inet6_option_* interfaces as deprecated. | |
12145 | Declare inet6_opt_init, inet6_opt_append, inet6_opt_finish, | |
12146 | inet6_opt_set_val, inet6_opt_next, inet6_opt_find, inet6_opt_get_val, | |
12147 | inet6_rth_space, inet6_rth_init, inet6_rth_add, inet6_rth_reverse, | |
12148 | inet6_rth_segments, and inet6_rth_getaddr. | |
12149 | * inet/inet6_opt.c: New file. | |
12150 | * inet/inet6_rth.c: New file. | |
12151 | ||
12152 | * inet/netinet/icmp6.h: Pretty printing. | |
12153 | ||
aec6b246 UD |
12154 | [BZ #2683] |
12155 | * elf/dl-addr.c (_dl_addr): Don't match undefined references. | |
12156 | ||
2d571cd1 UD |
12157 | 2006-05-23 Ulrich Drepper <drepper@redhat.com> |
12158 | ||
062e719b UD |
12159 | * nis/nis_lookup.c (nis_lookup): Use __prepare_niscall instead of |
12160 | doing it all here. When server does not know the answer do not | |
12161 | fail immediate, try parent first. | |
12162 | ||
2d571cd1 UD |
12163 | * nis/nis_domain_of_r.c (nis_domain_of_r): Add missing buffer |
12164 | overflow test. | |
12165 | ||
a17fa610 UD |
12166 | 2006-05-20 Ulrich Drepper <drepper@redhat.com> |
12167 | ||
12168 | * nis/nis_call.c (__prepare_niscall): New function. Split out | |
12169 | from __do_niscall. | |
12170 | * nis/nis_table.c (__create_ib_request): Renamed from create_ib_request | |
12171 | and exported. | |
12172 | (__follow_path): New function. Split out from nis_list. | |
12173 | * nis/nis_xdr.h: Add libnsl_hidden_proto for _xdr_ib_request and | |
12174 | _xdr_nis_result. | |
12175 | * nis/nis_xdr.c: Add libnsl_hidden_def for _xdr_ib_request and | |
12176 | _xdr_nis_result. | |
12177 | * nis/libnsl.h: Declare __prepare_niscall, __create_ib_request, | |
12178 | and __follow_path. | |
12179 | * nis/Versions: Export __prepare_niscall, __create_ib_request, | |
12180 | __follow_path, __do_niscall3, _xdr_ib_request, and _xdr_nis_result | |
12181 | from libnsl for version GLIBC_PRIVATE. | |
12182 | * nis/nisplus-parser.h: Remove _nss_nisplus_parse_pwent_chk. | |
12183 | Remove entry parameter from _nss_nisplus_parse_pwent and | |
12184 | _nss_nisplus_parse_grent. | |
12185 | * nis/nss_nisplus/nisplus-parser.c: Likewise. | |
12186 | * nis/nss_nisplus/nisplus-pwd.c: Remove support for SETENT_BATCH_READ | |
12187 | again. Rewrite getpwent handling to not use nis_first_entry and | |
12188 | nis_next_entry. Roll out own niscall handling. | |
12189 | * nis/nss_nisplus/nisplus-grp.c: Likewise. | |
12190 | ||
12191 | * sunrpc/xdr_rec.c: Fix typo in comment. | |
12192 | ||
429bb183 UD |
12193 | 2006-05-19 Ulrich Drepper <drepper@redhat.com> |
12194 | ||
1d4f062a UD |
12195 | * nis/nis_call.c (__do_niscall3): Avoid code duplication in error |
12196 | handling. | |
12197 | ||
101cc598 UD |
12198 | * nis/nis_callback.c (internal_nis_do_callback): Don't use malloc |
12199 | to allocate memory for my_pollfd. Better initialization of | |
12200 | cb_is_running. Use TEMP_FAILURE_RETRY. | |
12201 | ||
f50fa10c UD |
12202 | * malloc/memusage.sh (memusageso): Add quotes. |
12203 | (memusagestat): Likewise. | |
12204 | * debug/xtrace.sh (pcprofileso): Likewise. | |
12205 | (pcprofiledump): Likewise. | |
12206 | * debug/Makefile ($(objpfx)xtrace): Use $LIB in SLIBDIR | |
12207 | replacement. | |
12208 | * malloc/Makefile ($(objpfx)memusage): Likewise. | |
12209 | ||
882bfe73 UD |
12210 | * nis/nis_callback.c (__nis_create_callback): Calls to |
12211 | svcudp_bufcreate and svctcp_create can fail. Free ->xprt if | |
12212 | asprintf call fails. | |
12213 | ||
429bb183 UD |
12214 | * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_sendreq): Make sure |
12215 | no uninitialized memory is passed to sendto. | |
12216 | ||
f90de831 UD |
12217 | 2006-05-18 Ulrich Drepper <drepper@redhat.com> |
12218 | ||
12219 | * nis/nis_callback.c (__nis_create_callback): Use asprinf instead | |
12220 | of snprintf+strdup. Handle OOM. | |
12221 | * nis/nis_callback.c (__nis_create_callback): Allocate cb and | |
12222 | cb->serv together. Remove now obsolete free calls. | |
12223 | (__nis_destroy_callback): Remove now obsolete free call. | |
12224 | ||
a17fa610 | 12225 | 2006-05-18 David Woodhouse <dwmw2@redhat.com> |
6e2a7825 UD |
12226 | |
12227 | * sysdeps/posix/getaddrinfo.c: Add unique labels to the default | |
12228 | RFC3484 precedence table for fec0::/10 and fc00::/7 (site-local | |
12229 | and ULA respectively). Set precedence for IPv4 address to 10 as | |
12230 | defined in RFC3484 for preferring IPv6. | |
12231 | * posix/gai.conf: Update to match the new default tables. | |
12232 | ||
758b9d7e UD |
12233 | 2006-05-18 Jakub Jelinek <jakub@redhat.com> |
12234 | ||
12235 | * nis/nss_compat/compat-pwd.c (internal_setpwent): If nss_set*ent | |
12236 | returned NSS_STATUS_UNAVAIL, still return NSS_STATUS_SUCCESS. | |
12237 | * nis/nss_compat/compat-spwd.c (internal_setspent): Likewise. | |
12238 | * nis/nss_compat/compat-grp.c (internal_setgrent): Likewise. | |
12239 | ||
12240 | * nis/nss_compat/compat-initgroups.c (nss_setgrent, nss_endgrent): | |
12241 | Removed. | |
12242 | (init_nss_interface): Remove initialization of these variables. | |
12243 | ||
12244 | 2006-05-18 Ulrich Drepper <drepper@redhat.com> | |
12245 | ||
12246 | * nis/nis_call.c (rec_dirsearch): Little optimization: pull | |
12247 | nis_free_directory forward to avoid duplication. | |
12248 | ||
388c779e UD |
12249 | 2006-05-17 Ulrich Drepper <drepper@redhat.com> |
12250 | ||
5f1724bf UD |
12251 | * nis/nis_call.c (rec_dirsearch): Handle __nis_finddirectory and |
12252 | rec_dirsearch returning NULL. | |
12253 | (first_shoot): Handle __nis_finddirectory returning NULL. | |
12254 | (__nisfind_server): Fix leak when rec_dirsearch returns NULL. | |
12255 | ||
388c779e UD |
12256 | * sysdeps/unix/sysv/linux/sys/inotify.h: Define IN_CLOSE, IN_MOVE, |
12257 | IN_ONLYDIR, IN_DONT_FOLLOW, and IN_MASK_ADD. | |
12258 | ||
360d5cf4 UD |
12259 | 2006-05-17 Jakub Jelinek <jakub@redhat.com> |
12260 | ||
12261 | * sunrpc/key_call.c (getkeyserv_handle): Call auth_destroy if | |
12262 | pid changed. | |
12263 | ||
88dbff8c UD |
12264 | 2006-05-15 Ulrich Drepper <drepper@redhat.com> |
12265 | ||
6f8a7dff UD |
12266 | * include/rpc/pmap_prot.h: Mark all functions as hidden. |
12267 | ||
12268 | * nscd/nscd_initgroups.c: Mark __gr_map_handle as hidden. | |
12269 | * nscd/nscd_getgr_r.c: Likewise. | |
12270 | ||
12271 | * include/rpc/pmap_rmt.h: Mark all functions as hidden. | |
12272 | ||
12273 | * nscd/nscd_getai.c (__hst_map_handle): Mark as hidden. | |
12274 | * nscd/nscd_gethst_r.c (__hst_map_handle): Likewise. | |
12275 | ||
12276 | * stdlib/longlong.h (__clz_tab): Mark as hidden. | |
12277 | ||
12278 | * iconv/gconv_int.h: Mark __gconv_lock as hidden. | |
12279 | ||
360d5cf4 | 12280 | * include/rpc/key_prot.h: Mark all _internal functions as hidden. |
8263ed62 UD |
12281 | |
12282 | * include/rpc/auth.h: Mark xdr_des_block_internal and | |
12283 | xdr_opaque_auth_internal as hidden. | |
12284 | ||
12285 | * sysdeps/unix/sysv/linux/getdents.c: Mark __have_no_getdents64 as | |
12286 | hidden. | |
12287 | ||
360d5cf4 | 12288 | * include/rpc/xdr.h: Mark all _internal functions as hidden. |
8263ed62 | 12289 | |
02264020 UD |
12290 | * misc/getusershell.c (okshells): Don't use static initializers, |
12291 | do it dynamically. | |
12292 | ||
fd5ea238 UD |
12293 | * stdlib/fmtmsg.c (keywords): Change type of len element to |
12294 | uint32_t to not waste space on 64bit machines. | |
12295 | ||
9446614c UD |
12296 | * locale/setlocale.c: Change _nl_category_names into a string. |
12297 | Add new _nl_category_name_idxs. Change all users. | |
12298 | * locale/localeinfo.h: Adjust declaration of _nl_category_names. | |
12299 | Declare _nl_category_name_idxs. | |
12300 | * locale/findlocale.c: Adjust for _nl_category_names change. | |
12301 | * locale/loadlocale.c: Likewise. | |
12302 | * locale/newlocale.c: Likewise. | |
12303 | * intl/dcigettext.c: Likewise. | |
12304 | ||
88dbff8c UD |
12305 | * iconv/gconv_conf.c (add_alias): Move actual alias handling to... |
12306 | (add_alias2): ...here. New function. | |
12307 | (__gconv_read_conf): Simplify builtin alias handling. | |
12308 | (builtin_aliases): Convert to string to avoid relocations. | |
12309 | * iconv/gconv_builtin.h: Add comment about correct formatting. | |
12310 | ||
4442d58f UD |
12311 | 2006-05-15 Jakub Jelinek <jakub@redhat.com> |
12312 | ||
12313 | * resolv/res_debug.c (loc_ntoa): Make error const. | |
12314 | ||
12315 | 2006-05-14 Andreas Schwab <schwab@suse.de> | |
12316 | ||
12317 | * math/complex.h [__LDBL_COMPAT]: Use __REDIRECT_NTH. | |
12318 | ||
12319 | 2006-05-12 Jakub Jelinek <jakub@redhat.com> | |
12320 | ||
12321 | * sysdeps/unix/sysv/linux/sched_getaffinity.c: Include sys/param.h. | |
12322 | (__sched_getaffinity_new): Don't crash if cpusetsize is smaller than | |
12323 | sizeof (cpu_set_t). | |
12324 | ||
a51752b6 UD |
12325 | 2006-05-11 Ulrich Drepper <drepper@redhat.com> |
12326 | ||
5d3fd1f6 UD |
12327 | * resolv/res_debug.c (loc_ntoa): Define error as array, not pointer. |
12328 | ||
08cfb839 UD |
12329 | * include/arpa/nameser.h: Declare _ns_flagdata as hidden. |
12330 | ||
4b481a15 UD |
12331 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_master. |
12332 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_master. | |
12333 | ||
12334 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypbind_resp. | |
12335 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypbind_resp. | |
12336 | ||
12337 | * nis/nis_xdr.c: Add libnsl_hidden_def for xdr_cback_data. | |
12338 | * include/rpcsvc/nis_callback.h: Add libnsl_hidden_proto for | |
12339 | xdr_cback_data. | |
12340 | ||
12341 | * nis/ypupdate_xdr.c: Add libnsl_hidden_def for xdr_ypupdate_args. | |
12342 | * include/rpcsvc/ypupd.h: Add libnsl_hidden_proto for | |
12343 | xdr_ypupdate_args. | |
12344 | ||
12345 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_order. | |
12346 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_order. | |
12347 | ||
12348 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_maplist. | |
12349 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_maplist. | |
12350 | ||
12351 | * nis/nis_xdr.c: Add libnsl_hidden_def for xdr_obj_p. | |
12352 | * include/rpcsvc/nis_callback.h: New file. | |
12353 | ||
12354 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_val. | |
12355 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_val. | |
12356 | ||
12357 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypreq_nokey. | |
12358 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypreq_nokey. | |
12359 | ||
12360 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypmaplist. | |
12361 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypmaplist. | |
12362 | ||
12363 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypreq_nokey. | |
12364 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypreq_nokey. | |
12365 | ||
b1ad49c6 UD |
12366 | * nis/ypupdate_xdr.c: Add libnsl_hidden_def for xdr_ypdelete_args. |
12367 | * include/rpcsvc/ypupd.h: Add libnsl_hidden_proto for | |
12368 | xdr_ypdelete_args. | |
12369 | ||
cd5f7829 UD |
12370 | * nis/nis_xdr.h: Mark all functions as hidden. Remove |
12371 | __BEGIN_DECLS and __END_DECLS, the header is not installed. | |
12372 | ||
a51752b6 UD |
12373 | * nis/nis_error.c: Remove table of strings. Use position |
12374 | independent mechanism. | |
12375 | * nis/nis_error.h: New file. | |
12376 | ||
3d237e42 UD |
12377 | 2006-05-11 Jakub Jelinek <jakub@redhat.com> |
12378 | ||
12379 | * locale/programs/ld-time.c (time_finish): If wide era name or | |
12380 | format aren't provided, set both wname and wformat to L"". | |
12381 | ||
d6c159fe UD |
12382 | 2006-05-10 Ulrich Drepper <drepper@redhat.com> |
12383 | ||
0088b04e UD |
12384 | * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Only store |
12385 | results if the call was succesful. | |
12386 | ||
d6c159fe UD |
12387 | * nis/nss-nis.h: Mark __yperr2nss_tab and __yperr2nss_count as hidden. |
12388 | ||
12389 | * nis/nss-nisplus.h: Mark __niserr2nss_tab and __niserr2nss_count | |
12390 | as hidden. | |
12391 | ||
5c5acdf0 UD |
12392 | 2006-05-10 Jakub Jelinek <jakub@redhat.com> |
12393 | ||
12394 | * misc/sys/queue.h: Remove uses of all QUEUEDEBUG_* macros. | |
12395 | ||
16d620db UD |
12396 | 2006-05-10 Ulrich Drepper <drepper@redhat.com> |
12397 | ||
12398 | * posix/wordexp.c (parse_glob): No need to check ifs for NULL, the | |
12399 | caller makes sure this is not the case. | |
12400 | (wordexp): Simplify ifs_white creation. [Coverity CID 231] | |
12401 | ||
e7c8359e UD |
12402 | 2006-05-09 Ulrich Drepper <drepper@redhat.com> |
12403 | ||
ecf359c6 UD |
12404 | * posix/wordexp.c: Remove numerous NULL pointer tests before FREE |
12405 | calls. | |
12406 | ||
400cc70a UD |
12407 | * io/ftw.c (open_dir_stream): Return right away if REALLOC fails. |
12408 | [Coverity CID 229, 230] | |
12409 | ||
12410 | * argp/argp-help.c (hol_entry_help): Handle STATE==NULL in ARG and | |
12411 | DGETTEXT calls. | |
12412 | (hol_help): Likewise. [Coverity CID 226, 227] | |
12413 | ||
12414 | * string/argz-replace.c (__argz_replace): Unconditionally call | |
12415 | free on SRC. [Coverity CID 225] | |
12416 | ||
12417 | * nis/nis_creategroup.c (nis_creategroup): No need to duplicate | |
12418 | the return value of __nis_default_owner and __nis_default_group, | |
12419 | it has been especially allocated. [Coverity CID 224] | |
12420 | ||
51e59260 UD |
12421 | * nis/nis_defaults.c (searchXYX): New functions. Used by both |
12422 | searchgroup and searchowner. Significantly simplified. | |
12423 | (__nis_default_owner): Remove duplication. Do not locally copy the | |
12424 | string before duplicating it. | |
12425 | (__nis_default_group): Likewise. | |
12426 | ||
12427 | * nis/nis_lookup.c (nis_lookup): After calling nis_free_directory, | |
12428 | we must clear the variable before calling __nisfind_server. | |
12429 | ||
12430 | * nis/nis_lookup.c (nis_lookup): Always free memory allocated with | |
12431 | nis_getnames. [Coverity CID 223] | |
12432 | ||
12433 | * locale/programs/locfile.c (locfile_read): Use alloca instead of | |
12434 | xmalloc to allocate local repertoire name. [Coverity CID 222] | |
12435 | ||
12436 | * iconv/iconv_charmap.c (use_to_charmap): No need to dynamically | |
12437 | allocate memory for the input to add_bytes. [Coverity CID 221] | |
12438 | ||
e7c8359e | 12439 | * posix/wordexp.c (w_addword): Free word if realloc fails and it |
51e59260 | 12440 | was allocated here. [Coverity CID 219, 220] |
e7c8359e UD |
12441 | |
12442 | * posix/getconf.c (print_all): Free confstr data after printing. | |
12443 | [Coverity CID 218] | |
12444 | ||
12445 | * sysdeps/posix/getaddrinfo.c (gaih_inet): Free canon string if | |
12446 | list allocation fails. [Coverity CID 215] | |
12447 | ||
12448 | * nss/nsswitch.c (__nss_configure_lookup): Fix loop end condition. | |
12449 | [Coverity CID 213] | |
12450 | ||
12451 | * argp/argp-help.c (hol_entry_cmp): Don't call canon_doc_option if | |
12452 | string is NULL. [Coverity CID 212] | |
12453 | * argp/Makefile: Add rules to build and run bug-argp1. | |
12454 | * argp/bug-argp1.c: New file. | |
12455 | ||
12456 | * io/ftw.c (ftw_dir): Use __rawmemchr instead of strchr to find | |
12457 | end of string. | |
12458 | * stdlib/canonicalize.c (__realpath): Likewise. | |
12459 | ||
12460 | * locale/programs/ld-time.c (time_finish): Don't dereference NULL | |
12461 | pointer. [Coverity CID 206] | |
12462 | ||
12463 | * elf/dl-dst.h (DL_DST_REQUIRED): Be prepared for missing link map | |
12464 | in statically linked code. | |
12465 | * elf/dl-load.c (_dl_dst_substitute): When replacing ORIGIN in | |
12466 | statically built code, be prepared to have no link map. | |
12467 | [Coverity CID 205] | |
12468 | ||
12469 | * argp/argp-help.c (fill_in_uparams): Handle STATE==NULL in | |
12470 | dgettext calls. [Coverity CID 204] | |
12471 | ||
12472 | * argp/argp-help.c (struct uparams): Remove valid member. Change | |
12473 | the one user. | |
12474 | (uparam_names): Reduce size. Avoid relative relocations. | |
12475 | Moved to read-only segment. | |
12476 | (fill_in_uparams): Update for new layout. | |
12477 | ||
12478 | * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Parameter can be | |
12479 | assumed to always be != NULL. [Coverity CID 202] | |
12480 | ||
12481 | * argp/argp-help.c (hol_entry_help): Remove some dead code | |
12482 | [Coverity CID 200]. | |
12483 | ||
12484 | * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Optimize | |
12485 | away a few more unconditional yperr2nss calls. | |
12486 | (_nss_nis_getservbyname_r): Likewise. | |
12487 | ||
acf82eaf UD |
12488 | 2006-05-06 Ulrich Drepper <drepper@redhat.com> |
12489 | ||
4461cf48 UD |
12490 | * sysdeps/generic/ldsodefs.h: Remove support for non-core |
12491 | architectures. | |
12492 | ||
b74a8c7f UD |
12493 | * sysdeps/unix/sysv/linux/check_pf.c (make_request): Make sure |
12494 | that unused memory passed to sendto is nevertheless initialized. | |
12495 | ||
acb98cb5 UD |
12496 | [BZ #2499] |
12497 | * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Avoid | |
12498 | possibly unaligned memory accesses. | |
12499 | ||
bce16467 UD |
12500 | * include/arpa/nameser.h: Also optimize NS_PUT16 and NS_PUT32. |
12501 | * resolv/res_mkquery.c: Use NS_PUT16 and NS_PUT32 instead of __putshort | |
12502 | and __putlong respectively. Correct buffer overflow check for | |
12503 | NS_NOTIFY_OP. | |
12504 | ||
12505 | * resolv/res_send.c (send_vc): Use ns_put16 instead of putshort. | |
12506 | ||
8e45b1ac UD |
12507 | * resolv/res_send.c (res_queriesmatch): Fix typo in comment. |
12508 | (send_dg): Rewrite error handling to be more compact and avoid | |
12509 | double recomputation of timeouts. Pass MSG_NOSIGNAL to send. | |
12510 | ||
697e1628 UD |
12511 | * include/arpa/nameser.h: Add optimizations for NS_GET16 and NS_GET32. |
12512 | ||
12513 | * resolv/res_send.c (res_nameinquery): Use NS_GET16 directly | |
12514 | instead of ns_get16. | |
12515 | (res_queriesmatch): Likewise. Minor optimization. | |
12516 | ||
acf82eaf UD |
12517 | [BZ #2499] |
12518 | * resolv/res_query.c (__libc_res_nquery): If answerp != NULL, | |
12519 | __libc_res_nsend might reallocate the buffer for the answer. In | |
12520 | this case we have to reload the HP pointer. | |
12521 | ||
7bfee654 UD |
12522 | 2006-05-05 Ulrich Drepper <drepper@redhat.com> |
12523 | ||
694b49ca UD |
12524 | * stdio-common/vfscanf.c (memory_error): Remove definition. Add |
12525 | some branch prediction hints. | |
12526 | ||
7bfee654 UD |
12527 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define SPLICE_F_*. |
12528 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. | |
12529 | * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. | |
12530 | * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. | |
12531 | * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. | |
12532 | * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. | |
12533 | * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. | |
12534 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. | |
12535 | ||
308bb2d5 UD |
12536 | 2006-05-05 Martin Schwidefsky <schwidefsky@de.ibm.com> |
12537 | ||
12538 | * sysdeps/s390/s390-32/elf/start.S: Replace pc relative relocation | |
12539 | by a GOT relocation to make Scrt1.o position independent. | |
12540 | * sysdeps/s390/s390-64/elf/start.S: Likewise. | |
12541 | ||
12542 | * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: Add support for | |
12543 | six system call parameters. | |
12544 | * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise. | |
12545 | ||
cdb9c321 UD |
12546 | 2006-05-05 Ulrich Drepper <drepper@redhat.com> |
12547 | ||
12548 | * sunrpc/svcauth_des.c (cache_init): Use calloc instead of | |
12549 | malloc&bzero. | |
12550 | ||
12551 | * sunrpc/svc_udp.c (BZERO): Remove definition. | |
12552 | (CALLOC): Define. | |
12553 | (svc_enablecache): Use CALLOC instead of ALLOC&BZERO. | |
12554 | ||
12555 | * sunrpc/des_impl.c: Remove ALT_ECB support. We never used it. | |
12556 | (des_SPtrans): Use uint32_t type. | |
12557 | (des_skb): Likewise. | |
12558 | ||
12559 | * sunrpc/xdr_ref.c (xdr_reference): Use calloc instead of malloc&bzero. | |
12560 | ||
fff04b32 UD |
12561 | 2006-05-05 Jakub Jelinek <jakub@redhat.com> |
12562 | ||
12563 | [BZ #2509] | |
12564 | * stdio-common/tst-printf.sh: Adjust for tst-printf.c change even | |
12565 | on 32-bit arches. | |
12566 | ||
12567 | 2006-05-05 Ulrich Drepper <drepper@redhat.com> | |
12568 | ||
12569 | * locale/programs/ld-address.c (address_finish): Fix one more | |
cdb9c321 | 12570 | place where the iso639 array might be accessed beyond the limits. |
fff04b32 | 12571 | |
077a30bc | 12572 | 2006-05-04 Ulrich Drepper <drepper@redhat.com> |
77dd4c3b | 12573 | |
f2d5cf50 UD |
12574 | * nis/nis_table.c (nis_list): Avoid clearing res twice before |
12575 | filling it for the first time. | |
12576 | ||
3e4370cf UD |
12577 | * nis/nis_table.c (get_tablepath): Renamed from __get_tablepath. |
12578 | Adjust all callers. | |
12579 | Free res object content before returning. | |
12580 | ||
5e65a53d UD |
12581 | * sunrpc/xdr_array.c (xdr_array): Use calloc instead of malloc&bzero. |
12582 | ||
48be3114 UD |
12583 | * sunrpc/key_call.c (__rpc_thread_key_cleanup): Also free |
12584 | client->cl_auth. | |
12585 | ||
ca4fce0e UD |
12586 | * sunrpc/rpc_thread.c (__rpc_thread_destroy): Don't skip entire |
12587 | cleanup for initial thread, just the free call on TVP. | |
12588 | ||
077a30bc | 12589 | * nscd/gai.c (__getline): Define. |
3b7a95fb | 12590 | |
5d37289a | 12591 | |
3f87d901 | 12592 | See ChangeLog.16 for earlier changes. |