]>
Commit | Line | Data |
---|---|---|
80a98966 AS |
1 | 2009-06-25 Andreas Schwab <aschwab@redhat.com> |
2 | ||
3 | * sysdeps/powerpc/powerpc32/____longjmp_chk.S (LOAD_ARG): Define. | |
4 | (CHECK_SP): Use it. | |
54c99aab | 5 | |
3f241d75 AS |
6 | 2009-06-24 Andreas Schwab <aschwab@redhat.com> |
7 | ||
8 | * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Fix cfa offset | |
9 | for saved registers. | |
10 | * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise. | |
11 | * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise. | |
12 | * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise. | |
13 | ||
7a7c2c24 AS |
14 | 2009-06-23 Andreas Schwab <aschwab@redhat.com> |
15 | ||
16 | * time/tzfile.c (__tzfile_read): Don't use an empty TZ string. | |
17 | ||
20a3ce85 UD |
18 | 2009-06-22 Ulrich Drepper <drepper@redhat.com> |
19 | ||
58d60030 UD |
20 | * po/id.po: Update from translation team. |
21 | ||
20a3ce85 UD |
22 | * po/bg.po: Update from translation team. |
23 | ||
772f4e6a L |
24 | 2009-06-22 H.J. Lu <hongjiu.lu@intel.com> |
25 | ||
26 | * string/strncmp.c (STRNCMP): New. Defined to strncmp if not | |
27 | defined. | |
28 | (strncmp): Renamed to STRNCMP. | |
29 | * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add | |
30 | strncmp-c for string. | |
31 | * sysdeps/x86_64/multiarch/init-arch.h (HAS_SSE4_2): Define. | |
32 | * sysdeps/x86_64/multiarch/strcmp.S: New file. | |
33 | * sysdeps/x86_64/multiarch/strncmp.S: New file. | |
34 | * sysdeps/x86_64/multiarch/strncmp-c.c: New file. | |
35 | ||
3c30afc8 L |
36 | 2009-06-19 H.J. Lu <hongjiu.lu@intel.com> |
37 | ||
38 | * elf/Makefile (distribute): Add ifuncmain1staticpie.c, | |
39 | ifuncmain5.c, ifuncmain5pic.c, ifuncmain5picstatic.c, | |
40 | ifuncmain5pie.c, ifuncmain5static.c, ifuncmain5staticpic.c, | |
41 | ifuncdep5.c, ifuncdep5pic.c, ifuncmod5.c, ifuncmain7.c, | |
42 | ifuncmain7pic.c, ifuncmain7picstatic.c, ifuncmain7pie.c, and | |
43 | ifuncmain7static.c. | |
44 | (tests-static): Add ifuncmain5static, ifuncmain5picstatic, | |
45 | ifuncmain7static, and ifuncmain7picstatic. | |
46 | (tests): Also depend on $(objpfx)ifuncmain1staticpie.out, | |
47 | $(objpfx)ifuncmain5pie.out, $(objpfx)ifuncmain6pie.out, and | |
48 | $(objpfx)ifuncmain7pie.out. | |
49 | (modules-names): Add ifuncmod5 ifuncmod6 | |
50 | (ifuncmod5.so-no-z-defs): Define. | |
51 | (ifuncmod6.so-no-z-defs): Define. | |
52 | (CFLAGS-ifuncmain5pic.c): Define. | |
53 | (CFLAGS-ifuncmain5picstatic.c): Define. | |
54 | (CFLAGS-ifuncmain5staticpic.c): Define. | |
55 | (CFLAGS-ifuncdep5pic.c): Define. | |
56 | (CFLAGS-ifuncmain7pic.c): Define. | |
57 | (CFLAGS-ifuncmain7picstatic.c): Define. | |
58 | (CFLAGS-ifuncmain1staticpie.c): Define. | |
59 | (CFLAGS-ifuncmain5pie.c): Define. | |
60 | (CFLAGS-ifuncmain6pie.c): Define. | |
61 | (CFLAGS-ifuncmain7pie.c): Define. | |
62 | ($(objpfx)ifuncmain1staticpie.out): Define. | |
63 | ($(objpfx)ifuncmain1staticpie): Define. | |
64 | ($(objpfx)ifuncmain5pie.out): Define. | |
65 | ($(objpfx)ifuncmain5pie): Define. | |
66 | ($(objpfx)ifuncmain6pie.out): Define. | |
67 | ($(objpfx)ifuncmain6pie): Define. | |
68 | ($(objpfx)ifuncmain5): Define. | |
69 | ($(objpfx)ifuncmain5pic): Define. | |
70 | ($(objpfx)ifuncmain5static): Define. | |
71 | ($(objpfx)ifuncmain5staticpic): Define. | |
72 | ($(objpfx)ifuncmain5picstatic): Define. | |
73 | (generated): Add ifuncmain1staticpie, ifuncmain1staticpie.out, | |
74 | ifuncmain5pie, ifuncmain5pie.out, ifuncmain6pie, and | |
75 | ifuncmain6pie.out. | |
76 | * elf/b/elf/ifuncmain1staticpie.c: New file. | |
77 | * elf/ifuncdep5.c: New file. | |
78 | * elf/ifuncdep5pic.c: New file. | |
79 | * elf/ifuncmain5.c: New file. | |
80 | * elf/ifuncmain5pic.c: New file. | |
81 | * elf/ifuncmain5picstatic.c: New file. | |
82 | * elf/ifuncmain5pie.c: New file. | |
83 | * elf/ifuncmain5static.c: New file. | |
84 | * elf/ifuncmain5staticpic.c: New file. | |
85 | * elf/ifuncmain6pie.c: New file. | |
86 | * elf/ifuncmain7.c: New file. | |
87 | * elf/ifuncmain7pic.c: New file. | |
88 | * elf/ifuncmain7picstatic.c: New file. | |
89 | * elf/ifuncmain7pie.c: New file. | |
90 | * elf/ifuncmain7static.c: New file. | |
91 | * elf/ifuncmod5.c: New file. | |
92 | * elf/ifuncmod6.c: New file. | |
93 | ||
ccab6d8f UD |
94 | 2009-06-20 Ulrich Drepper <drepper@redhat.com> |
95 | ||
96 | [BZ #10085] | |
97 | * nis/nss_compat/compat-initgroups.c (nss_setgrent): New variable. | |
98 | (nss_endgrent): New variable. | |
99 | (struct ent_t): Add need_endgrent and skip_initgroups_dyn | |
100 | fields. Change type of files to bool and adjust all users. | |
101 | (init_nss_interface): Initialize nss_setgrent and nss_endgrent. | |
102 | (internal_endgrent): Call nss_endgrent if necessary. | |
103 | (add_group): New function. Broken out of... | |
104 | (check_and_add_group): ...here. | |
105 | (getgrent_next_nss): Remove test that any callback is available. | |
106 | Use skip_initgroups_dyn to determine whether to use initgroups_dyn | |
107 | callback. If there is no blacklist we can trust the results returned | |
108 | by the initgroups_dyn callback. In case there is a callback and we | |
109 | find a group entry for the group ID but it doesn't contain the | |
110 | correct member, switch to the slow mode and use getgrent_r. | |
111 | (internal_getgrent_r): When we see a +: entry, determine whether | |
112 | there is any callback and which we can use the initgroups_dyn | |
113 | callback. | |
114 | ||
d0a2af71 UD |
115 | 2009-06-18 Ulrich Drepper <drepper@redhat.com> |
116 | ||
f6887a0d UD |
117 | * malloc/malloc.c (_int_malloc): Add some consistency checks. |
118 | (_int_free): Likewise. | |
119 | ||
d0a2af71 UD |
120 | * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_IEEE802154 and |
121 | AF_IEEE802154. | |
122 | * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise. | |
123 | * sysdeps/unix/sysv/linux/net/if_arp.h: Define ARPHRD_IEEE802154 | |
124 | and ARPHRD_IEEE802154_PHY. | |
125 | ||
126 | * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Add missing definitions | |
127 | relative to generic Linux version. | |
128 | ||
d8366b09 L |
129 | 2009-06-17 H.J. Lu <hongjiu.lu@intel.com> |
130 | ||
131 | * elf/Makefile ($(objpfx)ifuncmain1pie): Use $(+link-pie). | |
132 | ($(objpfx)ifuncmain1vispie): Likewise. | |
133 | ||
f051ddfe UD |
134 | 2009-06-16 Ulrich Drepper <drepper@redhat.com> |
135 | ||
136 | * login/Makefile: Build pt_chown as PIE. | |
137 | ||
f60ddf9b AS |
138 | 2009-06-15 Andreas Schwab <aschwab@redhat.com> |
139 | ||
140 | * debug/xtrace.sh (do_help): Don't treat bug reporting message as | |
141 | a format string. | |
142 | * elf/sln.c (usage): Likewise. | |
143 | * malloc/memusage.sh (do_help): Likewise. | |
144 | * nss/getent.c (more_help): Likewise. | |
145 | * posix/getconf.c (main): Likewise. | |
146 | * sunrpc/rpcinfo.c (usage): Likewise. | |
147 | * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise. | |
148 | ||
f793b624 UD |
149 | 2009-06-16 Ulrich Drepper <drepper@redhat.com> |
150 | ||
8a909c64 UD |
151 | * login/programs/pt_chown.c: Use libcap to drop privileges other than |
152 | those needed. | |
f793b624 | 153 | * login/Makefile: If necessary link pt_chown with -lcap. |
8a909c64 UD |
154 | * sysdeps/generic/pty-private.h: Define FAIL_ENOMEM. |
155 | * sysdeps/unix/grantpt.c: Handle FAIL_ENOMEM. | |
f793b624 | 156 | |
fab8238d JJ |
157 | 2009-06-16 Jakub Jelinek <jakub@redhat.com> |
158 | ||
159 | * sysdeps/x86_64/memchr.S (memchr): Use unsigned instead of signed | |
160 | comparisons. | |
161 | * string/test-memchr.c (do_random_tests): Test very large lengths | |
162 | as well. | |
163 | ||
435aa54b L |
164 | 2009-06-02 H.J. Lu <hongjiu.lu@intel.com> |
165 | ||
166 | * Makeconfig (+link-pie): Define. | |
167 | (+prectorS): Define. | |
168 | (+postctorS): Define. | |
169 | * elf/Makefile ($(objpfx)tst-pie1): Use $(+link-pie). | |
170 | * nscd/Makefile ($(objpfx)nscd): Likewise. | |
171 | ||
25bfbb9e RA |
172 | 2009-04-22 Ryan S. Arnold <rsa@us.ibm.com> |
173 | ||
174 | [BZ #10107] | |
175 | * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Replace cmpldi | |
176 | with cmplwi. | |
177 | * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise. | |
178 | ||
b34de9ea UD |
179 | 2009-06-16 Ulrich Drepper <drepper@redhat.com> |
180 | ||
181 | * sysdeps/unix/sysv/linux/grantpt.c: Remove file after folding changes | |
182 | into ... | |
183 | * sysdeps/unix/grantpt.c: ...here. | |
184 | ||
a468a1d4 UD |
185 | 2009-06-15 Ulrich Drepper <drepper@redhat.com> |
186 | ||
837dea7c UD |
187 | * sysdeps/unix/sysv/linux/grantpt.c (grantpt): Only call chown and |
188 | chmod if it is necessary. | |
189 | ||
292e3abe | 190 | [BZ #10166] |
eae3208e UD |
191 | * sysdeps/unix/sysv/linux/grantpt.c: Remove shortcut which was used |
192 | when the slave device is in devpts or devfs. | |
292e3abe | 193 | |
395a37e3 UD |
194 | [BZ #10183] |
195 | * posix/tst-cpucount.c: Don't try more than CPU_SETSIZE bits. | |
196 | ||
7ed520bd AE |
197 | [BZ #10195] |
198 | * inet/netinet/icmp6.h (struct nd_opt_home_agent_info): Change type | |
199 | of nd_opt_home_agent_info_preference to uint16_t. | |
200 | Patch by Arnaud Ebalard <arno@natisbad.org>. | |
201 | ||
c518f9a4 | 202 | [BZ #10207] |
f6887a0d | 203 | * nss/getent.c: Add support for printing gshadow data. |
c518f9a4 | 204 | |
233a182b JL |
205 | [BZ #10203] |
206 | * nis/nss_nis/nis-pwd.c (internal_nis_endpwent): Free all buffers, | |
207 | not just the currently used one and those which follow. | |
208 | Patch by Joe Landers <jlanders@vmware.com>. | |
209 | ||
4155d926 BD |
210 | [BZ #10196] |
211 | * libio/tst-fgetwc.c (do_test): Use de_DE.UTF-8 as locale name. | |
eae3208e | 212 | * libio/Makefile: Run tst-fgetwc with necessary envvar. |
4155d926 BD |
213 | Patch by Bruce Dubbs <bdubbs@linuxfromscratch.org>. |
214 | ||
48dcd0ba UD |
215 | [BZ #10217] |
216 | * stdlib/abort.c: Define variable __abort_msg. | |
217 | * stdlib/Versions: Export __abort_msg with GLIBC_PRIVATE version. | |
218 | * include/stdlib.h: Declare __abort_msg. | |
219 | * assert/assert-perr.c: Don't free buffer for message immediately. | |
220 | Store atomically in __abort_msg and free old buffer if necessary. | |
221 | * assert/assert.c: Likewise. | |
222 | * sysdeps/posix/libc_fatal.c: Allocate buffer for message, copy it, | |
223 | store pointer in __abort_msg, and possibly free old string. | |
224 | * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise. | |
225 | ||
6355c997 UD |
226 | * time/tzfile.c (__tzfile_read): Correct computation of tzspec_len. |
227 | ||
29143408 AH |
228 | [BZ #10211] |
229 | * time/tzfile.c (__tzfile_compute): If we use the envvar format still | |
230 | handle leap seconds if they are available. | |
231 | Patch by Akinori Hattori <hattya@gentoo.org>. | |
232 | ||
5fb55a68 UD |
233 | * timezone/tzselect.ksh: Update from tzcode2009i. |
234 | * timezone/zdump.c: Likewise. | |
235 | * timezone/zic.c: Likewise. | |
236 | ||
a468a1d4 UD |
237 | * timezone/africa: Update from tzdata2009i. |
238 | * timezone/antarctica: Likewise. | |
239 | * timezone/asia: Likewise. | |
240 | * timezone/australasia: Likewise. | |
241 | * timezone/backward: Likewise. | |
242 | * timezone/etcetera: Likewise. | |
243 | * timezone/europe: Likewise. | |
244 | * timezone/factory: Likewise. | |
245 | * timezone/iso3166.tab: Likewise. | |
246 | * timezone/leapseconds: Likewise. | |
247 | * timezone/northamerica: Likewise. | |
248 | * timezone/pacificnew: Likewise. | |
249 | * timezone/solar87: Likewise. | |
250 | * timezone/solar88: Likewise. | |
251 | * timezone/solar89: Likewise. | |
252 | * timezone/southamerica: Likewise. | |
253 | * timezone/systemv: Likewise. | |
254 | * timezone/yearistype: Likewise. | |
255 | * timezone/zone.tab: Likewise. | |
256 | ||
02125962 JJ |
257 | 2009-06-15 Jakub Jelinek <jakub@redhat.com> |
258 | ||
259 | * elf/dl-lookup.c (_dl_debug_bindings): When resolving to | |
260 | STT_GNU_IFUNC symbol or in 8 into type_class. | |
261 | ||
262 | * sysdeps/i386/dl-irel.h (elf_irel): Use Elf32_Addr type | |
263 | instead of Elf64_Addr. | |
264 | ||
eb0b6cb6 UD |
265 | 2009-06-14 Ulrich Drepper <drepper@redhat.com> |
266 | ||
53c06891 UD |
267 | * po/sv.po: Update from translation team. |
268 | ||
eb0b6cb6 UD |
269 | [BZ #10229] |
270 | * misc/sys/select.h (__NFDBITS): Expression should have type int. | |
271 | * sysdeps/x86_64/bits/select.h: Remove asm versions for __FD_SET, | |
272 | __FD_CLR, and __FD_ISSET. gcc nowadays generates better code from | |
273 | the C version. | |
274 | ||
bfdb73e1 UD |
275 | 2009-06-12 Ulrich Drepper <drepper@redhat.com> |
276 | ||
277 | * Versions.def: Add GLIBC_2.11 for libpthread. | |
278 | ||
310647e9 UD |
279 | 2009-06-11 Ulrich Drepper <drepper@redhat.com> |
280 | ||
281 | * resolv/res_send.c (send_dg): Remember we switched to | |
282 | single-request mode. | |
283 | ||
d360a0da UD |
284 | 2009-06-09 Ulrich Drepper <drepper@redhat.com> |
285 | ||
88ea382f D |
286 | * dlfcn/dlfcn.h: Remove comma at end of enum. |
287 | Patch by J.H.M. Dassen <rdassen@redhat.com>. | |
288 | ||
d360a0da UD |
289 | * libio/fileops.c (_IO_new_file_fopen): Don't prematurely stop |
290 | parsing mode string. | |
291 | ||
443caceb UD |
292 | 2009-06-05 Ulrich Drepper <drepper@redhat.com> |
293 | ||
b77c9323 UD |
294 | * sysdeps/x86_64/rawmemchr.S: Minor optimization. |
295 | ||
296 | * sysdeps/x86_64/multiarch/rawmemchr.S: New file. | |
297 | ||
3ab2d57a UD |
298 | * sysdeps/x86_64/multiarch/strlen.S: New file. |
299 | * sysdeps/x86_64/multiarch/ifunc-defines.sym: New file. | |
300 | * sysdeps/x86_64/multiarch/Makefile: Add rule to build ifunc-defines.h. | |
301 | * sysdeps/x86_64/multiarch/init-arch.h: Name structure with register | |
302 | content. | |
303 | ||
443caceb UD |
304 | * csu/elf-init.c: Only compile in IFUNC functionality if USE_MULTIARCH |
305 | is defined. | |
306 | ||
747785f2 UD |
307 | 2009-06-04 Ulrich Drepper <drepper@redhat.com> |
308 | ||
2f3f7b9d | 309 | * sysdeps/x86_64/strlen.S: Minor optimizations. |
747785f2 | 310 | |
2f083d75 L |
311 | 2009-06-02 H.J. Lu <hongjiu.lu@intel.com> |
312 | ||
313 | * elf/Makefile (distribute): Add ifuncmain1.c, ifuncmain1pic.c, | |
314 | ifuncmain1vis.c, ifuncmain1vispic.c, ifuncmain1static.c, | |
315 | ifuncmain1staticpic.c, ifuncmain1picstatic.c, ifuncdep1.c, | |
316 | ifuncdep1pic.c, ifuncmod1.c, ifuncmain1pie.c, ifuncmain1vispie.c, | |
317 | ifuncmain2.c, ifuncmain2static.c, ifuncdep2.c, | |
318 | funcmain2pic.c, ifuncmain2picstatic.c, ifuncdep2pic.c, | |
319 | ifuncmain3.c, ifuncmod3.c,. | |
320 | ifuncmain4.c, ifuncmain4static.c, ifuncmain4picstatic.c. | |
321 | (tests-static): Add ifuncmain1static, ifuncmain1picstatic, | |
322 | ifuncmain2static, ifuncmain2picstatic, ifuncmain4static, | |
323 | ifuncmain4picstatic. | |
324 | (tests): Add ifuncmain1, ifuncmain1pic, ifuncmain1vis, | |
325 | ifuncmain1vispic, ifuncmain1staticpic, ifuncmain2, ifuncmain2pic, | |
326 | ifuncmain3, ifuncmain4. | |
327 | (tests): Depend on $(objpfx)ifuncmain1pie.out and | |
328 | $(objpfx)ifuncmain1vispie.out. | |
329 | (modules-names): Add ifuncmod1 ifuncmod3. | |
330 | (generated): Add ifuncmain1pie ifuncmain1pie.out | |
331 | ifuncmain1vispie ifuncmain1vispie.out. | |
332 | Define rules to build and run the tests. | |
333 | * elf/ifuncdep1.c: New file. | |
334 | * elf/ifuncdep1pic.c: New file. | |
335 | * elf/ifuncdep2.c: New file. | |
336 | * elf/ifuncdep2pic.c: New file. | |
337 | * elf/ifuncmain1.c: New file. | |
338 | * elf/ifuncmain1pic.c: New file. | |
339 | * elf/ifuncmain1picstatic.c: New file. | |
340 | * elf/ifuncmain1pie.c: New file. | |
341 | * elf/ifuncmain1static.c: New file. | |
342 | * elf/ifuncmain1staticpic.c: New file. | |
343 | * elf/ifuncmain1vis.c: New file.. | |
344 | * elf/ifuncmain1vispic.c: New file.. | |
345 | * elf/ifuncmain1vispie.c: New file. | |
346 | * elf/ifuncmain2.c: New file. | |
347 | * elf/ifuncmain2pic.c: New file. | |
348 | * elf/ifuncmain2picstatic.c: New file. | |
349 | * elf/ifuncmain2static.c: New file. | |
350 | * elf/ifuncmain3.c: New file. | |
351 | * elf/ifuncmain4.c: New file. | |
352 | * elf/ifuncmain4picstatic.c: New file. | |
353 | * elf/ifuncmain4static.c: New file. | |
354 | * elf/ifuncmod1.c: New file. | |
355 | * elf/ifuncmod3.c: New file. | |
356 | ||
fbb04b35 UD |
357 | 2009-06-03 Ulrich Drepper <drepper@redhat.com> |
358 | ||
359 | * elf/dl-sysdep.c (_dl_show_auxv): Terminate correct string. | |
360 | ||
3d5243d4 UD |
361 | 2009-06-02 Ulrich Drepper <drepper@redhat.com> |
362 | ||
363 | [BZ #10221] | |
364 | * posix/Makefile (routines): Add execvpe. | |
365 | * posix/Versions: Export execvpe for GLIBC_2.11. | |
366 | * posix/execvp.c: Now only a wrapper. Move code to... | |
367 | * posix/execvpe.c: ...here. New file. | |
368 | * posix/unistd.h: Declare execvpe. | |
369 | ||
b7629ee3 UD |
370 | 2009-06-01 Ulrich Drepper <drepper@redhat.com> |
371 | ||
fd96f062 UD |
372 | * sysdeps/i386/dl-machine.h (elf_machine_rel): Reorder conditions |
373 | for STT_GNU_IFUNC handling for efficiency. | |
374 | * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise. | |
375 | ||
b7629ee3 UD |
376 | * sysdeps/i386/dl-irel.h (elf_irel): Use __libc_fatal instead of just |
377 | _exit. | |
378 | * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise. | |
379 | ||
8ea23729 UD |
380 | 2009-05-31 Ulrich Drepper <drepper@redhat.com> |
381 | ||
382 | * sysdeps/x86_64/multiarch/sched_cpucount.c: Also use optimized code | |
383 | for !SHARED. | |
384 | ||
74414708 UD |
385 | 2009-05-29 H.J. Lu <hongjiu.lu@intel.com> |
386 | ||
387 | * csu/elf-init.c: Include <link.h> and <dl-irel.h> if LIBC_NONSHARED | |
388 | is not defined. | |
389 | (__rela_iplt_start): New declaration. | |
390 | (__rela_iplt_end): Likewise. | |
391 | (__rel_iplt_start): Likewise. | |
392 | (__rel_iplt_end): Likewise. | |
393 | (__libc_csu_init): Process __rela_iplt_start and __rel_iplt_start. | |
394 | * elf/elf.h (R_386_IRELATIVE): New macro. | |
395 | (R_X86_64_IRELATIVE): New macro. | |
396 | (R_386_NUM): Updated. | |
397 | (R_X86_64_NUM): Likewise. | |
398 | * include/libc-symbols.h (libc_ifunc_hidden_def1): New macro. | |
399 | (libc_ifunc_hidden_def): New macro. | |
400 | * sysdeps/generic/dl-irel.h: New file. | |
401 | * sysdeps/i386/dl-irel.h: New file. | |
402 | * sysdeps/x86_64/dl-irel.h: New file. | |
403 | * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle R_386_IRELATIVE. | |
404 | (elf_machine_rela): Check SHN_UNDEF for STT_GNU_IFUNC symbol. | |
405 | Handle R_386_IRELATIVE. | |
406 | (elf_machine_lazy_rel): Handle R_386_IRELATIVE. | |
407 | (elf_machine_lazy_rela): Likewise. | |
408 | * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle | |
409 | R_X86_64_IRELATIVE. | |
410 | (elf_machine_lazy_rel): Handle R_X86_64_IRELATIVE. | |
411 | ||
963cb6fc UD |
412 | 2009-05-31 Ulrich Drepper <drepper@redhat.com> |
413 | ||
414 | * sysdeps/x86_64/multiarch/init-arch.h: Define COMMON_CPUID_INDEX_1 | |
415 | instead of INTEL_CPUID_INDEX_1 and AMD_CPUID_INDEX_1. So far there | |
416 | are no differences. If an architecture has bits in CPUID index 1 | |
417 | meaning different things the values for the COMMON_CPUID_INDEX_1 | |
418 | index must not be set. | |
419 | (INTEL_HAS_POPCOUNT, AMD_HAS_POPCOUNT): Removed in favor of... | |
420 | (HAS_POPCOUNT): ...this. New macro. | |
421 | * sysdeps/x86_64/multiarch/init-arch.c: Use COMMON_CPUID_INDEX_1 | |
422 | instead of INTEL_CPUID_INDEX_1 and AMD_CPUID_INDEX_1. Unify code | |
423 | to set the value for Intel and AMD architectures. | |
424 | * sysdeps/x86_64/cacheinfo.c: Use COMMON_CPUID_INDEX_1 instead of | |
425 | INTEL_CPUID_INDEX_1. | |
426 | * sysdeps/x86_64/multiarch/sched_cpucount.c: Adjust for HAS_POPCOUNT | |
427 | change. | |
428 | ||
c16a054d AS |
429 | 2009-05-30 Andreas Schwab <schwab@linux-m68k.org> |
430 | ||
431 | * configure.in: Move AC_CANONICAL_HOST before first use of $host | |
432 | and $build. | |
c16a054d | 433 | |
7f3394bd UD |
434 | 2009-05-29 Jakub Jelinek <jakub@redhat.com> |
435 | ||
436 | * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <errno.h>. | |
437 | (__expm1l): Set errno to ERANGE on overflow. | |
438 | * sysdeps/ieee754/ldbl-128/s_tanl.c: Include <errno.h>. | |
439 | (__tanl): Set errno to EDOM for ±Inf. | |
440 | * sysdeps/ieee754/ldbl-128/s_cosl.c: Include <errno.h>. | |
441 | (__cosl): Set errno to EDOM for ±Inf. | |
442 | * sysdeps/ieee754/ldbl-128/s_sinl.c: Include <errno.h>. | |
443 | (__sinl): Set errno to EDOM for ±Inf. | |
444 | ||
b8bb339f UD |
445 | * sysdeps/s390/s390-32/__longjmp.c (__longjmp): If CHECK_SP is |
446 | defined, use it. | |
447 | * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise. | |
448 | * sysdeps/s390/s390-32/____longjmp_chk.c: New file. | |
449 | * sysdeps/s390/s390-64/____longjmp_chk.c: New file. | |
450 | ||
1de0c161 UD |
451 | 2009-05-29 Ulrich Drepper <drepper@redhat.com> |
452 | ||
453 | * sysdeps/x86_64/cacheinfo.c: Compact intel_02_known array. Adjust | |
454 | code accessing it. | |
455 | * sysdeps/unix/sysv/linux/i386/sysconf.c: Likewise. | |
456 | ||
0323b051 AS |
457 | 2009-05-22 Andreas Schwab <schwab@linux-m68k.org> |
458 | ||
38ae768d AS |
459 | * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Set errno for ±Inf. |
460 | * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise. | |
461 | * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise. | |
462 | * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Set errno for overflow. | |
463 | ||
0323b051 AS |
464 | * sysdeps/powerpc/powerpc32/____longjmp_chk.S: New file. |
465 | * sysdeps/powerpc/powerpc64/____longjmp_chk.S: New file. | |
466 | * sysdeps/powerpc/powerpc32/__longjmp-common.S: Use CHECK_SP if | |
467 | defined. | |
468 | * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise. | |
469 | * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise. | |
470 | ||
1e1dc4e8 JJ |
471 | 2009-05-22 Jakub Jelinek <jakub@redhat.com> |
472 | ||
473 | * sysdeps/unix/sysv/linux/accept4.c: Include kernel-features.h. | |
474 | (accept4): If __NR_accept4 is not defined, but __NR_socketcall | |
475 | is, either do nothing at all if __ASSUME_ACCEPT4, or | |
476 | call __internal_accept4 and handle EINVAL -> ENOSYS translation. | |
477 | * sysdeps/unix/sysv/linux/internal_accept4.S: New file. | |
478 | * sysdeps/unix/sysv/linux/i386/accept4.S (SOCKOP_accept4): Don't | |
479 | define. | |
480 | * sysdeps/unix/sysv/linux/i386/internal_accept4.S: New file. | |
481 | * sysdeps/unix/sysv/linux/Makefile (sysdep-routines): Add | |
482 | internal_accept4 in socket directory. | |
483 | ||
10495c0b UD |
484 | 2009-05-20 H.J. Lu <hongjiu.lu@intel.com> |
485 | ||
486 | * sysdeps/ia64/configure.in: New file. | |
487 | ||
fa64b7f7 UD |
488 | 2009-05-21 H.J. Lu <hongjiu.lu@intel.com> |
489 | ||
490 | [BZ #10162] | |
491 | * sysdeps/ia64/memchr.S: Use speculative load. | |
492 | ||
d2812fc6 L |
493 | * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S: New file. |
494 | * sysdeps/unix/sysv/linux/ia64/__longjmp.S: If CHECK_RSP is defined, | |
495 | use it. | |
496 | ||
e7535de7 L |
497 | * sysdeps/i386/__longjmp.S: Add .text. |
498 | * sysdeps/x86_64/__longjmp.S: Likewise. | |
499 | ||
3533b1a6 UD |
500 | 2009-05-21 Ulrich Drepper <drepper@redhat.com> |
501 | ||
502 | * sysdeps/unix/sysv/linux/kernel-features.h: Don't define | |
503 | __ASSUME_ACCEPT4 for IA-64. | |
504 | ||
a2292378 JJ |
505 | 2009-05-21 Jakub Jelinek <jakub@redhat.com> |
506 | ||
d14eda93 JJ |
507 | * sysdeps/unix/sysv/linux/accept4.c (__NR_accept4): Don't define. |
508 | ||
a2292378 JJ |
509 | * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_paccept): Remove. |
510 | (SOCKOP_accept4): Define. | |
511 | ||
d4ab2f2a UD |
512 | 2009-05-20 Ulrich Drepper <drepper@redhat.com> |
513 | ||
ab09b221 UD |
514 | Sun approved the change of the license. |
515 | * sunrpc/auth_des.c: Replace license text. | |
516 | * sunrpc/auth_none.c: Likewise. | |
517 | * sunrpc/auth_unix.c: Likewise. | |
518 | * sunrpc/authdes_prot.c: Likewise. | |
519 | * sunrpc/authuxprot.c: Likewise. | |
520 | * sunrpc/bindrsvprt.c: Likewise. | |
521 | * sunrpc/clnt_gen.c: Likewise. | |
522 | * sunrpc/clnt_perr.c: Likewise. | |
523 | * sunrpc/clnt_raw.c: Likewise. | |
524 | * sunrpc/clnt_simp.c: Likewise. | |
525 | * sunrpc/clnt_tcp.c: Likewise. | |
526 | * sunrpc/clnt_udp.c: Likewise. | |
527 | * sunrpc/clnt_unix.c: Likewise. | |
528 | * sunrpc/des_crypt.c: Likewise. | |
529 | * sunrpc/des_soft.c: Likewise. | |
530 | * sunrpc/get_myaddr.c: Likewise. | |
531 | * sunrpc/getrpcport.c: Likewise. | |
532 | * sunrpc/key_call.c: Likewise. | |
533 | * sunrpc/key_prot.c: Likewise. | |
534 | * sunrpc/openchild.c: Likewise. | |
535 | * sunrpc/pm_getmaps.c: Likewise. | |
536 | * sunrpc/pm_getport.c: Likewise. | |
537 | * sunrpc/pmap_clnt.c: Likewise. | |
538 | * sunrpc/pmap_prot.c: Likewise. | |
539 | * sunrpc/pmap_prot2.c: Likewise. | |
540 | * sunrpc/pmap_rmt.c: Likewise. | |
541 | * sunrpc/rpc/auth.h: Likewise. | |
542 | * sunrpc/rpc/auth_unix.h: Likewise. | |
543 | * sunrpc/rpc/clnt.h: Likewise. | |
544 | * sunrpc/rpc/des_crypt.h: Likewise. | |
545 | * sunrpc/rpc/key_prot.h: Likewise. | |
546 | * sunrpc/rpc/netdb.h: Likewise. | |
547 | * sunrpc/rpc/pmap_clnt.h: Likewise. | |
548 | * sunrpc/rpc/pmap_prot.h: Likewise. | |
549 | * sunrpc/rpc/pmap_rmt.h: Likewise. | |
550 | * sunrpc/rpc/rpc.h: Likewise. | |
551 | * sunrpc/rpc/rpc_des.h: Likewise. | |
552 | * sunrpc/rpc/rpc_msg.h: Likewise. | |
553 | * sunrpc/rpc/svc.h: Likewise. | |
554 | * sunrpc/rpc/svc_auth.h: Likewise. | |
555 | * sunrpc/rpc/types.h: Likewise. | |
556 | * sunrpc/rpc/xdr.h: Likewise. | |
557 | * sunrpc/rpc_clntout.c: Likewise. | |
558 | * sunrpc/rpc_cmsg.c: Likewise. | |
559 | * sunrpc/rpc_common.c: Likewise. | |
560 | * sunrpc/rpc_cout.c: Likewise. | |
561 | * sunrpc/rpc_dtable.c: Likewise. | |
562 | * sunrpc/rpc_hout.c: Likewise. | |
563 | * sunrpc/rpc_main.c: Likewise. | |
564 | * sunrpc/rpc_parse.c: Likewise. | |
565 | * sunrpc/rpc_parse.h: Likewise. | |
566 | * sunrpc/rpc_prot.c: Likewise. | |
567 | * sunrpc/rpc_sample.c: Likewise. | |
568 | * sunrpc/rpc_scan.c: Likewise. | |
569 | * sunrpc/rpc_scan.h: Likewise. | |
570 | * sunrpc/rpc_svcout.c: Likewise. | |
571 | * sunrpc/rpc_tblout.c: Likewise. | |
572 | * sunrpc/rpc_util.c: Likewise. | |
573 | * sunrpc/rpc_util.h: Likewise. | |
574 | * sunrpc/rpcinfo.c: Likewise. | |
575 | * sunrpc/rpcsvc/bootparam_prot.x: Likewise. | |
576 | * sunrpc/rpcsvc/key_prot.x: Likewise. | |
577 | * sunrpc/rpcsvc/klm_prot.x: Likewise. | |
578 | * sunrpc/rpcsvc/mount.x: Likewise. | |
579 | * sunrpc/rpcsvc/nfs_prot.x: Likewise. | |
580 | * sunrpc/rpcsvc/rex.x: Likewise. | |
581 | * sunrpc/rpcsvc/rstat.x: Likewise. | |
582 | * sunrpc/rpcsvc/rusers.x: Likewise. | |
583 | * sunrpc/rpcsvc/sm_inter.x: Likewise. | |
584 | * sunrpc/rpcsvc/spray.x: Likewise. | |
585 | * sunrpc/rpcsvc/yppasswd.x: Likewise. | |
586 | * sunrpc/rtime.c: Likewise. | |
587 | * sunrpc/svc.c: Likewise. | |
588 | * sunrpc/svc_auth.c: Likewise. | |
589 | * sunrpc/svc_authux.c: Likewise. | |
590 | * sunrpc/svc_raw.c: Likewise. | |
591 | * sunrpc/svc_run.c: Likewise. | |
592 | * sunrpc/svc_simple.c: Likewise. | |
593 | * sunrpc/svc_tcp.c: Likewise. | |
594 | * sunrpc/svc_udp.c: Likewise. | |
595 | * sunrpc/svc_unix.c: Likewise. | |
596 | * sunrpc/svcauth_des.c: Likewise. | |
597 | * sunrpc/xcrypt.c: Likewise. | |
598 | * sunrpc/xdr.c: Likewise. | |
599 | * sunrpc/xdr_array.c: Likewise. | |
600 | * sunrpc/xdr_float.c: Likewise. | |
601 | * sunrpc/xdr_mem.c: Likewise. | |
602 | * sunrpc/xdr_rec.c: Likewise. | |
603 | * sunrpc/xdr_ref.c: Likewise. | |
604 | * sunrpc/xdr_sizeof.c: Likewise. | |
605 | * sunrpc/xdr_stdio.c: Likewise. | |
606 | ||
d4ab2f2a UD |
607 | * po/da.po: Update from translation team. |
608 | ||
04733592 KK |
609 | 2009-05-18 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
610 | ||
611 | * sysdeps/sh/____longjmp_chk.S: New file. | |
612 | * sysdeps/sh/sh3/__longjmp.S: If CHECK_SP is defined, use it. | |
613 | * sysdeps/sh/sh4/__longjmp.S: Likewise. | |
a2292378 | 614 | |
5078fff6 JJ |
615 | 2009-05-18 Jakub Jelinek <jakub@redhat.com> |
616 | Ulrich Drepper <drepper@redhat.com> | |
617 | ||
618 | * nscd/nscd_helper.c (MINIMUM_HASHENTRY_SIZE): Define. | |
619 | (__nscd_cache_search): Assume each entry in the | |
620 | hash chain needs one hashentry and half of datahead. Use | |
621 | MINIMUM_HASHENTRY_SIZE instead of sizeof(hashentry). | |
622 | ||
95410b7b UD |
623 | 2009-05-16 Ulrich Drepper <drepper@redhat.com> |
624 | ||
c457bc13 UD |
625 | * posix/sys/wait.h: Fix typos. Pretty printing. |
626 | * stdlib/stdlib.h: Likewise. Correct comments. | |
8f0d3f49 | 627 | |
a64039b0 UD |
628 | [BZ #10159] |
629 | * stdlib/stdlib.h (__WAIT_INT): Match the definition in <sys/wait.h>. | |
630 | ||
95410b7b UD |
631 | * nscd/nscd_helper.c (__nscd_cache_search): Fix exit condition in last |
632 | patch. | |
633 | ||
831a4049 UD |
634 | 2009-05-15 Ulrich Drepper <drepper@redhat.com> |
635 | ||
831a4049 UD |
636 | * nscd/nscd_helper.c (__nscd_cache_search): Introduce loop counter. |
637 | Use it if we absolutely cannot reach any more correct list elements | |
638 | because that many do not fit into the currently mapped database. | |
639 | ||
6dd78596 UD |
640 | 2009-05-14 Jakub Jelinek <jakub@redhat.com> |
641 | ||
cfe1fc10 JJ |
642 | * nscd/nscd_helper.c: Include stddef.h. |
643 | (__nscd_cache_search): Add datalen argument. Use atomic_forced_read | |
644 | in a couple of places. Return NULL if trail is not less than | |
645 | datasize, don't consider dataheads with length smaller than | |
646 | offsetof (struct datahead, data) + datalen. | |
647 | * nscd/nscd_client.h (__nscd_cache_search): Adjust prototype. | |
648 | * nscd/nscd_gethst_r.c (nscd_gethst_r): Adjust callers. | |
649 | * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise. | |
650 | * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. | |
651 | * nscd/nscd_getai.c (__nscd_getai): Likewise. | |
652 | * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise. | |
653 | * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise. | |
654 | ||
6dd78596 UD |
655 | * sysdeps/unix/sysv/linux/i386/fallocate64.c (__fallocate64_l64): |
656 | Rename ... | |
657 | (fallocate64): ... to this. | |
658 | * sysdeps/unix/sysv/linux/fallocate64.c (__fallocate64_l64): | |
659 | Rename ... | |
660 | (fallocate64): ... to this. | |
661 | * sysdeps/unix/sysv/linux/Versions (libc): Remove fallocate64. | |
662 | * sysdeps/unix/sysv/linux/wordsize-64/Versions (libc): Add | |
663 | fallocate64@@GLIBC_2.10. | |
664 | * sysdeps/unix/sysv/linux/i386/Versions (libc): Add | |
665 | fallocate64@@GLIBC_2.11. | |
666 | * sysdeps/unix/sysv/linux/s390/s390-32/Versions (libc): Likewise. | |
667 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions (libc): Likewise. | |
668 | * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (libc): Likewise. | |
669 | * sysdeps/unix/sysv/linux/sh/Versions (libc): Likewise. | |
670 | ||
6dd78596 UD |
671 | * nscd/selinux.c (nscd_avc_destroy): Removed. |
672 | * nscd/selinux.h (nscd_avc_destroy): Likewise. | |
673 | * nscd/nscd.c (termination_handler): Don't call | |
674 | nscd_avc_destroy. | |
675 | ||
cfe1fc10 JJ |
676 | 2009-05-12 Jakub Jelinek <jakub@redhat.com> |
677 | ||
678 | * include/atomic.h: Formatting. | |
679 | (catomic_compare_and_exchange_val_acq): Don't define if already | |
680 | defined by bits/atomic.h. | |
681 | ||
774f5a30 UD |
682 | 2009-05-15 Ulrich Drepper <drepper@redhat.com> |
683 | ||
bbc5d74d UD |
684 | * math/libm-test.inc (expm1_test): Add test for range error. |
685 | ||
b50f8e42 UD |
686 | * Versions.def: Add GLIBC_2.11 for libc. |
687 | * debug/Makefile (routines): Add longjmp_chk. | |
688 | Add rules to build and run tst-longjmp_chk. | |
689 | * debug/Versions: Export __longjmp_chk for GLIBC_2.11. | |
690 | * debug/longjmp_chk.c: New file. | |
691 | * debug/tst-longjmp_chk.c: New file. | |
692 | * include/bits/setjmp2.: New file. | |
693 | * include/stdio.h: Mark __fortify_fail as internal_function. | |
694 | * setjmp/Makefile (headers): Add bits/setjmp2.h. | |
695 | * setjmp/bits/setjmp2.h: New file. | |
696 | * setjmp/longjmp.c: If __libc_siglongjmp is defined, don't define any | |
697 | of the aliases. | |
698 | * setjmp/setjmp.h: Include <bits/setjmp2.h> if _FORTIFY_SOURCE is | |
699 | defined. | |
700 | * sysdeps/i386/____longjmp_chk.S: New file. | |
701 | * sysdeps/x86_64/____longjmp_chk.S: New file. | |
702 | * sysdeps/i386/__longjmp.S: If CHECK_ESP is defined, use it. | |
703 | * sysdeps/x86_64/__longjmp.S: Likewise. | |
704 | ||
dc50b613 UD |
705 | * version.h: Bump for 2.11 development. |
706 | ||
774f5a30 UD |
707 | * elf/check-execstack.c: New file. |
708 | * elf/Makefile: Add rules to build and run check-execstack. | |
709 | ||
deb84c43 UD |
710 | 2009-05-10 Ulrich Drepper <drepper@redhat.com> |
711 | ||
712 | * version.h (VERSION): Bump to 2.10.1. | |
713 | ||
714 | * nss/getXXbyYY_r.c: If NO_COMPAT_NEEDED is defined don't define any | |
715 | compatibility functions. | |
716 | * nss/getXXent_r.c: Likewise. | |
717 | * gshadow/getsgent_r.c: Define NO_COMPAT_NEEDED. | |
718 | * gshadow/getsgnam_r.c: Likewise. | |
719 | * gshadow/Version: Remove duplicate entries. | |
720 | ||
721 | * sysdeps/x86_64/cacheinfo.c (intel_02_cache_info): Add missing entries | |
722 | for recent processor. | |
723 | * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_cache_info): | |
724 | Likewise. | |
725 | ||
deb318c2 UD |
726 | 2009-05-09 Ulrich Drepper <drepper@redhat.com> |
727 | ||
728 | * version.h (VERSION): Bump for 2.10 release. | |
729 | * include/features.h (__GLIBC_MINOR__): Bump to 10. | |
730 | ||
eb29449a UD |
731 | * Makeconfig: Undo last change. Add asflags-cpu to ASFLAGS in the |
732 | same place we add ASFLAGS-config. | |
733 | ||
cf4f16cc UD |
734 | 2009-05-05 Aurelien Jarno <aurelien@aurel32.net> |
735 | ||
736 | [BZ #10128] | |
737 | * resolv/res_query.c (__libc_res_nquery): If one query returns NOTIMP | |
738 | or FORMERR and the other NOERROR, don't raise an error. | |
739 | ||
23b6b466 UD |
740 | 2009-05-06 Ryan S. Arnold <rsa@us.ibm.com> |
741 | ||
742 | [BZ #10118] | |
743 | * Makeconfig (+asflags): New variable based upon ASFLAG or | |
744 | asflags-cpu. | |
745 | (ASFLAGS): Add override to set ASFLAGS to +asflags. | |
746 | * config.make.in (asflags-cpu): Add variable based upon | |
747 | @libc_cv_cc_submachine@ to propagate -mcpu=CPU from --with-cpu=CPU to | |
748 | the assembler. | |
749 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/setcontext.S: | |
750 | Remove unneeded file now that the assembler emits _ARCH_PWR6 and | |
751 | recognizes power6 instruction set due to passing -mcpu=power6 from | |
752 | --with-cpu=power6 when compiling .S files. | |
753 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/swapcontext.S: | |
754 | Likewise. | |
755 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/setcontext.S: | |
756 | Likewise. | |
757 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/swapcontext.S: | |
758 | Likewise. | |
759 | ||
15417de3 UD |
760 | 2009-05-09 Jakub Jelinek <jakub@redhat.com> |
761 | ||
762 | * string/stratcliff.c (do_test): Test for zero length | |
763 | STRNLEN, MEMCHR, STRNCPY, STPNCPY, MEMCPY, MEMPCPY and memccpy | |
764 | at the end of the page. | |
765 | ||
b5f7c4ca UD |
766 | 2009-05-08 Ulrich Drepper <drepper@redhat.com> |
767 | ||
4300afc1 UD |
768 | * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_AT_RANDOM. |
769 | ||
2221e33e UD |
770 | * sysdeps/x86_64/memchr.S: Handle invalid buffer pointers when |
771 | count is zero. | |
772 | ||
b5f7c4ca UD |
773 | * po/da.po: Update from translation team. |
774 | ||
1765abb3 UD |
775 | 2009-05-05 Jakub Jelinek <jakub@redhat.com> |
776 | ||
777 | * io/sys/stat.h (fstatat64): Guard prototype with __USE_LARGEFILE64, | |
778 | guard __extern_inline wrapper with __USE_ATFILE instead of __USE_GNU. | |
2221e33e | 779 | |
b5f7c4ca UD |
780 | 2009-05-05 Ulrich Drepper <drepper@redhat.com> |
781 | ||
782 | * sysdeps/unix/sysv/linux/sys/personality.h: Add ADDR_COMPAT_LAYOUT | |
783 | and READ_IMPLIES_EXEC. | |
784 | ||
785 | 2009-05-04 Ulrich Drepper <drepper@redhat.com> | |
786 | ||
787 | * po/da.po: Update from translation team. | |
788 | ||
667712b8 JJ |
789 | 2009-04-29 Jakub Jelinek <jakub@redhat.com> |
790 | ||
791 | * sysdeps/unix/sysv/linux/ifaddrs.c: Revert unintended 2008-08-12 | |
792 | comment change. | |
793 | ||
6284c9f6 UD |
794 | 2009-04-27 Jakub Jelinek <jakub@redhat.com> |
795 | ||
796 | * locale/programs/locarchive.c (create_archive): Add MAP_PRIVATE | |
797 | to MAP_ANON in PROT_NONE mmap64 call. | |
798 | (open_archive): Likewise. | |
799 | (file_data_available_p): Use mmap64 instead of mremap. | |
800 | (enlarge_archive): Likewise. Update head if ah->addr changed. | |
801 | Attempt to reserve address space after mmap64 region. | |
802 | ||
4ec77f72 UD |
803 | 2009-04-26 Ulrich Drepper <drepper@redhat.com> |
804 | ||
f0e3c47f UD |
805 | * sysdeps/ieee754/dbl-64/s_expm1.c: Set errno for overflow. |
806 | * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise. | |
807 | * sysdeps/x86_64/fpu/s_expm1l.S: Likewise. | |
808 | ||
49768bb9 UD |
809 | * sysdeps/ieee754/k_standard.c (__kernel_standard): Pole errors in |
810 | atanh should set ERANGE. | |
811 | ||
e49dc847 UD |
812 | [BZ #10087] |
813 | * elf/dl-runtime.c (_dl_fixup): Use DL_FIXUP_VALUE_ADDR to access | |
814 | result of lookup to make call to implement STT_GNU_IFUNC. | |
815 | (_dl_profile_fixup): Likewise. | |
816 | Patch by H.J. Lu <hjl.tools@gmail.com>. | |
817 | ||
1ac03a1e UD |
818 | * nscd/connections.c (send_ro_fd): Define temporary variable to avoid |
819 | warning. | |
820 | ||
6cc8844f UD |
821 | * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Remove inline |
822 | from definition. | |
823 | ||
824 | * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Don't define | |
825 | label if it is not used. | |
826 | ||
827 | * elf/dl-profile.c (_dl_start_profile): Define real-type variant | |
828 | of gmon_hist_hdr and gmon_hdr structures and use them. | |
1ac03a1e | 829 | * elf/sprof.c: Likewise. |
6cc8844f UD |
830 | |
831 | * elf/dl-load.c (open_verify): Add temporary variable to avoid | |
832 | warning. | |
833 | ||
834 | * nscd/nscd_helper.c (get_mapping): Avoid casts to avoid warnings. | |
835 | ||
836 | * sunrpc/clnt_raw.c (clntraw_private_s): Use union in definition | |
837 | to avoid cast. | |
838 | ||
839 | * inet/rexec.c (rexec_af): Make sa2 a union to avoid warnings. | |
840 | * inet/rcmd.c (rcmd_af): Make from a union of the various needed types | |
841 | to avoid warnings. | |
842 | (iruserok_af): Use ss_family instead of casts. | |
843 | ||
844 | * gmon/gmon.c (write_hist): Define real-type variant of | |
845 | gmon_hist_hdr structure and use it. | |
846 | (write_gmon): Likewise for gmon_hdr. | |
847 | ||
848 | * sysdeps/unix/sysv/linux/readv.c: Avoid declaration of replacement | |
849 | function if we are not going to define it. | |
850 | * sysdeps/unix/sysv/linux/writev.c: Likewise. | |
851 | ||
218555e9 | 852 | * inet/inet6_option.c (option_alloc): Add temporary variable to |
6cc8844f UD |
853 | avoid warning. |
854 | ||
855 | * libio/strfile.h (struct _IO_streambuf): Use correct type and | |
856 | name of VTable element. | |
857 | * libio/iovsprintf.c: Avoid casts to avoid warnings. | |
858 | * libio/iovsscanf.c: Likewise. | |
859 | * libio/vasprintf.c: Likewise. | |
860 | * libio/vsnprintf.c: Likewise. | |
861 | * stdio-common/isoc99_vsscanf.c: Likewise. | |
862 | * stdlib/strfmon_l.c: Likewise. | |
863 | * debug/vasprintf_chk.c: Likewise. | |
864 | * debug/vsnprintf_chk.c: Likewise. | |
865 | * debug/vsprintf_chk.c: Likewise. | |
866 | ||
4ec77f72 UD |
867 | * nss/nsswitch.c (__nss_lookup_function): En/Decrypt cached |
868 | function pointers. | |
869 | ||
82a1a4da UD |
870 | 2009-04-26 Jakub Jelinek <jakub@redhat.com> |
871 | ||
872 | * sysdeps/ieee754/dbl-64/s_tan.c (tan): Fix -Wsequence-point warnings. | |
873 | ||
db6edfb3 UD |
874 | 2009-04-25 Ulrich Drepper <drepper@redhat.com> |
875 | ||
27be9b92 UD |
876 | * posix/bits/posix1_lim.h: Cleanup namespace a bit. |
877 | ||
337c2708 UD |
878 | * sysdeps/i386/fpu/s_tan.S: Set errno for ±Inf. |
879 | * sysdeps/i386/fpu/s_tanf.S: Likewise. | |
880 | * sysdeps/i386/fpu/s_tanl.S: Likewise. | |
881 | * sysdeps/ieee754/dbl-64/s_tan.c: Likewise. | |
882 | * sysdeps/ieee754/flt-32/s_tanf.c: Likewise. | |
883 | * sysdeps/x86_64/fpu/s_tanl.S: Likewise. | |
884 | * math/libm-test.inc: Add tests for errno after tan calls with | |
885 | ±Inf. | |
886 | ||
002a604f UD |
887 | * sysdeps/ieee754/k_standard.c (__kernel_standard): Use correct |
888 | errno value vor pow(+-0,neg). | |
889 | * math/libm-test.inc (pow_test): Add tests for errno value for | |
890 | pole errors. | |
891 | ||
7095366d UD |
892 | * math/w_fmod.c: Also handle x=±Inf as error. |
893 | * math/w_fmodf.c: Likewise. | |
894 | * math/w_fmodl.c: Likewise. | |
895 | * math/libm-test.inc (fmod_test): Add tests for errno after calls for | |
896 | x=±Inf or y=0. | |
897 | ||
0c59a196 UD |
898 | * sysdeps/i386/fpu/s_cos.S: Set errno for ±Inf. |
899 | * sysdeps/i386/fpu/s_cosf.S: Likewise. | |
900 | * sysdeps/i386/fpu/s_cosl.S: Likewise. | |
901 | * sysdeps/i386/fpu/s_sin.S: Likewise. | |
902 | * sysdeps/i386/fpu/s_sinf.S: Likewise. | |
903 | * sysdeps/i386/fpu/s_sinl.S: Likewise. | |
904 | * sysdeps/ieee754/dbl-64/s_sin.c: Likewise. | |
905 | * sysdeps/ieee754/flt-32/s_cosf.c: Likewise. | |
906 | * sysdeps/ieee754/flt-32/s_sinf.c: Likewise. | |
907 | * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise. | |
908 | * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise. | |
909 | * sysdeps/x86_64/fpu/s_cosl.S: Likewise. | |
910 | * sysdeps/x86_64/fpu/s_sinl.S: Likewise. | |
911 | * math/libm-test.inc: Add tests for errno after sin/cos calls with | |
912 | ±Inf. | |
913 | ||
4bbf8999 UD |
914 | * stdlib/strtod_l.c (round_and_return): We have to set errno to |
915 | ERANGE for underflows. | |
916 | * stdlib/tst-strtod.c (tests): Two tests should set errno to ERANGE. | |
917 | ||
af9f1c48 UD |
918 | * stdio-common/stdio_lim.h.in (L_cuserid): Not part of POSIX since |
919 | the 2001 revision. | |
920 | ||
13327042 UD |
921 | * libio/tst-widetext.input: Remove surrogates. |
922 | ||
c163ee23 UD |
923 | * include/features.h: _POSIX_C_SOURCE >= 200112L implies C99. |
924 | ||
e971e76d | 925 | * sysdeps/ieee754/k_standard.c (__kernel_standard): Pole errors |
81068e35 | 926 | for lgamma should set errno to ERANGE, not EDOM. |
e971e76d UD |
927 | * math/libm-test.inc (lgamma_test): Check errno for pole errors. |
928 | ||
c2d5bd5b UD |
929 | 2009-04-24 Ulrich Drepper <drepper@redhat.com> |
930 | ||
9c32c895 UD |
931 | [BZ #10093] |
932 | * iconv/gconv_simple.c (BODY for UTF-8 to INTERNAL): Don't accept | |
933 | UTF-16 surrogates. | |
934 | ||
c9edc889 UD |
935 | * locale/programs/locarchive.c (enlarge_archive): Conserve address |
936 | space when temporarily mapping the whole content of the old file. | |
937 | ||
c2d5bd5b UD |
938 | [BZ #10100] |
939 | * misc/hsearch_r.c (hsearch_r): Add back ensurance that hval is | |
940 | not zero. | |
941 | ||
f397be12 UD |
942 | 2009-04-24 Jakub Jelinek <jakub@redhat.com> |
943 | ||
944 | * iconvdata/sjis.c (BODY): Don't advance inptr before | |
945 | STANDARD_FROM_LOOP_ERR_HANDLER (2) for 2 byte invalid input. | |
946 | Use STANDARD_FROM_LOOP_ERR_HANDLER with 2 instead of 1 for | |
947 | two byte chars. | |
948 | ||
705341a9 UD |
949 | 2009-04-24 Ulrich Drepper <drepper@redhat.com> |
950 | ||
951 | * locale/locarchive.h (struct locarhandle): Rename len field to | |
952 | mmaped and add new reserved field. | |
953 | * locale/programs/locarchive.c (RESERVE_MMAP_SIZE): Define. | |
954 | (create_archive): Reserve address space and then map file into it. | |
955 | (open_archive): Likewise. | |
956 | (file_data_available_p): New function. | |
957 | (compare_from_file): New function. | |
958 | (close_archive): Adjust to member name changes. | |
959 | (add_locale): Before comparing locale data, check it is mapped. | |
960 | Otherwise fall back to reading from the file. | |
961 | ||
57d2da1c UD |
962 | 2009-04-23 H.J. Lu <hongjiu.lu@intel.com> |
963 | ||
964 | * stdio-common/psiginfo.c: Include <errno.h>. | |
965 | ||
3d855f75 UD |
966 | 2009-04-23 Ulrich Drepper <drepper@redhat.com> |
967 | ||
fe12c798 UD |
968 | [BZ #9920] |
969 | * stdlib/random_r.c (__srandom_r): Change type of word to int32_t | |
970 | to get consistency between 32 and 64 bit architectures. | |
971 | ||
3d855f75 UD |
972 | [BZ #10052] |
973 | * sysdeps/unix/make-syscalls.sh: Add rule to create target | |
974 | directory for dummy syscall rules. | |
975 | Patch by Chris Steinbroner <hesh@pobox.com>. | |
976 | ||
95bf537f UD |
977 | 2009-04-23 Aurelien Jarno <aurelien@aurel32.net> |
978 | ||
979 | [BZ #10092] | |
980 | * sysdeps/unix/sysv/linux/sys/mount.h: Define MNT_DETACH and | |
981 | MNT_EXPIRE. | |
982 | ||
7f8a28ef UD |
983 | 2009-04-23 Ulrich Drepper <drepper@redhat.com> |
984 | ||
985 | * sysdeps/unix/sysv/linux/preadv.c: The kernel API changed. Adjust. | |
986 | * sysdeps/unix/sysv/linux/pwritev.c: Likewise. | |
987 | ||
988 | 2009-04-23 Jakub Jelinek <jakub@redhat.com> | |
989 | ||
990 | * sysdeps/posix/pwritev.c (PWRITEV): Fix up comment. Copy | |
991 | data from vector to temporary buffer and call PWRITEV after it | |
992 | instead of vice versa. | |
993 | * sysdeps/posix/preadv.c: Fix up comment. | |
994 | * misc/preadv.c: Likewise. | |
995 | * misc/preadv64.c: Likewise. | |
996 | * misc/pwritev.c: Likewise. | |
997 | * misc/pwritev64.c: Likewise. | |
998 | * misc/sys/uio.h (preadv, pwritev, preadv64, pwritev64): Likewise. | |
999 | ||
829fea46 UD |
1000 | 2009-04-23 Ulrich Drepper <drepper@redhat.com> |
1001 | ||
c7e74e59 UD |
1002 | * shadow/sgetspent_r.c (__sgetspent_r): Recognize too small buffers. |
1003 | ||
3b055b47 UD |
1004 | * shadow/Makefile (tests): Add tst-shadow. |
1005 | * shadow/tst-shadow.c: New file. | |
1006 | ||
829fea46 UD |
1007 | [BZ #9955] |
1008 | * gshadow/Makefile: New file. | |
1009 | * gshadow/Versions: New file. | |
1010 | * gshadow/fgetsgent.c: New file. | |
1011 | * gshadow/fgetsgent_r.c: New file. | |
1012 | * gshadow/getsgent.c: New file. | |
1013 | * gshadow/getsgent_r.c: New file. | |
1014 | * gshadow/getsgnam.c: New file. | |
1015 | * gshadow/getsgnam_r.c: New file. | |
1016 | * gshadow/gshadow.h: New file. | |
1017 | * gshadow/putsgent.c: New file. | |
1018 | * gshadow/sgetsgent.c: New file. | |
1019 | * gshadow/sgetsgent_r.c: New file. | |
1020 | * gshadow/tst-gshadow.c: New file. | |
1021 | * include/gshadow.h: New file. | |
1022 | * Makeconfig (all-subdirs): Add gshadow. | |
1023 | * Makefile (installed-headers): Add gshadow/gshadow.h. | |
1024 | * nss/Makefile (databases): Add sgrp. | |
1025 | * nss/Versions: Add gshadow functions as private exports. | |
1026 | * nss/nsswitch.conf: Add gshadow entry. | |
1027 | * nss/sgrp-lookup.c: New file. | |
1028 | * nss/nss_files/files-parse.c: Add STRING_LIST macro. Rewrite | |
1029 | parse_list to handle STRING_LIST and TRAILING_LIST_PARSER. | |
1030 | * nss/nss_files/files-sgrp.c: New file. | |
1031 | * sysdeps/generic/paths.h: Add _PATH_GSHADOW. | |
1032 | * sysdeps/unix/sysv/linux/paths.h: Likewise. | |
1033 | ||
debafa10 UD |
1034 | 2009-04-22 Ulrich Drepper <drepper@redhat.com> |
1035 | ||
1036 | * stdio-common/printf.h: Add missing const to register_printf_modifier. | |
1037 | * stdio-common/reg-modifier.c: Likewise. | |
1038 | ||
1039 | 2009-04-22 Andrew Stubbs <ams@codesourcery.com> | |
1040 | ||
1041 | * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Adjust JB_SIZE when there | |
1042 | is no FPU. | |
1043 | ||
0e04c0b5 UD |
1044 | 2009-04-20 Ulrich Drepper <drepper@redhat.com> |
1045 | ||
d43f10e7 | 1046 | [BZ #10086] |
1c376f5b UD |
1047 | * sysdeps/unix/sysv/linux/sys/timex.h: Add definitions from kernel |
1048 | headers up to 2.6.30. | |
1049 | ||
0e04c0b5 UD |
1050 | * po/ca.po: Update from translation team. |
1051 | ||
a245eafd UD |
1052 | 2009-04-19 Ulrich Drepper <drepper@redhat.com> |
1053 | ||
1054 | [BZ #10069] | |
1055 | * elf/dl-open.c (dl_open_worker): We cannot guarantee that we can load | |
1056 | an object that uses static TLS if the TLS modid is higher than the | |
1057 | reserve we always allocate. At least for multi-threaded code. | |
1058 | ||
0588a9cb UD |
1059 | 2009-04-18 Ulrich Drepper <drepper@redhat.com> |
1060 | ||
153aa31b UD |
1061 | * stdlib/strfmon_l.c (__vstrfmon_l): Don't wrap when computing width. |
1062 | Numerically stable check for valid width. | |
1063 | ||
59a7162b UD |
1064 | * locale/programs/locarchive.c (open_archive): Map the entire file |
1065 | and not just the administrative data. | |
1066 | (add_locale): When we find a hash sum match compare the content | |
1067 | to be sure. | |
1068 | ||
0588a9cb UD |
1069 | * malloc/malloc.c (malloc_info): Output address space information. |
1070 | ||
17a5b24e UD |
1071 | 2009-04-17 Ulrich Drepper <drepper@redhat.com> |
1072 | ||
da2d2fb6 UD |
1073 | * malloc/malloc.c (malloc_info): Also output system memory information. |
1074 | ||
11cad88c UD |
1075 | * sysdeps/unix/sysv/linux/kernel-features.h: All supported |
1076 | architectures have preadv/pwritev in 2.6.30. | |
1077 | ||
571ac26f UD |
1078 | * sysdeps/posix/preadv.c: Reading of zero bytes is no error. |
1079 | * sysdeps/posix/readv.c: Likewise. | |
1080 | Reported by Markus Armbruster <armbru@redhat.com>. | |
1081 | ||
17a5b24e UD |
1082 | * malloc/hooks.c (top_check): Force hook value into register. |
1083 | ||
57ec6442 RM |
1084 | 2009-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org> |
1085 | ||
1086 | * elf/rtld.c (dl_main): Really call _dl_sysdep_start_cleanup after all | |
1087 | calls to _dl_relocate_object. | |
1088 | ||
df77455c UD |
1089 | 2009-04-16 Ulrich Drepper <drepper@redhat.com> |
1090 | ||
1091 | [BZ #9957] | |
1092 | * malloc/malloc.c (force_reg): Define. | |
1093 | (sYSMALLOc): Load hook variable into variable | |
1094 | before test and force into register. | |
1095 | (sYSTRIm): Likewise. | |
1096 | (public_mALLOc): Force hook value into register. | |
1097 | (public_fREe): Likewise. | |
1098 | (public_rEALLOc): Likewise. | |
1099 | (public_mEMALIGn): Likewise. | |
1100 | (public_vALLOc): Likewise. | |
1101 | (public_pVALLOc): Likewise. | |
1102 | (public_cALLOc): Likewise. | |
1103 | (__posix_memalign): Likewise. | |
1104 | * malloc/arena.c (ptmalloc_init): Load hook variable into variable | |
1105 | before test and force into register. | |
1106 | * malloc/hooks.c (top_check): Likewise. | |
3b055b47 | 1107 | (public_sET_STATe): Pretty printing. |
df77455c UD |
1108 | |
1109 | * resolv/res_send.c (send_dg): Don't just ignore the result we got | |
1110 | in case we only receive one reply in single-request mode. | |
1111 | ||
733ca93a JJ |
1112 | 2009-04-16 Jakub Jelinek <jakub@redhat.com> |
1113 | ||
1114 | * elf/dl-open.c (_dl_open): Bump GL(dl_nns) to 1 if no libraries | |
1115 | are dlopened in statically linked program even for __LM_ID_CALLER. | |
1116 | ||
d0e81f10 UD |
1117 | 2009-04-16 Ulrich Drepper <drepper@redhat.com> |
1118 | ||
1119 | * resolv/res_send.c (send_dg): Don't switch into single-request | |
1120 | mode if we already are in it. | |
1121 | ||
6a3d03ff UD |
1122 | 2009-04-15 Ulrich Drepper <drepper@redhat.com> |
1123 | ||
1124 | * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Make sure there | |
1125 | are always at least 4 bytes in the returned line. | |
1126 | ||
1127 | 2009-04-15 Jakub Jelinek <jakub@redhat.com> | |
1128 | ||
1129 | * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Check | |
1130 | __libc_use_alloca (8192), if the stack is too small use 512 bytes | |
1131 | instead of 8K. Stop searching in /proc/stat after hitting first | |
1132 | line not starting with cpu. | |
1133 | (next_line): Truncate too long | |
1134 | lines at buffer size * 3/4 instead of pretending there were line | |
1135 | breaks inside of large lines. | |
1136 | ||
ae650a41 UD |
1137 | 2009-04-14 Ulrich Drepper <drepper@redhat.com> |
1138 | ||
1139 | * sysdeps/x86_64/mp_clz_tab.c: New file. | |
1140 | ||
353f2107 UD |
1141 | 2009-03-17 Ryan S. Arnold <rsa@us.ibm.com> |
1142 | Ulrich Drepper <drepper@redhat.com> | |
1143 | ||
1144 | * sysdeps/unix/sysv/linux/fallocate.c: Handle old kernel headers. | |
1145 | * sysdeps/unix/sysv/linux/fallocate64.c: Likewise. | |
e775ec11 | 1146 | * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise. |
353f2107 | 1147 | |
fc0c5705 UD |
1148 | 2009-03-25 Andrew Stubbs <ams@codesourcery.com> |
1149 | ||
1150 | * sysdeps/sh/libc-tls.c: New file. | |
1151 | ||
1152 | * sysdeps/sh/bits/setjmp.h (__jmp_buf): Give name to structure type. | |
1153 | ||
237a8867 RM |
1154 | 2009-04-14 Roland McGrath <roland@redhat.com> |
1155 | ||
1156 | * elf/elf.h: Add various missing ARM constants, to match binutils. | |
1157 | ||
893a5fd4 UD |
1158 | 2009-04-14 Ulrich Drepper <drepper@redhat.com> |
1159 | ||
1160 | Optimizations from GMP. | |
1161 | * sysdeps/x86_64/add_n.S: New file. | |
1162 | * sysdeps/x86_64/addmul_1.S: New file. | |
1163 | * sysdeps/x86_64/lshift.S: New file. | |
1164 | * sysdeps/x86_64/mul_1.S: New file. | |
1165 | * sysdeps/x86_64/rshift.S: New file. | |
1166 | * sysdeps/x86_64/sub_n.S: New file. | |
1167 | * sysdeps/x86_64/submul_1.S: New file. | |
1168 | ||
e42e88ab JJ |
1169 | 2009-04-14 Jakub Jelinek <jakub@redhat.com> |
1170 | ||
1171 | * sysdeps/powerpc/powerpc32/elf/start.S: Ensure .data is non-empty. | |
1172 | * sysdeps/powerpc/powerpc64/elf/start.S: Likewise. | |
1173 | * sysdeps/sparc/sparc32/elf/start.S: Likewise. | |
1174 | * sysdeps/sparc/sparc64/elf/start.S: Likewise. | |
1175 | ||
b8a3bd82 UD |
1176 | 2009-04-14 Ulrich Drepper <drepper@redhat.com> |
1177 | ||
1178 | * sysdeps/unix/sysv/linux/kernel-features.h: SH also has | |
1179 | preadv/pwritev. | |
1180 | ||
84aa52d7 UD |
1181 | 2009-04-13 Ulrich Drepper <drepper@redhat.com> |
1182 | ||
1183 | * sysdeps/x86-64/strrchr.S: New file. | |
1184 | ||
9d26efa9 UD |
1185 | 2009-04-10 Ulrich Drepper <drepper@redhat.com> |
1186 | ||
1187 | * stdio-common/printf.h (struct printf_info): Add user element. | |
1188 | New types printf_arginfo_size_function, printf_va_arg_function. | |
1189 | Declare register_printf_specifier, register_printf_modifier, | |
1190 | register_printf_type. | |
1191 | * stdio-common/printf-parse.h (struct printf_spec): Add size element. | |
1192 | (union printf_arg): Add pa_user element. | |
1193 | Adjust __printf_arginfo_table type. | |
1194 | Add __printf_va_arg_table, __printf_modifier_table, | |
1195 | __handle_registered_modifier_mb, and __handle_registered_modifier_wc | |
1196 | declarations. | |
1197 | * stdio-common/printf-parsemb.c: Recognize registered modifiers. | |
1198 | If registered arginfo call failed try normal specifier. | |
1199 | * stdio-common/printf-prs.c: Pass additional parameter to arginfo | |
1200 | function. | |
1201 | * stdio-common/Makefile (routines): Add reg-modifier and reg-type. | |
1202 | * stdio-common/Versions: Export register_printf_modifier, | |
1203 | register_printf_type, and register_printf_specifier for GLIBC_2.10. | |
1204 | * stdio-common/reg-modifier.c: New file. | |
1205 | * stdio-common/reg-type.c: New file. | |
1206 | * stdio-common/reg-printf.c (__register_printf_specifier): New | |
1207 | function. Mostly the old __register_printf_function function but | |
1208 | uses locking and type of third parameter changed. | |
1209 | (__register_printf_function): Implement using | |
1210 | __register_printf_specifier. | |
1211 | * stdio-common/vfprintf.c (vfprintf): Collect argument sizes in | |
1212 | calls to arginfo functions. Allocate enough memory for user-defined | |
1213 | types. Call new va_arg functions to get user-defined types. | |
1214 | Try installed handlers even for existing format specifiers first. | |
1215 | ||
28b2771a UD |
1216 | 2009-04-09 Ulrich Drepper <drepper@redhat.com> |
1217 | ||
f140a0d5 UD |
1218 | * sysdeps/x86_64/rawmemchr.S: New file. |
1219 | ||
e9b4d069 | 1220 | * stdio-common/vfprintf.c (vfprintf): Slightly more compact code. |
1d498daa | 1221 | Simplified code and possible copy problem fixed. |
e9b4d069 | 1222 | |
f9fe75e9 | 1223 | * sysdeps/unix/sysv/linux/preadv.c: Avoid prototype for static |
24030b0f | 1224 | function if it is not defined. Add some necessary casts. |
f9fe75e9 UD |
1225 | * sysdeps/unix/sysv/linux/pwritev.c: Likewise. |
1226 | ||
28b2771a UD |
1227 | * sysdeps/unix/sysv/linux/kernel-features.h: SPARC and IA64 also |
1228 | have preadv/pwritev in 2.6.30. | |
1229 | ||
4c8b8cc3 UD |
1230 | 2009-04-08 Ulrich Drepper <drepper@redhat.com> |
1231 | ||
bb066545 UD |
1232 | * malloc/malloc.c (malloc_info): New function. |
1233 | * malloc/malloc.h: Declare it. | |
1234 | * malloc/Versions: Export malloc_info for GLIBC_2.10. | |
1235 | ||
0f9c8b48 UD |
1236 | * sysdeps/unix/sysv/linux/preadv64.c (PREAD): Use __libc_pread64 |
1237 | to avoid PLT slot. | |
1238 | ||
4c8b8cc3 UD |
1239 | * malloc/malloc.c (_int_realloc): Add parameter with old block |
1240 | size. Remove duplicated test. Don't handle mmap'ed blocks here. | |
1241 | Adjust all callers. | |
1242 | * malloc/hooks.c (realloc_check): Adjust _int_realloc call. | |
1243 | ||
ddba0f17 UD |
1244 | 2009-04-07 Ulrich Drepper <drepper@redhat.com> |
1245 | ||
cd57745b UD |
1246 | * sysdeps/x86_64/strchrnul.S: New file. |
1247 | ||
3db6c9a8 | 1248 | * crypt/Makefile (LDLIBS-crypt.so): Use this variable instead of |
cd57745b | 1249 | depending libcrypt on -lfreebl3. |
3db6c9a8 | 1250 | |
1a2ec17b UD |
1251 | * sysdeps/unix/sysv/linux/kernel-features.h: Power also has |
1252 | preadv/pwritev in 2.6.30. | |
1253 | ||
bb066545 | 1254 | * resolv/nss_dns/dns-host.c (getanswer_r): Use strcasecmp |
c6807d38 | 1255 | instead of __strcasecmp. |
c6807d38 | 1256 | |
ddba0f17 | 1257 | * string/stratcliff.c (do_test): Add memchr tests.. |
481f9eca | 1258 | * wcsmbs/wcsatcliff.c (MEMCHR): Define. |
ddba0f17 UD |
1259 | * sysdeps/x86_64/memchr.S: Fix handling of end of buffer after |
1260 | first read quad word. | |
1261 | ||
ae061910 UD |
1262 | 2009-04-06 Ulrich Drepper <drepper@redhat.com> |
1263 | ||
4bcb2658 UD |
1264 | * string/strverscmp.c (__strverscmp): Fix last cleanups. |
1265 | * string/tst-svc.input: Add new test case. | |
1266 | * string/tst-svc.expect: Adjust. | |
1267 | * string/Makefile: Don't ignore tst-svc error. | |
1268 | ||
322e23db UD |
1269 | * sysdeps/x86_64/memchr.S: New file. |
1270 | ||
ae061910 UD |
1271 | * resolv/resolv.h (RES_SNGLKUP): Define. |
1272 | * resolv/res_init.c (res_setoptions): Recognize single-request option. | |
1273 | * resolv/res_send.c (send_dg): If we sent two requests at once and | |
1274 | only get one reply before timeout switch to mode where we send the | |
1275 | second request only after the first answer has been received. | |
1276 | ||
a152f366 UD |
1277 | 2009-04-05 Ulrich Drepper <drepper@redhat.com> |
1278 | ||
1279 | * sysdeps/x86_64/strlen.S: Optimize by using SSE2 instructions. | |
1df6f9d8 | 1280 | * sysdeps/x86_64/strchr.S: Likewise. |
a152f366 | 1281 | |
2dbe6afe UD |
1282 | 2009-04-03 Ulrich Drepper <drepper@redhat.com> |
1283 | ||
c0bac8b0 UD |
1284 | * configure.in: We need to test for the compiler earlier. |
1285 | ||
e109c612 UD |
1286 | * misc/Makefile (routines): Add preadv, preadv64, pwritev, pwritev64. |
1287 | * misc/Versions: Export preadv, preadv64, pwritev, pwritev64 for | |
1288 | GLIBC_2.10. | |
1289 | * misc/sys/uio.h: Declare preadv, preadv64, pwritev, pwritev64. | |
1290 | * sysdeps/unix/sysv/linux/kernel-features.h: Add entries for preadv | |
1291 | and pwritev. | |
1292 | * misc/preadv.c: New file. | |
1293 | * misc/preadv64.c: New file. | |
1294 | * misc/pwritev.c: New file. | |
1295 | * misc/pwritev64.c: New file. | |
1296 | * sysdeps/posx/preadv.c: New file. | |
1297 | * sysdeps/posx/preadv64.c: New file. | |
1298 | * sysdeps/posx/pwritev.c: New file. | |
1299 | * sysdeps/posx/pwritev64.c: New file. | |
1300 | * sysdeps/unix/sysv/linux/preadv.c: New file. | |
1301 | * sysdeps/unix/sysv/linux/preadv64.c: New file. | |
1302 | * sysdeps/unix/sysv/linux/pwritev.c: New file. | |
1303 | * sysdeps/unix/sysv/linux/pwritev64.c: New file. | |
1304 | * sysdeps/unix/sysv/linux/wordsize-64/preadv64.c: New file. | |
1305 | * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.c: New file. | |
1306 | ||
7166c77a UD |
1307 | * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Fix calling of |
1308 | compatibility code. | |
1309 | * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise. | |
1310 | ||
2dbe6afe UD |
1311 | * sysdeps/unix/sysv/linux/kernel-features.h: Define |
1312 | __ASSUME_COMPLETE_READV_WRITEV. | |
1313 | * sysdeps/unix/sysv/linux/readv.c: No need for userlevel fallback | |
1314 | with modern kernels. | |
1315 | * sysdeps/unix/sysv/linux/writev.c: Likewise. | |
1316 | ||
1317 | * sysdeps/posix/readv.c: Since read is a cancellation point we have | |
1318 | to free a possible malloced buffer in case of cancellation. | |
1319 | * sysdeps/posix/writev.c: Likewise for write. | |
1320 | ||
ff886b82 UD |
1321 | 2009-04-02 Ulrich Drepper <drepper@redhat.com> |
1322 | ||
a065c007 UD |
1323 | * sysdeps/unix/sysv/linux/bits/socket.h: Add missing protocol numbers. |
1324 | ||
ff886b82 UD |
1325 | * configure.in: Recognize --enable-nss-crypt. |
1326 | * config.make.in: Add nss-crypt entry. | |
1327 | * crypt/Makefile: If nss-crypt==yes, don't build md5.c, sha256.c, | |
1328 | sha512.c. Don't run md5test, sha256test, sha512test. Pass -DUSE_NSS | |
1329 | and include path for NSS directory to compiler for md5-crypt, | |
1330 | sha256-crypt, sha512-crypt. Link libcrypt.so with -lfreebl3. | |
1331 | * crypt/md5-crypt.c: If USE_NSS is defined, don't use local hash | |
1332 | function implementation, use NSS. Introduce wrappers around the | |
1333 | hash function calls. Little code size optimization. | |
1334 | * crypt/sha256-crypt.c: Likewise. | |
1335 | * crypt/sha512-crypt.c: Likewise. | |
1336 | * scripts/check-local-headers.sh: Ignore nss3 directory. | |
1337 | ||
1338 | * configure.in: Rename pic_default to libc_cv_pic_default. | |
1339 | * config.make.in: Likewise. | |
1340 | ||
1800de36 RM |
1341 | 2009-04-01 Roland McGrath <roland@redhat.com> |
1342 | ||
1343 | * elf/elf.h (R_SPARC_GLOB_JMP): New macro. | |
1344 | (R_SPARC_GOTDATA_HIX22, R_SPARC_GOTDATA_LOX10): New macros. | |
1345 | (R_SPARC_GOTDATA_OP_HIX22, R_SPARC_GOTDATA_OP_LOX10): Likewise. | |
1346 | (R_SPARC_GOTDATA_OP, R_SPARC_H34): Likewise. | |
1347 | (R_SPARC_SIZE32, R_SPARC_SIZE64): Likewise. | |
1348 | (R_SPARC_GNU_VTINHERIT, R_SPARC_GNU_VTENTRY, R_SPARC_REV32): Likewise. | |
1349 | (R_SPARC_NUM): Update. | |
1350 | From Dave Miller <davem@davemloft.net>. | |
1351 | ||
7166c77a | 1352 | 2009-04-01 Ulrich Drepper <drepper@redhat.com> |
3ce976cd UD |
1353 | |
1354 | * sysdeps/unix/sysv/linux/sys/eventfd.h (EFD_SEMAPHORE): Define. | |
1355 | ||
20739e54 UD |
1356 | 2009-03-31 Ulrich Drepper <drepper@redhat.com> |
1357 | ||
22c83193 UD |
1358 | * elf/dl-open.c: Keep track of used name spaces and only iterate over |
1359 | those which are used. | |
1360 | * elf/dl-addr.c: Likewise. | |
1361 | * elf/dl-caller.c: Likewise. | |
1362 | * elf/dl-fini.c: Likewise. | |
1363 | * elf/dl-iteratephdr.c: Likewise. | |
1364 | * elf/dl-libc.c: Likewise. | |
1365 | * elf/dl-load.c: Likewise. | |
1366 | * elf/dl-support.c: Likewise. | |
1367 | * elf/dl-sym.c: Likewise. | |
1368 | * elf/rtld.c: Likewise. | |
1369 | * sysdeps/generic/ldsodefs.h: Likewise. | |
1370 | ||
20739e54 UD |
1371 | * elf/dl-load.c: Remove support for systems without MAP_ANON. |
1372 | * elf/dl-minimal.c: Likewise. | |
1373 | * elf/dl-misc.c: Likewise. | |
1374 | * elf/rtld.c: Likewise. | |
1375 | * sysdeps/generic/ldsodefs.h: Likewise. | |
1376 | ||
db486995 UD |
1377 | 2009-03-30 Ulrich Drepper <drepper@redhat.com> |
1378 | ||
cb14424e UD |
1379 | * elf/do-lookup.h (do_lookup_x): Minor optimization and cleanup. |
1380 | Avoid reuse of complex expression. | |
1381 | ||
db486995 UD |
1382 | * po/fr.po: Update from translation team. |
1383 | ||
ae8d7b44 UD |
1384 | 2009-03-16 Ulrich Drepper <drepper@redhat.com> |
1385 | ||
1386 | * include/dirent.h: Yet more changes to match sort function type | |
1387 | change. | |
1388 | * sysdeps/unix/sysv/linux/i386/alphasort64.c: Likewise. | |
1389 | * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise. | |
1390 | * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise. | |
1391 | ||
8efb2f1c UD |
1392 | 2009-03-16 Thomas Schwinge <tschwinge@gnu.org> |
1393 | ||
1394 | * dirent/scandir64.c (scandir64): Adjust declaration to type change. | |
1395 | ||
d9822dbe UD |
1396 | 2009-03-16 Ulrich Drepper <drepper@redhat.com> |
1397 | ||
1398 | * nscd/connections.c (restart): Try to preserve the process name | |
1399 | by reading the /proc/self/exe symlink and using the return name. | |
1400 | Patch by Jeff Bastian <jbastian@redhat.com>. | |
1401 | ||
71a5bd3e UD |
1402 | 2009-03-15 Ulrich Drepper <drepper@redhat.com> |
1403 | ||
2ca285b0 UD |
1404 | [BZ #9733] |
1405 | * elf/dl-load.c (_dl_map_object_from_fd): Only call audit hooks | |
1406 | if we are not loading a new audit library. | |
1407 | * elf/dl-reloc (_dl_relocate_object): Third parameter is now a bitmask. | |
1408 | Only use profiling trampoline for auditing if we are not relocating | |
1409 | an audit library. | |
1410 | * elf/dl-open.c (dl_open_worker): Adjust _dl_relocate_object call. | |
1411 | * elf/rtld.c: Likewise. | |
1412 | * sysdeps/generic/ldsodefs.h: Adjust _dl_relocate_object prototype. | |
1413 | ||
7e342603 UD |
1414 | * elf/rtld.c (dl_main): Extend help message for --audit option. |
1415 | ||
eee6b143 UD |
1416 | [BZ #9759] |
1417 | * dirent/dirent.h: Adjust prototypes of scandir, scandir64, alphasort, | |
1418 | alphasort64, versionsort, and versionsort64 to POSIX 2008. | |
1419 | * dirent/alphasort.c: Adjust implementation to type change. | |
1420 | * dirent/alphasort64.c: Likewise. | |
1421 | * dirent/scandir.c: Likewise. | |
1422 | * dirent/versionsort.c: Likewise. | |
1423 | * dirent/versionsort64.c: Likewise. | |
1424 | * sysdeps/wordsize-64/alphasort.c: Add hack to hide alphasort64 | |
1425 | declaration. | |
1426 | * sysdeps/wordsize-64/versionsort.c: Add hack to hide versionsort64 | |
1427 | declaration. | |
1428 | ||
cd2d01fa UD |
1429 | [BZ #9880] |
1430 | * inet/inet6_rth.c (inet6_rth_reverse): Compute number of segments | |
1431 | correctly. Set segleft member in output as required. | |
1432 | Patch partly by Yang Hongyang <yanghy@cn.fujitsu.com>. | |
1433 | * inet/tst-inet6_rth.c (do_test): Add tests for inet6_rth_reverse. | |
1434 | ||
906dd40d UD |
1435 | [BZ #9881] |
1436 | * inet/inet6_rth.c (inet6_rth_add): Add some error checking. | |
1437 | Patch mostly by Yang Hongyang <yanghy@cn.fujitsu.com>. | |
1438 | * inet/Makefile (tests): Add tst-inet6_rth. | |
1439 | * inet/tst-inet6_rth.c: New file. | |
1440 | ||
71a5bd3e UD |
1441 | [BZ #5807] |
1442 | * string/strlen.c (strlen): Fix omission in the expression to test | |
1443 | for NUL bytes. | |
1444 | ||
878b72c5 UD |
1445 | 2009-03-14 Ulrich Drepper <drepper@redhat.com> |
1446 | ||
fad070ab UD |
1447 | * crypt/sha256test.c (main): Perform 100,000 'a' test in a second way. |
1448 | ||
a42ad61b UD |
1449 | * elf/dl-runtime.c (reloc_offset): Define. |
1450 | (reloc_index): Define. | |
1451 | (_dl_fixup): Rename reloc_offset parameter to reloc_arg. | |
1452 | (_dl_fixup_profile): Likewise. Use reloc_index instead of | |
1453 | computing index from reloc_offset. | |
1454 | (_dl_call_pltexit): Likewise. | |
1455 | * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Just pass | |
1456 | the relocation index to _dl_fixup. | |
1457 | (_dl_runtime_profile): Likewise for _dl_fixup_profile and | |
1458 | _dl_call_pltexit. | |
1459 | * sysdeps/x86_64/dl-runtime.c: New file. | |
1460 | ||
1f7c90a7 UD |
1461 | [BZ #9893] |
1462 | * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix | |
906dd40d | 1463 | alignment of La_x86_64_regs. Store xmm parameters. |
1f7c90a7 UD |
1464 | Patch mostly by Jiri Olsa <olsajiri@gmail.com>. |
1465 | ||
45466462 UD |
1466 | [BZ #9913] |
1467 | * string/strverscmp.c (__strverscmp): Fix case of different digits | |
1468 | in fractional part of string. | |
1469 | Patch by Jingyu Liu <jyliu@fortinet.com>. | |
1470 | * string/Makefile (tests): Add tst-svc2. | |
1471 | * string/tst-svc2.c: New file. | |
1472 | ||
1473 | * string/strverscmp.c (__strverscmp): Optimize size of tables. | |
1474 | ||
878b72c5 UD |
1475 | * locale/iso-639.def: Add Min Nan. |
1476 | ||
f53713a8 UD |
1477 | 2009-03-11 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com> |
1478 | ||
878b72c5 | 1479 | [BZ #9948] |
f53713a8 UD |
1480 | * elf/dl-sysdep.c (_dl_show_auxv): Add support for AT_BASE_PLATFORM. |
1481 | ||
f81ce288 UD |
1482 | 2009-03-14 Ulrich Drepper <drepper@redhat.com> |
1483 | ||
f53713a8 UD |
1484 | * elf/dl-sysdep.c (auxvars): Compress data structure. |
1485 | ||
f81ce288 UD |
1486 | * sysdeps/i386/dl-machine.h (elf_machine_rel): Implement |
1487 | STT_GNU_IFUNC handling. | |
1488 | (elf_machine_rela): Likewise. | |
1489 | ||
425ce2ed UD |
1490 | 2009-03-13 Ulrich Drepper <drepper@redhat.com> |
1491 | ||
1492 | * config.h.in (USE_MULTIARCH): Define. | |
1493 | * configure.in: Handle --enable-multi-arch. | |
1494 | * elf/dl-runtime.c (_dl_fixup): Handle STT_GNU_IFUNC. | |
1495 | (_dl_fixup_profile): Likewise. | |
1496 | * elf/do-lookup.c (dl_lookup_x): Likewise. | |
1497 | * sysdeps/x86_64/dl-machine.h: Handle STT_GNU_IFUNC. | |
1498 | * elf/elf.h (STT_GNU_IFUNC): Define. | |
1499 | * include/libc-symbols.h (libc_ifunc): Define. | |
1500 | * sysdeps/x86_64/cacheinfo.c: If USE_MULTIARCH is defined, use the | |
1501 | framework in init-arch.h to get CPUID values. | |
1502 | * sysdeps/x86_64/multiarch/Makefile: New file. | |
1503 | * sysdeps/x86_64/multiarch/init-arch.c: New file. | |
1504 | * sysdeps/x86_64/multiarch/init-arch.h: New file. | |
1505 | * sysdeps/x86_64/multiarch/sched_cpucount.c: New file. | |
1506 | ||
1507 | * config.make.in (experimental-malloc): Define. | |
1508 | * configure.in: Handle --enable-experimental-malloc. | |
1509 | * malloc/Makefile: Handle experimental-malloc flag. | |
1510 | * malloc/malloc.c: Implement PER_THREAD and ATOMIC_FASTBINS features. | |
1511 | * malloc/arena.c: Likewise. | |
1512 | * malloc/hooks.c: Likewise. | |
1513 | * malloc/malloc.h: Define M_ARENA_TEST and M_ARENA_MAX. | |
1514 | ||
e7f110cd UD |
1515 | 2009-03-11 Ulrich Drepper <drepper@redhat.com> |
1516 | ||
1517 | * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Add branch | |
1518 | prediction. A few size optimizations. | |
1519 | ||
bd82a247 UD |
1520 | 2009-03-10 Ulrich Drepper <drepper@redhat.com> |
1521 | ||
1522 | * time/tzset.c: Optimize a bit for size. | |
1523 | ||
a99e59d7 UD |
1524 | 2009-03-10 Jakub Jelinek <jakub@redhat.com> |
1525 | ||
1526 | * include/stdio.h (fmemopen): Add libc_hidden_proto. | |
1527 | * libio/fmemopen.c (fmemopen): Add libc_hidden_def. | |
1528 | ||
1529 | * elf/sprof.c: Avoid warning about multi-line comment. | |
1530 | ||
686f8c9d UD |
1531 | 2009-03-10 Ulrich Drepper <drepper@redhat.com> |
1532 | ||
1533 | * time/tzset.c (__tzset_parse_tz): Use correct string when parsing | |
1534 | DST name. | |
1535 | * time/tst-posixtz.c: Add tests for quoted timezone names. | |
1536 | ||
7db0cc42 UD |
1537 | 2009-03-10 Jakub Jelinek <jakub@redhat.com> |
1538 | ||
1539 | * posix/unistd.h (_POSIX_VERSION, _POSIX2_VERSION, _POSIX2_C_BIND, | |
1540 | _POSIX2_C_DEV, _POSIX2_SW_DEV, _POSIX2_LOCALEDEF): Define to | |
1541 | 200809L instead of 200112L. | |
1542 | (_XOPEN_VERSION): For __USE_XOPEN2K8 define to 700. | |
1543 | * posix/tst-sysconf.c (STDVER): Define to 200809L instead of 200112L. | |
1544 | ||
eec4b454 UD |
1545 | * stdlib/quick_exit.c (quick_exit): Pass &__quick_exit_funcs |
1546 | instead of __quick_exit_funcs to __run_exit_handlers. | |
1547 | * stdlib/at_quick_exit.c (at_quick_exit): Add attribute_hidden. | |
1548 | * stdlib/exit.h (__run_exit_handlers): Add noreturn attribute. | |
1549 | (__cxa_at_quick_exit): Remove attribute_hidden. | |
1550 | * stdlib/exit.c (exit): Pass &__exit_funcs instead of __exit_funcs | |
1551 | to __run_exit_handlers. | |
1552 | * stdlib/cxa_at_quick_exit.c (__cxa_at_quick_exit): Remove | |
1553 | attribute_hidden. | |
1554 | ||
d7276cee UD |
1555 | 2009-03-10 Ulrich Drepper <drepper@redhat.com> |
1556 | ||
1557 | * po/id.po: Update from translation team. | |
1558 | ||
1454da21 UD |
1559 | 2009-02-18 Jakub Jelinek <jakub@redhat.com> |
1560 | ||
1561 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Use | |
1562 | .machine push; .machine "power6" and .machine pop around mtfsf | |
1563 | insns outside of _ARCH_PWR6 define. | |
1564 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise. | |
1565 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: | |
1566 | Likewise. | |
1567 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: | |
1568 | Likewise. | |
1569 | * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_SET_DI_FPSCR): Likewise. | |
1570 | * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_register, | |
1571 | relax_fenv_state): Likewise. | |
1572 | ||
130ca12e UD |
1573 | 2009-03-08 Ulrich Drepper <drepper@redhat.com> |
1574 | ||
610e67ed UD |
1575 | * stdlib/Makefile (routines): Add quick_exit, at_quick_exit, and |
1576 | cxa_at_quick_exit. | |
1577 | (static-only-routines): Add at_quick_exit. | |
1578 | * stdlib/Versions: Export quick_exit and __cxa_at_quick_exit for | |
1579 | GLIBC_2.10. | |
1580 | * stdlib/quick_exit.c: New file. | |
1581 | * stdlib/at_quick_exit.c: New file. | |
1582 | * stdlib/cxa_at_quick_exit.c: New file. | |
1583 | * stdlib/cxa_atexit.c (__cxa_atexit): Move body to new function. Call | |
1584 | it appropriately. | |
1585 | (__internal_atexit): New function. | |
1586 | (__new_exitfn): Now takes parameter to point to the list to use. | |
1587 | * stdlib/cxa_finalize.c: Remove quick_exit handlers, don't call them. | |
1588 | * stdlib/exit.c (__run_exit_handlers): New function. Split from... | |
1589 | (exit): ...here. Just call __run_exit_handlers appropriately. | |
1590 | * stdlib/exit.h: Declare __quick_exit_funcs, __run_exit_handlers, | |
1591 | __internal_atexit, __cxa_at_quick_exit. Adjust __new_exitfn. | |
1592 | * stdlib/on_exit.c: Adjust call to __new_exitfn. | |
1593 | * stdlib/stdlib.h: Declare at_quick_exit and quick_exit. | |
1594 | ||
130ca12e UD |
1595 | * po/id.po: Update from translation team. |
1596 | ||
9a4f9d1f UD |
1597 | 2009-03-07 Ulrich Drepper <drepper@redhat.com> |
1598 | ||
1599 | * po/ru.po: Update from translation team. | |
1600 | ||
6d781c94 UD |
1601 | 2009-03-04 Ulrich Drepper <drepper@redhat.com> |
1602 | ||
1603 | * po/nl.po: Update from translation team. | |
1604 | ||
e00c5ece UD |
1605 | 2009-03-03 Ulrich Drepper <drepper@redhat.com> |
1606 | ||
99eb932f UD |
1607 | * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Declare fallocate{,64}. |
1608 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. | |
1609 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. | |
1610 | * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. | |
1611 | * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. | |
1612 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. | |
1613 | * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. | |
1614 | ||
e00c5ece UD |
1615 | * po/pl.po: Update from translation team. |
1616 | ||
749f5cc9 UD |
1617 | 2009-03-02 Ulrich Drepper <drepper@redhat.com> |
1618 | ||
1b994772 | 1619 | [BZ #7083] |
749f5cc9 UD |
1620 | * sysdeps/unix/sysv/linux/fallocate.c: New file. |
1621 | * sysdeps/unix/sysv/linux/fallocate64.c: New file. | |
1622 | * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: New file. | |
1623 | * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: New file. | |
1624 | * sysdeps/unix/sysv/linux/i386/fallocate64.c: New file. | |
1625 | * sysdeps/unix/sysv/linux/i386/fallocate.c: New file. | |
1626 | * sysdeps/unix/sysv/linux/Versions: Export fallocate and fallocate64 | |
1627 | for GLIBC_2.10. | |
1628 | * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): | |
1629 | Add fallocate and fallocate64. | |
1630 | ||
1631 | * io/fcntl.h: Pretty printing. | |
1632 | ||
6219e3cc JJ |
1633 | 2009-03-02 Richard Guenther <rguenther@suse.de> |
1634 | ||
1635 | * misc/sys/cdefs.h (__extern_always_inline): Add __artificial__ | |
1636 | attribute also for non-C99 inline semantics variant. | |
1637 | ||
134a9766 UD |
1638 | 2009-02-12 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com> |
1639 | ||
1640 | * sysdeps/powerpc/powerpc32/power7/fpu/Implies: New file. | |
1641 | * sysdeps/powerpc/powerpc32/power7/Implies: Likewise. | |
1642 | * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise. | |
1643 | * sysdeps/powerpc/powerpc64/power7/Implies: Likewise. | |
1644 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: | |
1645 | Likewise. | |
1646 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: | |
1647 | Likewise. | |
1648 | ||
95bc1633 UD |
1649 | 2009-03-02 Ulrich Drepper <drepper@redhat.com> |
1650 | ||
1651 | * po/cs.po: Update from translation team. | |
1652 | ||
43ea48a5 UD |
1653 | 2009-02-28 Ulrich Drepper <drepper@redhat.com> |
1654 | ||
1655 | * po/bg.po: Update from translation team. | |
1656 | * po/sv.po: Likewise. | |
f5faa3b6 | 1657 | * po/fi.po: Likewise. |
45572c23 | 1658 | * po/vi.po: Likewise. |
43ea48a5 | 1659 | |
e965d514 RM |
1660 | 2009-02-27 Roland McGrath <roland@redhat.com> |
1661 | ||
1662 | * Makeconfig (%.v.i): Depend on Makeconfig. | |
1663 | Exclude % lines from initial #-comment removal. | |
1664 | ||
56a9651f UD |
1665 | 2009-02-27 Ulrich Drepper <drepper@redhat.com> |
1666 | ||
1667 | * po/ko.po: Update from translation team. | |
1668 | ||
682825ce RM |
1669 | 2009-02-26 Roland McGrath <roland@redhat.com> |
1670 | ||
1671 | * shadow/lckpwdf.c (__lckpwdf): Move FLAGS inside block using it, | |
1672 | avoids unused warning. | |
1673 | ||
a3c37506 UD |
1674 | 2009-02-26 Andrew Stubbs <ams@codesourcery.com> |
1675 | SUGIOKA Toshinobu <sugioka@itonet.co.jp> | |
1676 | ||
1677 | * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Don't include signal.h, | |
1678 | sys/ucontext.h and asm/elf.h. Include sys/user.h. | |
1679 | * sysdeps/unix/sysv/linux/sh/sys/user.h: Don't include features.h | |
1680 | and asm/user.h. Include asm/ptrace.h. | |
1681 | (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, | |
1682 | PTRACE_SETFPREGS, PTRACE_GETFDPIC, PTRACE_GETFDPIC_EXEC, | |
1683 | PTRACE_GETFDPIC_INTERP, PTRACE_GETDSPREGS, PTRACE_SETDSPREGS): | |
1684 | Undefine. | |
1685 | (start_thread): Don't undefine. | |
1686 | (elf_greg_t, ELF_NGREG, elf_fpregset_t, user_fpu_struct, user): | |
1687 | Define. | |
1688 | ||
f503060b UD |
1689 | 2009-02-26 Ulrich Drepper <drepper@redhat.com> |
1690 | ||
6cbe890a UD |
1691 | * wctype/wctype.h: The *_l functions are in POSIX 2008. |
1692 | * wcsmbs/wchar.h: mbsnrtowcs, open_wmemstream, wcpcpy, wcpncpy, | |
1693 | wcscasecmp, wcsdup, wcsncasecmp, wcsnlen, wcsnrtombs, | |
1694 | wcscasecmp_l, wcsncasecmp_l, wcscoll_l, and wcsxfrm_l. | |
1695 | * sysdeps/mach/hurd/bits/posix_opt.h: Reset value of macros from | |
1696 | 200112L to 200809L. | |
1697 | * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise. | |
1698 | * posix/getconf.c (vars): Add _SC_THREAD_ROBUST_PRIO_INHERIT and | |
1699 | _SC_THREAD_ROBUST_PRIO_PROTECT entries. | |
1700 | * bits/confname.h: Add _SC_THREAD_ROBUST_PRIO_INHERIT and | |
1701 | _SC_THREAD_ROBUST_PRIO_PROTECT. | |
1702 | * posix/unistd.h: fexecve is in POSIX 2008. | |
1703 | * time/time.h: strftime_l is in POSIX 2008. | |
1704 | * io/sys/stat.h: futimens is in POSIX 2008. | |
1705 | * string/strings.h: strcasecmp_l and strncasecmp_l are in POSIX 2008. | |
1706 | * string/string.h: stpcpy, stpncpy, strndup, strnlen, strsignal, | |
1707 | strcoll_l, strerror_l, and strxfrm_l are in POSIX 2008. | |
1708 | * stdlib/stdlib.h: mkdtemp is in POSIX 2008. | |
f503060b UD |
1709 | * libio/stdio.h: dprintf, fmemopen, getdelim, getline, |
1710 | open_memstream, and vdprintf are in POSIX 2008. | |
1711 | ||
2e6d6bac UD |
1712 | 2009-02-25 Ulrich Drepper <drepper@redhat.com> |
1713 | ||
3e6b0a28 | 1714 | * include/features.h: Define macros for XPG7/POSIX 2008. |
77db439e UD |
1715 | * ctype/ctype.h: The *_l functions are in POSIX 2008. |
1716 | * dirent/dirent.h: alphasort, dirfd, scandir, and fdopendir are in | |
1717 | POSIX 2008. | |
1f04d005 UD |
1718 | * locale/langinfo.h: nl_langinfo_l is in POSIX 2008. |
1719 | * locale/xlocale.h: Define locale_t type. | |
1720 | * locale/locale.h: duplocale, freelocale, newlocale, uselocale are | |
1721 | in POSIX 2008. Don't define locale_t here. | |
1722 | * stdlib/monetary.h: strfmon_l is in POSIX 2008. | |
3e6b0a28 UD |
1723 | * sysdeps/unix/sysv/linux/bits/stat.h: Protect UTIME_NOW and |
1724 | UTIME_OMIT only with __USE_ATFILE. | |
1f04d005 UD |
1725 | * signal/signal.h: Declare psignal and psiginfo for POSIX 2008. |
1726 | * stdio-common/psiginfo.c: New file. | |
1727 | * stdio-common/psiginfo-data.h: New file. | |
1728 | * stdio-common/psiginfo-define.h: New file. | |
1729 | * stdio-common/Makefile (routines): Add psiginfo. | |
1730 | * stdio-common/Versions: Export psiginfo for GLIBC_2.10. | |
3e6b0a28 UD |
1731 | * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise. |
1732 | * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise. | |
1733 | * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise. | |
1734 | * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. | |
1735 | * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise. | |
1736 | * io/sys/stat.h: Move mknodat definition into same conditional as | |
1737 | mknod. | |
1738 | * time/sys/time.h: futimesat is not among the functions accepted | |
1739 | into the POSIX standard. | |
1740 | ||
2e6d6bac UD |
1741 | * include/features.h: If no feature selection given and we select |
1742 | by default a POSIX mode, also define __USE_POSIX_IMPLICITLY. | |
1743 | * posix/Versions: Export __posix_getopt. | |
1744 | * posix/getopt.c (_getopt_initialize): Take additional parameter. | |
1745 | Use it to alternatively initialize __posixly_correct. | |
1746 | (_getopt_internal_r): Take addition parameter. Pass on to | |
1747 | _getopt_initialize. | |
1748 | (_getopt_internal): Take addition parameter. Pass on to | |
1749 | _getopt_internal_r. | |
1750 | (getopt): Pass additional zero to _getopt_internal. | |
1751 | (__posix_getopt): New function. | |
1752 | * posix/getopt.h: Add redirection for getopt. | |
1753 | * posix/getopt1.c (getopt_long): Pass additional zero to | |
1754 | _getopt_internal. | |
1755 | (getopt_long_only): Likewise. | |
1756 | (_getopt_long_r): Pass additional zero to _getopt_internal_r. | |
1757 | (_getopt_long_only_r): Likewise. | |
1758 | * posix/getopt_int.h: Adjust declarations of _getopt_internal and | |
1759 | _getopt_internal_r. | |
1760 | ||
67108e40 UD |
1761 | 2009-02-24 Ulrich Drepper <drepper@redhat.com> |
1762 | ||
1763 | * bits/confname.h: Define _SC_TRACE_EVENT_NAME_MAX, _SC_TRACE_NAME_MAX, | |
1764 | _SC_TRACE_SYS_MAX, _SC_TRACE_USER_EVENT_MAX, _SC_XOPEN_STREAMS. | |
1765 | * sysdeps/posix/sysconf.c (__sysconf): Handle | |
1766 | _SC_TRACE_EVENT_NAME_MAX, _SC_TRACE_NAME_MAX, _SC_TRACE_SYS_MAX, | |
1767 | _SC_TRACE_USER_EVENT_MAX, _SC_XOPEN_STREAMS. | |
1768 | ||
1cccb96f RM |
1769 | 2009-02-24 Roland McGrath <roland@redhat.com> |
1770 | ||
1771 | [BZ #9895] | |
1772 | * README.template: Reworded not to use substituted version number. | |
1773 | Renamed to ... | |
1774 | * README: ... here (no longer generated). | |
1775 | * Makefile (README): Target removed. | |
1776 | ||
82780cbe UD |
1777 | 2009-02-24 Ulrich Drepper <drepper@redhat.com> |
1778 | ||
5be0a688 | 1779 | * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): |
77db439e | 1780 | /proc/sys/kernel/rtsig_max doesn't exist anymore, use getrlimit |
5be0a688 UD |
1781 | instead. |
1782 | ||
8c4a5f42 UD |
1783 | * io/sys/stat.h: The lstat functions have been mandatory since 2001. |
1784 | ||
82780cbe UD |
1785 | * time/tzset.c (tzset_internal): Correct parsing of TZ envvar. |
1786 | ||
77c571dd UD |
1787 | 2009-02-22 Ulrich Drepper <drepper@redhat.com> |
1788 | ||
1789 | * po/bg.po: Update from translation team. | |
1790 | ||
d82a27f8 JJ |
1791 | 2009-02-16 Jakub Jelinek <jakub@redhat.com> |
1792 | ||
1793 | * stdlib/monetary.h: Uglify function parameter names. | |
1794 | * sunrpc/rpc/pmap_clnt.h: Likewise. | |
1795 | * sunrpc/rpc/svc.h: Likewise. | |
1796 | * sunrpc/rpc/xdr.h: Likewise. | |
1797 | * sunrpc/rpc/clnt.h: Likewise. | |
1798 | * resolv/netdb.h: Likewise. | |
1799 | * resolv/arpa/nameser.h: Likewise. | |
1800 | * resolv/resolv.h: Likewise. | |
1801 | * argp/argp.h: Likewise. | |
1802 | * locale/langinfo.h: Likewise. | |
1803 | * io/sys/stat.h: Likewise. | |
1804 | * posix/spawn.h: Likewise. | |
1805 | * nis/rpcsvc/nislib.h: Likewise. | |
1806 | * malloc/obstack.h: Likewise. | |
1807 | * sysdeps/ia64/bits/link.h: Likewise. | |
1808 | * sysdeps/i386/bits/link.h: Likewise. | |
1809 | * sysdeps/s390/bits/link.h: Likewise. | |
1810 | * sysdeps/powerpc/bits/link.h: Likewise. | |
1811 | * sysdeps/x86_64/bits/link.h: Likewise. | |
1812 | * sysdeps/sparc/bits/link.h: Likewise. | |
1813 | * sysdeps/sh/bits/link.h: Likewise. | |
1814 | * sysdeps/unix/sysv/linux/i386/sys/io.h: Likewise. | |
1815 | * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Likewise. | |
1816 | * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Likewise. | |
1817 | * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise. | |
1818 | ||
58a7457e JJ |
1819 | 2008-12-01 Fredrik Unger <fred@tree.se> |
1820 | ||
1821 | * soft-fp/double.h [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D, | |
1822 | FP_UNPACK_SEMIRAW_DP): Use _FP_UNPACK_RAW_1 instead of | |
1823 | _FP_UNPACK_RAW_2, fix up first argument. | |
1824 | ||
f43b4be6 UD |
1825 | 2009-02-15 Ulrich Drepper <drepper@redhat.com> |
1826 | ||
1827 | * sysdeps/unix/sysv/linux/getsysstats.c (next_line): New function. | |
1828 | (GET_NPROCS_PARSER): Change parameters and use next_line. | |
1829 | (__get_nprocs): Rewrite to not use stdio routines. | |
1830 | * sysdeps/unix/sysv/linux/sparc/getsysstats.c (GET_NPROCS_PARSER): | |
1831 | Change parameters and use next_line. | |
1832 | ||
20e498bd UD |
1833 | 2009-02-13 Ulrich Drepper <drepper@redhat.com> |
1834 | ||
1835 | [BZ #5381] | |
1836 | * nscd/nscd.h: Remove definitions and declarations for mem_in_flight. | |
1837 | Change mempool_alloc prototype. | |
1838 | * nscd/mem.c (gc): Don't handle mem_in_flight. | |
1839 | (mempool_alloc): Third parameter now only indicates whether this is the | |
1840 | first call (to allocate data) or not. If it is, get db rdlock. | |
1841 | Release it on error. Don't handle mem_in_flight. | |
1842 | * nscd/aicache.c (addhstaiX): Mark he parameter as const. | |
1843 | Adjust third parameter of mempool_alloc calls. | |
1844 | Nothing to do here in case mempool_alloc fails. | |
1845 | Avoid local variable shadowing parameter. No need to get db rdlock | |
1846 | before calling cache_add. | |
1847 | * nscd/cache.c (cache_add): Adjust call to mempool_alloc. There is | |
1848 | no mem_in_flight array anymore. | |
1849 | * nscd/connections.c: Remove definition and handling of mem_in_flight. | |
1850 | * nscd/grpcache.c (cache_addgr): Adjust third parameter of | |
1851 | mempool_alloc calls. Mark he parameter as const. Nothing to do here | |
1852 | in case mempool_alloc fails. No need to get db rdlock before calling | |
1853 | cache_add. | |
1854 | * nscd/hstcache.c (cache_addhst): Likewise. | |
1855 | * nscd/initgrcache.c (addinitgroupsX): Likewise. | |
1856 | * nscd/servicescache.c (cache_addserv): Likewise. | |
1857 | * nscd/pwdcache.c (cache_addpw): Likewise. Remove some debugging code. | |
1858 | ||
d8111eac UD |
1859 | 2009-02-11 Ulrich Drepper <drepper@redhat.com> |
1860 | ||
1861 | * po/lt.po: Update from translation team. | |
1862 | ||
40e2fc8b UD |
1863 | 2009-02-10 Ulrich Drepper <drepper@redhat.com> |
1864 | ||
1865 | * elf/dl-load.c (open_verify): In case VALID_ELF_HEADER is | |
1866 | defined, allow additional data to be added using the optional | |
1867 | MORE_ELF_HEADER_DATA macro. | |
1868 | * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER, | |
1869 | VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Define. | |
1870 | ||
6c03cd11 UD |
1871 | 2009-02-08 Ulrich Drepper <drepper@redhat.com> |
1872 | ||
1873 | * include/atomic.h: Define catomic_and if not already defined. | |
1874 | * sysdeps/x86_64/bits/atomic.h: Define catomic_and. | |
1875 | * sysdeps/i386/i486/bits/atomic.h: Likewise. | |
1876 | ||
bc16e0c4 UD |
1877 | 2009-02-07 Ulrich Drepper <drepper@redhat.com> |
1878 | ||
78ac92ad UD |
1879 | * malloc/malloc.c (_int_free): Second argument is now mchunkptr. |
1880 | Change all callers. | |
6dd6a580 | 1881 | (_int_realloc): Likewise. Third argument is now padded size |
78ac92ad | 1882 | All _int_* functions are now static. |
6dd6a580 | 1883 | |
78ac92ad UD |
1884 | * malloc/hooks.c: Change all callers to _int_free and _int_realloc. |
1885 | * malloc/arena.c: Likewise. | |
1886 | * include/malloc.h: Remove now unnecessary declarations of the _int_* | |
1887 | functions. | |
1888 | ||
7dddb4bd UD |
1889 | * sunrpc/rpc_common.c: We cannot move _null_auth into .rodata that |
1890 | easily. | |
1891 | ||
bfacf1af UD |
1892 | * malloc/malloc.c: Add branch prediction for use of the hooks. |
1893 | ||
bc16e0c4 UD |
1894 | * grp/compat-initgroups.c [NOT_IN_libc] (__libc_use_alloca): Define. |
1895 | ||
26b62243 UD |
1896 | 2009-02-06 Ulrich Drepper <drepper@redhat.com> |
1897 | ||
1898 | [BZ #7095] | |
1899 | * bits/confname.h: Add SUSv7 macros for getconf environments. | |
1900 | * bits/environments.h: Likewise. | |
1901 | * sysdeps/unix/sysv/linux/i386/bits/environments.h: Likewise. | |
1902 | * sysdeps/unix/sysv/linux/powerpc/bits/environments.h: Likewise. | |
1903 | * sysdeps/unix/sysv/linux/s390/bits/environments.h: Likewise. | |
1904 | * sysdeps/unix/sysv/linux/sparc/bits/environments.h: Likewise. | |
1905 | * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Likewise. | |
1906 | * posix/confstr.c: Handle SUSv5 and SUSv7 environments. | |
1907 | * posix/getconf.c: Likewise. | |
1908 | * posix/sysconf.c: Likewise. | |
1909 | * sysdeps/posix/sysconf.c: Likewise. | |
1910 | * posix/Makefile (getconf.speclist): Also collect SUSv5 and SUSv7 | |
1911 | environments. | |
1912 | ||
3fe4c5b3 UD |
1913 | 2009-01-16 Petr Baudis <pasky@suse.cz> |
1914 | ||
1915 | [BZ #9753] | |
1916 | * resolv/res_libc.c (__res_maybe_init): Call __res_vinit() | |
1917 | even if we currently have zero nscount. | |
1918 | ||
cbbcaf23 UD |
1919 | 2009-02-06 Ulrich Drepper <drepper@redhat.com> |
1920 | ||
1a9dd4e4 UD |
1921 | [BZ #9781] |
1922 | * grp/compat-initgroups.c (compat_call): Switch to use malloc when | |
1923 | the input line is too long. | |
1924 | ||
51f8846e UD |
1925 | * po/Makefile (libc.pot): Add f_print as function taking c-format |
1926 | parameter. | |
1927 | ||
cbbcaf23 UD |
1928 | * debug/xtrace.sh: Unify translatable messages. |
1929 | * elf/ldd.bash.in: Likewise. | |
1930 | * elf/sprof.c: Likewise. | |
1931 | * locale/programs/locale.c: Likewise. | |
1932 | * malloc/memusage.sh: Likewise. | |
1933 | * nss/getent.c: Likewise. | |
1934 | ||
1935 | 2009-02-06 Joseph Myers <joseph@codesourcery.com> | |
1936 | ||
1937 | * debug/pcprofiledump.c (print_version, | |
1938 | argp_program_version_hook): New function. | |
1939 | * elf/ldconfig.c (more_help): New function. | |
1940 | (argp): Use it. | |
1941 | * elf/sln.c (usage): New function. | |
1942 | (main): Support --help and --version. | |
1943 | * malloc/memusagestat.c (print_version): New function. | |
1944 | (argp_program_version_hook): New variable. | |
1945 | * nscd/nscd.c (more_help): New function. | |
1946 | (argp): Use it. | |
1947 | * posix/getconf.c (main): Send --version output to stdout. | |
1948 | Support --help. | |
1949 | * sunrpc/rpc_main.c (usage, options_usage): Take STREAM and STATUS | |
1950 | arguments. All callers changed. | |
1951 | (print_version): New function. | |
1952 | (parseargs): Support --help and --version. | |
1953 | * sunrpc/rpcinfo.c (usage): Take STREAM argument. All callers | |
1954 | changed. | |
1955 | (print_version): New function. | |
1956 | (main): Use getopt_long. Support --help and --version. | |
1957 | * sysdeps/unix/sysv/linux/lddlibc4.c (main): Support --help and | |
1958 | --version. | |
1959 | ||
88a3b8f9 UD |
1960 | 2009-02-06 Ulrich Drepper <drepper@redhat.com> |
1961 | ||
e2e390fa UD |
1962 | * malloc/memusage.c (DEFAULT_BUFFER_SIZE): Change to 32768. |
1963 | (update_data): Fix handling of wrapping back | |
c3ab42a8 UD |
1964 | to the beginning of the buffer. |
1965 | ||
88a3b8f9 UD |
1966 | [BZ #9823] |
1967 | * stdio-common/psignal.c (psignal): Fix test for empty string. | |
1968 | ||
62f63c47 UD |
1969 | 2009-02-05 Ulrich Drepper <drepper@redhat.com> |
1970 | ||
4f7408c7 UD |
1971 | * include/rpc/auth.h: Use libc_hidden_proto for _null_auth. |
1972 | * sunrpc/rpc_common.c: Add libc_hidden_def for _null_auth. Also | |
1973 | move _null_auth to .rodata. | |
1974 | ||
970aa10f UD |
1975 | * time/tzset.c (__tzset_parse_tz): DST offset must also allow hour |
1976 | value of 24. | |
1977 | ||
52de761a UD |
1978 | * intl/dcigettext.c (DCIGETTEXT): Avoid some code duplication. |
1979 | ||
62f63c47 UD |
1980 | * sysdeps/unix/opendir.c (__alloc_dir): We have a lot more memory |
1981 | today than when the original code was written. Use larger | |
1982 | buffers. This also makes it unnecessary to have stat information, | |
1983 | if this causes extra efforts. | |
1984 | (__opendir): In case O_DIRECTORY works, don't call fstat just for | |
1985 | __alloc_dir. | |
1986 | ||
0899b889 UD |
1987 | 2009-02-03 Andrew Stubbs <ams@codesourcery.com> |
1988 | ||
1989 | * sysdeps/sh/sh4/dl-trampoline.S: Only set HAVE_FPU if __SH_FPU_ANY__ | |
1990 | is set. | |
1991 | * sysdeps/sh/sh4/setjmp.S: Support SH4-NOFPU. | |
1992 | * sysdeps/sh/sh4/__longjmp.S: Likewise. | |
1993 | * sysdeps/unix/sysv/linux/sh/sh4/getcontext.S: Likewise. | |
1994 | * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S: Likewise. | |
1995 | * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S: Likewise. | |
1996 | * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise. | |
1997 | ||
22cc3f75 UD |
1998 | 2009-02-04 Ulrich Drepper <drepper@redhat.com> |
1999 | ||
2000 | * po/ru.po: Update from translation team. | |
2001 | ||
a71433e7 UD |
2002 | 2008-11-17 Nathan Sidwell <nathan@codesourcery.com> |
2003 | ||
2004 | * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (struct sigevent): | |
2005 | Add _tid slot to maintain consistency with kernel. | |
2006 | ||
82f2e9c6 | 2007 | 2009-02-04 Ulrich Drepper <drepper@redhat.com> |
3a2e9947 | 2008 | |
82f2e9c6 UD |
2009 | * libio/wfileops.c (_IO_wfile_underflow): Fix handling of |
2010 | incomplete characters at end of input buffer. | |
2011 | * libio/Makefile (tests): Add tst-fgetwc. | |
2012 | * libio/tst-fgetwc.c: New file. | |
2013 | * libio/tst-fgetwc.input: New file. | |
3a2e9947 | 2014 | |
ba022c06 UD |
2015 | 2009-02-02 Andrew Stubbs <ams@codesourcery.com> |
2016 | ||
2017 | * sysdeps/unix/sysv/linux/sh/Makefile (libm.so-no-z-defs): Define. | |
2018 | ||
1b14353e UD |
2019 | 2009-02-02 Ulrich Drepper <drepper@redhat.com> |
2020 | ||
2021 | [BZ #9793] | |
2022 | * iconv/gconv_trans.c (__gconv_transliterate): Don't change | |
2023 | *OUTBUFSTART unless the whole output fit into the buffer. | |
2024 | * iconv/Makefile (tests): Add tst-iconv4. | |
2025 | * iconv/tst-iconv4.c: New file. | |
2026 | ||
ebc22416 UD |
2027 | 2009-02-01 Ulrich Drepper <drepper@redhat.com> |
2028 | ||
2029 | * sysdeps/x86_64/cacheinfo.c (intel_02_known): Add new descriptors. | |
2030 | * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise. | |
2031 | ||
7c8a6732 UD |
2032 | 2009-01-29 Andrew Stubbs <ams@codesourcery.com> |
2033 | ||
2034 | * elf/Makefile (ld.so): Adjust the sed script to insert _begin in to | |
2035 | newer linker scripts. | |
2036 | ||
43149780 UD |
2037 | 2009-01-30 Ulrich Drepper <drepper@redhat.com> |
2038 | ||
2039 | [BZ #7040] | |
2040 | * sysdeps/unix/sysv/linux/sys/inotify.h: Second parameter of | |
2041 | inotify_rm_watch should have type int. | |
2042 | ||
bd4ace0b UD |
2043 | 2009-01-06 Steven Munroe <sjmunroe@us.ibm.com> |
2044 | ||
2045 | * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): | |
2046 | Make aligned_restore_vmx a local symbol. | |
2047 | * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): | |
2048 | Likewise. | |
2049 | ||
430902da AJ |
2050 | 2009-01-30 Andreas Jaeger <aj@suse.de> |
2051 | ||
2052 | * sysdeps/unix/sysv/linux/bits/shm.h (SHM_EXEC): Define. | |
2053 | * sysdeps/unix/sysv/linux/ia64/bits/shm.h (SHM_EXEC): Define. | |
2054 | * sysdeps/unix/sysv/linux/powerpc/bits/shm.h (SHM_EXEC): Define. | |
2055 | * sysdeps/unix/sysv/linux/s390/bits/shm.h (SHM_EXEC): Define. | |
2056 | * sysdeps/unix/sysv/linux/sh/bits/shm.h (SHM_EXEC): Define. | |
2057 | * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHM_EXEC): Define. | |
2058 | * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (SHM_EXEC): Define. | |
2059 | ||
b7219e53 UD |
2060 | 2009-01-11 Ryan S. Arnold <rsa@us.ibm.com> |
2061 | ||
2062 | [BZ #9726] | |
2063 | * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_SET_DI_FPSCR, | |
2064 | _SET_SI_FPSCR): Clobber fp0 to prevent erroneous test-case passes. | |
2065 | ||
2066 | 2009-01-08 Ryan S. Arnold <rsa@us.ibm.com> | |
2067 | ||
2068 | [BZ #9726] | |
2069 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S | |
2070 | (__CONTEXT_FUNC_NAME): Fix mtfsf to use fp31 instead of fp0. | |
2071 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S | |
2072 | (__CONTEXT_FUNC_NAME): Fix mtfsf to use fp31 instead of fp0. | |
2073 | ||
a3bd2846 UD |
2074 | 2009-01-11 Thomas Schwinge <tschwinge@gnu.org> |
2075 | ||
2076 | * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Use | |
2077 | memcpy instead of memcmp. | |
2078 | (_dl_setup_pointer_guard): Likewise. | |
2079 | ||
1fdd89a7 UD |
2080 | 2009-01-30 Ulrich Drepper <drepper@redhat.com> |
2081 | ||
2082 | * malloc/malloc.c (sYSMALLOc): Don't use assert when detecting | |
2083 | manipulated brk, use malloc_printerr. | |
2084 | * misc/sbrk.c (__sbrk): Better error handling for nonsense | |
2085 | requests. | |
2086 | ||
8585cb74 UD |
2087 | 2009-01-30 Jakub Jelinek <jakub@redhat.com> |
2088 | ||
2089 | * string/string.h (memchr, strchr, strrchr, strpbrk, strstr, index, | |
2090 | rindex): For C++ add inlines so that they can be recognized as | |
2091 | builtins. | |
2092 | * string/strings.h: Define correct C++ prototypes for gcc 4.4. | |
2093 | ||
d8387c7b UD |
2094 | 2009-01-29 Ulrich Drepper <drepper@redhat.com> |
2095 | Jakub Jelinek <jakub@redhat.com> | |
2096 | ||
cdf77dd8 UD |
2097 | * string/string.h: Define correct C++ prototypes for gcc 4.4. |
2098 | * wcsmbs/wchar.h: Likewise. | |
d8387c7b | 2099 | |
647925b2 UD |
2100 | 2009-01-29 Ulrich Drepper <drepper@redhat.com> |
2101 | ||
2102 | * sysdeps/i386/stackinfo.h (stackinfo_get_sp): Define. | |
2103 | (stackinfo_sub_sp): Define. | |
2104 | ||
5627534a UD |
2105 | 2009-01-28 Ulrich Drepper <drepper@redhat.com> |
2106 | ||
fd537e53 UD |
2107 | [BZ #9750] |
2108 | * nscd/mem.c (gc): Use alloca_count to get the real stack usage. | |
2109 | * include/alloca.h (alloca_account): Define. | |
2110 | * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Define. | |
2111 | (stackinfo_sub_sp): Define. | |
2112 | ||
00f5df0e UD |
2113 | * nscd/connections.c (nscd_init): If database file access fails |
2114 | check whether this is due to permission problems and bail in that | |
2115 | case. | |
31d322a2 | 2116 | |
5627534a UD |
2117 | [BZ #9741] |
2118 | * nscd/mem.c (gc): Fix assignment of he_data in case malloc is used. | |
2119 | Reported by Jun'ichi Nomura <j-nomura@ce.jp.nec.com>. | |
2120 | ||
a7bd183f UD |
2121 | 2009-01-14 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
2122 | ||
2123 | * sysdeps/unix/sysv/linux/sh/sysdep.h (INTERNAL_SYSCALL): | |
2124 | Add "t" to clobber list. | |
2125 | (INTERNAL_SYSCALL_NCS): Likewise. | |
2126 | ||
1dd75769 UD |
2127 | 2009-01-28 Ulrich Drepper <drepper@redhat.com> |
2128 | ||
2129 | * nss/getent.c (print_networks): Don't print comma between aliases. | |
2130 | ||
25e84177 UD |
2131 | 2009-01-23 Ulrich Drepper <drepper@redhat.com> |
2132 | ||
2133 | * sysdeps/unix/sysv/linux/tst-clone.c (do_test): Avoid warning. | |
2134 | ||
2135 | * misc/hsearch_r.c (hcreate_r): We need at least three elements in | |
2136 | the hash table. | |
2137 | * misc/Makefile (tests): Add bug-hsearch1. | |
2138 | * misc/bug-hsearch1.c: New file. | |
2139 | ||
0699a0ca RM |
2140 | 2009-01-22 Roland McGrath <roland@redhat.com> |
2141 | ||
2142 | * Makeconfig (%.v.i): Strip trailing # comments, | |
2143 | not only whole-line comments. | |
2144 | ||
965cb60a UD |
2145 | 2009-01-10 Ulrich Drepper <drepper@redhat.com> |
2146 | ||
2147 | * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Take | |
2148 | one parameter. If non-NULL use it to initialize return value. | |
2149 | (_dl_setup_pointer_guard): New function. | |
2150 | * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise. | |
2151 | * sysdeps/generic/ldsodefs.h: Declare _dl_random. | |
2152 | * elf/rtld.c (security_init): Pass _dl_random to | |
2153 | _dl_setup_stack_chk_guard. Call _dl_setup_pointer_guard to initialize | |
2154 | pointer_chk_guard. | |
2155 | * elf/dl-sysdep.c (_dl_random): New variable. | |
2156 | (_dl_sysdep_start): Handle AT_RANDOM. | |
2157 | (_dl_show_auxv): Likewise. | |
2158 | * elf/dl-support.c (_dl_random): New variable. | |
2159 | (_dl_aux_init): Handle AT_RANDOM. | |
2160 | * csu/libc-start.c [!SHARED] (libc_start_main): Pass _dl_random | |
2161 | to _dl_setup_stack_chk_guard. | |
2162 | ||
2163 | * elf/elf.h (AT_RANDOM): Define AT_BASE_PLATFORM and AT_RANDOM. | |
2164 | ||
8be96dd1 RM |
2165 | 2009-01-10 Roland McGrath <roland@redhat.com> |
2166 | ||
2167 | * nscd/nscd.c (parse_opt): Use argp_error for bad -i argument. | |
2168 | ||
157cd5ac UD |
2169 | 2009-01-08 Ulrich Drepper <drepper@redhat.com> |
2170 | ||
9b1c750e UD |
2171 | * sysdeps/i386/fpu/libm-test-ulps: Adjust expm1 errors. |
2172 | ||
157cd5ac UD |
2173 | [BZ #9706] |
2174 | * nss/nss_files/files-parse.c (strtou32): New function. | |
2175 | (INT_FIELD): Use strotu32 instead of strtoul to unify behavior | |
2176 | across 32-bit and 64-bit platforms. | |
2177 | (INT_FIELD_MAYBE_NULL): Likewise. | |
2178 | ||
960af8c2 JJ |
2179 | 2009-01-08 Jakub Jelinek <jakub@redhat.com> |
2180 | ||
2181 | [BZ #9720] | |
2182 | * sysdeps/unix/sysv/linux/bits/resource.h (enum __rusage_who): Avoid | |
2183 | comma after RUSAGE_CHILDREN if not -D_GNU_SOURCE. | |
2184 | * sysdeps/unix/sysv/linux/sparc/bits/resource.h (enum __rusage_who): | |
2185 | Likewise. | |
2186 | ||
76c7f2cd UD |
2187 | 2009-01-05 Paolo Bonzini <bonzini@gnu.org> |
2188 | ||
16c124f7 | 2189 | [BZ #697] |
76c7f2cd UD |
2190 | * posix/regexec.c (prune_impossible_nodes): Handle sifted_states[0] |
2191 | being NULL also if there are no backreferences. | |
2192 | * posix/rxspencer/tests: Add testcases. | |
2193 | ||
bdb56bac UD |
2194 | 2009-01-04 Paolo Bonzini <bonzini@gnu.org> |
2195 | ||
16c124f7 | 2196 | [BZ #9697] |
bdb56bac UD |
2197 | * posix/bug-regex17.c: Add testcases. |
2198 | * posix/regcomp.c (re_compile_fastmap_iter): Rewrite COMPLEX_BRACKET | |
2199 | handling. | |
2200 | ||
0480c901 UD |
2201 | 2009-01-05 Martin Schwidefsky <schwidefsky@de.ibm.com> |
2202 | ||
2203 | * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: New file. | |
2204 | * sysdeps/unix/sysv/linux/s390/gettimeofday.c: New file. | |
2205 | * sysdeps/unix/sysv/linux/s390/init-first.c: New file. | |
2206 | * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines): Add dl-vdso | |
2207 | for elf subdir. | |
2208 | * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL, | |
2209 | INTERNAL_VSYSCALL, INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK, | |
2210 | INTERNAL_SYSCALL_NCS, HAVE_CLOCK_GETRES_VSYSCALL and | |
2211 | HAVE_CLOCK_GETTIME_VSYSCALL: Define. | |
2212 | * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. | |
2213 | * sysdeps/unix/sysv/linux/s390/Versions: New file. | |
2214 | ||
b3918c7d UD |
2215 | 2008-12-31 Paolo Bonzini <bonzini@gnu.org> |
2216 | ||
2217 | * posix/regcomp.c (re_compile_fastmap_iter): Use __mbrtowc. | |
2218 | * posix/regex_internal.c (build_wcs_buffer, build_wcs_upper_buffer, | |
2219 | re_string_skip_chars, re_string_reconstruct): Likewise. | |
2220 | * posix/regex_internal.h [!_LIBC] (__mbrtowc): New #define. | |
2221 | ||
df9293cb UD |
2222 | 2008-12-31 Rafael Avila de Espindola <espindola@google.com> |
2223 | ||
2224 | * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Check and | |
2225 | adjust the buffer alignment. | |
2226 | ||
c90c1e1c RM |
2227 | 2009-01-07 Samuel Thibault <samuel.thibault@ens-lyon.org> |
2228 | ||
2229 | * sysdeps/mach/hurd/Makefile (sysdep_headers) [subdir=socket]: | |
2230 | Add net/ethernet.h net/if_arp.h net/if_ether.h net/if_ppp.h | |
2231 | net/route.h. | |
2232 | ||
2233 | * hurd/report-wait.c (describe_number): Use __stpcpy to prepend | |
2234 | flavor to description only when flavor is not NULL. | |
2235 | ||
2236 | * hurd/hurdsig.c (signal_allowed): Unlock _hurd_dtable_lock | |
2237 | mutex after SIGIO/SIGURG lookup loop. | |
2238 | ||
5aff6fdf RM |
2239 | 2009-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org> |
2240 | ||
2241 | * bits/resource.h (PRIO_PROCESS, PRIO_PGRP, PRIO_USER): Add macros. | |
2242 | ||
b2bcd249 UD |
2243 | 2009-01-03 Ulrich Drepper <drepper@redhat.com> |
2244 | ||
2245 | * sysdeps/unix/sysv/linux/i386/sysdep.h: Describe 6th argument | |
2246 | handling. | |
2247 | ||
d36ad871 UD |
2248 | 2009-01-02 Ulrich Drepper <drepper@redhat.com> |
2249 | ||
ebb2788e UD |
2250 | * sysdeps/unix/sysv/linux/kernel-features.h |
2251 | (__ASSUME_FUTEX_CLOCK_REALTIME): Define. | |
2252 | ||
72098116 UD |
2253 | * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Create temporary state object |
2254 | if no output is written. | |
2255 | ||
623d0bf5 UD |
2256 | * version.h: Bump to 2.10 development. |
2257 | ||
d36ad871 UD |
2258 | * posix/getconf.c: Update copyright year. |
2259 | * nss/getent.c: Likewise. | |
2260 | * iconv/iconvconfig.c: Likewise. | |
2261 | * iconv/iconv_prog.c: Likewise. | |
2262 | * elf/ldconfig.c: Likewise. | |
2263 | * catgets/gencat.c: Likewise. | |
2264 | * csu/version.c: Likewise. | |
2265 | * elf/ldd.bash.in: Likewise. | |
2266 | * elf/sprof.c (print_version): Likewise. | |
2267 | * locale/programs/locale.c: Likewise. | |
2268 | * locale/programs/localedef.c: Likewise. | |
2269 | * nscd/nscd.c (print_version): Likewise. | |
2270 | * debug/xtrace.sh: Likewise. | |
2271 | * malloc/memusage.sh: Likewise. | |
2272 | * malloc/mtrace.pl: Likewise. | |
2273 | * debug/catchsegv.sh: Likewise. | |
2274 | ||
25df09ab UD |
2275 | 2008-12-29 Mike Frysinger <vapier@gentoo.org> |
2276 | ||
2277 | * iconvdata/Makefile (iconv-rules): Use LC_ALL=C when running awk | |
2278 | script. | |
2279 | ||
16b7dc27 UD |
2280 | 2008-12-29 Ulrich Drepper <drepper@redhat.com> |
2281 | ||
bfbbc63f UD |
2282 | * sysdeps/posix/getaddrinfo.c (gaih_inet): When the |
2283 | gethostbyname4_r function call succeeded, just leave the loop. | |
2284 | ||
0f2ae55c UD |
2285 | [BZ #9694] |
2286 | * wcsmbs/wchar.h: Move undefs for local __need_* constants to the | |
2287 | very end. | |
5703f472 UD |
2288 | * wctype/wctype.h: Get wint_t definition directly from <stddef.h>. |
2289 | * wctype/Makefile (tests): Add bug-wctypeh. | |
2290 | * wctype/bug-wctypeh.c: New file. | |
0f2ae55c | 2291 | |
50e481ce UD |
2292 | * nscd/nscd_gethst_r.c (nscd_gethst_r): Don't use nscd if |
2293 | LOCALDOMAIN is defined. | |
2294 | * nscd/nscd_getai.c (__nscd_getai): Likewise. | |
2295 | ||
217d45cd UD |
2296 | * sysdeps/x86_64/bits/select.h: New file. |
2297 | ||
16b7dc27 UD |
2298 | * resolv/res_init.c (__res_vinit): Count all servers in statp->nscount. |
2299 | ||
bf93cd3b UD |
2300 | 2008-12-21 Bruno Haible <bruno@clisp.org> |
2301 | ||
2302 | [BZ #9677] | |
2303 | * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Create temporary state object | |
2304 | if no output is written. | |
2305 | ||
49159e12 UD |
2306 | 2008-12-13 Klaus Dittrich <kladit@arcor.de> |
2307 | ||
2308 | * login/utmp_file.c (pututline_file): Replace call to dup2 with | |
2309 | libc internal symbol __dup2 to avoid access through the PLT. | |
2310 | ||
d4f0720b UD |
2311 | 2008-12-08 Ulrich Drepper <drepper@redhat.com> |
2312 | ||
135460f4 UD |
2313 | [BZ #6545] |
2314 | * sysdeps/unix/sysv/linux/bits/socket.h (SCM_CREDENTIALS): Make | |
2315 | available only for __USE_GNU. | |
2316 | ||
ed0da352 UD |
2317 | * inet/Makefile (tests): Add tst-getni2. |
2318 | * inet/tst-getni2.c: New file. | |
2319 | ||
d4f0720b UD |
2320 | [BZ #7080] |
2321 | * inet/getnameinfo.c (getnameinfo): Check for output buffers being | |
2322 | NULL when NI_NAMEREQD is set. | |
2323 | Patch mostly by Yang Hongyang <yanghy@cn.fujitsu.com>. | |
2324 | * inet/Makefile (tests): Add tst-getni1. | |
2325 | * inet/tst-getni1.c: New file. | |
2326 | ||
cd72adeb UD |
2327 | 2008-12-03 Petr Baudis <pasky@suse.cz> |
2328 | ||
2329 | [BZ #7067] | |
2330 | * nscd/connections.c (invalidate_cache): Use prune_run_lock | |
2331 | instead of prune_lock. | |
2332 | (nscd_run_prune): Before calling prune_cache, take prune_run_lock. | |
2333 | * nscd/nscd.h (database_dyn): Add prune_run_cache. | |
2334 | ||
e87946cc UD |
2335 | 2008-12-07 Ulrich Drepper <drepper@redhat.com> |
2336 | ||
200da00a UD |
2337 | * resolv/res_send.c (send_dg): Use correct guards for SOCK_CLOEXEC |
2338 | use. | |
2339 | ||
2340 | * sysdeps/unix/sysv/linux/kernel-features.h: Fix typo in accept4 | |
2341 | handling. | |
2342 | ||
905ef0da UD |
2343 | * resolv/res_init.c (__res_vinit): Always assign to statp->nscount |
2344 | after reading name server list. | |
2345 | ||
71053765 | 2346 | [BZ #7058] |
e87946cc UD |
2347 | * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname4_r): Fix memory |
2348 | handling for host name aliases. | |
2349 | ||
d43b8bdd JJ |
2350 | 2008-11-24 Arkadiusz Miśkiewicz <arekm@maven.pl> |
2351 | ||
2352 | * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use LOAD_PIC_REG | |
2353 | instead of doing things manually. | |
2354 | ||
2355 | 2008-11-26 Chris Steel <chris.steel.lnx@googlemail.com> | |
2356 | ||
2357 | * posix/regex_internal.h (build_wcs_upper_buffer): | |
2358 | Return type is reg_error_t. | |
2359 | ||
25a34eb7 UD |
2360 | 2008-12-05 Ulrich Drepper <drepper@redhat.com> |
2361 | ||
f3721ab2 UD |
2362 | * posix/globtest.sh: Use mktemp to create temporary file and |
2363 | directory. | |
2364 | ||
25a34eb7 UD |
2365 | * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S): Handle large |
2366 | sets correctly. | |
2367 | (__CPU_CLR_S): Likewise. | |
2368 | (__CPU_ISSET_S): Likewise. | |
2369 | ||
8680179f UD |
2370 | 2008-12-05 Joseph Myers <joseph@codesourcery.com> |
2371 | Ulrich Drepper <drepper@redhat.com> | |
2372 | ||
2373 | * scripts/firstversion.awk: Use custom comparison function to compare | |
2374 | version numbers. | |
2375 | * scripts/versions.awk: Use sort invocation which can handle | |
2376 | multi-digit sub-version numbers. | |
2377 | ||
72d50908 UD |
2378 | 2008-12-04 Ulrich Drepper <drepper@redhat.com> |
2379 | ||
2380 | * locale/programs/ld-address.c (DEFINE_LANGUAGE_CODE2): Define. | |
2381 | * locale/iso-639.def: Add Chhattisgarhi entry. | |
2382 | ||
f93fc0b7 UD |
2383 | 2008-12-02 Ulrich Drepper <drepper@redhat.com> |
2384 | ||
da5ac135 UD |
2385 | * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Recognize |
2386 | ESRCH return value. | |
2387 | (_nss_dns_gethostbyname4_r): Likewise. | |
2388 | * resolv/res_init.c (__res_vinit): Initialize nscount to zero. | |
2389 | * sysdeps/posix/getaddrinfo.c (gaih_inet): In case we use | |
2390 | gethostbyname4_r, we don't have a separate IPv6 status, so copy | |
2391 | the no_data variable. | |
2392 | ||
6f5c3117 UD |
2393 | * resolv/res_init.c (__res_vinit): Fill in IPv4 name server |
2394 | information at the correct index. | |
2395 | ||
f93fc0b7 UD |
2396 | * socket/sys/socket.h: Declare accept4. |
2397 | * socket/accept4.c: New file. | |
2398 | * sysdeps/unix/sysv/linux/accept4.c: New file. | |
2399 | * sysdeps/unix/sysv/linux/i386/accept4.S: New file. | |
2400 | * socket/Makefile (routines): Add accept4. | |
2401 | * socket/Versions: Export accept4 with version GLIBC_2.10. | |
2402 | * socket/paccept.c: Removed. | |
2403 | * sysdeps/unix/sysv/linux/paccept.c: Removed. | |
2404 | * sysdeps/unix/sysv/linux/i386/paccept.S: Removed. | |
2405 | * Versions.def: Define GLIBC_2.10 for libc. | |
2406 | * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_ACCEPT4. | |
2407 | ||
2408 | * nscd/connections.c: Use accept4. | |
2409 | ||
2410 | * sysdeps/unix/sysv/linux/i386/socket.S: Fix comment. | |
2411 | ||
1fa7ae05 UD |
2412 | 2008-12-01 Ulrich Drepper <drepper@redhat.com> |
2413 | ||
9744268c UD |
2414 | * resolv/res_send.c (send_dg): Create sockets with non-blocking |
2415 | flag already set. | |
2416 | ||
1fa7ae05 UD |
2417 | * stdlib/setenv.c (unsetenv): Don't search environment if it does |
2418 | not exist. | |
30c06371 UD |
2419 | * stdlib/Makefile (tests): Add tst-unsetenv1. |
2420 | * stdlib/tst-unsetenv1.c: New file. | |
1fa7ae05 | 2421 | |
37a6a271 UD |
2422 | 2008-11-29 Ulrich Drepper <drepper@redhat.com> |
2423 | ||
2424 | * login/utmp_file.c (file_writable): New variable. | |
2425 | (setutent_file): Don't try to open file for writing. | |
2426 | (pututline_file): Before writing, make descriptor writable if | |
2427 | necessary. | |
2428 | ||
ca4dc0fe UD |
2429 | 2008-11-26 Ulrich Drepper <drepper@redhat.com> |
2430 | ||
be4607eb UD |
2431 | * sysdeps/posix/getaddrinfo.c (getaddrinfo): Only restrict search |
2432 | to IPv4 or IPv6 if an interface has been found. | |
ca4dc0fe | 2433 | |
01a74645 RM |
2434 | 2008-11-26 Roland McGrath <roland@redhat.com> |
2435 | ||
24fd0a5b RM |
2436 | * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Renamed to ... |
2437 | * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: ... here. | |
2438 | ||
2439 | * sysdeps/unix/sysv/linux/alpha/wordexp.c: Renamed to ... | |
2440 | * sysdeps/unix/sysv/linux/ia64/wordexp.c: ... here. | |
2441 | * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: Change #include. | |
2442 | ||
01a74645 RM |
2443 | * elf/elf.h (NT_386_IOPERM): New macro. |
2444 | (NT_PPC_VSX): New macro. | |
2445 | ||
c0439b95 RM |
2446 | 2008-11-25 Roland McGrath <roland@redhat.com> |
2447 | ||
2448 | * sysdeps/alpha, sysdeps/unix/bsd/osf/alpha, | |
2449 | sysdeps/unix/bsd/Attic/osf1/alpha, sysdeps/unix/sysv/linux/alpha, | |
2450 | sysdeps/unix/sysv/linux/alpha/alpha, sysdeps/unix/alpha, | |
2451 | sysdeps/mach/alpha, sysdeps/mach/hurd/alpha: | |
2452 | Subdirectories moved to ports repository. | |
2453 | * configure.in (base_machine): Remove alpha case. | |
2454 | ||
d3dc523b RM |
2455 | 2008-11-25 Thomas Schwinge <tschwinge@gnu.org> |
2456 | ||
2457 | * sysdeps/mach/strerror_l.c: New file. | |
2458 | ||
edba7a54 UD |
2459 | 2008-11-13 Ryan S. Arnold <rsa@us.ibm.com> |
2460 | ||
2461 | [BZ #6411] | |
2462 | * sysdeps/powerpc/fpu/Makefile: Added test case tst-setcontext-fpscr. | |
2463 | * sysdeps/powerpc/fpu/feholdexcpt.c (_FPU_MASK_ALL): Define to replace | |
2464 | magic numbers. | |
2465 | * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_register): Dynamically | |
2466 | choose mtfsf insn based on PPC_FEATURE_HAS_DFP. | |
2467 | (relax_fenv_state): Same as above. | |
2468 | (FPSCR_29): Reserve bit in ISA 2.05. | |
2469 | (FPSCR_NI): Provide define for compat. | |
2470 | * sysdeps/powerpc/fpu/fesetenv.c (_FPU_MASK_ALL): Define to replace | |
2471 | magic numbers. | |
2472 | * sysdeps/powerpc/fpu/feupdateenv.c (_FPU_MASK_ALL): Define to replace | |
2473 | magic numbers. | |
2474 | * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: New file. Test case to | |
2475 | test setcontext and swapcontext with dynamic 64-bit FPSCR detection. | |
2476 | * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Adjust | |
2477 | access to hwcap to account for hwcap size increase to uint64_t. | |
2478 | * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S (__sigsetjmp ): | |
2479 | Likewise. | |
2480 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S | |
2481 | (*setcontext): Likewise. | |
2482 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/setcontext.S: | |
2483 | New file. | |
2484 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/swapcontext.S: | |
2485 | New file. | |
2486 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S | |
2487 | (*setcontext): dynamically select mtfsf insn based on | |
2488 | PPC_FEATURE_HAS_DFP. Adjust access to hwcap to account for hwcap size | |
2489 | increase to uint64_t. | |
2490 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S | |
2491 | (*swapcontext): dynamically select mtfsf insn based on | |
2492 | PPC_FEATURE_HAS_DFP. Adjust access to hwcap to account for hwcap size | |
2493 | increase to uint64_t. | |
2494 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/setcontext.S: | |
2495 | New file. | |
2496 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/swapcontext.S: | |
2497 | New file. | |
2498 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S | |
2499 | (*setcontext): dynamically select mtfsf insn based on | |
2500 | PPC_FEATURE_HAS_DFP. | |
2501 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S | |
2502 | (*swapcontext): dynamically select mtfsf insn based on | |
2503 | PPC_FEATURE_HAS_DFP. | |
2504 | ||
ec297962 UD |
2505 | 2008-11-13 Ulrich Drepper <drepper@redhat.com> |
2506 | ||
b5449f8a | 2507 | * version.h: Bump for 2.9 release. |
f52bb4d7 | 2508 | * include/features.h (__GLIBC_MINOR__): Bump to 9. |
b5449f8a | 2509 | |
ec297962 UD |
2510 | [BZ #7029] |
2511 | * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_ALLOC_SIZE): | |
2512 | Multiply with sizeof of __cpu_mask, not 8 unconditionally after | |
2513 | all the rounding. | |
2514 | ||
3cac8b75 UD |
2515 | 2008-11-11 Ulrich Drepper <drepper@redhat.com> |
2516 | ||
0e54a725 | 2517 | [BZ #7009] |
3cac8b75 UD |
2518 | * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Don't abort for |
2519 | unknown request types for now. | |
2520 | ||
58a4b51a RM |
2521 | 2008-11-11 Roland McGrath <roland@redhat.com> |
2522 | ||
2523 | * sysdeps/x86_64/configure: New file. | |
2524 | ||
2525 | * configure.in: Add AC_SUBST(libc_cv_cpp_asm_debuginfo). | |
2526 | * configure: Regenerated. | |
2527 | ||
01bd5e96 JJ |
2528 | 2008-11-03 Martin Schwidefsky <schwidefsky@de.ibm.com> |
2529 | ||
2530 | * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_profile): Use the | |
2531 | correct instruction to remove the stack frame. | |
2532 | ||
a9069550 JJ |
2533 | 2008-11-03 Michael Matz <matz@suse.de> |
2534 | ||
2535 | * sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_32_acq, | |
2536 | __arch_compare_and_exchange_val_64_acq): Add "memory" clobber. | |
2537 | ||
4b23f9bd JJ |
2538 | 2008-11-07 Jakub Jelinek <jakub@redhat.com> |
2539 | ||
09f66a4f JJ |
2540 | * include/stdio.h (__builtin_fwrite, __builtin_fwrite_unlocked): |
2541 | Remove. | |
2542 | ||
4b23f9bd JJ |
2543 | * bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address, |
2544 | __libc_tsd_get, __libc_tsd_set): Add TYPE argument, use it as the type | |
2545 | of the thread variable instead of void *. | |
2546 | * sysdeps/mach/hurd/bits/libc-tsd.h (__libc_tsd_define, | |
2547 | __libc_tsd_address, __libc_tsd_get, __libc_tsd_set): Likewise. | |
2548 | * include/ctype.h (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust | |
2549 | __libc_tsd_define arguments. | |
2550 | (__ctype_b_loc, __ctype_toupper_loc, __ctype_tolower_loc): Adjust | |
2551 | __libc_tsd_address arguments. Remove union hack. | |
2552 | * include/rpc/rpc.h (RPC_VARS): Adjust __libc_tsd_define arguments. | |
2553 | * sunrpc/rpc_thread.c (RPC_VARS): Likewise. | |
2554 | (__rpc_thread_destroy, rpc_thread_multi, __rpc_thread_variables): | |
2555 | Adjust __libc_tsd_{set,get} arguments. | |
2556 | * ctype/ctype-info.c (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust | |
2557 | __libc_tsd_define arguments. | |
2558 | * locale/uselocale.c (__uselocale): Adjust __libc_tsd_{set,get} | |
2559 | arguments. | |
2560 | * locale/lc-ctype.c (_nl_postload_ctype): Likewise. | |
2561 | * locale/global-locale.c (__libc_tsd_LOCALE): Adjust type. | |
2562 | (LOCALE): Adjust __libc_tsd_define arguments. | |
2563 | * locale/localeinfo.h (_NL_CURRENT_LOCALE): Adjust __libc_tsd_get | |
2564 | arguments. | |
2565 | (LOCALE): Adjust __libc_tsd_define arguments. | |
2566 | * sysdeps/mach/hurd/malloc-machine.h (MALLOC): Adjust __libc_tsd_define | |
2567 | arguments. | |
2568 | (tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get} | |
2569 | arguments. | |
2570 | ||
486bdb88 UD |
2571 | 2008-11-02 Ulrich Drepper <drepper@redhat.com> |
2572 | ||
2573 | * malloc/malloc.c (public_rEALLOc): When new arena is used, copy | |
2574 | really all bytes. Patch by Denys Vlasenko <dvlasenk@redhat.com>. | |
2575 | ||
64647f9a UD |
2576 | 2008-11-01 Ulrich Drepper <drepper@redhat.com> |
2577 | ||
2578 | [BZ #6966] | |
2579 | * misc/hsearch_r.c (hsearch_r): Fix secondary hash function. | |
2580 | ||
acd44dbc UD |
2581 | 2008-10-24 Joseph Myers <joseph@codesourcery.com> |
2582 | Ulrich Drepper <drepper@redhat.com> | |
2583 | ||
2584 | * math/tgmath.h (__floating_type): Use __builtin_classify_type in | |
2585 | definition for GCC 3.1 and later. | |
64647f9a | 2586 | |
41e25904 UD |
2587 | 2008-10-31 Jakub Jelinek <jakub@redhat.com> |
2588 | ||
2589 | * elf/dl-tls.c (__tls_get_addr): After calling _dl_update_slotinfo | |
2590 | refetch dtv, as it might have changed. | |
2591 | * elf/Makefile: Add rules to build and run tst-tls18. | |
2592 | * elf/tst-tls18.c: New test. | |
2593 | * elf/tst-tlsmod18a.c: New file. | |
2594 | ||
e148a644 | 2595 | 2008-09-09 Aurelien Jarno <aurelien@aurel32.net> |
97f12390 | 2596 | |
da9c2314 | 2597 | [BZ #6875] |
e148a644 UD |
2598 | * iconvdata/gconv-modules: Add LATIN9 as an alias to ISO-8859-15. |
2599 | ||
2600 | 2008-10-31 Ulrich Drepper <drepper@redhat.com> | |
97f12390 | 2601 | |
6daf1a2f UD |
2602 | [BZ #6867] |
2603 | * sysdeps/powerpc/elf/rtld-global-offsets.sym: Fix typo. | |
2604 | ||
6f576bf6 UD |
2605 | [BZ #6919] |
2606 | * posix/spawnattr_getschedparam.c (posix_spawnattr_getschedparam): | |
2607 | Fix length of copy operation. | |
2608 | ||
45a8beb5 UD |
2609 | 2008-10-02 Pierre Habouzit <madcoder@debian.org> |
2610 | ||
2611 | * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Use the eventfd2 syscall | |
2612 | and fix its calling convention. | |
2613 | ||
ad12e635 UD |
2614 | 2008-10-07 Andreas Schwab <schwab@suse.de> |
2615 | ||
2616 | [BZ #6942] | |
2617 | * resolv/res_send.c (send_vc): Fix last change. | |
2618 | (send_dg): Align here as well. | |
2619 | ||
3cf44918 UD |
2620 | 2008-10-31 Ulrich Drepper <drepper@redhat.com> |
2621 | ||
dbb6ab3e UD |
2622 | * sysdeps/unix/sysv/linux/ulimit.c (__ulimit): Handle UL_GETFSIZE |
2623 | return value in case rlimit is RLIM_INFINITY. | |
2624 | ||
2625 | [BZ #6947] | |
2626 | * sysdeps/unix/sysv/linux/ulimit.c (__ulimit): Fix return value | |
2627 | for UL_SETFSIZE. | |
1828d6b0 UD |
2628 | * resource/Makefile (tests): Add bug-ulimit1. |
2629 | * resource/bug-ulimit1.c: New file. | |
dbb6ab3e | 2630 | |
a5ff533e UD |
2631 | [BZ #6974] |
2632 | * sunrpc/rpc_main.c (mkfile_output): Properly handle filename | |
2633 | without dot. Properly terminate the string with a null byte. | |
2634 | Based on a patch by Aurelien Jarno <aurelien@aurel32.net>. | |
2635 | ||
4bed549a UD |
2636 | [BZ #6980] |
2637 | * debug/getgroups_chk.c (__getgroups_chk): Return EINVAL error for | |
2638 | negative sizees. | |
2639 | * posix/bits/unistd.h (getgroups): Call __getgroups_chk for | |
2640 | negative __size. | |
2641 | ||
3cf44918 UD |
2642 | [BZ #6995] |
2643 | * sysdeps/powerpc/powerpc32/dl-machine.c: Fix typo in message. | |
2644 | ||
21b07d8b UD |
2645 | 2008-10-30 Ulrich Drepper <drepper@redhat.com> |
2646 | ||
332c4465 UD |
2647 | * grp/initgroups.c (internal_getgrouplist): Don't prematurely |
2648 | abort if there is no initgroups_dyn function. | |
2649 | ||
21b07d8b UD |
2650 | * resolv/res_send.c (send_dg): On timeout, only return nonzero |
2651 | result if any of the queries really provided an answer. | |
2652 | ||
4caa3fb7 UD |
2653 | 2008-10-28 Ulrich Drepper <drepper@redhat.com> |
2654 | ||
2655 | * po/lt.po: Update from translation team. | |
2656 | ||
a22c3a0d UD |
2657 | 2008-10-26 Ulrich Drepper <drepper@redhat.com> |
2658 | ||
2659 | * po/id.po: Update from translation team. | |
2660 | ||
49685151 UD |
2661 | 2008-10-24 Ulrich Drepper <drepper@redhat.com> |
2662 | ||
2663 | * resolv/res_query.c (__libc_res_nquery): Add a few casts. | |
660675de | 2664 | Fix tests for existence of second reply. |
49685151 | 2665 | |
8d9d5d35 UD |
2666 | 2008-10-23 Ulrich Drepper <drepper@redhat.com> |
2667 | ||
2668 | * po/id.po: New file. | |
2669 | Contributed by the Indonesian translation team. | |
2670 | ||
208bc836 UD |
2671 | 2008-10-22 Dmitry V. Levin <ldv@altlinux.org> |
2672 | ||
2673 | * misc/syslog.c (openlog_internal): Fix __have_sock_cloexec | |
2674 | initialization. | |
2675 | ||
60a23f5a UD |
2676 | 2008-10-17 Jakub Jelinek <jakub@redhat.com> |
2677 | ||
2678 | * elf/Makefile: Add rules to build and run tst-tls17. | |
2679 | * elf/tst-tls17.c: New test. | |
2680 | * elf/tst-tlsmod17a.c: New file. | |
2681 | * elf/tst-tlsmod17b.c: Likewise. | |
2682 | ||
292eb817 UD |
2683 | 2008-10-17 Ulrich Drepper <drepper@redhat.com> |
2684 | ||
2685 | * stdlib/divmod_1.c: Use correct type for dummy variable. | |
2686 | * stdlib/mod_1.c: Likewise. | |
2687 | ||
5df2a427 UD |
2688 | 2008-10-16 Ulrich Drepper <drepper@redhat.com> |
2689 | ||
2690 | * elf/dl-tls.c (_dl_update_slotinfo): Copy all of the initial DTV. | |
2691 | ||
472e5e08 JJ |
2692 | 2008-10-16 Jakub Jelinek <jakub@redhat.com> |
2693 | ||
2694 | * sysdeps/unix/sysv/linux/sys/signalfd.h (signalfd): Fix __THROW vs. | |
2695 | __nonnull order for C++. | |
2696 | * sysdeps/unix/sysv/linux/alpha/sys/signalfd.h (signalfd): Likewise. | |
2697 | * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h (signalfd): Likewise. | |
2698 | ||
86900abd RM |
2699 | 2008-10-01 Daniel Jacobowitz <dan@codesourcery.com> |
2700 | ||
2701 | * stdlib/longlong.h: Update from GCC. | |
2702 | ||
19c10a47 JJ |
2703 | 2008-10-09 Jakub Jelinek <jakub@redhat.com> |
2704 | David S. Miller <davem@davemloft.net> | |
2705 | ||
2706 | * sysdeps/sparc/sparc64/sparcv9v/memcpy.S: When not USE_BPR, | |
2707 | make sure any registers used with 64-bit 'branch-on-register' | |
2708 | instructions have their top 32-bits clear. | |
2709 | * sysdeps/sparc/sparc64/sparcv9v/memset.S: Likewise. | |
2710 | * sysdeps/sparc/sparc64/sparcv9v2/memcpy.S: Likewise. | |
2711 | ||
2fdde3b9 UD |
2712 | 2008-09-18 Andreas Schwab <schwab@suse.de> |
2713 | ||
2714 | [BZ #6942] | |
2715 | * resolv/res_send.c (send_vc): Fix use of unaligned address. | |
f00d47a3 | 2716 | Properly handle partial reads. |
2fdde3b9 | 2717 | |
6ba25fcb RM |
2718 | 2008-10-01 Mark Shinwell <shinwell@codesourcery.com> |
2719 | ||
2720 | * elf/elf.h (STO_MIPS_PLT): New. | |
2721 | (R_MIPS_COPY): New. | |
2722 | (R_MIPS_JUMP_SLOT): New. | |
2723 | (R_MIPS_NUM): Redefine to 128. | |
2724 | (DT_MIPS_PLTGOT): New. | |
2725 | (DT_MIPS_RWPLT): New. | |
2726 | (DT_MIPS_NUM): Redefine to 0x35. | |
2727 | ||
97898201 UD |
2728 | 2008-10-01 Ulrich Drepper <drepper@redhat.com> |
2729 | ||
2730 | * timezone/africa: Update from tzdata2008f. | |
2731 | * timezone/asia: Likewise. | |
2732 | * timezone/australasia: Likewise. | |
2733 | * timezone/europe: Likewise. | |
2734 | * timezone/leapseconds: Likewise. | |
2735 | * timezone/northamerica: Likewise. | |
2736 | * timezone/southamerica: Likewise. | |
2737 | * timezone/zone.tab: Likewise. | |
2738 | ||
3452ded5 UD |
2739 | 2008-09-30 Ulrich Drepper <drepper@redhat.com> |
2740 | ||
2741 | * nscd/connections.c: Disable use of paccept for now. | |
2742 | ||
54ad9327 UD |
2743 | 2008-09-29 Ulrich Drepper <drepper@redhat.com> |
2744 | ||
8ec2550e UD |
2745 | * socket/Versions: Remove paccept export for GLIBC_2.9. |
2746 | * socket/Makefile (routines): Remove paccept. | |
2747 | * socket/sys/socket.h: Remove paccept declaration. | |
2748 | ||
54ad9327 UD |
2749 | * po/sv.po: Update from translation team. |
2750 | ||
1c5eba39 UD |
2751 | 2008-09-22 Deborah S. Townsend <dstownse@us.ibm.com> |
2752 | ||
2753 | * sysdeps/s390/s390-64/s390x-mcount.S: Replace ahi with aghi. | |
2754 | * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise. | |
2755 | ||
0a26fc4d UD |
2756 | 2008-09-16 Ulrich Drepper <drepper@redhat.com> |
2757 | ||
2758 | * dlfcn/dlopen.c (dlopen_doit): Allow __RTLD_SPROF flag. | |
2759 | Patch by Olivier Fourdan <ofourdan@redhat.com>. | |
2760 | ||
2bcaff08 UD |
2761 | 2008-09-15 Ulrich Drepper <drepper@redhat.com> |
2762 | ||
2763 | * sunrpc/rpc/svc.h: Declare svcfd_create. | |
2764 | Patch by Michael Solberg <msolberg@redhat.com>. | |
2765 | ||
caa60cb9 | 2766 | 2008-09-12 Flavio Leitner <fleitner@redhat.com> |
f00d47a3 | 2767 | Ulrich Drepper <drepper@redhat.com> |
caa60cb9 UD |
2768 | |
2769 | * malloc/malloc.c (public_vALLOc): Try other arenas in case | |
2770 | _int_valloc fails. | |
2771 | (public_pVALLOc): Likewise. | |
2772 | ||
6c161112 AJ |
2773 | 2008-09-02 Andreas Jaeger <aj@suse.de> |
2774 | ||
2775 | * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Fix last | |
2776 | commit. | |
2777 | ||
0cb269d7 RM |
2778 | 2008-08-26 Aurelien Jarno <aurelien@aurel32.net> |
2779 | ||
452034cc | 2780 | [BZ #6860] |
2bcaff08 | 2781 | * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Fix a typo. |
0cb269d7 | 2782 | |
13074b5b RM |
2783 | 2008-07-18 Daniel Jacobowitz <dan@codesourcery.com> |
2784 | ||
2785 | * Makefile (check-data): Check data directory in add-ons. | |
2786 | * elf/Makefile (check-data): Likewise. | |
2787 | ||
58801a0e RM |
2788 | 2008-08-18 Roland McGrath <roland@redhat.com> |
2789 | ||
2790 | * configure.in (--with-cpu): Check compiler support for -march/-mcpu. | |
2791 | * configure: Regenerated. | |
2792 | * config.make.in (cflags-cpu): New substituted variable. | |
2793 | (with-cpu): Variable removed. | |
2794 | * Makeconfig (+cflags): Use $(cflags-cpu), not $(with-cpu). | |
2795 | ||
7df49c5d UD |
2796 | 2008-08-14 Ryan S. Arnold <rsa@us.ibm.com> |
2797 | ||
2798 | [BZ #6845] | |
2799 | * sysdeps/powerpc/fpu/bits/mathinline.h (__signbitl): Copy new | |
2800 | __signbitl definition and __LONG_DOUBLE_128__ guard from: | |
2801 | * sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h: Remove as | |
2802 | redundant. Functions which call floating point assembler operations | |
2803 | should go into a sysdeps powerpc/fpu directory. | |
2804 | ||
965805e8 UD |
2805 | 2008-08-15 Ulrich Drepper <drepper@redhat.com> |
2806 | ||
2807 | * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Define MAP_STACK. | |
2808 | * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise. | |
2809 | ||
9cf73ab0 UD |
2810 | 2008-08-14 Ulrich Drepper <drepper@redhat.com> |
2811 | ||
62a1ffc6 UD |
2812 | * sysdeps/x86_64/memset.S: Reduce size of tables for PIC. |
2813 | ||
9cf73ab0 UD |
2814 | * sysdeps/unix/sysv/linux/dl-origin.c (_dl_get_origin): Undo all |
2815 | change related to AT_EXECFN. We cannot use that string. | |
2816 | * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove | |
2817 | _dl_execfn member. | |
2818 | * elf/dl-support.c: Remove _dl_execfn variable. | |
2819 | (_dl_aux_init): Remove handling of AT_EXECFN. | |
2820 | * elf/dl-sysdep.c (_dl_sysdep_start): Remove handling of AT_EXECFN. | |
2821 | * elf/rtld.c (process_envvars): Remove use of __ASSUME_AT_EXECFN. | |
2822 | ||
1bfa05cf UD |
2823 | 2008-08-13 Ulrich Drepper <drepper@redhat.com> |
2824 | ||
7b3ba2c4 UD |
2825 | [BZ #6544] |
2826 | * libio/fmemopen.c: Implement binary mode. In this mode no NUL | |
2827 | byte gets added to writes and seeks from the end use the length of | |
2828 | the buffer and not the currently terminating NUL byte. | |
2829 | ||
1bfa05cf UD |
2830 | [BZ #6634] |
2831 | * login/utmp_file.c (getutent_r_file): Take additional parameter. | |
2832 | Set to true if locking failed. | |
2833 | (getutid_r_file): Adjust caller. | |
2834 | (pututline_file): Likewise. Return NULL in this case. | |
2835 | Patch mostly by halesh.s@gmail.com. | |
2836 | ||
c5671698 UD |
2837 | 2008-08-12 Ulrich Drepper <drepper@redhat.com> |
2838 | ||
2839 | [BZ #6589] | |
2840 | * sysdeps/unix/sysv/linux/ifaddrs.c (struct sockaddr_ll_max): | |
2841 | Define. | |
2842 | (struct ifaddrs_storage): Use it instead of sockaddr_ll. | |
2843 | ||
4497384e UD |
2844 | 2008-08-12 Ryan S. Arnold <rsa@us.ibm.com> |
2845 | ||
2846 | [BZ #6839] | |
2847 | * sysdeps/powerpc/powerpc32/dl-machine.c (CHECK_STATIC_TLS): Remove | |
2848 | macro since it is now available in elf/dynamic-link.h. | |
2849 | ||
675d7111 RM |
2850 | 2008-08-12 Roland McGrath <roland@frob.com> |
2851 | ||
2852 | * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Avoid -Wparenthesis triggers, | |
2853 | in case used outside of libc. | |
2854 | Reported by Samuel Thibault <samuel.thibault@ens-lyon.org> | |
2855 | ||
8b254432 UD |
2856 | 2008-08-11 Ulrich Drepper <drepper@redhat.com> |
2857 | ||
2858 | * resolv/res_mkquery.c (res_nmkquery): Call ns_name_compress | |
2859 | directly instead of going through dn_comp. | |
2860 | ||
ac84eeca RM |
2861 | 2008-08-11 Aurelien Jarno <aurel32@debian.org> |
2862 | ||
2863 | * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock): | |
2864 | Fix asm constraints. | |
2865 | ||
f081b451 UD |
2866 | 2008-08-07 Ulrich Drepper <drepper@redhat.com> |
2867 | ||
2868 | [BZ #6790] | |
2869 | * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_PROBE): Define. | |
2870 | (IPV6_PMTUDISC_PROBE): Likewise. | |
2871 | ||
30a4429e UD |
2872 | 2008-08-07 Pete Eberlein <eberlein@us.ibm.com> |
2873 | ||
2874 | [BZ #6791] | |
2875 | * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (PROT_SAO): Define. | |
2876 | ||
1642331d | 2877 | 2008-08-01 Steven Munroe <sjmunroe@us.ibm.com> |
626f68ff | 2878 | Carlos Eduardo Seo <cseo@linux.vnet.ibm.com> |
1642331d UD |
2879 | |
2880 | [BZ #6817] | |
2881 | * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): | |
2882 | Added the members 'vsx' and 'arch_2_06'. | |
2883 | (_dl_powerpc_platforms): Add the member 'power7'. | |
2884 | * sysdeps/powerpc/dl-procinfo.h: Modify _DL_HWCAP_FIRST | |
2885 | to reflect the changes required by VSX and ISA 2.06. | |
2886 | Modify _DL_PLATFORMS_COUNT to reflect the addition of | |
2887 | 'power7'. | |
2888 | Defined PPC_PLATFORM_POWER7. | |
2889 | (_dl_string_platform): Add support for POWER7. | |
2890 | * sysdeps/powerpc/sysdep.h: Define bit masks for VSX | |
2891 | capability and ISA 2.06. | |
2892 | ||
48b94661 UD |
2893 | 2008-08-07 Ulrich Drepper <drepper@redhat.com> |
2894 | ||
2895 | [BZ #6824] | |
2896 | * sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h: Use correct | |
2897 | macro to detect use of 128 bit long double. | |
2898 | Patch by Ryan S. Arnold <rsa@us.ibm.com>. | |
2899 | ||
9523fd28 UD |
2900 | 2008-08-05 Ulrich Drepper <drepper@redhat.com> |
2901 | ||
9c0cb150 UD |
2902 | * scripts/gen-as-const.awk: Use 32-bit values on 32-bit platforms. |
2903 | ||
46aea5cb | 2904 | [BZ #5794] |
9523fd28 UD |
2905 | * sysdeps/i386/fpu/s_expm1l.S: Simply use exp implementation for large |
2906 | parameters. | |
2907 | * sysdeps/x86_64/fpu/s_expm1l.S: Likewise. | |
2908 | Patch by Denys Vlasenko <dvlasenk@redhat.com>. | |
2909 | ||
c400c931 UD |
2910 | 2008-08-03 Ulrich Drepper <drepper@redhat.com> |
2911 | ||
2912 | * nscd/connections.c (main_loop_poll): Pass a buffer which is | |
2913 | guaranteed to be large enough to read inotify event. Ignore | |
2914 | EAGAIN error. Better error message. Add branch predicition. | |
2915 | (main_loop_epoll): Likewise. | |
2916 | ||
3f39adac RM |
2917 | 2008-08-02 Roland McGrath <roland@frob.com> |
2918 | ||
2919 | * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock): | |
2920 | Add memory clobbers. | |
2921 | ||
3501542f UD |
2922 | 2008-08-02 Ulrich Drepper <drepper@redhat.com> |
2923 | ||
48b22986 UD |
2924 | * manual/arith.texi: Avoid @strong{Note:}. |
2925 | * manual/creature.texi: Likewise. | |
2926 | * manual/filesys.texi: Likewise. | |
2927 | * manual/math.texi: Likewise. | |
2928 | * manual/memory.texi: Likewise. | |
2929 | * manual/resource.texi: Likewise. | |
2930 | * manual/syslog.texi: Likewise. | |
2931 | * manual/time.texi: Likewise. | |
2932 | ||
3501542f UD |
2933 | * sysdeps/posix/clock_getres.c (hp_timing_getres): Remove inline |
2934 | to prevent warning. | |
2935 | ||
17756df3 UD |
2936 | 2008-08-01 Ulrich Drepper <drepper@redhat.com> |
2937 | ||
ebcc1f4d UD |
2938 | * sysdeps/unix/sysv/linux/Versions: Fix changes due to old patch for |
2939 | new epoll_create1 interface. | |
2940 | * sysdeps/unix/sysv/linux/syscalls.list: Likewise. | |
2941 | * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise. | |
2942 | * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise. | |
2943 | ||
144bfa86 UD |
2944 | * include/arpa/nameser.h (NS_GET16): Use const pointer. |
2945 | (NS_GET32): Likewise. | |
2946 | ||
7e1b29c6 UD |
2947 | * sysdeps/unix/sysv/linux/kernel-features.h: s390 has the new |
2948 | syscalls, too. | |
2949 | ||
42fa1f67 UD |
2950 | * sysdeps/unix/sysv/linux/dl-origin.c (_dl_get_origin): We cannot |
2951 | use the AT_EXECFN value if it is no absolute path. | |
2952 | * sysdeps/unix/sysv/linux/kernel-features.h: Never define | |
2953 | __ASSUME_AT_EXECFN. | |
2954 | ||
cd5743fd UD |
2955 | * Versions.def: Add GLIBC_2.9 to libresolv. |
2956 | * include/resolv.h: Remove hidden proto declarations for __ns_* | |
2957 | functions. Add them for __dn_count_labels and __p_secstodate. | |
2958 | * include/arpa/nameser.h: Add a number of hidden proto declarations. | |
2959 | Define ns_msg_getflags macro here. | |
2960 | * resolv/res_debug.c: Add hidden definition for __dn_count_labels | |
2961 | and __p_secstodate. | |
2962 | * resolv/Versions: Export functions from <arpa/nameser.h> from | |
2963 | libresolv in version GLIBC_2.9. | |
2964 | * resolv/ns_name.c: Integrate changes from bind 9.5.0. Add necessary | |
2965 | hidden definitions. | |
2966 | * resolv/ns_netint.c: Likewise. | |
2967 | * resolv/ns_parse.c: Likewise. | |
2968 | * resolv/ns_print.c: Likewise. | |
2969 | * resolv/ns_samedomain.c: Likewise. | |
2970 | * resolv/ns_ttl.c: Likewise. | |
2971 | * resolv/arpa/nameser_compat.h: Likewise. | |
2972 | * resolv/arpa/nameser.h: Likewise. Remove macros which redirect | |
2973 | function calls. | |
2974 | * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Use __ns_get16 | |
2975 | instead of ns_get16. | |
2976 | * resolv/nss_dns/dns-host.c (getanswer_r): Use __ns_get16 and | |
2977 | __ns_get32 instead of ns_get16 and ns_get32 respectively. | |
2978 | (gaih_getanswer_slice): Likewise. | |
2979 | * resolv/Makefile (libresolv-routines): Add ns_date. | |
2980 | * resolv/ns_date.c: New file. | |
2981 | ||
17756df3 UD |
2982 | * elf/Makefile (check-localplt.out): Also check libresolv and |
2983 | libcrypt. | |
2984 | ||
46bc5d43 UD |
2985 | 2008-07-31 Ulrich Drepper <drepper@redhat.com> |
2986 | ||
2987 | * sysdeps/unix/sysv/linux/kernel-features.h: Define | |
2988 | __ASSUME_O_CLOEXEC. | |
2989 | ||
a707cff6 UD |
2990 | 2008-07-30 Ulrich Drepper <drepper@redhat.com> |
2991 | ||
3c227386 UD |
2992 | * sysdeps/posix/getaddrinfo.c (gaih_inet): Raise size of initial |
2993 | buffer passed to NSS functions. | |
2994 | ||
9523fd28 | 2995 | * nscd/connections.c (nscd_init): Typo in preprocessor directive. |
bd7f4857 UD |
2996 | |
2997 | * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PACCEPT): | |
2998 | Define. | |
2999 | ||
a707cff6 UD |
3000 | * misc/syslog.c (openlog_internal): Fix compile problem. |
3001 | ||
0424d007 RM |
3002 | 2008-07-28 Roland McGrath <roland@redhat.com> |
3003 | ||
3004 | * elf/dl-sysdep.c (_dl_show_auxv): Add AT_EXECFN to the table. | |
3005 | ||
b7da31a1 UD |
3006 | 2008-07-28 Ulrich Drepper <drepper@redhat.com> |
3007 | ||
300ea0ad UD |
3008 | * io/ftw.c (add_object): Remove inline to avoid warning. |
3009 | ||
d6173baa UD |
3010 | * sysdeps/unix/sysv/linux/paccept.c: Fix compile problem. |
3011 | ||
b7da31a1 UD |
3012 | * resolv/res_send.c (__libc_res_nsend): Take additional parameter. |
3013 | Use it instead of locally defined resplen2 variable. | |
3014 | (res_nsend): Adjust for __libc_res_nsend interface change. | |
3015 | (send_vc): Initialize *resplen2 if necessary. Read length of | |
3016 | package into an appropriately aligned variable. Store converted length | |
3017 | in new variable and use it appropriately. | |
3018 | Add branch prediction help. | |
3019 | * resolv/res_query.c (__libc_res_nquery): Take additional parameter | |
3020 | and pass it on to __libc_res_nsend. Adjust all callers. | |
3021 | (__libc_res_nsearch): Likewise. | |
3022 | (__libc_res_nqeurydomain): Likewise. | |
3023 | * resolv/nss_dns/dns-host.c: Adjust for __libc_res_nsearch interface | |
3024 | change. | |
3025 | (_nss_dns_gethostbyname4): Don't unconditionally allocate tmp array. | |
3026 | Define resplen2 variable and pass it to __libc_res_nsearch and then | |
3027 | to gaih_getanswer. | |
3028 | (getanswer_r): In case of incorrect DNS data don't overread buffer. | |
3029 | Add branch prediction. | |
3030 | (gaih_getanswer_slice): Likewise. Check for invalid data types. | |
3031 | (gaih_getanswer): Don't decode second slice if first one failed due | |
3032 | to a too small buffer. Don't let not found status of second | |
3033 | decoder shadow results of the first. | |
3034 | * resolv/gethnamaddr.c (gethostbyname2): Adjust for __libc_res_nsearch | |
3035 | and __libc_res_nquery interface changes | |
3036 | (gethostbyaddr): Adjust for __libc_res_nquery interface change. | |
3037 | * include/resolv.h: Adjust prototypes for __libc_res_nquery, | |
3038 | __libc_res_nsearch, and __libc_res_nsend. | |
3039 | * resolv/nss_dns/dns-canon.c: Adjust for __libc_res_nquery interface | |
3040 | change. | |
3041 | * resolv/nss_dns/dns-network.c: Adjust for __libc_res_nquery and | |
3042 | __libc_res_nsearch interface changes. | |
3043 | ||
11ed3eae UD |
3044 | 2008-07-27 Ulrich Drepper <drepper@redhat.com> |
3045 | ||
372aece0 UD |
3046 | * libio/iopopen.c (_IO_new_proc_open): Remove unnecessary volatile. |
3047 | ||
e038616f UD |
3048 | * posix/wordexp.c (exec_comm): Use pipe2 if possible to create |
3049 | file descriptors with close-on-exec set. | |
3050 | (exec_comm_child): Fix the case where the write end of the pipe is | |
3051 | STDOUT_FILENO already. In case it is, clear close-on-exec. | |
3052 | ||
d6e0c2a6 UD |
3053 | * sysdeps/unix/sysv/linux/syscalls.list: Add __pipe2 alias. |
3054 | * io/pipe2.c: Likewise. | |
3055 | * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PIPE2 | |
3056 | instead of __ASSUME_PACCEPT. | |
3057 | * include/unistd.h: Declare __have_pipe2. | |
3058 | * libio/iopopen.c: Implement "e" flag. | |
3059 | * libio/Makefile (tests): Add tst-popen1. | |
3060 | * libio/tst-popen1.c: New file. | |
3061 | ||
11ed3eae UD |
3062 | * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_ISDN and AF_ISDN. |
3063 | * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise. | |
3064 | ||
7438a80d UD |
3065 | 2008-07-26 Ulrich Drepper <drepper@redhat.com> |
3066 | ||
c4a710b6 UD |
3067 | [BZ #6771] |
3068 | * libio/fileops.c (_IO_new_file_attach): Preserve errno around | |
3069 | success call of _IO_SEEKOFF or calls which failed because the | |
3070 | descriptor is for a pipe. | |
3071 | ||
31f3b159 UD |
3072 | * sunrpc/key_call.c (getkeyserv_handle): Use FD_CLOEXEC instead of |
3073 | magic number. | |
3074 | ||
c0216dfc UD |
3075 | * misc/syslog.c (openlog_internal): Use SOCK_CLOEXEC if possible. |
3076 | ||
72112b0c UD |
3077 | * malloc/mtrace.c (mtrace): Use 'e' flag in fopen call. Drop |
3078 | F_SETFD use if we know fopen set the flag. | |
3079 | ||
7438a80d UD |
3080 | * login/utmp_file.c (setutent_file): Minor optimization in case |
3081 | O_CLOEXEC is available. | |
3082 | ||
7b91359b UD |
3083 | 2008-07-24 Tom "spot" Callaway <tcallawa@redhat.com> |
3084 | ||
3085 | * Makeconfig: Define pie-ccflag and PIE-ccflag variables. | |
3086 | * elf/Makefile: Use pie-ccflag variable. | |
3087 | * nscd/Makefile: Likewise. | |
3088 | * sysdeps/sparc/Makefile: Set $(pie-ccflag) to -fPIE. | |
3089 | ||
4057dc45 UD |
3090 | 2008-07-21 Andreas Krebbel <krebbel1@de.ibm.com> |
3091 | ||
e7135e24 | 3092 | [BZ #6724] |
4057dc45 UD |
3093 | * Versions.def: Add GLIBC_2.9 version tag for libutil. |
3094 | * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Copy of | |
3095 | gnu/bits/utmp.h. Check for __WORDSIZE_COMPAT32 removed. | |
3096 | * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Copy of | |
3097 | gnu/bits/utmpx.h. Check for __WORDSIZE_COMPAT32 removed. | |
3098 | * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add new files | |
3099 | utmp32, utmpx32 and login32. | |
3100 | * sysdeps/unix/sysv/linux/s390/s390-32/Versions: Add 2.9 | |
3101 | versions of struct utmp functions to libc and libutil. | |
3102 | * sysdeps/unix/sysv/linux/s390/s390-32/utmp-compat.h: New file. | |
3103 | * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c: New file. | |
3104 | * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: New file. | |
3105 | * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c: New file. | |
3106 | * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: New file. | |
3107 | * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c: New file. | |
3108 | * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: New file. | |
3109 | * sysdeps/unix/sysv/linux/s390/s390-32/getutmp.c: New file. | |
3110 | * sysdeps/unix/sysv/linux/s390/s390-32/getutxent.c: New file. | |
3111 | * sysdeps/unix/sysv/linux/s390/s390-32/getutxid.c: New file. | |
3112 | * sysdeps/unix/sysv/linux/s390/s390-32/getutxline.c: New file. | |
3113 | * sysdeps/unix/sysv/linux/s390/s390-32/login.c: New file. | |
3114 | * sysdeps/unix/sysv/linux/s390/s390-32/login32.c: New file. | |
3115 | * sysdeps/unix/sysv/linux/s390/s390-32/pututxline.c: New file. | |
3116 | * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c: New file. | |
3117 | * sysdeps/unix/sysv/linux/s390/s390-32/updwtmpx.c: New file. | |
3118 | * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: New file. | |
3119 | * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.c: New file. | |
3120 | * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: New file. | |
3121 | * sysdeps/unix/sysv/linux/s390/s390-32/utmpx-convert.h: New file. | |
3122 | * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.c: New file. | |
3123 | * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: New file. | |
3124 | ||
ff0bf753 UD |
3125 | 2008-07-26 Ulrich Drepper <drepper@redhat.com> |
3126 | ||
619cc2f6 UD |
3127 | * scripts/gen-as-const.awk: Generate more widely usable code by |
3128 | using 64-bit arithmetic. | |
3129 | ||
1311b164 | 3130 | * stdio-common/printf_fp.c (___printf_fp): Give wide outout code |
3f414923 | 3131 | the same treatment as narrow output code in last patch. |
1311b164 | 3132 | |
ff0bf753 UD |
3133 | * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Namespace cleanup. |
3134 | ||
3f414923 | 3135 | [BZ #6763] |
ff0bf753 UD |
3136 | * elf/dl-load.c (local_strdup): Remove inline. |
3137 | (_dl_map_object_from_fd): Don't allocate l_symbolic_searchlist.r_list. | |
3138 | * elf/dl-object.c (_dl_new_object): Allocate symbolic searchlist as | |
3139 | part of the object. | |
3140 | ||
3141 | * sysdeps/unix/sysv/linux/dl-origin.c: Add const to avoid warning. | |
3142 | ||
8ccf22f9 UD |
3143 | 2008-07-25 Ulrich Drepper <drepper@redhat.com> |
3144 | ||
bdd24a30 UD |
3145 | * sysdeps/unix/sysv/linux/kernel-features.h: IA-64 and SPARC have |
3146 | the new syscalls, too. | |
b5c0b5e4 | 3147 | |
b41f1d14 UD |
3148 | * sysdeps/i386/i686/memcmp.S: Fix unwind information. |
3149 | Reported by Paul Pluzhnikov <ppluzhnikov@google.com>. | |
3150 | ||
3703468e UD |
3151 | [BZ #6698] |
3152 | * stdio-common/_i18n_number.h (_i18n_number_rewrite): Take additional | |
3153 | parameter for end of buffer. If temporary copy is too large use | |
3154 | malloc. | |
3155 | * stdio-common/vfprintf.c: Adjust for _i18n_number_rewrite | |
3156 | interface change. | |
3157 | * stdio-common/printf_fp.c (__printf_fp): Likewise.. Account for | |
3158 | string rewrite when allocating buffer. | |
3159 | ||
bb0277bf UD |
3160 | * sysdeps/unix/sysv/linux/kernel-features.h: PPC has the new |
3161 | syscalls, too. | |
3162 | ||
9dd84772 UD |
3163 | * nscd/connections.c (nscd_init): Clean up fcntl call. |
3164 | ||
c418b1ba UD |
3165 | * nscd/nscd_helper.c (open_socket): Use SOCK_CLOEXEC and |
3166 | SOCK_NONBLOCK if possible. | |
3167 | ||
b206d8b1 UD |
3168 | * sysdeps/unix/sysv/linux/opensock.c (__opensock): Use |
3169 | SOCK_CLOEXEC if available. | |
3170 | ||
8ccf22f9 UD |
3171 | * include/rpc/clnt.h: Declare __libc_clntudp_bufcreate and |
3172 | __libc_clntudp_bufcreate_internal. | |
3173 | * include/sys/socket.h: Declare __have_sock_cloexec. | |
3174 | * socket/Makefile (aux): Add have_sock_cloexec. | |
3175 | * socket/have_sock_cloexec.c: New file. | |
3176 | * sunrpc/clnt_udp.h (clntudp_bufcreate): Now a wrapper around | |
3177 | __libc_clntudp_bufcreate. | |
3178 | (__libc_clntudp_bufcreate): Former implementation of clntudp_bufcreate | |
3179 | which takes an additional parameter. Create socket with non-blocking | |
3180 | mode and close-on-exec flag set, if wanted. | |
3181 | * sunrpc/Versions: Export __libc_clntudp_bufcreate@GLIBC_PRIVATE. | |
3182 | * nis/ypclnt.c (yp_bind_client_create): Use __libc_clntpudp_bufcreate | |
3183 | instead of clntudp_create. The socket has already the close-on-exec | |
3184 | flag set if SOCK_CLOEXEC is defined. | |
3185 | ||
579cdf5a UD |
3186 | 2008-07-24 Ulrich Drepper <drepper@redhat.com> |
3187 | ||
3ff2c948 UD |
3188 | * sysdeps/unix/sysv/linux/kernel-features.h: Define |
3189 | __ASSUME_PACCEPT, __ASSUME_IN_NONBLOCK, and __ASSUME_PACCEPT if | |
3190 | appropriate. | |
3191 | * nscd/connections.c: Avoid fcntl calls to set close-on-exec flag and | |
3192 | non-blocking mode by using socket, paccept, and inotify_init1. | |
3193 | ||
bdcebfc4 UD |
3194 | * Versions.def (glibc): Add GLIBC_2.9. |
3195 | * io/Makefile (routines): Add dup3 and pipe2. | |
3196 | * io/Versions [glibc] (GLIBC_2.9): Add dup3 and pipe2. | |
3197 | * io/dup3.c: New file. | |
3198 | * io/pipe2.c: New file. | |
3199 | * posix/unistd.h: Declare dup3 and pipe2. | |
3200 | * socket/Makefile (routines): Add paccept. | |
3201 | * socket/Versions [glibc] (GLIBC_2.9): Add paccept. | |
3202 | * socket/paccept.c: New file. | |
3203 | * socket/sys/socket.h: Declare paccept. | |
3204 | * sysdeps/unix/syscalls.list: Add entry for dup3. | |
3205 | * sysdeps/unix/sysv/linux/Versions [glibc] (GLIBC_2.9): Add | |
3206 | epoll_create2 and inotify_init1. | |
3207 | * sysdeps/unix/sysv/linux/eventfd.c: Use eventfd1 syscall if possible. | |
3208 | * sysdeps/unix/sysv/linux/paccept.c: New file. | |
3209 | * sysdeps/unix/sysv/linux/signalfd.c: Use signalfd4 syscall if | |
3210 | possible. | |
3211 | * sysdeps/unix/sysv/linux/socketcall.h: Add SOCKOP_paccept. | |
3212 | * sysdeps/unix/sysv/linux/syscalls.list: Add epoll_create2, | |
3213 | inotify_init1, and pipe2 entries. | |
3214 | * sysdeps/unix/sysv/linux/alpha/sys/epoll.h: New file. | |
3215 | * sysdeps/unix/sysv/linux/alpha/sys/eventfd.h: New file. | |
3216 | * sysdeps/unix/sysv/linux/alpha/sys/inotify.h: New file. | |
3217 | * sysdeps/unix/sysv/linux/alpha/sys/signalfd.h: New file. | |
3218 | * sysdeps/unix/sysv/linux/alpha/sys/timerfd.h: New file. | |
3219 | * sysdeps/unix/sysv/linux/bits/socket.h: Define SOCK_CLOEXEC and | |
3220 | SOCK_NONBLOCK. | |
3221 | * sysdeps/unix/sysv/linux/i386/paccept.S: New file. | |
3222 | * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: New file. | |
3223 | * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: New file. | |
3224 | * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: New file. | |
3225 | * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: New file. | |
3226 | * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: New file. | |
3227 | * sysdeps/unix/sysv/linux/sparc/bits/socket.h: New file. | |
3228 | * sysdeps/unix/sysv/linux/sys/epoll.h: Define EPOLL_CLOEXEC and | |
3229 | EPOLL_NONBLOCK. Declare epoll_create2. | |
3230 | * sysdeps/unix/sysv/linux/sys/eventfd.h: Define EFD_CLOEXEC and | |
3231 | EFD_NONBLOCK. | |
3232 | * sysdeps/unix/sysv/linux/sys/inotify.h: Define IN_CLOEXEC and | |
3233 | IN_NONBLOCK. Declare inotify_init1. | |
3234 | * sysdeps/unix/sysv/linux/sys/signalfd.h: Define SFD_CLOEXEC and | |
3235 | SFD_NONBLOCK. | |
3236 | * sysdeps/unix/sysv/linux/sys/timerfd.h: Define TFD_CLOEXEC and | |
3237 | TFD_NONBLOCK. | |
3238 | ||
0e077a7e UD |
3239 | * elf/elf.h: Define AT_EXECFN. |
3240 | * elf/rtld.c [!__ASSUME_AT_EXECFN] (process_envvars): Don't handle | |
3241 | LD_ORIGIN_PATH. | |
3242 | * elf/dl-sysdep.c (_dl_sysdep_start): Handle AT_EXECFN. | |
3243 | * elf/dl-support.c: Define _dl_execfn. Don't define _dl_origin_path | |
3244 | if __ASSUME_AT_EXECFN is defined. | |
3245 | (_dl_aux_init): Handle AT_EXECFN. | |
3246 | * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_AT_EXECFN | |
3247 | for 2.6.27 and up. | |
3248 | * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_execfn. | |
3249 | Don't define _dl_origin_path if __ASSUME_AT_EXECFN is defined. | |
3250 | * sysdeps/unix/sysv/linux/dl-origin.c (_dl_get_origin): Use | |
3251 | _dl_execfn if available and avoid compatibility code if | |
3252 | __ASSUME_AT_EXECFN is defined. | |
3253 | ||
579cdf5a UD |
3254 | * sysdeps/unix/sysv/linux/dl-sysdep.h: Don't declare |
3255 | _dl_discover_osversion only for older kernels. | |
3256 | ||
7385c04c RM |
3257 | 2008-07-22 Roland McGrath <roland@frob.com> |
3258 | ||
3259 | * hurd/fd-read.c (_hurd_fd_read): Fix last change. | |
3260 | ||
8a26088d RM |
3261 | 2008-07-21 Roland McGrath <roland@frob.com> |
3262 | ||
3263 | * hurd/fd-read.c (_hurd_fd_read): Return EGRATUITOUS if the server | |
3264 | returned too much data out of line. | |
3265 | ||
9f558b80 UD |
3266 | 2008-07-20 Ulrich Drepper <drepper@redhat.com> |
3267 | ||
2e79213a UD |
3268 | * locale/setlocale.c (setname): Remove inline to avoid compiler |
3269 | warning. | |
3270 | ||
579cdf5a | 3271 | [BZ #6712] |
9f558b80 UD |
3272 | * locale/setlocale.c (setlocale): Take the setlocale lock earlier. |
3273 | ||
9667f97d UD |
3274 | 2008-07-15 Ulrich Drepper <drepper@redhat.com> |
3275 | ||
2486b496 UD |
3276 | * stdio-common/vfprintf.c (_IO_helper_overflow): In case _IO_sputn |
3277 | doesn't manage to write anything, fail. | |
3278 | ||
9667f97d UD |
3279 | * malloc/hooks.c (__malloc_check_init): Remove printf. |
3280 | ||
6d4c073b RM |
3281 | 2008-07-14 Samuel Thibault <samuel.thibault@ens-lyon.org> |
3282 | ||
3283 | * sysdeps/mach/hurd/bits/fcntl.h: Include <sys/types.h>. | |
3284 | ||
b7432416 UD |
3285 | 2008-07-12 Ulrich Drepper <drepper@redhat.com> |
3286 | ||
3287 | * nscd/connections.c (main_loop_poll): Fix handling of read errors | |
3288 | from inotify. | |
3289 | (main_loop_epoll): Likewise. | |
3290 | ||
44abc397 UD |
3291 | 2008-07-09 Ulrich Drepper <drepper@redhat.com> |
3292 | ||
835113c6 UD |
3293 | * resolv/res_send.c: Remove unnecessary res_pquery prototype. |
3294 | ||
fdc769f6 UD |
3295 | * resolv/res_query.c (__libc_res_nquery): Issue debug message only |
3296 | if DEBUG is defined. | |
3297 | ||
44abc397 UD |
3298 | * resolv/res_query.c (__libc_res_nquery): Align buffer for T_AAAA |
3299 | query. Adjust buffer size computation for padding. | |
3300 | ||
38dc8fad UD |
3301 | 2008-07-08 Ulrich Drepper <drepper@redhat.com> |
3302 | ||
75684bd7 UD |
3303 | * stdio-common/Makefile: Add rules to build and run tst-setvbuf1. |
3304 | * stdio-common/tst-setvbuf1.c: New file. | |
3305 | * stdio-common/tst-setvbuf1.expect: New file. | |
3306 | ||
38dc8fad UD |
3307 | [BZ #6719] |
3308 | * libio/iosetvbuf.c (_IO_setvbuf): Correctly clear buffering flags | |
3309 | when selecting fully-buffered stream. | |
3310 | Patch by Wang Xin <wxinee@gmail.com>. | |
3311 | ||
107f4ac2 RM |
3312 | 2008-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org> |
3313 | ||
3314 | * sysdeps/mach/hurd/open.c: Include <stdio.h>. | |
3315 | (__open_2): New function. | |
3316 | (__open64_2): New alias to __open_2. | |
3317 | * sysdeps/mach/hurd/openat.c: Include <stdio.h>. | |
3318 | (__openat_2): New function. | |
3319 | (__openat64_2): New alias to __openat_2. | |
3320 | ||
45ec3e79 UD |
3321 | 2008-07-06 Ulrich Drepper <drepper@redhat.com> |
3322 | ||
3323 | [BZ #6723] | |
3324 | * time/mktime.c (__mktime_internal): Normalize tp->tm_isdst value. | |
3325 | ||
0a583b54 RM |
3326 | 2008-07-01 Samuel Thibault <samuel.thibault@ens-lyon.org> |
3327 | ||
3328 | * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Define MSG_NOSIGNAL. | |
3329 | * hurd/hurd/fd.h (__hurd_sockfail): Add extern inline function. | |
3330 | * sysdeps/mach/hurd/recv.c (__recv): Use __hurd_sockfail instead of | |
3331 | __hurd_dfail. | |
3332 | * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise. | |
3333 | * sysdeps/mach/hurd/recvmsg.c (__recvmsg): Likewise. | |
3334 | * sysdeps/mach/hurd/send.c (__send): Likewise. | |
3335 | * sysdeps/mach/hurd/sendto.c (__sendfrom): Likewise. | |
3336 | * sysdeps/mach/hurd/sendmsg.c (__sendmsg): Likewise. | |
3337 | ||
d5a0160b RM |
3338 | 2008-03-04 Samuel Thibault <samuel.thibault@ens-lyon.org> |
3339 | ||
3340 | * sysdeps/mach/hurd/recv.c (__recv): Initialize NPORTS. | |
3341 | * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise. | |
3342 | * sysdeps/mach/hurd/recvmsg.c (__recvmsg): Likewise. | |
3343 | * hurd/fd-read.c (_hurd_fd_read): Initialize NREAD. | |
3344 | * hurd/get-host.c (_hurd_get_host_config): Likewise. | |
3345 | * sysdeps/mach/hurd/dl-sysdep.c (__libc_read): Likewise. | |
3346 | ||
80922a99 UD |
3347 | 2008-06-27 Ulrich Drepper <drepper@redhat.com> |
3348 | ||
3349 | [BZ #6657] | |
3350 | * time/strptime_l.c: Don't clear s.era_cnt after successful match | |
3351 | of %EY. | |
3352 | Patch by Petr Baudis. | |
3353 | ||
34ca2ff7 UD |
3354 | 2008-06-26 Ulrich Drepper <drepper@redhat.com> |
3355 | ||
5ee0f5e2 | 3356 | * resolv/res_debug.c (__p_type_syms): Add ns_t_dname entry. |
34ca2ff7 UD |
3357 | Patch by Peter Jones <pjones@redhat.com>. |
3358 | ||
104426b6 UD |
3359 | 2008-06-25 Ulrich Drepper <drepper@redhat.com> |
3360 | ||
3361 | [BZ #6654] | |
3362 | * stdlib/canonicalize.c (__realpath): readlink can write too much | |
3363 | into the buffer on platforms without PATH_MAX. | |
3364 | ||
7166d23f UD |
3365 | 2008-06-17 Carlos O'Donell <carlos@codesourcery.com> |
3366 | ||
4cb8e687 | 3367 | [BZ #6653] |
7166d23f UD |
3368 | * posix/tst-regex.c (main): Rename to... |
3369 | (do_test): ... this. Remove cmdline option processing. | |
3370 | (TIMEOUT): Define. | |
3371 | (TEST_FUNCTION): Define. | |
3372 | (CMDLINE_OPTIONS): Define. | |
3373 | ||
974069d8 UD |
3374 | 2008-06-25 Ulrich Drepper <drepper@redhat.com> |
3375 | ||
3376 | [BZ #5210] | |
3377 | * configure.in: Add -Werror to -fstack-protector test to catch | |
3378 | unsupported architectures. | |
3379 | Patch by Gilles Esponasse <g.esp@free.fr>. | |
3380 | ||
cefa2dd3 UD |
3381 | 2008-06-17 Joseph Myers <joseph@codesourcery.com> |
3382 | ||
3383 | * stdlib/tst-setcontext.c: Set back_in_main before exit if | |
3384 | getcontext returns ENOSYS. | |
3385 | ||
c00d1128 UD |
3386 | 2008-06-18 Ulrich Drepper <drepper@redhat.com> |
3387 | ||
3388 | * nscd/connections.c (main_loop_poll): Fix test for read error. | |
3389 | (main_loop_epoll): Likewise. | |
3390 | ||
a0edbb48 UD |
3391 | 2008-06-13 Ulrich Drepper <drepper@redhat.com> |
3392 | ||
d0a1ae94 UD |
3393 | * sysdeps/posix/getaddrinfo.c: Move _res_hconf_init call to a |
3394 | better place so it is not called when nscd is used. | |
3395 | ||
a0edbb48 UD |
3396 | * nscd/connections.c: Also recognize and handle changes to the |
3397 | resolver configuration file. | |
3398 | ||
46f70b3c UD |
3399 | 2008-06-12 Ulrich Drepper <drepper@redhat.com> |
3400 | ||
5bcc6c0f UD |
3401 | * time/strftime.c: Pass reference to tzset_called around to handle |
3402 | recursive calls. | |
3403 | ||
3404 | [BZ #6612] | |
3405 | * time/strftime.c (__strftime_internal): Call tzset() only | |
3406 | when printing timezone-dependent values. | |
3407 | Based on a patch by Petr Baudis <pasky@suse.cz>. | |
3408 | ||
f854efd7 UD |
3409 | * resolv/nss_dns/dns-host.c (gaih_getanswer): Don't |
3410 | unconditionally use second gaih_getanswer_slice result. | |
3411 | ||
46f70b3c UD |
3412 | * sysdeps/posix/getaddrinfo.c (gai_inet): Remove unnecessary test. |
3413 | (getaddrinfo): RES must always be non-NULL. | |
3414 | ||
9ea8bfec UD |
3415 | 2008-06-12 Jakub Jelinek <jakub@redhat.com> |
3416 | ||
3417 | * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Avoid using | |
3418 | cr[34] registers. | |
3419 | * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf): Likewise. | |
3420 | * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround): | |
3421 | Likewise. | |
3422 | * sysdeps/powerpc/powerpc32/fpu/s_lround.S (__lround): Avoid using cr3 | |
3423 | register. | |
3424 | ||
5a337776 UD |
3425 | 2008-06-12 Ulrich Drepper <drepper@redhat.com> |
3426 | ||
5228ba2f UD |
3427 | * nscd/nscd.h (struct database_dyn): Add inotify_descr and clear_cache |
3428 | fields. | |
3429 | * nscd/connections.c (inotify_fd): New variable. | |
3430 | (nscd_init): Try to open an inotify descriptor. | |
3431 | If successful, watch files for databases using inotify instead of | |
3432 | having prune threads stat the files. | |
3433 | (nscd_run_prune): Recognize clear_cache flag being set and call | |
3434 | prune_cache appropriately. | |
3435 | (main_loop_poll): Add inotify descriptor to wait set and handle the | |
3436 | reported changes. | |
3437 | (main_loop_epoll): Likewise. | |
3438 | * nscd/cache.c (prune_cache): Don't stat files for databases if | |
3439 | inotify is used. | |
3440 | * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] | |
3441 | (CFLAGS-connections.c): Add -DHAVE_INOTIFY. | |
3442 | ||
5a337776 UD |
3443 | * nscd/grpcache.c (cache_addgr): Correctly compute size of |
3444 | fixed-size portion of the record. | |
3445 | * nscd/servicescache.c (cache_addserv): Likewise. | |
3446 | * nscd/pwdcache.c (cache_addpw): Likewise. | |
3447 | * nscd/initgrcache.c (addinitgroupsX): Likewise. | |
3448 | ||
9ad58cc3 UD |
3449 | 2008-06-11 Ulrich Drepper <drepper@redhat.com> |
3450 | ||
3451 | * nscd/mem.c (gc): Initialize obstack earlier so that if we jump | |
3452 | out we don't use uninitialized memory. | |
3453 | ||
3454 | * nscd/hstcache.c (cache_addhst): Send correct number of bytes to | |
3455 | the client. | |
3456 | ||
c1283552 UD |
3457 | 2008-06-10 Ulrich Drepper <drepper@redhat.com> |
3458 | ||
3459 | * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Also log and | |
3460 | ignore T_DNAME messages. | |
3461 | * resolv/arpa/nameser_compat.h (T_DNAME): Define. | |
3462 | ||
eef8a803 JJ |
3463 | 2008-06-05 Jakub Jelinek <jakub@redhat.com> |
3464 | ||
3465 | * misc/regexp.h (compile): Use __REPB_PREFIX macro. | |
3466 | Avoid segfault if first GETC returns eof/'\0'/'\n'. | |
3467 | ||
ee78670e JJ |
3468 | 2008-06-03 Jakub Jelinek <jakub@redhat.com> |
3469 | ||
3470 | * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Pass cp | |
3471 | instead of portstr to nscd_getserv_r. Patch by | |
3472 | Roman Kagan <rkagan@mail.ru>. | |
3473 | ||
62605cbf UD |
3474 | 2008-05-26 Jim Meyering <meyering@redhat.com> |
3475 | ||
10966640 | 3476 | Remove more useless "if" tests before "free". |
62605cbf UD |
3477 | * include/inline-hashtab.h (htab_delete): Likewise. |
3478 | * libio/freopen.c (freopen): Likewise. | |
3479 | * libio/freopen64.c (freopen64): Likewise. | |
3480 | * locale/programs/ld-collate.c (collate_read): Likewise. | |
3481 | * misc/fstab.c (libc_freeres_fn): Likewise. | |
3482 | * posix/glob.c (globfree): Likewise. | |
3483 | ||
f63abf58 UD |
3484 | 2008-05-24 Ulrich Drepper <drepper@redhat.com> |
3485 | ||
3486 | * string/Makefile (strop-tests): Add memmem. | |
3487 | * string/test-memmem.c: New file. | |
3488 | * string/test-string.h (BUF1PAGES): Define to 1 if undefined. | |
3489 | (test_init): Size buf1 according to BUF1PAGES. | |
3490 | ||
ad8a5511 JJ |
3491 | 2008-05-24 Jakub Jelinek <jakub@redhat.com> |
3492 | ||
3493 | * libio/stdio.h (vscanf): Fix -std=c99 redirect. | |
3494 | * stdio-common/Makefile (tests): Add scanf16 and scanf17. | |
3495 | (CFLAGS-scanf17.c): New. | |
3496 | * stdio-common/scanf14.c (main): Add fscanf and scanf tests. | |
3497 | * stdio-common/scanf15.c (main): Likewise. | |
f63abf58 UD |
3498 | * stdio-common/scanf16.c: New file. |
3499 | * stdio-common/scanf17.c: New file. | |
ad8a5511 | 3500 | |
e2003883 UD |
3501 | 2008-05-24 Ulrich Drepper <drepper@redhat.com> |
3502 | ||
3503 | * resolv/res_send.c (send_dg): If we already have one of two | |
b5ba2c79 | 3504 | answers and the server reports SERVFAIL, NOTIMP, or REFUSED, then |
e2003883 UD |
3505 | use the one answer insted of failing. |
3506 | ||
acbb9873 UD |
3507 | 2008-02-20 Ryan S. Arnold <rsa@us.ibm.com> |
3508 | ||
3509 | * math/libm-test.inc (exp_test): Exclude expl(1000.0L) from | |
3510 | being executed on PowerPC as the expected result exceeds IBM | |
3511 | long double 128 __LDBL_MAX__. | |
3512 | ||
e85f1d6a RM |
3513 | 2008-05-21 Roland McGrath <roland@redhat.com> |
3514 | ||
3515 | * shlib-versions (sparc.*-.*-.*, sparc64.*-.*-.*): Add ABI lines. | |
3516 | ||
3517 | * Makefile (check-data): Use $(abi-name) before other guesses. | |
3518 | Look in $(add-ons) dirs before scripts/data/. | |
3519 | * elf/Makefile (check-data): Likewise. | |
3520 | ||
3521 | * scripts/soversions.awk: Grok ABI line. | |
3522 | * Makeconfig ($(common-objpfx)soversions.mk): Likewise. | |
3523 | Emit definition for abi-name variable. | |
3524 | ||
d8e763c6 UD |
3525 | 2008-05-21 Ulrich Drepper <drepper@redhat.com> |
3526 | ||
e92799fc | 3527 | * string/endian.h: Define new fixed-size hto* and *toh macros only |
e85f1d6a | 3528 | if [__USE_BSD]. |
e92799fc | 3529 | |
d8e763c6 UD |
3530 | * iconvdata/Depend: Add localedata. |
3531 | ||
009ef333 RM |
3532 | 2008-05-21 Samuel Thibault <samuel.thibault@ens-lyon.org> |
3533 | ||
3534 | * bits/termios.h (ONLCR): Define under [__USE_XOPEN] too. | |
3535 | ||
86746abb JJ |
3536 | 2008-05-08 David S. Miller <davem@davemloft.net> |
3537 | ||
3538 | * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S: Use | |
3539 | HIDDEN_JUMPTARGET. | |
3540 | * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h | |
3541 | (__SYSCALL_CLOBBERS): Remove %g* registers. | |
3542 | * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h | |
3543 | (__SYSCALL_CLOBBERS): Likewise. | |
3544 | * scripts/data/localplt-sparc-linux-gnu.data: New file. | |
f63abf58 | 3545 | * scripts/data/localplt-sparc64-linux-gnu.data: New file. |
86746abb | 3546 | |
5e6f34c2 JJ |
3547 | 2008-05-21 Jakub Jelinek <jakub@redhat.com> |
3548 | ||
3549 | * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h | |
3550 | (CALL_ERRNO_LOCATION): Define. | |
3551 | (__SYSCALL_STRING, __CLONE_SYSCALL_STRING): Use it. | |
3552 | * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h | |
3553 | (CALL_ERRNO_LOCATION): Define. | |
3554 | (__SYSCALL_STRING, __CLONE_SYSCALL_STRING): Use it. | |
3555 | * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S (__brk): Use | |
3556 | HIDDEN_JUMPTARGET for __errno_location call in libc.so. | |
3557 | ||
4beb4532 UD |
3558 | 2008-05-20 Ulrich Drepper <drepper@redhat.com> |
3559 | ||
3560 | * include/inline-hashtab.h (higher_prime_number): Fix type of mid | |
3561 | variable. | |
3562 | ||
ed8f38ba JJ |
3563 | 2008-05-20 Jakub Jelinek <jakub@redhat.com> |
3564 | ||
3565 | * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h | |
3566 | (FIRST_FRAME_POINTER): Define. | |
3567 | ||
3568 | 2008-05-09 David S. Miller <davem@davemloft.net> | |
3569 | ||
3570 | * sysdeps/sparc/sparc64/backtrace.c: New file. | |
3571 | ||
c1b8190a JJ |
3572 | 2008-05-14 David S. Miller <davem@davemloft.net> |
3573 | ||
3574 | * sysdeps/sparc/machine-gmon.h: New file. | |
3575 | * sysdeps/sparc/sparc-mcount.S: Likewise. | |
3576 | * sysdeps/sparc/Makefile: Add sparc-mcount target to | |
3577 | sysdep_routines in gmon directory. | |
3578 | ||
84aacd93 JJ |
3579 | 2008-05-19 Jakub Jelinek <jakub@redhat.com> |
3580 | ||
3581 | * elf/soinit.c (__EH_FRAME_BEGIN__): Remove. | |
3582 | ||
5908f779 UD |
3583 | 2008-05-19 Ulrich Drepper <drepper@redhat.com> |
3584 | ||
3585 | * resolv/res_query.c (__libc_res_nquery): In case one of two | |
3586 | answer was too short don't try to read that answer's header. | |
3587 | ||
3588 | * resolv/res_send.c (send_dg): In case of timeout and there are | |
3589 | two queries and one has been answered, return value indicating | |
3590 | success. | |
3591 | ||
528741cb UD |
3592 | 2008-05-18 Ulrich Drepper <drepper@redhat.com> |
3593 | ||
3594 | * nscd/cache.c (cache_add): Take additional parameter specifying | |
3595 | whether this is in response of a cache refill. Check alignment | |
3596 | of package data. Revamp waking of pruning thread. | |
3597 | (prune_cache): Small optimization. | |
3598 | * nscd/nscd.h: Adjust cache_add prototypes. | |
3599 | * nscd/aicache.c: Adjust cache_add calls. | |
3600 | * nscd/grpcache.c: Likewise. | |
3601 | * nscd/hstcache.c: Likewise. | |
3602 | * nscd/initgrcache.c: Likewise. | |
3603 | * nscd/pwdcache.c: Likewise. | |
3604 | * nscd/servicescache.c: Likewise. | |
3605 | * nscd/connections.c (restart): Really disable cache use before | |
3606 | exec attempt. If it fails, reenable cache. | |
3607 | (nscd_run_prune): Initialize wakeup_time. After wakeup, set wakeup | |
3608 | time to max to be able to notice concurrent cache additions. Unlock | |
3609 | prune_lock while performing gc. Afterwards compute wakeup time with | |
3610 | current wakeup_time value in mind. | |
3611 | ||
343996c4 UD |
3612 | 2008-05-17 Ulrich Drepper <drepper@redhat.com> |
3613 | ||
5811d72b UD |
3614 | * nscd/mem.c (gc): Avoid stack overflow when allocating move list. |
3615 | ||
fa526148 UD |
3616 | * nscd/mem.c (gc): Correctly determine highest used array element |
3617 | in mark. | |
3618 | ||
77d40f10 UD |
3619 | * nscd/mem.c (markrange): Add assert to check entries are all |
3620 | aligned. Small cleanup in bitmap use. | |
3621 | ||
8884028c UD |
3622 | * nscd/nscd.h (mem_in_flight): Replace blockaddr field with |
3623 | blockoff of type nscd_ssize_t. | |
3624 | * nscd/mem.c (gc): Simplify markrange call for on-flight blocks. | |
3625 | (mempoll_alloc): Record block offset and not address. | |
3626 | ||
b2159575 UD |
3627 | * nscd/mem.c (gc): Fix test for stack overuse. |
3628 | ||
5c9629d2 UD |
3629 | * nscd/aicache.c (addhstaiX): Fix a few small problems, cleanups, |
3630 | more asserts. | |
3631 | ||
66d90496 UD |
3632 | * sysdeps/posix/getaddrinfo.c (gaih_inet): If nscd reports no |
3633 | entry is available, believe it. | |
3634 | ||
343996c4 UD |
3635 | * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): If there are |
3636 | no answers return NSS_STATUS_NOTFOUND. | |
3637 | (gaih_getanswer): Don't call gaih_getanswer_slice if the answer | |
3638 | buffer does not have any content. | |
3639 | ||
91c8a74b UD |
3640 | 2008-05-16 Ulrich Drepper <drepper@redhat.com> |
3641 | ||
74e13385 UD |
3642 | * string/strcasestr.c (CMP_FUNC): Use __strncasecmp, not strncasecmp. |
3643 | ||
91c8a74b UD |
3644 | * sysdeps/posix/getaddrinfo.c (gaih_inet): After gethostbyname4_r |
3645 | lookup, don't assign canon unconditionally. | |
3646 | ||
0caca71a UD |
3647 | 2008-05-14 Ulrich Drepper <drepper@redhat.com> |
3648 | ||
3649 | * string/Makefile (distribute): Add str-two-way.h. | |
3650 | ||
3651 | 2008-03-29 Eric Blake <ebb9@byu.net> | |
3652 | ||
3653 | Rewrite string searches to O(n) rather than O(n^2). | |
3654 | * string/str-two-way.h: New file. For linear fixed-allocation | |
3655 | string searching. | |
3656 | * string/memmem.c: New implementation. | |
3657 | * string/strstr.c: New implementation. | |
3658 | * string/strcasestr.c: New implementation. | |
3659 | ||
b194db79 UD |
3660 | 2008-04-11 Paolo Bonzini <bonzini@gnu.org> |
3661 | ||
3662 | * posix/regcomp.c (optimize_utf8): Add a note on why we test | |
3663 | opr.ctx_type. | |
3664 | (calc_first): Initialize constraint field. | |
3665 | (duplicate_node_closure): Use it instead of special casing ANCHORS. | |
3666 | Use search_duplicated_node to avoid loops. Fix grammar. | |
3667 | (duplicate_node): Merge constraint field for all node types. | |
3668 | (calc_eclosure_iter): Look at constraint field for all node types. | |
3669 | * posix/regex_internal.c (create_cd_newstate): Don't look at | |
3670 | create_cd_newstate. | |
3671 | ||
c8d49f05 UD |
3672 | 2008-05-14 Ulrich Drepper <drepper@redhat.com> |
3673 | ||
215a8745 UD |
3674 | [BZ #6428] |
3675 | * configure.in: Don't use $CFLAGS when assembling, use $ASFLAGS. | |
3676 | ||
2f9a1be8 UD |
3677 | [BZ #6442] |
3678 | * string/endian.h: Add macros for fixed-size endian conversion. | |
3679 | * bits/byteswap.h: Allow inclusion from <endian.h>. | |
3680 | * sysdeps/i386/bits/byteswap.h: Likewise. | |
3681 | * sysdeps/ia64/bits/byteswap.h: Likewise. | |
3682 | * sysdeps/s390/bits/byteswap.h: Likewise. | |
3683 | * sysdeps/x86_64/bits/byteswap.h: Likewise. | |
3684 | * string/Makefile (tests): Add tst-endian. | |
3685 | * string/tst-endian.c: New file. | |
3686 | ||
c8d49f05 UD |
3687 | * iconvdata/run-iconv-test.sh: Use = instead of == in test. |
3688 | Patch by Reuben Thomas. | |
3689 | ||
a754f018 UD |
3690 | 2008-05-14 Joseph Myers <joseph@codesourcery.com> |
3691 | ||
3692 | * iconvdata/Makefile (bug-iconv6-ENV, tst-iconv7-ENV): Define. | |
3693 | ||
372bfcac UD |
3694 | 2008-05-14 Ulrich Drepper <drepper@redhat.com> |
3695 | ||
a754f018 UD |
3696 | * iconvdata/bug-iconv6.c (do_test): Use de_DE.UTF-8 locale. |
3697 | ||
5deca9bb UD |
3698 | [BZ #6461] |
3699 | * iconv/gconv_simple.c (BODY for __gconv_transform_ascii_internal): | |
3700 | Add missing braces. | |
3701 | (BODY for __gconv_transform_internal_ascii): Likewise. | |
3702 | ||
af77c9b7 | 3703 | [BZ #6472] |
5fab5544 UD |
3704 | * sysdeps/posix/getaddrinfo.c (get_scope): Loopback addresses have |
3705 | to be treated like link-local addresses. | |
5846c4e2 UD |
3706 | (match_prefix): Don't treat IPv4 loopback address special when |
3707 | converting to v4 mapped addressed. | |
5fab5544 | 3708 | |
0caca71a | 3709 | * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call _res_hconf_init |
1f039824 | 3710 | if necessary. |
b194db79 UD |
3711 | * posix/tst-rfc3484.c: Add dummy definition of _res_hconf_init. |
3712 | * posix/tst-rfc3484-2.c: Likewise. | |
3713 | * posix/tst-rfc3484-3.c: Likewise. | |
1f039824 | 3714 | |
18a74157 UD |
3715 | * sysdeps/posix/getaddrinfo.c: Implement handling of DCCP, UDPlite, |
3716 | and SCTP. | |
372bfcac UD |
3717 | |
3718 | * nss/getent.c (ahosts_keys_int): Handle all known socket types. | |
3719 | ||
3720 | * inet/netinet/in.h (IPPIPPROTO_DCCP, IPPROTO_UDPLITE): Define. | |
3721 | ||
3722 | * sysdeps/unix/sysv/linux/bits/socket.h (SOCK_DCCP): Define. | |
3723 | ||
f05ac8f5 UD |
3724 | 2008-05-13 Ulrich Drepper <drepper@redhat.com> |
3725 | ||
3726 | * po/lt.po: New file. From Lituanian translation team. | |
3727 | ||
c9ff0187 UD |
3728 | 2008-01-30 Alexandre Oliva <aoliva@redhat.com> |
3729 | ||
3730 | Introduce TLS descriptors for i386 and x86_64. | |
3731 | * include/inline-hashtab.h: New file, copied from 2005's | |
3732 | libiberty, with fix for memory leak imported afterwards by | |
3733 | Glauber de Oliveira Costa. | |
3734 | * elf/tlsdeschtab.h: New file. | |
3735 | * elf/dl-reloc.c (_dl_try_allocate_static_tls): Extract from... | |
3736 | (_dl_allocate_static_tls): ... here. Rearrange failure path. | |
3737 | (CHECK_STATIC_TLS): Move to... | |
3738 | * elf/dynamic-link.h: ... this file. | |
3739 | (TRY_STATIC_TLS): New macro. | |
3740 | * elf/dl-conflict.c (CHECK_STATIC_TLS, TRY_STATIC_TLS): Override. | |
3741 | * elf/elf.h (R_386_TLS_GOTDESC, R_386_TLS_DESC_CALL, | |
3742 | R_386_TLS_DESC): Define. | |
3743 | (R_X86_64_PC64, R_X86_GOTOFF64, R_X86_64_GOTPC32): Merge from | |
3744 | binutils. | |
3745 | (R_X86_64_GOTPC32_TLSDESC, R_X86_64_TLSDESC_CALL, | |
3746 | R_X86_64_TLSDESC): Define. | |
3747 | (R_386_NUM, R_X86_64_NUM): Adjust. | |
3748 | * sysdeps/i386/Makefile (sysdep-dl-routines, sysdep_routines, | |
f05ac8f5 | 3749 | sysdep-rtld-routines): Add tlsdesc and dl-tlsdesc for elf subdir. |
c9ff0187 UD |
3750 | (gen-as-const-headers): Add tlsdesc.sym to csu subdir. |
3751 | * sysdeps/i386/dl-lookupcfg.h: New file. Introduce _dl_unmap to | |
3752 | release tlsdesc_table. | |
3753 | * sysdeps/i386/dl-machine.h: Include dl-tlsdesc.h. | |
3754 | (elf_machine_type_class): Mark R_386_TLS_DESC as PLT class. | |
3755 | (elf_machine_rel): Handle R_386_TLS_DESC. | |
3756 | (elf_machine_rela): Likewise. | |
3757 | (elf_machine_lazy_rel): Likewise. | |
3758 | (elf_machine_lazy_rela): Likewise. | |
3759 | * sysdeps/i386/dl-tls.h (struct dl_tls_index): Name it. | |
3760 | * sysdeps/i386/dl-tlsdesc.S: New file. | |
3761 | * sysdeps/i386/dl-tlsdesc.h: New file. | |
3762 | * sysdeps/i386/tlsdesc.c: New file. | |
3763 | * sysdeps/i386/tlsdesc.sym: New file. | |
3764 | * sysdeps/i386/bits/linkmap.h (struct link_map_machine): Add | |
3765 | tlsdesc_table. | |
3766 | * sysdeps/x86_64/Makefile (sysdep-dl-routines, sysdep_routines, | |
f05ac8f5 | 3767 | sysdep-rtld-routines): Add tlsdesc and dl-tlsdesc for elf subdir. |
c9ff0187 UD |
3768 | (gen-as-const-headers): Add tlsdesc.sym to csu subdir. |
3769 | * sysdeps/x86_64/dl-lookupcfg.h: New file. Introduce _dl_unmap to | |
3770 | release tlsdesc_table. | |
3771 | * sysdeps/x86_64/dl-machine.h: Include dl-tlsdesc.h. | |
3772 | (elf_machine_runtime_setup): Set up lazy TLSDESC GOT entry. | |
3773 | (elf_machine_type_class): Mark R_X86_64_TLSDESC as PLT class. | |
3774 | (elf_machine_rel): Handle R_X86_64_TLSDESC. | |
3775 | (elf_machine_rela): Likewise. | |
3776 | (elf_machine_lazy_rel): Likewise. | |
3777 | * sysdeps/x86_64/dl-tls.h (struct dl_tls_index): Name it. | |
3778 | (__tls_get_addr): Do not declare for non-shared compiles. | |
3779 | * sysdeps/x86_64/dl-tlsdesc.S: New file. | |
3780 | * sysdeps/x86_64/dl-tlsdesc.h: New file. | |
3781 | * sysdeps/x86_64/tlsdesc.c: New file. | |
3782 | * sysdeps/x86_64/tlsdesc.sym: New file. | |
3783 | * sysdeps/x86_64/bits/linkmap.h (struct link_map_machine): Add | |
3784 | tlsdesc_table for both 32- and 64-bit structs. | |
3785 | ||
a3636e8b UD |
3786 | 2008-05-11 Ulrich Drepper <drepper@redhat.com> |
3787 | ||
3788 | * elf/dl-tls.c (__tls_get_addr): Optimize by moving slow path in | |
3789 | its own function. This reduces the frame setup costs and more. | |
3790 | ||
a7eb802f UD |
3791 | 2008-02-11 Joseph Myers <joseph@codesourcery.com> |
3792 | ||
3793 | [BZ #3406] | |
3794 | * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Correct value. | |
3795 | * math/libm-test.inc (exp_test): Test 88.72269439697265625. | |
3796 | ||
3490f01d UD |
3797 | 2008-05-11 Ulrich Drepper <drepper@redhat.com> |
3798 | ||
3d7eeebe UD |
3799 | * io/openat.c (__openat_2): Also pass fd to __openat. |
3800 | * io/openat64.c (__openat64_2): Also pass fd to __openat64. | |
3801 | Patch by Kristian Van Der Vliet <vanders@liqwyd.com>. | |
3802 | ||
3490f01d UD |
3803 | * string/tester.c (test_memcmp): Add a few more tests. |
3804 | Patch by Mats Erik Andersson <ynglingatal@comhem.se>. | |
3805 | ||
7e71e55f UD |
3806 | 2008-05-10 Ulrich Drepper <drepper@redhat.com> |
3807 | ||
3808 | * nscd/cache.c (cache_add): Before returning with failure and this | |
3809 | is the first use of the record, mark it as unusable. | |
3810 | * nscd/aicache.c: Don't touch the dataset after cache_add returns | |
3811 | reporting a failure. | |
3812 | * nscd/grpcache.c: Likewise | |
3813 | * nscd/hstcache.c: Likewise. | |
3814 | * nscd/initgrcache.c: Likewise. | |
3815 | * nscd/pwdcache.c: Likewise. | |
343996c4 | 3816 | * nscd/servicescache.c: Likewise. |
7e71e55f | 3817 | |
7396d0a9 RM |
3818 | 2008-05-10 Roland McGrath <roland@redhat.com> |
3819 | ||
3820 | [BZ #6505] | |
3821 | * sysdeps/unix/sysv/linux/sys/user.h: Replace with #error stub. | |
3822 | ||
c5ee217f UD |
3823 | 2008-05-08 David S. Miller <davem@davemloft.net> |
3824 | ||
b29899ae UD |
3825 | * misc/truncate64.c (truncate64): Use __truncate not truncate. |
3826 | ||
c5ee217f UD |
3827 | * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee751_j0l): Use __finitel. |
3828 | (__ieee754_y0l): Likewise. | |
3829 | * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise. | |
3830 | (__ieee754_y1l): Likewise. | |
3831 | * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use __ldexpl. | |
3832 | * sysdeps/ieee754/ldbl-128/s_log1pl.c: Kill bogus prototypes for | |
3833 | frexpl and ldexpl. math_private.h provides them and the latter | |
3834 | is not even used. | |
3835 | (__log1pl): Use __frexpl. | |
3836 | ||
1eb946b9 UD |
3837 | 2008-05-10 Ulrich Drepper <drepper@redhat.com> |
3838 | ||
3839 | * include/resolv.h: Adjust __libc_res_nquery and __libc_res_nsend | |
3840 | prototypes. | |
3841 | * include/arpa/nameser_compat.h: Define T_UNSPEC. | |
3842 | * nis/Versions (libnss_nis): Export _nss_nis_gethostbyname4_r. | |
3843 | (libnss_nisplus): Export _nss_nisplus_gethostbyname4_r. | |
3844 | * nis/nss_nis/nis-hosts.c (LINE_PARSER): Change to also handle | |
3845 | af==AF_UNSPEC. | |
3846 | (_nss_nis_gethostbyname4_r): New function. | |
3847 | * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent): | |
3848 | Change to also handle af==AF_UNSPEC. | |
3849 | (get_tablename): New function. Use it to avoid duplication. | |
3850 | (_nss_nisplus_gethostbyname4_r): New function. | |
3851 | * nscd/aicache.c (addhstaiX): Use gethostbyname4_r function is | |
3852 | available. | |
3853 | * nss/Versions (libnss_files): Export _nss_files_gethostbyname4_r. | |
3854 | * nss/nss.h: Define struct gaih_addrtuple. | |
3855 | * nss/nss_files/files-hosts.c (LINE_PARSER): Change to also handle | |
3856 | af==AF_UNSPEC. | |
3857 | (_nss_files_gethostbyname4_r): New function. | |
3858 | * resolv/Versions (libnss_dns): Export _nss_dns_gethostbyname4_r. | |
3859 | * resolv/gethnmaddr.c: Adjust __libc_res_nsearch and __libc_res_nquery | |
3860 | calls. | |
3861 | * resolv/res_query.c (__libc_res_nquery): Take two additional | |
3862 | parameters for second answer buffer. Handle type=T_UNSPEC to mean | |
3863 | look up IPv4 and IPv6. | |
3864 | Change all callers. | |
3865 | * resolv/res_send.c (__libc_res_nsend): Take five aditional parameters | |
3866 | for an additional query and answer buffer. Pass to send_vc and | |
3867 | send_dg. | |
3868 | (send_vc): Send possibly two requests and receive two answers. | |
3869 | (send_dg): Likewise. | |
3870 | * resolv/nss_dns/dns-host.c: Adjust calls to __libc_res_nsearch and | |
3871 | __libc_res_nquery. | |
3872 | (_nss_dns_gethostbyname4_r): New function. | |
3873 | (gaih_getanswer_slice): Likewise. | |
3874 | (gaih_getanswer): Likewise. | |
3875 | * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Adjust | |
3876 | __libc_res_nquery call. | |
3877 | * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r): Likewise. | |
3878 | (_nss_dns_getnetbyname_r): Adjust __libc_res_nsearch call. | |
3879 | * sysdeps/posix/getaddrinfo.c: Use gethostbyname4_r function is | |
3880 | available. | |
3881 | ||
b7fb703a JJ |
3882 | 2008-05-05 David S. Miller <davem@davemloft.net> |
3883 | ||
3884 | * sysdeps/sparc/sparc32/Makefile: Use -mcpu=v7 for initfini.s build. | |
3885 | * sysdeps/sparc/sparc64/Makefile: Use -mcpu=v9 for initfini.s build. | |
3886 | ||
2256e43d RM |
3887 | 2007-09-14 Samuel Thibault <samuel.thibault@ens-lyon.org> |
3888 | ||
3889 | Fix termios bit macros. | |
3890 | Move *DLY definitions where they belong, in termios.h. | |
3891 | Add *[0-3] definitions. | |
3892 | Fixes confusion between VT and FF. | |
8bb52dbf RM |
3893 | * sysdeps/mach/hurd/bits/ioctls.h (NL0, NL1, TAB0, TAB1, TAB2, CR0, |
3894 | CR1, CR2, CR3, FF0, FF1, BS0, BS1): Undefine these at start if they | |
3895 | are already defined to avoid collision with termios.h. | |
2256e43d RM |
3896 | (NLDLY, TABDLY, TAB3, CRDLY, VTDLY, BSDLY): Remove macros. |
3897 | * bits/termios.h [__USE_MISC || __USE_XOPEN] (NL0, NL1, TAB0, | |
3898 | TAB1, TAB2, CR0, CR1, CR2, CR3, FF0, FF1, BS0, BS1): Likewise. | |
3899 | [__USE_BSD || __USE_XOPEN] (OCRNL, ONOCR, ONLRET): New macros. | |
3900 | [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, TABDLY, TAB0, TAB1, TAB2, | |
3901 | TAB3, CRDLY, CR0, CR1, CR2, CR3, FFDLY, FF0, FF1, BSDLY, BS0, BS1, | |
3902 | VTDLY, VT0, VT1): New macros. | |
3903 | [__USE_GNU] (OLCUC): Change value of macro. | |
3904 | [__USE_XOPEN] (OFILL): New macro. | |
3905 | [__USE_BSD] (CRTSCTS): Change value. | |
3906 | (CRTS_IFLOW, CCTS_OFLOW): Change into compatibility macros. | |
3907 | [__USE_BSD] (CDTRCTS, CHWFLOW): New macros. | |
3908 | (B7200, B14400, B28800, B76800): New macros. | |
3909 | ||
4ce349e5 JJ |
3910 | 2008-05-01 David S. Miller <davem@davemloft.net> |
3911 | ||
a86a7a39 JJ |
3912 | * sysdeps/unix/sysv/linux/sparc/sparc32/ucontext_i.sym: New file. |
3913 | * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile [$(subdir) = stdlib]: | |
3914 | (gen-as-const-headers): Add it. | |
3915 | * sysdeps/unix/sysv/linux/sparc/sparc32/getcontext.S: New file. | |
3916 | * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise. | |
3917 | * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S: Likewise. | |
3918 | * sysdeps/unix/sysv/linux/sparc/sparc32/swapcontext.S: Likewise. | |
2256e43d | 3919 | |
4ce349e5 JJ |
3920 | * sysdeps/unix/sysv/linux/sparc/sparc32/syscall.S: Add support for |
3921 | six system call parameters. | |
3922 | * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise. | |
3923 | ||
89a8963d UD |
3924 | 2008-04-30 Ulrich Drepper <drepper@redhat.com> |
3925 | ||
3926 | * sysdeps/unix/sysv/linux/bits/resource.h: Define RUSAGE_THREAD and | |
3927 | RUSAGE_LWP. | |
3928 | * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise. | |
3929 | * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise. | |
3930 | ||
b5ec5fce JJ |
3931 | 2008-04-30 Jakub Jelinek <jakub@redhat.com> |
3932 | ||
3933 | * stdlib/tst-setcontext.c: Include unistd.h. | |
3934 | ||
d4e92d9e JJ |
3935 | 2008-04-25 David S. Miller <davem@davemloft.net> |
3936 | ||
3937 | * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c (semctl): | |
3938 | Pass "union semun" properly in to sys_ipc, it must be passed | |
3939 | by value, not by reference. | |
3940 | ||
7eb5e6c9 UD |
3941 | 2008-04-22 Jakub Jelinek <jakub@redhat.com> |
3942 | ||
3943 | * nscd/Makefile (nscd-cflags): Set back to -fpie. | |
3944 | * nscd/nscd.h (mem_in_flight): Add attribute_tls_model_ie. | |
3945 | * nscd/connections.c (mem_in_flight): Likewise. | |
3946 | ||
3947 | * nscd/nscd.h (dbs): Make hidden. | |
3948 | ||
3949 | * sysdeps/unix/sysv/linux/times.c (__times): Fix check for EFAULT. | |
3950 | Avoid returning -1, return 0 instead. | |
3951 | ||
0073dd2d UD |
3952 | 2008-04-19 Ulrich Drepper <drepper@redhat.com> |
3953 | ||
3954 | * resolv/res_mkquery.c (__res_nopt): Use NS_PUT16 instead of ns_put16. | |
3955 | ||
c52137d3 UD |
3956 | 2008-04-15 Ulrich Drepper <drepper@redhat.com> |
3957 | ||
3958 | [BZ #5209] | |
3959 | * sysdeps/unix/sysv/linux/times.c: New file. | |
3960 | ||
3961 | [BZ #5381] | |
3962 | * nscd/nscd.h: Define enum in_flight, mem_in_flight, and | |
3963 | mem_in_flight_list variables. Add new parameter to mempool_alloc | |
3964 | prototype. | |
3965 | * nscd/mem.c (mempool_alloc): Take additional parameter. Initialize | |
3966 | appropriate mem_in_flight element. | |
3967 | (gc): Take allocations which have not yet been committed to the | |
3968 | database into account. | |
3969 | * nscd/cache.c (cache_add): Add new parameter to mempool_alloc call. | |
3970 | Reset mem_in_flight before returning. | |
3971 | * nscd/connections.c (nscd_run_worker): Initialize mem_in_flight and | |
3972 | cue it up in mem_in_flight_list. | |
3973 | * nscd/aicache.c: Adjust mempool_alloc call. | |
3974 | * nscd/grpcache.c: Likewise. | |
3975 | * nscd/hstcache.c: Likewise. | |
3976 | * nscd/initgrcache.c: Likewise. | |
3977 | * nscd/pwdcache.c: Likewise. | |
3978 | * nscd/servicescache.c: Likewise. | |
3979 | * nscd/Makefile (nscd-flags): Until ld is fixed, use -fpic instead | |
3980 | of -fpie. | |
3981 | ||
3982 | * nscd/connections.c (handle_request): Provide better error message | |
3983 | in case SELinux forbids the service. | |
3984 | ||
3985 | * version.h (VERSION): Bump to 2.8.90. | |
3986 | ||
39546e34 JJ |
3987 | 2008-04-17 Jakub Jelinek <jakub@redhat.com> |
3988 | ||
3989 | * sysdeps/unix/sysv/linux/dl-osinfo.h: Include fcntl.h. | |
3990 | ||
cf3a8c7f UD |
3991 | 2008-04-11 Ulrich Drepper <drepper@redhat.com> |
3992 | ||
9e113ecd UD |
3993 | * sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h (__signbitl): |
3994 | Also use for 32-bit. | |
3b6d574e UD |
3995 | * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Use |
3996 | __nextafter instead of nextafter to avoid local PLT. | |
c3a0ead4 UD |
3997 | * sysdeps/powerpc/fpu/e_sqrt.c: Avoid call to fetestexcept. |
3998 | * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise. | |
3999 | ||
3781ec29 UD |
4000 | * scripts/data/localplt-powerpc64-linux-gnu.data: New file. |
4001 | ||
246ec411 UD |
4002 | * sysdeps/powerpc/fpu/fenv_libc.h: Add libm_hidden_proto for |
4003 | __fe_nomask_env. | |
3cc56f92 UD |
4004 | * sysdeps/powerpc/fpu/fe_nomask.c: Add libm_hidden_def. Include |
4005 | <fenv_libc.h> instead of <fenv.h>. | |
246ec411 UD |
4006 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise. |
4007 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise. | |
4008 | ||
4009 | * sysdeps/powerpc/bits/fenv.h: Make safe for C++. | |
4010 | ||
4011 | * sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h: New file. | |
4012 | * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Rename | |
4013 | function from fegetexcept and make old name weak alias. | |
4014 | * include/fenv.h: Declare __fegetexcept. | |
4015 | * sysdeps/powerpc/fpu/fedisblxcpt.c: Use __fegetexcept instead of | |
4016 | fegetexcept. | |
4017 | * sysdeps/powerpc/fpu/feenablxcpt.c: Likewise. | |
4018 | * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Avoid call | |
4019 | to fetestexcept. | |
4020 | * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Use __frexpl | |
4021 | instead of frexpl to avoid local PLT. | |
4022 | * math/s_significandl.c (__significandl): Use __ilogbl instead of | |
4023 | ilogbl to avoid local PLT. | |
4024 | * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __ldexpl | |
4025 | instead of ldexpl to avoid local PLT. | |
4026 | * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use | |
4027 | __roundl not roundl to avoid local PLT. | |
4028 | * sysdeps/ieee754/ldbl-128/e_j0l.c: Use function names which avoid | |
4029 | local PLTs. Use __sincosl instead of separate sinl and cosl | |
4030 | calls. | |
4031 | * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise. | |
4032 | ||
2dc4a2fd UD |
4033 | * sysdeps/unix/sysv/linux/configure.in: Bump minimal kernel |
4034 | version for ppc64 to 2.4.21 since without it makecontext will fail. | |
4035 | ||
fe3350ee UD |
4036 | * elf/tls-macros.h [__powerpc64__] (__TLS_GET_ADDR): Define according |
4037 | to the ABI in use. | |
4038 | [__powerpc64__] (TLS_LD): Use __TLS_GET_ADDR instead of | |
4039 | .__tls_get_addr. | |
4040 | [__powerpc64__] (TLS_GD): Likewise. | |
cf3a8c7f | 4041 | |
c1e6b459 UD |
4042 | 2007-11-20 Ryan S. Arnold <rsa@us.ibm.com> |
4043 | ||
7763d4f1 | 4044 | [BZ #4997] |
c1e6b459 UD |
4045 | * sysdeps/powerpc/powerpc32/fpu/s_lround.S (__lround): Fixed erroneous |
4046 | result when x is +/-nextafter(+/-0.5,-/+1) i.e. all 1's in the | |
4047 | mantissa. | |
4048 | * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround): | |
4049 | Likewise. Also account for when x is an odd number between 2^52 | |
4050 | and 2^53-1. | |
4051 | * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Likewise. | |
4052 | * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf): Likewise. | |
4053 | * math/libm-test.inc (lround_test, llround_test): Added test cases to | |
4054 | detect aforementioned erroneous conditions. | |
4055 | ||
22dca1ea UD |
4056 | 2008-04-11 Jakub Jelinek <jakub@redhat.com> |
4057 | ||
4058 | * configure.in: Check for -fno-section-anchors in addition to | |
4059 | -fno-toplevel-reorder. | |
4060 | ||
5d59f4a5 UD |
4061 | 2008-04-11 Ulrich Drepper <drepper@redhat.com> |
4062 | ||
4063 | * include/features.h (__GLIBC_MINOR__): Bump to 8. | |
4064 | ||
4065 | * sysdeps/powerpc/powerpc32/fpu/s_lroundf.S: Remove duplicate comment. | |
4066 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise. | |
4067 | * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise. | |
4068 | * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise. | |
4069 | * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise. | |
4070 | * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise. | |
4071 | ||
91e32540 UD |
4072 | 2008-04-11 Jakub Jelinek <jakub@redhat.com> |
4073 | ||
4074 | [BZ #5443] | |
4075 | * time/era.c: Transform __libc_setlocale_lock into rwlock. | |
4076 | * time/alt_digit.c: Likewise. | |
4077 | * wcsmbs/wcsmbsload.c: Likewise. | |
4078 | ||
fd490ac8 UD |
4079 | 2008-04-10 Ulrich Drepper <drepper@redhat.com> |
4080 | ||
1db5b6f4 UD |
4081 | * version.h (VERSION): Bump to 2.8. |
4082 | ||
fd490ac8 UD |
4083 | * timzeone/asia: Update from tzdata2008b. |
4084 | * timezone/backward: Likewise. | |
4085 | * timezone/europe: Likewise. | |
4086 | * timezone/northamerica: Likewise. | |
4087 | * timezone/southamerica: Likewise. | |
4088 | * timezone/iso3166.tab: Likewise. | |
4089 | * timezone/leapseconds: Likewise. | |
4090 | * timezone/zone.tab: Likewise. | |
4091 | * timezone/private.h: Update from tzcode2008a. | |
4092 | * timezone/zdump.c: Likewise. | |
4093 | * timezone/zic.c: Likewise. | |
4094 | ||
153cf972 UD |
4095 | 2008-01-24 Steven Munroe <sjmunroe@us.ibm.com> |
4096 | ||
4097 | [BZ #5741] | |
4098 | * sysdeps/powerpc/powerpc64/dl-machine.h (PPC_DCBT, PPC_DCBF): | |
4099 | Define additonal Data Cache Block instruction macros. | |
4100 | (elf_machine_fixup_plt): Add dcbt for opd and plt entries. | |
4101 | Replace dcbst with dcbf and sync with sync/isync. | |
4102 | ||
d2207f32 UD |
4103 | 2008-02-21 Alan Modra <amodra@bigpond.net.au> |
4104 | ||
4105 | * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class): | |
4106 | Always set ELF_RTYPE_CLASS_PLT. | |
4107 | (elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p): Delete. | |
4108 | ||
13d83320 UD |
4109 | 2008-04-03 Steven Munroe <sjmunroe@us.ibm.com> |
4110 | ||
4111 | * sysdeps/powerpc/powerpc32/power4/hp-timing.c: New file. | |
4112 | * sysdeps/powerpc/powerpc32/power4/hp-timing.h: New file. | |
4113 | * sysdeps/powerpc/powerpc64/hp-timing.h [_ARCH_PWR4] (HP_TIMING_NOW): | |
4114 | For ISA 2.01 and later replace mftb with mfspr 268. | |
4115 | ||
5f7aead5 UD |
4116 | 2008-02-19 Steven Munroe <sjmunroe@us.ibm.com> |
4117 | ||
4118 | [BZ #5768] | |
4119 | * sysdeps/powerpc/fpu/Makefile (libm-tests): Add test-powerpc-snan. | |
4120 | * sysdeps/powerpc/fpu/test-powerpc-snan.c: New file. | |
4121 | ||
4122 | 2008-02-18 Steven Munroe <sjmunroe@us.ibm.com> | |
4123 | ||
4124 | [BZ #5768] | |
4125 | * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: New file. | |
4126 | * sysdeps/powerpc/powerpc32/fpu/s_isnan.c: Removed. | |
4127 | * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: New file. | |
4128 | * sysdeps/powerpc/powerpc64/fpu/s_isnan.c: Removed. | |
4129 | ||
117df5d9 JJ |
4130 | 2008-04-10 Jakub Jelinek <jakub@redhat.com> |
4131 | ||
4132 | * stdlib/tst-makecontext.c (othervar): New variable. | |
4133 | (cf): Test sign extending the argument to long. | |
4134 | ||
3b32d8a2 UD |
4135 | 2008-03-03 Steven Munroe <sjmunroe@us.ibm.com> |
4136 | ||
4137 | * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: New file. | |
4138 | * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: New file. | |
4139 | * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: New file. | |
4140 | * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: New file. | |
4141 | * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: New file. | |
4142 | * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: New file. | |
4143 | * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: New file. | |
4144 | ||
9fb11d4c UD |
4145 | 2008-02-22 Alan Modra <amodra@bigpond.net.au> |
4146 | ||
4147 | * elf/Makefile (tests): Substitute tests-vis-yes here. | |
4148 | (tests-vis-yes): Delete. | |
4149 | (modules-name, modules-vis-yes): Similarly. | |
4150 | ||
facd1d8e UD |
4151 | 2008-02-12 Pete Eberlein <eberlein@us.ibm.com> |
4152 | ||
4153 | [BZ #4407] | |
4154 | * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): | |
4155 | Preserve sign in signgamp when x is zero. | |
4156 | ||
aece054b UD |
4157 | 2007-10-26 Steven Munroe <sjmunroe@us.ibm.com> |
4158 | ||
4159 | * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: New File. | |
4160 | * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.c: Removed. | |
4161 | * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: New File. | |
4162 | * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.c: Removed. | |
4163 | * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: New File. | |
4164 | * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: New File. | |
4165 | ||
6c30d38f UD |
4166 | 2008-04-09 Ulrich Drepper <drepper@redhat.com> |
4167 | ||
21208604 | 4168 | [BZ #4314] |
13d83320 UD |
4169 | * sysdeps/i386/i686/memcpy.S: Optimize copying of equally aligned |
4170 | buffers. | |
21208604 | 4171 | |
2f611ada | 4172 | [BZ #5209] |
d1235fdf UD |
4173 | * sysdeps/unix/sysv/syscalls.list: The times syscall doesn't have |
4174 | a reserved error value. | |
2f611ada | 4175 | |
6c30d38f UD |
4176 | * stdlib/tst-makecontext.c: Change parameter to cf to negative |
4177 | value to check for correct sign extension. | |
4178 | ||
4179 | [BZ #5436] | |
4180 | * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext): | |
4181 | Copy 64-bit parameter values even though this is not required in | |
4182 | the standard. | |
4183 | ||
4184 | * sysdeps/unix/sysv/linux/x86_64/vfork.S (__vfork): Record return | |
4185 | PC save. | |
4186 | ||
de1bbf68 UD |
4187 | 2008-02-14 Daniel Jacobowitz <dan@codesourcery.com> |
4188 | ||
4189 | * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork): Record return | |
4190 | PC save. | |
4191 | ||
9aef35a5 UD |
4192 | 2008-04-09 Jakub Jelinek <jakub@redhat.com> |
4193 | ||
4194 | * nss_files/files-XXX.c (_nss_files_getXXent_r): Restore saved errno. | |
4195 | ||
a7925a24 UD |
4196 | 2008-04-09 Ulrich Drepper <drepper@redhat.com> |
4197 | ||
4198 | [BZ #5998] | |
4199 | * libio/iofwrite.c (_IO_fwrite): Return correct count if flushing | |
4200 | in line-buffered stream failed. | |
4201 | * libio/iofwrite_u.c (fwrite_unlocked): Likewise. | |
4202 | ||
7b61ef24 UD |
4203 | 2008-04-08 Ulrich Drepper <drepper@redhat.com> |
4204 | ||
c2a684a4 UD |
4205 | [BZ #6024] |
4206 | * scripts/abi-versions.awk: If the version specified by | |
4207 | --enable-oldest-abi is older than the first version for this | |
4208 | architecture, use the default version. | |
4209 | ||
7b61ef24 UD |
4210 | * locale/programs/ld-collate.c (collate_read): Ignore script lines |
4211 | as well when ignoring the whole category. | |
4212 | ||
f6d749f0 UD |
4213 | 2008-04-07 Ulrich Drepper <drepper@redhat.com> |
4214 | ||
4215 | [BZ #6042] | |
4216 | * sysdeps/unix/sysv/linux/net/ethernet.h: Add a few more | |
4217 | ETHERTYPE_* definitions. | |
4218 | Patch partly by Aurelien Jarno <aurelien@aurel32.net>. | |
4219 | ||
1e99aede JJ |
4220 | 2008-04-07 Jakub Jelinek <jakub@redhat.com> |
4221 | ||
4222 | * stdlib/mbtowc.c (__no_r_state): Remove. | |
4223 | (mbtowc): New static state variable. Use it instead of | |
4224 | __no_r_state. | |
4225 | * stdlib/wctomb.c (__no_r_state): Remove extern decl. | |
4226 | (__wctomb_state): New hidden variable. | |
4227 | (wctomb): Use __wctomb_state instead of __no_r_state. | |
4228 | * debug/wctomb_chk.c (__no_r_state): Remove extern decl. | |
4229 | (__wctomb_state): New extern decl. | |
4230 | (__wctomb_chk): Use __wctomb_state instead of __no_r_state. | |
4231 | ||
fcf90e0a UD |
4232 | 2008-04-07 Ulrich Drepper <drepper@redhat.com> |
4233 | ||
4234 | [BZ #5475] | |
4235 | * resolv/res_init.c: Handle scope IDs in resolv.conf. | |
4236 | ||
ae39e102 JJ |
4237 | 2008-04-07 Jakub Jelinek <jakub@redhat.com> |
4238 | ||
4239 | * malloc/mtrace.pl: Use $@ instead of $* to keep perl 5.10 quiet. | |
4240 | ||
2503dd30 UD |
4241 | 2008-04-06 Ulrich Drepper <drepper@redhat.com> |
4242 | ||
4243 | * po/nl.po: Update from translation team. | |
4244 | ||
3eb9c809 UD |
4245 | 2008-03-31 Ulrich Drepper <drepper@redhat.com> |
4246 | ||
4247 | [BZ #6007] | |
4248 | * string/strfry.c: Handle empty strings again. | |
4249 | ||
9a69db29 UD |
4250 | 2008-03-30 Ulrich Drepper <drepper@redhat.com> |
4251 | ||
4252 | [BZ #5443] | |
4253 | * intl/dcigettext.c (__dcigettext): Get reader lock for locale data | |
4254 | before looking for translation. | |
4255 | * locale/duplocale.c: Transform __libc_setlocale_lock into rwlock. | |
4256 | * locale/freelocale.c: Likewise. | |
4257 | * locale/newlocale.c: Likewise. | |
4258 | * locale/setlocale.c: Likewise. | |
4259 | Based partially on a patch by ryo@np.css.fujitsu.com. | |
4260 | ||
2ecc7d93 UD |
4261 | 2008-03-30 Jakub Jelinek <jakub@redhat.com> |
4262 | ||
4263 | * intl/dcigettext.c (_nl_find_msg): Reread nconversions after | |
4264 | acquiring wrlock. Do conv_tab allocation while holding lock. | |
4265 | * intl/Makefile: Add rules to build and run tst-gettext6. | |
4266 | * intl/tst-gettext6.c: New test. | |
4267 | * intl/tst-gettext6.sh: New file. | |
4268 | ||
221e5230 UD |
4269 | 2008-03-30 Ulrich Drepper <drepper@redhat.com> |
4270 | ||
faa091c6 UD |
4271 | * po/nl.po: Update from translation team. |
4272 | ||
221e5230 UD |
4273 | * sysdeps/unix/opendir.c (__alloc_dir): If allocation fails for size |
4274 | provided through st_blksize, try the default size before giving up. | |
4275 | ||
1c272665 UD |
4276 | 2008-03-29 Ulrich Drepper <drepper@redhat.com> |
4277 | ||
43f6bec1 UD |
4278 | * stdio-common/vfprintf.c (vfprintf): Correct overflow test. |
4279 | ||
e8a32126 UD |
4280 | [BZ #5939] |
4281 | * sysdeps/posix/tempname.c (__gen_tempname): Correct flag selection. | |
4282 | ||
1e489af9 UD |
4283 | * posix/getopt.c (_getopt_internal_r): Remove old POSIX-demanded |
4284 | error message. POSIX today does not require the messages to be in | |
4285 | a specific form. Suggested by Jim Meyering <jim@meyering.net>. | |
4286 | ||
1d20f7f8 UD |
4287 | [BZ #5979] |
4288 | * sunrpc/auth_unix.c: Unify printed strings. | |
4289 | * sunrpc/clnt_tcp.c: Likewise. | |
4290 | * sunrpc/clnt_udp.c: Likewise. | |
4291 | * sunrpc/clnt_unix.c: Likewise. | |
4292 | * sunrpc/svc_tcp.c: Likewise. | |
4293 | * sunrpc/svc_udp.c: Likewise. | |
4294 | * sunrpc/svc_unix.c: Likewise. | |
4295 | * sunrpc/xdr.c: Likewise. | |
4296 | * sunrpc/xdr_array.c: Likewise. | |
4297 | * sunrpc/xdr_rec.c: Likewise. | |
4298 | * sunrpc/xdr_ref.c: Likewise. | |
4299 | * locale/programs/ld-time.c (time_finish): Unify messages. | |
4300 | * locale/programs/locfile.c (handle_copy): Fix typo. | |
4301 | * nscd/nscd.c (options): Fix typo. | |
4302 | ||
1c272665 UD |
4303 | [BZ #5995] |
4304 | * stdlib/strtod_l.c: Use correct sign for result in one more | |
4305 | underflow case. | |
4306 | Patch by Eric Blake <ebb9@byu.net>. | |
4307 | ||
48cc060e UD |
4308 | 2008-03-27 Jakub Jelinek <jakub@redhat.com> |
4309 | ||
4310 | * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Add open | |
4311 | and creat system calls. | |
4312 | * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove open system | |
4313 | call. | |
4314 | * sysdeps/unix/sysv/linux/ia64/syscalls.list: Remove open and creat | |
4315 | system calls. | |
4316 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise. | |
4317 | * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. | |
4318 | * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. | |
4319 | ||
f96853be UD |
4320 | 2008-03-27 Ulrich Drepper <drepper@redhat.com> |
4321 | ||
4322 | * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefined ARG_MAX if | |
4323 | <linux/limits.h> has defined it. | |
4324 | * sysdeps/unix/sysv/linux/sys/param.h: Define NCARGS to the legacy | |
4325 | ARG_MAX value and prevent ARG_MAX from being defined by the kernel | |
4326 | headers. | |
4327 | * sysdeps/unix/sysv/linux/sysconf.c: Define legacy_ARG_MAX and use | |
4328 | it instead of ARG_MAX. | |
4329 | ||
fde15fdc UD |
4330 | 2008-03-25 Jakub Jelinek <jakub@redhat.com> |
4331 | ||
4332 | * posix/gai.conf: Fix comment for scope nullbits. | |
4333 | * sysdeps/posix/getaddrinfo.c (gaiconf_init): If /bits is not present, | |
4334 | default to 128 bits for v4 mapped addresses. | |
4335 | ||
87b9b50f UD |
4336 | 2008-03-07 Martin Schwidefsky <schwidefsky@de.ibm.com> |
4337 | ||
4338 | * sysdeps/s390/fpu/fegetenv.c (fegetenv): Remove PTRACE_PEEKUSER | |
4339 | ptrace call to get the ieee_instruction_pointer from the kernel. | |
4340 | * sysdeps/s390/fpu/fesetenv.c (fesetenv): Remove PTRACE_POKEUSER | |
4341 | ptrace call to set the ieee_instructtion_pointer. | |
4342 | * sysdeps/unix/sysv/linux/s390/sys/user.h (struct _user_regs_struct): | |
4343 | Add comment that ieee_instruction_pointer is always 0. | |
4344 | ||
af0498dc UD |
4345 | 2008-03-09 Andreas Jaeger <aj@suse.de> |
4346 | ||
4347 | [BZ #5857] | |
4348 | * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Handle j0==18. | |
4349 | * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Likewise. | |
4350 | Patch by Mark Elliott <mark.h.elliott@lmco.com>. | |
4351 | ||
4352 | * math/libm-test.inc (nearbyint_test): Add new test cases from #5857. | |
4353 | (rint_test): Likewise. | |
4354 | ||
0ab7632d UD |
4355 | 2008-03-24 Ulrich Drepper <drepper@redhat.com> |
4356 | ||
0facd3df UD |
4357 | * nis/nis_call.c (nis_server_cache_search): Save errno around stat |
4358 | call. | |
4359 | (__nisfind_server): Similar for open readColdStartFile call. | |
4360 | Patch partially by Jim Meyering. | |
4361 | * nss/nss_files/files-XXX.c (_nss_files_getXXent_r): Save errno | |
4362 | around internal_setent call. | |
4363 | ||
7e570c55 UD |
4364 | * po/vi.po: New Vietnamese translation. |
4365 | ||
e093c247 UD |
4366 | * sysdeps/unix/sysv/linux/adjtime.c: Correctly use |
4367 | ADJ_OFFSET_SS_READ. | |
4368 | ||
0ab7632d UD |
4369 | * sysdeps/unix/sysv/linux/bits/sched.h: Add new CLONE_* flags, |
4370 | remove CLONE_STOPPED. | |
4371 | ||
0726cdf7 UD |
4372 | 2008-02-10 Jim Meyering <meyering@redhat.com> |
4373 | ||
4374 | Remove useless "if" before "free": | |
4375 | * elf/ldconfig.c (parse_conf_include): Likewise. | |
4376 | * gmon/gmon.c (weak_alias): Likewise. | |
4377 | * iconv/gconv_conf.c (__gconv_get_path): Likewise. | |
4378 | * inet/rcmd.c (__validuser2_sa): Likewise. | |
4379 | * intl/bindtextdom.c (set_binding_values): Likewise. | |
4380 | * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Likewise. | |
4381 | * libio/genops.c (save_for_backup): Likewise. | |
4382 | * libio/wgenops.c (save_for_wbackup): Likewise. | |
4383 | * locale/programs/ld-collate.c (collate_read): Likewise. | |
4384 | * locale/programs/linereader.c (get_string): Likewise. | |
4385 | * nis/nss_compat/compat-pwd.c (give_pwd_free): Likewise. | |
4386 | * nis/nss_compat/compat-spwd.c (give_spwd_free): Likewise. | |
4387 | * resolv/res_debug.c (do_section): Likewise. | |
4388 | * sunrpc/xdr_sizeof.c (x_inline, xdr_sizeof): Likewise. | |
4389 | * sysdeps/mach/hurd/if_index.c (libc_hidden_def): Likewise. | |
4390 | * sysdeps/posix/sprofil.c (__sprofil): Likewise. | |
4391 | * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise. | |
4392 | * time/tzset.c (tzset_internal): Likewise. | |
4393 | ||
354b7527 JJ |
4394 | 2008-03-18 Jakub Jelinek <jakub@redhat.com> |
4395 | ||
4396 | * sysdeps/unix/sysv/linux/dl-sysdep.h: Use __ASSEMBLER__ instead | |
4397 | of ASSEMBLER. | |
4398 | ||
ca668b29 UD |
4399 | 2008-03-11 Ulrich Drepper <drepper@redhat.com> |
4400 | ||
4401 | [BZ #5903] | |
4402 | * iconv/iconv_charmap.c (charmap_conversion): Pass name of output file | |
4403 | not stream for output file. Open output file here. | |
4404 | * iconv/iconv_prog.c (process_lock): Take pointer to output stream | |
4405 | and output file name. | |
4406 | (process_fd): Likewise. | |
4407 | (process_file): Likewise. | |
4408 | (main): Adjust callers of changed functions. | |
4409 | * iconv/iconv_prog.h: Adjust prototype. | |
4410 | ||
f3dc3415 AJ |
4411 | 2008-03-09 Andreas Jaeger <aj@suse.de> |
4412 | ||
4413 | [BZ #5753] | |
4414 | * sysdeps/ia64/ieee754.h: Use protected namespace | |
4415 | __BIG_ENDIAN/__LITTLE_ENDIAN. | |
4416 | * sysdeps/ieee754/ieee754.h: Likewise. | |
4417 | Patch by Aurelien Jarno <aurelien@aurel32.net>. | |
4418 | ||
a8fd84d4 RM |
4419 | 2008-03-08 Roland McGrath <roland@frob.com> |
4420 | ||
2b965f1b RM |
4421 | * hurd/hurdsig.c (_hurd_internal_post_signal): When normal rules would |
4422 | ignore a signal that came from a machine exception, treat it as a | |
4423 | fatal core-dump signal instead. | |
4424 | Reported by Samuel Thibault <samuel.thibault@ens-lyon.org>. | |
4425 | ||
a8fd84d4 RM |
4426 | * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): |
4427 | Clear DF bit in thread state's eflags. | |
4428 | Reported by Samuel Thibault <samuel.thibault@ens-lyon.org>. | |
4429 | ||
368a8dec UD |
4430 | 2008-03-08 Ulrich Drepper <drepper@redhat.com> |
4431 | ||
b3278554 UD |
4432 | [BZ #5774] |
4433 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Consume closing brace | |
c6c00e0d | 4434 | of NAN(...) sequence. |
b3278554 UD |
4435 | * stdlib/Makefile (tests): Add tst-strtod6. |
4436 | * stdlib/tst-strtod6.c: New file. | |
4437 | ||
4438 | * inet/inet6_opt.c (inet6_opt_init): Check extlen for overflow. | |
4439 | ||
2127a186 UD |
4440 | [BZ #5762] |
4441 | * posix/getopt.c (_getopt_internal_r): Clarify error message by | |
4442 | putting offending option character in quotes. Clean up error | |
4443 | messages. | |
4444 | * po/be.po: Adjust msgstr in translation file. | |
4445 | * po/bg.po: Likewise. | |
4446 | * po/ca.po: Likewise. | |
4447 | * po/cs.po: Likewise. | |
4448 | * po/da.po: Likewise. | |
4449 | * po/de.po: Likewise. | |
4450 | * po/es.po: Likewise. | |
4451 | * po/fr.po: Likewise. | |
4452 | * po/hr.po: Likewise. | |
4453 | * po/ko.po: Likewise. | |
4454 | * po/nl.po: Likewise. | |
4455 | * po/rw.po: Likewise. | |
4456 | * po/sk.po: Likewise. | |
4457 | * po/sv.po: Likewise. | |
4458 | * po/tr.po: Likewise. | |
4459 | * po/zh_CN.po: Likewise. | |
4460 | * po/zh_TW.po: Likewise. | |
4461 | ||
725c0c87 UD |
4462 | [BZ #5760] |
4463 | * inet/inet6_opt.c (inet6_opt_init): Fix ip6h_len computation. | |
4464 | Patch by Roland Bless <roland@bless.de>. | |
4465 | ||
368a8dec UD |
4466 | * sysdeps/unix/sysv/linux/dl-sysdep.c: Avoid unnecessary code for |
4467 | .o file. | |
4468 | * elf/Makefile (routines): Add dl-sysdep. | |
4469 | (elide-routines.os): Likewise. | |
4470 | ||
78c2bf0e UD |
4471 | 2008-03-07 Ulrich Drepper <drepper@redhat.com> |
4472 | ||
7c22c7ec UD |
4473 | [BZ #5786] |
4474 | * elf/dl-sysdep.c: Undefine ROUND after use. | |
4475 | * sysdeps/generic/ldsodefs.h [HAVE_DL_DISCOVER_OSVERSION] | |
4476 | (struct rtld_global_ro): Add _dl_tls_get_addr_soft element. | |
4477 | * elf/rtld.c (rtld_global_ro): Initialize _dl_discover_osversion. | |
4478 | * sysdeps/unix/sysv/linux/dl-osinfo.h: Move _dl_discover_osversion | |
4479 | to ... | |
4480 | * sysdeps/unix/sysv/linux/dl-sysdep.c: ...here. | |
4481 | * sysdeps/unix/sysv/linux/dl-sysdep.h: Declare _dl_discover_osversion | |
4482 | if necessary. | |
4483 | * sysdeps/unix/sysv/linux/sysconf.c: Handle _SC_ARG_MAX here. | |
4484 | ||
93025f93 UD |
4485 | * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add |
4486 | _dl_tls_get_addr_soft element. | |
4487 | * elf/rtld.c (rtld_global_ro): Initialize _dl_tls_get_addr_soft. | |
4488 | * elf/Versions (ld): Don't export _dl_tls_get_addr_soft. | |
4489 | * dlfcn/dlinfo.c (dlinfo_doit): Access dl_tls_get_addr_soft through | |
4490 | GLRO. | |
4491 | * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise. | |
4492 | * elf/dl-tls.c (_dl_tls_get_addr_soft): Use attribute_hidden instead | |
4493 | of internal_function. | |
4494 | ||
72f10127 UD |
4495 | * stdlib/Makefile (aux): Add tens_in_limb. |
4496 | * stdlib/strtod_l.c: Move _tens_in_limb definition to... | |
4497 | * stdlib/tens_in_limb.c: ...here. New file. | |
4498 | ||
443db178 UD |
4499 | [BZ #5778] |
4500 | * sysdeps/unix/sysv/linux/pathconf.h: Declare | |
4501 | __statfs_chown_restricted. | |
4502 | * sysdeps/unix/sysv/linux/fpathconf.c: Call __statfs_chown_restricted | |
4503 | for _PC_CHOWN_RESTRICTED. | |
4504 | * sysdeps/unix/sysv/linux/pathconf.c: Likewise. | |
4505 | Implement __statfs_chown_restricted. | |
4506 | * sysdeps/unix/sysv/linux/bits/posix_opt.h: Change | |
4507 | _POSIX_CHOWN_RESTRICTED value to zero. | |
c71665ad UD |
4508 | * io/tst-fchownat.c: Correctly handle _POSIX_CHOWN_RESTRICTED |
4509 | defined to zero. | |
443db178 | 4510 | |
78c2bf0e UD |
4511 | * sysdeps/x86_64/rtld-memset.c: New file. |
4512 | ||
443db178 | 4513 | 2008-02-26 Harsha Jagasia <harsha.jagasia@amd.com> |
78c2bf0e UD |
4514 | |
4515 | * sysdeps/x86_64/cacheinfo.c (NOT_USED_RIGHT_NOW): Remove ifdef guards. | |
4516 | ||
4517 | * sysdeps/x86_64/memset.S: Rewrite non-SSE code path as tuned for AMD | |
4518 | Barcelona machine. Make default fall through branch of | |
4519 | __x86_64_preferred_memory_instruction check as the integer code path. | |
4520 | ||
4521 | 2007-10-15 H.J. Lu <hongjiu.lu@intel.com> | |
4522 | ||
4523 | * sysdeps/x86_64/cacheinfo.c | |
4524 | (__x86_64_preferred_memory_instruction): New variable. | |
4525 | (init_cacheinfo): Initialize __x86_64_preferred_memory_instruction. | |
4526 | ||
4527 | * sysdeps/x86_64/memset.S: Rewrite. | |
4528 | ||
dff37515 UD |
4529 | 2008-03-04 Jakub Jelinek <jakub@redhat.com> |
4530 | ||
4531 | * include/stdio.h (__asprintf_chk, __dprintf_chk, | |
4532 | __obstack_printf_chk): New prototypes. | |
4533 | (__vasprintf_chk, __vdprintf_chk, | |
4534 | __obstack_vprintf_chk): Likewise. | |
4535 | Add libc_hidden_proto. | |
4536 | * libio/obprintf.c | |
4537 | (_IO_obstack_jumps): No longer static, add attribute_hidden. | |
4538 | * libio/bits/stdio-ldbl.h (__asprintf_chk, __dprintf_chk, | |
4539 | __obstack_printf_chk, __vasprintf_chk, __vdprintf_chk, | |
4540 | __obstack_vprintf_chk): Add __LDBL_REDIR_DECL. | |
4541 | * libio/bits/stdio2.h (__asprintf_chk, __dprintf_chk, | |
4542 | __obstack_printf_chk, __vasprintf_chk, __vdprintf_chk, | |
4543 | __obstack_vprintf_chk): New prototypes. | |
4544 | (asprintf, __asprintf, dprintf, obstack_printf, vasprintf, vdprintf, | |
4545 | obstack_vprintf): New inlines. | |
4546 | * debug/dprintf_chk.c: New file. | |
4547 | * debug/vdprintf_chk.c: New file. | |
4548 | * debug/asprintf_chk.c: New file. | |
4549 | * debug/vasprintf_chk.c: New file. | |
4550 | * debug/obprintf_chk.c: New file. | |
4551 | * debug/tst-chk1.c (do_test): Add asprintf and obstack_printf tests. | |
4552 | * debug/Versions (__asprintf_chk, __dprintf_chk, __obstack_printf_chk, | |
4553 | __vasprintf_chk, __vdprintf_chk, __obstack_vprintf_chk): Export | |
4554 | @@GLIBC_2.8. | |
4555 | * debug/Makefile: Build asprintf_chk, vasprintf_chk, dprintf_chk, | |
4556 | vdprintf_chk and obprintf_chk, set CFLAGS for them. | |
4557 | * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vasprintf_chk, | |
4558 | __nldbl___vdprintf_chk, __nldbl___obstack_vprintf_chk): Add | |
4559 | libc_hidden_proto. | |
4560 | * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl___vasprintf_chk, | |
4561 | __nldbl___vdprintf_chk, __nldbl___obstack_vprintf_chk): New prototypes. | |
4562 | * sysdeps/ieee754/ldbl-opt/Versions (__nldbl___asprintf_chk, | |
4563 | __nldbl___vasprintf_chk, __nldbl___dprintf_chk, __nldbl___vdprintf_chk, | |
4564 | __nldbl___obstack_printf_chk, __nldbl___obstack_vprintf_chk): Export | |
4565 | @@GLIBC_2.8. | |
4566 | * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add asprintf_chk, | |
4567 | vasprintf_chk, dprintf_chk, vdprintf_chk, obstack_printf_chk and | |
4568 | obstack_vprintf_chk. | |
4569 | * sysdeps/ieee754/ldbl-opt/nldbl-obstack_vprintf_chk.c: New file. | |
4570 | * sysdeps/ieee754/ldbl-opt/nldbl-dprintf_chk.c: New file. | |
4571 | * sysdeps/ieee754/ldbl-opt/nldbl-obstack_printf_chk.c: New file. | |
4572 | * sysdeps/ieee754/ldbl-opt/nldbl-asprintf_chk.c: New file. | |
4573 | * sysdeps/ieee754/ldbl-opt/nldbl-vdprintf_chk.c: New file. | |
4574 | * sysdeps/ieee754/ldbl-opt/nldbl-vasprintf_chk.c: New file. | |
4575 | ||
d835f136 UD |
4576 | 2008-03-04 Ulrich Drepper <drepper@redhat.com> |
4577 | ||
a4bb445a UD |
4578 | [BZ #5779] |
4579 | * misc/sys/queue.h: Add STAILQ_CONCAT and TAILQ_CONCAT definitions. | |
4580 | Patch by Roy Marples <roy@marples.name>. | |
4581 | ||
c958a6a4 UD |
4582 | [BZ #5736] |
4583 | * malloc/malloc.c: Fix typo in comment. | |
4584 | ||
d835f136 UD |
4585 | [BZ #5627] |
4586 | * locale/iso-639.def: Add Shuswap. | |
4587 | ||
65b4743a UD |
4588 | 2008-02-25 Jakub Jelinek <jakub@redhat.com> |
4589 | ||
4590 | [BZ #5790] | |
4591 | * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Don't | |
4592 | overwrite *h_errnop/*errnop values from getanswer_r in case of | |
4593 | failure. | |
4594 | ||
3868fb6e UD |
4595 | 2008-03-03 Ulrich Drepper <drepper@redhat.com> |
4596 | ||
27c377dd UD |
4597 | [BZ #5818] |
4598 | * nscd/connections.c (dbs): Add initializers for .suggested_module. | |
4599 | (verify_persistent_db): Remove one unnecessary test and add a new one | |
4600 | for bad configuration. | |
4601 | (nscd_init): Improve error reported when persistent database cannot | |
4602 | be reused. | |
4603 | * nscd/nscd.h (DEFAULT_SUGGESTED_MODULE): Define. | |
4604 | * nscd/nscd_conf.c (nscd_parse_file): Provide default values for | |
4605 | .suggested_module and .max_db_size and case config file says the | |
4606 | values are zero. | |
4607 | * nscd/nscd_helper.c (get_mapping): Fail if hash table module is zero. | |
4608 | ||
0f749099 UD |
4609 | [BZ #5854] |
4610 | * nis/ypclnt.c (yp_order): Fix handling of return value of | |
4611 | do_ypcall_tr call. | |
4612 | Patch by Jeff Moyer <jmoyer@redhat.com>. | |
4613 | ||
3868fb6e UD |
4614 | * po/fr.po: Update from translation team. |
4615 | ||
268dbf25 AJ |
4616 | 2008-02-22 Andreas Jaeger <aj@suse.de>, |
4617 | Carlos O'Donell <carlos@systemhalted.org> | |
4618 | ||
4619 | [BZ #5012] | |
4620 | * FAQ.in: Describe why glibc needs to be compiled with | |
4621 | optimization. | |
4622 | ||
73b82641 RM |
4623 | 2008-02-19 Roland McGrath <roland@redhat.com> |
4624 | ||
4625 | * elf/elf.h (SHT_GNU_ATTRIBUTES): New macro. | |
4626 | ||
c9136393 UD |
4627 | 2008-02-15 Ulrich Drepper <drepper@redhat.com> |
4628 | ||
4629 | [BZ #5737] | |
4630 | * resolv/netdb.h: Make NI_MAXHOST and NI_MAXSERV available when | |
4631 | __USE_MISC is defined. | |
4632 | ||
2e3e9ff1 UD |
4633 | 2008-02-10 Ulrich Drepper <drepper@redhat.com> |
4634 | ||
4635 | * sysdeps/unix/sysv/linux/sys/timerfd.h: New file. | |
4636 | * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers): Add | |
4637 | sys/timerfd.h. | |
4638 | * sysdeps/unix/sysv/linux/syscalls.list: Add timerfd_create, | |
4639 | timerfd_gettime, timerfd_settime. | |
4640 | * sysdeps/unix/sysv/linux/Versions: Add timerfd_create, | |
4641 | timerfd_gettime, timerfd_settime for GLIBC_2.8. | |
4642 | ||
85202a2b RM |
4643 | 2008-02-08 Roland McGrath <roland@redhat.com> |
4644 | ||
4645 | * elf/elf.h (NT_PPC_SPE): New macro. | |
4646 | ||
708ef8a4 RM |
4647 | 2008-02-06 Roland McGrath <roland@redhat.com> |
4648 | ||
4649 | * Makerules ($(common-objpfx)sysd-rules): | |
4650 | Depend on $(sysdep-makeconfigs). | |
4651 | ||
363a641b RM |
4652 | 2008-01-31 Roland McGrath <roland@redhat.com> |
4653 | ||
67fbfa5c RM |
4654 | [BZ #5442] |
4655 | * configure.in: Use -print-file-name if it yields a directory, | |
4656 | for each of include and include-fixed. | |
4657 | * configure: Regenerated. | |
4658 | ||
363a641b RM |
4659 | * Makeconfig (sysd-rules-targets): New variable. |
4660 | * sysdeps/unix/make-syscalls.sh: Use it in the rules emitted. | |
4661 | * sysdeps/unix/Makefile (omit-deps): Append variants for each target. | |
4662 | ||
0f0f9610 RM |
4663 | 2008-01-30 Roland McGrath <roland@redhat.com> |
4664 | ||
7bd00dbf RM |
4665 | * manual/libc.texinfo: Update back-cover text. |
4666 | ||
0f0f9610 RM |
4667 | * elf/elf.h (NT_386_TLS): New macro. |
4668 | ||
16cd816f RM |
4669 | 2008-01-29 Roland McGrath <roland@redhat.com> |
4670 | ||
4671 | * Makeconfig (sysd-rules-patterns): New variable. | |
4672 | * Makerules ($(common-objpfx)sysd-rules): Drive the loop from that. | |
4673 | (check-inhibit-asm): New canned sequence, replaces ... | |
4674 | (open-check-inhibit-asm, close-check-inhibit-asm): ... these, removed. | |
4675 | * elf/rtld-Rules ($(objpfx)rtld-%.os): Use $(rtld-CPPFLAGS) in commands. | |
4676 | (rtld-CPPFLAGS): Renamed from CPPFLAGS-rtld. | |
4677 | (CFLAGS-rtld): Variable removed. | |
4678 | ||
f641ffcc RM |
4679 | 2008-01-24 Roland McGrath <roland@redhat.com> |
4680 | ||
4681 | * configure.in: Let configure fragments set base_os. | |
4682 | * configure: Regenerated. | |
4683 | ||
b7e26885 UD |
4684 | 2008-01-22 Ulrich Drepper <drepper@redhat.com> |
4685 | ||
4686 | * po/ko.po: Update from translation team. | |
4687 | ||
b4b166af UD |
4688 | 2008-01-12 H.J. Lu <hongjiu.lu@intel.com> |
4689 | ||
4690 | * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Use short for fnstsw. | |
4691 | ||
f66def9d AJ |
4692 | 2008-01-12 Andreas Jaeger <aj@suse.de> |
4693 | ||
4694 | [BZ #5040] | |
4695 | * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h (enum EPOLL_EVENTS): | |
4696 | Add EPOLLRDHUP. | |
4697 | ||
d3bc5e77 RM |
4698 | 2008-01-20 Samuel Thibault <samuel.thibault@ens-lyon.org> |
4699 | ||
4700 | * hurd/hurdsock.c (_hurd_socket_server): Return the standard | |
4701 | error EAFNOSUPPORT rather than non-standard EPFNOSUPPORT. | |
4702 | * sunrpc/bindrsvprt.c (bindresvport): Likewise. | |
4703 | ||
4c533566 UD |
4704 | 2007-10-23 Alexandre Oliva <aoliva@redhat.com> |
4705 | ||
4706 | * include/link.h (FORCED_DYNAMIC_TLS_OFFSET): Define. | |
4707 | * elf/dl-close.c (_dl_close): Check for it. | |
4708 | * elf/dl-reloc.c (CHECK_STATIC_TLS): Likewise. | |
4709 | (_dl_allocate_static_tls): Likewise. | |
4710 | * elf/dl-tls.c (_dl_allocate_tls_init): Likewise. | |
4711 | (__tls_get_addr): Protect from race conditions in setting l_tls_offset | |
4712 | to it. | |
4713 | * elf/tst-tls16.c: New file. | |
4714 | * elf/tst-tlsmod16a.c: New file. | |
4715 | * elf/tst-tlsmod16b.c: New file. | |
4716 | * elf/Makefile: Add rules to build and run tst-tls16. | |
4717 | ||
a53d3f82 UD |
4718 | 2008-01-16 Ulrich Drepper <drepper@redhat.com> |
4719 | ||
a0f6c236 UD |
4720 | [BZ #5628] |
4721 | * bits/shm.h: Fix comment describing shmid_ds. | |
4722 | * sysdeps/gnu/bits/shm.h: Likewise. | |
4723 | * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise. | |
4724 | * sysdeps/unix/sysv/linux/bits/shm.h: Likewise. | |
4725 | * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise. | |
4726 | * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise. | |
4727 | * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise. | |
4728 | * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise. | |
4729 | * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise. | |
4730 | * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise. | |
4731 | Patch by Hareesh Nagarajan <hareesh.nagarajan@gmail.com>. | |
4732 | ||
a53d3f82 UD |
4733 | [BZ #5607] |
4734 | * conform/data/fcntl.h-data: Fix posix_fadvise and posix_fallocate | |
4735 | prototypes. | |
4736 | * conform/data/limits.h-data: Adjust limits changed in v6 and add | |
4737 | additional suffixes. | |
4738 | * conform/data/mqueue.h-data: Fix typo in mq_curmsgs entry. | |
4739 | Add optional functions mq_timedreceive and mq_timedsend. | |
4740 | * conform/data/netdb.h-data: Add more AI_* and EAI_* constants. | |
4741 | * conform/data/pthread.h-data: Fix prototype of | |
4742 | pthread_condattr_setclock. pthread_sigmask is not required in v6. | |
4743 | * conform/data/semaphore.h-data: Allow time.h definitions. | |
4744 | * conform/data/signal.h-data: Likewise. | |
4745 | * conform/data/stdio.h-data: getw and putw are not required in v6. | |
4746 | * conform/data/stdlib.h-data: Change setstate prototype. | |
4747 | * conform/data/string.h-data: Fix strerror_r prototype. | |
4748 | * conform/data/time.h-data: Fix typo in TIMER_ABSTIME definition. | |
4749 | * conform/data/unistd.h-data: pthread_atfork not required in v6. | |
4750 | Fix readlink prototype. | |
4751 | * conform/data/netinet/in.h-data: Add const to in6addr_any and | |
4752 | in6addr_loopback. | |
4753 | * inet/netinet/in.h: Cleanup namespace. | |
4754 | * posix/regex.h: Likewise. | |
4755 | * resolv/netdb.h: Likewise. | |
4756 | * sysdeps/unix/sysv/linux/bits/in.h: Likewise. | |
4757 | * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. | |
4758 | * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise. | |
6107639e UD |
4759 | * sysdeps/posix/getaddrinfo.c (default_labels): Adjust for change |
4760 | of names of in in6_addr. | |
4761 | (default_precedence): Likewise. | |
4762 | * sysdeps/unix/sysv/linux/cmsg_nxthdr.c: Include <stddef.h> for | |
4763 | NULL definition. | |
a53d3f82 | 4764 | |
ebca8f73 UD |
4765 | 2008-01-15 Ulrich Drepper <drepper@redhat.com> |
4766 | ||
fbe90cd5 UD |
4767 | * conform/data/fmtmsg.h-data: Add missing allows. |
4768 | * conform/data/ftw.h-data: Likewise. | |
4769 | * conform/data/inttypes.h-data: Likewise. | |
4770 | * conform/data/math.h-data: Likewise. | |
4771 | * conform/data/signal.h-data: Likewise. | |
4772 | * conform/data/net/if.h-data: Likewise. | |
4773 | * conform/data/netinet/in.h-data: Likewise. | |
4774 | * conform/data/sys/socket.h-data: Likewise. | |
4775 | ||
ebca8f73 UD |
4776 | [BZ #5614] |
4777 | * string/bits/string2.h (__strtok_r_1c): Always update *__NEXTP. | |
4778 | (__strtok_r): Simplify. | |
4779 | * string/tester.c (test_strtok_r): Add test case for futile search | |
4780 | with single-character seach string. | |
4781 | ||
7c33ca8b UD |
4782 | 2008-01-12 Ulrich Drepper <drepper@redhat.com> |
4783 | ||
4784 | * po/ko.po: Update from translation team. | |
4785 | ||
b8cc0848 AJ |
4786 | 2008-01-11 Andreas Jaeger <aj@suse.de> |
4787 | ||
4788 | [BZ #5600] | |
4789 | * sysdeps/unix/sysv/linux/sys/signalfd.h (struct | |
4790 | signalfd_siginfo): Use 64-bit type for ssi_ptr to sync with Linux | |
4791 | kernel header. | |
4792 | ||
49029a66 UD |
4793 | 2008-01-10 Ulrich Drepper <drepper@redhat.com> |
4794 | ||
4795 | * sysdeps/posix/getaddrinfo.c (rfc3484_sort): Store result of | |
4796 | native interface lookup in all the relevant places. | |
4797 | ||
99f05798 UD |
4798 | 2008-01-10 Jakub Jelinek <jakub@redhat.com> |
4799 | Ulrich Drepper <drepper@redhat.com> | |
0efd1956 UD |
4800 | |
4801 | * sysdeps/posix/getaddrinfo.c (sort_results): Remove service_order | |
4802 | field. Use sockaddr_in6 for source_addr. | |
4803 | (get_scope): Change type of parameter to sockaddr_in6. Adjust. | |
4804 | (match_prefix): Likewise. | |
4805 | (get_label): Likewise. | |
4806 | (get_precedence): Likewise. | |
4807 | (rfc3484_sort): Change to use indirect access to results array. | |
4808 | Adjust to use of sockaddr_in6. Replace service_order test with | |
4809 | simple index comparison. | |
4810 | (getaddrinfo): Define order array. Initialize it. Don't initialize | |
4811 | service_order field. Adjust qsort_t calls. Access sorted result | |
4812 | array indirectly through order array. | |
4813 | * posix/tst-rfc3484.c: Adjust for change of rfc3484_sort. | |
4814 | * posix/tst-rfc3484-2.c: Likewise. | |
4815 | * posix/tst-rfc3484-3.c: Likewise. | |
4816 | ||
b3443701 UD |
4817 | 2008-01-09 Ulrich Drepper <drepper@redhat.com> |
4818 | ||
f6bacb8e UD |
4819 | [BZ #5541] |
4820 | * sunrpc/rpc_thread.c (__rpc_thread_destroy): Also free xports and | |
4821 | pollfd structures. | |
4822 | Patch by André Cruz. | |
4823 | ||
aa693c68 UD |
4824 | [BZ #5545] |
4825 | * sunrpc/clnt_perr.c (clnt_sperror): Don't use fixed size buffer. | |
4826 | (clnt_spcreateerror): Likewise. | |
4827 | ||
b3443701 UD |
4828 | [BZ #5553] |
4829 | * malloc/malloc.c (public_mALLOc): Set ar_ptr when trying main_arena. | |
4830 | (public_mEMALIGn): Likewise. | |
4831 | Patch mostly by Daniel Jacobowitz. | |
4832 | ||
148e12ed UD |
4833 | 2008-01-09 Jakub Jelinek <jakub@redhat.com> |
4834 | ||
4835 | * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext): Avoid | |
4836 | clobbering memory at or above uc_stack.ss_sp + uc_stack.ss_size. | |
4837 | * stdlib/Makefile: Add rules to build and run tst-makecontext2. | |
4838 | * stdlib/tst-makecontext2.c: New test. | |
4839 | ||
78c2bf0e | 4840 | 2008-01-08 Jakub Jelinek <jakub@redhat.com> |
4b1b449d UD |
4841 | |
4842 | * iconv/loop.c (UPDATE_PARAMS): Define to empty statement if not | |
4843 | defined. | |
4844 | (REINIT_PARAMS): Likewise. Undefine before end of file. | |
4845 | (STANDARD_TO_LOOP_ERR_HANDLER): Use UPDATE_PARAMS before calling | |
4846 | transliteration hooks and REINIT_PARAMS afterwards. | |
4847 | * iconvdata/iso-2022-jp.c (BODY): Use a separate variable for | |
4848 | status. | |
4849 | (REINIT_PARAMS): Define. | |
4850 | * iconvdata/ibm1364.c (REINIT_PARAMS): Likewise. | |
4851 | * iconvdata/ibm930.c (REINIT_PARAMS): Likewise. | |
4852 | * iconvdata/ibm933.c (REINIT_PARAMS): Likewise. | |
4853 | * iconvdata/ibm935.c (REINIT_PARAMS): Likewise. | |
4854 | * iconvdata/ibm937.c (REINIT_PARAMS): Likewise. | |
4855 | * iconvdata/ibm939.c (REINIT_PARAMS): Likewise. | |
4856 | * iconvdata/iso-2022-cn.c (REINIT_PARAMS): Likewise. | |
4857 | * iconvdata/iso-2022-cn-ext.c (REINIT_PARAMS): Likewise. | |
4858 | * iconvdata/iso-2022-jp-3.c (REINIT_PARAMS): Likewise. | |
4859 | * iconvdata/iso-2022-kr.c (REINIT_PARAMS): Likewise. | |
4860 | * iconvdata/Makefile: Add rules to build and run tst-iconv7.c. | |
4861 | * iconvdata/tst-iconv7.c: New test. | |
4862 | ||
71edcafa UD |
4863 | 2008-01-07 Ulrich Drepper <drepper@redhat.com> |
4864 | ||
4865 | * libio/stdio.h (vscanf): Fix definition for loser compilers. | |
4866 | ||
0fbfe2f7 JJ |
4867 | 2008-01-05 Jakub Jelinek <jakub@redhat.com> |
4868 | ||
4869 | [BZ #5112] | |
4870 | * nscd/connections.c (restart): Fix condition. | |
4871 | ||
8726a12e UD |
4872 | 2008-01-03 Jakub Jelinek <jakub@redhat.com> |
4873 | ||
4874 | * ctype/ctype.h (__ctype_b_loc, __ctype_tolower_loc, | |
4875 | __ctype_toupper_loc): Add __THROW. | |
4876 | ||
f4a1363e UD |
4877 | 2008-01-02 Ulrich Drepper <drepper@redhat.com> |
4878 | ||
ad586879 UD |
4879 | * sysdeps/unix/sysv/linux/check_pf.c (make_request): Fix |
4880 | recognition of interface family. | |
4881 | ||
f4a1363e UD |
4882 | * posix/getconf.c: Update copyright year. |
4883 | * nss/getent.c: Likewise. | |
4884 | * iconv/iconvconfig.c: Likewise. | |
4885 | * iconv/iconv_prog.c: Likewise. | |
4886 | * elf/ldconfig.c: Likewise. | |
4887 | * catgets/gencat.c: Likewise. | |
4888 | * csu/version.c: Likewise. | |
4889 | * elf/ldd.bash.in: Likewise. | |
4890 | * elf/sprof.c (print_version): Likewise. | |
4891 | * locale/programs/locale.c: Likewise. | |
4892 | * locale/programs/localedef.c: Likewise. | |
4893 | * nscd/nscd.c (print_version): Likewise. | |
4894 | * debug/xtrace.sh: Likewise. | |
4895 | * malloc/memusage.sh: Likewise. | |
4896 | * malloc/mtrace.pl: Likewise. | |
4897 | * debug/catchsegv.sh: Likewise. | |
4898 | ||
0dc6c5e4 UD |
4899 | 2007-12-26 Ulrich Drepper <drepper@redhat.com> |
4900 | ||
4901 | * nss/nsswitch.c (__nss_lookup): Actually use alternative name in | |
4902 | second lookup. | |
4903 | ||
80af8b82 UD |
4904 | 2007-12-23 Ulrich Drepper <drepper@redhat.com> |
4905 | ||
4906 | * sysdeps/x86_64/cacheinfo.c (intel_02_known): New entry 0x3f. | |
4907 | * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise. | |
4908 | ||
4bcecfb7 RM |
4909 | 2007-12-17 Roland McGrath <roland@redhat.com> |
4910 | ||
4911 | * inet/ether_line.c (ether_line): Remove unused variable. | |
4912 | ||
4913 | 2007-12-17 Samuel Thibault <samuel.thibault@ens-lyon.org> | |
4914 | ||
4915 | * login/forkpty.c (forkpty): Add const qualifier to parameters termp | |
4916 | and winp. | |
4917 | * login/openpty.c (openpty): Likewise. | |
4918 | * login/pty.h (openpty, forkpty): Likewise. | |
4919 | * manual/terminal.texi (openpty, forkpty): Likewise. | |
4920 | ||
4cd4c5d6 UD |
4921 | 2007-12-17 Ulrich Drepper <drepper@redhat.com> |
4922 | ||
78c2bf0e | 4923 | * malloc/malloc.c (public_cALLOc): For arenas other than |
4cd4c5d6 UD |
4924 | main_arena, count all bytes inside the mprotect_size range of the |
4925 | heap as uninitialized. | |
4926 | ||
68631c8e UD |
4927 | 2007-12-16 Ulrich Drepper <drepper@redhat.com> |
4928 | ||
d9961b6a UD |
4929 | * elf/tst-execstack.c (do_test): Don't fail if SELinux forbids |
4930 | executable stacks. | |
4931 | ||
68631c8e UD |
4932 | * malloc/malloc.c (public_mTRIm): Iterate over all arenas and call |
4933 | mTRIm for all of them. | |
4934 | (mTRIm): Additionally iterate over all free blocks and use madvise | |
4935 | to free memory for all those blocks which contain at least one | |
4936 | memory page. | |
be8c1500 UD |
4937 | * malloc/tst-trim1.c: New file. |
4938 | * malloc/Makefile (tests): Add tst-trim1. | |
68631c8e UD |
4939 | |
4940 | * malloc/malloc.c (do_check_malloc_state): Minimal cleanups. | |
4941 | ||
78b767a0 UD |
4942 | 2007-12-14 Ulrich Drepper <drepper@redhat.com> |
4943 | ||
4944 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INTERNAL_SYSCALL_ERROR_P): | |
4945 | First cast argument to long | |
52386be7 UD |
4946 | * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_gettimeofday): |
4947 | Return long. | |
4948 | (__vdso_clock_gettime): Likewise. | |
78b767a0 UD |
4949 | * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Functions |
4950 | return long. | |
4951 | ||
bc3e1c12 UD |
4952 | 2007-12-13 Ulrich Drepper <drepper@redhat.com> |
4953 | ||
4954 | * locale/nl_langinfo.c (nl_langinfo): Just call __nl_langinfo_l. | |
4955 | * locale/nl_langinfo_l.c: Real implementation, copied from | |
4956 | nl_langinfo.c. | |
4957 | * include/langinfo.h: Add libc_hidden_proto for __nl_langinfo_l. | |
4958 | ||
77751669 UD |
4959 | 2007-12-01 Jim Meyering <meyering@redhat.com> |
4960 | ||
4961 | * posix/regcomp.c (optimize_utf8): Fix a typo, s/idx/ctx_type/, | |
4962 | that would inhibit utf8-optimization of a regexp containing line- | |
4963 | or buffer-anchors, e.g., `^', `$'. | |
4964 | ||
f63e5063 UD |
4965 | 2007-12-12 Ulrich Drepper <drepper@redhat.com> |
4966 | ||
4967 | * time/bug-getdate1.c (do_test): Don't use century values which | |
4968 | aren't valid on 32-bit systems. | |
4969 | ||
a78814a9 UD |
4970 | 2007-12-12 Jakub Jelinek <jakub@redhat.com> |
4971 | ||
4972 | * sysdeps/i386/i486/bits/string.h (memmove): Define as macro. | |
4973 | (memmove): Rename to __memmove_g, with __asm__ ("memmove"). | |
4974 | * sysdeps/s390/bits/string.h (__strlen_g, __strcpy_g, __strncpy_g, | |
4975 | __strcat_g, __strncat_g): Add __asm__. | |
4976 | ||
4977 | 2007-12-12 Ulrich Drepper <drepper@redhat.com> | |
4978 | ||
4979 | [BZ #5477] | |
4980 | * io/fchmodat.c: Fix typo in stub_warning use. | |
4981 | Patch by Petr Salinger. | |
4982 | ||
17edb30c UD |
4983 | 2007-12-11 Ulrich Drepper <drepper@redhat.com> |
4984 | ||
58d11795 UD |
4985 | * iconvdata/hp-thai8.c: New file. |
4986 | * iconvdata/Makefile: Add rules for hp-thai8.c. | |
4987 | * iconvdata/tst-tables.sh: Add entry for HP-THAI8. | |
4988 | * iconvdata/gconv-modules: Likewise. | |
4989 | ||
4990 | [BZ #5464] | |
4991 | * iconvdata/hp-greek8.c: New file. | |
4992 | * iconvdata/Makefile: Add rules for hp-greek8.c. | |
4993 | * iconvdata/tst-tables.sh: Add entry for HP-GREEK8. | |
4994 | * iconvdata/gconv-modules: Likewise. | |
4995 | ||
4996 | [BZ #5463] | |
4997 | * iconvdata/hp-turkish8.c: New file. | |
4998 | * iconvdata/Makefile: Add rules for hp-turkish8.c. | |
4999 | * iconvdata/tst-tables.sh: Add entry for HP-TURKISH8. | |
5000 | * iconvdata/gconv-modules: Likewise. | |
5001 | ||
cbf5760e UD |
5002 | * malloc/arena.c (grow_heap): Split out code to shrink heap into... |
5003 | (shrink_heap): ... this new function. | |
5004 | (heap_trim): Call shrink_heap instead of grow_heap. | |
5005 | ||
17edb30c UD |
5006 | * malloc/malloc.c (_int_malloc): sYSMALLOc might fail, in this |
5007 | case don't call alloc_perturb. | |
5008 | ||
ae18718f UD |
5009 | 2007-12-10 Ulrich Drepper <drepper@redhat.com> |
5010 | ||
5011 | * sysdeps/unix/sysv/linux/adjtime.c: Use ADJ_OFFSET_SS_READ if | |
5012 | possible. | |
5013 | * sysdeps/unix/sysv/linux/kernel-features.h | |
5014 | (__ASSUME_ADJ_OFFSET_SS_READ): Define for 2.6.24. | |
5015 | * sysdeps/unix/sysv/linux/sys/timex.h (ADJ_OFFSET_SS_READ): Define. | |
5016 | ||
b4354cf4 UD |
5017 | 2007-12-08 Ulrich Drepper <drepper@redhat.com> |
5018 | ||
5019 | [BZ #5424] | |
5020 | * stdio-common/vfprintf.c: Do not overflow when adding to done. | |
5021 | * stdio-common/Makefile (tests): Add bug22. | |
5022 | * stdio-common/bug22.c: New file. | |
5023 | ||
5024 | [BZ #5451] | |
5025 | * time/getdate.c: Fix filling in default values. | |
5026 | * time/bug-getdate1.c: New file. | |
5027 | * time/Makefile: Add rules to build and run bug-getdate1. | |
5028 | ||
5029 | * iconvdata/ebcdic-is-friss.c: Use 8bit-gap instead of 8bit-generic. | |
5030 | * iconvdata/ebcdic-es.c: Likewise. | |
5031 | * iconvdata/ebcdic-es-a.c: Likewise. | |
5032 | * iconvdata/ebcdic-uk.c: Likewise. | |
5033 | * iconvdata/iso8859-16.c: Likewise. | |
5034 | * iconvdata/viscii.c: Likewise. | |
5035 | * iconvdata/iso8859-9e.c: Likewise. | |
5036 | * iconvdata/Makefile: Adjust appropriately. | |
5037 | ||
5038 | [BZ #5428] | |
5039 | * wcsmbs/wchar.h: Unconditionally undefine __need_mbstate and | |
5040 | __need_wint_t. | |
5041 | ||
26e21e75 UD |
5042 | 2007-12-07 Ulrich Drepper <drepper@redhat.com> |
5043 | ||
87520ccc UD |
5044 | [BZ #5427] |
5045 | * iconvdata/hp-roman9.c: New file. | |
5046 | * iconvdata/Makefile: Add rules for hp-roman9.c. | |
5047 | * iconvdata/tst-tables.sh: Add HP-ROMAN9. | |
b4354cf4 | 5048 | * iconvdata/gconv-modules: Likewise. |
87520ccc UD |
5049 | |
5050 | * iconvdata/hp-roman8.c: Use 8bit-gap instead of 8bit-generic. | |
5051 | * iconvdata/Makefile: Adjust appropriately. | |
5052 | ||
26e21e75 UD |
5053 | [BZ #5441] |
5054 | * stdio-common/vfscanf.c (_IO_vfwscanf): Don't free ptrs_to_free | |
5055 | structure, it's allocated with alloca. | |
5056 | * stdio-common/Makefile (tests): Add bug21. | |
5057 | * stdio-common/bug21.c: New file. | |
5058 | ||
5059 | 2007-12-06 Aurelien Jarno <aurelien@aurel32.net> | |
5060 | ||
5061 | [BZ #5452] | |
5062 | * sysdeps/unix/sysv/linux/bits/sched.h: Use __extension__ | |
87520ccc | 5063 | keyword for gcc's braced-groups. |
26e21e75 UD |
5064 | |
5065 | 2007-12-07 Ulrich Drepper <drepper@redhat.com> | |
5066 | ||
5067 | [BZ #5454] | |
5068 | * inet/ether_line.c: Strip hostname of whitespaces. | |
5069 | * inet/Makefile (tests): Add tst-ether_line. | |
5070 | * inet/tst-ether_line.c: New file. | |
5071 | ||
9e80c123 UD |
5072 | 2007-12-03 Ulrich Drepper <drepper@redhat.com> |
5073 | ||
da0ff4ae UD |
5074 | [BZ #5439] |
5075 | * sysdeps/unix/sysv/linux/sys/signalfd.h: Fix use of __nonnull. | |
5076 | ||
51bd20d9 UD |
5077 | [BZ #5435] |
5078 | * sysdeps/unix/sysv/linux/i386/makecontext.S: Align stack. | |
5079 | ||
d90d0256 UD |
5080 | * stdlib/tst-setcontext.c: Catch the case where the links gets |
5081 | messed up and we do not reach main again. | |
5082 | ||
9e80c123 UD |
5083 | * po/ca.po: Update from translation team. |
5084 | ||
ae4287f8 UD |
5085 | 2007-11-26 Ulrich Drepper <drepper@redhat.com> |
5086 | ||
6701afc7 | 5087 | * posix/unistd.h: Declare fsync also for __USE_XOPEN2K. |
79fb2e02 | 5088 | * posix/regex.h (REG_ENOSYS): Likewise. |
a912a4f8 | 5089 | * wcsmbs/wchar.h: Define __need_file also for __USE_XOPEN2K. |
ae4287f8 | 5090 | |
30294ea4 UD |
5091 | 2007-11-25 Ulrich Drepper <drepper@redhat.com> |
5092 | ||
5093 | * nscd/nscd.h (MAX_STACK_USE): Define. | |
5094 | * nscd/mem.c (MAX_STACK_USE): Remove definition here. | |
5095 | (gc): Initialize stack_used based on allocation in prune_cache. | |
5096 | * nscd/cache.c (prune_cache): Use heap for mark array if necessary. | |
e8667ddc | 5097 | Clear array before use. |
30294ea4 UD |
5098 | |
5099 | * nscd/aicache.c (addhstaiX): Update statistics counter in case | |
10a4c1e9 | 5100 | memory allocation failed. |
e8667ddc UD |
5101 | * nscd/hstcache.c (cache_addhst): Likewise. |
5102 | * nscd/grpcache.c (cache_addgr): Likewise. | |
5103 | * nscd/servicescache.c (cache_addserv): Likewise. | |
5104 | * nscd/pwdcache.c (cache_addpw): Likewise. | |
5105 | * nscd/initgrcache.c (addinitgroupsX): Likewise. | |
30294ea4 | 5106 | |
715db78b UD |
5107 | 2007-11-23 Ulrich Drepper <drepper@redhat.com> |
5108 | ||
609bb071 UD |
5109 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Add open |
5110 | and creat system calls. | |
5111 | ||
715db78b UD |
5112 | * sysdeps/unix/sysv/linux/check_native.c: Include <asm/types.h>. |
5113 | ||
ea2c47b6 UD |
5114 | 2007-11-23 Martin Schwidefsky <schwidefsky@de.ibm.com> |
5115 | ||
5116 | * sysdeps/unix/sysv/linux/Makefile [subdir=inet] (sysdep_headers): | |
5117 | Add netiucv/iucv.h. | |
5118 | * sysdeps/unix/sysv/linux/netiucv/iucv.h: New file. | |
5119 | * sysdeps/unix/sysv/linux/opensock.c (__opensock): Add AF_IUCV | |
5120 | protocol. | |
5121 | * sysdeps/unix/sysv/linux/sa_len.c (__libc_sa_len): Likewise. | |
5122 | * sysdeps/unix/sysv/linux/s390/opensock.c: New file. | |
5123 | * sysdeps/unix/sysv/linux/s390/sa_len.c: New file. | |
5124 | ||
dcdcf4b9 UD |
5125 | 2007-11-22 Martin Schwidefsky <schwidefsky@de.ibm.com> |
5126 | ||
37143323 UD |
5127 | * sysdeps/s390/bits/string.h (strlen, strcpy, strncpy, strcat, |
5128 | strncat): Define as macros to avoid compile errors. | |
5129 | ||
dcdcf4b9 UD |
5130 | * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Add open and |
5131 | creat entries. | |
5132 | ||
3a632674 UD |
5133 | 2007-11-22 Ulrich Drepper <drepper@redhat.com> |
5134 | ||
7ea8eb02 UD |
5135 | [BZ #5382] |
5136 | * nscd/nscd.h (NSCD_THREAD_STACKSIZE): Define. | |
5137 | * nscd/connections.c (start_threads): Use NSCD_THREAD_STACKSIZE. | |
715db78b | 5138 | * nscd/mem.c (gc): Don't allocate arrays on the stack if they can |
7ea8eb02 | 5139 | overflow it. |
70d5b6ef | 5140 | Partially based on a patch by Petr Baudis <pasky@suse.cz>. |
7ea8eb02 UD |
5141 | |
5142 | * sysdeps/unix/sysv/linux/nscd_setup_thread.c (setup_thread): | |
715db78b | 5143 | Return zero in case the thread library is not NPTL. |
7ea8eb02 | 5144 | |
5c3a3dba UD |
5145 | [BZ #5375] |
5146 | * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix locking when | |
5147 | initializing interface list. | |
5148 | ||
85883123 UD |
5149 | [BZ #5378] |
5150 | * nis/nss_compat/compat-initgroups.c (getgrent_next_nss): Don't | |
5151 | use result of nss_getgrgid_r if nothing was found. For other | |
5152 | error return with a failure. | |
5153 | Partially based on a patch by Petr Baudis <pasky@suse.cz>. | |
5154 | ||
3a632674 UD |
5155 | * locale/programs/ld-collate.c (collate_read): Fix loop to match |
5156 | macro name. | |
5157 | ||
b73f9135 UD |
5158 | 2007-11-19 Ulrich Drepper <drepper@redhat.com> |
5159 | ||
ee72b971 UD |
5160 | * sysdeps/posix/getaddrinfo.c (defaults_scopes, scopes): New variables. |
5161 | (get_scope): For IPv4 scope, use scopes table. | |
5162 | (fini): Free scopes table if necessary. | |
5163 | (free_scopelist): New function. | |
5164 | (scopecmp): New function. | |
5165 | (gaiconf_init): Also handle scopev4 entries. | |
5166 | * posix/tst-rfc3484.c (do_test): Initialize scopes. | |
5167 | * posix/tst-rfc3484-2.c (do_test): Likewise. | |
5168 | * posix/gai.conf: Document scopev4 defaults. | |
5169 | * posix/Makefile (tests): Add tst-rfc3484-3. | |
5170 | * posix/tst-rfc3484-3.c: New file. | |
5171 | ||
f4a79765 UD |
5172 | * sysdeps/posix/getaddrinfo.c (default_labels): Describe entry for |
5173 | Teredo tunnels. | |
b73f9135 UD |
5174 | * posix/gai.conf: Update for current default tables. |
5175 | ||
429bd64d UD |
5176 | 2007-11-19 Ulrich Drepper <drepper@redhat.com> |
5177 | ||
5178 | * po/tr.po: Update from translation team. | |
5179 | ||
3c9af259 RM |
5180 | 2007-11-18 Roland McGrath <roland@frob.com> |
5181 | ||
76cf9889 RM |
5182 | * manual/arith.texi (Remainder Functions): Spelling fix. |
5183 | From Shaun Silk <genix@mysoul.com.au>. | |
5184 | ||
3c9af259 RM |
5185 | * sysdeps/mach/hurd/bits/fcntl.h (O_CLOEXEC): Fix value. |
5186 | ||
238346ab UD |
5187 | 2007-11-17 Ulrich Drepper <drepper@redhat.com> |
5188 | ||
5879ad50 UD |
5189 | * po/zh_CN.po: Update from translation team. |
5190 | ||
238346ab UD |
5191 | * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers): |
5192 | Add sys/signalfd.h and sys/eventfd.h. | |
5193 | ||
b80b9c77 UD |
5194 | 2007-11-15 Bruno Haible <bruno@clisp.org> |
5195 | ||
5196 | [BZ #5346] | |
5197 | * intl/dcigettext.c (struct known_translation_t): Turn msgid into a | |
5198 | union. | |
5199 | (transcmp): Use the appropriate part of s1->msgid and s2->msgid. | |
5200 | (DCIGETTEXT): Change the allocation of the 'search' variable so that | |
5201 | it needs only fixed stack space. Delay the initialization of | |
5202 | msgid_len until it is needed. | |
5203 | ||
2da2501c AJ |
5204 | 2007-11-15 Andreas Jaeger <aj@suse.de> |
5205 | ||
5206 | * sysdeps/ieee754/dbl-64/sincos.tbl: Fix size of union. | |
5207 | Reported by Christoph Quirin Lauter <christoph.lauter@ens-lyon.fr>. | |
5208 | ||
68a6dcf5 UD |
5209 | 2007-11-15 Ulrich Drepper <drepper@redhat.com> |
5210 | ||
5211 | * po/ko.po: Update from translation team. | |
5212 | ||
43850227 UD |
5213 | 2007-11-14 Ulrich Drepper <drepper@redhat.com> |
5214 | ||
1e2692c9 UD |
5215 | * sysdeps/unix/sysv/linux/check_native.c (__check_native): Simplify |
5216 | significantly. The device type is also part of the ifinfomsg data. | |
5217 | ||
84e6cc7c | 5218 | * po/sv.po: Update from translation team. |
cbd52634 | 5219 | * po/nl.po: Likewise. |
84e6cc7c | 5220 | |
f9e2261b UD |
5221 | * nscd/cache.c (prune_cache): If cache is empty, instruct caller |
5222 | to wake up in 24 hours. | |
5223 | ||
43850227 UD |
5224 | * nscd/gai.c (__ioctl): Define. Include check_native.c. |
5225 | ||
5742e960 UD |
5226 | 2007-11-13 Ulrich Drepper <drepper@redhat.com> |
5227 | ||
1a821d82 UD |
5228 | * po/cs.po: Update from translation team. |
5229 | * po/pl.po: Likewise. | |
5230 | ||
773e79b3 UD |
5231 | * include/ifaddrs.h: Remove in6ai_temporary. |
5232 | (struct in6addrinfo): Add index element. | |
5233 | Declare __check_native. | |
5234 | * inet/Makefile (aux): Add check_native. | |
5235 | * sysdeps/unix/sysv/linux/check_native.c: New file. | |
5236 | * sysdeps/unix/sysv/linux/check_pf.c: No need to recognize | |
5237 | IFA_F_TEMPORARY. Pass back ifa_index. | |
5238 | * sysdeps/posix/getaddrinfo.c: Remove netlink compatibility code. | |
5239 | (rfc3484_sort): Add new parameter. Implement rule 7 correctly: | |
5240 | call __check_native if necessary. | |
5241 | (getaddrinfo): Fill in index field. Use qsort_r instead of qsort | |
5242 | to sort addresses. Pass information about the results. | |
5243 | * posix/tst-rfc3484.c: Adjust for addition of index field and change | |
5244 | of rfc3484_sort interface. | |
5245 | * posix/tst-rfc3484-2.c: Likewise. | |
5246 | ||
e458144c UD |
5247 | * stdlib/stdlib.h: Define __compar_d_fn_t. Declare qsort_r. |
5248 | * include/stdlib.h: Add hidden_proto for qsort_t and adjust protoype | |
5249 | for _quicksort. | |
5250 | * stdlib/msort.c (qsort): Now a wrapper around qsort_r. | |
5251 | (qsort_r): Renamed from qsort. Take additional parameter and pass it | |
5252 | on as third parameter to compare function and _quicksort. | |
5253 | * stdlib/qsort.c (_quicksort): Take additional parameter and pass on | |
5254 | to the compare function. | |
5255 | * stdlib/Versions [libc] (GLIBC_2.8): Add qsort_r. | |
5256 | * Versions.def: Add GLIBC_2.8 for libc. | |
5257 | ||
bd63f380 UD |
5258 | * posix/tst-rfc3484.c: Adjust for addition of prefixlen field. |
5259 | * posix/tst-rfc3484-2.c: Likewise. | |
5260 | ||
5742e960 UD |
5261 | * include/kernel-features.h: Moved to... |
5262 | * sysdeps/mach/hurd/kernel-features.h: ...here. | |
5263 | ||
a6ac7fdb RM |
5264 | 2007-09-13 H.J. Lu <hongjiu.lu@intel.com> |
5265 | ||
5266 | * sysdeps/i386/i586/memcpy_chk.S: New file. | |
5267 | * sysdeps/i386/i586/mempcpy_chk.S: Likewise. | |
5268 | * sysdeps/i386/i586/memset_chk.S: Likewise. | |
5269 | ||
6f3914d5 UD |
5270 | 2007-11-12 Ulrich Drepper <drepper@redhat.com> |
5271 | ||
5272 | * include/ifaddrs.c (struct in6addrinfo): Add prefixlen field. | |
5273 | * sysdeps/unix/sysv/linux/check_pf.c (make_request): Always return | |
5274 | list of interfaces. Also store prefix length. | |
5275 | * sysdeps/posix/getaddrinfo.c (sort_result): Add prefixlen element. | |
5276 | (rfc3484_sort): In rule 9, for IPv4 addresses count only matching | |
5277 | prefix if source and destination address are in the same subnet. | |
5278 | (getaddrinfo): Always call __check_pf. Fill in prefixlen field. | |
5279 | Always look for matching record in in6ai list. | |
5280 | Correct source_addr_len value for IPv6->IPv4 converted records. | |
5281 | ||
78cf5f6a RM |
5282 | 2007-11-11 Roland McGrath <roland@frob.com> |
5283 | ||
5284 | * include/kernel-features.h: New file. | |
5285 | ||
7f745396 UD |
5286 | 2007-11-10 Ulrich Drepper <drepper@redhat.com> |
5287 | ||
01e7fdbb UD |
5288 | * sysdeps/pthread/aio_misc.c (handle_fildes_io): Avoid unnecessary |
5289 | complications for 64-bit platforms. | |
5290 | ||
7f745396 UD |
5291 | * sysdeps/unix/sysv/linux/open64.c: Move __open64_2 implementation to.. |
5292 | * sysdeps/unix/sysv/linux/open64_2.c: ...here. New file. | |
5293 | * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): Add | |
5294 | open64_2. | |
5295 | * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add open and creat | |
5296 | entries. | |
5297 | * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. | |
5298 | * sysdeps/wordsize-64/alphasort.c: New file. | |
5299 | * sysdeps/wordsize-64/alphasort64.c: New file. | |
5300 | * sysdeps/wordsize-64/fseeko.c: New file. | |
5301 | * sysdeps/wordsize-64/fseeko64.c: New file. | |
5302 | * sysdeps/wordsize-64/ftello.c: New file. | |
5303 | * sysdeps/wordsize-64/ftello64.c: New file. | |
5304 | * sysdeps/wordsize-64/ftw.c: New file. | |
5305 | * sysdeps/wordsize-64/ftw64.c: New file. | |
5306 | * sysdeps/wordsize-64/iofgetpos.c: New file. | |
5307 | * sysdeps/wordsize-64/iofgetpos64.c: New file. | |
5308 | * sysdeps/wordsize-64/iofopen.c: New file. | |
5309 | * sysdeps/wordsize-64/iofopen64.c: New file. | |
5310 | * sysdeps/wordsize-64/iofsetpos.c: New file. | |
5311 | * sysdeps/wordsize-64/iofsetpos64.c: New file. | |
5312 | * sysdeps/wordsize-64/lockf.c: New file. | |
5313 | * sysdeps/wordsize-64/lockf64.c: New file. | |
5314 | * sysdeps/wordsize-64/mkostemp.c: New file. | |
5315 | * sysdeps/wordsize-64/mkostemp64.c: New file. | |
5316 | * sysdeps/wordsize-64/mkstemp.c: New file. | |
5317 | * sysdeps/wordsize-64/mkstemp64.c: New file. | |
5318 | * sysdeps/wordsize-64/scandir.c: New file. | |
5319 | * sysdeps/wordsize-64/scandir64.c: New file. | |
5320 | * sysdeps/wordsize-64/tmpfile.c: New file. | |
5321 | * sysdeps/wordsize-64/tmpfile64.c: New file. | |
5322 | * sysdeps/wordsize-64/versionsort.c: New file. | |
5323 | * sysdeps/wordsize-64/versionsort64.c: New file. | |
5324 | * sysdeps/unix/sysv/linux/wordsize-64/aio_read.c: New file. | |
5325 | * sysdeps/unix/sysv/linux/wordsize-64/aio_read64.c: New file. | |
5326 | * sysdeps/unix/sysv/linux/wordsize-64/aio_write.c: New file. | |
5327 | * sysdeps/unix/sysv/linux/wordsize-64/aio_write64.c: New file. | |
5328 | * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: New file. | |
5329 | * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: New file. | |
5330 | * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: New file. | |
5331 | * sysdeps/unix/sysv/linux/wordsize-64/lio_listio.c: New file. | |
5332 | * sysdeps/unix/sysv/linux/wordsize-64/lio_listio64.c: New file. | |
5333 | * sysdeps/unix/sysv/linux/wordsize-64/open64.c: New file. | |
5334 | * sysdeps/unix/sysv/linux/wordsize-64/openat.c: New file. | |
5335 | * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: New file. | |
5336 | ||
5337 | * crypt/sha256-crypt.c: Fix a comment. | |
5338 | * crypt/sha512-crypt.c: Likewise. | |
5339 | ||
f6ed654c UD |
5340 | 2007-11-07 H.J. Lu <hongjiu.lu@intel.com> |
5341 | ||
5342 | * sysdeps/x86_64/memset.S: Add sfence after movnti. | |
5343 | ||
f2a8406a UD |
5344 | 2007-11-07 Ulrich Drepper <drepper@redhat.com> |
5345 | ||
5346 | [BZ #5277] | |
5347 | * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): If conversion failed | |
5348 | because output buffer is too small break, don't loop. | |
5349 | * iconvdata/Makefile (tests): Add bug-iconv6. | |
5350 | * iconvdata/bug-iconv6.c: New file. | |
5351 | ||
7fe4e0e8 UD |
5352 | 2007-11-06 Ulrich Drepper <drepper@redhat.com> |
5353 | ||
9ca230d6 UD |
5354 | * stdio-common/vfprintf.c (vfprintf): Compute necessary buffer size |
5355 | with size_t type. | |
5356 | * stdio-common/printf_fp.c (__print_fp): Change chars_needed type to | |
5357 | size_t. Add casts where needed. | |
5358 | ||
7fe4e0e8 UD |
5359 | * nscd/selinux.c (nscd_request_avc_has_perm): When compiled with |
5360 | old headers, don't call avc_has_perm if we don't have the | |
5361 | permission information. | |
5362 | ||
b92e3780 UD |
5363 | 2007-11-05 Daniel Jacobowitz <dan@codesourcery.com> |
5364 | ||
5365 | * elf/rtld.c (dl_main): Use the page size to find the map start. | |
5366 | ||
ffb1b882 UD |
5367 | 2007-11-05 Ulrich Drepper <drepper@redhat.com> |
5368 | ||
94a749f6 UD |
5369 | * time/tzfile.c (__tzfile_read): Fix check for version 0 data files. |
5370 | Patch by Szymon Siwek <sls@poczta.wp.pl>. | |
5371 | ||
ffb1b882 UD |
5372 | * nscd/aicache.c (addhstaiX): Check herrno after IPv4 lookup only |
5373 | when the lookup call failed. | |
5374 | ||
5375 | * nscd/nscd.h (struct database_dyn): Rename prunelock to prune_lock. | |
5376 | Add prune_cond and wakeup_time. | |
5377 | (CACHE_PRUNE_INTERNAL): Define. | |
5378 | Update declarations of prune_cache and setup_thread. | |
5379 | * nscd/connections.c (dbs): Update initializers. | |
5380 | (CACHE_PRUNE_INTERNAL): Moved to nscd.h. | |
5381 | (nscd_init): Default number of threads is now 4. | |
5382 | (invalidate_cache): Take lock before calling prune_cache. | |
5383 | (handle_request): If SELinux forbids the request, say so. | |
5384 | (readylist_cond): Use static initializer. | |
5385 | (nscd_run_prune): New function. Used only by pruning threads. | |
5386 | (nscd_run_worder): Renamed from nscd_run. Remove support for pruning | |
5387 | here. | |
5388 | (fd_ready): Update nscd_run reference. | |
5389 | (start_threads): No need to initialize readylist_cond. | |
5390 | Start pruning threads separately. | |
5391 | * nscd/nscd_setup_thread.c: Change return value type to int and always | |
5392 | return 0. | |
5393 | * sysdeps/unix/sysv/linux/nscd_setup_thread.c: Change return value type | |
5394 | to int and return nonzero value if we can use the TID address hack. | |
5395 | * nscd/cache.c (cache_add): If next wakeup time of cleanup thread for | |
5396 | the database is later than the new entry's timeout, update the | |
5397 | wakeup time and wake the cleanup thread. | |
5398 | (prune_cache): Return seconds the next entry in the database is still | |
5399 | valid. Remove locking for pruning here. | |
5400 | * nscd/nscd.conf: Document default number of threads. | |
5401 | ||
4c48ef06 UD |
5402 | 2007-10-31 Ulrich Drepper <drepper@redhat.com> |
5403 | ||
41ff2a49 UD |
5404 | * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Make sure |
5405 | stack is properly aligned for the target function. | |
5406 | Correct unwind info. | |
ffb1b882 | 5407 | |
4c48ef06 UD |
5408 | * elf/rtld.c (dl_main): Initialize stack and pointer guard early |
5409 | when using auditing libraries. | |
5410 | ||
384ca551 UD |
5411 | 2007-10-29 Ulrich Drepper <drepper@redhat.com> |
5412 | ||
31e2791c UD |
5413 | * resolv/Versions [libresolv] (GLIBC_PRIVATE): Add |
5414 | _nss_dns_getnetbyaddr2_r. | |
5415 | * resolv/nss_dns/dns-host.c: Define _nss_dns_getnetbyaddr2_r. Pass | |
5416 | extra parameter to getanswer_r. | |
5417 | (_nss_dns_getnetbyaddr_r): Now a wrapper around | |
5418 | _nss_dns_getnetbyaddr2_r. | |
5419 | ||
384ca551 UD |
5420 | * nscd/Makefile (nscd-modules): Replace gethstbynm2_r with |
5421 | gethstbynm3_r. | |
5422 | * nscd/gethstbynm2_r.c: Remove. | |
5423 | * nscd/gethstbynm3_r.c: New file. | |
5424 | * nscd/aicache.c (addhstaiX): Use __gethostbyaddr2_r instead of | |
5425 | __gethostbyaddr_r. | |
5426 | * nscd/gethstbyad_r.c: Generate __gethostbyaddr2_r function. Define | |
5427 | __gethostbyaddr_r compatibility wrapper. | |
5428 | * nscd/hstcache.c (cache_addhst): Add ttl parameter. Use it when | |
5429 | determining timeout of entry. | |
5430 | (lookup): Take new parameter and pass it to __gethostbyname3_r and | |
5431 | __gethostbyaddr2_r. | |
5432 | (addhstbyX): Pass reference to variable for TTL to lookup and | |
5433 | cache_addhst. | |
5434 | * nss/Versions [glibc] (GLIBC_PRIVATE): Export __nss_passwd_lookup2, | |
5435 | __nss_group_lookup2, __nss_hosts_lookup2, __nss_services_lookup2, | |
5436 | and __nss_next2. Remove __nss_services_lookup. | |
5437 | * nss/XXX-lookup.c: Name function now *_lookup2. Add new parameter. | |
5438 | Add compat wrapper. | |
5439 | * nss/getXXbyYY_r.c: Changes to call new *_lookup2 functions and | |
5440 | __nss_next2. | |
5441 | * nss/getXXent_r.c: Likewise. | |
5442 | * nss/getnssent_r.c: Likewise. | |
5443 | * nss/nsswitch.c (__nss_lookup): Add new parameter. If first function | |
5444 | does not exist in module, try the optional second name. | |
5445 | (__nss_next2): New function. | |
5446 | (__nss_next): Now wrapper around __nss_next2. | |
5447 | * nss/nsswitch.h: Adjust __nss_lookup prototype. | |
5448 | Declare __nss_next2. | |
5449 | Adjust definition of db_lookup_function type. | |
5450 | * nss/service-lookup.c: Define NO_COMPAT. | |
5451 | * include/netdb.h: Declare __gethostbyaddr2_r and __gethostbyname3_r. | |
5452 | * inet/ether_hton.c: Use __nss_next2 instead of __nss_next. | |
5453 | * inet/ether_ntoh.c: Likewise. | |
5454 | * sunrpc/netname.c: Likewise. | |
5455 | * sunrpc/publickey.c: Likewise. | |
5456 | * inet/getnetgrent.c: Likewise. Adjust calls to __nss_lookup. | |
5457 | * inet/gethstbyad_r.c (DB_LOOKUP_FCT): Change to __nss_hosts_lookup2. | |
5458 | * inet/gethstbynm2_r.c (DB_LOOKUP_FCT): Likewise. | |
5459 | * inet/gethstbynm_r.c (DB_LOOKUP_FCT): Likewise. | |
5460 | * inet/gethstent_r.c (DB_LOOKUP_FCT): Likewise. | |
5461 | ||
5462 | * nscd/aicache.c (addhstaiX): Fix default TTL handling. | |
5463 | ||
5e37840c | 5464 | * inet/getnetgrent_r.c (setup): Encrypt static pointer. |
384ca551 | 5465 | |
88197030 UD |
5466 | 2007-10-28 Ulrich Drepper <drepper@redhat.com> |
5467 | ||
f160a450 UD |
5468 | [BZ #5204] |
5469 | * crypt/sha256c-test.c: Define TIMEOUT to 6 for ancient hardware. | |
5470 | * crypt/sha512c-test.c: Likewise. | |
5471 | ||
4c6b2202 UD |
5472 | [BZ #5225] |
5473 | * stdio-common/vfscanf.c (_IO_vfwscanf): Don't misuse wp pointer | |
5474 | to keep track of end of %[ format string element. | |
22c915ac UD |
5475 | * stdio-common/Makefile (tests): Add bug20. |
5476 | * stdio-common/bug20.c: New file. | |
4c6b2202 | 5477 | |
88197030 UD |
5478 | [BZ #5222] |
5479 | * elf/dl-load.c (_dl_rtld_di_serinfo): Correct handling of short | |
5480 | path elements in counting mode. | |
5481 | ||
05d69147 UD |
5482 | 2007-10-27 Andreas Jaeger <aj@suse.de> |
5483 | ||
94833f11 UD |
5484 | [BZ #5040] |
5485 | * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLRDHUP): Add value. | |
5486 | ||
05d69147 UD |
5487 | [BZ #3112] |
5488 | * sysdeps/ia64/backtrace.c (init): Free shared library if incorrect. | |
5489 | (__cleanup): Free shared library when exiting. | |
5490 | * sysdeps/i386/backtrace.c (init): Free shared library if incorrect. | |
5491 | (__cleanup): Free shared library when exiting. | |
5492 | ||
e6b29af8 UD |
5493 | 2006-04-14 H.J. Lu <hongjiu.lu@intel.com> |
5494 | ||
5495 | [BZ #2549] | |
5496 | * math/libm-test.inc (check_float_internal): Support | |
5497 | denormalized return. | |
5498 | ||
ad3371fb UD |
5499 | 2007-10-23 Andreas Jaeger <aj@suse.de> |
5500 | ||
5501 | [BZ #5208] | |
5502 | * sysdeps/unix/sysv/linux/readahead.c (__readahead): Use | |
5503 | __LONG_LONG_PAIR to handle little endian byte order. | |
5504 | Suggested by abhishekrai@google.com | |
5505 | ||
666aa020 UD |
5506 | 2007-10-27 Ulrich Drepper <drepper@redhat.com> |
5507 | ||
5508 | * malloc/arena.c [!NO_THREADS]: Use ATFORK_MEM if defined. | |
5509 | ||
8ad343b3 UD |
5510 | 2007-10-26 Ulrich Drepper <drepper@redhat.com> |
5511 | ||
5512 | * nscd/cache.c (prune_cache): Move test for modified file outside | |
5513 | of locking. | |
5514 | ||
9251c568 AJ |
5515 | 2007-10-21 Andreas Jaeger <aj@suse.de> |
5516 | ||
5517 | * manual/texinfo.tex: Update to latest version. | |
5518 | ||
5519 | * manual/sysinfo.texi (System Parameters): Fix Formatting. | |
5520 | ||
5521 | * manual/arith.texi (Status bit operations): Fix formatting. | |
5522 | ||
5523 | * manual/errno.texi (Error Messages): Fix formatting. | |
5524 | ||
5525 | * manual/sysinfo.texi (System Parameters): Fix formatting. | |
5526 | ||
5527 | * manual/libc.texinfo: Update VERSION and UPDATED. | |
5528 | ||
260b2e06 RM |
5529 | 2007-10-19 Roland McGrath <roland@redhat.com> |
5530 | ||
5531 | * elf/Makefile ($(objpfx)ld.so): Use $(AWK). | |
5532 | ||
46ae8850 JJ |
5533 | 2007-10-06 David S. Miller <davem@davemloft.net> |
5534 | ||
5535 | * configure.in: Add sparcv9v2 and sparc64v2. | |
5536 | * scripts/config.sub: Likewise. | |
5537 | * configure: Regenerate. | |
5538 | * elf/elf.h (HWCAP_SPARC_N2): New. | |
5539 | * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Bump to 8. | |
5540 | * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add 'v9v2'. | |
5541 | (HWCAP_IMPORTANT): Add HWCAP_SPARC_N2. | |
5542 | * sysdeps/sparc/sparc32/sparcv9/sparcv9v2/memcpy.S: New file. | |
5543 | * sysdeps/sparc/sparc32/sparcv9/sparcv9v2/memset.S: New file. | |
5544 | * sysdeps/sparc/sparc64/sparcv9v2/memcpy.S: New file. | |
5545 | * sysdeps/sparc/sparc64/sparcv9v2/memset.S: New file. | |
5546 | ||
6fbfbd80 UD |
5547 | 2007-10-18 Ulrich Drepper <drepper@redhat.com> |
5548 | ||
5549 | * sunrpc/clnt_udp.c (clntudp_call): Don't block in recvfrom call | |
5550 | even if the poll result indicates there is data to read. | |
5551 | Patch by Jeff Moyer <jmoyer@redhat.com>. | |
5552 | ||
39cfc9fa RM |
5553 | 2007-10-18 Roland McGrath <roland@redhat.com> |
5554 | ||
5555 | * elf/elf.h (NT_PPC_VMX): New macro. | |
28919a77 | 5556 | |
39cfc9fa | 5557 | 2007-10-17 Ulrich Drepper <drepper@redhat.com> |
28919a77 UD |
5558 | |
5559 | * version.h (VERSION): Set to 2.7.90. | |
5560 | ||
ed13ccf1 JJ |
5561 | 2007-10-17 Jakub Jelinek <jakub@redhat.com> |
5562 | ||
5563 | * sysdeps/x86_64/memset.S (bzero): Renamed to __bzero. Add | |
5564 | weak_alias. | |
5565 | ||
ee9fd869 RM |
5566 | 2007-10-17 Roland McGrath <roland@frob.com> |
5567 | ||
5568 | * sysdeps/mach/hurd/bits/fcntl.h [__USE_GNU__] (F_DUPFD_CLOEXEC): New. | |
5569 | * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Implement it. | |
5570 | ||
1aa5e4d7 UD |
5571 | 2007-10-17 Ulrich Drepper <drepper@redhat.com> |
5572 | ||
50c9fbbf | 5573 | * version.h (VERSION): Bump to 2.7. |
777bc4bf | 5574 | * include/features.h (__GLIBC_MINOR__): Bump to 7. |
50c9fbbf | 5575 | |
58423c7d UD |
5576 | [BZ #5186] |
5577 | * time/tzset.c (__tz_convert): Don't force testing for a change of | |
5578 | TZ if not called from localtime. But then also see whether the | |
5579 | file changed, in case __use_tzfile is set. | |
5580 | ||
1aa5e4d7 UD |
5581 | * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define F_DUPFD_CLOEXEC. |
5582 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. | |
5583 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. | |
5584 | * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. | |
5585 | * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. | |
5586 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. | |
5587 | * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. | |
5588 | * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. | |
5589 | ||
fc4837e5 UD |
5590 | 2007-10-17 Jakub Jelinek <jakub@redhat.com> |
5591 | ||
5592 | * sysdeps/posix/getaddrinfo.c (getaddrinfo): When sorting addresses | |
5593 | and admin selects to be able to replace the gai.conf file, lock | |
5594 | data structures around the qsort call. | |
5595 | ||
62eaf7c8 UD |
5596 | 2007-10-17 Ulrich Drepper <drepper@redhat.com> |
5597 | ||
406f28db UD |
5598 | * sysdeps/x86_64/cacheinfo.c: Comment out code added in support of |
5599 | new memset. | |
ac1cb5da | 5600 | * sysdeps/x86_64/memset.S: Revert to old version for now. The cost is |
406f28db UD |
5601 | too high for the improvements. Implement bzero unconditionally for |
5602 | use in libc. | |
ac1cb5da UD |
5603 | |
5604 | 2007-10-17 Ulrich Drepper <drepper@redhat.com> | |
5605 | Jakub Jelinek <jakub@redhat.com> | |
5606 | ||
62eaf7c8 UD |
5607 | * time/tzfile.c (__tzfile_read): Read POSIX TZ string if available |
5608 | even when time_t is 32-bit. | |
5609 | (__tzfile_compute): Override POSIX TZ string STD/DST zone names if | |
5610 | timezone data read by __tzfile_default. Ensure __tzname[0] is | |
5611 | always set after the search. | |
5612 | ||
6a649d25 UD |
5613 | 2007-10-16 Ulrich Drepper <drepper@redhat.com> |
5614 | ||
5615 | * time/tzfile.c (__tzfile_read): Help the compiler recognize | |
5616 | unreachable code on 32-bit machines. | |
5617 | ||
800d6f9e UD |
5618 | 2007-10-16 Jakub Jelinek <jakub@redhat.com> |
5619 | ||
5620 | [BZ #5184] | |
5621 | * time/strftime_l.c: Include stdbool.h. | |
5622 | (my_strftime): New wrapper, old function renamed to... | |
5623 | (__strftime_internal): ... new function. Add tzset_called | |
5624 | argument, pass it down to recursive calls, don't call tzset () | |
5625 | if already true, set to true after call to tzset (). | |
62eaf7c8 | 5626 | |
69819d92 UD |
5627 | 2007-10-16 Ulrich Drepper <drepper@redhat.com> |
5628 | ||
5629 | * time/tzfile.c (__tzfile_read): Take extra memory requested by caller | |
5630 | into account when copying TZ string. | |
5631 | ||
62eaf7c8 UD |
5632 | 2007-10-16 Jakub Jelinek <jakub@redhat.com> |
5633 | ||
5634 | * time/tzfile.c (__tzfile_compute): For use_last case set i to | |
5635 | num_transition rather than num_transitions - 1. | |
5636 | ||
0308ad66 JJ |
5637 | 2007-10-16 Jakub Jelinek <jakub@redhat.com> |
5638 | ||
8d137b60 JJ |
5639 | * sysdeps/x86_64/memset.S (memset): Fix sse2_nt_move |
5640 | PIC indirect jump. | |
5641 | ||
0308ad66 JJ |
5642 | * sysdeps/x86_64/memset.S: Jump from bzero to memset using |
5643 | a local label rather than HIDDEN_JUMPTARGET. | |
5644 | ||
e2b393bc UD |
5645 | 2007-10-15 Ulrich Drepper <drepper@redhat.com> |
5646 | ||
5647 | * sysdeps/x86_64/cacheinfo.c (__x86_64_shared_cache_size): Define. | |
5648 | (init_cacheinfo): Initialize it. | |
5649 | * sysdeps/x86_64/memset.S: Use __x86_64_shared_cache_size. | |
5650 | Always define bzero. | |
5651 | Remove non-glibc code. | |
5652 | * sysdeps/x86_64/bzero.S: Make an empty file. | |
5653 | ||
5654 | 2007-10-15 H.J. Lu <hongjiu.lu@intel.com> | |
5655 | ||
5656 | * sysdeps/x86_64/cacheinfo.c | |
5657 | (__x86_64_preferred_memory_instruction): New. | |
5658 | (init_cacheinfo): Initialize __x86_64_preferred_memory_instruction. | |
5659 | ||
5660 | * sysdeps/x86_64/memset.S: Rewrite. | |
5661 | ||
0fbfcb7b RM |
5662 | 2007-10-15 Roland McGrath <roland@redhat.com> |
5663 | ||
5664 | * po/libc.pot: Regenerated. | |
5665 | ||
2884dad4 UD |
5666 | 2007-10-15 Ulrich Drepper <drepper@redhat.com> |
5667 | ||
e2b393bc | 5668 | * nss/getXXbyYY_r.c (REENTRANT_NAME): Mangle startp and start_fct |
d96a2216 UD |
5669 | pointers. |
5670 | ||
2884dad4 UD |
5671 | [BZ #3425] |
5672 | * resolv/nss_dns/dns-host.c (getanswer_r): Fail with | |
5673 | NSS_STATUS_NOTFOUND if the server replied with only a CNAME and no | |
5674 | address record to T_A/T_AAAA requests. | |
5675 | ||
89dc9d4c UD |
5676 | 2007-10-14 Ulrich Drepper <drepper@redhat.com> |
5677 | ||
8d97ac13 UD |
5678 | * posix/glob.c: Reimplement link_exists_p to use fstatat64. |
5679 | ||
1b6aa63f UD |
5680 | * posix/glob.c: Add some branch prediction throughout. |
5681 | ||
895a08c0 UD |
5682 | * nscd/nscd_getgr_r.c (nscd_getgr_r): Store result of successful |
5683 | read from nscd. | |
5684 | ||
6f55ed88 UD |
5685 | * sysdeps/posix/getaddrinfo.c (struct sort_result): Add |
5686 | service_order. | |
8d62c8ab UD |
5687 | (rfc3484_sort): Make sure that even if qsort doesn't support |
5688 | stable sorting out sorting here is stable by comparing service_order. | |
6f55ed88 | 5689 | (getaddrinfo): Initialize service_order. |
a94673e6 UD |
5690 | * posix/tst-rfc3484.c (do_test): Adjust for addition of |
5691 | service_order field to sorting structure. | |
dfcf64ce | 5692 | * posix/tst-rfc3484-2.c (do_test): Likewise. |
6f55ed88 | 5693 | |
fa76dde2 UD |
5694 | * include/time.h: Declare __tzset_parse_tz and __tzset_compute. |
5695 | * time/tzset.c (tzset_internal): Break TZ string parsing out into | |
5696 | __tzset_parse_tz and updating of daylight, timezone, tzname into | |
5697 | update_vars. | |
5698 | (__tz_compute): Renamed from tz_compute. Take additional parameters. | |
5699 | (__tz_convert): Updating of tm_isdst, tm_zone, and tm_gmtoff now | |
5700 | happens in __tz_compute. | |
5701 | * time/tzfile.c (__tzfile_read): Also read TZ string. | |
5702 | (find_transition): Fold into __tzfile_compute. | |
5703 | (__tzfile_compute): For times beyond the last transition try to | |
5704 | use the TZ string. | |
5705 | * timezone/tst-timezone.c: Information in daylight and tzname does | |
5706 | change for Asia/Tokyo timezone with more concrete information. | |
5707 | Remove the test. | |
5708 | ||
5709 | * include/stdio.h: Add libc_hidden_proto for ftello. | |
5710 | * libio/ftello.c: Add libc_hidden_def. | |
5711 | ||
89dc9d4c UD |
5712 | [BZ #1140] |
5713 | * time/tzfile.c (__tzfile_compute): Compute tzname[] values based | |
5714 | on the specified time and not the last entries in the file. Move | |
5715 | code to determine tzname[] to... | |
5716 | (find_transition): ...here. Add ugly guess for times before the | |
5717 | first transition. | |
5718 | ||
f7140274 UD |
5719 | 2007-10-13 Ulrich Drepper <drepper@redhat.com> |
5720 | ||
cfca0aa3 UD |
5721 | [BZ #3195] |
5722 | * nscd/nscd_getai.c (__nscd_getai): Set errno to 0 in case we found | |
5723 | no entry. | |
5724 | * nscd/nscd_getgr.c (nscd_getgr_r): Likewise. | |
5725 | * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise. | |
5726 | * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise. | |
5727 | * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise. | |
5728 | ||
43d3e6bd UD |
5729 | * nscd/nscd_getgr_r.c (nscd_getgr_r): Optimize a bit: use simpler |
5730 | read mechanism when there are no group members and avoid no-op | |
5731 | read syscall in this case. | |
5732 | ||
f7140274 UD |
5733 | [BZ #3242] |
5734 | * nscd/nscd_helper.c (wait_on_socket): Take timeout as parameter. | |
5735 | (__readall): If reading failed due to EAGAIN error wait a bit | |
5736 | and possibly try again. | |
5737 | (__readvall): Likewise. | |
5738 | ||
656f02ce UD |
5739 | 2007-10-13 Bruno Haible <bruno@clisp.org> |
5740 | ||
5741 | * intl/dcigettext.c (_nl_find_msg): Unlock the conversions_lock | |
5742 | when we cannot recode the message. | |
5743 | ||
0ea49677 UD |
5744 | 2007-10-13 Ulrich Drepper <drepper@redhat.com> |
5745 | ||
5746 | [BZ #4359] | |
5747 | * libio/__freading.c (__freading): Don't return true for | |
ed36f224 UD |
5748 | write-only streams. For read/write streams, check whether we |
5749 | performed a read operation already. | |
7e39d802 UD |
5750 | * libio/Makefile (tests): Add tst-ext2. |
5751 | * libio/tst-ext2.c: New file. | |
0ea49677 | 5752 | |
78a9b2dc UD |
5753 | 2007-10-12 Ulrich Drepper <drepper@redhat.com> |
5754 | ||
fab1a490 UD |
5755 | * locale/programs/repertoire.c (repertoire_read): Always free |
5756 | memory for repertoire file name [Coverity CID 270]. | |
5757 | ||
78a9b2dc UD |
5758 | * elf/cache.c (save_aux_cache): Free memory allocated for |
5759 | temporary file name [Coverity CID 267]. | |
5760 | ||
29d49a1a JJ |
5761 | 2007-10-12 Jakub Jelinek <jakub@redhat.com> |
5762 | ||
5763 | * misc/Makefile (headers): Add bits/error.h. | |
5764 | ||
d074d36d UD |
5765 | 2007-10-12 Ulrich Drepper <drepper@redhat.com> |
5766 | ||
b7d1c5fa UD |
5767 | * posix/fnmatch_loop.c: Take rule index returned as part of |
5768 | findidx return value into account when accessing weights. | |
5769 | * posix/regcomp.c: Likewise. | |
5770 | * posix/regexec.c: Likewise. | |
5771 | ||
d074d36d UD |
5772 | * locale/programs/ld-collate.c (collate_read): Optimize a bit. |
5773 | (skip_to): Fix problems with parameter of elifdef/elifndef. | |
5774 | ||
26a51060 UD |
5775 | 2007-10-11 Ulrich Drepper <drepper@redhat.com> |
5776 | ||
5777 | * iconv/gconv_simple.c: Add some branch prediction. | |
5778 | ||
6dd3748b UD |
5779 | 2007-10-12 Jakub Jelinek <jakub@redhat.com> |
5780 | ||
5781 | * locale/programs/ld-collate.c (collate_read): If ignore_content | |
5782 | and nowtok is tok_define, eat any tok_eol tokens. | |
5783 | ||
d0b5557d JJ |
5784 | 2007-10-11 Jakub Jelinek <jakub@redhat.com> |
5785 | ||
5786 | * sysdeps/gnu/netinet/tcp.h: Include sys/socket.h if __USE_MISC. | |
5787 | (struct tcp_md5sig): Change tcpm_addr type to struct sockaddr_storage. | |
5788 | ||
5789 | * inet/netinet/in.h: Don't include bits/socket.h. | |
5790 | * sysdeps/unix/sysv/linux/bits/socket.h: Only check _SYS_SOCKET_H | |
5791 | macro. | |
5792 | * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Likewise. | |
5793 | ||
3a054d7a UD |
5794 | 2007-10-10 Ulrich Drepper <drepper@redhat.com> |
5795 | ||
5796 | * locale/programs/locfile-token.h: Remove tok_elif, add tok_elifdef | |
5797 | and tok_elifndef. | |
5798 | * locale/programs/locfile-kw.gperf: Likewise. | |
5799 | * locale/programs/ld-collate.c: Implement primitive preprocessor. | |
5800 | ||
c06b7169 UD |
5801 | 2007-10-10 Jakub Jelinek <jakub@redhat.com> |
5802 | ||
5803 | * stdio-common/printf-parse.h: Include string.h and wchar.h. | |
5804 | (__find_specwc): Change into __extern_always_inline function. | |
5805 | (__find_specmb): Likewise. Remove ps argument. Use __strchrnul. | |
5806 | (__parse_one_specmb): Remove ps argument. | |
5807 | * stdio-common/vfprintf.c (vfprintf): Remove mbstate variable. | |
5808 | Adjust __find_specmb and __parse_one_specmb callers. | |
5809 | * stdio-common/printf-prs.c (parse_printf_format): Likewise. | |
5810 | * stdio-common/printf-parsemb.c (__find_specwc, __find_specmb): | |
5811 | Removed. | |
5812 | (__parse_one_specmb): Remove ps argument, adjust __find_specmb | |
5813 | caller. | |
5814 | ||
5a01ab7b UD |
5815 | 2007-10-09 Ulrich Drepper <drepper@redhat.com> |
5816 | ||
5817 | * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Work around problem | |
5818 | with some Pentium Ds. | |
5819 | ||
e3f8e049 UD |
5820 | 2007-10-08 Ulrich Drepper <drepper@redhat.com> |
5821 | ||
5822 | * sysdeps/unix/sysv/linux/eventfd_read.c (eventfd_read): Use | |
5823 | __read not read. | |
5824 | * sysdeps/unix/sysv/linux/eventfd_write.c (eventfd_write): Use | |
5825 | __write not write. | |
5826 | ||
a1a363d2 UD |
5827 | 2007-10-07 Ulrich Drepper <drepper@redhat.com> |
5828 | ||
a1160714 UD |
5829 | [BZ #181] |
5830 | * locale/C-time.c: Set week_1stday data to 19971201. | |
659a9013 UD |
5831 | * locale/programs/ld-time.c (time_finish): Default for |
5832 | first_workday is Monday. | |
a1160714 | 5833 | |
bb27a6eb UD |
5834 | [BZ #2633] |
5835 | * wcsmbs/wchar.h: Move many C99 functions into std namespace. | |
5836 | ||
c8d48fae UD |
5837 | [BZ #5103] |
5838 | * posix/glob.c (glob): Recognize patterns starting \/. | |
5839 | * posix/tst-gnuglob.c (find_file): Handle absolute path names. | |
5840 | (main): Add test for pattern starting \/. | |
5841 | ||
a1a363d2 UD |
5842 | * misc/error.h: Use __const instead of const. |
5843 | * misc/bits/error.h: Likewise. | |
5844 | ||
5845 | 2007-10-07 Andreas Jaeger <aj@suse.de> | |
5846 | ||
5847 | * include/bits/error.h: New file. | |
5848 | ||
5849 | * misc/bits/error.h (error_at_line): Fix prototype. | |
5850 | ||
71894681 UD |
5851 | 2007-10-06 Ulrich Drepper <drepper@redhat.com> |
5852 | ||
a6fa5328 UD |
5853 | [BZ #3924] |
5854 | * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix a few | |
5855 | more little bugs in creating the stack frame when pltexit has to | |
5856 | be called. | |
5857 | ||
8c7661bc | 5858 | * nscd/nscd_helper.c (__nscd_cache_search): Prevent endless loops. |
50607309 | 5859 | * nscd/connections.c (verify_persistent_db): Recognize circular lists. |
8c7661bc | 5860 | |
c039eedd UD |
5861 | [BZ #4407] |
5862 | * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Fix *signgamp for -0.0. | |
5863 | * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise. | |
5864 | * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise. | |
5865 | * math/libm-test.inc: Add test for this case. | |
5866 | ||
71894681 UD |
5867 | [BZ #5010] |
5868 | * sunrpc/svc.c (struct svc_callout): Add sc_mapped element. | |
5869 | (svc_register): Initialize sc_mapped. Set to TRUE if call to | |
5870 | map service succeeded. | |
5871 | (svc_is_mapped): New function. | |
5872 | (svc_unregister): Use it before trying to unmap service. | |
5873 | ||
34c2c092 UD |
5874 | 2007-10-05 Ulrich Drepper <drepper@redhat.com> |
5875 | ||
d10737e4 UD |
5876 | * timezone/zic.c: Update from tzcode2007h. |
5877 | ||
5878 | [BZ #5063] | |
5879 | * timezone/africa: Update from tzdata2007h. | |
5880 | * timezone/antarctica: Likewise. | |
5881 | * timezone/asia: Likewise. | |
5882 | * timezone/australasia: Likewise. | |
5883 | * timezone/europe: Likewise. | |
5884 | * timezone/leapseconds: Likewise. | |
5885 | * timezone/northamerica: Likewise. | |
5886 | * timezone/southamerica: Likewise. | |
5887 | * timzeone/zone.tab: Likewise. | |
5888 | ||
0304f168 UD |
5889 | [BZ #5104] |
5890 | * elf/do-lookup.h (do_lookup_x): Don't ignore STT_COMMON symbols. | |
5891 | ||
a83b5649 UD |
5892 | [BZ #5113] |
5893 | * string/bits/string2.h (__strdup): Cast parameters to calloc to | |
5894 | avoid warning with -Wconversion. | |
5895 | (__strndup): Likewise. | |
c039eedd | 5896 | Half the patch by Christian Iseli <christian.iseli@licr.org>. |
a83b5649 | 5897 | |
3e6ce4d7 UD |
5898 | [BZ #5112] |
5899 | * nscd/connections.c (restart): Don't resync if database is | |
5900 | disabled. Patch mostly by Brian De Wolf <bldewolf@csupomona.edu>. | |
5901 | ||
8e351378 UD |
5902 | * sysdeps/gnu/netinet/tcp.h: Define TCP_MD5SIG, TCP_MD5SIG_MAXKEYLEN, |
5903 | struct tcp_md5sig. Extend struct tcp_info according to recent kernels. | |
5904 | ||
5905 | * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add eventfd, | |
5906 | evetnfd_read, eventfd_write. | |
5907 | * sysdeps/unix/sysv/linux/eventfd.c: New file. | |
5908 | * sysdeps/unix/sysv/linux/eventfd_read.c: New file. | |
5909 | * sysdeps/unix/sysv/linux/eventfd_write.c: New file. | |
5910 | * sysdeps/unix/sysv/linux/sys/eventfd.h: New file. | |
d10737e4 | 5911 | * sysdeps/unix/sysv/linux/Versions: Export eventfd, eventfd_read, |
8e351378 UD |
5912 | eventfd_write for GLIBC_2.7. |
5913 | ||
34c2c092 UD |
5914 | * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add signalfd. |
5915 | * sysdeps/unix/sysv/linux/signalfd.c: New file. | |
5916 | * sysdeps/unix/sysv/linux/sys/signalfd.h: New file. | |
5917 | * sysdeps/unix/sysv/linux/Versions: Export signalfd for GLIBC_2.7. | |
5918 | ||
6789aaaa | 5919 | 2007-10-04 Jakub Jelinek <jakub@redhat.com> |
375d9429 UD |
5920 | |
5921 | * stdlib/msort.c: Include stdint.h. | |
5922 | (struct msort_param): New type. | |
5923 | (msort_with_tmp): Use struct msort_param pointer for unchanging | |
5924 | parameters. Add optimized handling for several common sizes | |
5925 | and indirect sorting mode. | |
5926 | (qsort): Adjust msort_with_tmp callers. For big S use indirect | |
5927 | sorting. | |
5928 | Suggested by Belazougui Djamel . | |
5929 | ||
5930 | * stdlib/Makefile (tests): Add tst-qsort2. | |
5931 | * stdlib/tst-qsort2.c: New test. | |
5932 | ||
b80bfc8b UD |
5933 | 2007-10-04 Ulrich Drepper <drepper@redhat.com> |
5934 | ||
174420d2 UD |
5935 | * login/login_tty.c (login_tty): The Linux kernel can return EBUSY |
5936 | for dup2 in case another thread races with the current one. Retry | |
5937 | in this case. | |
5938 | ||
b80bfc8b UD |
5939 | * misc/error.h: Remove support for use outside of libc. We have to |
5940 | include <features.h> now. Include <bits/error.h> if possible. | |
5941 | * misc/bits/error.h: New file. | |
5942 | ||
6789aaaa | 5943 | 2007-10-03 Jakub Jelinek <jakub@redhat.com> |
ee868c89 | 5944 | |
e5dd2178 UD |
5945 | * string/bits/string3.h (memcpy, memmove, mempcpy, memset, bcopy, |
5946 | bzero, strcpy, stpcpy, strncpy, strcat, strncat): Use | |
5947 | __extern_always_inline functions unconditionally, drop macros. | |
5948 | ||
ac97dec1 UD |
5949 | * misc/sys/cdefs.h (__REDIRECT_LDBL, __REDIRECT_NTH_LDBL): New macros. |
5950 | * wcsmbs/bits/wchar2.h (__swprintf_alias, __vswprintf_alias): Use | |
5951 | __REDIRECT_NTH_LDBL macro rather than __REDIRECT_NTH. | |
5952 | ||
ee868c89 UD |
5953 | * misc/sys/cdefs.h (__extern_always_inline): For GCC 4.3+ |
5954 | add __artificial__ attribute. | |
5955 | ||
80e069e0 UD |
5956 | 2007-10-02 Ulrich Drepper <drepper@redhat.com> |
5957 | ||
6e682cf5 UD |
5958 | * string/strcoll_l.c (STRCOLL): Correct handling of switching from |
5959 | backward to forward direction. | |
5960 | ||
90241a20 UD |
5961 | * string/strcoll_l.c (STRCOLL): Correct test for alloca use. |
5962 | ||
80e069e0 UD |
5963 | [BZ #645] |
5964 | * locale/programs/ld-collate.c (collate_finish): Compare against last | |
5965 | used section which is known to have rules defined. | |
5966 | (collate_read): After order_start, correctly record order of sections | |
5967 | and queue sections up. | |
5968 | ||
035ef8d7 UD |
5969 | 2007-10-01 Ulrich Drepper <drepper@redhat.com> |
5970 | ||
95bddc0c UD |
5971 | [BZ #5071] |
5972 | * malloc/malloc.c (mremap_chunk): Avoid resizing of new block has | |
5973 | the same number of pages. | |
5974 | Patch by Tomash Brechko <tomash.brechko@gmail.com>. | |
5975 | ||
c8caf089 UD |
5976 | * locale/programs/ld-collate.c (collate_read): After initial copy |
5977 | statement, continue in state 0. | |
5978 | ||
035ef8d7 UD |
5979 | * include/stdio_ext.h (__fsetlocking): Define as macro. |
5980 | ||
592a95ee UD |
5981 | 2007-09-30 Ulrich Drepper <drepper@redhat.com> |
5982 | ||
56ebeb41 UD |
5983 | * locale/programs/ld-collate.c (collate_finish): Compare all bytes |
5984 | of section order. | |
5985 | ||
592a95ee UD |
5986 | * po/pt_BR.po: Fix typo. |
5987 | ||
6c522e21 UD |
5988 | 2007-09-29 Ulrich Drepper <drepper@redhat.com> |
5989 | ||
8ad5c3cd UD |
5990 | * iconvdata/Makefile (modules): Add ISO8859-9E. |
5991 | (distribute): Add iso8859-9e.c. | |
5992 | (gen-8bit-gap-modules): Add iso8859-9e. | |
5993 | * iconvdata/iso8859-9e.c: New file. | |
5994 | * iconvdata/gconv-modules: Add entries for ISO-8859-9E. | |
5995 | * iconvdata/TESTS: Likewise. | |
5996 | * iconvdata/tst-tables.sh: Likewise. | |
5997 | ||
5998 | * iconvdata/koi8-r.c (HAS_HOLES): Define to 0. | |
5999 | ||
6c522e21 UD |
6000 | * locale/iso-639.def: Add several new entries. |
6001 | ||
385b4cf4 UD |
6002 | 2007-09-24 Jakub Jelinek <jakub@redhat.com> |
6003 | ||
6004 | * sysdeps/generic/ldsodefs.h (struct dl_scope_free_list): Store | |
6005 | void * pointers instead of struct link_map **. | |
6006 | (_dl_scope_free): Change argument type to void *. | |
6007 | * include/link.h (struct link_map): Change type of l_reldeps | |
6008 | to struct link_map_reldeps, move l_reldepsact into that | |
6009 | struct too. | |
6010 | * elf/dl-deps.c: Include atomic.h. | |
6011 | (_dl_map_object_deps): Only change l->l_initfini when it is | |
6012 | fully populated, use _dl_scope_free for freeing it. Optimize | |
6013 | removal of libs from reldeps by using l_reserved flag, when | |
6014 | some removal is needed, allocate a new list instead of | |
6015 | reallocating and free the old with _dl_scope_free. Adjust | |
6016 | for l_reldeps and l_reldepsact changes. | |
6017 | * elf/dl-lookup.c (add_dependency): Likewise. Reorganize to allow | |
6018 | searching in l_initfini and l_reldeps without holding dl_load_lock. | |
6019 | * elf/dl-fini.c (_dl_sort_fini): Adjust for l_reldeps and | |
6020 | l_reldepsact changes. | |
6021 | * elf/dl-close.c (_dl_close_worker): Likewise. | |
6022 | * elf/dl-open.c (_dl_scope_free): Change argument type to void *. | |
6023 | ||
90bf831b UD |
6024 | 2007-09-28 Ulrich Drepper <drepper@redhat.com> |
6025 | ||
6026 | * iconvdata/Makefile (modules): Add KOI8-RU. | |
6027 | (distribute): Add koi8-ru.c. | |
6028 | (gen-8bit-gap-modules): Add koi8-ru. | |
6029 | * iconvdata/koi8-ru.c: New file. | |
6030 | * iconvdata/gconv-modules: Add entries for KOI8-RU. | |
6031 | * iconvdata/TESTS: Likewise. | |
6032 | * iconvdata/tst-tables.sh: Likewise. | |
6033 | ||
6034 | * iconvdata/koi8-r.c (HAS_HOLES): Define to 0. | |
6035 | ||
d6cd6bf4 UD |
6036 | 2007-09-26 Jakub Jelinek <jakub@redhat.com> |
6037 | ||
6038 | * misc/sys/cdefs.h (__warndecl, __errordecl): For GCC 4.3+ define | |
6039 | with __warning__/__error__ attributes. | |
6040 | (__warnattr): Define. | |
6041 | * stdlib/bits/stdlib.h (__realpath_chk_warn, __ptsname_r_chk_warn, | |
6042 | __mbstowcs_chk_warn, __wcstombs_chk_warn): New aliases with | |
6043 | __warnattr. | |
6044 | (realpath, ptsname_r, mbstowcs, wcstombs): Call __*_chk_warn instead | |
6045 | of __*_chk if compile time detectable overflow is found. | |
6046 | * libio/bits/stdio2.h (__fgets_chk_warn, __fread_chk_warn, | |
6047 | __fgets_unlocked_chk_warn, __fread_unlocked_chk_warn): New aliases | |
6048 | with __warnattr. | |
6049 | (fgets, fread, fgets_unlocked, fread_unlocked): Call __*_chk_warn | |
6050 | instead of __*_chk if compile time detectable overflow is found. | |
6051 | (__gets_alias): Rename to... | |
6052 | (__gets_warn): ... this. Add __warnattr. | |
6053 | (gets): Call __gets_warn instead of __gets_alias. | |
6054 | * socket/bits/socket2.h (__recv_chk_warn, __recvfrom_chk_warn): New | |
6055 | aliases with __warnattr. | |
6056 | (recv, recvfrom): Call __*_chk_warn instead of __*_chk if compile | |
6057 | time detectable overflow is found. | |
6058 | * posix/bits/unistd.h (__read_chk_warn, __pread_chk_warn, | |
6059 | __pread64_chk_warn, __readlink_chk_warn, __readlinkat_chk_warn, | |
6060 | __getcwd_chk_warn, __confstr_chk_warn, __getgroups_chk_warn, | |
6061 | __ttyname_r_chk_warn, __getlogin_r_chk_warn, __gethostname_chk_warn, | |
6062 | __getdomainname_chk_warn): New aliases with __warnattr. | |
6063 | (read, pread, pread64, readlink, readlinkat, getcwd, confstr, | |
6064 | getgroups, ttyname_r, getlogin_r, gethostname, getdomainname): Call | |
6065 | __*_chk_warn instead of __*_chk if compile time detectable overflow | |
6066 | is found. | |
6067 | (__getgroups_chk): Rename argument to __listlen from listlen. | |
6068 | (__getwd_alias): Rename to... | |
6069 | (__getwd_warn): ... this. Add __warnattr. | |
6070 | (getwd): Call __getwd_warn instead of __getwd_alias. | |
6071 | * wcsmbs/bits/wchar2.h (__wmemcpy_chk_warn, __wmemmove_chk_warn, | |
6072 | __wmempcpy_chk_warn, __wmemset_chk_warn, __wcsncpy_chk_warn, | |
6073 | __wcpncpy_chk_warn, __fgetws_chk_warn, __fgetws_unlocked_chk_warn, | |
6074 | __mbsrtowcs_chk_warn, __wcsrtombs_chk_warn, __mbsnrtowcs_chk_warn, | |
6075 | __wcsnrtombs_chk_warn): New aliases with __warnattr. | |
6076 | (wmemcpy, wmemmove, wmempcpy, wmemset, mbsrtowcs, wcsrtombs, | |
6077 | mbsnrtowcs, wcsnrtombs): Call __*_chk_warn instead of __*_chk if | |
6078 | compile time detectable overflow is found. | |
6079 | (wcsncpy, wcpncpy): Likewise. For constant __n fix check whether | |
6080 | to use __*_chk or not. | |
6081 | (fgetws, fgetws_unlocked): Divide __bos by sizeof (wchar_t), both | |
6082 | in comparisons which function should be called and in __*_chk* | |
6083 | arguments. Call __*_chk_warn instead of __*_chk if compile time | |
6084 | detectable overflow is found. | |
6085 | (swprintf, vswprintf): Divide __bos by sizeof (wchar_t) in | |
6086 | __*_chk argument. | |
6087 | * debug/tst-chk1.c (do_test): Add a few more tests. | |
6088 | ||
408cfca0 UD |
6089 | 2007-09-24 Ulrich Drepper <drepper@redhat.com> |
6090 | ||
6091 | [BZ #5058] | |
6092 | * intl/gettextP.h (struct loaded_domain): Add conversions_lock member. | |
6093 | * intl/loadmsgcat.c (_nl_load_domain): Initialize conversions_lock. | |
6094 | (_nl_unload_domain): Finalize conversions_lock. | |
6095 | * intl/dcigettext.c (_nl_find_msg): Take conversions_lock before | |
6096 | handling table of known conversions. | |
6097 | ||
e6eec9ce JJ |
6098 | 2007-09-24 Jakub Jelinek <jakub@redhat.com> |
6099 | ||
6100 | * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use | |
6101 | close_not_cancel_no_status instead of close. | |
6102 | ||
a532a41d UD |
6103 | 2007-09-13 Aurelien Jarno <aurelien@aurel32.net> |
6104 | ||
682268ef | 6105 | [BZ #5028] |
408cfca0 | 6106 | * posix/regcomp.c (lookup_collation_sequence_value): Check that |
a532a41d UD |
6107 | nrules != 0 for multibyte chars. |
6108 | ||
dec9ed9e UD |
6109 | 2007-09-23 Ulrich Drepper <drepper@redhat.com> |
6110 | ||
91633816 UD |
6111 | * resolv/ns_print.c (ns_sprintrrf): Handle ns_t_a6 and ns_t_opt. |
6112 | Provide better error message in case the type is unknown. | |
6113 | ||
9cc198f6 UD |
6114 | [BZ #4963] |
6115 | * wcsmbs/wcsnlen.c: Don't reference before checking the length. | |
6116 | * string/stratcliff.c: Make usable to test wide char functions. | |
6117 | * wcsmbs/wcsatcliff.c: New file. | |
6118 | * wcsmbs/Makefiel (tests): Add wcsatcliff. | |
6119 | ||
27f3d446 UD |
6120 | [BZ #4972] |
6121 | * iconvdata/Makefile (modules): Add MAC-CENTRALEUROPE. | |
6122 | (distribute): Add mac-centraleurope.c. | |
6123 | (gen-8bit-gap-modules): Add mac-centraleurope. | |
6124 | * iconvdata/mac-centraleurope.c: New file. | |
6125 | * iconvdata/gconv-modules: Add entries for MAC-CENTRALEUROPE. | |
6126 | * iconvdata/TESTS: Likewise. | |
6127 | * iconvdata/tst-tables.sh: Likewise. | |
6128 | ||
dec9ed9e UD |
6129 | [BZ #5043] |
6130 | * iconv/iconv_open.c (iconv_open): For large codeset names use malloc. | |
6131 | ||
0435403c UD |
6132 | 2007-09-21 Ulrich Drepper <drepper@redhat.com> |
6133 | ||
6134 | * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size_half): Renamed | |
6135 | from __x86_64_core_cache_size_half. | |
6136 | (init_cacheinfo): Compute shared cache size for AMD processors with | |
6137 | shared L3 correctly. | |
6138 | * sysdeps/x86_64/memcpy.S: Adjust for __x86_64_data_cache_size_half | |
6139 | name change. | |
6140 | Patch in large parts by Evandro Menezes. | |
6141 | ||
c3266dc0 UD |
6142 | 2007-09-19 Ulrich Drepper <drepper@redhat.com> |
6143 | ||
715899d1 UD |
6144 | * elf/dl-lookup.c (add_dependency): Handle failing memory |
6145 | allocation for dependency list. Remove unnecessary check. | |
6146 | ||
e1db0493 UD |
6147 | * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid unnecessary |
6148 | open/close when determining source addresses. | |
6149 | ||
c3266dc0 UD |
6150 | * crypt/Makefile (libcrypt-routines): Add sha256-crypt, sha256, |
6151 | sha512-crypt, and sha512. | |
6152 | (tests): Add sha256test, sha256c-test, sha512test, and sha512c-test. | |
6153 | (distribute): Add sha256.h and sha512.h. | |
6154 | * crypt/crypt-entry.c (crypt): Recognize the new $5$ and $6$ prefixes | |
6155 | and call the appropriate code. | |
6156 | * crypt/sha256-crypt.c: New file. | |
6157 | * crypt/sha256.c: New file. | |
6158 | * crypt/sha256.h: New file. | |
6159 | * crypt/sha256c-test.c: New file. | |
6160 | * crypt/sha256test.c: New file. | |
6161 | * crypt/sha512-crypt.c: New file. | |
6162 | * crypt/sha512.c: New file. | |
6163 | * crypt/sha512.h: New file. | |
6164 | * crypt/sha512c-test.c: New file. | |
6165 | * crypt/sha512test.c: New file. | |
6166 | ||
ddf51ecb JJ |
6167 | 2007-09-19 Jakub Jelinek <jakub@redhat.com> |
6168 | ||
6169 | * misc/bits/syslog.h (syslog): Remove extraneous argument from | |
6170 | the inline, pass __USE_FORTIFY_LEVEL - 1 as second argument to | |
6171 | __syslog_chk. | |
6172 | ||
b90395e6 UD |
6173 | 2007-09-18 Jakub Jelinek <jakub@redhat.com> |
6174 | ||
76c0bea7 JJ |
6175 | * locale/programs/charmap-dir.c (charmap_aliases): Use %ms instead of |
6176 | %as in fscanf format strings. | |
6177 | ||
00680568 JJ |
6178 | * sysdeps/sparc/sparc32/elf/start.S: Remove cfi_* markup. |
6179 | * sysdeps/sparc/sparc64/elf/start.S: Likewise. | |
c3266dc0 UD |
6180 | * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start): |
6181 | Likewise. | |
6182 | * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start): | |
6183 | Likewise. | |
00680568 | 6184 | |
b90395e6 UD |
6185 | * sysdeps/generic/ldsodefs.h (DL_LOOKUP_GSCOPE_LOCK): New definition. |
6186 | * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Or in | |
6187 | DL_LOOKUP_GSCOPE_LOCK into flags after THREAD_GSCOPE_SET_FLAG (). | |
6188 | * elf/dl-sym.c (do_sym): Likewise. | |
6189 | * include/link.h (struct link_map): Add l_serial field. | |
6190 | * elf/dl-object.c (_dl_new_object): Initialize l_serial. | |
6191 | * elf/dl-lookup.c (add_dependency): Add flags argument. | |
6192 | Remember map->l_serial, if DL_LOOKUP_GSCOPE_LOCK is among | |
6193 | flags, use THREAD_GSCOPE_RESET_FLAG before and | |
6194 | THREAD_GSCOPE_SET_FLAG after | |
6195 | __rtld_lock_lock_recursive (GL(dl_load_lock)) to avoid deadlock. | |
6196 | Don't dereference map until it has been found on some list. | |
6197 | If map->l_serial changed, return -1. | |
6198 | ||
874aa523 UD |
6199 | 2007-09-17 Jakub Jelinek <jakub@redhat.com> |
6200 | ||
6201 | * include/stdio.h (__isoc99_fscanf, __isoc99_scanf, | |
6202 | __isoc99_sscanf, __isoc99_vscanf): New prototypes. | |
6203 | (__isoc99_vsscanf, __isoc99_vfscanf): New prototypes, add | |
6204 | libc_hidden_proto. | |
6205 | * include/wchar.h (__isoc99_fwscanf, __isoc99_wscanf, | |
6206 | __isoc99_swscanf, __isoc99_vwscanf): New prototypes. | |
6207 | (__isoc99_vswscanf, __isoc99_vfwscanf): New prototypes, | |
6208 | add libc_hidden_proto. | |
6209 | * libio/stdio.h (fscanf, scanf, sscanf, vfscanf, vscanf, | |
6210 | vsscanf): Redirect to __isoc99_* if strict ISO C99 or POSIX | |
6211 | conformance requested. | |
6212 | * wcsmbs/wchar.h (fwscanf, wscanf, swscanf, vfwscanf, vwscanf, | |
6213 | vswscanf): Redirect to __isoc99_* if strict ISO C99 or POSIX | |
6214 | conformance requested. | |
6215 | * libio/bits/stdio-ldbl.h (fscanf, scanf, sscanf, vfscanf, vscanf, | |
6216 | vsscanf): Redirect to __nldbl___isoc99_* if strict ISO C99 or POSIX | |
6217 | conformance requested. | |
6218 | * wcsmbs/bits/wchar-ldbl.h (fwscanf, wscanf, swscanf, vfwscanf, | |
6219 | vwscanf, vswscanf): Redirect to __nldbl___isoc99_* if strict | |
6220 | ISO C99 or POSIX conformance requested. | |
6221 | * stdio-common/Versions (libc): Export __isoc99_scanf@@GLIBC_2.7, | |
6222 | __isoc99_vscanf@@GLIBC_2.7, __isoc99_fscanf@@GLIBC_2.7, | |
6223 | __isoc99_vfscanf@@GLIBC_2.7, __isoc99_sscanf@@GLIBC_2.7 | |
6224 | and __isoc99_vsscanf@@GLIBC_2.7. | |
6225 | * stdio-common/Makefile (routines): Add isoc99_scanf, isoc99_vscanf, | |
6226 | isoc99_fscanf, isoc99_vfscanf, isoc99_sscanf and isoc99_vsscanf. | |
6227 | (tests): Add scanf14. | |
6228 | (CFLAGS-vfprintf.c, CFLAGS-fprintf.c, CFLAGS-printf.c, | |
6229 | CFLAGS-vfwprintf.c, CFLAGS-vfscanf.c, CFLAGS-vfwscanf.c, | |
6230 | CFLAGS-fscanf.c, CFLAGS-scanf.c, CFLAGS-isoc99_vfscanf.c, | |
6231 | CFLAGS-isoc99_vscanf.c, CFLAGS-isoc99_fscanf.c, | |
6232 | CFLAGS-isoc99_scanf.c): Add $(exceptions). | |
6233 | (CFLAGS-scanf15.c): Add various -I paths to prevent the compiler | |
6234 | from using internal headers. | |
6235 | * wcsmbs/Versions (libc): Export __isoc99_wscanf@@GLIBC_2.7, | |
6236 | __isoc99_vwscanf@@GLIBC_2.7, __isoc99_fwscanf@@GLIBC_2.7, | |
6237 | __isoc99_vfwscanf@@GLIBC_2.7, __isoc99_swscanf@@GLIBC_2.7 | |
6238 | and __isoc99_vswscanf@@GLIBC_2.7. | |
6239 | * wcsmbs/Makefile (routines): Add isoc99_wscanf, isoc99_vwscanf, | |
6240 | isoc99_fwscanf, isoc99_vfwscanf, isoc99_swscanf and isoc99_vswscanf. | |
6241 | (CFLAGS-isoc99_wscanf.c, CFLAGS-isoc99_fwscanf.c, | |
6242 | CFLAGS-isoc99_vwscanf.c, CFLAGS-isoc99_vfwscanf.c): Add $(exceptions). | |
6243 | (CPPFLAGS): Add -D_IO_MTSAFE_IO if needed. | |
6244 | * stdio-common/isoc99_scanf.c: New file. | |
6245 | * stdio-common/isoc99_vsscanf.c: New file. | |
6246 | * stdio-common/isoc99_vscanf.c: New file. | |
6247 | * stdio-common/isoc99_vfscanf.c: New file. | |
6248 | * stdio-common/isoc99_fscanf.c: New file. | |
6249 | * stdio-common/isoc99_sscanf.c: New file. | |
6250 | * wcsmbs/isoc99_fwscanf.c: New file. | |
6251 | * wcsmbs/isoc99_vswscanf.c: New file. | |
6252 | * wcsmbs/isoc99_swscanf.c: New file. | |
6253 | * wcsmbs/isoc99_wscanf.c: New file. | |
6254 | * wcsmbs/isoc99_vwscanf.c: New file. | |
6255 | * wcsmbs/isoc99_vfwscanf.c: New file. | |
6256 | * libio/libio.h (_IO_FLAGS2_SCANF_STD): Define. | |
6257 | * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct): Also | |
6258 | clear _IO_FLAGS2_SCANF_STD bit from _flags2. | |
6259 | * stdio-common/vfscanf.c (_IO_vfscanf_internal): Don't | |
6260 | handle %as, %aS and %a[ if _IO_FLAGS2_SCANF_STD is set in _flags2. | |
6261 | * stdio-common/scanf14.c: New test. | |
6262 | * stdio-common/scanf15.c: New test. | |
6263 | * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add | |
6264 | isoc99_scanf, isoc99_fscanf, isoc99_sscanf, | |
6265 | isoc99_vscanf, isoc99_vfscanf, isoc99_vsscanf, | |
6266 | isoc99_wscanf, isoc99_fwscanf, isoc99_swscanf, | |
6267 | isoc99_vwscanf, isoc99_vfwscanf and isoc99_vswscanf. | |
6268 | * sysdeps/ieee754/ldbl-opt/Versions (libc): Export | |
6269 | __nldbl___isoc99_scanf@@GLIBC_2.7, | |
6270 | __nldbl___isoc99_fscanf@@GLIBC_2.7, | |
6271 | __nldbl___isoc99_sscanf@@GLIBC_2.7, | |
6272 | __nldbl___isoc99_vscanf@@GLIBC_2.7, | |
6273 | __nldbl___isoc99_vfscanf@@GLIBC_2.7, | |
6274 | __nldbl___isoc99_vsscanf@@GLIBC_2.7, | |
6275 | __nldbl___isoc99_wscanf@@GLIBC_2.7, | |
6276 | __nldbl___isoc99_fwscanf@@GLIBC_2.7, | |
6277 | __nldbl___isoc99_swscanf@@GLIBC_2.7, | |
6278 | __nldbl___isoc99_vwscanf@@GLIBC_2.7, | |
6279 | __nldbl___isoc99_vfwscanf@@GLIBC_2.7 | |
6280 | and __nldbl___isoc99_vswscanf@@GLIBC_2.7. | |
6281 | * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__isoc99_scanf, | |
6282 | __isoc99_fscanf, __isoc99_sscanf, __isoc99_vscanf, | |
6283 | __isoc99_vfscanf, __isoc99_vsscanf, __isoc99_wscanf, | |
6284 | __isoc99_fwscanf, __isoc99_swscanf, __isoc99_vwscanf, | |
6285 | __isoc99_vfwscanf, __isoc99_vswscanf): Add NLDBL_DECL. | |
6286 | * sysdeps/ieee754/ldbl-opt/nldbl-compat.c | |
6287 | (__nldbl___isoc99_scanf, __nldbl___isoc99_fscanf, | |
6288 | __nldbl___isoc99_sscanf, __nldbl___isoc99_vscanf, | |
6289 | __nldbl___isoc99_vfscanf, __nldbl___isoc99_vsscanf, | |
6290 | __nldbl___isoc99_wscanf, __nldbl___isoc99_fwscanf, | |
6291 | __nldbl___isoc99_swscanf, __nldbl___isoc99_vwscanf, | |
6292 | __nldbl___isoc99_vfwscanf, __nldbl___isoc99_vswscanf): New | |
6293 | functions. | |
6294 | * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vfscanf.c: New file. | |
6295 | * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_swscanf.c: New file. | |
6296 | * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vwscanf.c: New file. | |
6297 | * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_wscanf.c: New file. | |
6298 | * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_scanf.c: New file. | |
6299 | * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_sscanf.c: New file. | |
6300 | * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vsscanf.c: New file. | |
6301 | * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_fwscanf.c: New file. | |
6302 | * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vfwscanf.c: New file. | |
6303 | * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vswscanf.c: New file. | |
6304 | * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_vscanf.c: New file. | |
6305 | * sysdeps/ieee754/ldbl-opt/nldbl-isoc99_fscanf.c: New file. | |
6306 | ||
6307 | * stdio-common/Makefile (tests): Add scanf13. | |
6308 | (scanf13-ENV): New. | |
6309 | * stdio-common/vfscanf.c (_IO_vfscanf_internal): Handle | |
6310 | m modifier followed by l. | |
6311 | (STRING_ARG): Add width argument. | |
6312 | (_IO_vfscanf_internal) <case L_('c')>: Handle %mc. | |
6313 | <case L_('C')>: Handle %mlc and %mC. | |
6314 | <case L_('s'), case L_('S'), case L_('[')>: Adjust STRING_ARG | |
6315 | arguments. | |
6316 | * stdio-common/scanf13.c: New test. | |
6317 | ||
6318 | * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct): Clear | |
6319 | the _IO_FLAGS2_FORTIFY bit from _flags2 rather than _flags. | |
6320 | ||
883f7943 UD |
6321 | 2007-09-18 Ulrich Drepper <drepper@redhat.com> |
6322 | ||
6323 | * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Correct return value | |
874aa523 | 6324 | type and __THROW marker of splice, vmsplice, and tee. |
883f7943 UD |
6325 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. |
6326 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. | |
6327 | * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. | |
6328 | * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. | |
6329 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. | |
6330 | * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. | |
6331 | * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. | |
6332 | * sysdeps/unix/sysv/linux/syscalls.list: Mark splice, vmsplice, and tee | |
6333 | as cancellation points. | |
6334 | ||
3524efe0 UD |
6335 | 2003-11-01 Daniel Jacobowitz <dan@debian.org> |
6336 | ||
6337 | * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion): Don't | |
6338 | parse more than three parts of the version number. | |
6339 | ||
267c54dc UD |
6340 | 2007-09-15 Ulrich Drepper <drepper@redhat.com> |
6341 | ||
6342 | * stdio-common/vfscanf.c (_IO_vfwscanf): Add support for 'm' | |
6343 | modifier. Patch by Jakub Jelinek. | |
6344 | ||
5e17d6b7 UD |
6345 | 2007-08-26 Jakub Jelinek <jakub@redhat.com> |
6346 | ||
6347 | * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_routines): Add | |
6348 | call_fallocate in misc subdir. | |
6349 | * sysdeps/unix/sysv/linux/i386/call_fallocate.S: New file. | |
6350 | * sysdeps/unix/sysv/linux/i386/syscalls.list (fallocate64): Remove. | |
6351 | * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Use __call_fallocate | |
6352 | instead of __fallocate64. | |
6353 | * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise. | |
6354 | ||
3a50811c UD |
6355 | 2007-09-15 Jakub Jelinek <jakub@redhat.com> |
6356 | ||
6357 | * rt/Versions (librt): Export __mq_open_2@@GLIBC_2.7. | |
6358 | * rt/Makefile (headers): Add bits/mqueue2.h. | |
6359 | * rt/mqueue.h: Include bits/mqueue2.h if -D_FORTIFY_SOURCE=2, | |
6360 | optimizing with GCC and __va_arg_pack_len is defined. | |
6361 | * rt/bits/mqueue2.h: New file. | |
6362 | * rt/mq_open.c (__mq_open): Renamed from mq_open. | |
6363 | (mq_open): New strong_alias. | |
6364 | (__mq_open_2): New function. | |
6365 | * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Renamed from mq_open. | |
6366 | (mq_open): New strong_alias. | |
6367 | (__mq_open_2): New function. | |
6368 | * debug/Versions (libc): Export __fortify_fail@@GLIBC_PRIVATE. | |
6369 | * Versions.def (librt): Add GLIBC_2.7 version. | |
6370 | * debug/fortify_fail.c (__fortify_fail): Add libc_hidden_def. | |
6371 | * include/stdio.h (__fortify_fail): Add libc_hidden_proto. | |
6372 | ||
6373 | * misc/sys/cdefs.h (__errordecl, __va_arg_pack_len): Define. | |
6374 | * io/fcntl.h: Include bits/fcntl2.h when __va_arg_pack_len | |
6375 | is defined rather than when not C++. | |
6376 | * io/bits/fcntl2.h (__open_alias, __open64_alias, __openat_alias, | |
6377 | __openat64_alias): New redirects. | |
6378 | (__open_too_many_args, __open_missing_mode, __open64_too_many_args, | |
6379 | __open64_missing_mode, __openat_too_many_args, __openat_missing_mode, | |
6380 | __openat64_too_many_args, __openat64_missing_mode): New __errordecls. | |
6381 | (open, open64, openat, openat64): Rewrite as __extern_always_inline | |
6382 | functions instead of function-like macros. | |
6383 | ||
9bdfff60 UD |
6384 | 2007-09-14 H.J. Lu <hongjiu.lu@intel.com> |
6385 | ||
6386 | * sysdeps/i386/i586/memcpy.S (__memcpy_chk): New definition. | |
6387 | * sysdeps/i386/i586/mempcpy.S (__memcpy_chk): New definition. | |
6388 | * sysdeps/i386/i586/memset.S (__memset_chk): New definition. | |
6389 | ||
ab905672 UD |
6390 | 2007-09-15 Mike Frysinger <vapier@gentoo.org> |
6391 | ||
6392 | * inet/inet_net.c: Reset digit to 0 for inputs starting with "0x". | |
6393 | * inet/tst-network.c (tests): Add edge case tests for "0", "0x", "0x0". | |
6394 | ||
9bd68902 RM |
6395 | 2007-09-14 Mike Frysinger <vapier@gentoo.org> |
6396 | ||
6397 | * inet/tst-network.c: Increment ERRORS for failing tests. | |
6398 | ||
de1c3ebb UD |
6399 | 2007-09-07 Jakub Jelinek <jakub@redhat.com> |
6400 | ||
6401 | * misc/sys/cdefs.h (__va_arg_pack): Define for GCC 4.3+. | |
6402 | * misc/bits/syslog.h (syslog): When __va_arg_pack is defined, | |
6403 | implement as __extern_always_inline function. | |
6404 | (vsyslog): Define as __extern_always_inline function unconditionally. | |
6405 | * libio/bits/stdio2.h (sprintf, snprintf, printf, fprintf): | |
6406 | When __va_arg_pack is defined, implement as __extern_always_inline | |
6407 | functions. | |
6408 | (vsprintf, vsnprintf, vprintf, vfprintf): Define as | |
6409 | __extern_always_inline functions unconditionally. | |
6410 | * libio/bits/stdio.h (vprintf): Ifdef out the inline when | |
6411 | bits/stdio2.h will be included. | |
6412 | * wcsmbs/bits/wchar2.h (__swprintf_alias): New redirect. | |
6413 | (swprintf, wprintf, fwprintf): When __va_arg_pack is defined, | |
6414 | implement as __extern_always_inline functions. | |
6415 | (vswprintf, vwprintf, vfwprintf): Define as | |
6416 | __extern_always_inline functions unconditionally. | |
6417 | * debug/tst-chk1.c (do_test): Enable remaining tests for C++. | |
6418 | ||
6419 | 2007-09-03 Jakub Jelinek <jakub@redhat.com> | |
6420 | ||
6421 | * misc/sys/cdefs.h (__extern_inline, __extern_always_inline): Only | |
6422 | define in C++ for GCC 4.3+, in C++ always use __gnu_inline__ | |
6423 | attribute. | |
6424 | * include/features.h (__USE_EXTERN_INLINES): Define only when | |
6425 | __extern_inline is defined. | |
6426 | * stdlib/stdlib.h: Include bits/stdlib.h when __extern_always_inline | |
6427 | is defined instead of when not __cplusplus. | |
6428 | * misc/sys/syslog.h: Include bits/syslog.h when __extern_always_inline | |
6429 | is defined instead of when not __cplusplus. | |
6430 | * socket/sys/socket.h: Include bits/socket2.h when | |
6431 | __extern_always_inline is defined instead of when not __cplusplus. | |
6432 | * libio/stdio.h: Include bits/stdio2.h when __extern_always_inline | |
6433 | is defined instead of when not __cplusplus. | |
6434 | * posix/unistd.h: Include bits/unistd.h when __extern_always_inline | |
6435 | is defined instead of when not __cplusplus. | |
6436 | * string/string.h: Include bits/string3.h when __extern_always_inline | |
6437 | is defined instead of when not __cplusplus. | |
6438 | * wcsmbs/wchar.h: Include bits/wchar2.h when __extern_always_inline | |
6439 | is defined instead of when not __cplusplus. | |
6440 | (btowc, wctob): Don't guard the inlines with ifndef __cplusplus. | |
6441 | * io/fcntl.h: Don't include bits/fcntl2.h if __extern_always_inline | |
6442 | is not defined. | |
6443 | * misc/bits/syslog-ldbl.h: Guard *_chk stuff with | |
6444 | defined __extern_always_inline instead of !defined __cplusplus. | |
6445 | * libio/bits/stdio-ldbl.h: Likewise. | |
6446 | * wcsmbs/bits/wchar-ldbl.h: Likewise. | |
6447 | * misc/bits/syslog.h (syslog): Don't define for C++. | |
6448 | (vsyslog): Use __extern_always_inline function for C++ instead of | |
6449 | a macro. | |
6450 | * libio/bits/stdio.h (__STDIO_INLINE): Define to __extern_inline | |
6451 | whenever that macro is defined. | |
6452 | (vprintf): Don't provide the inline for C++. | |
6453 | (fread_unlocked, fwrite_unlocked): Don't define the macros for C++. | |
6454 | * libio/bits/stdio2.h (sprintf, snprintf, printf, fprintf): Don't | |
6455 | define the macros for C++. | |
6456 | (vsprintf, vsnprintf, vprintf, vfprintf): Define as | |
6457 | __extern_always_inline functions for C++. | |
6458 | * io/sys/stat.h (stat, lstat, fstat, fstatat, mknod, mknodat, | |
6459 | stat64, lstat64, fstat64, fstatat64): Don't define if not | |
6460 | __USE_EXTERN_INLINES. | |
6461 | * wcsmbs/bits/wchar2.h: Fix #error message. | |
6462 | (swprintf, wprintf, fwprintf): Don't define the macros for C++. | |
6463 | (vswprintf, vwprintf, vfwprintf): Define using | |
6464 | __extern_always_inline functions for C++. | |
6465 | * string/bits/string3.h: Don't #undef macros if __cplusplus. | |
6466 | (memcpy, memmove, mempcpy, memset, bcopy, bzero, strcpy, stpcpy, | |
6467 | strncpy, strcat, strncat): Define as __extern_always_inline | |
6468 | functions instead of macros for C++. | |
6469 | * math/bits/cmathcalls.h: Guard __extern_inline routines with | |
6470 | defined __extern_inline. | |
6471 | * sysdeps/alpha/fpu/bits/mathinline.h (__MATH_INLINE): Define | |
6472 | to __extern_inline whenever that macro is defined. | |
6473 | * sysdeps/ia64/fpu/bits/mathinline.h (__MATH_INLINE): Likewise. | |
6474 | * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Likewise. | |
6475 | * sysdeps/i386/i486/bits/string.h (__STRING_INLINE): Likewise. | |
6476 | * sysdeps/s390/bits/string.h (__STRING_INLINE): Likewise. | |
6477 | * sysdeps/s390/fpu/bits/mathinline.h (__MATH_INLINE): Likewise. | |
6478 | * sysdeps/powerpc/fpu/bits/mathinline.h (__MATH_INLINE): Likewise. | |
6479 | * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Likewise. | |
6480 | * sysdeps/sparc/fpu/bits/mathinline.h (__MATH_INLINE): Likewise. | |
6481 | * sysdeps/unix/sysv/linux/sys/sysmacros.h (gnu_dev_major, | |
6482 | gnu_dev_minor, gnu_dev_makedev): Remove __extern_inline from | |
6483 | prototypes. Only provide __extern_inline routines if | |
6484 | __USE_EXTERN_INLINES. | |
6485 | * debug/Makefile: Add rules to build and run tst-{,lfs}chk{4,5,6} | |
6486 | tests. | |
6487 | * debug/tst-chk1.c (do_prepare, do_test): Allow compilation as C++. | |
6488 | For now avoid some *printf tests in C++. Skip all testing | |
6489 | if __USE_FORTIFY_LEVEL is defined, but __extern_always_inline macro | |
6490 | is not. | |
6491 | * debug/tst-chk4.cc: New file. | |
6492 | * debug/tst-chk5.cc: New file. | |
6493 | * debug/tst-chk6.cc: New file. | |
6494 | * debug/tst-lfschk4.cc: New file. | |
6495 | * debug/tst-lfschk5.cc: New file. | |
6496 | * debug/tst-lfschk6.cc: New file. | |
6497 | * include/wchar.h (__vfwprintf_chk, __vswprintf_chk): Avoid | |
6498 | prototypes in C++. | |
6499 | * include/stdio.h (__sprintf_chk, __snprintf_chk, __vsprintf_chk, | |
6500 | __vsnprintf_chk, __printf_chk, __fprintf_chk, __vprintf_chk, | |
6501 | __vfprintf_chk, __fgets_unlocked_chk, __fgets_chk): Likewise. | |
6502 | ||
b53eef9c UD |
6503 | 2007-09-13 Ulrich Drepper <drepper@redhat.com> |
6504 | ||
6505 | * po/cs.po: Update from translation team. | |
6506 | ||
af385590 RM |
6507 | 2007-09-11 Roland McGrath <roland@redhat.com> |
6508 | ||
6509 | * posix/Makefile ($(objpfx)getconf.speclist): Make it empty if cross | |
6510 | compiling. | |
6511 | ||
af2f25a1 RM |
6512 | 2007-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org> |
6513 | ||
6514 | * sysdeps/mach/hurd/bits/ioctls.h (TAB3): New macro. | |
6515 | ||
94733ae0 RM |
6516 | 2007-09-05 Roland McGrath <roland@redhat.com> |
6517 | ||
6518 | * manual/signal.texi (Signaling Another Process): Typo fix. | |
6519 | From Karl Berry <karl@freefriends.org>. | |
6520 | ||
de4d8563 UD |
6521 | 2007-08-29 Ulrich Drepper <drepper@redhat.com> |
6522 | ||
6523 | * sysdeps/unix/sysv/linux/check_pf.c (IFA_F_OPTIMISTIC): Define to | |
6524 | zero if not defined. | |
6525 | (make_request): Recognize optimistic addresses and treat them like | |
6526 | deprecated addresses. | |
6527 | Reported by Neil Horman <nhorman@redhat.com>. | |
6528 | ||
0adfcc05 UD |
6529 | 2007-08-28 Ulrich Drepper <drepper@redhat.com> |
6530 | ||
f3c54060 UD |
6531 | * nscd/connections.c (send_ro_fd): Also transfer file size. |
6532 | * nscd/nscd_helper.c (get_mapping): If nscd also transfers the | |
6533 | file size don't call fstat. | |
6534 | ||
0adfcc05 UD |
6535 | * nscd/nscd_helper.c (get_mapping): Avoid the pread call, just go |
6536 | ahead and map the file. This should always be correct and we can | |
6537 | catch problems later. | |
6538 | ||
3586b2b6 UD |
6539 | 2007-08-28 Jakub Jelinek <jakub@redhat.com> |
6540 | ||
6541 | * libio/bits/stdio2.h (__fread_chk, __fread_unlocked_chk): New | |
6542 | prototypes. | |
6543 | (__fread_alias, __fread_unlocked_alias): New aliases. | |
6544 | (fread): New extern inline. | |
6545 | (fread_unlocked): Likewise. Undef macro before definition of | |
6546 | the inline function. | |
6547 | * debug/Makefile (routines): Add fread_chk and fread_u_chk. | |
6548 | (CFLAGS-fread_chk.c, CFLAGS-fread_u_chk.c): Add. | |
6549 | * debug/Versions (libc): Export __fread_chk@@GLIBC_2.7 | |
6550 | and __fread_unlocked_chk@@GLIBC_2.7. | |
6551 | * debug/fread_chk.c: New file. | |
6552 | * debug/fread_u_chk.c: New file. | |
6553 | * debug/tst-chk1.c (do_test): Add fread and fread_unlocked tests. | |
6554 | ||
3704aa0b RM |
6555 | 2007-08-27 Jakub Jelinek <jakub@redhat.com> |
6556 | ||
6557 | * sysdeps/unix/sysv/linux/syscalls.list | |
6558 | (personality): Change caller to EXTRA. | |
6559 | ||
80e7d6a6 UD |
6560 | 2007-08-25 Ulrich Drepper <drepper@redhat.com> |
6561 | ||
278bfa00 UD |
6562 | * iconvdata/iso-2022-kr.c (BODY): Fake initialization of array buf |
6563 | to keep gcc quiet. | |
6564 | * iconvdata/iso-2022-cn.c (BODY): Likewise. | |
6565 | ||
a45d733c UD |
6566 | * locale/programs/ld-collate.c (collate_output): Avoid warning if |
6567 | NDEBUG is defined. | |
6568 | ||
5dfeae0e UD |
6569 | * Makerules: Use -p option with mkdir. |
6570 | ||
8f1fe057 UD |
6571 | * sunrpc/key_prot.c (xdr_unixcred): Work around gcc alias warning. |
6572 | * nis/nis_xdr.c (_xdr_nis_server): Likewise. | |
bd0dcd28 UD |
6573 | (_xdr_directory_obj): Likewise. |
6574 | (xdr_entry_obj): Likewise. | |
6575 | (xdr_group_obj): Likewise. | |
6576 | (xdr_link_obj): Likewise. | |
6577 | (xdr_table_obj): Likewise. | |
6578 | (_xdr_nis_result): Likewise. | |
6579 | (_xdr_ns_request): Likewise. | |
6580 | (_xdr_ib_request): Likewise. | |
6581 | (_xdr_nis_taglist): Likewise. | |
6582 | (xdr_cback_data): Likewise. | |
8f1fe057 | 6583 | * nis/yp_xdr.c (xdr_ypmaplist): Likewise. |
bd0dcd28 UD |
6584 | (xdr_ypresp_maplist): Likewise. |
6585 | ||
01339a67 UD |
6586 | * stdio-common/Makefile: Avoid format string warning for tst-sprint. |
6587 | ||
3fa10468 UD |
6588 | * posix/regex_internal.h: Prevent some declarations and definitions |
6589 | to be seen when used in tests. | |
6590 | ||
ec1e04de UD |
6591 | * posix/tst-rfc3484.c (__idna_to_unicode_lzlz): Initialize *OUTPUT. |
6592 | * posix/tst-rfc3484-2.c (__idna_to_unicode_lzlz): Likewise. | |
6593 | ||
7a344d1d UD |
6594 | * debug/Makefile: Disable format checking when compiling tst-chk?.c. |
6595 | ||
f8f6ff5d UD |
6596 | * config.make.in (datarootdir): Add to shut up configure. |
6597 | ||
76fca9f1 UD |
6598 | * sysdeps/x86_64/cacheinfo.c (handle_amd): Fix computation of |
6599 | associativity for fully-associative caches. | |
6600 | ||
80e7d6a6 UD |
6601 | * sysdeps/x86_64/cacheinfo.c (handle_amd): Handle L3 cache |
6602 | requests. Fill on more associativity values for L2. | |
6603 | Patch mostly by Evandro Menezes. | |
6604 | ||
cb5ba304 UD |
6605 | 2007-08-24 Ulrich Drepper <drepper@redhat.com> |
6606 | ||
d250df8c UD |
6607 | * sysdeps/unix/sysv/linux/x86_64/init-first.c |
6608 | (_libc_vdso_platform_setup): Avoid using exported variable by using | |
6609 | alias. | |
6610 | ||
88f61aaf UD |
6611 | * resolv/arpa/nameser.h (NS_OPT_DNSSEC_OK): Define. |
6612 | ||
cb5ba304 | 6613 | * sysdeps/unix/sysv/linux/i386/syscalls.list: No reason to mark |
cb104bd7 | 6614 | fallocate64 as EXTRA. It is not referenced if the symbol isn't |
cb5ba304 UD |
6615 | defined. |
6616 | ||
62e1b1f5 UD |
6617 | 2007-08-23 Ulrich Drepper <drepper@redhat.com> |
6618 | ||
44b2e581 UD |
6619 | * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Correctly |
6620 | align stack for call if pltexit is to be used. | |
6621 | ||
73e3ff07 UD |
6622 | [BZ #3924] |
6623 | * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Correctly | |
6624 | align for function call in case pltexit has to be called later. | |
6625 | ||
62e1b1f5 UD |
6626 | * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Avoid |
6627 | implicit atomic operation when storing function pointer. | |
6628 | (_dl_runtime_profile): Likewise. | |
6629 | ||
0008163a UD |
6630 | 2007-08-17 Jakub Jelinek <jakub@redhat.com> |
6631 | ||
6632 | * nis/nis_table.c (nis_list): Don't fail if __follow_path returned | |
6633 | NIS_NOTFOUND. | |
6634 | ||
55ea8790 UD |
6635 | 2007-08-21 Ulrich Drepper <drepper@redhat.com> |
6636 | ||
2e0e1a05 UD |
6637 | [BZ #4566] |
6638 | * string/strtok.c: Fix typo in comment. | |
6639 | ||
682e4437 UD |
6640 | [BZ #4582] |
6641 | * debug/segfault.c: Fix typos in comments. | |
6642 | ||
7d55c9eb UD |
6643 | [BZ #4588] |
6644 | * stdio-common/tempnam.c: Fix comment, it is not checked that | |
6645 | TMPDIR points to a writable directory. | |
6646 | ||
0f8f993c UD |
6647 | [BZ #4726] |
6648 | * resolv/res_send.c (__libc_res_nsend): Initialize all of the | |
6649 | memory allocated for the name server address. | |
6650 | ||
1465dd0f UD |
6651 | [BZ #4946] |
6652 | * nscd/connections.c (handle_request): Using sendfile always | |
6653 | requires that mmap is used for the database. | |
6654 | Patch by Petr Baudis <pasky@suse.cz>. | |
6655 | ||
c44d3bdf UD |
6656 | [BZ #4905] |
6657 | * nscd/hstcache.c (cache_addhst): When reloading an entry which | |
6658 | suddenly has two or more addresses, ignore it and remove the old | |
6659 | entry. | |
6660 | ||
1ce7d80d UD |
6661 | [BZ #4814] |
6662 | * resolv/res_hconf.c: Prepare for compiling outside libc. | |
6663 | * nscd/res_hconf.c: New file. | |
6664 | * nscd/Makefile (nscd-modules): Add res_hconf. Add rules to build | |
6665 | the new file. | |
6666 | * nscd/gethstbynm2_r.c (NEED__RES_HCONF): Define. | |
6667 | * nscd/gethstbyad_r.c (NEED__RES_HCONF): Likewise. | |
6668 | ||
a30d41c1 UD |
6669 | * nscd/hstcache.c (cache_addhst): Minimal optimization. |
6670 | ||
45dc3ad7 UD |
6671 | [BZ #4925] |
6672 | * debug/pcprofiledump.c: Turn on internationalization by calling | |
6673 | setlocale. Patch mostly by Benno Schulenberg. | |
6674 | ||
55ea8790 UD |
6675 | [BZ #4936] |
6676 | * iconv/gconv.c (__gconv): If flush was successful, clear rest of | |
6677 | the state. | |
6678 | * iconvdata/Makefile: Add rules to build and run bug-iconv5. | |
6679 | * iconvdata/bug-iconv5.c: New file. | |
6680 | ||
0b82ff74 UD |
6681 | 2007-08-04 Carlos O'Donell <carlos@systemhalted.org> |
6682 | ||
55ea8790 | 6683 | [BZ #4896] |
0b82ff74 UD |
6684 | * elf/elf.h: Define R_PARISC_PLABEL21L, R_PARISC_PLABEL14R, |
6685 | R_PARISC_GNU_VTENTRY, R_PARISC_GNU_VTINHERIT, R_PARISC_TLS_GD21L, | |
6686 | R_PARISC_TLS_GD14R, R_PARISC_TLS_GDCALL, R_PARISC_TLS_LDM21L, | |
6687 | R_PARISC_TLS_LDM14R, R_PARISC_TLS_LDMCALL, R_PARISC_TLS_LDO21L, | |
6688 | R_PARISC_TLS_LDO14R, R_PARISC_TLS_DTPMOD32, R_PARISC_TLS_DTPMOD64, | |
6689 | R_PARISC_TLS_DTPOFF32, R_PARISC_TLS_DTPOFF64, R_PARISC_TLS_LE21L, | |
6690 | R_PARISC_TLS_LE14R, R_PARISC_TLS_IE21L, R_PARISC_TLS_IE14R, | |
6691 | R_PARISC_TLS_TPREL32, R_PARISC_TLS_TPREL64. | |
6692 | ||
ee16a55a UD |
6693 | 2007-08-21 Ulrich Drepper <drepper@redhat.com> |
6694 | ||
6695 | [BZ #4937] | |
6696 | * elf/do-lookup.h (do_lookup_x): Minimal improvement in hash | |
6697 | lookup loop. Suggested by John Reiser. | |
6698 | ||
b211fe0f JJ |
6699 | 2007-08-21 Jakub Jelinek <jakub@redhat.com> |
6700 | ||
6701 | * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include tls.h. | |
6702 | ||
fb84593c UD |
6703 | 2007-08-20 Ulrich Drepper <drepper@redhat.com> |
6704 | ||
6705 | * csu/libc-start.c: Don't handle VDSO_SETUP here. | |
6706 | * sysdeps/unix/sysv/linux/init-first.c: Handle it here instead. | |
6707 | * sysdeps/unix/sysv/linux/x86_64/libc-start.c: Renamed to... | |
6708 | * sysdeps/unix/sysv/linux/x86_64/init-first.c: ...this. New file. | |
6709 | * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Move VDSO_SETUP code | |
6710 | to... | |
6711 | * sysdeps/unix/sysv/linux/x86_64/init-first.c: ...here. New file. | |
6712 | ||
b83fb35c UD |
6713 | 2007-08-18 Ulrich Drepper <drepper@redhat.com> |
6714 | ||
6715 | * po/nl.po: Update from translation team. | |
6716 | ||
20806a70 AJ |
6717 | 2007-08-16 Andreas Jaeger <aj@suse.de> |
6718 | ||
6719 | * locale/localeinfo.h: Make _nl_category_name_idxs extern. | |
f00d47a3 | 6720 | Reported by Peter Festner <peter.festner@ewetel.net>. |
20806a70 | 6721 | |
42282d57 JJ |
6722 | 2007-08-17 Jakub Jelinek <jakub@redhat.com> |
6723 | ||
6724 | * login/tst-grantpt.c (test_einval): Add 3rd argument to open. | |
6725 | ||
8a501135 JJ |
6726 | 2007-08-16 Jakub Jelinek <jakub@redhat.com> |
6727 | ||
cb84d1e4 JJ |
6728 | * elf/Makefile ($(objpfx)ld.so): Use readelf -s and awk instead of nm -u |
6729 | to check for undefined symbols. | |
6730 | ||
91ddd9c4 JJ |
6731 | * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): |
6732 | If the syscall fails, set errno to the actual returned error number | |
6733 | rather than EINVAL. | |
6734 | * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): If | |
6735 | arguments are incorrect, set errno to EINVAL, if the syscall | |
6736 | fails, set errno to the actual returned error number. | |
6737 | ||
18915760 JJ |
6738 | * stdlib/bits/stdlib-ldbl.h (__strtold_internal): Remove. |
6739 | * wcsmbs/bits/wchar-ldbl.h (__wcstold_internal): Remove. | |
6740 | ||
8a501135 JJ |
6741 | * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: Moved to... |
6742 | * sysdeps/sparc/sparc32/sparcv9/sparcv9b/memcpy.S: ... here. New | |
6743 | file. | |
6744 | (ASI_PNF, ASI_BLK_P): Don't define. | |
6745 | * sysdeps/sparc/sparc32/sparcv9v/memcpy.S: Moved to... | |
6746 | * sysdeps/sparc/sparc32/sparcv9/sparcv9v/memcpy.S: ... here. New | |
6747 | file. | |
6748 | * sysdeps/sparc/sparc32/sparcv9v/memset.S: Moved to... | |
6749 | * sysdeps/sparc/sparc32/sparcv9/sparcv9v/memset.S: ... here. New | |
6750 | file. | |
6751 | ||
e4720b0e JJ |
6752 | 2007-08-15 Jakub Jelinek <jakub@redhat.com> |
6753 | ||
6754 | * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Fix raising | |
6755 | FE_UNDERFLOW on Niagara CPUs. | |
6756 | ||
6757 | * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear all | |
6758 | exceptions. | |
6759 | ||
702a9414 JJ |
6760 | 2007-08-14 Jakub Jelinek <jakub@redhat.com> |
6761 | ||
467d1345 JJ |
6762 | * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup): No |
6763 | need to check GLRO(dl_hwcap) & HWCAP_SPARC_FLUSH on sparcv9. | |
6764 | (sparc_fixup_plt): Add do_flush argument instead of figuring whether | |
6765 | flush should be used or not inside of the function. | |
6766 | (elf_machine_fixup_plt, elf_machine_rela): Adjust caller. | |
6767 | ||
6768 | * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone, | |
6769 | __thread_start): Use HIDDEN_JUMPTARGET. | |
6770 | * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone, | |
6771 | __thread_start): Likewise. | |
6772 | * sysdeps/unix/sysv/linux/sparc/sysdep.h (JUMPTARGET): Define. | |
6773 | ||
702a9414 JJ |
6774 | * sysdeps/ieee754/ldbl-64-128/strtold_l.c (__STRTOF): Declare. |
6775 | Add libc_hidden_proto. | |
6776 | (STRTOF): Add libc_hidden_proto. | |
6777 | (___new_strtold_l, ___new_wcstold_l): New weak aliases. | |
6778 | (strtold_l, wcstold_l): Use them as second argument for | |
6779 | long_double_symbol. | |
6780 | ||
c6c8f0ec UD |
6781 | 2007-08-14 Ulrich Drepper <drepper@redhat.com> |
6782 | ||
6783 | * elf/dl-misc.c: Undo last change. The kernel won't allow it. | |
6784 | ||
5e88abf9 UD |
6785 | 2007-08-13 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
6786 | ||
6787 | * stdlib/strtold_l.c: Include wchar.h if needed. Add libc_hidden_def. | |
6788 | ||
fc4819b0 UD |
6789 | 2007-08-14 Ulrich Drepper <drepper@redhat.com> |
6790 | ||
6791 | * po/bg.po: New file. From the translation team. | |
6792 | ||
22502ea2 UD |
6793 | 2007-08-13 Jakub Jelinek <jakub@redhat.com> |
6794 | ||
6795 | * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PSELECT, | |
6796 | __ASSUME_PPOLL, __ASSUME_ATFCTS, __ASSUME_SET_ROBUST_LIST, | |
6797 | __ASSUME_UTIMENSAT, __ASSUME_FALLOCATE): Update per-arch conditions | |
6798 | when each feature was introduced. | |
6799 | ||
6800 | * sysdeps/unix/sysv/linux/dl-vdso.c: Don't include dl-hash.h. | |
6801 | * sysdeps/unix/sysv/linux/dl-vdso.h: Don't include dl-hash.h if NDEBUG. | |
6802 | (CHECK_HASH): New macro. | |
6803 | (PREPARE_VERSION): Use it. | |
6804 | ||
6805 | * sysdeps/unix/sysv/linux/pselect.c (__generic_pselect): Only provide | |
6806 | prototype if not __ASSUME_PSELECT. | |
6807 | * sysdeps/unix/sysv/linux/ppoll.c (__generic_ppoll): Only provide | |
6808 | prototype if not __ASSUME_PPOLL. | |
6809 | ||
6810 | * sysdeps/unix/sysv/linux/dl-osinfo.h (ROUND): #undef after use. | |
6811 | ||
6812 | * sysdeps/unix/clock_settime.c (freq, __pthread_clock_settime, | |
6813 | hp_timing_settime): Don't define or declare if HANDLED_CPUTIME | |
6814 | is defined. | |
6815 | ||
9c6f6953 UD |
6816 | 2007-08-13 Ulrich Drepper <drepper@redhat.com> |
6817 | ||
6818 | * sysdeps/unix/sysv/linux/x86_64/libc-start.c | |
6819 | (_libc_vdso_platform_setup): If vDSO is not available point | |
6820 | __vdso_gettimeofday to the vsyscall. | |
6821 | * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S [SHARED]: Use | |
6822 | __vdso_gettimeofday instead of vsyscall. | |
6823 | ||
f8de5057 UD |
6824 | 2007-08-13 Jakub Jelinek <jakub@redhat.com> |
6825 | ||
6826 | * nscd/servicescache.c: Include kernel-features.h. | |
6827 | * nscd/gai.c: Likewise. | |
6828 | * sysdeps/unix/sysv/linux/statfs64.c: Likewise. | |
6829 | * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise. | |
6830 | * sysdeps/unix/sysv/linux/fxstatat.c: Likewise. | |
6831 | * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise. | |
6832 | * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise. | |
6833 | * sysdeps/unix/sysv/linux/xstatconv.c: Likewise. | |
6834 | * sysdeps/unix/sysv/linux/if_index.c: Likewise. | |
6835 | * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Likewise. | |
6836 | * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise. | |
6837 | ||
3c87d79d UD |
6838 | 2007-08-12 Ulrich Drepper <drepper@redhat.com> |
6839 | ||
ea37207a UD |
6840 | * elf/dl-dst.h: No need for _dl_dst_count, _dl_dst_substitute, |
6841 | and _dl_get_origin defines anymore. | |
6842 | ||
4eb375fe UD |
6843 | * sysdeps/unix/sysv/linux/clock_gettime.c (maybe_syscall_gettime_cpu): |
6844 | Build fix for systems which might lack POSIX timer support. | |
6845 | ||
3c87d79d UD |
6846 | * sysdeps/unix/sysv/linux/x86_64/libc-start.c |
6847 | (_libc_vdso_platform_setup): Mangle function pointers before storing | |
6848 | them. | |
6849 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL): | |
6850 | Demangle vdso pointer before use. | |
6851 | (INTERNAL_VSYSCALL): Likewise. | |
6852 | ||
6853 | * elf/cache.c (primes): Mark as const. | |
6854 | Noted by Roland McGrath. | |
6855 | ||
27d9ffda UD |
6856 | 2007-08-01 Andreas Jaeger <aj@suse.de> |
6857 | Jakub Jelinek <jakub@redhat.com> | |
6858 | ||
6859 | * elf/ldconfig.c (opt_ignore_aux_cache): Add new option. | |
6860 | (options): Add option. | |
6861 | (parse_opt): Handle option. | |
6862 | (manual_link): Adjust process_file caller. Call implicit_soname. | |
6863 | (search_dir): Formatting. Use and populate auxiliary cache. | |
6864 | (main): Load and save auxiliary cache. | |
6865 | * elf/readlib.c (process_file): Add stat_buf argument. Pass struct | |
6866 | stat64 from fstat64 to caller. | |
6867 | (implicit_soname): New function. | |
6868 | * elf/readelflib.c (process_elf_file): If DT_SONAME is not present, | |
6869 | leave *soname as NULL. | |
6870 | * elf/cache.c: Include libgen.h. | |
6871 | (print_entry, print_cache, compare, save_cache, add_to_cache): | |
6872 | Formatting and cleanups. | |
6873 | (aux_cache_entry_id, aux_cache_entry, aux_cache_file_entry, | |
6874 | aux_cache_file): New structures. | |
6875 | (AUX_CACHEMAGIC): Define. | |
6876 | (primes): New array. | |
6877 | (aux_hash_size, aux_hash): New variables. | |
6878 | (aux_cache_entry_id_hash, nextprime, init_aux_cache, | |
6879 | search_aux_cache, insert_to_aux_cache, add_to_aux_cache, | |
6880 | load_aux_cache, save_aux_cache): New functions. | |
6881 | * sysdeps/generic/ldconfig.h (_PATH_LDCONFIG_AUX_CACHE): Define. | |
6882 | (init_aux_cache, search_aux_cache, add_to_aux_cache, | |
6883 | load_aux_cache, save_aux_cache, implicit_soname): New prototypes. | |
6884 | (process_file): Adjust prototype. | |
6885 | ||
8d944b0f UD |
6886 | 2007-08-12 Jakub Jelinek <jakub@redhat.com> |
6887 | ||
6888 | * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Include stddef.h | |
6889 | with __need_size_t. | |
6890 | ||
75fb247e UD |
6891 | 2007-08-12 Ulrich Drepper <drepper@redhat.com> |
6892 | ||
fb86328a UD |
6893 | * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Expect |
6894 | r_found_version structure as second parameter. | |
6895 | * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Define. | |
6896 | (_dl_vdso_vsym): Change type of second parameter accordingly. | |
6897 | * sysdeps/unix/sysv/linux/x86-64/libc-start.c | |
6898 | (_libc_vdso_platform_setup): Adjust. | |
974a1f0f | 6899 | * sysdeps/unix/sysv/linux/powerpc/libc-start.c |
fb86328a UD |
6900 | (_libc_vdso_platform_setup): Likewise. |
6901 | ||
75fb247e UD |
6902 | * sysdeps/unix/sysv/linux/powerpc/dl-vdso.c: Move to... |
6903 | * sysdeps/unix/sysv/linux/dl-vdso.c: ...here. | |
6904 | * sysdeps/unix/sysv/linux/powerpc/dl-vdso.h: Move to... | |
6905 | * sysdeps/unix/sysv/linux/dl-vdso.h: ...here. | |
6906 | * csu/libc-start.c: Pretty printing. | |
6907 | Use VDSO_SETUP if defined. | |
6908 | * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Define VDSO_SETUP | |
6909 | and let generic code call into _libc_vdso_platform_setup. | |
6910 | * sysdeps/unix/sysv/linux/x86_64/libc-start.c: New file. | |
6911 | * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: New file. | |
6912 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Pretty printing. | |
6913 | Define INLINE_VSYSCALL and INTERNAL_VSYSCALL. | |
6914 | * sysdeps/unix/sysv/linux/x86_64/Versions: Export __vdso_clock_gettime | |
6915 | for GLIBC_PRIVATE. | |
6916 | * sysdeps/unix/sysv/linux/x86_64/Makefile [subdir=elf] | |
6917 | (sysdep_rountines): Add dl-vdso. | |
6918 | ||
6919 | * sysdeps/unix/sysv/linux/powerpc/Makefile: Use sysdep_routines instead | |
6920 | of routines. | |
6921 | ||
6922 | * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add | |
6923 | attribute_hidden to __vdso_gettimeofday prototype. | |
6924 | ||
9229b83e RM |
6925 | 2007-08-12 Roland McGrath <roland@redhat.com> |
6926 | ||
6927 | * manual/stdio.texi (Variable Arguments Output): Fix xref to gcc manual. | |
6928 | From: Karl Berry <karl@freefriends.org>. | |
6929 | ||
4503061f UD |
6930 | 2007-08-11 Ulrich Drepper <drepper@redhat.com> |
6931 | ||
6932 | * elf/dl-misc.c (_dl_sysdep_read_whole_file): We really don't need | |
6933 | an atime update for the files we read. | |
6934 | ||
d7e23b02 UD |
6935 | 2007-08-10 Ulrich Drepper <drepper@redhat.com> |
6936 | ||
7cf89e95 UD |
6937 | * shadow/lckpwdf.c (__lckpwdf): Use O_CLOEXEC if possible. |
6938 | ||
9d169bb3 | 6939 | * nscd/connections.c: Use O_CLOEXEC if possible. Use mkostemp |
d7e23b02 UD |
6940 | instead of mkstemp. |
6941 | ||
6942 | * misc/Makefile (routines): Add mkostemp and mkostemp64. | |
6943 | * misc/Versions: Export mkostemp and mkostemp64 for GLIBC_2.7. | |
6944 | * misc/mkostemp.c: New file. | |
6945 | * misc/mkostemp64.c: New file. | |
6946 | * stdlib/stdlib.h: Declare the new functions. | |
6947 | * sysdeps/posix/tempname.c: Add new parameter which is added to | |
6948 | the flags for open. Remove __GT_BIGFILE handling. | |
6949 | * stdio-common/tempname.c: Likewise. | |
6950 | * include/stdio.h: Adjust __gen_tempname prototype. | |
6951 | Renumber __GT_* constants. | |
6952 | * libio/oldtmpfile.c: Adjust for __gen_tempname interface change. | |
6953 | * misc/mkdtemp.c: Likewise. | |
6954 | * misc/mkstemp.c: Likewise. | |
6955 | * misc/mkstemp64.c: Likewise. | |
6956 | * misc/mktemp.c: Likewise. | |
6957 | * stdio-common/tempnam.c: Likewise. | |
6958 | * stdio-common/tmpfile.c: Likewise. | |
6959 | * stdio-common/tmpfile64.c: Likewise. | |
6960 | * stdio-common/tmpnam.c: Likewise. | |
6961 | * stdio-common/tmpnam_r.c: Likewise. | |
6962 | ||
22532966 RM |
6963 | 2007-08-10 Roland McGrath <roland@frob.com> |
6964 | ||
6965 | * sysdeps/mach/hurd/bits/ioctls.h (NLDLY, TABDLY, BSDLY, VTDLY): | |
6966 | New macros. | |
6967 | (NLDELAY, CRDELAY, TBDELAY, BSDELAY, VTDELAY): Define to those. | |
6968 | Reported by Samuel Thibault <samuel.thibault@ens-lyon.org>. | |
6969 | ||
673876e6 UD |
6970 | 2007-08-10 Ulrich Drepper <drepper@redhat.com> |
6971 | ||
aa132749 UD |
6972 | * nss/nss_files/files-XXX.c (internal_setent): Use O_CLOEXEC if |
6973 | possible. | |
6974 | * nss/nss_files/files-alias.c (internal_setent): Likewise. | |
6975 | * nss/Makefile (libnss_files-routines): Add files-have_o_cloexec. | |
6976 | * nss/nss_files/files-have_o_cloexec.c: New file. | |
6977 | ||
22532966 | 6978 | * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Use O_CLOEXEC if |
673876e6 UD |
6979 | available. |
6980 | ||
1e286653 JJ |
6981 | 2007-08-10 Jakub Jelinek <jakub@redhat.com> |
6982 | ||
6983 | * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (___new_strtold_l, | |
6984 | ___new_wcstold_l): New weak aliases. | |
6985 | (strtold_l, wcstold_l): Use them as second argument for | |
6986 | long_double_symbol. | |
6987 | ||
f07f72f3 UD |
6988 | 2007-08-09 Ulrich Drepper <drepper@redhat.com> |
6989 | ||
6479496a UD |
6990 | * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Use correct |
6991 | register in test for error. | |
6992 | ||
c4adefbd UD |
6993 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_CLOEXEC): Define. |
6994 | * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_CLOEXEC): Likewise. | |
6995 | ||
f07f72f3 UD |
6996 | * po/sv.po: Update from translation team. |
6997 | ||
eef38c28 RM |
6998 | 2007-08-06 Roland McGrath <roland@redhat.com> |
6999 | ||
773e305e RM |
7000 | * include/stdlib.h: Add libc_hidden_proto for strto*, __strto*_l. |
7001 | Remove __strto*_l inlines. | |
7002 | * include/wchar.h: Add libc_hidden_proto for wcsto*, __wcsto*_l. | |
7003 | * stdlib/strtod.c: Add libc_hidden_def. | |
7004 | * stdlib/strtod_l.c: Likewise. | |
7005 | * stdlib/strtold.c [__LONG_DOUBLE_MATH_OPTIONAL]: Add libc_hidden_proto | |
7006 | for __new_strtold and __new_wcstold. | |
7007 | * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Add libc_hidden_proto for | |
7008 | __STRTOF, STRTOF. | |
7009 | * stdlib/strtol.c: Add libc_hidden_def. | |
7010 | * stdlib/strtol_l.c: Likewise. | |
7011 | * sysdeps/wordsize-64/strtol.c: Add libc_hidden_ver for strtoll and | |
7012 | strtoq. | |
7013 | ||
7014 | * scripts/data/localplt-powerpc-linux-gnu.data: New file. | |
7015 | ||
7016 | * scripts/data/localplt-x86_64-linux-gnu.data: File renamed to ... | |
7017 | * scripts/data/localplt-generic.data: ... here. | |
7018 | * elf/Makefile (check-data): Get generic file if no other. | |
7019 | ($(objpfx)check-localplt.out): Make target unconditional. | |
7020 | ||
eef38c28 RM |
7021 | * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion): |
7022 | Use ElfW(Nhdr). | |
7023 | ||
742df3a4 UD |
7024 | 2007-08-05 Ulrich Drepper <drepper@redhat.com> |
7025 | ||
7026 | * po/zh_CN.po: Updated translation from translation team. | |
7027 | ||
0470fa46 JJ |
7028 | 2007-08-05 Jakub Jelinek <jakub@redhat.com> |
7029 | ||
7030 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S (__socket): | |
7031 | Don't use CGOTSETUP and CGOTRESTORE macros. | |
7032 | ||
b5075bdc RM |
7033 | 2007-08-04 Roland McGrath <roland@redhat.com> |
7034 | ||
7035 | * posix/Makefile ($(objpfx)getconf.speclist): Fix typo. | |
7036 | ||
9accc268 JJ |
7037 | 2007-08-04 Jakub Jelinek <jakub@redhat.com> |
7038 | ||
7039 | * io/bits/fcntl2.h (open, open64, openat, openat64): Add | |
7040 | __extension__ around the whole statement expression. | |
7041 | ||
220ae3ef UD |
7042 | 2007-08-04 Ulrich Drepper <drepper@redhat.com> |
7043 | ||
c8ccd8e3 UD |
7044 | * sysdeps/unix/opendir.c (__alloc_dir): Correct order of DIR |
7045 | elements during initialization. | |
7046 | ||
220ae3ef UD |
7047 | * po/pl.po: Updated translation from translation team. |
7048 | * po/tr.po: Likewise. | |
11960f7f | 7049 | * po/nl.po: Likewise. |
220ae3ef | 7050 | |
2fb20667 UD |
7051 | 2007-08-03 Ulrich Drepper <drepper@redhat.com> |
7052 | ||
7053 | * rt/aio.h: Add __nonnull attributes. | |
7054 | ||
ce31a3b1 UD |
7055 | 2007-08-03 Jakub Jelinek <jakub@redhat.com> |
7056 | ||
64f6281c UD |
7057 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Properly handle -0. |
7058 | * stdlib/Makefile (tests): Add tst-strtod5. | |
7059 | (tst-strtod5-ENV): New. | |
7060 | * stdlib/tst-strtod5.c: New file. | |
7061 | ||
ce31a3b1 UD |
7062 | * intl/dcigettext.c (_nl_find_msg): Free encoding if __gconv_open |
7063 | failed. | |
7064 | * intl/finddomain.c (_nl_find_domain): Free normalized_codeset | |
7065 | on failure. | |
7066 | ||
7067 | * elf/dl-load.c (decompose_rpath): Free copy if result couldn't be | |
7068 | allocated. | |
7069 | ||
754980e4 JJ |
7070 | 2007-08-03 Jakub Jelinek <jakub@redhat.com> |
7071 | ||
7072 | * rt/mqueue.h (mq_timedreceive, mq_timedsend): Fix nonnull argument | |
7073 | numbers. | |
7074 | ||
497af0cb UD |
7075 | 2007-08-02 Ulrich Drepper <drepper@redhat.com> |
7076 | ||
cbf0489b UD |
7077 | * io/Makefile (aux): Add have_o_cloexec. |
7078 | * include/fcntl.h: Declare __have_o_cloexec. | |
7079 | * io/have_o_cloexec.c: New file. | |
7080 | * sysdeps/unix/opendir.c (__opendir): Use O_CLOEXEC is available. | |
7081 | (__alloc_dir): If O_CLOEXEC has been used, don't duplicate the | |
7082 | fcntl call if not necessary. | |
7083 | * login/utmp_file.c (setutent_file): Use __have_o_cloexec instead | |
7084 | of local variable. | |
7085 | ||
fa39685d UD |
7086 | * sysdeps/unix/opendir.c (__alloc_dir): Don't initialize ->data. |
7087 | Avoid memset, add explicit initialization. | |
7088 | * sysdeps/unix/dirstream.h (struct __dirstream): Move data elemtn | |
7089 | to the end and change into zero-sized array. | |
7090 | Move lock member to fill a hole on 64-bit platforms. | |
9b2e9577 UD |
7091 | |
7092 | * stdlib/stdlib.h: Remove __strto*_internal prototypes and strto* | |
7093 | inline functions. | |
7094 | * include/stdlib.h: Add __strto*_internal prototypes here. | |
7095 | * wcsmbs/wchar.h: Remove __wcsto*_internal prototypes and wcsto* | |
7096 | inline functions. | |
7097 | * include/wchar.h: Add __wcsto*_internal prototypes. | |
7098 | * sysdeps/generic/inttypes.h: No need to protect the declaration | |
7099 | of the __strto*_internal and __wcsto*_internal members here. | |
7100 | ||
497af0cb UD |
7101 | * rt/mqueue.h: Change const to __const and add nonnull attributes. |
7102 | ||
d17a8cf0 RM |
7103 | 2007-08-02 Roland McGrath <roland@redhat.com> |
7104 | ||
7105 | * posix/Makefile ($(inst_libexecdir)/getconf): Make hard links to | |
7106 | $(inst_bindir)/getconf if possible. | |
7107 | ||
7108 | * posix/Makefile ($(objpfx)getconf.speclist): New target. | |
7109 | (generated): Add it. | |
7110 | ($(inst_libexecdir)/getconf): Use it. | |
7111 | ||
0abf17de UD |
7112 | 2007-08-01 Ulrich Drepper <drepper@redhat.com> |
7113 | ||
7114 | * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Using | |
7115 | /proc is faster and sufficient. /sys is still needed for | |
7116 | __get_nprocs_conf. | |
7117 | ||
5e0923ab UD |
7118 | 2007-08-01 Jakub Jelinek <jakub@redhat.com> |
7119 | ||
7120 | * sysdeps/unix/sysv/linux/i386/syscalls.list (fallocate): Add fallocate | |
7121 | syscall as __fallocate64. | |
7122 | * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: New file. | |
7123 | * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: New file. | |
7124 | ||
1475e201 UD |
7125 | 2007-07-30 Jakub Jelinek <jakub@redhat.com> |
7126 | ||
7127 | * stdlib/tst-strtod2.c (do_test): Use %tu in fmt string for ptrdiff_t | |
7128 | value. | |
7129 | ||
7130 | * stdio-common/tst-fmemopen2.c (do_test): Avoid fmt string warning | |
7131 | if off_t is different rank from size_t. | |
7132 | ||
7133 | * sysdeps/generic/unwind-dw2.c (extract_cie_info, execute_cfa_program, | |
7134 | uw_frame_state_for): Avoid type punning warnings. | |
7135 | * sysdeps/generic/unwind-dw2-fde-glibc.c | |
7136 | (_Unwind_IteratePhdrCallback): Likewise. | |
7137 | * sysdeps/generic/unwind-dw2-fde.c (_Unwind_Find_FDE): Likewise. | |
7138 | (binary_search_single_encoding_fdes, binary_search_mixed_encoding_fdes, | |
7139 | get_cie_encoding, linear_search_fdes): Don't mix char and unsigned char | |
7140 | pointers. | |
7141 | ||
e076bece UD |
7142 | 2007-07-31 Ulrich Drepper <drepper@redhat.com> |
7143 | ||
9506149a UD |
7144 | * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs_conf): Count |
7145 | total processors using sysfs. | |
7146 | (__get_nprocs): Use sysfs to determine which processors are online. | |
e076bece | 7147 | |
bbeaaa84 JJ |
7148 | 2007-07-31 Jakub Jelinek <jakub@redhat.com> |
7149 | ||
09881398 JJ |
7150 | * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Fix |
7151 | syscall arguments count. | |
7152 | ||
bbeaaa84 JJ |
7153 | * stdio-common/tfformat.c (sprint_doubles): Add 12 new tests. |
7154 | ||
087ef75f RM |
7155 | 2007-07-30 Roland McGrath <roland@redhat.com> |
7156 | ||
7157 | * manual/libc.texinfo: Update copyrights, formatting magic, and | |
7158 | @dircategory. From Karl Berry <karl@freefriends.org>. | |
7159 | ||
44f08a6e UD |
7160 | 2007-07-29 Ulrich Drepper <drepper@redhat.com> |
7161 | ||
eafaae72 UD |
7162 | [BZ #4860] |
7163 | * io/Makefile (headers): Add bits/fcntl2.h. | |
7164 | ||
c5705565 UD |
7165 | * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_ZERO_S): Optimize |
7166 | using gcc builtin. | |
7167 | (__CPU_EQUAL_S): Likewise. | |
7168 | ||
44f08a6e UD |
7169 | * posix/Makefile (routines): Add sched_cpualloc and sched_cpufree. |
7170 | (tests): Add tst-cpuset. | |
7171 | * posix/sched_cpualloc.c: New file. | |
7172 | * posix/sched_cpufree.c: New file. | |
7173 | * posix/tst-cpuset.c: New file. | |
7174 | * posix/Versions: Export __sched_cpualloc and __sched_cpufree for | |
7175 | GLIBC_2.7. | |
7176 | * sysdeps/unix/sysv/linux/bits/sched.h: Define __CPU_*_S macros. | |
7177 | * posix/sched.h: Define old CPU_* macros in temers of __CPU_*_S | |
7178 | macros. Define CPU_*_S macros. | |
7179 | ||
8f5e1400 UD |
7180 | 2007-07-28 Ulrich Drepper <drepper@redhat.com> |
7181 | ||
5b74caf6 UD |
7182 | * posix/getconf.c (vars): Add missing _SC_LEVEL4_CACHE_LINESIZE |
7183 | entry. | |
7184 | ||
a26d01bb | 7185 | [BZ #4858] |
8f5e1400 UD |
7186 | * stdio-common/printf_fp.c (___printf_fp): Fix special case of |
7187 | #.0g and value rounded to 1.0. | |
7188 | * stdio-common/tfformat.c (sprint_doubles): Add two new tests. | |
7189 | ||
085a4412 UD |
7190 | 2007-07-26 Jakub Jelinek <jakub@redhat.com> |
7191 | ||
cedb4109 UD |
7192 | * locale/programs/ld-monetary.c (monetary_finish): Avoid range check |
7193 | for int_frac_digits and frac_digits. | |
7194 | ||
7195 | * login/logout.c (logout): Avoid aliasing violation. | |
7196 | * login/logwtmp.c (logwtmp): Likewise. | |
7197 | ||
7198 | * libio/genops.c (_IO_un_link): Avoid aliasing violation. | |
7199 | ||
9d9febc7 UD |
7200 | * nscd/selinux.c (preserve_capabilities): Initialize new_caps |
7201 | to avoid warning. | |
7202 | * iconv/gconv_open.c (__gconv_open): Initialize ptr to avoid | |
7203 | warning. | |
7204 | * nis/nis_subr.c (nis_getnames): Initialize saveptr to avoid | |
7205 | warning. | |
7206 | * resolv/inet_ntop.c (inet_ntop6): Initialize best.len and cur.len | |
7207 | to avoid warnings. | |
7208 | ||
701666b7 UD |
7209 | * nss/nsswitch.c (__nss_lookup_function): Don't cast &ni->known to |
7210 | void **. | |
7211 | * nss/nsswitch.h (service_user): Use void * type for KNOWN field. | |
7212 | ||
7213 | * nss/nss_files/files-hosts.c (LINE_PARSER): Cast host_addr to | |
7214 | char * to avoid warning. | |
7215 | * nis/nss_nis/nis-hosts.c (LINE_PARSER): Likewise. | |
7216 | ||
7217 | * timezone/Makefile (CFLAGS-zdump.c): Add -fwrapv. | |
7218 | ||
7219 | * locale/programs/ld-ctype.c (ctype_finish, set_class_defaults, | |
7220 | allocate_arrays): Cast second argument to charmap_find_symbol | |
7221 | to char * to avoid warnings. | |
7222 | ||
7223 | * locale/programs/repertoire.c (repertoire_new_char): Change | |
7224 | from_nr, to_nr and cnt to unsigned long, adjust printf format | |
7225 | string. | |
7226 | ||
7227 | * locale/programs/ld-collate.c (insert_value, handle_ellipsis): | |
7228 | Cast second argument to new_element to char * to avoid warnings. | |
7229 | ||
7230 | * locale/weightwc.h (findidx): Cast &extra[-i] to const int32_t *. | |
7231 | ||
7232 | * intl/gettextP.h (struct loaded_domain): Change plural to const | |
7233 | struct expression *. | |
7234 | * intl/plural-eval.c (plural_eval): Change first argument to | |
7235 | const struct expression *. | |
7236 | * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Change first | |
7237 | argument to const struct expression **. | |
7238 | * intl/plural-exp.h (EXTRACT_PLURAL_EXPRESSION, plural_eval): Adjust | |
7239 | prototypes. | |
7240 | * intl/loadmsgcat (_nl_unload_domain): Cast away const | |
7241 | in call to __gettext_free_exp. | |
7242 | ||
7243 | * posix/fnmatch.c (fnmatch): Rearrange code to avoid maybe | |
7244 | unitialized wstring/wpattern var warnings. | |
7245 | ||
7246 | * posix/runtests.c (struct a_test): Make data field const char *. | |
7247 | ||
7248 | * stdio-common/tst-sprintf2.c (main): Don't declere u, v and buf | |
7249 | vars if not LDBL_MANT_DIG >= 106. | |
7250 | ||
7251 | * stdio-common/Makefile (CFLAGS-vfwprintf.c): Add -Wno-unitialized. | |
7252 | ||
7253 | * stdio-common/vfprintf.c (vfprintf): Cast first arugment to | |
7254 | __find_specmb to avoid warning. | |
7255 | ||
7256 | * rt/tst-mqueue1.c (do_one_test): Add casts to avoid warnings. | |
7257 | ||
7258 | * debug/test-strcpy_chk.c (do_tests, do_random_tests): Add casts | |
7259 | to avoid warnings. | |
7260 | ||
7261 | * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Add L suffix to | |
7262 | initializer. | |
7263 | ||
7264 | * sysdeps/unix/clock_gettime.c (clock_gettime): Only define | |
7265 | tv var when it will be actually used. | |
7266 | ||
7267 | * sunrpc/rpc_cmsg.c (xdr_callmsg): Cast IXDR_PUT_* to void | |
7268 | to avoid warnings. | |
7269 | ||
085a4412 UD |
7270 | * iconvdata/gbk.c (BODY): Make buf and cp char instead of unsigned |
7271 | char array resp. pointer. | |
7272 | * iconvdata/iso-2022-kr.c (BODY): Make buf unsigned char instead of | |
7273 | char array. | |
7274 | * iconvdata/cns11643.h (cns11643_to_ucs4): Change first argument | |
7275 | to const unsigned char **. | |
7276 | (ucs4_to_cns11643): Change second argument to unsigned char *. | |
7277 | * iconvdata/euc-tw.c (BODY): Change endp type to | |
7278 | const unsigned char *. | |
7279 | * iconvdata/iso-ir-165.h (ucs4_to_isoir165): Change second argument | |
7280 | to unsigned char *. | |
7281 | * iconvdata/ibm1008_420.c (LOOP_NEED_FLAGS): Don't define. | |
7282 | * iconvdata/iso-2022-cn.c (BODY): Change buf to unsigned char array. | |
7283 | * iconvdata/iso-2022-cn-ext.c (BODY): Change buf, tmpbuf, tmp | |
7284 | types to unsigned char pointers/arrays instead of char. | |
7285 | * iconvdata/jis0201.h (ucs4_to_jisx0201): Change second argument | |
7286 | to unsigned char *. | |
7287 | * iconvdata/jis0208.h (ucs4_to_jisx0208): Likewise. | |
7288 | * iconvdata/jis0212.h: Include assert.h. | |
7289 | (ucs4_to_jisx0212): Change second argument to unsigned char *. | |
7290 | assert that if cp[0] is not '\0', cp[1] is not '\0' either instead | |
7291 | of trying to handle that. | |
7292 | * iconvdata/euc-kr.c (euckr_from_ucs4): Initialize also cp[1] to | |
7293 | shut up a warning. | |
7294 | * iconvdata/euc-jp-ms.c (from_ucs4_lat1, from_ucs4_greek, | |
7295 | from_ucs4_cjk, from_ucs4_cjkcpt, from_ucs4_extra): Change type to | |
7296 | two dimensional const unsigned char arrays. | |
7297 | (BODY): Cast "" to (const unsigned char *) for assignment to cp. | |
7298 | Initialize endp to inptr to shut up a warning. | |
7299 | ||
fa69dc9c UD |
7300 | 2007-07-20 Jakub Jelinek <jakub@redhat.com> |
7301 | ||
ae1ad762 UD |
7302 | [BZ #4772] |
7303 | * time/strptime_l.c (__strptime_internal): Silently ignore | |
7304 | strftime modifiers and field width in recursive calls. | |
7305 | ||
fa69dc9c UD |
7306 | * include/time.h (enum ptime_locale_status): Remove. |
7307 | (__strptime_internal): Remove decided and era_cnt arguments, | |
7308 | add statep argument. | |
7309 | * time/strptime_l.c (__strptime_internal): Remove decided | |
7310 | and era_cnt arguments, add statep argument. Don't recompute | |
7311 | any fields in recursive calls, only update caller's tm | |
7312 | and state, if recursive call fails, don't change tm nor | |
7313 | any state. | |
7314 | (get_alt_number): Adjust. | |
7315 | (recursive): Adjust caller. | |
7316 | (strptime): Likewise. | |
7317 | * time/strptime.c (strptime): Likewise. | |
7318 | ||
7b503bcc UD |
7319 | 2007-07-19 Jakub Jelinek <jakub@redhat.com> |
7320 | ||
7321 | * iconv/gconv_int.h (__GCONV_NULCONV): New internal only error code. | |
7322 | * iconv/gconv_cache.c (__gconv_lookup_cache): Return __GCONV_NULCONV | |
7323 | if from and to charsets are the same. | |
7324 | * iconv/gconv_db.c (__gconv_find_transform): Likewise. | |
7325 | * intl/dcigettext.c (_nl_find_msg): Return NULL even if __gconv_open | |
7326 | returns __GCONV_NOCONV, but not for __GCONV_NULCONV. | |
7327 | ||
7328 | 2007-07-17 Jakub Jelinek <jakub@redhat.com> | |
7329 | ||
7330 | * wcsmbs/wchar.h: Only define wint_t if __need_wint_t. | |
7331 | Don't define wint_t when __need_mbstate_t unless it | |
7332 | is necessary. | |
7333 | (__mbstate_t): Use __WINT_TYPE__ rather than wint_t | |
7334 | in the typedef if possible. | |
7335 | * wctype/wctype.h (wint_t): Define by including | |
7336 | wchar.h with __need_wint_t instead of including stddef.h | |
7337 | with __need_wint_t and as fallback definining it ourselves. | |
7338 | * iconv/gconv.h (__need_wint_t): Define before including | |
7339 | wchar.h. | |
7340 | * sysdeps/gnu/_G_config.h: Don't include gconv.h if not _LIBC | |
7341 | or _GLIBCPP_USE_WCHAR_T. | |
7342 | (__need_wchar_t): Don't define | |
7343 | if not _LIBC or _GLIBCPP_USE_WCHAR_T. | |
7344 | (__need_wint_t): Don't define before including stddef.h, | |
7345 | define before including wchar.h only if _LIBC or | |
7346 | _GLIBCPP_USE_WCHAR_T. | |
7347 | (_G_iconv_t): Don't define if not _LIBC or _GLIBCPP_USE_WCHAR_T. | |
7348 | * sysdeps/mach/hurd/_G_config.h: Likewise. | |
7349 | * sysdeps/generic/_G_config.h: Likewise. | |
7350 | * libio/libio.h (__wunderflow, __wuflow, __woverflow): Only | |
7351 | prototype if _LIBC or _GLIBCPP_USE_WCHAR_T. | |
7352 | (_IO_getwc_unlocked, _IO_putwc_unlocked): Only define | |
7353 | if _LIBC or _GLIBCPP_USE_WCHAR_T. | |
7354 | ||
a95a608f UD |
7355 | 2007-07-28 Ulrich Drepper <drepper@redhat.com> |
7356 | ||
7357 | * sysdeps/posix/posix_fallocate64.c: Undefine | |
7358 | __posix_fallocate64_l64 before alias handling. | |
7359 | * sysdeps/unix/sysv/linux/posix_fallocate.c: New file. | |
7360 | * sysdeps/unix/sysv/linux/posix_fallocate64.c: New file. | |
7361 | * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: New file. | |
7362 | * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: New file. | |
7363 | ||
7364 | * io/tst-posix_fallocate.c: Include <fcntl.h>. | |
7365 | ||
7366 | 2007-07-23 Jakub Jelinek <jakub@redhat.com> | |
7367 | ||
7368 | * locale/programs/ld-collate.c (atwc): New variable. | |
7369 | (add_to_tablewc): New toplevel function, moved from collate_output. | |
7370 | (collate_output): Remove add_to_tablewc nested function. | |
7371 | ||
7372 | * iconv/iconvconfig.c (hash_table, hash_size): New toplevel vars. | |
7373 | (name_insert): New function. | |
7374 | (write_output): Remove hash_table and hash_size vars and name_insert | |
7375 | nested function. | |
7376 | ||
80d4c3b0 RM |
7377 | 2007-07-24 Roland McGrath <roland@redhat.com> |
7378 | ||
7379 | * Makerules (install-others-programs-nosubdir): New target. | |
7380 | (install-no-libc.a-nosubdir): Depend on it. | |
7381 | ||
7382 | * iconv/Makefile (install-others-programs): Set this instead of | |
7383 | install-others. | |
7384 | * login/Makefile (install-others-programs): Likewise. | |
7385 | * posix/Makefile (install-others-programs): Likewise. | |
7386 | ||
7387 | * Makerules (install-no-libc.a-nosubdir): Clean up conditional | |
7388 | dependencies. | |
7389 | ||
c1bf9f14 UD |
7390 | 2007-07-23 Ulrich Drepper <drepper@redhat.com> |
7391 | ||
7392 | * io/Makefile (tests): Add tst-posix_fallocate. | |
7393 | * io/tst-posix_fallocate.c: New file. | |
7394 | ||
7395 | * sysdeps/unix/sysv/linux/kernel-features.h: Define | |
7396 | __ASSUME_FALLOCATE. | |
7397 | ||
2320270c RM |
7398 | 2007-07-22 Roland McGrath <roland@frob.com> |
7399 | ||
3dadfa7e RM |
7400 | * hurd/getdport.c: Add missing copyright year update. |
7401 | ||
2320270c RM |
7402 | * sysdeps/mach/hurd/bits/fcntl.h [__USE_GNU] (O_CLOEXEC): New macro. |
7403 | * hurd/port2fd.c (_hurd_port2fd): Implement O_CLOEXEC. | |
7404 | ||
cc783763 UD |
7405 | 2007-07-22 Ulrich Drepper <drepper@redhat.com> |
7406 | ||
c942388d UD |
7407 | * login/utmp_file.c (setutent_file): Use O_CLOEXEC if possible. |
7408 | ||
cc783763 UD |
7409 | * libio/fileops.c (_IO_new_file_fopen): Recognize 'e' flag and set |
7410 | O_CLOEXEC is needed. | |
7411 | * nis/nss_compat/compat-grp.c: Use 'e' flag when opening file. | |
7412 | Avoid additional fcntl to set O_CLOEXEC if not needed. | |
7413 | * nis/nss_compat/compat-initgroups.c: Likewise. | |
7414 | * nis/nss_compat/compat-pwd.c: Likewise. | |
7415 | * nis/nss_compat/compat-spwd.c: Likewise. | |
7416 | ||
610903b0 RM |
7417 | 2007-07-21 Samuel Thibault <samuel.thibault@ens-lyon.org> |
7418 | ||
3dadfa7e | 7419 | [BZ #3665] |
5c3d7832 RM |
7420 | * manual/errno.texi: Change ECANCELED value to 119. |
7421 | ||
3dadfa7e | 7422 | [BZ #4610] |
610903b0 RM |
7423 | * mach/lock-intern.h: Include <sys/cdefs.h>. |
7424 | ||
3dadfa7e | 7425 | [BZ #4178] |
610903b0 RM |
7426 | * sysdeps/mach/hurd/sigaction.c (__sigaction): Check ACT != NULL before |
7427 | reading A. | |
7428 | ||
3dadfa7e RM |
7429 | [BZ #4126] |
7430 | * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Define alias | |
7431 | to __sigsuspend. | |
610903b0 RM |
7432 | |
7433 | * sysdeps/mach/i386/sysdep.h: Include <dl-sysdep.h> and <tls.h>. | |
7434 | ||
7435 | 2006-06-13 Thomas Schwinge <tschwinge@gnu.org> | |
7436 | ||
7437 | * sysdeps/mach/hurd/tls.h: Change `ASSEMBLER' conditional to | |
7438 | `__ASSEMBLER__'. | |
7439 | * sysdeps/mach/hurd/i386/tls.h: Likewise. | |
7440 | ||
acf79996 UD |
7441 | 2007-07-21 Ulrich Drepper <drepper@redhat.com> |
7442 | ||
dde0763a UD |
7443 | * nscd/nscd_helper.c (get_mapping): Use MSG_CMSG_CLOEXEC for |
7444 | descriptor received from nscd. | |
7445 | ||
acf79996 UD |
7446 | * sysdeps/unix/sysv/linux/bits/socket.h: Define MSG_CMSG_CLOEXEC. |
7447 | ||
7448 | * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_CLOEXEC. | |
7449 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. | |
7450 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. | |
7451 | * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. | |
7452 | * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. | |
7453 | * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. | |
7454 | ||
00d26929 JJ |
7455 | 2007-07-20 Jakub Jelinek <jakub@redhat.com> |
7456 | ||
403445d7 JJ |
7457 | [BZ #4816] |
7458 | * manual/signal.texi (Non-atomic Example): Make memory var volatile. | |
7459 | ||
00d26929 JJ |
7460 | [BZ #4813] |
7461 | * login/forkpty.c (forkpty): Close master and slave fds on | |
7462 | fork failure. Patch by | |
7463 | Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>. | |
7464 | ||
087722b8 UD |
7465 | 2007-07-18 Jakub Jelinek <jakub@redhat.com> |
7466 | ||
7467 | * include/features.h (__USE_ISOC95): New define. | |
7468 | * wcsmbs/wchar.h (fwprintf, fwscanf, wprintf, wscanf, swprintf, | |
7469 | swscanf, vfwprintf, vwprintf, vswprintf, fwide): Define even | |
7470 | for -std=iso9899:199409. | |
7471 | * CONFORMANCE: Remove comments about unsupported AMD1. | |
7472 | ||
b042b023 UD |
7473 | 2007-07-17 Jakub Jelinek <jakub@redhat.com> |
7474 | ||
7475 | * sysdeps/ia64/sched_cpucount.c: New file. | |
7476 | * sysdeps/powerpc/sched_cpucount.c: New file. | |
7477 | ||
8381e467 UD |
7478 | * sysdeps/unix/sysv/linux/bits/sched.h (__sched_cpucount): Add |
7479 | __BEGIN_DECLS/__END_DECLS around the prototype. | |
7480 | * bits/sched.h (__sched_cpucount): Likewise. Make second argument | |
7481 | pointer to const cpu_set_t. | |
7482 | ||
50e16f85 UD |
7483 | * bits/types.h: Don't include stddef.h, don't define __need_size_t. |
7484 | * signal/signal.h <__USE_BSD || __USE_XOPEN_EXTENDED>: Define | |
7485 | __need_size_t and include stddef.h. | |
7486 | * sysvipc/sys/msg.h: Likewise. | |
7487 | * posix/sched.h: Likewise. | |
7488 | * hurd/hurd/signal.h (__need_size_t): Define. | |
7489 | ||
7490 | * CONFORMANCE: ctype.h and wctype.h no longer define size_t, | |
7491 | neither does signal.h in pedantic ISO C namespaces. stdio.h | |
7492 | no longer defines wint_t or wchar_t. | |
7493 | ||
b257c726 UD |
7494 | * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct): New function. |
7495 | * debug/vfwprintf_chk.c (__vfwprintf_chk): Use | |
7496 | _IO_acquire_lock_clear_flags2 instead of _IO_acquire_lock. | |
7497 | * debug/vprintf_chk.c (__vprintf_chk): Likewise. | |
7498 | * debug/vwprintf_chk.c (__vwprintf_chk): Likewise. | |
7499 | * debug/vfprintf_chk.c (__vfprintf_chk): Likewise. | |
7500 | * debug/fwprintf_chk.c (__fwprintf_chk): Likewise. | |
7501 | * debug/printf_chk.c (__printf_chk): Likewise. | |
7502 | * debug/fprintf_chk.c (__fprintf_chk): Likewise. | |
7503 | * debug/wprintf_chk.c (__wprintf_chk): Likewise. | |
7504 | ||
7505 | * sysdeps/pthread/bits/stdio-lock.h (_IO_acquire_lock_clear_flags2): | |
7506 | Define. | |
7507 | ||
d5078b9f UD |
7508 | * bits/confname.h (_CS_POSIX_V6_WIDTH_RESTRICTED_ENVS): Define. |
7509 | * posix/getconf.c (vars): Add POSIX_V6_WIDTH_RESTRICTED_ENVS. | |
7510 | ||
1c3e748e UD |
7511 | 2007-07-16 Jakub Jelinek <jakub@redhat.com> |
7512 | ||
7513 | [BZ #4792] | |
7514 | * stdlib/stdlib.h (realloc): Remove __attribute_malloc__. | |
7515 | * malloc/malloc.h (realloc): Likewise. | |
7516 | ||
4e425301 UD |
7517 | * libio/iopopen.c (_IO_new_proc_open): Don't close child_std_end |
7518 | if one of proc_file_chain streams has that fileno. | |
7519 | * stdio-common/Makefile (tests): Add tst-popen2. | |
7520 | * stdio-common/tst-popen2.c: New test. | |
7521 | ||
2e2efe65 RM |
7522 | 2007-07-14 Jakub Jelinek <jakub@redhat.com> |
7523 | ||
7524 | * elf/ldconfig.c: Allow GPLv2 or any later version. | |
7525 | * elf/readlib.c: Likewise. | |
7526 | * elf/chroot_canon.c: Likewise. | |
7527 | * elf/cache.c: Likewise. | |
7528 | * nscd/mem.c: Likewise. | |
7529 | * nscd/getpwuid_r.c: Likewise. | |
7530 | * nscd/grpcache.c: Likewise. | |
7531 | * nscd/aicache.c: Likewise. | |
7532 | * nscd/getsrvbynm_r.c: Likewise. | |
7533 | * nscd/nscd.c: Likewise. | |
7534 | * nscd/servicescache.c: Likewise. | |
7535 | * nscd/getsrvbypt_r.c: Likewise. | |
7536 | * nscd/initgrcache.c: Likewise. | |
7537 | * nscd/gethstbyad_r.c: Likewise. | |
7538 | * nscd/gethstbynm2_r.c: Likewise. | |
7539 | * nscd/getgrnam_r.c: Likewise. | |
7540 | * nscd/nscd_setup_thread.c: Likewise. | |
7541 | * nscd/getpwnam_r.c: Likewise. | |
7542 | * nscd/gai.c: Likewise. | |
7543 | * nscd/connections.c: Likewise. | |
7544 | * nscd/dbg_log.c: Likewise. | |
7545 | * nscd/cache.c: Likewise. | |
7546 | * nscd/hstcache.c: Likewise. | |
7547 | * nscd/nscd_conf.c: Likewise. | |
7548 | * nscd/getgrgid_r.c: Likewise. | |
7549 | * nscd/pwdcache.c: Likewise. | |
7550 | * catgets/gencat.c: Likewise. | |
7551 | * locale/programs/linereader.h: Likewise. | |
7552 | * locale/programs/locarchive.c: Likewise. | |
7553 | * locale/programs/ld-paper.c: Likewise. | |
7554 | * locale/programs/locfile-kw.h: Likewise. | |
7555 | * locale/programs/ld-address.c: Likewise. | |
7556 | * locale/programs/xmalloc.c: Likewise. | |
7557 | * locale/programs/ld-time.c: Likewise. | |
7558 | * locale/programs/localedef.c: Likewise. | |
7559 | * locale/programs/simple-hash.c: Likewise. | |
7560 | * locale/programs/xstrdup.c: Likewise. | |
7561 | * locale/programs/ld-numeric.c: Likewise. | |
7562 | * locale/programs/locfile-kw.gperf: Likewise. | |
7563 | * locale/programs/ld-collate.c: Likewise. | |
7564 | * locale/programs/charmap-kw.gperf: Likewise. | |
7565 | * locale/programs/charmap.h: Likewise. | |
7566 | * locale/programs/charmap-kw.h: Likewise. | |
7567 | * locale/programs/config.h: Likewise. | |
7568 | * locale/programs/locfile.c: Likewise. | |
7569 | * locale/programs/ld-ctype.c: Likewise. | |
7570 | * locale/programs/charmap.c: Likewise. | |
7571 | * locale/programs/ld-messages.c: Likewise. | |
7572 | * locale/programs/repertoire.h: Likewise. | |
7573 | * locale/programs/locale.c: Likewise. | |
7574 | * locale/programs/ld-name.c: Likewise. | |
7575 | * locale/programs/linereader.c: Likewise. | |
7576 | * locale/programs/locfile.h: Likewise. | |
7577 | * locale/programs/3level.h: Likewise. | |
7578 | * locale/programs/ld-monetary.c: Likewise. | |
7579 | * locale/programs/ld-measurement.c: Likewise. | |
7580 | * locale/programs/charmap-dir.c: Likewise. | |
7581 | * locale/programs/ld-identification.c: Likewise. | |
7582 | * locale/programs/localedef.h: Likewise. | |
7583 | * locale/programs/charmap-dir.h: Likewise. | |
7584 | * locale/programs/repertoire.c: Likewise. | |
7585 | * locale/programs/simple-hash.h: Likewise. | |
7586 | * locale/programs/ld-telephone.c: Likewise. | |
7587 | * locale/programs/locale-spec.c: Likewise. | |
7588 | * locale/programs/locfile-token.h: Likewise. | |
7589 | * posix/getconf.c: Likewise. | |
7590 | * iconv/dummy-repertoire.c: Likewise. | |
7591 | * iconv/iconv_charmap.c: Likewise. | |
7592 | * iconv/iconvconfig.c: Likewise. | |
7593 | * iconv/iconv_prog.c: Likewise. | |
7594 | * malloc/memusagestat.c: Likewise. | |
7595 | * sysdeps/unix/sysv/linux/nscd_setup_thread.c: Likewise. | |
7596 | ||
84c23a3d RM |
7597 | 2007-07-06 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
7598 | ||
7599 | * sysdeps/sh/bsd-setjmp.S (setjmp): Use correct argument registers. | |
7600 | * sysdeps/sh/bsd-_setjmp.S (_setjmp): Likewise. | |
7601 | * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Do correct sanity | |
7602 | check for the first argument. | |
7603 | ||
1c298d08 UD |
7604 | 2007-07-12 Jakub Jelinek <jakub@redhat.com> |
7605 | ||
7606 | [BZ #4775] | |
7607 | * math/tgmath.h (__tgmath_real_type_sub): Formatting. | |
7608 | (__tgmath_real_type): Fix if expr is const int or other const | |
7609 | qualified integral type. | |
7610 | (__TGMATH_UNARY_REAL_ONLY): Rewritten to avoid using statement | |
7611 | expressions and handle const qualified arguments. | |
7612 | (__TGMATH_BINARY_FIRST_REAL_ONLY, __TGMATH_UNARY_REAL_IMAG, | |
7613 | __TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise. | |
7614 | (__TGMATH_UNARY_REAL_RET_ONLY): Rewritten to avoid using | |
7615 | statement expressions. | |
7616 | (__TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY, | |
7617 | __TGMATH_TERNARY_REAL_ONLY, __TGMATH_BINARY_REAL_IMAG): Likewise. | |
7618 | (__TGMATH_UNARY_IMAG): Define. | |
7619 | (conj, cproj): Use __TGMATH_UNARY_IMAG macro. | |
7620 | * math/Makefile (tests): Add test-tgmath2. | |
7621 | (CFLAGS-test-tgmath2.c): Add. | |
7622 | * math/test-tgmath.c (fy, dy, ly, fz, dz, lz, count_cdouble, | |
7623 | count_cfloat, count_cldouble): New variables. | |
7624 | (NCCALLS): Define. | |
7625 | (main): Check number of complex calls as well. | |
7626 | (F(compile_test)): Add complex tests and tests with const qualified | |
7627 | arguments. | |
7628 | (y, z, ccount): Define. | |
7629 | (F(cacos), F(casin), F(catan), F(ccos), F(csin), F(ctan), F(cacosh), | |
7630 | F(casinh), F(catanh), F(ccosh), F(csinh), F(ctanh), F(cexp), F(clog), | |
7631 | F(csqrt), F(cpow), F(cabs), F(carg), F(creal), F(cimag), F(conj), | |
7632 | F(cproj)): New functions. | |
7633 | * math/test-tgmath2.c: New test. | |
7634 | ||
7635 | 2007-07-11 Jakub Jelinek <jakub@redhat.com> | |
7636 | ||
7637 | [BZ #4776] | |
7638 | * elf/dl-load.c (_dl_rtld_di_serinfo): Output / in LD_LIBRARY_PATH, | |
7639 | RPATH etc. as "/" rather than "", don't segfault on empty paths, | |
7640 | instead output ".". | |
7641 | * dlfcn/Makefile (distribute): Add glreflib3.c. | |
7642 | (module-names): Add glreflib3. | |
7643 | ($(objpfx)tst-dlinfo.out): Depend on glreflib3.so rather than | |
7644 | glreflib1.so. | |
7645 | (LDFLAGS_glreflib3.so): New. | |
7646 | * dlfcn/tst-dlinfo.c (do_test): Load glreflib3.so instead of | |
7647 | glreflib1.so. | |
7648 | * dlfcn/glreflib3.c: New file. | |
7649 | ||
7650 | * intl/finddomain.c (_nl_find_domain): If _nl_explode_name | |
7651 | returned -1, return NULL. | |
7652 | * intl/explodename.c (_nl_explode_name): Return -1 if | |
7653 | _nl_normalize_codeset failed. | |
7654 | ||
a88f47a7 UD |
7655 | 2007-07-07 Steven Munroe <sjmunroe@us.ibm.com> |
7656 | ||
7657 | * sysdeps/powerpc/powerpc32/power6/memset.S: Update comments. | |
7658 | Specify .machine power6 to get ISA-V2.0 branch hints. Unroll loops | |
7659 | and avoid branch misspredicts for > 31 bytes memset case. | |
7660 | * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise. | |
7661 | Remove toc ref to __cache_line_size. | |
7662 | ||
7663 | * sysdeps/powerpc/powerpc32/power4/memcmp.S: Specify .machine power4 | |
7664 | to get ISA-V2.0 branch hints. | |
7665 | * sysdeps/powerpc/powerpc32/power4/memcpy.S: Likewise | |
7666 | * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise | |
7667 | * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise. | |
7668 | * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise. | |
7669 | * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise. | |
7670 | * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise. | |
7671 | Remove toc ref to __cache_line_size. | |
7672 | ||
7673 | * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: | |
7674 | Include math_ldbl_opt.h. | |
7675 | ||
f98c2d06 UD |
7676 | 2007-07-10 Ulrich Drepper <drepper@redhat.com> |
7677 | ||
7678 | [BZ #4773] | |
7679 | * time/strptime_l.c (__strptime_internal): Implement greedy | |
7680 | matching of weekday and month names. | |
7681 | ||
cec5991f RM |
7682 | 2007-07-09 Roland McGrath <roland@redhat.com> |
7683 | ||
7684 | * elf/elf.h (NT_GNU_ABI_TAG): New macro. | |
7685 | (ELF_NOTE_ABI): Use it. | |
7686 | (NT_GNU_HWCAP, NT_GNU_BUILD_ID): New macros. | |
7687 | ||
8c1dcd26 UD |
7688 | 2007-07-09 Ulrich Drepper <drepper@redhat.com> |
7689 | ||
7690 | * sysdeps/x86_64/cacheinfo.c (intel_02_known): Add new entries. | |
7691 | * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise. | |
7692 | ||
c2c7bd3f UD |
7693 | 2007-07-07 Ulrich Drepper <drepper@redhat.com> |
7694 | ||
7695 | [BZ #4745] | |
0923a2c8 UD |
7696 | * stdio-common/vfscanf.c (_IO_vfscanf): Add additional test for EOF |
7697 | in loop to look for conversion specifier to avoid testing of | |
7698 | wrong errno value. | |
7699 | * stdio-common/Makefile (tests): Add bug18, bug18a, bug19, bug19a. | |
c2c7bd3f | 7700 | * stdio-common/bug18.c: New file. |
0923a2c8 UD |
7701 | * stdio-common/bug18a.c: New file. |
7702 | * stdio-common/bug19.c: New file. | |
7703 | * stdio-common/bug19a.c: New file. | |
c2c7bd3f | 7704 | |
4facf4af RM |
7705 | 2007-07-05 Mike Frysinger <vapier@gentoo.org> |
7706 | ||
7707 | * Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Use LC_ALL=C when | |
7708 | running awk script. | |
7709 | ||
1311e86e UD |
7710 | 2007-07-01 Jakub Jelinek <jakub@redhat.com> |
7711 | ||
7712 | * elf/dl-sysdep.c (_dl_important_hwcaps): Add integer overflow check. | |
7713 | * elf/dl-minimal.c (__libc_memalign): Likewise. Handle malloc (0). | |
7714 | Return NULL if mmap failed instead of asserting it does not. | |
7715 | (calloc): Check for integer overflow. | |
7716 | ||
7717 | * elf/dl-minimal.c (__strtoul_internal): Fix parsing of numbers bigger | |
7718 | than LONG_MAX / 10. | |
7719 | ||
57c9179c UD |
7720 | 2007-07-03 Jakub Jelinek <jakub@redhat.com> |
7721 | ||
7722 | [BZ #4702] | |
7723 | * nis/nss-default.c: Include errno.h. | |
7724 | (init): Preserve errno. | |
7725 | ||
d0b283a8 UD |
7726 | 2007-07-02 Ulrich Drepper <drepper@redhat.com> |
7727 | ||
7728 | * sysdeps/unix/sysv/linux/bits/socket.h (PF_UNIX): Update comment. | |
7729 | ||
34e0bbaf UD |
7730 | 2007-06-30 Ulrich Drepper <drepper@redhat.com> |
7731 | ||
7732 | * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_RXRPC and AF_RXRPC. | |
7733 | ||
7734 | 2007-06-29 Martin Schwidefsky <schwidefsky@de.ibm.com> | |
7735 | ||
7736 | * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_IUCV and AF_IUCV. | |
7737 | ||
34e0bbaf | 7738 | 2007-06-29 Martin Schwidefsky <schwidefsky@de.ibm.com> |
33516494 UD |
7739 | |
7740 | * sysdeps/s390/dl-procinfo.c: New file. | |
7741 | * sysdeps/s390/dl-procinfo.h: New file. | |
7742 | * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: New file. | |
7743 | ||
0e508a6e UD |
7744 | 2007-06-29 Jakub Jelinek <jakub@redhat.com> |
7745 | ||
7746 | * elf/dl-load.c (open_verify): Find .note.ABI-tag notes even | |
7747 | in PT_NOTE segments with multiple notes. | |
7748 | * elf/readelflib.c (process_elf_file): Likewise. | |
7749 | ||
e22c61fb UD |
7750 | 2007-06-22 Ulrich Drepper <drepper@redhat.com> |
7751 | ||
7752 | * nis/nis_domain_of.c (__nis_domain_of): Make the code a bit more | |
7753 | ISO C compliant. | |
7754 | ||
e4eb675d UD |
7755 | 2007-06-19 Ulrich Drepper <drepper@redhat.com> |
7756 | ||
7757 | * elf/dl-close.c (free_mem): Free _dl_scope_free_list. | |
7758 | ||
7759 | 2007-06-13 Jakub Jelinek <jakub@redhat.com> | |
7760 | ||
7761 | * include/link.h: Don't include rtld-lowlevel.h. | |
7762 | (struct link_map): Remove l_scope_lock. | |
7763 | * sysdeps/generic/ldsodefs.h: Don't include rtld-lowlevel.h. | |
7764 | (_dl_scope_free_list): New field (variable) in _rtld_global. | |
7765 | (DL_LOOKUP_SCOPE_LOCK): Remove. | |
7766 | (_dl_scope_free): New prototype. | |
7767 | * elf/dl-runtime.c (_dl_fixup): Don't use __rtld_mrlock_*lock. | |
7768 | Don't pass DL_LOOKUP_SCOPE_LOCK to _dl_lookup_symbol_x. | |
7769 | (_dl_profile_fixup): Likewise. | |
7770 | * elf/dl-sym.c (do_sym): Likewise. Use wrapped _dl_lookup_symbol_x | |
7771 | whenever !RTLD_SINGLE_THREAD_P, use THREAD_GSCOPE_SET_FLAG and | |
7772 | THREAD_GSCOPE_RESET_FLAG around it. | |
7773 | * elf/dl-close.c (_dl_close_worker): Don't use | |
7774 | __rtld_mrlock_{change,done}. Call _dl_scope_free on the old | |
7775 | scope. Make sure THREAD_GSCOPE_WAIT () happens if any old | |
7776 | scopes were queued or if l_scope_mem has been abandoned. | |
7777 | * elf/dl-open.c (_dl_scope_free): New function. | |
7778 | (dl_open_worker): Use it. Don't use __rtld_mrlock_{change,done}. | |
7779 | * elf/dl-support.c (_dl_scope_free_list): New variable. | |
7780 | * elf/dl-lookup.c (add_dependency): Remove flags argument. | |
7781 | Remove DL_LOOKUP_SCOPE_LOCK handling. | |
7782 | (_dl_lookup_symbol_x): Adjust caller. Remove DL_LOOKUP_SCOPE_LOCK | |
7783 | handling. | |
7784 | * elf/dl-object.c (_dl_new_object): Don't use | |
7785 | __rtld_mrlock_initialize. | |
7786 | ||
9be09e06 UD |
7787 | 2007-06-19 Ulrich Drepper <drepper@redhat.com> |
7788 | ||
7789 | * sysdeps/generic/ldsodefs.h (rtld_global): Reorder some elements | |
7790 | to fill in holes | |
7791 | (rtld_global_ro): Likewise. | |
7792 | ||
7793 | 2007-06-18 Jakub Jelinek <jakub@redhat.com> | |
7794 | ||
7795 | * elf/dl-addr.c (_dl_addr): Skip PT_LOAD checking if l_contiguous. | |
7796 | Move PT_LOAD checking to... | |
7797 | (_dl_addr_inside_object): ... here, new function. | |
7798 | * elf/dl-sym.c (do_sym): If not l_contiguous, | |
7799 | call _dl_addr_inside_object. | |
7800 | * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise. | |
7801 | * dlfcn/dlinfo.c (dlinfo_doit): Likewise. | |
7802 | * elf/dl-open.c (dl_open_worker): Likewise. | |
7803 | (_dl_addr_inside_object): New function if IS_IN_rtld. | |
7804 | * elf/dl-load.c (_dl_map_object_from_fd): Set l_contiguous if no | |
7805 | holes are present or are PROT_NONE protected. | |
7806 | * include/link.h (struct link_map): Add l_contiguous field. | |
7807 | * sysdeps/generic/ldsodefs.h (_dl_addr_inside_object): New prototype. | |
7808 | ||
ae1ad3ae | 7809 | 2007-06-18 Jakub Jelinek <jakub@redhat.com> |
f00d47a3 AS |
7810 | Tomas Janousek <tjanouse@redhat.com> |
7811 | Ulrich Drepper <drepper@redhat.com> | |
ae1ad3ae UD |
7812 | |
7813 | [BZ #4647] | |
7814 | * resolv/res_send.c (send_dg): Remove socket_pf. Use ipv6_unavail | |
7815 | member in __res_state, only convaddr4to6 if nssocks[ns] is a PF_INET6 | |
7816 | socket. | |
7817 | * resolv/resolv.h (__res_state): Add ipv6_unavail member. Make | |
7818 | unused member a bitmap. | |
7819 | * resolv/res_init.c (__res_vinit): Reset ipv6_unavail if IPv6 | |
7820 | servers are configured. | |
7821 | ||
3abee0b7 UD |
7822 | 2007-06-18 Jakub Jelinek <jakub@redhat.com> |
7823 | ||
7824 | * elf/rtld.c (dl_main): Don't call init_tls more than once. | |
7825 | ||
89074592 UD |
7826 | 2007-06-17 Andreas Schwab <schwab@suse.de> |
7827 | ||
7828 | * sysdeps/generic/initfini.c: Tell gcc about the nonstandard sections. | |
7829 | ||
b26e274d AJ |
7830 | 2007-06-16 Andreas Jaeger <aj@suse.de> |
7831 | ||
7832 | [BZ #4125] | |
7833 | * sysdeps/unix/sysv/linux/sys/ptrace.h | |
7834 | (PTRACE_O_TRACESYSGOOD, PTRACE_O_TRACEFORK, | |
7835 | PTRACE_O_TRACEVFORK, PTRACE_O_TRACECLONE, PTRACE_O_TRACEEXEC, | |
89074592 | 7836 | PTRACE_O_TRACEVFORKDONE, PTRACE_O_TRACEEXIT, PTRACE_O_MASK, |
b26e274d AJ |
7837 | PTRACE_EVENT_FORK, PTRACE_EVENT_VFORK, PTRACE_EVENT_CLONE, |
7838 | PTRACE_EVENT_EXEC, PTRACE_EVENT_VFORK_DONE, PTRACE_EVENT_EXIT): | |
7839 | Define. | |
7840 | * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise. | |
7841 | * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise. | |
7842 | * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise. | |
7843 | * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise. | |
7844 | ||
e0d4a4e5 UD |
7845 | 2007-06-16 Ulrich Drepper <drepper@redhat.com> |
7846 | ||
7847 | [BZ #4599] | |
7848 | * sysdeps/unix/sysv/linux/check_pf.c (make_request): When | |
7849 | determining whether there are IPv4/IPv6 addresses, ignore loopback | |
7850 | addresses. | |
7851 | ||
ae8e81f5 JJ |
7852 | 2007-06-14 Uros Bizjak <ubizjak@gmail.com> |
7853 | ||
7854 | * soft-fp/soft-fp.h (CMPtype): Define to "int" if undefined. | |
7855 | * soft-fp/eqdf2.c (__eqdf2): Use CMPtype instead of int | |
7856 | as the return type. Change type of "r" variable to CMPtype. | |
7857 | * soft-fp/eqsf2.c (__eqsf2): Likewise. | |
7858 | * soft-fp/eqtf2.c (__eqtf2): Likewise. | |
7859 | * soft-fp/gedf2.c (__gedf2): Likewise. | |
7860 | * soft-fp/gesf2.c (__gesf2): Likewise. | |
7861 | * soft-fp/getf2.c (__getf2): Likewise. | |
7862 | * soft-fp/ledf2.c (__ledf2): Likewise. | |
7863 | * soft-fp/lesf2.c (__lesf2): Likewise. | |
7864 | * soft-fp/letf2.c (__letf2): Likewise. | |
7865 | * soft-fp/unorddf2 (__unorddf2): Likewise. | |
7866 | * soft-fp/unordsf2 (__unordsf2): Likewise. | |
7867 | * soft-fp/unordtf2 (__unordtf2): Likewise. | |
7868 | ||
90cd2413 UD |
7869 | 2007-06-09 Ulrich Drepper <drepper@redhat.com> |
7870 | ||
7871 | * elf/do-lookup.h (do_lookup_x): Read r_nlist before r_list and | |
7872 | make sure gcc doesn't mess around with this. | |
7873 | ||
3c457089 UD |
7874 | 2007-06-08 Ulrich Drepper <drepper@redhat.com> |
7875 | ||
7876 | * elf/dl-lookup.c (_dl_lookup_symbol_x): Remove use of r_nlist. | |
7877 | ||
e8b6b64d UD |
7878 | 2007-06-08 Jakub Jelinek <jakub@redhat.com> |
7879 | ||
7880 | * elf/dl-close.c (_dl_close_worker): Remove all to be removed | |
7881 | libraries from the global scope at once and call THREAD_GSCOPE_WAIT | |
7882 | at most once per _dl_close_worker. | |
7883 | ||
36dffb22 UD |
7884 | 2007-06-08 Ulrich Drepper <drepper@redhat.com> |
7885 | ||
755db8c5 UD |
7886 | * sysdeps/unix/sysv/linux/bits/sched.h: Make second parameter of |
7887 | __sched_cpucount as const. | |
7888 | * posix/sched_cpucount.c: Adjust. | |
7889 | ||
36dffb22 UD |
7890 | * posix/sched_cpucount.c (__sched_cpucount): Allow using special |
7891 | instruction for counting bits. | |
7892 | * sysdeps/x86_64/sched_cpucount.c: New file. | |
7893 | ||
26f56c1c UD |
7894 | 2007-06-07 Ulrich Drepper <drepper@redhat.com> |
7895 | ||
7896 | * configure.in: Avoid variable named BASH. | |
e967d385 | 7897 | * config.make.in: Likewise. |
26f56c1c | 7898 | Patch in part by Mike Frysinger. |
835abc5c | 7899 | |
26f56c1c | 7900 | 2007-06-06 Jakub Jelinek <jakub@redhat.com> |
47779a7d JJ |
7901 | |
7902 | [BZ #4586] | |
835abc5c UD |
7903 | * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Treat |
7904 | pseudo-zeros as zero. | |
7905 | * sysdeps/x86_64/ldbl2mpn.c: New file. | |
7906 | * sysdeps/ia64/ldbl2mpn.c: New file. | |
7907 | ||
7e3706ea UD |
7908 | 2007-06-04 Jakub Jelinek <jakub@redhat.com> |
7909 | ||
7910 | * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (nextafterl): Remove | |
7911 | unused ily variable. Fix nextafterl on +-__LDBL_MAX__ and +-Inf. | |
7912 | Remove unreachable code at the end. | |
7913 | ||
7914 | 2007-06-01 Steven Munroe <sjmunroe@us.ibm.com> | |
7915 | ||
7916 | * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Correct description of | |
7917 | ldbl-128ibm in comment. | |
7918 | (fpclassifyl): Correct classification of denormals. | |
7919 | * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (nextafterl): Correct | |
7920 | return value for MIN denormal. Rewrite using long double math too | |
7921 | correctly handle denormals and canonicalize the results. | |
7922 | ||
7923 | 2007-06-05 Jakub Jelinek <jakub@redhat.com> | |
7924 | ||
7925 | * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c | |
7926 | (__mpn_construct_long_double): Fix conversion where result ought | |
7927 | to be smaller than __LDBL_MIN__, or the low double should be | |
7928 | denormal. Fix decision where to negate low double - honor round | |
7929 | to even rules. | |
7930 | * stdio-common/tst-sprintf2.c: Include string.h. | |
7931 | (COMPARE_LDBL): Define. | |
7932 | (TEST): Also test whether a string hexadecimal float representation | |
7933 | can be parsed back to the number. | |
7934 | (main): Add a couple of further tests. | |
7935 | ||
43b76828 UD |
7936 | 2007-06-04 Jakub Jelinek <jakub@redhat.com> |
7937 | ||
7938 | * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c | |
7939 | (PRINT_FPHEX_LONG_DOUBLE): Fix printing numbers where lower double | |
7940 | is non-zero, but smaller than 2 * __DBL_MIN__. | |
7941 | * stdio-common/tst-sprintf2.c: New test. | |
7942 | * stdio-common/Makefile (tests): Add tst-sprintf2. | |
7943 | ||
7944 | * math/test-misc.c (main): Don't run last batch of tests with | |
7945 | IBM long double format. | |
7946 | ||
04067002 UD |
7947 | 2007-05-31 Steven Munroe <sjmunroe@us.ibm.com> |
7948 | ||
7949 | * sysdeps/powerpc/powerpc32/970/fpu/Implies: New file. | |
7950 | * sysdeps/powerpc/powerpc32/power5/fpu/Implies: New file. | |
7951 | * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: New file. | |
7952 | * sysdeps/powerpc/powerpc32/power6/fpu/Implies: New file. | |
7953 | * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file. | |
7954 | * sysdeps/powerpc/powerpc64/970/fpu/Implies: New file. | |
7955 | * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New file. | |
7956 | * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New file. | |
7957 | * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New file. | |
7958 | * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: New file. | |
7959 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: New file. | |
7960 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: | |
7961 | New file. | |
7962 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: | |
7963 | New file. | |
7964 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: | |
7965 | New file. | |
7966 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: | |
7967 | New file. | |
7968 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: | |
7969 | New file. | |
7970 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: New file. | |
7971 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: | |
7972 | New file. | |
7973 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: | |
7974 | New file. | |
7975 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: | |
7976 | New file. | |
7977 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: | |
7978 | New file. | |
7979 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: | |
7980 | New file. | |
7981 | ||
7982 | 2007-05-31 Steven Munroe <sjmunroe@us.ibm.com> | |
7983 | ||
7984 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrint.S: Move. | |
7985 | * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: To here. | |
7986 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrintf.S: Move. | |
7987 | * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: To here. | |
7988 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llround.S: Move. | |
7989 | * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: To here. | |
7990 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llroundf.S: Move. | |
7991 | * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: To here. | |
7992 | ||
7993 | 2007-05-22 Steven Munroe <sjmunroe@us.ibm.com> | |
7994 | ||
7995 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S | |
7996 | (LONG_DOUBLE_COMPAT): Specify correct version, GLIBC_2_1. | |
7997 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S | |
7998 | (LONG_DOUBLE_COMPAT): Specify correct version, GLIBC_2_1. | |
7999 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S | |
8000 | (LONG_DOUBLE_COMPAT): Specify correct version, GLIBC_2_1. | |
8001 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S | |
8002 | (LONG_DOUBLE_COMPAT): Specify correct version, GLIBC_2_1. | |
8003 | ||
8004 | 2007-05-21 Steven Munroe <sjmunroe@us.ibm.com> | |
8005 | ||
8006 | * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: New file. | |
8007 | * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.c: New file. | |
8008 | * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: New file. | |
8009 | * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: New file. | |
8010 | ||
8011 | 2007-03-15 Steven Munroe <sjmunroe@us.ibm.com> | |
8012 | ||
8013 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrint.S | |
8014 | [LONG_DOUBLE_COMPAT]: Add compat_symbol for llrintl@@GLIBC_2_1. | |
8015 | ||
8016 | 2006-02-13 Steven Munroe <sjmunroe@us.ibm.com> | |
8017 | ||
8018 | * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: New File | |
8019 | * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: New File | |
8020 | * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: New File | |
8021 | * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: New File | |
8022 | ||
8023 | 2006-10-20 Steven Munroe <sjmunroe@us.ibm.com> | |
8024 | ||
8025 | * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: New file. | |
8026 | * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: New file. | |
8027 | ||
8028 | 2006-10-03 Steven Munroe <sjmunroe@us.ibm.com> | |
8029 | ||
8030 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llround.S: New file. | |
8031 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llroundf.S: New file. | |
8032 | ||
8033 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/Makefile: Moved. | |
8034 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/mpa.c: Likewise. | |
8035 | * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: To here. | |
8036 | * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise. | |
8037 | ||
8038 | 2006-09-29 Steven Munroe <sjmunroe@us.ibm.com> | |
8039 | ||
8040 | * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: New file. | |
8041 | * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: New file. | |
8042 | * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: New file. | |
8043 | * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: New file. | |
8044 | ||
8045 | 2006-09-28 Steven Munroe <sjmunroe@us.ibm.com> | |
8046 | ||
8047 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: New file. | |
8048 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: New file. | |
8049 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: New file. | |
8050 | * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file. | |
8051 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: New file. | |
8052 | * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: New file. | |
8053 | ||
8054 | 2006-08-31 Steven Munroe <sjmunroe@us.ibm.com> | |
8055 | ||
8056 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/Makefile: New file. | |
8057 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/mpa.c: New file. | |
8058 | * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: New file. | |
8059 | * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: New file. | |
8060 | ||
8061 | 2006-06-15 Steven Munroe <sjmunroe@us.ibm.com> | |
8062 | ||
8063 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: New file. | |
8064 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: New file. | |
8065 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: New file. | |
8066 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: New file. | |
8067 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: New file. | |
8068 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: New file. | |
8069 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: New file. | |
8070 | * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: New file. | |
8071 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: New file. | |
8072 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: New file. | |
8073 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: New file. | |
8074 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: New file. | |
8075 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: New file. | |
8076 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: New file. | |
8077 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: New file. | |
8078 | * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: New file. | |
8079 | ||
8080 | 2006-03-20 Steven Munroe <sjmunroe@us.ibm.com> | |
8081 | ||
8082 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrint.S: New file. | |
8083 | * sysdeps/powerpc/powerpc32/powerpc64/fpu/s_llrintf.S: New file. | |
8084 | ||
8085 | 2007-06-01 Steven Munroe <sjmunroe@us.ibm.com> | |
8086 | ||
8087 | * sysdeps/powerpc/powerpc32/power6/memset.S: New file. | |
8088 | * sysdeps/powerpc/powerpc64/power6/memset.S: New file. | |
8089 | ||
8090 | 2007-05-31 Steven Munroe <sjmunroe@us.ibm.com> | |
8091 | ||
8092 | * sysdeps/powerpc/powerpc32/970/Implies: New file. | |
8093 | * sysdeps/powerpc/powerpc32/power5/Implies: New file. | |
8094 | * sysdeps/powerpc/powerpc32/power5+/Implies: New file. | |
8095 | * sysdeps/powerpc/powerpc32/power6/Implies: New file. | |
8096 | * sysdeps/powerpc/powerpc32/power6x/Implies: New file. | |
8097 | * sysdeps/powerpc/powerpc64/970/Implies: New file. | |
8098 | * sysdeps/powerpc/powerpc64/power5/Implies: New file. | |
8099 | * sysdeps/powerpc/powerpc64/power5+/Implies: New file. | |
8100 | * sysdeps/powerpc/powerpc64/power6/Implies: New file. | |
8101 | * sysdeps/powerpc/powerpc64/power6x/Implies: New file. | |
8102 | ||
8103 | 2007-05-21 Steven Munroe <sjmunroe@us.ibm.com> | |
8104 | ||
8105 | * sysdeps/powerpc/powerpc32/power4/memset.S: New file | |
8106 | ||
8107 | 2007-03-13 Steven Munroe <sjmunroe@us.ibm.com> | |
8108 | ||
8109 | * sysdeps/powerpc/powerpc64/memcpy.S: Improve aligned loop to minimize | |
8110 | branch miss-predicts. Ensure that cache line crossing does not impact | |
8111 | dispatch grouping. | |
8112 | ||
8113 | 2006-12-13 Steven Munroe <sjmunroe@us.ibm.com> | |
8114 | ||
8115 | * sysdeps/powerpc/powerpc64/power4/memcopy.h: Replace with include | |
8116 | "../../powerpc32/power4/memcopy.h". | |
8117 | * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Replace with include | |
8118 | "../../powerpc32/power4/wordcopy.c". | |
8119 | ||
8120 | 2006-10-03 Steven Munroe <sjmunroe@us.ibm.com> | |
8121 | ||
8122 | * sysdeps/powerpc/powerpc32/powerpc64/Makefile: Moved. | |
8123 | * sysdeps/powerpc/powerpc32/powerpc64/memcopy.h: Likewise. | |
8124 | * sysdeps/powerpc/powerpc32/powerpc64/wordcopy.c: Likewise. | |
8125 | * sysdeps/powerpc/powerpc32/power4/Makefile: To here. | |
8126 | * sysdeps/powerpc/powerpc32/power4/memcopy.h: Likewise. | |
8127 | * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise. | |
8128 | ||
8129 | 2006-09-10 Steven Munroe <sjmunroe@us.ibm.com> | |
8130 | ||
8131 | * sysdeps/powerpc/powerpc32/power6/memcpy.S: New file. | |
8132 | ||
8133 | 2006-08-31 Steven Munroe <sjmunroe@us.ibm.com> | |
8134 | ||
8135 | * sysdeps/powerpc/powerpc32/power6/wordcopy.c: New file. | |
8136 | * sysdeps/powerpc/powerpc32/powerpc64/Makefile: New file. | |
8137 | * sysdeps/powerpc/powerpc32/powerpc64/memcopy.h: New file. | |
8138 | * sysdeps/powerpc/powerpc32/powerpc64/wordcopy.c: New file. | |
8139 | * sysdeps/powerpc/powerpc64/power4/Makefile: New file. | |
8140 | * sysdeps/powerpc/powerpc64/power4/memcopy.h: New file. | |
8141 | * sysdeps/powerpc/powerpc64/power4/wordcopy.c: New file. | |
8142 | * sysdeps/powerpc/powerpc64/power6/wordcopy.c: New file. | |
8143 | ||
8144 | 2006-07-06 Steven Munroe <sjmunroe@us.ibm.com> | |
8145 | ||
8146 | * sysdeps/powerpc/powerpc64/power6/memcpy.S: New file. | |
8147 | ||
8148 | 2006-03-20 Steven Munroe <sjmunroe@us.ibm.com> | |
8149 | ||
8150 | * sysdeps/powerpc/powerpc32/power4/memcmp.S: New file. | |
8151 | * sysdeps/powerpc/powerpc32/power4/memcpy.S: New file. | |
8152 | * sysdeps/powerpc/powerpc32/power4/memset.S: New file. | |
8153 | * sysdeps/powerpc/powerpc32/power4/strncmp.S: New file. | |
8154 | * sysdeps/powerpc/powerpc64/power4/memcmp.S: New file. | |
8155 | * sysdeps/powerpc/powerpc64/power4/memcpy.S: New file. | |
8156 | * sysdeps/powerpc/powerpc64/power4/strncmp.S: New file. | |
8157 | ||
5b55e1d3 RM |
8158 | 2007-05-29 Roland McGrath <roland@redhat.com> |
8159 | ||
8160 | * po/Makefile (po-sed-cmd): New variable. | |
8161 | (libc.pot.files): Move sed command text in there, avoid \ inside ''. | |
8162 | ||
5da4373c UD |
8163 | 2007-05-29 Ulrich Drepper <drepper@redhat.com> |
8164 | ||
4b5e7304 UD |
8165 | * crypt/md5-crypt.c: Fix comment. |
8166 | ||
5da4373c UD |
8167 | * nscd/nscd_helper.c (get_mapping): Handle short replies instead |
8168 | of crashing. When this is the case or if the reply is malformed, | |
8169 | don't try to close the new file descriptor since it does not | |
8170 | exist. | |
8171 | Patch in part by Guillaume Chazarain <guichaz@yahoo.fr>. | |
8172 | ||
40f57573 UD |
8173 | 2007-05-28 Jakub Jelinek <jakub@redhat.com> |
8174 | ||
8175 | * sysdeps/unix/sysv/linux/futimes.c (miss_utimensat): Don't define | |
8176 | if __NR_utimensat is not defined. | |
8177 | ||
6df7ffad UD |
8178 | 2007-05-26 Ulrich Drepper <drepper@redhat.com> |
8179 | ||
8180 | * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Include <sysdep.h>. | |
8181 | ||
47ad95ab UD |
8182 | 2007-05-25 Jakub Jelinek <jakub@redhat.com> |
8183 | ||
8184 | * io/bits/fcntl2.h (__open_2): Add nonnull attribute. | |
8185 | (open): Fix comment typos. Don't call __open_2 if flags | |
8186 | is a compile time constant without O_CREAT. | |
8187 | (__open64_2): Add nonnull attribute. | |
8188 | (open64): Fix comment typos. Don't call __open64_2 if flags | |
8189 | is a compile time constant without O_CREAT. | |
8190 | (__openat_2): Add nonnull attribute, fix nonnull attribute | |
8191 | on redirect. | |
8192 | (openat): Fix comment typos. Don't call __openat_2 if flags | |
8193 | is a compile time constant without O_CREAT. | |
8194 | (__openat64_2): Add nonnull attribute, fix nonnull attribute | |
8195 | on redirect. | |
8196 | (openat64): Fix comment typos. Don't call __openat64_2 if flags | |
8197 | is a compile time constant without O_CREAT. | |
8198 | ||
ddfd0535 UD |
8199 | 2007-05-24 Ulrich Drepper <drepper@redhat.com> |
8200 | ||
8201 | * Makerules (sysd-rules): Define PTW for ptw-* files. | |
8202 | * Versions: Define GLIBC_2.7 for libc. | |
8203 | * include/stdio.h: Declare __fortify_fail. | |
8204 | * debug/fortify_fail.c: New file. | |
8205 | * debug/Makefile (routines): Add fortify_fail. | |
8206 | * debug/chk_fail.c: Use __fortify_fail. | |
8207 | * debug/stack_chk_fail.c: Likewise. | |
8208 | * io/Versions: Export __open_2, __open64_2, __openat_2, and | |
8209 | __openat64_2 for GLIBC_2.7. | |
8210 | * io/fcntl.h: When compiling with fortification, include bits/fcntl2.h. | |
8211 | * io/open.c: Define *_2 variant of function which checks for O_CREAT | |
8212 | and fails if necessary. | |
8213 | * io/open64.c: Likewise. | |
8214 | * io/openat.c: Likewise. | |
8215 | * io/openat64.c: Likewise. | |
8216 | * sysdeps/unix/sysv/linux/open64.c: Likewise. | |
8217 | * sysdeps/unix/sysv/linux/openat.c: Likewise. | |
8218 | * sysdeps/unix/sysv/linux/openat64.c: Likewise. | |
8219 | * io/bits/fcntl2.h: New file. | |
8220 | * include/fcntl.h: Declare __open_2, __open64_2, __openat_2, and | |
8221 | __openat64_2. | |
8222 | * include/bits/fcntl2.h: New file. | |
8223 | * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): | |
8224 | Add open_2. | |
8225 | * sysdeps/unix/sysv/linux/open_2.c: New file. | |
8226 | ||
bfe6f5fa UD |
8227 | 2007-05-21 Ulrich Drepper <drepper@redhat.com> |
8228 | ||
6d59823c UD |
8229 | * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Pass correct value |
8230 | as second parameter to handle_intel. | |
8231 | ||
e2b1e343 UD |
8232 | * nscd/aicache.c (addhstaiX): If reported TTL is zero don't cache |
8233 | the entry. | |
8234 | ||
bfe6f5fa UD |
8235 | * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Move cache information |
8236 | handling to ... | |
8237 | * sysdeps/x86_64/cacheinfo.c: ... here. New file. | |
8238 | * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add | |
8239 | cacheinfo. | |
8240 | * sysdeps/x86_64/memcpy.S: Complete rewrite. | |
8241 | * sysdeps/x86_64/mempcpy.S: Adjust appropriately. | |
8242 | Patch by Evandro Menezes <evandro.menezes@amd.com>. | |
8243 | ||
8244 | * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: New file. | |
8245 | ||
1f4843fb UD |
8246 | 2007-05-21 Jakub Jelinek <jakub@redhat.com> |
8247 | ||
2c2c003a UD |
8248 | [BZ #4525] |
8249 | * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add epoll_pwait. | |
8250 | * sysdeps/unix/sysv/linux/epoll_pwait.c: New file. | |
8251 | * sysdeps/unix/sysv/linux/syscalls.list (epoll_pwait): Remove. | |
8252 | ||
8253 | * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h (epoll_pwait): Declare. | |
8254 | ||
af269dd9 UD |
8255 | [BZ #4514] |
8256 | * stdio-common/vfprintf.c (vfprintf): Don't shadow workstart variable, | |
8257 | reinitialize workend at the start of each do_positional format spec | |
8258 | loop, free workstart before do_positional loops. | |
8259 | (printf_unknown): Fix size of work_buffer. | |
8260 | * stdio-common/tst-sprintf.c (main): Add 3 new testcases. | |
8261 | ||
1f4843fb UD |
8262 | * malloc/hooks.c (MALLOC_STATE_VERSION): Bump. |
8263 | (public_sET_STATe): If ms->version < 3, put all chunks into | |
8264 | unsorted chunks and clear {fd,bk}_nextsize fields of largebin | |
8265 | chunks. | |
8266 | ||
8267 | * malloc/malloc.c [MALLOC_DEBUG]: Revert 2007-05-13 changes. | |
8268 | * malloc/hooks.c: Likewise. | |
8269 | * malloc/arena.c: Likewise. | |
8270 | * malloc/malloc.c (do_check_malloc_state): Don't assert | |
8271 | n_mmaps is not greater than n_mmaps_max. This removes the need | |
8272 | for the previous change. | |
8273 | ||
8274 | * malloc/Makefile (CFLAGS-malloc.c): Revert accidental | |
8275 | 2007-05-07 commit. | |
8276 | ||
12e8bbff UD |
8277 | 2007-05-19 Ulrich Drepper <drepper@redhat.com> |
8278 | ||
8279 | * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRIVATE_FUTEX): | |
8280 | Define for kernel >= 2.6.22. | |
69e5cbf5 | 8281 | |
12e8bbff | 8282 | 2007-05-18 Ulrich Drepper <drepper@redhat.com> |
6d59823c | 8283 | |
df94b641 UD |
8284 | * elf/dl-close.c (_dl_close_worker): When removing object from |
8285 | global scope, wait for all lookups to finish afterwards. | |
8286 | * elf/dl-open.c (add_to_global): When global scope array must | |
8287 | grow, allocate a new one and free old array only after all | |
8288 | lookups finish. | |
8289 | * elf/dl-runtime.c (_dl_fixup): Protect using global scope. | |
8290 | (_dl_lookup_symbol_x): Likewise. | |
8291 | * elf/dl-support.c: Define _dl_wait_lookup_done. | |
8292 | * sysdeps/generic/ldsodefs.h (struct rtld_global): Add | |
8293 | _dl_wait_lookup_done. | |
8294 | ||
2acd01ac UD |
8295 | * malloc/malloc.c (do_check_chunk): Correct check for mmaped block |
8296 | not overlapping with arena. | |
8297 | ||
129abdd3 UD |
8298 | * malloc/mcheck.c (reallochook): If size==0, free the block. |
8299 | ||
eb4b098a UD |
8300 | * rt/tst-shm.c: Use fstat64 instead of fstat. |
8301 | ||
69e5cbf5 UD |
8302 | * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Fix case where |
8303 | __NR_sync_file_range is not defined. | |
8304 | ||
a2ccc760 UD |
8305 | 2007-05-17 Ulrich Drepper <drepper@redhat.com> |
8306 | ||
bec51a30 UD |
8307 | Dummy files to prevent stub versions from being used. |
8308 | * sysdeps/x86_64/fpu/k_cosl.c: New file. | |
8309 | * sysdeps/x86_64/fpu/k_rem_pio2l.c: New file. | |
8310 | * sysdeps/x86_64/fpu/k_sinl.c: New file. | |
8311 | * sysdeps/x86_64/fpu/k_tanl.c: New file. | |
8312 | ||
a2ccc760 UD |
8313 | * version.h (VERSION): Set to 2.6.90. |
8314 | ||
1a31b586 UD |
8315 | 2007-05-14 Ulrich Drepper <drepper@redhat.com> |
8316 | ||
a2ccc760 UD |
8317 | * version.h (VERSION): Define to 2.6. |
8318 | * include/features.h (__GLIBC_MINOR__): Define to 6. | |
2c1d6172 | 8319 | |
1d47e92f UD |
8320 | * malloc/malloc.c: Use all small bin slots on 64-bit archs. |
8321 | ||
8322 | * malloc/malloc.c (largebin_index): Really have 32 buckets with 64 | |
8323 | sizes. | |
366ad8fd | 8324 | |
1a31b586 | 8325 | 2007-05-13 Ulrich Drepper <drepper@redhat.com> |
87e66335 | 8326 | |
366ad8fd UD |
8327 | * malloc/malloc.c [MALLOC_DEBUG]: Keep track of current maximum |
8328 | number of mmaps. n_mmaps_max is the target. | |
8329 | * malloc/hooks.c: Likewise. | |
8330 | * malloc/arena.c: Likewise. | |
8331 | ||
11ed6713 AJ |
8332 | 2007-05-12 Andreas Jaeger <aj@suse.de> |
8333 | ||
8334 | * sysdeps/unix/sysv/linux/tst-getcpu.c: Include <unistd.h> for | |
8335 | getpid. | |
8336 | ||
d65ef3dd UD |
8337 | 2007-05-11 Ulrich Drepper <drepper@redhat.com> |
8338 | ||
2e81d449 UD |
8339 | * elf/dl-close.c (_dl_close_worker): Help gcc to optimize by |
8340 | adding new variables. | |
8341 | ||
d65ef3dd | 8342 | * elf/dl-open.c (add_to_global): Introduce variable ns to help gcc |
2e81d449 | 8343 | optimize. Completely extend global scope array before making the |
d65ef3dd UD |
8344 | new entries visible. |
8345 | ||
c27d2078 UD |
8346 | 2007-05-10 Ulrich Drepper <drepper@redhat.com> |
8347 | ||
341c566f UD |
8348 | * sysdeps/unix/sysv/linux/tst-getcpu.c: New file. |
8349 | * sysdeps/unix/sysv/linux/Makefile [subdir=posix] (tests): Add | |
8350 | tst-getcpu. | |
8351 | ||
8352 | * include/link.h: Move l_version and l_nversion members around to | |
8353 | fill gaps. | |
8354 | ||
a53fa282 UD |
8355 | * scripts/check-c++-types.sh: Don't use -fnu89-inline option. |
8356 | ||
3771196d UD |
8357 | * sysdeps/unix/sysv/linux/sched_setaffinity.c |
8358 | (__sched_setaffinity_new): If syscall was successful and | |
8359 | RESET_VGETCPU_CACHE is defined, use it before returning. | |
8360 | * sysdeps/unix/sysv/linux/x86_64/sched_setaffinity.c: New file. | |
8361 | ||
f9bf102d UD |
8362 | * io/sys/stat.h: Make sure struct timespec is defined for |
8363 | __USE_ATFILE. | |
8364 | ||
c27d2078 UD |
8365 | * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Define UTIME_NOW and |
8366 | UTIME_OMIT. | |
8367 | * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise. | |
8368 | * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. | |
8369 | * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise. | |
8370 | * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise. | |
8371 | * sysdeps/unix/sysv/linux/bits/stat.h: Likewise. | |
8372 | * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise. | |
8373 | * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_UTIMENSAT. | |
8374 | * io/sys/stat.h: Declare utimensat, futimens. | |
8375 | * io/utimensat.c: New file. | |
8376 | * io/futimens.c: New file. | |
8377 | * sysdeps/unix/sysv/linux/utimensat.c: New file. | |
8378 | * sysdeps/unix/sysv/linux/futimens.c: New file. | |
8379 | * io/Makefile (routines): Add utimensat, futimens. | |
8380 | * io/Versions: Add utimensat, futimens to GLIBC_2.6. | |
8381 | * sysdeps/unix/sysv/linux/lutimes.c: New file. | |
8382 | * sysdeps/unix/sysv/linux/futimes.c: Use utimensat syscall if | |
8383 | available. | |
8384 | ||
8385 | * include/sys/cdefs.h: Redefine __nonnull so that test for | |
8386 | incorrect parameters in the libc code itself are not omitted. | |
8387 | ||
cf6b0980 JJ |
8388 | 2007-05-09 Jakub Jelinek <jakub@redhat.com> |
8389 | ||
c1dfd7e6 JJ |
8390 | * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Don't raise overflow |
8391 | exception in addition to inexact when asked to raise only FE_INEXACT. | |
8392 | ||
cf6b0980 JJ |
8393 | [BZ #3427] |
8394 | * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Don't clear exceptions | |
8395 | in *envp. | |
8396 | ||
df7b6fea UD |
8397 | 2007-05-07 Ulrich Drepper <drepper@redhat.com> |
8398 | ||
8399 | [BZ #4403] | |
8400 | * string/strfry.c (strfry): Make result more random. | |
8401 | ||
37f40235 RH |
8402 | 2007-05-07 Richard Henderson <rth@redhat.com> |
8403 | ||
8404 | * sysdeps/alpha/fpu/bits/mathinline.h (__isnanl): Don't define | |
8405 | if __NO_LONG_DOUBLE_MATH. | |
8406 | * sysdeps/unix/sysv/linux/alpha/ioperm.c: If BWX insns not | |
df7b6fea | 8407 | available in the compiler, add .arch directive to the assembly. |
37f40235 RH |
8408 | |
8409 | 2007-05-07 Jakub Jelinek <jakub@redhat.com> | |
8410 | ||
8411 | * sysdeps/alpha/fpu/s_nearbyint.c (nearbyintl): Fix version on | |
8412 | compat_symbol to GLIBC_2_1. | |
8413 | * sysdeps/alpha/fpu/s_fmin.S (fminl): Likewise. | |
8414 | * sysdeps/alpha/fpu/s_trunc.c (truncl): Likewise. | |
8415 | * sysdeps/alpha/fpu/s_fmax.S (fmaxl): Likewise. | |
8416 | * sysdeps/alpha/fpu/s_lrint.c (lrintl, llrintl): Likewise. | |
8417 | * sysdeps/alpha/fpu/s_lround.c (lroundl, llroundl): Likewise. | |
8418 | * sysdeps/alpha/fpu/s_round.c (roundl): Likewise. | |
8419 | * sysdeps/alpha/fpu/s_isnan.c (isnanl): Provide compat_symbol in | |
8420 | libc, not libm. | |
8421 | (__isnanl): New compat_symbol. | |
8422 | ||
c7fd3362 JJ |
8423 | 2007-05-07 Ulrich Drepper <drepper@redhat.com> |
8424 | Jakub Jelinek <jakub@redhat.com> | |
8425 | ||
8426 | * malloc/arena.c (heap_info): Add mprotect_size field, adjust pad. | |
8427 | (new_heap): Initialize mprotect_size. | |
8428 | (grow_heap): When growing, only mprotect from mprotect_size till | |
8429 | new_size if mprotect_size is smaller. When shrinking, use PROT_NONE | |
8430 | MMAP for __libc_enable_secure only, otherwise use MADV_DONTNEED. | |
8431 | ||
4a59e9ad | 8432 | 2007-04-30 Steven Munroe <sjmunroe@us.ibm.com> |
37f40235 | 8433 | Peter Bergner <bergner@us.ibm.com> |
4a59e9ad UD |
8434 | |
8435 | * sysdeps/powerpc/bits/fenv.h: Declare __fe_mask_env extern. | |
8436 | Define FE_NOMASK_ENV as FE_EANBLED_ENV. Define FE_MASK_ENV. | |
8437 | * sysdeps/powerpc/fpu/Makefile: Add fe_mask to libm-support. | |
8438 | * sysdeps/powerpc/fpu/fe_mask.c: New file. | |
8439 | * sysdeps/powerpc/fpu/fe_nomask.c: Correct comment. | |
8440 | * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): | |
8441 | Call __fe_mask_env() if all FP exceptions disabled. | |
8442 | * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Copy high 32-bits | |
8443 | from old FPSCR to new fenv to propagate DFP rounding modes. | |
8444 | Call __fe_mask_env() if FP exceptions previously enabled. | |
8445 | * sysdeps/powerpc/fpu/fesetenv.c (fesetenv): Change mask to merge | |
8446 | exceptions from env. Use __fe_nomask_env() or __fe_mask_env() when | |
8447 | transitioning from all exceptions disabled to any exception enabled | |
8448 | or visa versa. | |
8449 | * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Change mask to | |
8450 | merge exceptions from env. Call __fe_nomask_env or __fe_mask_env | |
8451 | when transitioning from all exceptions disabled to any exception | |
8452 | enabled or visa versa. | |
8453 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: Moved to... | |
8454 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: ...here. | |
8455 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: Moved to... | |
8456 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: ...here. | |
8457 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: New file. | |
8458 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: New file. | |
8459 | ||
aa75f64c UD |
8460 | 2007-05-06 Ulrich Drepper <drepper@redhat.com> |
8461 | ||
15eca720 | 8462 | [BZ #4465] |
aa75f64c UD |
8463 | * posix/unistd.h: Remove __THROW from fdatasync. |
8464 | ||
711deb05 UD |
8465 | 2007-05-06 Mike Frysinger <vapier@gentoo.org> |
8466 | ||
15eca720 | 8467 | [BZ #4465] |
711deb05 UD |
8468 | * sysdeps/unix/sysv/linux/syscalls.list (fdatasync): Add "C" to args. |
8469 | ||
ffecd39b UD |
8470 | 2007-05-06 Ulrich Drepper <drepper@redhat.com> |
8471 | ||
49a8eb75 UD |
8472 | * stdio-common/vfprintf.c (process_string_arg): Optimize |
8473 | ridiculous precision in wide char code printing multi-byte string. | |
8474 | Reported by Jim Meyering <jim@meyering.net>. | |
8475 | ||
ffecd39b UD |
8476 | [BZ #4131] |
8477 | * elf/dl-addr.c (_dl_addr): Compare address with actual segment | |
8478 | boundaries to work around systems with overlapping binary loading. | |
8479 | Based on a patch by Suzuki <suzuki@in.ibm.com>. | |
8480 | ||
b16dba4c UD |
8481 | 2007-05-04 Ulrich Drepper <drepper@redhat.com> |
8482 | ||
30b323ab UD |
8483 | * stdio-common/vfprintf.c (process_string_arg): Adjust call to |
8484 | __mbsnrtowcs after last change. | |
8485 | ||
b16dba4c UD |
8486 | * locale/programs/linereader.c (get_symname): Fix adding final NUL. |
8487 | (get_ident): Likewise. | |
8488 | ||
37002cbc JJ |
8489 | 2007-05-03 Jakub Jelinek <jakub@redhat.com> |
8490 | ||
8491 | * soft-fp/op-common.h (FP_TRUNC): Replace raising of FP_EX_INEXACT | |
8492 | with setting the sticky bit. | |
8493 | * math/test-misc.c (main): Add more truncation tests. | |
8494 | ||
8495 | 2007-04-14 Uros Bizjak <ubizjak@gmail.com> | |
8496 | ||
8497 | * soft-fp/floatunsidf.c (__floatunsidf): Use DFtype instead of | |
8498 | double in the function declaration. | |
8499 | * soft-fp/floatundidf.c (__floatundidf): Use DFtype instead of | |
8500 | double in the function declaration. | |
8501 | * soft-fp/floatunsisf.c (__floatunsisf): Use SFtype instead of | |
8502 | float in the function declaration. | |
8503 | * soft-fp/floatunsisf.c (__floatunsisf): Use SFtype instead of | |
8504 | float in the function declaration. | |
8505 | ||
8506 | * soft-fp/extended.h (FP_UNPACK_RAW_E): Do not increase X##_e for | |
8507 | denormal operands. Do not generate FP_EX_DENORM exception. | |
8508 | (FP_UNPACK_RAW_EP): Ditto. | |
8509 | (FP_UNPACK_SEMIRAW_E): Use FP_UNPACK_RAW_E instead of | |
8510 | undefined _FP_UNPACK_RAW_E. | |
8511 | (FP_UNPACK_SEMIRAW_EP): Use FP_UNPACK_RAW_EP instead of | |
8512 | undefined _FP_UNPACK_RAW_EP. | |
8513 | (FP_PACK_SEMIRAW_E): Use FP_PACK_RAW_E instead of | |
8514 | undefined _FP_PACK_RAW_E. | |
8515 | (FP_PACK_SEMIRAW_EP): Use FP_PACK_RAW_EP instead of | |
8516 | undefined _FP_PACK_RAW_EP. | |
8517 | ||
d9ac82d0 UD |
8518 | * soft-fp/op-2.h (_FP_FRAC_COPY_2_2): Define as alias to |
8519 | _FP_FRAC_COPY_2. | |
8520 | * soft-fp/op-4.h (_FP_FRAC_COPY_2_2): Define as alias to | |
8521 | _FP_FRAC_COPY_4. | |
37002cbc JJ |
8522 | |
8523 | 2007-04-16 Uros Bizjak <ubizjak@gmail.com> | |
8524 | Jakub Jelinek <jakub@redhat.com> | |
8525 | ||
8526 | * soft-fp/op-common.h (FP_EXTEND): Do not abort when | |
8527 | _FP_EXPBIAS_##dfs == _FP_EXPBIAS_##sfs. Handle denormals for | |
8528 | this case. | |
8529 | * soft-fp/op-common.h (FP_TRUNC): Ditto. | |
8530 | ||
002f0b0b JJ |
8531 | 2007-05-03 Jakub Jelinek <jakub@redhat.com> |
8532 | ||
8533 | * math/test-misc.c (main): Add tests for rounding long double | |
8534 | values close to smallest double denormalized value to double. | |
8535 | ||
8536 | 2007-04-30 Joseph Myers <joseph@codesourcery.com> | |
8537 | ||
8538 | * soft-fp/op-common.h (FP_TRUNC): Correct off-by-one error in | |
8539 | condition for truncating to 0. Set sticky bit for such | |
8540 | truncation. | |
8541 | ||
57433ede UD |
8542 | 2007-05-02 Jakub Jelinek <jakub@redhat.com> |
8543 | ||
8544 | * stdio-common/vfprintf.c (process_string_arg): Use a VLA rather than | |
8545 | fixed length array for ignore. | |
8546 | ||
c01c2455 UD |
8547 | 2007-04-30 Ulrich Drepper <drepper@redhat.com> |
8548 | ||
8549 | [BZ #4438] | |
8550 | * stdio-common/vfprintf.c (process_string_arg): Don't overflow the | |
8551 | stack for large precisions. | |
1cb04337 UD |
8552 | * stdio-common/test-vfprintf.c (main): Add test for large |
8553 | precision. | |
c01c2455 | 8554 | |
37f02b1d UD |
8555 | 2007-04-30 Jakub Jelinek <jakub@redhat.com> |
8556 | ||
b866373d UD |
8557 | * stdio-common/printf_fp.c (___printf_fp): Don't print negative sign |
8558 | for exponent 0. | |
8559 | * stdio-common/tfformat.c (sprint_doubles): Add a new test. | |
8560 | ||
37f02b1d UD |
8561 | [BZ #4439] |
8562 | * resolv/inet_ntop.c (inet_ntop4): Take terminating '\0' into | |
8563 | account in the size check. | |
8564 | * resolv/tst-inet_ntop.c: New test. | |
8565 | * resolv/Makefile (tests): Add tst-inet_ntop. | |
8566 | ||
7ecfbd38 UD |
8567 | 2007-04-30 Ulrich Drepper <drepper@redhat.com> |
8568 | Jakub Jelinek <jakub@redhat.com> | |
8569 | ||
8570 | [BZ #4349] | |
8571 | * malloc/malloc.c: Keep separate list for first blocks on the bin | |
8572 | lists with a given size. This helps skipping over list elements | |
8573 | we know won't fit in two places. | |
8574 | Inspired by a patch by Tomash Brechko <tomash.brechko@gmail.com>. | |
8575 | ||
e53f0f51 UD |
8576 | 2007-04-28 Ulrich Drepper <drepper@redhat.com> |
8577 | ||
8578 | [BZ #4102] | |
8579 | * sysdeps/posix/getaddrinfo.c (default_labels): Assign separate | |
8580 | label to Teredo tunnel addresses 2001://32. | |
8581 | ||
109f51f2 UD |
8582 | 2007-04-27 Ulrich Drepper <drepper@redhat.com> |
8583 | ||
762422d1 UD |
8584 | * locale/programs/ld-collate.c (collate_read): Allow order_start |
8585 | after copy. | |
8586 | ||
61d5a67f UD |
8587 | * locale/programs/ld-collate.c (collate_read): Fix printing of |
8588 | error message. | |
8589 | ||
8590 | [BZ #3213] | |
8591 | * locale/C-translit.h.in: Add entry for U2044. | |
8592 | ||
109f51f2 UD |
8593 | [BZ #4342] |
8594 | * stdio-common/vfscanf.c (_IO_vfscanf_internal): Allow | |
8595 | hexa-decimal floats without exponent. | |
8596 | * stdio-common/tstscanf.c (main): Adjust Test 8 test for success. | |
8597 | ||
ec08f13d UD |
8598 | 2007-04-25 Ulrich Drepper <drepper@redhat.com> |
8599 | ||
8600 | * sysdeps/unix/sysv/linux/bits/sched.h: Declare sched_getcpu. | |
8601 | * sysdeps/unix/sysv/linux/sched_getcpu.c: New file. | |
8602 | * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: New file. | |
8603 | * sysdeps/unix/sysv/linux/Versions: Export sched_getcpu for | |
8604 | GLIBC_2.6. | |
bce20b9a UD |
8605 | * sysdeps/unix/sysv/linux/Makefile [subdir=posix] (sysdep_routines): |
8606 | Add sched_getcpu. | |
ec08f13d | 8607 | |
41967e1c JJ |
8608 | 2007-04-25 Jakub Jelinek <jakub@redhat.com> |
8609 | ||
8610 | * sysdeps/unix/sysv/linux/check_pf.c (make_request): Return -1 instead | |
8611 | of 0 after the out_fail label. | |
8612 | ||
ba508da3 UD |
8613 | 2007-04-25 Ulrich Drepper <drepper@redhat.com> |
8614 | ||
8615 | [BZ #4406] | |
109f51f2 | 8616 | * iconv/gconv_charset.h (strip): Allow ':'. |
ba508da3 UD |
8617 | * iconv/iconv_open.c (iconv_open): Adjust comment. |
8618 | ||
9c8d03d9 JJ |
8619 | 2007-04-25 Jakub Jelinek <jakub@redhat.com> |
8620 | ||
8621 | * libio/bits/stdio.h (fgetc_unlocked): Add extern inline optimized | |
8622 | version. | |
8623 | ||
2f1687b9 UD |
8624 | 2007-04-23 Jakub Jelinek <jakub@redhat.com> |
8625 | ||
8626 | [BZ #4381] | |
8627 | * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Ensure sufficient | |
8628 | alignment of buffer and tmp_buffer. | |
8629 | * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r, | |
8630 | internal_gethostbyname2_r, _nss_nis_gethostbyaddr_r): Ensure sufficient | |
8631 | alignment of buffer. | |
8632 | * resolv/nss_dns/dns-hosts.c (getanswer_r): Likewise. Handle buflen | |
8633 | bigger than INT_MAX. | |
8634 | * resolv/nss_dns/dns-network.c (getanswer_r): Likewise. Add errnop and | |
8635 | h_errnop arguments. Fail if buflen is too small. | |
8636 | (_nss_dns_getnetbyname_r, _nss_dns_getnetbyaddr_r): Adjust callers. | |
8637 | ||
b64a9db8 JJ |
8638 | 2007-04-23 Jakub Jelinek <jakub@redhat.com> |
8639 | ||
8640 | [BZ #4405] | |
8641 | * iconvdata/gconv-modules (E13B): Add a missing slash to the alias | |
8642 | name. Patch by Aurelien Jarno <aurelien@aurel32.net>. | |
8643 | ||
4d3144c9 RM |
8644 | 2007-04-22 Roland McGrath <roland@redhat.com> |
8645 | ||
8646 | * elf/elf.h (NT_PRXFPREG): New macro. | |
8647 | ||
767b40bf AJ |
8648 | 2007-04-19 Andreas Jaeger <aj@suse.de> |
8649 | ||
8650 | [BZ #3905] | |
8651 | * bits/in.h (IPV6_ROUTER_ALERT, IPV6_MTU_DISCOVER, IPV6_MTU, | |
8652 | IPV6_RECVERR, IPV6_V6ONLY, IPV6_JOIN_ANYCAST, IPV6_LEAVE_ANYCAST): | |
8653 | Added. | |
8654 | ||
2592d1ec UD |
8655 | 2007-04-19 Ulrich Drepper <drepper@redhat.com> |
8656 | ||
8657 | * include/sys/mman.h: Mark madvise hidden. | |
d07d044e | 8658 | * misc/madvise.c: Add libc_hidden_def. |
2592d1ec | 8659 | |
7ab174ed UD |
8660 | 2007-04-06 Jakub Jelinek <jakub@redhat.com> |
8661 | ||
8662 | * nis/nis_domain_of.c (__nis_domain_of): New function. | |
8663 | * include/rpcsvc/nislib.h (__nis_domain_of): New prototype. | |
8664 | * nis/nis_lookup.c (nis_lookup): Use __nis_domain_of. | |
8665 | * nis/nis_call.c (rec_dirsearch): Likewise. | |
8666 | (first_shoot): Likewise. Remove search_parent_first argument. | |
8667 | (struct nis_server_cache): Rename search_parent_first field | |
8668 | to search_parent. | |
8669 | (nis_server_cache_search, nis_server_cache_add): Rename | |
8670 | search_parent_first argument to search_parent. | |
8671 | (__nisfind_server): Likewise. If search_parent, call | |
8672 | __nis_domain_of. | |
8673 | ||
b17c265f UD |
8674 | 2007-04-18 Ulrich Drepper <drepper@redhat.com> |
8675 | ||
8676 | * sysdeps/posix/getaddrinfo.c: Remove commented-out code. | |
8677 | ||
b7674b11 UD |
8678 | 2007-04-17 Ulrich Drepper <drepper@redhat.com> |
8679 | ||
8680 | [BZ #4368] | |
8681 | * stdlib/stdlib.h: Remove obsolete part of comment for realpath. | |
8682 | ||
faf3ad69 UD |
8683 | 2007-04-16 Ulrich Drepper <drepper@redhat.com> |
8684 | ||
8685 | [BZ #4364] | |
8686 | * posix/unistd.h (_XOPEN_VERSION): Define appropriately for SUSv3. | |
8687 | ||
c14f245c UD |
8688 | 2007-04-15 Jakub Jelinek <jakub@redhat.com> |
8689 | ||
8690 | * locale/programs/locarchive.c (INITIAL_NUM_NAMES, | |
8691 | INITIAL_SIZE_STRINGS, INITIAL_NUM_LOCREC): Update to accomodate | |
8692 | current number of locales in SUPPORTED. | |
8693 | (create_archive): Initialize serial. | |
8694 | (enlarge_archive): Preserve aliases rather than duplicating | |
8695 | their locrecs. | |
8696 | ||
d40e67f5 UD |
8697 | 2007-04-13 Jakub Jelinek <jakub@redhat.com> |
8698 | ||
993a5d66 UD |
8699 | * libio/genops.c (_IO_default_finish): Call _IO_lock_fini |
8700 | after _IO_un_link, not before it. | |
8701 | ||
d40e67f5 UD |
8702 | * stdio-common/printf_fp.c (___printf_fp): Fix exponent -4 |
8703 | special case handling when wcp == wstartp + 1. Fix a comment typo. | |
8704 | * stdio-common/tfformat.c (sprint_doubles): Add a new testcase. | |
8705 | ||
0fca3153 UD |
8706 | 2007-03-30 Jakub Jelinek <jakub@redhat.com> |
8707 | ||
8708 | * libio/libio.h (__underflow, __uflow, __overflow, __wunderflow, | |
8709 | __wuflow, __woverflow, _IO_getc, _IO_putc, _IO_peekc_locked, _IO_padn, | |
8710 | _IO_sgetn, _IO_seekoff, _IO_seekpos, _IO_getwc, _IO_putwc, _IO_wpadn): | |
8711 | Remove __THROW. | |
8712 | * libio/fileops.c (new_do_write, _IO_file_xsgetn_mmap, | |
8713 | _IO_file_xsgetn_maybe_mmap): Likewise. | |
8714 | * libio/oldfileops.c (old_do_write): Likewise. | |
8715 | * libio/libioP.h (_IO_switch_to_get_mode, _IO_switch_to_wget_mode, | |
8716 | _IO_init_marker, _IO_init_wmarker, _IO_default_uflow, | |
8717 | _IO_wdefault_uflow, _IO_default_setbuf, _IO_default_seekpos, | |
8718 | _IO_do_write, _IO_new_do_write, _IO_old_do_write, _IO_wdo_write, | |
8719 | _IO_flush_all_lockp, _IO_flush_all, _IO_cleanup, | |
8720 | _IO_flush_all_linebuffered, _IO_new_fgetpos, _IO_old_fgetpos, | |
8721 | _IO_new_fsetpos, _IO_old_fsetpos, _IO_new_fgetpos64, | |
8722 | _IO_old_fgetpos64, _IO_new_fsetpos64, _IO_old_fsetpos64, | |
8723 | _IO_file_setbuf, _IO_file_seekoff, _IO_file_xsputn, _IO_file_xsgetn, | |
8724 | _IO_file_underflow, _IO_file_underflow_mmap, | |
8725 | _IO_file_underflow_maybe_mmap, _IO_file_overflow, _IO_file_attach, | |
8726 | _IO_file_open, _IO_file_fopen, _IO_file_write, _IO_file_read, | |
8727 | _IO_file_sync, _IO_file_close_it, _IO_file_finish, | |
8728 | _IO_new_file_attach, _IO_new_file_close_it, _IO_new_file_finish, | |
8729 | _IO_new_file_fopen, _IO_new_file_setbuf, _IO_file_setbuf_mmap, | |
8730 | _IO_new_file_sync, _IO_new_file_underflow, _IO_new_file_overflow, | |
8731 | _IO_new_file_seekoff, _IO_new_file_write, _IO_new_file_xsputn, | |
8732 | _IO_old_file_setbuf, _IO_old_file_seekoff, _IO_old_file_xsputn, | |
8733 | _IO_old_file_underflow, _IO_old_file_overflow, _IO_old_file_attach, | |
8734 | _IO_old_file_fopen, _IO_old_file_write, _IO_old_file_sync, | |
8735 | _IO_old_file_close_it, _IO_old_file_finish, _IO_wfile_xsputn, | |
8736 | _IO_wfile_setbuf, _IO_wfile_sync, _IO_wfile_underflow, | |
8737 | _IO_wfile_overflow, _IO_wfile_seekoff, _IO_old_proc_open, | |
8738 | _IO_old_proc_close, _IO_getdelim, _IO_flush_all_internal, | |
8739 | _IO_adjust_column_internal, _IO_default_uflow_internal, | |
8740 | _IO_default_xsgetn_internal, _IO_wdefault_xsputn_internal, | |
8741 | _IO_wdefault_xsgetn_internal, _IO_wdefault_uflow_internal, | |
8742 | _IO_file_setbuf_internal, _IO_file_seekoff_internal, | |
8743 | _IO_file_xsputn_internal, _IO_file_xsgetn_internal, | |
8744 | _IO_file_close_it_internal, _IO_file_underflow_internal, | |
8745 | _IO_file_overflow_internal, _IO_file_attach_internal, | |
8746 | _IO_file_fopen_internal, _IO_file_sync_internal, | |
8747 | _IO_file_finish_internal, _IO_wfile_xsputn_internal, | |
8748 | _IO_wfile_seekoff_internal, _IO_wfile_sync_internal, | |
8749 | _IO_switch_to_wget_mode_internal, _IO_padn_internal, | |
8750 | _IO_switch_to_get_mode_internal, _IO_seekoff_unlocked, | |
8751 | _IO_seekpos_unlocked): Likewise. | |
8752 | (_IO_strtod, _IO_dtoa, _IO_outfloat, _IO_read, _IO_write, | |
8753 | _IO_lseek, _IO_close, _IO_fstat): Remove unused prototypes. | |
8754 | ||
07358add JJ |
8755 | 2007-04-16 Jakub Jelinek <jakub@redhat.com> |
8756 | ||
8757 | * locale/programs/locarchive.c (show_archive_content): Fix sizeof | |
8758 | argument in xmalloc size computation. | |
8759 | ||
7a82b74f UD |
8760 | 2007-04-01 Jakub Jelinek <jakub@redhat.com> |
8761 | ||
8762 | * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Use | |
8763 | math_opt_barrier and math_force_eval macros. | |
8764 | ||
3e336a87 UD |
8765 | 2007-03-27 Jakub Jelinek <jakub@redhat.com> |
8766 | ||
8767 | [BZ #3306] | |
8768 | * math/math_private.h (math_opt_barrier, math_force_eval): Define. | |
8769 | * sysdeps/i386/fpu/math_private.h: New file. | |
8770 | * sysdeps/x86_64/fpu/math_private.h: New file. | |
8771 | * math/s_nexttowardf.c (__nexttowardf): Use math_opt_barrier and | |
8772 | math_force_eval macros. Use "+m" constraint on asm rather than | |
8773 | "=m" and "m". | |
8774 | * math/s_nextafter.c (__nextafter): Likewise. | |
8775 | * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): | |
8776 | Likewise. | |
8777 | * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise. | |
8778 | * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Likewise. | |
8779 | * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise. | |
8780 | * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Use | |
8781 | math_opt_barrier and math_force_eval macros. | |
8782 | * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl): Likewise. | |
8783 | * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Likewise. | |
8784 | * sysdeps/i386/fpu/s_nexttoward.c: Include float.h. | |
8785 | (__nexttoward): Use math_opt_barrier and | |
8786 | math_force_eval macros. Use "+m" constraint on asm rather than | |
8787 | "=m" and "m". Only use asm to force double result if | |
8788 | FLT_EVAL_METHOD is 2. | |
8789 | * sysdeps/i386/fpu/s_nexttowardf.c: Include float.h. | |
8790 | (__nexttowardf): Use math_opt_barrier and | |
8791 | math_force_eval macros. Use "+m" constraint on asm rather than | |
8792 | "=m" and "m". Only use asm to force double result if | |
8793 | FLT_EVAL_METHOD is not 0. | |
8794 | * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include float.h. | |
8795 | (__nexttowardf): Use math_opt_barrier and | |
8796 | math_force_eval macros. If FLT_EVAL_METHOD is not 0, force | |
8797 | x to float using asm. | |
8798 | * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include float.h. | |
8799 | (__nldbl_nexttowardf): Use math_opt_barrier and | |
8800 | math_force_eval macros. If FLT_EVAL_METHOD is not 0, force | |
8801 | x to float using asm. | |
8802 | * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include float.h. | |
8803 | (__nexttowardf): Use math_opt_barrier and math_force_eval | |
8804 | macros. If FLT_EVAL_METHOD is not 0, force x to float using asm. | |
8805 | * math/bug-nextafter.c (zero, inf): New variables. | |
8806 | (main): Add new tests. | |
8807 | * math/bug-nexttoward.c (zero, inf): New variables. | |
8808 | (main): Add new tests. | |
8809 | ||
a8c79c40 UD |
8810 | 2007-03-22 Jakub Jelinek <jakub@redhat.com> |
8811 | ||
8812 | [BZ #3427] | |
8813 | * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Clear all | |
8814 | exceptions both in SW and MXCSR. | |
8815 | * sysdeps/x86_64/fpu/feupdateenv.c: New file. | |
8816 | * sysdeps/x86_64/fpu/feenablxcpt.c (feenableexcept): Remove dead code. | |
8817 | * sysdeps/x86_64/fpu/fedisblxcpt.c (fedisableexcept): Likewise. | |
8818 | * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Clear all exceptions | |
8819 | in MXCSR if SSE is available. | |
8820 | * sysdeps/i386/fpu/feupdateenv.c: Include unistd.h, dl-procinfo.h | |
8821 | and ldsodefs.h. | |
8822 | (__feupdateenv): Query exceptions also from MXCSR if SSE is available. | |
8823 | Fix comment typo. | |
8824 | * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Clear all exceptions. | |
8825 | Return 0 rather than 1. | |
8826 | * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Fix comment typo. | |
8827 | Remove incorrect part of a comment. Fix argument to feraiseexcept. | |
8828 | * math/test-fenv.c (feholdexcept_tests): New function. | |
8829 | (main): Call it. | |
8830 | ||
8831 | 2007-01-05 Richard B. Kreckel <kreckel@ginac.de> | |
8832 | ||
8833 | [BZ #3427] | |
8834 | * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Clear all exceptions | |
8835 | in SW. | |
8836 | ||
30a3aa75 JJ |
8837 | 2007-04-13 Jakub Jelinek <jakub@redhat.com> |
8838 | ||
8839 | [BZ #4344] | |
8840 | * elf/ldconfig.c (search_dir): Fix 2 off-by-2 errors. | |
8841 | Reported by David Anderson <davea42@earthlink.net>. | |
8842 | ||
75587bfe UD |
8843 | 2007-04-07 Ulrich Drepper <drepper@redhat.com> |
8844 | ||
8845 | * posix/sys/wait.h: Remove unnecessary forward declaration. | |
8846 | ||
88fa1769 JJ |
8847 | 2007-04-05 Jakub Jelinek <jakub@redhat.com> |
8848 | ||
8849 | * nis/nis_call.c (__nisfind_server): Replace (*dir)->do_servers | |
8850 | with obj->do_servers after first_shoot. | |
8851 | ||
eab1bdfb UD |
8852 | 2007-04-03 Ulrich Drepper <drepper@redhat.com> |
8853 | ||
8854 | * posix/Makefile (routines): Add sched_cpucount. | |
8855 | (tests): Add tst-cpucount. | |
8856 | * posix/sched_cpucount.c: New file. | |
8857 | * posix/tst-cpucount.c: New file. | |
8858 | * posix/Versions: Export __sched_cpucount with version GLIBC_2.6. | |
b4afdd06 UD |
8859 | * bits/sched.h: Define __CPU_COUNT. Declare __sched_cpucount. |
8860 | * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. | |
8861 | * posix/sched.h: Define CPU_COUNT. | |
eab1bdfb | 8862 | |
9700b039 UD |
8863 | 2007-03-27 Jakub Jelinek <jakub@redhat.com> |
8864 | ||
8865 | * posix/fnmatch.c (STRUCT): Define. | |
8866 | (fnmatch): Pass NULL as last argument to internal_fn{,w}match. | |
8867 | * posix/fnmatch_loop.c (struct STRUCT): New type. | |
8868 | (FCT): Add ends argument. If ends != NULL and normal * is | |
8869 | seen in the pattern, store current pattern and string pointers | |
8870 | and return. Adjust recursive calls. | |
8871 | (EXT): Adjust FCT callers. | |
8872 | (STRUCT): Undef at the end of the file. | |
8873 | * posix/Makefile (tests): Add tst-fnmatch2. | |
8874 | * posix/tst-fnmatch2.c: New test. | |
8875 | ||
d64e9790 JJ |
8876 | 2007-04-01 Jakub Jelinek <jakub@redhat.com> |
8877 | ||
933dfe7b JJ |
8878 | * sysdeps/ia64/fpu/fesetround.c (fesetround): Return 0 on success |
8879 | and 1 on failure. | |
8880 | ||
d64e9790 JJ |
8881 | * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range): |
8882 | Change last argument to unsigned int. | |
8883 | ||
e1f0c5bc UD |
8884 | 2007-03-23 Jakub Jelinek <jakub@redhat.com> |
8885 | ||
8886 | * scripts/check-local-headers.sh: Filter out sys/capability.h. | |
8887 | ||
8888 | 2007-03-22 Jakub Jelinek <jakub@redhat.com> | |
8889 | ||
8890 | * config.h.in (HAVE_LIBCAP): Add. | |
8891 | * nscd/selinux.h: Include sys/capability.h rather than non-existent | |
8892 | sys/capabilities.h. | |
8893 | * nscd/selinux.c (preserve_capabilities): Use cap_free instead of | |
8894 | free_caps. Cast away const from 4th cap_set_flag argument. | |
8895 | ||
4e87573f UD |
8896 | 2007-03-26 Ulrich Drepper <drepper@redhat.com> |
8897 | ||
8898 | * sysdeps/unix/sysv/linux/Versions: Move sync_file_range to | |
8899 | GLIBC_2.6. | |
8900 | * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): | |
8901 | Add sync_file_range. | |
8902 | Reported by Atsushi Nemoto <anemo@mba.ocn.ne.jp>. | |
8903 | ||
fa6e3bc3 UD |
8904 | 2007-03-19 Steven Munroe <sjmunroe@us.ibm.com> |
8905 | ||
8906 | * sysdeps/powerpc/bits/atomic.h | |
8907 | [!MUTEX_HINT_ACQ]: Define MUTEX_HINT_ACQ. | |
8908 | [!MUTEX_HINT_REL]: Define MUTEX_HINT_REL. | |
8909 | (__arch_compare_and_exchange_val_32_acq): Add MUTEX_HINT_ACQ to lwarx. | |
8910 | (__arch_compare_and_exchange_val_32_rel): Add MUTEX_HINT_REL to lwarx. | |
8911 | (__arch_atomic_exchange_val_32_acq): Add MUTEX_HINT_ACQ to lwarx. | |
8912 | (__arch_atomic_exchange_rel_32_rel): Add MUTEX_HINT_REL to lwarx. | |
8913 | * sysdeps/powerpc/powerpc32/bits/atomic.h [_ARCH_PWR6 || _ARCH_PWR6X]: | |
8914 | Define MUTEX_HINT_ACQ as ",1" and MUTEX_HINT_REL as ",0". | |
8915 | (__arch_compare_and_exchange_bool_32_acq): Add MUTEX_HINT_ACQ to lwarx. | |
8916 | (__arch_compare_and_exchange_bool_32_rel): Add MUTEX_HINT_REL to lwarx. | |
8917 | * sysdeps/powerpc/powerpc64/bits/atomic.h [_ARCH_PWR6 || _ARCH_PWR6D]: | |
8918 | Define MUTEX_HINT_ACQ as ",1" and MUTEX_HINT_REL as ",0". | |
8919 | (__arch_compare_and_exchange_bool_32_acq): Add MUTEX_HINT_ACQ to lwarx. | |
8920 | (__arch_compare_and_exchange_bool_32_rel): Add MUTEX_HINT_REL to lwarx. | |
8921 | (__arch_compare_and_exchange_bool_64_acq): Add MUTEX_HINT_ACQ to lwarx. | |
8922 | (__arch_compare_and_exchange_bool_64_rel): Add MUTEX_HINT_REL to lwarx. | |
8923 | (__arch_compare_and_exchange_val_64_acq): Add MUTEX_HINT_ACQ to lwarx. | |
8924 | (__arch_compare_and_exchange_val_64_rel): Add MUTEX_HINT_REL to lwarx. | |
8925 | (__arch_atomic_exchange_val_64_acq): Add MUTEX_HINT_ACQ to lwarx. | |
8926 | (__arch_atomic_exchange_rel_64_rel): Add MUTEX_HINT_REL to lwarx. | |
8927 | ||
8928 | 2007-03-20 Jakub Jelinek <jakub@redhat.com> | |
c7693af7 UD |
8929 | |
8930 | * sysdeps/unix/sysv/linux/powerpc/libc-start.c | |
8931 | (__cache_line_size): Define the variable here. Add | |
8932 | attribute_hidden, remove weak_extern. | |
8933 | (__libc_start_main): Set __cache_line_size | |
8934 | unconditionally. | |
8935 | * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c | |
8936 | (__cache_line_size): Define the variable here. Add | |
8937 | attribute_hidden, remove weak_extern. | |
8938 | (DL_PLATFORM_AUXV): Set __cache_line_size | |
8939 | unconditionally. | |
8940 | * sysdeps/powerpc/powerpc32/dl-machine.c (__cache_line_size): Remove | |
8941 | weak_extern, add attribute_hidden. | |
8942 | (__elf_machine_runtime_setup): Assume __cache_line_size is always | |
8943 | defined in ld.so. | |
8944 | * sysdeps/powerpc/powerpc32/memset.S (__cache_line_size): Remove | |
8945 | definition. | |
8946 | * sysdeps/powerpc/powerpc64/memset.S (__cache_line_size): Likewise. | |
8947 | ||
0479e581 JJ |
8948 | 2007-03-26 Jakub Jelinek <jakub@redhat.com> |
8949 | ||
8950 | [BZ #4276] | |
8951 | * timezone/africa: Update from tzdata2007d. | |
8952 | * timezone/asia: Likewise. | |
8953 | * timezone/australasia: Likewise. | |
8954 | * timezone/backward: Likewise. | |
8955 | * timezone/europe: Likewise. | |
8956 | * timezone/iso3166.tab: Likewise. | |
8957 | * timezone/leapseconds: Likewise. | |
8958 | * timezone/northamerica: Likewise. | |
8959 | * timezone/southamerica: Likewise. | |
8960 | * timezone/zone.tab: Likewise. | |
8961 | ||
8962 | * timezone/private.h: Update from tzcode2007d. | |
8963 | * timezone/zdump.c: Likewise. | |
8964 | * timezone/zic.c: Likewise. | |
8965 | ||
697d37b1 JJ |
8966 | 2007-03-21 Jakub Jelinek <jakub@redhat.com> |
8967 | ||
8968 | * nis/nis_call.c: Include bits/libc-lock.h, sys/stat.h, unistd.h. | |
8969 | (nis_server_cache, nis_server_cache_lock, nis_cold_start_mtime): New | |
8970 | variables. | |
8971 | (nis_server_cache_search, nis_server_cache_add): New functions. | |
8972 | (__nisfind_server): Use them. Add dbp and flags argument, if | |
8973 | call __nisbind_create. | |
8974 | (__nisbind_create): Add server_used and current_ep arguments, | |
8975 | only call __nis_findfastest if server_used is ~0. | |
8976 | (__do_niscall2, __prepare_niscall): Adjust callers. | |
8977 | (ckey_cache, ckey_cache_size, ckey_cache_allocated, ckey_cache_pid, | |
8978 | ckey_cache_euid, ckey_cache_lock): New variables. | |
8979 | (get_ckey): New function. | |
8980 | (__nisbind_connect): If not dbp->use_udp, pass IPPROTO_TCP to | |
8981 | __pmap_getnisport. Save __pmap_getnisport result in | |
8982 | dbp->addr.sin_port if non-zero. Use get_ckey to create conversation | |
8983 | key. | |
8984 | * nis/nis_lookup.c (nis_lookup): Likewise. | |
8985 | * nis/nis_table.c (nis_list): Likewise. | |
8986 | * nis/rpcsvc/nislib.h (__nisbind_create, __nisfind_server): Adjust | |
8987 | prototypes. | |
8988 | ||
8989 | * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_getpwnam_r, | |
8990 | _nss_nisplus_getpwuid_r): Pass USE_DGRAM flag to nis_list. | |
8991 | * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_getservbyname_r, | |
8992 | _nss_nisplus_getservbyport_r): Likewise. | |
8993 | * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r, | |
8994 | _nss_nisplus_getnetbyaddr_r): Likewise. | |
8995 | * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_getspnam_r): Likewise. | |
8996 | * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r, | |
8997 | _nss_nisplus_getntohost_r): Likewise. | |
8998 | * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r, | |
8999 | _nss_nisplus_getrpcbynumber_r): Likewise. | |
9000 | ||
06029c20 JJ |
9001 | 2007-03-20 Jakub Jelinek <jakub@redhat.com> |
9002 | ||
371f84a4 JJ |
9003 | * configure.in (libc_cv_gnu89_inline): Only do compile test. |
9004 | * configure: Rebuilt. | |
9005 | ||
06029c20 JJ |
9006 | * soft-fp/double.h (_FP_UNION_D): Use _FP_W_TYPE for frac |
9007 | bit-fields. | |
9008 | * soft-fp/extended.h (_FP_UNION_E): Likewise. | |
9009 | ||
9010 | 2006-06-07 Joseph Myers <joseph@codesourcery.com> | |
9011 | ||
9012 | [BZ #2831] | |
9013 | * soft-fp/quad.h (_FP_UNION_Q): Use _FP_W_TYPE for frac | |
9014 | bit-fields. | |
9015 | ||
addc8335 UD |
9016 | 2007-03-18 Jakub Jelinek <jakub@redhat.com> |
9017 | ||
9018 | * nscd/gai.c: Include alloca.h. | |
9019 | (__libc_use_alloca): Define. | |
9020 | ||
b037a293 UD |
9021 | 2007-03-16 Jakub Jelinek <jakub@redhat.com> |
9022 | ||
965cba04 UD |
9023 | * elf/dl-open.c (dl_open_worker): Declare l in 2 different |
9024 | smaller scopes. | |
9025 | * elf/dl-dst.h (DL_DST_REQ_STATIC): Add l as macro argument. | |
9026 | (DL_DST_REQUIRED): Adjust user. | |
9027 | ||
9028 | * include/dlfcn.h (struct link_map): New forward decl. | |
9029 | ||
9030 | * inet/getnameinfo.c: Include stddef.h. | |
9031 | (getnameinfo): Use offsetof. | |
9032 | ||
9033 | * time/tst-mktime2.c (do_test): Don't rely on signed wrap. | |
9034 | ||
9035 | * stdio-common/vfprintf.c (_itoa): Undef before redefining. | |
9036 | ||
9037 | * string/strerror_l.c: Include stdlib.h. | |
9038 | ||
b037a293 UD |
9039 | * configure.in (libc_cv_gnu89_inline): Test for -fgnu89-inline. |
9040 | * config.make.in (gnu89-inline-CFLAGS): New variable. | |
9041 | * Makeconfig (CFLAGS): Use $(gnu89-inline-CFLAGS) together with | |
9042 | -std=gnu99. | |
9043 | * misc/sys/cdefs.h (__extern_inline, __extern_always_inline): Define. | |
9044 | * argp/argp.h: Use it. | |
9045 | * bits/mathinline.h: Likewise. | |
9046 | * bits/sigset.h: Likewise. | |
9047 | * bits/string.h: Likewise. | |
9048 | * ctype/ctype.h: Likewise. | |
9049 | * hurd/hurd.h: Likewise. | |
9050 | * hurd/hurd/fd.h: Likewise. | |
9051 | * hurd/hurd/port.h: Likewise. | |
9052 | * hurd/hurd/signal.h: Likewise. | |
9053 | * hurd/hurd/threadvar.h: Likewise. | |
9054 | * hurd/hurd/userlink.h: Likewise. | |
9055 | * io/sys/stat.h: Likewise. | |
9056 | * libio/bits/stdio.h: Likewise. | |
9057 | * libio/bits/stdio2.h: Likewise. | |
9058 | * mach/lock-intern.h: Likewise. | |
9059 | * mach/mach/mig_support.h: Likewise. | |
9060 | * math/bits/cmathcalls.h: Likewise. | |
9061 | * posix/bits/unistd.h: Likewise. | |
9062 | * socket/bits/socket2.h: Likewise. | |
9063 | * stdlib/bits/stdlib.h: Likewise. | |
9064 | * stdlib/stdlib.h: Likewise. | |
9065 | * string/argz.h: Likewise. | |
9066 | * string/bits/string2.h: Likewise. | |
9067 | * string/bits/string3.h: Likewise. | |
9068 | * sysdeps/alpha/fpu/bits/mathinline.h: Likewise. | |
9069 | * sysdeps/generic/inttypes.h: Likewise. | |
9070 | * sysdeps/generic/machine-lock.h: Likewise. | |
9071 | * sysdeps/generic/machine-sp.h: Likewise. | |
9072 | * sysdeps/i386/fpu/bits/mathinline.h: Likewise. | |
9073 | * sysdeps/i386/i486/bits/string.h: Likewise. | |
9074 | * sysdeps/ia64/fpu/bits/mathinline.h: Likewise. | |
9075 | * sysdeps/mach/alpha/machine-lock.h: Likewise. | |
9076 | * sysdeps/mach/alpha/machine-sp.h: Likewise. | |
9077 | * sysdeps/mach/i386/machine-lock.h: Likewise. | |
9078 | * sysdeps/mach/powerpc/machine-lock.h: Likewise. | |
9079 | * sysdeps/mach/powerpc/machine-sp.h: Likewise. | |
9080 | * sysdeps/powerpc/fpu/bits/mathinline.h: Likewise. | |
9081 | * sysdeps/s390/bits/string.h: Likewise. | |
9082 | * sysdeps/s390/fpu/bits/mathinline.h: Likewise. | |
9083 | * sysdeps/sparc/fpu/bits/mathinline.h: Likewise. | |
9084 | * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Likewise. | |
9085 | * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise. | |
9086 | * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. | |
9087 | * sysdeps/unix/sysv/linux/sys/sysmacros.h: Likewise. | |
9088 | * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise. | |
9089 | * wcsmbs/bits/wchar2.h: Likewise. | |
9090 | * wcsmbs/wchar.h: Likewise. | |
9091 | * stdlib/gmp.h: Likewise. Include <features.h> to get | |
9092 | __extern_inline definition. | |
9093 | ||
6b2665f5 UD |
9094 | 2007-03-15 Jakub Jelinek <jakub@redhat.com> |
9095 | ||
b037a293 UD |
9096 | * locale/programs/ld-ctype.c (find_translit): Return NULL if ctype is |
9097 | NULL. | |
9098 | ||
6b2665f5 UD |
9099 | [BZ #3919] |
9100 | * math/libm-test.inc (log_test): Test -Inf and NaN. | |
9101 | (log10_test, log1p_test, log2_test): Test -Inf. | |
9102 | * sysdeps/i386/fpu/e_log.S (__ieee754_log): Don't raise | |
9103 | FE_INVALID when argument is qNaN. | |
9104 | * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise. | |
9105 | * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise. | |
9106 | * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise. | |
9107 | * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Replace | |
9108 | andb $1, %ah with testb $1, %ah, don't test for parity, instead | |
9109 | testb $4, %ah and jump if non-zero. | |
9110 | * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise. | |
9111 | * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise. | |
9112 | ||
44969f17 UD |
9113 | [BZ #4101] |
9114 | * argp/argp-help.c (hol_cluster_cmp): Fix comparisons used to find | |
9115 | ancestors with the same depths. | |
9116 | Patch by Niels Moeller <nisse@lysator.liu.se>. | |
9117 | (filter_doc): Don't crash if argp is NULL. | |
9118 | * argp/Makefile (tests): Add tst-argp2. | |
9119 | * argp/tst-argp2.c: New test. | |
9120 | ||
05eb8975 UD |
9121 | [BZ #4130] |
9122 | * login/utmp_file.c (setutent_file): Use O_LARGEFILE for | |
9123 | open_not_cancel_2. | |
9124 | (updwtmp_file): Likewise. | |
9125 | ||
6cb988fa UD |
9126 | [BZ #4181] |
9127 | * inet/inet6_opt.c (add_padding): Only insert padding if npad > 0. | |
9128 | (inet6_opt_append): Don't check extlen is big enough if extbuf | |
9129 | is NULL. | |
9130 | (inet6_opt_finish): Likewise. | |
9131 | * inet/Makefile (tests): Add test-inet6_opt. | |
9132 | * inet/test-inet6_opt.c: New test. | |
9133 | ||
9134 | * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Never | |
9135 | reallocate the buffer, instead fail for MSG_TRUNC or for EBUSY | |
9136 | NLMSG_ERR. Instead use a page sized buffer. | |
9137 | * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use page sized | |
9138 | buffer. | |
9139 | ||
aea1d19e RH |
9140 | 2007-03-14 Richard Henderson <rth@redhat.com> |
9141 | ||
b6df547c RH |
9142 | * sysdeps/alpha/fpu/s_llround.c: New file. |
9143 | * sysdeps/alpha/fpu/s_llroundf.c: New file. | |
9144 | * sysdeps/alpha/fpu/s_lround.c: New file. | |
9145 | * sysdeps/alpha/fpu/s_lroundf.c: New file. | |
9146 | * sysdeps/alpha/fpu/s_round.c: New file. | |
9147 | * sysdeps/alpha/fpu/s_roundf.c: New file. | |
9148 | * sysdeps/alpha/fpu/s_trunc.c: New file. | |
9149 | * sysdeps/alpha/fpu/s_truncf.c: New file. | |
9150 | ||
aea1d19e RH |
9151 | * sysdeps/alpha/fpu/s_ceil.c: Rewrite without branches. |
9152 | * sysdeps/alpha/fpu/s_ceilf.c: Likewise. | |
9153 | * sysdeps/alpha/fpu/s_floor.c: Likewise. | |
9154 | * sysdeps/alpha/fpu/s_floorf.c: Likewise. | |
9155 | * sysdeps/alpha/fpu/s_rint.c: Likewise. | |
9156 | * sysdeps/alpha/fpu/s_rintf.c: Likewise. | |
9157 | ||
9158 | * sysdeps/alpha/fpu/s_fmax.S: New file. | |
9159 | * sysdeps/alpha/fpu/s_fmaxf.S: New file. | |
9160 | * sysdeps/alpha/fpu/s_fmin.S: New file. | |
9161 | * sysdeps/alpha/fpu/s_fminf.S: New file. | |
9162 | * sysdeps/alpha/fpu/s_isnan.c: New file. | |
9163 | * sysdeps/alpha/fpu/s_isnanf.c: New file. | |
9164 | * sysdeps/alpha/fpu/s_llrint.c: New file. | |
9165 | * sysdeps/alpha/fpu/s_llrintf.c: New file. | |
9166 | * sysdeps/alpha/fpu/s_lrint.c: New file. | |
9167 | * sysdeps/alpha/fpu/s_lrintf.c: New file. | |
9168 | * sysdeps/alpha/fpu/s_nearbyint.c: New file. | |
9169 | * sysdeps/alpha/fpu/s_nearbyintf.c: New file. | |
9170 | ||
9171 | * sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor): Remove. | |
9172 | (__fdimf, fdimf, __fdim, fdim): Remove. | |
9173 | (__signbitf, __signbit, __signbitl): Use gcc builtin if available. | |
9174 | (__isnanf, __isnan, __isnanl): New. | |
9175 | ||
9e43b50d RH |
9176 | 2007-03-13 Richard Henderson <rth@redhat.com> |
9177 | ||
9178 | * sysdeps/ieee754/ldbl-128/Makefile: New file. | |
9179 | ||
62789da3 RH |
9180 | 2007-03-13 Richard Henderson <rth@redhat.com> |
9181 | ||
9182 | * sysdeps/alpha/Makefile (sysdep-CFLAGS): Force dynamic rounding. | |
9183 | * sysdeps/alpha/fpu/bits/mathinline.h (__signbitl): New. | |
9184 | * sysdeps/alpha/fpu/libm-test-ulps: Regenerate. | |
9185 | * sysdeps/unix/sysv/linux/alpha/alphaev6/fpu/Implies: New file. | |
9186 | * sysdeps/unix/sysv/linux/alpha/alphaev67/fpu/Implies: New file. | |
9187 | * sysdeps/unix/sysv/linux/alpha/fpu/Implies: New file. | |
9188 | ||
47dbe62b RH |
9189 | 2007-03-13 Richard Henderson <rth@redhat.com> |
9190 | ||
37f40235 | 9191 | * elf/dl-support.c (_dl_aux_init): Honor DL_PLATFORM_AUXV. |
47dbe62b RH |
9192 | * sysdeps/unix/sysv/linux/alpha/dl-auxv.h: New file. |
9193 | * sysdeps/unix/sysv/linux/alpha/dl-support.c: New file. | |
9194 | * sysdeps/unix/sysv/linux/alpha/dl-sysdep.c (__libc_alpha_cache_shape): | |
9195 | Move to dl-auxv.h; initialize instead of extern weak. | |
9196 | (DL_PLATFORM_AUXV): Move to dl-auxv.h; don't test for undef | |
9197 | weak symbol. | |
9198 | * sysdeps/unix/sysv/linux/alpha/sysconf.c (__libc_alpha_cache_shape): | |
9199 | Extern instead of initialized. | |
9200 | ||
b8097bed RH |
9201 | 2007-03-13 Richard Henderson <rth@redhat.com> |
9202 | ||
9203 | * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Add support for | |
9204 | __sigsuspend_nocancel. | |
9205 | ||
6bf4a686 UD |
9206 | 2007-03-06 Ulrich Drepper <drepper@redhat.com> |
9207 | ||
9208 | * sysdeps/posix/getaddrinfo.c (get_scope): Correct test for | |
9209 | 172.16/12 address range. | |
9210 | ||
0b3b1a0c UD |
9211 | 2007-03-02 Jakub Jelinek <jakub@redhat.com> |
9212 | ||
9213 | * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Retry with | |
9214 | a new netlink socket if NLMSG_ERR -EBUSY is seen after some MSG_TRUNC | |
9215 | message. | |
9216 | ||
8f3edfee UD |
9217 | 2007-03-01 Jakub Jelinek <jakub@redhat.com> |
9218 | ||
c1c5e654 | 9219 | [BZ #4069] |
8f3edfee UD |
9220 | * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Check for NaN |
9221 | earlier. | |
9222 | * math/libm-test.inc (pow_test): Add more tests involving NaNs. | |
9223 | ||
9224 | * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Avoid invalid exception | |
9225 | for x qNaN and y either +-inf or non-integer value. | |
9226 | * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Likewise. | |
9227 | * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. | |
9228 | * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise. | |
9229 | ||
245a1481 UD |
9230 | 2007-02-10 Mike Frysinger <vapier@gentoo.org> |
9231 | ||
9232 | * sysdeps/unix/sysv/linux/sh/Makefile: Remove sys/io.h | |
9233 | from sysdep_headers. | |
9234 | ||
c217692b UD |
9235 | 2007-02-28 Jakub Jelinek <jakub@redhat.com> |
9236 | ||
9237 | * time/tzfile.c (find_transition): Instead of a linear search try to | |
9238 | guess the transition index, use a linear search if the result is at | |
9239 | most 10 transitions away from the guess or binary search otherwise. | |
9240 | ||
fe64626c JJ |
9241 | 2007-02-27 Jakub Jelinek <jakub@redhat.com> |
9242 | ||
9243 | * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Fix | |
9244 | memory reallocation. | |
9245 | ||
0f7769f7 UD |
9246 | 2007-02-21 Ulrich Drepper <drepper@redhat.com> |
9247 | ||
621c133d UD |
9248 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Add branch predictions |
9249 | and fix some typos. | |
9250 | Optimize use of TOLOWER. | |
9cf147d8 | 9251 | |
cdfd61e1 UD |
9252 | [BZ #3325] |
9253 | * sysdeps/i386/fpu/e_fmodf.S: Revert last changes, keep using fprem. | |
9254 | * sysdeps/i386/fpu/e_fmodl.c: Likewise. | |
9255 | * sysdeps/i386/fpu/e_fmod.S: Likewise. | |
9256 | ||
8889e7aa UD |
9257 | [BZ #3458] |
9258 | * sysdeps/unix/sysv/linux/posix_madvise.c: New file. | |
9259 | * sysdeps/unix/sysv/linux/syscalls.list: Remove posix_madvise entry. | |
9260 | ||
63a2f305 UD |
9261 | [BZ #4076] |
9262 | * io/ftw.c (ftw_startup): Handle special case of FTW_CHDIR in /. | |
9263 | (open_dir_stream): Likewise. | |
9264 | * io/Makefile (tests): Add bug-ftw5. | |
c536b9b8 | 9265 | * io/bug-ftw5.c: New file. |
63a2f305 | 9266 | |
c8703f88 UD |
9267 | * nscd/hstcache.c (cache_addhst): Remove unnecessary conditional. |
9268 | * nscd/servicescache.c (cache_addserv): Likewise. | |
9269 | ||
9270 | * nscd/grpcache.c (cache_addgr): In case a record changed on | |
9271 | refresh, adjust key_copy. | |
9272 | ||
61705e06 UD |
9273 | [BZ #4074] |
9274 | * nscd/pwdcache.c (cache_addpw): In case a record changed on | |
9275 | refresh, adjust key_copy. | |
9276 | ||
0f7769f7 UD |
9277 | [BZ #4070] |
9278 | * stdio-common/printf_fp.c (___printf_fp): Handle a few more | |
0f7769f7 | 9279 | special cases. |
8889e7aa | 9280 | * stdio-common/tfformat.c (sprint_doubles): Some more tests. |
0f7769f7 | 9281 | |
3979024a UD |
9282 | 2007-02-19 Ulrich Drepper <drepper@redhat.com> |
9283 | ||
4c02bf1a UD |
9284 | * stdio-common/printf_fp.c (___printf_fp): Cleanups and minor |
9285 | optimization. | |
9286 | ||
3979024a UD |
9287 | * stdio-common/vfscanf.c: Small cleanups throughout. |
9288 | ||
821d3e70 UD |
9289 | 2007-02-18 Ulrich Drepper <drepper@redhat.com> |
9290 | ||
2484468b UD |
9291 | [BZ #3325] |
9292 | * sysdeps/i386/fpu/e_fmodf.S: Use fprem1 instead of fprem. | |
9293 | * sysdeps/i386/fpu/e_fmodl.c: Likewise. | |
9294 | * sysdeps/i386/fpu/e_fmod.S: Likewise. | |
9295 | Patch by Jared Casper <jaredcasper@gmail.com>. | |
9296 | ||
858ee15d UD |
9297 | * sysdeps/unix/closedir.c: Outside libc don't use locking. |
9298 | * sysdeps/unix/opendir.c: Likewise. | |
9299 | * sysdeps/unix/readdir.c: Likewise. | |
9300 | ||
ecb72bd5 UD |
9301 | [BZ #2211] |
9302 | * stdio-common/vfscanf.c: Handle localized digits etc for floating | |
9303 | point numbers. | |
9304 | Patch mostly by Hamed Malek <hamed@farsiweb.info>. | |
9305 | ||
ac2ca022 UD |
9306 | * stdio-common/vfscanf.c: Fix problems in width accounting. |
9307 | * stdio-common/tst-sscanf.c (double_tests): New tests. | |
9308 | (main): Hook them up. | |
9309 | ||
e9bb5246 | 9310 | * stdio-common/vfscanf.c: Remove unused WIDTH handling. |
da50f001 | 9311 | More simplifications of floating-point reader. |
e9bb5246 | 9312 | |
821d3e70 UD |
9313 | * stdio-common/Makefile (tests): Add tst-swscanf. |
9314 | * stdio-common/tst-sscanf.c: Make tests usable for swscanf | |
9315 | testing. | |
9316 | * stdio-common/tst-swscanf.c: New file. | |
9317 | ||
07fb5185 UD |
9318 | 2007-02-17 Ulrich Drepper <drepper@redhat.com> |
9319 | ||
9138cc0b UD |
9320 | [BZ #2633] |
9321 | * libio/stdio.h: Define struct _IO_FILE in global namespace. | |
9322 | * setjmp/setjmp.h: Define __jmp_buf_tag in global namespace. | |
9323 | Remove using for __jmp_buf_tag. | |
9324 | * locale/locale.h (struct lconv): Also define in std namespace. | |
9325 | * wcsmbs/wchar.h: Move using declaration for tm out of namespace. | |
9326 | ||
6818d837 UD |
9327 | [BZ #3842] |
9328 | * sysdeps/posix/euidaccess.c [_LIBC] (euidaccess): Remove shortcut | |
9329 | using __libc_enable_secure. | |
9330 | ||
15c4b5a4 UD |
9331 | [BZ #3818] |
9332 | * sysdeps/unix/sysv/linux/sys/acct.h (struct acct_v3): Define. | |
9333 | ||
5e9e9c14 UD |
9334 | [BZ #3745] |
9335 | * locale/programs/ld-collate.c (handle_ellipsis): Fix generation | |
9336 | of names for ellipsises. | |
9337 | ||
07fb5185 UD |
9338 | [BZ #3348] |
9339 | * malloc/memusage.sh: Cleanups. | |
9340 | * debug/xtrace.sh: Quoting and trap changes. | |
9341 | ||
8c6d1043 UD |
9342 | 2007-02-16 Ulrich Drepper <drepper@redhat.com> |
9343 | ||
07fb5185 UD |
9344 | * locale/iso-3166.def: Add Jersey, Guernsey, and Isle Of Man entries. |
9345 | ||
93e66914 | 9346 | * locale/iso-3166.def: Update entry for Serbia. |
93e36434 UD |
9347 | * locale/iso-4217.def: Define RSD, remove CSD. |
9348 | ||
ad0b348c UD |
9349 | * sysdeps/x86_64/bits/atomic.h: One more change, this time for 16- |
9350 | and 64-bit operations. | |
9351 | ||
9352 | [BZ #4040] | |
9353 | * sysdeps/i386/i486/bits/atomic.h: One more change, this time for | |
9354 | 16-bit operations. | |
9355 | ||
8c6d1043 UD |
9356 | * nscd/nscd.c (parse_opt): One more conversion to use send instead |
9357 | of writev. | |
9358 | ||
987f54c6 UD |
9359 | 2007-02-15 Ulrich Drepper <drepper@redhat.com> |
9360 | ||
b3715c05 UD |
9361 | [BZ #3991] |
9362 | * assert/assert.h (assert): Simplify. | |
9363 | (assert_perror): Likewise. | |
9364 | Patch by Israel G. Lugo <ilugo@bridonsecurity.com>. | |
9365 | ||
6eea8e0d UD |
9366 | * nscd/nscd_helper.c (open_socket): Don't send padding bytes from |
9367 | reqdata. | |
9368 | ||
987f54c6 UD |
9369 | * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Cosmetic |
9370 | change: don't pass NULL in place of an integer. | |
9371 | ||
3dc08a7e UD |
9372 | 2007-02-02 Bruno Haible <bruno@clisp.org> |
9373 | ||
06c17c78 UD |
9374 | [BZ #3954] |
9375 | * iconvdata/ksc5601.c (__ksc5601_sym_to_ucs, __ksc5601_sym_from_ucs): | |
9376 | Add mapping for U+327E. | |
9377 | * iconvdata/ksc5601.h (KSC5601_SYMBOL): Increment. | |
9378 | * iconvdata/johab.c (BODY for FROM_LOOP, BODY for TO_LOOP): Enable | |
9379 | mapping of 0xD9 0xE8. | |
9380 | * iconvdata/uhc.c (BODY for FROM_LOOP, BODY for TO_LOOP): Disable | |
9381 | mapping of U+327E. | |
9382 | Reported by Jungshik Shin <jungshik@google.com>. | |
9383 | ||
9384 | [BZ #3955] | |
3dc08a7e UD |
9385 | * iconvdata/johab.c (BODY for FROM_LOOP, BODY for TO_LOOP): Enable |
9386 | mapping of 0xD9 0xE6 and of 0xD9 0xE7. | |
9387 | Reported by Jungshik Shin <jungshik@google.com>. | |
9388 | ||
a810e68c UD |
9389 | 2007-02-14 Ulrich Drepper <drepper@redhat.com> |
9390 | ||
9391 | * sysdeps/x86_64/bits/atomic;h: Fix asm parameters for some | |
9392 | byte variants. | |
9393 | ||
9394 | [BZ #4040] | |
9395 | * sysdeps/i386/i486/bits/atomic.h: Fix asm parameters for some | |
9396 | byte variants. Patch mostly be tom@tommay.net. | |
9397 | ||
05f135ba UD |
9398 | 2007-02-14 Jakub Jelinek <jakub@redhat.com> |
9399 | ||
9400 | [BZ #3996] | |
9401 | * posix/glob.c (attribute_hidden): Define if not defined. | |
9402 | (glob): Unescape dirname, filename or username when needed and not | |
9403 | GLOB_NOESCAPE. Handle \/ correctly. Handle GLOB_MARK if filename | |
9404 | is NULL. Handle unescaped [ in pattern without closing ]. | |
9405 | Don't pass GLOB_CHECK down to recursive glob for directories. | |
9406 | (__glob_pattern_type): New function. | |
9407 | (__glob_pattern_p): Implement using __glob_pattern_type. | |
9408 | (glob_in_dir): Handle GLOB_NOCHECK patterns containing no meta | |
9409 | characters and backslashes if not GLOB_NOESCAPE or unterminated [. | |
9410 | Remove unreachable code. | |
9411 | * posix/globtest.sh: Add a couple of new tests. | |
9412 | ||
2f699967 UD |
9413 | 2007-02-13 Ulrich Drepper <drepper@redhat.com> |
9414 | ||
9415 | * po/ru.po: Update from translation team. | |
9416 | ||
3a7cd5b4 JJ |
9417 | 2007-02-12 Jakub Jelinek <jakub@redhat.com> |
9418 | ||
9419 | * sysdeps/i386/bits/byteswap.h (__bswap_32): Add __amdfam10__ | |
9420 | to the list of i486+ CPUs. | |
9421 | * sysdeps/x86_64/bits/byteswap.h (__bswap_32): Likewise. | |
9422 | ||
2f978feb UD |
9423 | 2007-02-12 Ulrich Drepper <drepper@redhat.com> |
9424 | ||
9425 | * elf/rtld.c (RESOLVE_MAP): Always return bootstrap_map reference. | |
9426 | * elf/Makefile ($(objpfx)ld.so): Check that ld.so has no undefined | |
9427 | references. | |
9428 | ||
2bbb7d5b UD |
9429 | 2007-02-09 Ulrich Drepper <drepper@redhat.com> |
9430 | ||
5ed61e0f UD |
9431 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Remove incorrect comment. |
9432 | ||
2bbb7d5b UD |
9433 | * resolv/res_init.c (res_setoptions): Recognize edns0 option. |
9434 | * resolv/res_mkquery.c: Define __res_nopt. | |
9435 | * resolv/res_query.c (__libc_res_nquery): If RES_USE_EDNS0 is set | |
9436 | try adding EDNS0 record. | |
9437 | * resolv/res_send.c (send_dg): If request failed with FORMERR and | |
9438 | EDNS0 record was send make sure we don't try it again. | |
9439 | * resolv/resolv.h: Define RES_F_EDNS0ERR and RES_USE_EDNS0. | |
9440 | * include/resolv.h: Declare __res_nopt. | |
9441 | ||
00458b5b UD |
9442 | 2007-02-08 Jakub Jelinek <jakub@redhat.com> |
9443 | ||
9444 | [BZ #3944] | |
9445 | * time/strptime_l.c (__strptime_internal): Set have_mon for | |
9446 | %b/%B/%h. Set have_mon and have_mday if tm_mon and tm_mday | |
9447 | have been computed from tm_yday and tm_year. Don't crash | |
9448 | in day_of_the_week or day_of_the_year if not have_mon | |
9449 | and tm_mon contains bogus value. | |
9450 | * time/Makefile (tests): Add tst-strptime3. | |
9451 | * time/tst-strptime3.c: New test. | |
9452 | ||
784aacea UD |
9453 | 2007-02-05 Jakub Jelinek <jakub@redhat.com> |
9454 | ||
9455 | [BZ #3957] | |
9456 | * posix/regcomp.c (parse_bracket_exp): Set '\n' bit rather than '\0' | |
9457 | bit for RE_HAT_LISTS_NOT_NEWLINE. | |
9458 | (build_charclass_op): Remove bogus comment. | |
9459 | * posix/Makefile (tests): Add bug-regex27 and bug-regex28. | |
9460 | * posix/bug-regex27.c: New test. | |
9461 | * posix/bug-regex28.c: New test. | |
9462 | ||
bf7a2463 UD |
9463 | 2007-02-03 Ulrich Drepper <drepper@redhat.com> |
9464 | ||
9465 | * po/sv.po: Update from translation team. | |
9466 | ||
f2ccf983 UD |
9467 | 2007-02-02 Ulrich Drepper <drepper@redhat.com> |
9468 | ||
9469 | * nscd/nscd_helper.c (open_socket): Minor size optimization. | |
9470 | ||
73f50d5a UD |
9471 | 2007-02-02 Jakub Jelinek <jakub@redhat.com> |
9472 | ||
9473 | * include/locale.h (__uselocale): Add libc_hidden_proto. | |
9474 | * locale/uselocale.c (__uselocale): Add libc_hidden_def. | |
9475 | ||
f6bf9e59 JJ |
9476 | * nscd/nscd_helper.c (open_socket): Use __gettimeofday instead of |
9477 | gettimeofday. | |
9478 | ||
4a44ce79 UD |
9479 | 2007-02-01 Ulrich Drepper <drepper@redhat.com> |
9480 | ||
9481 | * sysdeps/unix/sysv/linux/i386/sysdep.h (PTR_MANGLE): Roll value before | |
9482 | returning. | |
9483 | (PTR_DEMANGLE): Real definition now that it's not the same as | |
9484 | PRT_MANGLE anymore. | |
9485 | * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. | |
9486 | ||
9487 | * string/strerror_l.c: New file. | |
9488 | * string/Makefile (routines): Add strerror_l. | |
9489 | * string/string.h: Declare strerror_l. | |
9490 | * string/Versions: Export strerror_l for GLIBC_2.6. | |
9491 | ||
58a2d52e UD |
9492 | 2007-01-31 Ulrich Drepper <drepper@redhat.com> |
9493 | ||
9494 | * nscd/nscd_helper.c (open_socket): Now takes request type and key | |
9495 | as parameter. Construct request record. Try sending request | |
9496 | before the first poll use, it usually succeeds. Adjust all | |
9497 | callers. | |
9498 | * nscd/nscd-client.h: Define MAXKEYLEN. | |
4a44ce79 | 9499 | * nscd/connections.c (nscd_run): Don't define MAXKEYLEN here. |
58a2d52e | 9500 | |
1a77d37f JJ |
9501 | 2007-01-31 Jakub Jelinek <jakub@redhat.com> |
9502 | ||
9503 | * nscd/nscd-client.h (__nscd_cache_search): Remove const qualifier | |
9504 | from return value. | |
9505 | * nscd/nscd_helper.c: Include string.h. | |
9506 | (__nscd_cache_search): Remove const qualifier from return value. | |
9507 | On strict alignment architectures check hash entry and data head | |
9508 | alignment. | |
9509 | * nscd/nscd_getpw_r.c (nscd_getpw_r): Don't crash or fail because | |
9510 | mmapped data during GC cycle contains garbage. If | |
9511 | __nscd_drop_map_ref fails, decrement mapped->counter when returning | |
9512 | error or if retrying with NO_MAPPING, only __nscd_unmap if counter | |
9513 | dropped to 0. | |
9514 | * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. | |
9515 | * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise. | |
9516 | * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise. | |
9517 | * nscd/nscd_getai.c (__nscd_getai): Likewise. | |
9518 | * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise. | |
9519 | ||
ee314200 UD |
9520 | 2007-01-30 Ulrich Drepper <drepper@redhat.com> |
9521 | ||
9522 | * misc/hsearch_r.c (hdestroy_r): Remove unnecessary test. | |
9523 | ||
14c8bf3b UD |
9524 | 2007-01-26 Ulrich Drepper <drepper@redhat.com> |
9525 | ||
9526 | * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Use register | |
9527 | names not numbers in cfi_*. | |
9528 | ||
d2708e67 AJ |
9529 | 2007-01-26 Andreas Jaeger <aj@suse.de> |
9530 | ||
9531 | * sysdeps/unix/sysv/linux/sys/personality.h (ADDR_NO_RANDOMIZE, | |
14c8bf3b | 9532 | ADDR_LIMIT_3GB, PER_LINUX_32BIT, PER_LINUX32_3GB): Add. |
d2708e67 AJ |
9533 | Correct values of PER_HPUX and PER_OSF4. |
9534 | ||
7fbc8784 UD |
9535 | 2007-01-24 Ulrich Drepper <drepper@redhat.com> |
9536 | ||
8aaf53ee | 9537 | * elf/dl-minimal.c: Undefine _itoa first. |
7fbc8784 UD |
9538 | * stdio-common/_itoa.h: Define _itoa and _fitoa for 64-bit platforms. |
9539 | * malloc/mtrace.c: Revert last change. | |
9540 | * posix/wordexp.c: Likewise. | |
9541 | ||
9d6cde3d UD |
9542 | 2007-01-24 Jakub Jelinek <jakub@redhat.com> |
9543 | ||
9544 | * sysdeps/i386/bits/byteswap.h (__bswap_32): Add __nocona__, __core2__ | |
9545 | and __geode__ to the list of i486+ CPUs. | |
9546 | * sysdeps/x86_64/bits/byteswap.h (__bswap_32): Likewise. | |
9547 | ||
c1f0486a UD |
9548 | 2007-01-23 Ulrich Drepper <drepper@redhat.com> |
9549 | ||
9550 | * stdio-common/_itoa.c: Include <limits.h>. | |
9551 | * stdio-common/_itowa.c: Likewise. | |
9552 | ||
6cae3957 UD |
9553 | 2007-01-22 Ulrich Drepper <drepper@redhat.com> |
9554 | ||
765bbb24 UD |
9555 | * stdio-common/_itowa.c: Don't compile _itowa for 64-bit |
9556 | platforms. | |
9557 | * stdio-common/_itoa.c: Don't compile in _itoa and _fitoa for | |
9558 | 64-bit platforms. | |
9559 | * malloc/mtrace.c (tr_where): Use _fitoa_word instead of _fitoa if | |
9560 | possible. | |
9561 | * posix/wordexp.c (parse_arith): Use _itoa_word instead of _itoa | |
9562 | if possible. | |
9563 | ||
6cae3957 UD |
9564 | [BZ #3902] |
9565 | * stdio-common/_itoa.c (_itoa): Make sure at least a zero is emitted. | |
9566 | * stdio-common/Makefile (tests): Add bug17. | |
9567 | * stdio-common/bug17.c: New file. | |
9568 | ||
ddaafd04 UD |
9569 | 2007-01-19 Ulrich Drepper <drepper@redhat.com> |
9570 | ||
9571 | * iconvdata/brf.c: New file. | |
439201de UD |
9572 | * iconvdata/testdata/BRF: New file. |
9573 | * iconvdata/testdata/BRF..UTF8: New file. | |
9574 | Contributed by Samuel Thibault <samuel.thibault@ens-lyon.org>. | |
ddaafd04 UD |
9575 | * iconvdata/Makefile: Add rules to build BRF. |
9576 | * iconvdata/TESTS: Add BRF entry. | |
9577 | * iconvdata/gconv-modules: Likewise. | |
9578 | * iconvdata/tst-tables.sh: Likewise. | |
ddaafd04 | 9579 | |
9e6e344e UD |
9580 | 2007-01-18 Anton Nikishaev <anton.nik@gmail.com> |
9581 | ||
9582 | * wcsmbs/wchar.h (wcstoll): Fix comment, function returns value of | |
9583 | type `long long int', not `long int'. | |
9584 | (wcstoq): Likewise. | |
9585 | ||
299f7b0f UD |
9586 | 2007-01-18 Ulrich Drepper <drepper@redhat.com> |
9587 | ||
9588 | * scripts/gen-as-const.awk: Add cast to long to avoid int promotion | |
9589 | of values on 64-bit platforms which are too large. | |
9590 | ||
cd8127cc JJ |
9591 | 2007-01-12 Steven Munroe <sjmunroe@us.ibm.com> |
9592 | Joe Kerian <jkerian@us.us.ibm.com> | |
9593 | ||
9594 | [BZ #2749] | |
9595 | * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Include | |
9596 | <math_ldbl_opt.h>. Remove weak_alias. Use long_double_symbol macro. | |
9597 | (__copysignl): Use signbit() for comparison. | |
9598 | * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Correct parms for | |
9599 | SET_LDOUBLE_WORDS64. | |
9600 | ||
9601 | [BZ #2423, #2749] | |
9602 | * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Don't include <fenv_libc.h>. | |
9603 | (__ceill): Remove calls to fegetround(), fesetround(). | |
9604 | * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise. | |
9605 | * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise. | |
9606 | * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise. | |
9607 | ||
b3acfdf7 JJ |
9608 | 2007-01-17 Jakub Jelinek <jakub@redhat.com> |
9609 | ||
4a2e03c6 JJ |
9610 | * nscd/nscd_getserv_r.c (nscd_getserv_r): Fix pastos. |
9611 | ||
b3acfdf7 JJ |
9612 | * sysdeps/unix/sysv/linux/getdents.c (offsetof): Remove. |
9613 | ||
1476bce6 UD |
9614 | 2007-01-17 Ulrich Drepper <drepper@redhat.com> |
9615 | ||
9616 | * sysdeps/unix/sysv/linux/fatal-prepare.h: Use PTHFCT_CALL to | |
9617 | demangle pointer. | |
9618 | * csu/libc-start.c: Likewise. | |
9619 | ||
d78bce1c UD |
9620 | 2007-01-16 Ulrich Drepper <drepper@redhat.com> |
9621 | ||
9622 | * sysdeps/posix/system.c: Remove NO_WAITPID support, it cannot | |
9623 | really work anyway. | |
9624 | ||
1bd79025 UD |
9625 | 2007-01-15 Ulrich Drepper <drepper@redhat.com> |
9626 | ||
000b027e UD |
9627 | * nscd/connections.c (servinfo): Renamed to reqinfo. Change all |
9628 | users. | |
9629 | (handle_request): Remove unnecessary tests. | |
9630 | ||
1bd79025 UD |
9631 | * nscd/cache.c (cache_add): Record the failure to add to the cache. |
9632 | ||
d68f5d2c JJ |
9633 | 2007-01-15 Jakub Jelinek <jakub@redhat.com> |
9634 | ||
9635 | * soft-fp/op-common.h (FP_TRUNC): When truncating a NaN, clear | |
9636 | workbits in semi-raw fraction. | |
9637 | ||
9638 | * math/test-misc.c: Add new tests. | |
9639 | ||
9640 | 2007-01-14 Steven Munroe <sjmunroe@us.ibm.com> | |
9641 | ||
9642 | * math/basic-test.c: Include test-skeleton.c. | |
9643 | (TEST_TRUNC): Define. | |
9644 | (truncdfsf_test, trunctfsf_test, trunctfdf_test): New. | |
9645 | (main): Rename to ... | |
9646 | (do_test): ...this. Run new tests. | |
9647 | (TEST_FUNCTION): Define. | |
9648 | ||
9649 | 2006-10-05 Steven Munroe <sjmunroe@us.ibm.com> | |
9650 | Joe Kerian <jkerian@us.us.ibm.com> | |
9651 | ||
9652 | [BZ #2749] | |
9653 | * soft-fp/op-4.h (__FP_FRAC_SUB_3, __FP_FRAC_SUB_4): Correct borrow | |
9654 | handling for high words. | |
9655 | * soft-fp/op-common.h (_FP_OVERFLOW_SEMIRAW): Always set inexact | |
9656 | and overflow for infinity. | |
9657 | ||
4e35ef2c UD |
9658 | 2007-01-15 Ulrich Drepper <drepper@redhat.com> |
9659 | ||
2a1dea97 UD |
9660 | * nscd/connections.c (handle_request): Add a __builtin_expect. |
9661 | ||
9691d83c UD |
9662 | * nscd/connections.c (serv2db): Change type into structure which |
9663 | also says whether this is a request for data. Renamed to | |
9664 | servinfo. All users changed. | |
9665 | (handle_request): Much simpler test whether we should search the cache. | |
9666 | ||
49ee6d79 UD |
9667 | * nscd/connections.c (handle_request): Fix thinko in selinux test |
9668 | invocation. | |
9669 | ||
4e35ef2c UD |
9670 | * sysdeps/generic/ldsodefs.h: Define DL_LOOKUP_SCOPE_LOCK. |
9671 | * elf/dl-lookup.c (add_dependency): If scope map is locked, unlock | |
9672 | it before getting dl_load_lock and then relock. | |
9673 | (_dl_lookup_symbol_x): Pass flags to add_dependency. | |
9674 | When rerunning _dl_lookup_symbol_x, compute symbol_scope again in | |
9675 | case we unlocked the scope. | |
9676 | * elf/dl-runtime.c (_dl_fixup): Pass DL_LOOKUP_SCOPE_LOCK to | |
9677 | _dl_lookup_symbol_x in case we locked the scope. | |
9678 | (_dl_profile_fixup): Likewise. | |
9679 | * elf/dl-sym.c (do_sym): In flags passed to call_dl_lookup, also | |
9680 | set DL_LOOKUP_SCOPE_LOCK. | |
9681 | ||
23691ab2 UD |
9682 | 2007-01-13 Ulrich Drepper <drepper@redhat.com> |
9683 | ||
fb453d08 UD |
9684 | * inet/Makefile: Define CFLAGS-getsrvbynm_r.c and |
9685 | CFLAGS-getsrvbynpt_r.c. | |
9686 | * nscd/getsrvbynm_r.c: New file. | |
9687 | * nscd/getsrvbypt_r.c: New file. | |
9688 | * nscd/nscd_getserv_r.c: New file. | |
9689 | * nscd/servicescache.c: New file. | |
9690 | * nscd/Makefile (routines): Add nscd_getserv_r. | |
9691 | (nscd-modules): Add getsrvbynm_r, getsrvbypt_r, and servicescache. | |
9692 | Define CFLAGS-servicescache.c, CFLAGS-getsrvbynm_r.c, and | |
9693 | CFLAGS-getsrvbypt_r.c. | |
9694 | * nscd/cache.c (prune_cache): Rewrite to get re-add function from | |
9695 | table. Add entries for services database. | |
9696 | * nscd/connections.c (serv2str): Mark as const. Add entries for | |
9697 | services database. | |
9698 | (dbs): Add .reset_res and servdb initialization. | |
9699 | (serv2db): Add entries for services database. | |
9700 | (verify_persistent_db): Accept dbnr == servdb. | |
9701 | (invalidate_cache): Rewrite database name recognition to use a table. | |
9702 | Call res_init() if .reset_res is set for database. | |
9703 | (handle_request): Add code to handle services database. | |
9704 | * nscd/gai.c: Don't define __getservbyname_r. | |
9705 | * nscd/nscd-client.h (request_type): Remove LASTDBREQ, add | |
9706 | GETSERVBYNAME, GETSERVBYPORT, GETFDSERV. | |
9707 | (serv_response_header): Define. | |
9708 | (struct datahead): Add serv_response_header member. | |
9709 | * nscd/nscd.c (parse_opt): Rewrite parsing of -i parameter value | |
9710 | using table. | |
9711 | * nscd/nscd.conf: Add entries for services database. | |
9712 | * nscd/nscd.h: Adjust declaration of dbnames and serv2str. | |
9713 | Declare serv_iov_disabled. | |
9714 | Declare addservbyname, readdservbyname, addservbyport, and | |
9715 | readdservbyport. | |
9716 | * nscd/nscd_conf.c (dbnames): Mark as const. Add services entry. | |
9717 | (find_db): Fix error message. | |
9718 | * nscd/nscd_proto.h: Declare __nss_not_use_nscd_services, | |
9719 | __nscd_getservbyname_r, and __nscd_getservbyport_r. | |
9720 | * nscd/selinux.c (perms): Add entries for services database. | |
9721 | * nss/Versions: Export __nss_services_lookup with GLIBC_PRIVATE. | |
9722 | * nss/nsswitch.c (__nss_disable_nscd): Also disable services database. | |
9723 | ||
9724 | * nscd/grpcache.c: Remove obsolete code. Cleanups. | |
9725 | * nscd/hstcache.c: Likewise. | |
9726 | * nscd/pwdcache.c: Likewise. | |
9727 | ||
b21fa963 UD |
9728 | * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Correct |
9729 | computation of keylen. | |
9730 | ||
23691ab2 UD |
9731 | * include/string.h: Only redefine strndupa if this is really for |
9732 | libc code. | |
9733 | ||
8980796b UD |
9734 | 2007-01-12 Ulrich Drepper <drepper@redhat.com> |
9735 | ||
4a4a65f2 UD |
9736 | * nscd/nscd_gethst_r.c: Minor cleanups. |
9737 | ||
43397eaf UD |
9738 | * nscd/connections.c (handle_request): Check selinux permissions |
9739 | for all non-admin commands. | |
9740 | ||
038a1a9f UD |
9741 | * sysdeps/i386/i486/bits/atomic.h: Define |
9742 | atomic_compare_and_exchange_val_acq, | |
9743 | atomic_compare_and_exchange_bool_acq, and atomic_exchange_and_add | |
9744 | using __sync_* built-ins for gcc >= 4.1. | |
9745 | * sysdeps/x86_64/bits/atomic.h: Likewise. | |
9746 | ||
8980796b UD |
9747 | [BZ #3840] |
9748 | * scripts/check-local-headers.sh: Restrict to testing .o.d, .os.d, | |
9749 | and .oS.d files. | |
9750 | ||
32c075e1 JJ |
9751 | 2007-01-05 Steven Munroe <sjmunroe@us.ibm.com> |
9752 | ||
9753 | * stdlib/tst-makecontext.c: Include errno.h. Change main() | |
9754 | to do_test(). Define TEST_FUNCTION. Include test-skeleton.c. | |
9755 | (do_test): Check errno and exit(0) if ENOSYS. | |
9756 | ||
9757 | 2007-01-11 Jakub Jelinek <jakub@redhat.com> | |
9758 | ||
9759 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix handling of multi-byte | |
9760 | thousands separators. | |
9761 | * stdlib/Makefile: Add rules to build and run tst-strtod4. | |
9762 | * stdlib/tst-strtod4.c: New test. | |
9763 | ||
9764 | [BZ #3855] | |
9765 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): 0x. not followed by | |
9766 | hexadecimal digit should accept just the initial 0. | |
9767 | * stdlib/tst-strtod2.c (tests): New variable. | |
9768 | (do_test): Run several tests rather than just one. | |
9769 | ||
11bf311e | 9770 | 2007-01-11 Jakub Jelinek <jakub@redhat.com> |
df859a0c | 9771 | |
11bf311e UD |
9772 | * sysdeps/i386/soft-fp/sfp-machine.h: Remove. |
9773 | * sysdeps/x86_64/soft-fp/sfp-machine.h: Likewise. | |
df859a0c | 9774 | |
11bf311e | 9775 | 2007-01-10 Ulrich Drepper <drepper@redhat.com> |
32c075e1 | 9776 | |
11bf311e UD |
9777 | * io/fts.c: Make sure fts_cur is always valid after return from |
9778 | fts_read. | |
9779 | Patch by Miloslav Trmac <mitr@redhat.com>. | |
64a0aa0f | 9780 | |
11bf311e | 9781 | 2006-10-27 Richard Sandiford <richard@codesourcery.com> |
32c075e1 | 9782 | |
11bf311e UD |
9783 | * elf/elf.h (R_MIPS_GLOB_DAT): Define. |
9784 | (R_MIPS_NUM): Bump by 1. | |
32c075e1 | 9785 | |
11bf311e | 9786 | 2007-01-03 Jakub Jelinek <jakub@redhat.com> |
32c075e1 | 9787 | |
11bf311e UD |
9788 | * posix/execvp.c: Include alloca.h. |
9789 | (allocate_scripts_argv): Renamed to... | |
9790 | (scripts_argv): ... this. Don't allocate buffer here nor count | |
9791 | arguments. | |
9792 | (execvp): Use alloca if possible. | |
9793 | * posix/Makefile: Add rules to build and run tst-vfork3 test. | |
9794 | * posix/tst-vfork3.c: New test. | |
32c075e1 JJ |
9795 | |
9796 | 2007-01-03 Ulrich Drepper <drepper@redhat.com> | |
9797 | ||
9798 | * string/Makefile (tst-strxfrm2-ENV): Define. | |
11bf311e | 9799 | * stdlib/Makefile (tst-strtod3-ENV): Define. |
32c075e1 | 9800 | |
11bf311e | 9801 | 2007-01-02 Ulrich Drepper <drepper@redhat.com> |
32c075e1 | 9802 | |
11bf311e UD |
9803 | * posix/getconf.c: Update copyright year. |
9804 | * nss/getent.c: Likewise. | |
9805 | * iconv/iconvconfig.c: Likewise. | |
9806 | * iconv/iconv_prog.c: Likewise. | |
9807 | * elf/ldconfig.c: Likewise. | |
9808 | * catgets/gencat.c: Likewise. | |
9809 | * csu/version.c: Likewise. | |
9810 | * elf/ldd.bash.in: Likewise. | |
9811 | * elf/sprof.c (print_version): Likewise. | |
9812 | * locale/programs/locale.c: Likewise. | |
9813 | * locale/programs/localedef.c: Likewise. | |
9814 | * nscd/nscd.c (print_version): Likewise. | |
9815 | * debug/xtrace.sh: Likewise. | |
9816 | * malloc/memusage.sh: Likewise. | |
9817 | * malloc/mtrace.pl: Likewise. | |
9818 | * debug/catchsegv.sh: Likewise. | |
64a0aa0f | 9819 | |
11bf311e | 9820 | 2006-12-24 Ulrich Drepper <drepper@redhat.com> |
48576885 | 9821 | |
11bf311e UD |
9822 | * malloc/malloc.c (sYSMALLOc): Remove some unnecessary alignment |
9823 | attempts. | |
48576885 | 9824 | |
11bf311e | 9825 | 2006-12-23 Ulrich Drepper <drepper@redhat.com> |
3b6667a4 | 9826 | |
11bf311e | 9827 | * posix/wordexp.c: Remove some unnecessary tests. |
3b6667a4 | 9828 | |
33c6de58 UD |
9829 | 2006-12-22 Gavin Romig-Koch <gavin@redhat.com> |
9830 | ||
9831 | * nis/nss_compat/compat-grp.c (internal_getgrgid_r): Don't | |
9832 | blacklist the group till after we look it up. | |
9833 | ||
fc242bef UD |
9834 | 2006-12-21 Ulrich Drepper <drepper@redhat.com> |
9835 | ||
9836 | * include/atomic.h (atomic_forced_read): New macro. | |
9837 | ||
11bf311e UD |
9838 | 2006-12-20 SUGIOKA Toshinobu <sugioka@itonet.co.jp> |
9839 | ||
9840 | * sysdeps/unix/sysv/linux/sh/bits/shm.h: New file. | |
9841 | ||
a12dcecc UD |
9842 | 2006-12-19 Jakub Jelinek <jakub@redhat.com> |
9843 | ||
11bf311e UD |
9844 | * nss/getXXbyYY_r.c: Include atomic.h. |
9845 | (INTERNAL (REENTRANT_NAME)): Write startp after start_fct, | |
9846 | add atomic_write_barrier () in between. | |
9847 | ||
a12dcecc UD |
9848 | * stdlib/Makefile (tests): Add tst-makecontext. |
9849 | * stdlib/tst-makecontext.c: New test. | |
9850 | ||
9851 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S | |
9852 | (__makecontext): Don't realign uc_mcontext.uc_regs. | |
9853 | ||
11bf311e | 9854 | 2006-11-28 Jakub Jelinek <jakub@redhat.com> |
594d423a | 9855 | |
11bf311e UD |
9856 | * elf/dl-support.c: Include dl-procinfo.h. |
9857 | * sysdeps/powerpc/dl-procinfo.h (PPC_PLATFORM_POWER4, | |
9858 | PPC_PLATFORM_PPC970, PPC_PLATFORM_POWER5, PPC_PLATFORM_POWER5_PLUS, | |
9859 | PPC_PLATFORM_POWER6, PPC_PLATFORM_CELL_BE, PPC_PLATFORM_POWER6X): | |
9860 | Define. | |
9861 | (_dl_string_platform): Use PPC_PLATFORM_* macros instead of | |
9862 | hardcoded constants. | |
9863 | * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platform): Use | |
9864 | PPC_PLATFORM_* macros for array designators. | |
594d423a | 9865 | |
11bf311e | 9866 | 2006-11-11 Steven Munroe <sjmunroe@us.ibm.com> |
594d423a | 9867 | |
11bf311e UD |
9868 | * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add 3 new cap |
9869 | names to the beginning. | |
9870 | (_dl_powerpc_platforms): Add "power6x". | |
9871 | * sysdeps/powerpc/dl-procinfo.h (_DL_HWCAP_FIRST): Decrease. | |
9872 | (HWCAP_IMPORTANT): Add PPC_FEATURE_HAS_DFP. | |
9873 | (_DL_PLATFORMS_COUNT): Increase. | |
9874 | (_dl_string_platform): Handle power6x case. | |
9875 | * sysdeps/powerpc/sysdep.h (PPC_FEATURE_PA6T, PPC_FEATURE_HAS_DFP, | |
9876 | PPC_FEATURE_POWER6_EXT): Define. | |
9877 | (PPC_FEATURE_POWER5, PPC_FEATURE_POWER5_PLUS): Correct Comment. | |
594d423a | 9878 | |
5bcba0ed UD |
9879 | 2006-12-18 Jakub Jelinek <jakub@redhat.com> |
9880 | ||
9881 | [BZ #3747] | |
9882 | * stdlib/jrand48_r.c (__jrand48_r): Make sure result is in the | |
11bf311e | 9883 | [-2^31 .. 2^31) range. |
5bcba0ed UD |
9884 | * stdlib/tst-rand48.c (main): Fix expected values for 64-bit |
9885 | targets. | |
9886 | * stdlib/tst-rand48-2.c: New test. | |
9887 | * stdlib/Makefile (tests): Add tst-rand48-2. | |
9888 | ||
9e1444fc UD |
9889 | 2006-12-14 Jakub Jelinek <jakub@redhat.com> |
9890 | ||
9891 | * misc/tst-pselect.c (do_test): Fix sigblock argument. | |
9892 | ||
36775704 UD |
9893 | 2006-12-14 Ulrich Drepper <drepper@redhat.com> |
9894 | ||
9895 | * misc/tst-pselect.c (do_test): Make sure the helper process is | |
9896 | terminating when the test is aborted. | |
9897 | ||
1e88bd0f UD |
9898 | 2006-12-13 Ulrich Drepper <drepper@redhat.com> |
9899 | ||
11bf311e UD |
9900 | * sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_RELATIME. |
9901 | * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags): | |
9902 | Handle relatime mount option. | |
9903 | ||
1e88bd0f UD |
9904 | [BZ #2337] |
9905 | * libio/Makefile (tests): Add tst-setvbuf1. | |
9906 | * libio/tst-setvbuf1.c: New file. | |
9907 | ||
9908 | 2006-12-08 Jakub Jelinek <jakub@redhat.com> | |
9909 | ||
9910 | [BZ #2337] | |
9911 | * libio/genops.c (__uflow): Fix a typo. | |
9912 | * libio/wfiledoalloc.c (_IO_wfile_doallocate): Don't stat | |
9913 | nor set _IO_LINE_BUF bit here. Size the wide buffer based on | |
9914 | the narrow buffer size. | |
9915 | ||
9916 | 2006-11-24 Jakub Jelinek <jakub@redhat.com> | |
9917 | ||
9918 | [BZ #2337] | |
9919 | * libio/libio.h (_IO_FLAGS2_USER_WBUF): Define. | |
9920 | * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Test and set | |
9921 | _IO_FLAGS2_USER_WBUF bit in _flags2 instead of _IO_USER_BUF bit | |
9922 | in _flags. | |
9923 | * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf, | |
9924 | _IO_wstr_finish): Likewise. | |
9925 | * libio/wmemstream.c (open_wmemstream): Likewise. | |
9926 | * libio/fileops.c (_IO_new_file_close_it): Call _IO_set[bgp] | |
9927 | even for wide streams. | |
9928 | ||
11bf311e | 9929 | 2006-12-13 Jakub Jelinek <jakub@redhat.com> |
1f55ce48 | 9930 | |
11bf311e UD |
9931 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Include |
9932 | kernel-features.h. | |
9933 | ||
9934 | 2006-12-11 Ulrich Drepper <drepper@redhat.com> | |
9935 | ||
9936 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Parse thousand | |
9937 | separators also if no non-zero digits found. | |
9938 | * stdlib/Makefile (tests): Add tst-strtod3. | |
1f55ce48 | 9939 | |
d117c1ce UD |
9940 | 2006-12-09 Ulrich Drepper <drepper@redhat.com> |
9941 | ||
f85fb97b UD |
9942 | [BZ #3632] |
9943 | * include/features.h: Fix comment about default value for | |
9944 | _POSIX_C_SOURCE. | |
9945 | ||
11bf311e UD |
9946 | [BZ #3664] |
9947 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix test to recognize | |
9948 | empty parsed strings. | |
9949 | * stdlib/Makefile (tests): Add tst-strtod2. | |
9950 | * stdlib/tst-strtod2.c: New file. | |
9951 | ||
9952 | [BZ #3673] | |
9953 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix exp_limit | |
9954 | computation. | |
9955 | * stdlib/Makefile (tests): Add tst-atof2. | |
9956 | * stdlib/tst-atof2.c: New file. | |
9957 | ||
9958 | [BZ #3674] | |
9959 | * stdlib/strtod_l.c (____STRTOF_INTERNAL): Adjust exponent value | |
9960 | correctly if removing trailing zero of hex-float. | |
9961 | * stdlib/Makefile (tests): Add tst-atof1. | |
9962 | * stdlib/tst-atof1.c: New file. | |
9963 | ||
a822d9f4 UD |
9964 | 2006-12-09 Jakub Jelinek <jakub@redhat.com> |
9965 | ||
11bf311e UD |
9966 | * misc/mntent_r.c (__hasmntopt): Check p[optlen] even when p == rest. |
9967 | Start searching for next comma at p rather than rest. | |
9968 | * misc/Makefile (tests): Add tst-mntent2. | |
9969 | * misc/tst-mntent2.c: New test. | |
9970 | ||
a822d9f4 UD |
9971 | * misc/getusershell.c (initshells): Check for integer overflows. |
9972 | Make strings buffer one bigger as fgets always succeeds when second | |
9973 | argument is 1. Don't use calloc for shells array. Disallow | |
11bf311e | 9974 | / as shell. |
f0d5e1f6 | 9975 | |
11bf311e | 9976 | 2006-12-08 Ulrich Drepper <drepper@redhat.com> |
f0d5e1f6 | 9977 | |
11bf311e UD |
9978 | * malloc/memusage.c: Handle realloc with new size of zero and |
9979 | non-NULL pointer correctly. | |
9980 | (me): Really write first record twice. | |
9981 | (struct entry): Make format bi-arch safe. | |
9982 | (dest): Write out more realloc statistics. | |
9983 | * malloc/memusagestat.c (struct entry): Make format bi-arch safe. | |
32c075e1 | 9984 | |
11bf311e | 9985 | 2006-12-05 Jakub Jelinek <jakub@redhat.com> |
32c075e1 | 9986 | |
11bf311e | 9987 | * nis/nis_subr.c (nis_getnames): Revert last change. |
32c075e1 | 9988 | |
f0d5e1f6 UD |
9989 | 2006-12-04 Jakub Jelinek <jakub@redhat.com> |
9990 | ||
9991 | * sysdeps/unix/sysv/linux/ttyname.c: Include termios.h. | |
9992 | (ttyname): Use tcgetattr instead of isatty, don't set errno to ENOTTY. | |
9993 | * sysdeps/unix/sysv/linux/ttyname_r.c: Include termios.h. | |
9994 | (__ttyname_r): Use tcgetattr instead of isatty, don't set errno to | |
9995 | ENOTTY. | |
9996 | * io/Makefile: Add rules to build and run tst-ttyname_r test. | |
9997 | * io/tst-ttyname_r.c: New test. | |
9998 | ||
11bf311e | 9999 | 2006-12-03 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
5df4fe08 | 10000 | |
11bf311e | 10001 | * sysdeps/unix/sysv/linux/sh/sys/io.h: Removed. |
5df4fe08 | 10002 | |
11bf311e | 10003 | 2006-11-30 H.J. Lu <hongjiu.lu@intel.com> |
ee50871d | 10004 | |
11bf311e UD |
10005 | * sysdeps/i386/i686/memcmp.S: Use jump table as the base of |
10006 | jump table entries. | |
10007 | ||
10008 | 2006-11-30 Jan Kratochvil <jan.kratochvil@redhat.com> | |
10009 | ||
10010 | * sysdeps/unix/sysv/linux/i386/clone.S: Provide CFI for the outermost | |
10011 | `clone' function to ensure proper unwinding stop of gdb. | |
10012 | * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise. | |
10013 | ||
10014 | 2006-12-01 Ulrich Drepper <drepper@redhat.com> | |
10015 | ||
10016 | * nscd/nscd.init: Remove obsolete and commented-out -S option | |
10017 | handling. | |
10018 | ||
10019 | 2006-11-23 Jakub Jelinek <jakub@redhat.com> | |
10020 | ||
10021 | [BZ #3514] | |
10022 | * manual/string.texi (strncmp): Fix pastos from wcscmp description. | |
10023 | ||
10024 | [BZ #3515] | |
10025 | * manual/string.texi (strtok): Remove duplicate paragraph. | |
10026 | ||
10027 | 2006-12-01 Jan Kratochvil <jan.kratochvil@redhat.com> | |
10028 | ||
10029 | * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Fix compatibility with | |
10030 | libgcc not supporting `rflags' unwinding (register # >= 17). | |
10031 | ||
10032 | 2006-11-30 Jakub Jelinek <jakub@redhat.com> | |
10033 | ||
10034 | * sunrpc/svc_run.c (svc_run): Set my_pollfd to new_pollfd if realloc | |
10035 | succeeded. | |
10036 | ||
10037 | 2006-11-29 Daniel Jacobowitz <dan@codesourcery.com> | |
10038 | Jakub Jelinek <jakub@redhat.com> | |
10039 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
10040 | ||
10041 | * sysdeps/unix/sysv/linux/x86_64/sigaction.c (restore_rt): Add correct | |
10042 | unwind information. | |
10043 | * sysdeps/unix/sysv/linux/x86_64/Makefile: Provide symbols for | |
10044 | 'restore_rt' even in the 'signal' directory. | |
10045 | * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym: Extend the regs list. | |
ee50871d | 10046 | |
b1a758f3 UD |
10047 | 2006-11-27 Jakub Jelinek <jakub@redhat.com> |
10048 | ||
10049 | [BZ #3559] | |
10050 | * sunrpc/svc_run.c (svc_run): Fail instead of segfaulting if | |
11bf311e UD |
10051 | malloc crashed. Don't allocate memory unnecessarily in each |
10052 | loop. | |
b1a758f3 | 10053 | |
11bf311e | 10054 | 2006-10-21 Jakub Jelinek <jakub@redhat.com> |
854d1124 | 10055 | |
11bf311e | 10056 | * resolv/mapv4v6addr.h (map_v4v6_address): Fix last change. |
dfc99a56 | 10057 | |
11bf311e | 10058 | 2006-11-20 Ulrich Drepper <drepper@redhat.com> |
dfc99a56 | 10059 | |
11bf311e | 10060 | * resolv/mapv4v6addr.h (map_v4v6_address): Optimize a bit. |
852d657c | 10061 | |
11bf311e | 10062 | 2006-11-18 Bruno Haible <bruno@clisp.org> |
852d657c | 10063 | |
11bf311e UD |
10064 | * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Invoke |
10065 | __sysconf only after having tried to call getgroups32. | |
36c0a636 | 10066 | |
11bf311e | 10067 | 2006-11-19 Ulrich Drepper <drepper@redhat.com> |
36c0a636 | 10068 | |
11bf311e UD |
10069 | * nss/nss_files/files-hosts.c (LINE_PARSER): Support IPv6-style |
10070 | addresses for IPv4 queries if they can be mapped. | |
b1f0c2a6 | 10071 | |
11bf311e | 10072 | 2006-11-16 Jakub Jelinek <jakub@redhat.com> |
b1f0c2a6 | 10073 | |
11bf311e UD |
10074 | * sysdeps/x86_64/fpu/s_copysignf.S (__copysignf): Switch to .text. |
10075 | * sysdeps/x86_64/fpu/s_copysign.S (__copysign): Likewise. | |
10076 | (signmask): Add .size directive. | |
10077 | (othermask): Add .type directive. | |
bef8927a | 10078 | |
11bf311e | 10079 | 2006-11-14 Ulrich Drepper <drepper@redhat.com> |
2c53fa20 | 10080 | |
11bf311e | 10081 | * po/nl.po: Update from translation team. |
854d1124 | 10082 | |
11bf311e | 10083 | * timezone/zdump.c: Redo fix for BZ #3137. |
3f1e9205 | 10084 | |
11bf311e | 10085 | 2006-11-14 Jakub Jelinek <jakub@redhat.com> |
bef8927a | 10086 | |
11bf311e UD |
10087 | * nss/nss_files/files-alias.c (get_next_alias): Set line back |
10088 | to first_unused after parsing :include: file. | |
5c2af134 | 10089 | |
32c075e1 | 10090 | 2006-11-10 Ulrich Drepper <drepper@redhat.com> |
e1b37083 | 10091 | |
11bf311e UD |
10092 | * timezone/africa: Update from tzdata2006o. |
10093 | * timezone/antarctica: Likewise. | |
10094 | * timezone/asia: Likewise. | |
10095 | * timezone/australasia: Likewise. | |
10096 | * timezone/backward: Likewise. | |
10097 | * timezone/europe: Likewise. | |
10098 | * timezone/iso3166.tab: Likewise. | |
10099 | * timezone/northamerica: Likewise. | |
10100 | * timezone/southamerica: Likewise. | |
10101 | * timezone/zone.tab: Likewise. | |
10102 | ||
10103 | * time/tzfile.c (__tzfile_read): Extend to handle new file format | |
10104 | on machines with 64-bit time_t. | |
10105 | ||
10106 | * timezone/checktab.awk: Update from tzcode2006o. | |
10107 | * timezone/ialloc.c: Likewise. | |
10108 | * timezone/private.h: Likewise. | |
10109 | * timezone/scheck.c: Likewise. | |
10110 | * timezone/tzfile.h: Likewise. | |
10111 | * timezone/tzselect.ksh: Likewise. | |
10112 | * timezone/zdump.c: Likewise. | |
10113 | * timezone/zic.c: Likewise. | |
10114 | ||
10115 | [BZ #3483] | |
10116 | * elf/ldconfig.c (main): Call setlocale and textdomain. | |
10117 | Patch mostly by Benno Schulenberg <bensberg@justemail.net>. | |
10118 | ||
10119 | [BZ #3480] | |
10120 | * manual/argp.texi: Fix typos. | |
10121 | * manual/charset.texi: Likewise. | |
10122 | * manual/errno.texi: Likewise. | |
10123 | * manual/filesys.texi: Likewise. | |
10124 | * manual/lang.texi: Likewise. | |
10125 | * manual/maint.texi: Likewise. | |
10126 | * manual/memory.texi: Likewise. | |
10127 | * manual/message.texi: Likewise. | |
10128 | * manual/resource.texi: Likewise. | |
10129 | * manual/search.texi: Likewise. | |
10130 | * manual/signal.texi: Likewise. | |
10131 | * manual/startup.texi: Likewise. | |
10132 | * manual/stdio.texi: Likewise. | |
10133 | * manual/sysinfo.texi: Likewise. | |
10134 | * manual/syslog.texi: Likewise. | |
10135 | * manual/time.texi: Likewise. | |
10136 | Patch by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>. | |
10137 | ||
10138 | [BZ #3465] | |
10139 | * sunrpc/clnt_raw.c: Minimal message improvements. | |
10140 | * sunrpc/pm_getmaps.c: Likewise. | |
10141 | * nis/nss_nisplus/nisplus-publickey.c: Likewise. | |
10142 | * nis/nis_print_group_entry.c: Likewise. | |
10143 | * locale/programs/repertoire.c: Likewise. | |
10144 | * locale/programs/charmap.c: Likewise. | |
10145 | * malloc/memusage.sh: Likewise. | |
10146 | * elf/dl-deps.c: Likewise. | |
10147 | * locale/programs/ld-collate.c: Likewise. | |
10148 | * libio/vswprintf.c: Likewise. | |
10149 | * malloc/memusagestat.c: Likewise. | |
10150 | * sunrpc/auth_unix.c: Likewise. | |
10151 | * sunrpc/rpc_main.c: Likewise. | |
10152 | * nscd/cache.c: Likewise. | |
10153 | * locale/programs/repertoire.c: Unify output messages. | |
10154 | * locale/programs/charmap.c: Likewise. | |
10155 | * locale/programs/ld-ctype.c: Likewise. | |
10156 | * locale/programs/ld-monetary.c: Likewise. | |
10157 | * locale/programs/ld-numeric.c: Likewise. | |
10158 | * locale/programs/ld-time.c: Likewise. | |
10159 | * elf/ldconfig.c: Likewise. | |
10160 | * nscd/selinux.c: Likewise. | |
10161 | * elf/cache.c: Likewise. | |
10162 | Patch mostly by Benno Schulenberg <bensberg@justemail.net>. | |
10163 | ||
5c2af134 UD |
10164 | [BZ #3451] |
10165 | * sysdeps/i386/fpu/bits/mathinline.h (floor): Make rounding mode | |
10166 | change atomic. | |
10167 | (ceil): Likewise. | |
10168 | ||
11bf311e UD |
10169 | 2006-11-10 Jakub Jelinek <jakub@redhat.com> |
10170 | ||
10171 | * string/strxfrm_l.c (STRXFRM): Fix trailing \1 optimization | |
10172 | if N is one bigger than return value. | |
10173 | * string/tst-strxfrm2.c (do_test): Also test strxfrm with l1 + 1 | |
10174 | and l1 last arguments, if buf is defined, verify the return value | |
10175 | equals to strlen (buf) and verify no byte beyond passed length | |
10176 | is modified. | |
10177 | ||
10178 | 2006-11-10 Ulrich Drepper <drepper@redhat.com> | |
10179 | ||
10180 | * po/sv.po: Update from translation team. | |
10181 | ||
37afcf79 UD |
10182 | 2006-11-09 Ulrich Drepper <drepper@redhat.com> |
10183 | ||
10184 | * sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_check_word): Add | |
10185 | noinline attribute. | |
10186 | ||
10187 | 2006-11-10 Jakub Jelinek <jakub@redhat.com> | |
10188 | ||
10189 | * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Add | |
10190 | noinline attribute. | |
10191 | ||
11bf311e UD |
10192 | * sysdeps/gnu/siglist.c (__old_sys_siglist, __old_sys_sigabbrev): |
10193 | Use __new_sys_siglist instead of _sys_siglist_internal as | |
10194 | second macro argument. | |
10195 | (_old_sys_siglist): Use declare_symbol_alias macro instead of | |
10196 | strong_alias. | |
2692deea | 10197 | |
11bf311e UD |
10198 | 2006-11-09 Ulrich Drepper <drepper@redhat.com> |
10199 | ||
10200 | [BZ #3493] | |
10201 | * posix/unistd.h (sysconf): Remove const attribute. | |
10202 | ||
10203 | * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix test for | |
10204 | temporary or deprecated addresses. | |
10205 | Patch by Sridhar Samudrala <sri@us.ibm.com>. | |
10206 | ||
10207 | * string/Makefile (tests): Add tst-strxfrm2. | |
10208 | * string/tst-strxfrm2.c: New file. | |
10209 | ||
10210 | 2006-10-09 Jakub Jelinek <jakub@redhat.com> | |
10211 | ||
10212 | * elf/dl-debug.c (_dl_debug_initialize): Check r->r_map for 0 | |
10213 | rather than r->r_brk. | |
2692deea UD |
10214 | |
10215 | 2006-11-08 Jakub Jelinek <jakub@redhat.com> | |
10216 | ||
11bf311e UD |
10217 | * string/strxfrm_l.c (STRXFRM): Do the trailing \1 removal |
10218 | optimization even if needed > n. | |
10219 | ||
2692deea UD |
10220 | * elf/dl-load.c (decompose_rpath): Return bool rather than void. |
10221 | If l->l_name is on inhibit_rpath list, set sps->dirs to -1 and | |
10222 | return false, otherwise return true. | |
10223 | (cache_rpath): Return decompose_rpath return value. | |
10224 | ||
11bf311e UD |
10225 | 2006-11-07 Jakub Jelinek <jakub@redhat.com> |
10226 | ||
10227 | * include/libc-symbols.h (declare_symbol): Rename to... | |
10228 | (declare_symbol_alias): ... this. Add ORIGINAL argument, imply | |
10229 | strong_alias (ORIGINAL, SYMBOL) in asm to make sure it preceedes | |
10230 | .size directive. | |
10231 | * sysdeps/gnu/errlist-compat.awk: Adjust for declare_symbol_alias | |
10232 | changes. | |
10233 | * sysdeps/gnu/siglist.c: Likewise. | |
10234 | ||
10235 | 2006-11-03 Steven Munroe <sjmunroe@us.ibm.com> | |
10236 | ||
10237 | * sysdeps/powerpc/fpu/bits/mathinline.h | |
10238 | [__LIBC_INTERNAL_MATH_INLINES]: Moved to ... | |
10239 | * sysdeps/powerpc/fpu/math_private.h: ...here. New file. | |
10240 | ||
10241 | 2006-11-05 Ulrich Drepper <drepper@redhat.com> | |
10242 | ||
10243 | * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): | |
10244 | Update handling of cache descriptor 0x49 for new models. | |
10245 | * sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_check_word): | |
10246 | Likewise. | |
10247 | ||
9666e36c UD |
10248 | 2006-11-02 Jakub Jelinek <jakub@redhat.com> |
10249 | ||
10250 | * malloc/memusage.c (dest): Reset not_me back to false after | |
10251 | printing statistics. | |
10252 | ||
11bf311e UD |
10253 | 2006-11-02 Ulrich Drepper <drepper@redhat.com> |
10254 | ||
10255 | * configure.in: Work around ld --help change and avoid -z relro | |
10256 | test completely if the architecture doesn't care about security. | |
10257 | ||
10258 | 2006-11-01 Ulrich Drepper <drepper@redhat.com> | |
10259 | ||
10260 | * po/sv.po: Update from translation team. | |
10261 | ||
10262 | 2006-10-31 Ulrich Drepper <drepper@redhat.com> | |
10263 | ||
10264 | * stdlib/atexit.c (atexit): Don't mark as hidden when used to | |
10265 | generate compatibility version. | |
10266 | ||
10267 | 2006-10-29 Ulrich Drepper <drepper@redhat.com> | |
10268 | ||
10269 | * configure.in: Relax -z relro requirement a bit. | |
10270 | ||
10271 | * po/sv.po: Update from translation team. | |
10272 | ||
10273 | 2006-10-29 Jakub Jelinek <jakub@redhat.com> | |
10274 | ||
10275 | * elf/dl-sym.c (do_sym): Use RTLD_SINGLE_THREAD_P. | |
10276 | * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise. | |
10277 | * elf/dl-close.c (_dl_close_worker): Likewise. | |
10278 | * elf/dl-open.c (_dl_open_worker): Likewise. | |
10279 | * sysdeps/generic/sysdep-cancel.h (RTLD_SINGLE_THREAD_P): Define. | |
10280 | ||
b2369ca3 UD |
10281 | 2006-10-27 Ulrich Drepper <drepper@redhat.com> |
10282 | ||
11bf311e UD |
10283 | * configure.in: Require assembler support for visibility, compiler |
10284 | support for visibility and aliases, linker support for various -z | |
10285 | options. | |
10286 | * Makeconfig: Remove conditional code which now is unnecessary. | |
10287 | * config.h.in: Likewise. | |
10288 | * config.make.in: Likewise. | |
10289 | * dlfcn/Makefile: Likewise. | |
10290 | * elf/Makefile: Likewise. | |
10291 | * elf/dl-load.c: Likewise. | |
10292 | * elf/rtld.c: Likewise. | |
10293 | * include/libc-symbols.h: Likewise. | |
10294 | * include/stdio.h: Likewise. | |
10295 | * io/Makefile: Likewise. | |
10296 | * io/fstat.c: Likewise. | |
10297 | * io/fstat64.c: Likewise. | |
10298 | * io/fstatat.c: Likewise. | |
10299 | * io/fstatat64.c: Likewise. | |
10300 | * io/lstat.c: Likewise. | |
10301 | * io/lstat64.c: Likewise. | |
10302 | * io/mknod.c: Likewise. | |
10303 | * io/mknodat.c: Likewise. | |
10304 | * io/stat.c: Likewise. | |
10305 | * io/stat64.c: Likewise. | |
10306 | * libio/stdio.c: Likewise. | |
10307 | * nscd/Makefile: Likewise. | |
10308 | * stdlib/Makefile: Likewise. | |
10309 | * stdlib/atexit.c: Likewise. | |
10310 | * sysdeps/generic/ldsodefs.h: Likewise. | |
10311 | * sysdeps/i386/dl-machine.h: Likewise. | |
10312 | * sysdeps/i386/sysdep.h: Likewise. | |
10313 | * sysdeps/i386/i686/memcmp.S: Likewise. | |
10314 | * sysdeps/powerpc/powerpc32/sysdep.h: Likewise. | |
10315 | * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. | |
10316 | * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise. | |
10317 | ||
10318 | * Makerules: USE_TLS support is now default. | |
10319 | * tls.make.c: Likewise. | |
10320 | * csu/Versions: Likewise. | |
10321 | * csu/libc-start.c: Likewise. | |
10322 | * csu/libc-tls.c: Likewise. | |
10323 | * csu/version.c: Likewise. | |
10324 | * dlfcn/dlinfo.c: Likewise. | |
10325 | * elf/dl-addr.c: Likewise. | |
10326 | * elf/dl-cache.c: Likewise. | |
10327 | * elf/dl-close.c: Likewise. | |
10328 | * elf/dl-iteratephdr.c: Likewise. | |
10329 | * elf/dl-load.c: Likewise. | |
10330 | * elf/dl-lookup.c: Likewise. | |
10331 | * elf/dl-object.c: Likewise. | |
10332 | * elf/dl-open.c: Likewise. | |
10333 | * elf/dl-reloc.c: Likewise. | |
10334 | * elf/dl-support.c: Likewise. | |
10335 | * elf/dl-sym.c: Likewise. | |
10336 | * elf/dl-sysdep.c: Likewise. | |
10337 | * elf/dl-tls.c: Likewise. | |
10338 | * elf/ldconfig.c: Likewise. | |
10339 | * elf/rtld.c: Likewise. | |
10340 | * elf/tst-tls-dlinfo.c: Likewise. | |
10341 | * elf/tst-tls1.c: Likewise. | |
10342 | * elf/tst-tls10.h: Likewise. | |
10343 | * elf/tst-tls14.c: Likewise. | |
10344 | * elf/tst-tls2.c: Likewise. | |
10345 | * elf/tst-tls3.c: Likewise. | |
10346 | * elf/tst-tls4.c: Likewise. | |
10347 | * elf/tst-tls5.c: Likewise. | |
10348 | * elf/tst-tls6.c: Likewise. | |
10349 | * elf/tst-tls7.c: Likewise. | |
10350 | * elf/tst-tls8.c: Likewise. | |
10351 | * elf/tst-tls9.c: Likewise. | |
10352 | * elf/tst-tlsmod1.c: Likewise. | |
10353 | * elf/tst-tlsmod13.c: Likewise. | |
10354 | * elf/tst-tlsmod13a.c: Likewise. | |
10355 | * elf/tst-tlsmod14a.c: Likewise. | |
10356 | * elf/tst-tlsmod2.c: Likewise. | |
10357 | * elf/tst-tlsmod3.c: Likewise. | |
10358 | * elf/tst-tlsmod4.c: Likewise. | |
10359 | * elf/tst-tlsmod5.c: Likewise. | |
10360 | * elf/tst-tlsmod6.c: Likewise. | |
10361 | * include/errno.h: Likewise. | |
10362 | * include/link.h: Likewise. | |
10363 | * include/tls.h: Likewise. | |
10364 | * locale/global-locale.c: Likewise. | |
10365 | * locale/localeinfo.h: Likewise. | |
10366 | * malloc/arena.c: Likewise. | |
10367 | * malloc/hooks.c: Likewise. | |
10368 | * malloc/malloc.c: Likewise. | |
10369 | * resolv/Versions: Likewise. | |
10370 | * sysdeps/alpha/dl-machine.h: Likewise. | |
10371 | * sysdeps/alpha/libc-tls.c: Likewise. | |
10372 | * sysdeps/generic/ldsodefs.h: Likewise. | |
10373 | * sysdeps/generic/tls.h: Likewise. | |
10374 | * sysdeps/i386/dl-machine.h: Likewise. | |
10375 | * sysdeps/ia64/dl-machine.h: Likewise. | |
10376 | * sysdeps/ia64/libc-tls.c: Likewise. | |
10377 | * sysdeps/mach/hurd/fork.c: Likewise. | |
10378 | * sysdeps/mach/hurd/i386/tls.h: Likewise. | |
10379 | * sysdeps/powerpc/powerpc32/dl-machine.c: Likwise. | |
10380 | * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise. | |
10381 | * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise. | |
10382 | * sysdeps/s390/libc-tls.c: Likewise. | |
10383 | * sysdeps/s390/s390-32/dl-machine.h: Likewise. | |
10384 | * sysdeps/s390/s390-64/dl-machine.h: Likewise. | |
10385 | * sysdeps/sh/dl-machine.h: Likewise. | |
10386 | * sysdeps/sparc/sparc32/dl-machine.h: Likewise. | |
10387 | * sysdeps/sparc/sparc64/dl-machine.h: Likewise. | |
10388 | * sysdeps/x86_64/dl-machine.h: Likewise. | |
10389 | ||
131c4428 UD |
10390 | * elf/dl-close.c (_dl_close_worker): Renamed from _dl_close and |
10391 | split out locking and parameter checking. | |
10392 | (_dl_close): Call _dl_close_worker after locking and checking. | |
10393 | * elf/dl-open.c (_dl_open): Call _dl_close_worker instead of | |
10394 | _dl_close. | |
ffd0e1b7 UD |
10395 | * elf/Makefile: Add rules to build and run tst-thrlock. |
10396 | * elf/tst-thrlock.c: New file. | |
131c4428 | 10397 | |
11bf311e UD |
10398 | [BZ #3426] |
10399 | * stdlib/stdlib.h: Adjust comment for canonicalize_file_name to | |
10400 | reality. | |
10401 | ||
b2369ca3 UD |
10402 | [BZ #3429] |
10403 | * elf/dl-open.c (dl_open_worker): Keep holding dl_load_lock until | |
131c4428 | 10404 | we are sure we do not need it anymore for _dl_close. Also move |
b2369ca3 UD |
10405 | the asserts inside the lock region. |
10406 | Patch mostly by Suzuki <suzuki@in.ibm.com>. | |
10407 | ||
11bf311e UD |
10408 | 2006-10-27 Jakub Jelinek <jakub@redhat.com> |
10409 | ||
10410 | * elf/dl-lookup.c (_dl_debug_bindings): Remove unused symbol_scope | |
10411 | argument. | |
10412 | (_dl_lookup_symbol_x): Adjust caller. | |
10413 | ||
10414 | * sysdeps/generic/ldsodefs.h (struct link_namespaces): Remove | |
10415 | _ns_global_scope. | |
10416 | * elf/rtld.c (dl_main): Don't initialize _ns_global_scope. | |
10417 | ||
10418 | * elf/dl-libc.c: Revert l_scope name changes. | |
10419 | * elf/dl-load.c: Likewise. | |
10420 | * elf/dl-object.c: Likewise. | |
10421 | * elf/rtld.c: Likewise. | |
10422 | * elf/dl-close.c (_dl_close): Likewise. | |
10423 | * elf/dl-open.c (dl_open_worker): Likewise. If not SINGLE_THREAD_P, | |
10424 | always use __rtld_mrlock_{change,done}. Always free old scope list | |
10425 | here if not l_scope_mem. | |
10426 | * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Revert l_scope name | |
10427 | change. Never free scope list here. Just __rtld_mrlock_lock before | |
10428 | the lookup and __rtld_mrlock_unlock it after the lookup. | |
10429 | * elf/dl-sym.c: Likewise. | |
10430 | * include/link.h (struct r_scoperec): Remove. | |
10431 | (struct link_map): Replace l_scoperec with l_scope, l_scoperec_mem | |
10432 | with l_scope_mem and l_scoperec_lock with l_scope_lock. | |
10433 | ||
10434 | 2006-10-25 Ulrich Drepper <drepper@redhat.com> | |
10435 | ||
10436 | * sysdeps/gnu/netinet/tcp.h: Define TCP_CONGESTION. | |
10437 | ||
10438 | 2006-10-18 Ulrich Drepper <drepper@redhat.com> | |
10439 | ||
10440 | * configure.in: Disable building profile libraries by default. | |
10441 | ||
609cf614 UD |
10442 | 2006-10-17 Jakub Jelinek <jakub@redhat.com> |
10443 | ||
10444 | * sunrpc/xdr_mem.c (xdrmem_setpos): Don't compare addresses | |
10445 | as signed longs, check for x_base + pos overflow. | |
10446 | * sunrpc/Makefile (tests): Add tst-xdrmem2. | |
10447 | * sunrpc/tst-xdrmem2.c: New test. | |
10448 | ||
11bf311e UD |
10449 | 2006-10-18 Ulrich Drepper <drepper@redhat.com> |
10450 | ||
10451 | * elf/dl-lookup.c (_dl_lookup_symbol_x): Add warning to | |
10452 | _dl_lookup_symbol_x code. | |
10453 | ||
10454 | 2006-10-17 Jakub Jelinek <jakub@redhat.com> | |
10455 | ||
10456 | * elf/dl-runtime.c: Include sysdep-cancel.h. | |
10457 | (_dl_fixup, _dl_profile_fixup): Use __rtld_mrlock_* and | |
10458 | scoperec->nusers only if !SINGLE_THREAD_P. Use atomic_* | |
10459 | instead of catomic_* macros. | |
10460 | * elf/dl-sym.c: Include sysdep-cancel.h. | |
10461 | (do_sym): Use __rtld_mrlock_* and scoperec->nusers only | |
10462 | if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros. | |
10463 | * elf/dl-close.c: Include sysdep-cancel.h. | |
10464 | (_dl_close): Use __rtld_mrlock_* and scoperec->nusers only | |
10465 | if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros. | |
10466 | * elf/dl-open.c: Include sysdep-cancel.h. | |
10467 | (dl_open_worker): Use __rtld_mrlock_* and scoperec->nusers only | |
10468 | if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros. | |
10469 | ||
10470 | 2006-10-17 Jakub Jelinek <jakub@redhat.com> | |
10471 | ||
10472 | [BZ #3313] | |
10473 | * malloc/malloc.c (malloc_consolidate): Set maxfb to address of last | |
10474 | fastbin rather than end of fastbin array. | |
10475 | ||
10476 | 2006-10-18 Ulrich Drepper <drepper@redhat.com> | |
10477 | ||
10478 | * sysdeps/i386/i486/bits/atomic.h (catomic_decrement): Use correct | |
10479 | body macro. | |
10480 | * sysdeps/x86_64/bits/atomic.h | |
10481 | (__arch_c_compare_and_exchange_val_64_acq): Add missing casts. | |
10482 | (catomic_decrement): Use correct body macro. | |
10483 | ||
10484 | 2006-10-17 Jakub Jelinek <jakub@redhat.com> | |
10485 | ||
10486 | * include/atomic.h: Add a unique prefix to all local variables | |
10487 | in macros. | |
10488 | * csu/tst-atomic.c (do_test): Test also catomic_* macros. | |
10489 | ||
4a85a8ee UD |
10490 | 2006-10-16 Ulrich Drepper <drepper@redhat.com> |
10491 | ||
10492 | [BZ #3369] | |
10493 | * sysdeps/posix/getaddrinfo.c (rfc3484_sort): Fix typos in rules 4 | |
10494 | and 7. | |
10495 | ||
11bf311e UD |
10496 | 2006-10-14 Ulrich Drepper <drepper@redhat.com> |
10497 | ||
10498 | * resolv/arpa/nameser.h: Document that ns_t_a6 is deprecated. | |
10499 | ||
ff8d96be UD |
10500 | 2006-10-13 Ulrich Drepper <drepper@redhat.com> |
10501 | ||
11bf311e UD |
10502 | [BZ #3313] |
10503 | * malloc/malloc.c (malloc_consolidate): Don't use get_fast_max to | |
10504 | determine highest fast bin to consolidate, always look into all of | |
10505 | them. | |
10506 | (do_check_malloc_state): Only require for empty bins for large | |
10507 | sizes in main arena. | |
10508 | ||
10509 | * libio/stdio.h: Add more __wur attributes. | |
10510 | ||
ff8d96be UD |
10511 | * elf/dl-minimal.c (realloc): Optimize last patch. |
10512 | ||
90a0991a UD |
10513 | 2006-10-12 Richard Sandiford <richard@codesourcery.com> |
10514 | ||
10515 | [BZ #3352] | |
10516 | * elf/dl-minimal.c (realloc): Let malloc() return a new pointer, | |
10517 | and use memcpy() if it does. | |
ff8d96be | 10518 | |
11bf311e UD |
10519 | 2006-11-12 Andreas Jaeger <aj@suse.de> |
10520 | ||
10521 | [BZ #2510] | |
10522 | * manual/search.texi (Hash Search Function): Clarify. | |
10523 | (Array Search Function): Clarify. | |
10524 | ||
10525 | 2006-11-12 Joseph Myers <joseph@codesourcery.com> | |
10526 | ||
10527 | [BZ #2830] | |
10528 | * math/atest-exp.c (main): Cast hex value to mp_limb_t before | |
10529 | shifting. | |
10530 | * math/atest-exp2.c (read_mpn_hex): Likewise. | |
10531 | * math/atest-sincos.c (main): Likewise. | |
10532 | ||
37fb7595 UD |
10533 | 2006-10-11 Ulrich Drepper <drepper@redhat.com> |
10534 | ||
11bf311e UD |
10535 | * sysdeps/unix/sysv/linux/syscalls.list: Add epoll_pwait. |
10536 | * sysdeps/unix/sysv/linux/sys/epoll.h: Declare epoll_pwait. | |
10537 | * sysdeps/unix/sysv/linux/Versions (libc): Add epoll_pwait for | |
10538 | version GLIBC_2.6. | |
10539 | * Versions.def: Add GLIBC_2.6 for libc. | |
10540 | ||
46c38bd7 UD |
10541 | * sysdeps/unix/sysv/linux/i386/sysdep.h (DOARGS_6): Fix offset. |
10542 | ||
11bf311e UD |
10543 | * sysdeps/i386/i486/bits/atomic.h: Add catomic_* support. |
10544 | ||
10545 | 2006-10-11 Jakub Jelinek <jakub@redhat.com> | |
10546 | ||
10547 | * malloc/malloc.c (_int_malloc): Remove unused any_larger variable. | |
10548 | ||
10549 | * nis/nis_defaults.c (__nis_default_access): Don't call getenv twice. | |
10550 | ||
10551 | * nis/nis_subr.c (nis_getnames): Use __secure_getenv instead of getenv. | |
10552 | * sysdeps/generic/unsecvars.h: Add NIS_PATH. | |
10553 | ||
10554 | 2006-10-11 Ulrich Drepper <drepper@redhat.com> | |
10555 | ||
10556 | * include/atomic.c: Define catomic_* operations. | |
10557 | * sysdeps/x86_64/bits/atomic.h: Likewise. Fix a few minor problems. | |
10558 | * stdlib/cxa_finalize.c: Use catomic_* operations instead of atomic_*. | |
10559 | * malloc/memusage.c: Likewise. | |
10560 | * gmon/mcount.c: Likewise. | |
10561 | * elf/dl-close.c: Likewise. | |
10562 | * elf/dl-open.c: Likewise. | |
10563 | * elf/dl-profile.c: Likewise. | |
10564 | * elf/dl-sym.c: Likewise. | |
10565 | * elf/dl-runtime.c: Likewise. | |
10566 | * elf/dl-fptr.c: Likewise. | |
10567 | * resolv/res_libc.c: Likewise. | |
10568 | ||
2a6ee549 UD |
10569 | 2006-10-10 Ulrich Drepper <drepper@redhat.com> |
10570 | ||
10571 | * nis/nis_subr.c (nis_getnames): Add trailing dot to NIS_PATH | |
10572 | components which lack them. | |
10573 | ||
10574 | * nis/nis_subr.c (nis_getnames): Make sure that we always return | |
10575 | at least one entry consisting of the parameter concatenated with | |
10576 | the domain. | |
10577 | ||
11bf311e | 10578 | 2006-10-10 Roland McGrath <roland@frob.com> |
c4f9fc3a | 10579 | |
11bf311e UD |
10580 | * sysdeps/mach/hurd/utimes.c: Use a union to avoid an improper cast. |
10581 | * sysdeps/mach/hurd/futimes.c: Likewise. | |
10582 | * sysdeps/mach/hurd/lutimes.c: Likewise. | |
10583 | ||
10584 | 2006-10-09 Ulrich Drepper <drepper@redhat.com> | |
10585 | Jakub Jelinek <jakub@redhat.com> | |
10586 | ||
10587 | Implement reference counting of scope records. | |
10588 | * elf/dl-close.c (_dl_close): Remove all scopes from removed objects | |
10589 | from the list in objects which remain. Always allocate new scope | |
10590 | record. | |
10591 | * elf/dl-open.c (dl_open_worker): When growing array for scopes, | |
10592 | don't resize, allocate a new one. | |
10593 | * elf/dl-runtime.c: Update reference counters before using a scope | |
10594 | array. | |
10595 | * elf/dl-sym.c: Likewise. | |
10596 | * elf/dl-libc.c: Adjust for l_scope name change. | |
10597 | * elf/dl-load.c: Likewise. | |
10598 | * elf/dl-object.c: Likewise. | |
10599 | * elf/rtld.c: Likewise. | |
10600 | * include/link.h: Include <rtld-lowlevel.h>. Define struct | |
10601 | r_scoperec. Replace r_scope with pointer to r_scoperec structure. | |
10602 | Add l_scoperec_lock. | |
10603 | * sysdeps/generic/ldsodefs.h: Include <rtld-lowlevel.h>. | |
10604 | * sysdeps/generic/rtld-lowlevel.h: New file. | |
10605 | ||
10606 | * include/atomic.h: Rename atomic_and to atomic_and_val and | |
10607 | atomic_or to atomic_or_val. Define new macros atomic_and and | |
10608 | atomic_or which do not return values. | |
10609 | * sysdeps/x86_64/bits/atomic.h: Define atomic_and and atomic_or. | |
10610 | Various cleanups. | |
10611 | * sysdeps/i386/i486/bits/atomic.h: Likewise. | |
10612 | ||
10613 | * po/sv.po: Update from translation team. | |
10614 | ||
10615 | 2006-10-07 Ulrich Drepper <drepper@redhat.com> | |
10616 | ||
10617 | * Versions.def: Add GLIBC_2.6 to libpthread. | |
10618 | ||
10619 | * include/shlib-compat.h (SHLIB_COMPAT): Expand parameters before use. | |
10620 | (versioned_symbol): Likewise. | |
10621 | (compat_symbol): Likewise. | |
10622 | ||
10623 | * po/tr.po: Update from translation team. | |
feb87ad1 | 10624 | |
4df92d57 UD |
10625 | 2006-10-06 Ulrich Drepper <drepper@redhat.com> |
10626 | ||
11bf311e UD |
10627 | * nis/Banner: Removed. It's been integral part forever and the |
10628 | author info is incomplete anyway. | |
10629 | * libio/Banner: Likewise. | |
10630 | ||
4df92d57 UD |
10631 | * nis/nis_table.c (nis_list): If __follow_path fails in the new |
10632 | code, make sure the nis_freeresult call doesn't crash and that the | |
10633 | result is reported correctly. | |
10634 | ||
68361572 UD |
10635 | 2006-09-27 Jakub Jelinek <jakub@redhat.com> |
10636 | ||
10637 | * nis/nis_table.c (nis_list): Handle FOLLOW_PATH | ALL_RESULTS | |
10638 | when callback is NULL. | |
10639 | ||
10640 | * nis/Versions (libnss_nisplus): Add | |
10641 | _nss_nisplus_initgroups_dyn@@GLIBC_PRIVATE. | |
10642 | * nis/Makefile (libnss_nisplus-routines): Add nisplus-initgroups. | |
10643 | * nis/nss_nisplus/nisplus-grp.c (tablename_val, tablename_len, | |
10644 | _nss_create_tablename): Rename to... | |
10645 | (grp_tablename_val, grp_tablename_len, _nss_grp_create_tablename): | |
10646 | ... these. No longer static. | |
10647 | (internal_setgrent): Adjust users. | |
10648 | (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise. | |
10649 | Don't use locking around _nss_grp_create_tablename call. | |
10650 | * nis/nss_nisplus/nisplus-initgroups.c: New file. | |
10651 | ||
11bf311e UD |
10652 | 2006-10-06 Ulrich Drepper <drepper@redhat.com> |
10653 | ||
10654 | * version.h (VERSION): Bump to 2.5.90 for new development tree. | |
10655 | ||
3a4e0609 UD |
10656 | 2006-10-06 Andreas Jaeger <aj@suse.de> |
10657 | ||
10658 | * include/features.h (__GLIBC_MINOR__): It's glibc 2.5 now. | |
10659 | ||
10660 | 2006-10-06 Ulrich Drepper <drepper@redhat.com> | |
10661 | ||
10662 | * po/pl.po: Update from translation team. | |
10663 | ||
10664 | * nscd/nscd.c (main): Fix typo in message. | |
10665 | Patch by Jakub Bogsz <qboosh@pld-linux.org>. | |
10666 | ||
97e57dee UD |
10667 | 2006-10-02 Jakub Jelinek <jakub@redhat.com> |
10668 | ||
10669 | [BZ #3291] | |
10670 | * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Include | |
10671 | errno.h, signal.h, unistd.h and sysdep-cancel.h. | |
10672 | (__sigprocmask): Define. | |
10673 | ||
768027a4 UD |
10674 | 2006-10-02 Ulrich Drepper <drepper@redhat.com> |
10675 | ||
10676 | * elf/rtld.c (dl_main): Don't use prelinking if LD_DYNAMIC_WEAK is | |
10677 | used. | |
10678 | ||
0b25a49a UD |
10679 | 2006-10-02 Jakub Jelinek <jakub@redhat.com> |
10680 | ||
10681 | * nscd/mem.c (mempool_alloc): Round array size to 16 bytes | |
10682 | in oldtotal and newtotal calculation. | |
10683 | * nscd/nscd-client.h (struct mapped_database): Add datasize | |
10684 | field. | |
10685 | * nscd/nscd_helper.c (get_mapping): Initialize datasize field. | |
10686 | (__nscd_get_map_ref): Get a new mapping even if mapping's data_size | |
10687 | increased. | |
10688 | (__nscd_cache_search): Add checks to make sure we never reference | |
10689 | data beyond the current mapping. | |
10690 | ||
a1286745 UD |
10691 | 2006-10-02 Dmitry V. Levin <ldv@altlinux.org> |
10692 | ||
d4ed7561 UD |
10693 | * sysdeps/posix/getaddrinfo.c (match_prefix): Make mask and val |
10694 | variables const to avoid compiler warnings. | |
10695 | ||
a1286745 UD |
10696 | * io/fts.c (fts_close): Remove redundant checks. |
10697 | (fts_build): Likewise. | |
10698 | (fts_palloc): Likewise. | |
10699 | ||
10700 | * manual/message.texi (Advanced gettext functions, | |
10701 | Using gettextized software): Fix typos. | |
10702 | ||
f01e4069 UD |
10703 | 2006-09-30 Ulrich Drepper <drepper@redhat.com> |
10704 | ||
10705 | * posix/glob.c (glob_in_dir): Add some comments and asserts to | |
10706 | explain why there are no leaks. | |
10707 | ||
154619b5 UD |
10708 | 2006-09-29 Ulrich Drepper <drepper@redhat.com> |
10709 | ||
690c3947 UD |
10710 | * libio/wmemstream.c: Include <wchar.h>. |
10711 | * libio/bug-wmemstream1.c: Likewise. | |
10712 | * libio/tst-wmemstream1.c: Likewise. | |
10713 | * libio/tst-wmemstream2.c: Likewise. | |
10714 | ||
88cc61e8 UD |
10715 | * version.h (RELEASE): Bump to 2.5. |
10716 | * README: Regenerated. | |
10717 | ||
a70c18b0 UD |
10718 | * locale/iso-3166.def: Add Aaland Islands and Montenegro. |
10719 | ||
154619b5 UD |
10720 | [BZ #3273] |
10721 | * nscd/nscd_initgroups.c (__nscd_getgrouplist): It is OK to have | |
10722 | found no group members. | |
10723 | Patch by Petr Baudis. | |
10724 | ||
10725 | 2006-09-29 Jakub Jelinek <jakub@redhat.com> | |
10726 | ||
10727 | * elf/rtld.c (_dl_start_final): If not USE___THREAD, don't | |
10728 | assert bootstrap_map.l_tls_modid is zero. | |
10729 | (_dl_start): Initialize bootstrap_map.l_tls_modid to 0 | |
10730 | if USE___THREAD. | |
10731 | ||
1c31aa79 UD |
10732 | 2006-09-27 Ulrich Drepper <drepper@redhat.com> |
10733 | ||
10734 | * libio/stdio.h: Move open_wmemstream prototype to ... | |
10735 | * wcsmbs/wchar.h: ... here. | |
10736 | ||
f1122ec3 UD |
10737 | 2006-09-25 Jakub Jelinek <jakub@redhat.com> |
10738 | ||
10739 | [BZ #3252] | |
10740 | * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Handle only | |
10741 | fchownat syscall and __ASSUME_LCHOWN_SYSCALL case inline, call | |
10742 | __{,l}chown to handle the rest. | |
10743 | * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Handle only | |
10744 | fchownat syscall and __ASSUME_32BITUIDS case inline, call | |
10745 | __{,l}chown to handle the rest. | |
10746 | * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Include | |
10747 | i386/fchownat.c. | |
10748 | * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Likewise. | |
10749 | * sysdeps/unix/sysv/linux/sh/fchownat.c: Likewise. | |
10750 | ||
10751 | [BZ #3253] | |
10752 | * posix/glob.c (glob_in_dir): Don't alloca one struct globlink at a | |
10753 | time, rather allocate increasingly bigger arrays of pointers, if | |
10754 | possible with alloca, if too large with malloc. | |
10755 | ||
10756 | 2006-09-24 Jakub Jelinek <jakub@redhat.com> | |
10757 | ||
10758 | * sysdeps/powerpc/fpu/libm-test-ulps: Updated. | |
10759 | ||
10760 | * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Fix 2 typos. | |
10761 | ||
457b559e UD |
10762 | 2006-09-24 Ulrich Drepper <drepper@redhat.com> |
10763 | ||
10764 | * sysdeps/posix/getaddrinfo.c (rfc3484_sort): Implement rule 4, | |
10765 | home addresses. | |
10766 | * sysdeps/unix/sysv/linux/check_pf.c (make_request): Recognize | |
10767 | IFA_F_HOMEADDRESS flag for interfaces. | |
10768 | * include/ifaddrs.h (struct in6addrinfo): Define | |
10769 | in6ai_homeaddress. | |
10770 | ||
4a132246 UD |
10771 | 2006-09-21 Jakub Jelinek <jakub@redhat.com> |
10772 | ||
10773 | [BZ #3225] | |
10774 | * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (PTR_MANGLE3, | |
10775 | PTR_DEMANGLE3): Define. | |
10776 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (PTR_MANGLE3, | |
10777 | PTR_DEMANGLE3): Likewise. | |
10778 | * sysdeps/powerpc/powerpc32/__longjmp-common.S (__longjmp): Use them. | |
10779 | * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): | |
10780 | Likewise. | |
10781 | * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise. | |
10782 | ||
c69136ae UD |
10783 | 2006-09-20 Jakub Jelinek <jakub@redhat.com> |
10784 | ||
10785 | * po/libc.pot: Regenerated. | |
10786 | * po/be.po: Updated. | |
10787 | * po/ca.po: Likewise. | |
10788 | * po/cs.po: Likewise. | |
10789 | * po/da.po: Likewise. | |
10790 | * po/de.po: Likewise. | |
10791 | * po/el.po: Likewise. | |
10792 | * po/en_GB.po: Likewise. | |
10793 | * po/es.po: Likewise. | |
10794 | * po/fi.po: Likewise. | |
10795 | * po/fr.po: Likewise. | |
10796 | * po/gl.po: Likewise. | |
10797 | * po/hr.po: Likewise. | |
10798 | * po/hu.po: Likewise. | |
10799 | * po/ja.po: Likewise. | |
10800 | * po/ko.po: Likewise. | |
10801 | * po/nb.po: Likewise. | |
10802 | * po/nl.po: Likewise. | |
10803 | * po/pl.po: Likewise. | |
10804 | * po/pt_BR.po: Likewise. | |
10805 | * po/ru.po: Likewise. | |
10806 | * po/rw.po: Likewise. | |
10807 | * po/sk.po: Likewise. | |
10808 | * po/sv.po: Likewise. | |
10809 | * po/tr.po: Likewise. | |
10810 | * po/zh_CN.po: Likewise. | |
10811 | * po/zh_TW.po: Likewise. | |
10812 | ||
10813 | [BZ #3137] | |
10814 | * iconv/iconv_prog.c (main): Fix spelling in error message. | |
10815 | * iconv/iconvconfig.c (main): Likewise. | |
10816 | * locale/programs/ld-collate.c (handle_ellipsis): Likewise. | |
10817 | * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Likewise. | |
10818 | * locale/programs/localedef.c (main): Likewise. | |
10819 | * locale/programs/repertoire.c (repertoire_read): Likewise. | |
10820 | * timezone/zdump.c (main): Likewise. | |
10821 | * nscd/connections.c (handle_request): Fix spelling in log message. | |
10822 | Patch by Malcolm Parsons <malcolm.parsons@gmail.com>. | |
10823 | ||
83b3108c UD |
10824 | 2006-09-20 Ulrich Drepper <drepper@redhat.com> |
10825 | ||
10826 | * inet/inet6_option.c: Also emit linker warnings for the RFC 2292 | |
10827 | interfaces. | |
10828 | ||
89210b4c AJ |
10829 | 2006-09-20 Andreas Jaeger <aj@suse.de> |
10830 | ||
10831 | * math/libm-test.inc (lrint_test_upward): Fix typo. | |
10832 | ||
6624dbc0 UD |
10833 | 2006-06-17 Joseph S. Myers <joseph@codesourcery.com> |
10834 | ||
10835 | [BZ #2592] | |
10836 | * math/libm-test.inc (lrint_test_tonearest): New function. | |
10837 | (lrint_test_towardzero): New function. | |
10838 | (lrint_test_downward): New function. | |
10839 | (lrint_test_upward): New function. | |
10840 | (main): Run these new tests. | |
10841 | * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Correct rounding | |
10842 | of values near to 0. | |
10843 | (two52): Use double not long double. | |
10844 | * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise. | |
10845 | * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise. | |
10846 | (two23): Use float not double. | |
10847 | * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise. | |
10848 | (two23): Use float not double. | |
10849 | * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise. | |
10850 | * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise. | |
10851 | * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise. | |
10852 | * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise. | |
10853 | ||
60cb50c7 UD |
10854 | 2006-09-20 Martin Schwidefsky <schwidefsky@de.ibm.com> |
10855 | ||
10856 | * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c (__makecontext): | |
10857 | Cast sp to unsigned long to avoid compiler warning. | |
10858 | Use __makecontext_ret function instead of a trampoline on the stack. | |
10859 | (__makecontext_ret): New function. | |
10860 | * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Likewise. | |
10861 | ||
33315ced UD |
10862 | 2006-09-19 Jakub Jelinek <jakub@redhat.com> |
10863 | ||
10864 | * elf/dl-cache.c (HWCAP_CHECK): If _DL_PLATFORMS_COUNT, but | |
10865 | platform == -1, reject any libs with non-zero _DL_HWCAP_PLATFORM | |
10866 | bits. | |
10867 | ||
1ee2ff20 UD |
10868 | 2006-09-19 Ulrich Drepper <drepper@redhat.com> |
10869 | ||
10870 | * elf/dl-close.c (_dl_close): If dependency is not unloaded make | |
10871 | sure no reference to the unloaded map's search list remains in the | |
10872 | dependency's scope. | |
10873 | ||
10874 | 2006-09-16 Jakub Jelinek <jakub@redhat.com> | |
10875 | ||
10876 | * elf/Makefile: Add rules to build and run unload7 test. | |
10877 | * elf/unload7.c: New test. | |
10878 | * elf/unload7mod1.c: New file. | |
10879 | * elf/unload7mod2.c: New file. | |
10880 | ||
0466106e UD |
10881 | 2006-09-18 Jakub Jelinek <jakub@redhat.com> |
10882 | ||
10883 | * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_GETEVENTMSG): Fix pasto. | |
10884 | * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_SETOPTIONS, | |
10885 | PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Define. | |
10886 | * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_SETOPTIONS, | |
10887 | PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Likewise. | |
10888 | * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_SETOPTIONS, | |
10889 | PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Likewise. | |
10890 | * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_SETOPTIONS, | |
10891 | PTRACE_GETEVENTMSG): Likewise. | |
10892 | (PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Change to the arch independent | |
10893 | values. | |
10894 | ||
9c316a45 UD |
10895 | 2006-09-17 Mike Frysinger <vapier@gentoo.org> |
10896 | ||
0466106e UD |
10897 | * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_SETOPTIONS, |
10898 | PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_SETSIGINFO): Define. | |
10899 | * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Check PTRACE_SETOPTIONS, | |
10900 | PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO and PTRACE_SETSIGINFO. | |
9c316a45 UD |
10901 | |
10902 | 2006-09-16 Jakub Jelinek <jakub@redhat.com> | |
10903 | ||
10904 | * sysdeps/powerpc/powerpc32/register-dump.h (register_dump): Don't | |
10905 | write '\0' to the fd. | |
10906 | * sysdeps/mach/hurd/powerpc/register-dump.h (register_dump): Likewise. | |
10907 | * sysdeps/powerpc/powerpc64/register-dump.h (register_dump): Likewise. | |
10908 | Change regs to unsigned long pointer from unsigned int, fix fscr | |
10909 | offset. | |
10910 | ||
fb146a76 UD |
10911 | 2006-09-14 Jakub Jelinek <jakub@redhat.com> |
10912 | ||
10913 | * io/Makefile (CFLAGS-fstatat.c): Set. | |
10914 | (CFLAGS-fstatat64.c): Likewise. | |
10915 | (CFLAGS-mknodat.c): Likewise. | |
10916 | ||
10917 | * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Comment fixes. | |
10918 | * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise. | |
10919 | * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Rewritten. | |
10920 | * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Rewritten. | |
10921 | ||
4cd3633d UD |
10922 | 2006-09-14 Jakub Jelinek <jakub@redhat.com> |
10923 | Steven Munroe <sjmunroe@us.ibm.com> | |
fb146a76 | 10924 | |
4cd3633d UD |
10925 | * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add 4 new cap |
10926 | names to the beginning. Rename "cell" to "cellbe". | |
10927 | (_dl_powerpc_platforms): New. | |
10928 | * sysdeps/powerpc/dl-procinfo.h (_DL_HWCAP_FIRST): Decrease. | |
10929 | (HWCAP_IMPORTANT): Remove power{4,5,5+} and cell. | |
10930 | (_DL_PLATFORMS_COUNT, _DL_FIRST_PLATFORM): Define. | |
10931 | (_DL_HWCAP_PLATFORM): Define to new mask. | |
10932 | (_dl_platform_string, _dl_string_platform): New functions. | |
10933 | * sysdeps/powerpc/sysdep.h (PPC_FEATURE_BOOKE, PPC_FEATURE_SMT, | |
10934 | PPC_FEATURE_ICACHE_SNOOP, PPC_FEATURE_ARCH_2_05): Define. | |
10935 | ||
30aa5785 UD |
10936 | 2006-09-12 Jakub Jelinek <jakub@redhat.com> |
10937 | ||
10938 | [BZ #2526] | |
10939 | * README.libm: Fix a thinko in sqrt algorithm description. | |
10940 | ||
10941 | [BZ #3143] | |
10942 | * manual/string.texi (argz_delete): Fix prototype. | |
10943 | Patch by <alpt@freaknet.org>. | |
10944 | ||
10945 | 2006-08-26 Joseph Myers <joseph@codesourcery.com> | |
10946 | ||
10947 | [BZ #3138] | |
10948 | * io/test-lfs.c (do_prepare): Give name_len type size_t. | |
10949 | * io/tst-fcntl.c (do_prepare): Likewise. | |
10950 | * posix/tst-exec.c (do_prepare): Likewise. | |
10951 | * posix/tst-preadwrite.c (do_prepare): Likewise. | |
10952 | * posix/tst-spawn.c (do_prepare): Likewise. | |
10953 | * posix/tst-truncate.c (do_prepare): Likewise. | |
10954 | * rt/tst-aio.c (do_prepare): Likewise. | |
10955 | * rt/tst-aio64.c (do_prepare): Likewise. | |
10956 | * stdlib/test-canon2.c (do_prepare): Give test_dir_len type | |
10957 | size_t. | |
10958 | ||
d26d01d1 UD |
10959 | 2006-09-09 Ulrich Drepper <drepper@redhat.com> |
10960 | ||
41aba3d7 UD |
10961 | [BZ #2821] |
10962 | * time/mktime.c (guess_time_tm): Fix overflow detection. | |
10963 | * time/Makefile (tests): Add bug-mktime1. | |
10964 | * time/bug-mktime1.c: New file. | |
10965 | ||
eaa51b47 | 10966 | [BZ #3189, #3188] |
d26d01d1 | 10967 | * misc/sys/mman.h (remap_file_pages): Make available for _GNU_SOURCE. |
eaa51b47 | 10968 | (mremap): Likewise. |
d26d01d1 | 10969 | |
ba40cc15 UD |
10970 | 2006-09-07 Jakub Jelinek <jakub@redhat.com> |
10971 | ||
2b6a801e UD |
10972 | [BZ #1006] |
10973 | * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): | |
10974 | Ensure relocation doesn't clobber any bits outside of the | |
10975 | immediate field for R_SPARC_TLS_LE_HIX22, R_SPARC_WDISP30, | |
10976 | R_SPARC_HI22 and R_SPARC_H44. | |
10977 | ||
469615bd UD |
10978 | [BZ #2775] |
10979 | * malloc/malloc.c (sYSMALLOc): Only call grow_heap if | |
10980 | (long) (MINSIZE + nb - old_size) is positive. | |
10981 | ||
10982 | * malloc/arena.c (grow_heap): When growing bail even if new_size | |
10983 | is negative. | |
10984 | ||
ba40cc15 UD |
10985 | [BZ #3155] |
10986 | * sysdeps/powerpc/powerpc32/fpu/s_lrint.S (__lrint): Don't access | |
10987 | stack below r1. | |
10988 | ||
243b9ac1 UD |
10989 | 2006-09-06 Jakub Jelinek <jakub@redhat.com> |
10990 | ||
ba40cc15 UD |
10991 | * posix/regex_internal.c (re_string_reconstruct): Handle |
10992 | offset < pstr->valid_raw_len && pstr->offsets_needed case. | |
10993 | Ensure no bytes read before raw_mbs array. Pass a saved copy of | |
10994 | pstr->valid_len - 1 rather than pstr->valid_raw_len - 1 to | |
10995 | re_string_context_at. | |
10996 | * posix/Makefile: Add rules to build and run bug-regex26 test. | |
10997 | * posix/bug-regex26.c: New test. | |
10998 | ||
243b9ac1 UD |
10999 | * locale/programs/ld-collate.c (collate_read): Goto sym_equiv_free |
11000 | rather than col_sym_free. Move seqp declaration earlier. | |
11001 | ||
11002 | * resolv/gai_suspend.c (gai_suspend): Make sure result is initialized. | |
11003 | ||
d052233c UD |
11004 | 2006-09-05 Jakub Jelinek <jakub@redhat.com> |
11005 | ||
11006 | * nscd/initgrcache.c (addinitgroupsX): Move any_success | |
11007 | decl before first goto out. | |
11008 | ||
71213dc2 UD |
11009 | 2006-09-04 Jakub Jelinek <jakub@redhat.com> |
11010 | ||
11011 | * Makerules (shlib.lds): If have-hash-style, put .hash section | |
11012 | at the end of the RO segment. | |
11013 | ||
11014 | 2006-09-04 Ulrich Drepper <drepper@redhat.com> | |
11015 | ||
11016 | * elf/do-lookup.h (do_lookup_x): Initialize symidx in case the new | |
11017 | style hash table format is used. | |
11018 | ||
03eeff83 UD |
11019 | 2006-09-04 Jakub Jelinek <jakub@redhat.com> |
11020 | ||
11021 | * resolv/res_mkquery.c (res_nmkquery): Set hp->id to statp->id after | |
11022 | randomization rather than before. | |
11023 | * resolv/res_init.c (res_randomid): Don't call gettimeofday here. | |
11024 | ||
b80770b2 UD |
11025 | 2006-08-31 Jakub Jelinek <jakub@redhat.com> |
11026 | ||
ba40cc15 | 11027 | * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Add ld.so. |
b80770b2 UD |
11028 | |
11029 | * malloc/malloc.c (_int_malloc): Use full list insert and not | |
11030 | shortcut which assumes the list is empty for large requests | |
11031 | too. | |
11032 | ||
11033 | * elf/tst-addr1.c (do_test): Allow i.dli_sname "_IO_printf". | |
11034 | ||
99ea5991 UD |
11035 | 2006-08-30 Jakub Jelinek <jakub@redhat.com> |
11036 | ||
11037 | * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (splice): Add offin | |
11038 | and offout arguments to the prototype. | |
11039 | * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (splice): Likewise. | |
11040 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (splice): Likewise. | |
11041 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (splice): Likewise. | |
11042 | * sysdeps/unix/sysv/linux/sh/bits/fcntl.h (splice): Likewise. | |
11043 | * sysdeps/unix/sysv/linux/i386/bits/fcntl.h (splice): Likewise. | |
11044 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (splice): Likewise. | |
11045 | * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h (splice): Likewise. | |
11046 | * sysdeps/unix/sysv/linux/syscalls.list (splice): Adjust args string. | |
11047 | ||
4004a0a5 UD |
11048 | 2006-08-28 Ulrich Drepper <drepper@redhat.com> |
11049 | ||
950398e1 UD |
11050 | * elf/dl-load.c (_dl_init_paths): Expand DSTs. |
11051 | ||
4004a0a5 UD |
11052 | * elf/dl-open.c (dl_open_worker): Allow $LIB and $PLATFORM in |
11053 | dlopen parameters. | |
11054 | ||
6e310111 UD |
11055 | 2006-08-28 Jakub Jelinek <jakub@redhat.com> |
11056 | ||
11057 | * inet/getnameinfo.c (getnameinfo): For AF_INET, check errno | |
11058 | only if herrno is NETDB_INTERNAL. Handle errors other than | |
11059 | ERANGE outside of the loops, handle TRY_AGAIN. | |
11060 | ||
11061 | * locale/programs/ld-ctype.c (translit_flatten): Issue error | |
11062 | if other's ctype category was missing. | |
11063 | * locale/programs/ld-collate.c (collate_read): Return if | |
11064 | copy_locale's collate category is missing. | |
11065 | ||
07014fca UD |
11066 | 2006-08-27 Ulrich Drepper <drepper@redhat.com> |
11067 | ||
11068 | [BZ #2684] | |
11069 | * malloc/malloc.c (public_rEALLOc): Try harder by using other | |
11070 | arenas if allocation failed. | |
11071 | Patch mostly by Jan Edler <jan.edler@indexengines.com>. | |
11072 | ||
71663747 UD |
11073 | 2006-08-26 Ulrich Drepper <drepper@redhat.com> |
11074 | ||
41999a1a UD |
11075 | * malloc/malloc.c (bin_at): Rewrite to be more clear and to not |
11076 | waste bins[0..1]. | |
11077 | (malloc_state): Reduce bins size by 2. | |
11078 | (_int_malloc): Fix test for large enough buffer for early termination. | |
11079 | When no unsorted block matches perfectly and an exiting block has | |
11080 | to be split, use full list insert and not shortcut which assumes | |
11081 | the list is empty. | |
11082 | ||
71663747 UD |
11083 | * locale/programs/ld-ctype.c (ctype_read): Better patch for read |
11084 | failure. | |
11085 | ||
93b53ca2 UD |
11086 | 2006-08-24 Ulrich Drepper <drepper@redhat.com> |
11087 | ||
f5a82772 UD |
11088 | * locale/programs/ld-ctype.c (ctype_read): If CTYPE is NULL, don't |
11089 | do anything. | |
11090 | ||
2ac9ca73 UD |
11091 | * sysdeps/generic/ldsodefs.h (DL_ADDR_SYM_MATCH): For undefined |
11092 | symbol require exact match (these are PLTs). | |
11093 | * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h | |
11094 | (_dl_ppc64_addr_sym_match): Likewise. | |
11095 | ||
93b53ca2 UD |
11096 | [BZ #2683] |
11097 | * elf/dl-addr.c (_dl_addr): Don't ignore all undefined symbols. | |
11098 | If symbol has a value use it. | |
11099 | * elf/tst-dladdr1.c: New file. | |
11100 | * elf/Makefile: Add rules to build and run tst-addr1. | |
11101 | ||
7463d5cb UD |
11102 | 2006-08-24 Jakub Jelinek <jakub@redhat.com> |
11103 | ||
11104 | * malloc/malloc.c (sYSMALLOc): Avoid infinite loop if MMAP | |
11105 | keeps failing and heap growth or new heap creation isn't | |
11106 | successful either. | |
11107 | * malloc/tst-malloc.c (main): Add new tests. | |
11108 | ||
542a6f62 UD |
11109 | 2006-08-24 Ulrich Drepper <drepper@redhat.com> |
11110 | ||
11111 | [BZ #2734] | |
11112 | * sysdeps/i386/bits/byteswap.h (__bswap_32): Use same conditions | |
11113 | as in the x86-64 code to use bswap. | |
11114 | ||
aa2c6b6d UD |
11115 | 2006-05-21 Joseph S. Myers <joseph@codesourcery.com> |
11116 | ||
24982798 | 11117 | [BZ #2680] |
aa2c6b6d UD |
11118 | * posix/unistd.h (getlogin_r): Condition on __USE_POSIX199506, not |
11119 | __USE_UNIX98. | |
11120 | * posix/bits/unistd.h: Likewise. | |
11121 | ||
59776aef UD |
11122 | 2006-05-15 Mike Frysinger <vapier@gentoo.org> |
11123 | ||
11124 | [BZ #2751] | |
11125 | * string/strchr.c: Add cast to avoid warning. | |
11126 | ||
e404fb16 UD |
11127 | 2006-08-21 Ulrich Drepper <drepper@redhat.com> |
11128 | ||
11129 | * malloc/malloc.c (DEFAULT_MMAP_THRESHOLD_MAX): For 32-bit | |
bd2c2341 | 11130 | platforms define as 512K. For 64-bit platforms as 32MB. The lower |
e404fb16 UD |
11131 | limit is needed to avoid the exploding of the address space |
11132 | requirement for secondary heaps. | |
11133 | * malloc/arena.c (HEAP_MAX_SIZE): Define using | |
11134 | DEFAULT_MMAP_THRESHOLD_MAX if it is defined. | |
11135 | ||
376e973a UD |
11136 | 2006-07-30 Joseph S. Myers <joseph@codesourcery.com> |
11137 | ||
11138 | [BZ #3018] | |
11139 | * Makerules (depfiles): Handle extra-test-objs the same as | |
11140 | extra-objs. | |
11141 | (common-mostlyclean): Likewise. | |
11142 | * dlfcn/Makefile (extra-objs): Add modules to extra-test-objs | |
11143 | instead. | |
11144 | * elf/Makefile (extra-objs): Likewise. | |
11145 | * stdlib/Makefile (extra-objs): Likewise. | |
11146 | ||
240c62a7 UD |
11147 | 2006-08-14 Eric Blake <ebb9@byu.net> |
11148 | ||
11149 | [BZ #3044] | |
11150 | * misc/error.h: Assume C89 or better. | |
11151 | * misc/error.c: Likewise. | |
11152 | ||
3997b7c4 UD |
11153 | 2006-08-21 Ulrich Drepper <drepper@redhat.com> |
11154 | ||
11155 | [BZ #3040] | |
11156 | * sysdeps/unix/sysv/linux/openat.c: Fix compilation if | |
11157 | __ASSUME_ATFCTS is defined. | |
11158 | ||
8a6537b0 UD |
11159 | 2006-08-19 Ulrich Drepper <drepper@redhat.com> |
11160 | ||
72320021 UD |
11161 | * malloc/malloc.c (_int_malloc): Limit number of unsorted blocks |
11162 | to sort in each call. | |
11163 | ||
ed3691ba UD |
11164 | * nis/nss_nis/nis-service.c (internal_nis_getservent_r): . If map |
11165 | is empty simply return and use next service. | |
11166 | * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise. | |
11167 | ||
8a6537b0 UD |
11168 | * locale/programs/charmap.c (charmap_read): Add new parameter. It |
11169 | tells us when not finding a charmap file is an error. | |
11170 | * locale/programs/charmap.h: Adjust charmap_read prototype. | |
11171 | * iconv/iconv_prog.c (main): Tell charmap_read it's no error if we | |
11172 | cannot find a charmap. | |
11173 | * locale/programs/localedef.c (main): Adjust charmap_read call. | |
11174 | ||
ad2a3c07 UD |
11175 | 2006-08-15 Jakub Jelinek <jakub@redhat.com> |
11176 | ||
11177 | * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Use | |
11178 | sysdeps/posix/pause.c implementation instead. | |
11179 | ||
11180 | 2006-08-09 Jakub Jelinek <jakub@redhat.com> | |
11181 | ||
11182 | * sysdeps/unix/nice.c (nice): Transform EACCES errno from setpriority | |
11183 | to EPERM. | |
11184 | ||
f17efcb4 UD |
11185 | 2006-08-13 Andreas Schwab <schwab@suse.de> |
11186 | ||
11187 | * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_runtime_resolve): | |
11188 | Don't clobber caller's LRSAVE. | |
11189 | (_dl_prof_resolve): Likewise. | |
11190 | ||
107b8a92 UD |
11191 | 2006-08-14 Ulrich Drepper <drepper@redhat.com> |
11192 | ||
11193 | [BZ #1996] | |
11194 | * libio/memstream.c (open_memstream): Allocate initial buffer with | |
11195 | calloc. | |
11196 | * libio/wmemstream.c (open_wmemstream): Likewise. | |
11197 | * libio/strops.c: Pretty printing. | |
11198 | (_IO_str_overflow): Clear uninitialized part of the new buffer. | |
11199 | (enlarge_userbuf): New function. | |
11200 | (_IO_str_seekoff): Call it if seek position is larger than current | |
11201 | buffer. | |
11202 | * libio/wstrops.c: Likewise. | |
11203 | * libio/vasprintf.c: Add comment as to why we do not have to use | |
11204 | calloc instead of malloc to allocate initial buffer. | |
11205 | * libio/Makefile (tests): Add bug-memstream1 and bug-wmemstream1. | |
11206 | * libio/bug-memstream1.c: New file. | |
11207 | * libio/bug-wmemstream1.c: New file. | |
11208 | ||
fa3ac53f UD |
11209 | 2006-08-13 Ulrich Drepper <drepper@redhat.com> |
11210 | ||
89993734 UD |
11211 | * libio/wstrops.c: Remove dead macro definitions and comments. |
11212 | * libio/strops.c: Likewise. | |
11213 | ||
fa3ac53f UD |
11214 | [BZ #2764] |
11215 | * login/utmpname.c (__utmpname): Remove unnecessary test. | |
11216 | ||
f99ed760 UD |
11217 | 2006-06-08 Joseph Myers <jsm28@gcc.gnu.org> |
11218 | ||
11219 | [BZ #2832] | |
11220 | * math/gen-libm-test.pl (clean_up_number): Do not remove trailing | |
11221 | 0s from integers. | |
11222 | ||
11223 | 2006-08-13 Ulrich Drepper <drepper@redhat.com> | |
11224 | ||
11225 | [BZ #2987] | |
11226 | * sysdeps/unix/sysv/linux/clock_settime.c: Add code to use syscall | |
11227 | for CPU clocks. | |
11228 | * sysdeps/unix/clock_settime.c: Add support for platform-specific | |
11229 | setting of CPU clocks. | |
11230 | ||
4c3f81d0 UD |
11231 | 2006-06-23 Paul Eggert <eggert@cs.ucla.edu> |
11232 | ||
11233 | [BZ #2841] | |
11234 | * sysdeps/generic/stdint.h (UINT8_C, UINT16_C): Don't append 'U', | |
11235 | since C99 requires the result to promote to 'int' when uint_least8_t | |
11236 | and uint_least16_t promote to 'int'. | |
11237 | ||
cd8e60ce UD |
11238 | 2006-08-12 Ulrich Drepper <drepper@redhat.com> |
11239 | ||
9a5c46e8 UD |
11240 | [BZ #3013] |
11241 | * locale/programs/ld-ctype.c (ctype_output): Adjust alignments, fix | |
11242 | lenght of one output field, correct bitmask creation. | |
11243 | * locale/programs/ld-time.c: Add alignment. | |
11244 | ||
cd8e60ce UD |
11245 | [BZ #2997] |
11246 | * misc/error.c: Add space between program name and message if file | |
11247 | name is missing. | |
11248 | ||
9a528884 UD |
11249 | 2006-08-03 Eric Blake <ebb9@byu.net> |
11250 | ||
11251 | [BZ #2998] | |
11252 | * misc/error.c (error_tail) [_LIBC]: Avoid invalid free. | |
11253 | ||
1d05c2fb UD |
11254 | 2006-08-09 Ulrich Drepper <drepper@redhat.com> |
11255 | ||
0c1c6c6c UD |
11256 | * malloc/memusagestat.c: Silence warnings. |
11257 | ||
1d05c2fb UD |
11258 | * malloc/malloc.c: Dynamically size mmap treshold if the program |
11259 | frees mmaped blocks. | |
11260 | Patch by Valerie Henson and Arjan van de Ven. | |
11261 | ||
2d1e6277 UD |
11262 | 2006-08-08 Jakub Jelinek <jakub@redhat.com> |
11263 | ||
be7ffd91 UD |
11264 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h (O_DIRECT): Protect with |
11265 | __USE_GNU. | |
11266 | ||
2d1e6277 UD |
11267 | * stdlib/strtol_l.c (__strtol_ul_max_tab, __strtol_ul_rem_tab, |
11268 | __strtol_ull_max_tab, __strtol_ull_rem_tab): Declare. | |
11269 | (DEF): Don't put the var into .gnu.linkonce.r.* section. | |
11270 | Only provide var definitions in strtol_l (or for *ull* | |
11271 | in strtoll_l). | |
11272 | ||
11273 | * stdio-common/bug16.c (tests): New array. | |
11274 | (do_tests): Allow the first hexadecimal digit | |
11275 | to be 1, 2, 4 or 8. Do 3 additional tests. | |
11276 | ||
11277 | * sysdeps/s390/fpu/libm-test-ulps: Update. | |
11278 | ||
11279 | * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c (fchownat): Use | |
11280 | fchownat syscall if available. | |
11281 | * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise. | |
11282 | * sysdeps/unix/sysv/linux/sh/fchownat.c (fchownat): Likewise. | |
11283 | * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise. | |
11284 | ||
d0ccde25 UD |
11285 | 2006-08-07 Ulrich Drepper <drepper@redhat.com> |
11286 | ||
11287 | * nis/nis_xdr.c: Avoid some function calls. | |
11288 | ||
13a0293d | 11289 | 2006-08-07 Jakub Jelinek <jakub@redhat.com> |
3f7a21a9 | 11290 | Ulrich Drepper <drepper@redhat.com> |
13a0293d UD |
11291 | |
11292 | * nis/nis_call.c (rec_dirsearch) [case LOWER_NAME]: Don't take | |
11293 | short cut if only one name component is stripped away. | |
11294 | ||
bd1ebae0 UD |
11295 | 2006-08-07 Ulrich Drepper <drepper@redhat.com> |
11296 | ||
11297 | * nis/nis_call.c: Minor cleanups throughout. | |
2d1e6277 | 11298 | (rec_dirsearch) [case HIGHER_NAME]: Correctly size ndomain array. |
bd1ebae0 UD |
11299 | (first_shoot): Add search_parent_first parameter. Only if it is set |
11300 | search parent server first. | |
11301 | If directory for table found through cold start cache is not the same | |
11302 | as referenced in the cache, don't use it. | |
11303 | (__nisfind_server): Take additional parameter. Pass it on to | |
11304 | first_shoot. | |
11305 | (__prepare_niscall): Adjust __nisfind_server call. | |
11306 | * nis/rpcsvc/nislib.h: Adjust __nisfind_server prototype. | |
11307 | * nis/nis_table.c: Adjust __nisfind_server call. | |
11308 | * nis/nis_lookup.c: Likewise. | |
11309 | (nis_lookup): Don't loop endlessly if name is reduced to ".". | |
11310 | ||
f1762c0c UD |
11311 | 2006-08-03 Ulrich Drepper <drepper@redhat.com> |
11312 | ||
fe710250 UD |
11313 | [BZ #2182] |
11314 | * math/s_cacosh.c: Return values from positive branch. | |
11315 | * math/s_cacoshf.c: Likewise. | |
11316 | * math/s_cacoshl.c: Likewise. | |
11317 | ||
a5852807 UD |
11318 | [BZ #2883] |
11319 | * sysvipc/sys/msg.h: Change return value to ssize_t. | |
11320 | * sysdeps/unix/sysv/linux/msgrcv.c: Likewise. | |
fe710250 UD |
11321 | * sysvipc/msgrcv.c: Likewise. |
11322 | * include/sys/msg.h: Likewise. | |
39571a13 | 11323 | |
6c215a8d UD |
11324 | * grp/initgroups.c (internal_getgrouplist): Remove unnecessary |
11325 | test introduced in patch for bz #661. | |
39571a13 | 11326 | (getgrouplist): Simplify code a bit. Don't allocate one additional |
f13bfdd0 | 11327 | element for NEWGROUPS. |
6c215a8d | 11328 | |
9c06eb66 UD |
11329 | [BZ #2908] |
11330 | * stdio-common/printf_fphex.c (__printf_fphex): When rounding up | |
11331 | 'f', use '1' as leading digit not '\1'. | |
11332 | * stdio-common/Makefile (tests): Add bug16. | |
11333 | * stdio-common/bug16.c: New file. | |
11334 | ||
11335 | [BZ #2914] | |
11336 | * sysdeps/unix/sysv/linux/gethostid.c: Don't define OLD_HOSTIDFILE | |
11337 | and don't try to open it. The patch introducing the macro | |
11338 | contained a bug and used the same file name as the new file | |
11339 | instead of using /var/adm/hostid. Nobody complaint so I'm taking | |
11340 | this out completely. | |
11341 | ||
11342 | [BZ #2926] | |
11343 | * assert/assert.h: Move cast to void inside ?: to quiet gcc. | |
11344 | Patch by Jerry James <Jerry.James@usu.edu>. | |
11345 | ||
f1762c0c UD |
11346 | * rt/Makefile (tests): Add tst-clock2. |
11347 | * rt/tst-clock2.c: New file. | |
11348 | ||
11349 | [BZ #2978] | |
11350 | * resolv/gai_notify.c (__gai_notify_only): Copy memory for thread | |
11351 | function and its parameters and pass it to new thread. | |
11352 | (__gai_notify): Add support for alternative waiting for completion. | |
11353 | * resolv/gai_suspend.c (gai_suspend): Add support for alternative | |
11354 | waiting for completion. | |
11355 | * resolv/getaddrinfo_a.c: Likewise. | |
11356 | * resolv/gai_misc.h (struct waitlist): Don't add cond if alternative | |
11357 | waiting for completion is used. | |
11358 | * resolv/gai_misc.c: Allow overwriting code to start helper thread. | |
11359 | * resolv/gai_cancel.c: Include <gai_misc.h> not "gai_misc.h". | |
11360 | * resolv/gai_error.c: Likewise. | |
11361 | * resolv/gai_sigqueue.c: Likewise. | |
11362 | ||
83ae6b40 RM |
11363 | 2006-08-02 Thomas Schwinge <tschwinge@gnu.org> |
11364 | ||
0e4e62fe | 11365 | * hurd/getdport.c (__getdport): Don't return EBADF; instead set |
f1762c0c | 11366 | errno to EBADF and return MACH_PORT_NULL. |
83ae6b40 | 11367 | |
82ee37c5 UD |
11368 | 2006-06-23 Joseph Myers <joseph@codesourcery.com> |
11369 | ||
11370 | [BZ #2980] | |
f1762c0c | 11371 | * posix/Makefile (CFLAGS-waitid.c): Add -fasynchronous-unwind-tables. |
82ee37c5 UD |
11372 | |
11373 | 2006-08-02 Ulrich Drepper <drepper@redhat.com> | |
11374 | ||
11375 | * elf/dl-addr.c (_dl_addr): If GNU-style hash tables are present, | |
11376 | walk them instead of the symbol table. | |
11377 | ||
7bb1b2c9 UD |
11378 | 2006-08-01 Ulrich Drepper <drepper@redhat.com> |
11379 | ||
f13bfdd0 | 11380 | [BZ #2098] |
fbbc73b3 UD |
11381 | * nscd/initgrcache.c (addinitgroupsX): Judge successful lookups by |
11382 | status of NSS calls, not the number of returned entries. | |
11383 | ||
a4518922 UD |
11384 | * sysdeps/unix/sysv/linux/syscalls.list: Remove add_key, |
11385 | request_key, keyctl. | |
7bb1b2c9 | 11386 | |
b06e7e9a UD |
11387 | 2006-07-31 Ulrich Drepper <drepper@redhat.com> |
11388 | ||
11389 | * sysdeps/unix/sysv/linux/dl-osinfo.h: Remove unnecessary include. | |
11390 | ||
f1227969 UD |
11391 | 2006-07-16 Jeff Bailey <jbailey@ubuntu.com> |
11392 | ||
11393 | * elf/tst-auditmod1.c: Fix typo in #error. | |
11394 | ||
82ae2712 UD |
11395 | 2006-07-31 Ulrich Drepper <drepper@redhat.com> |
11396 | ||
f1227969 UD |
11397 | * elf/tst-auditmod1.c: Remove code for unsupported architectures. |
11398 | ||
82ae2712 UD |
11399 | * iconvdata/run-iconv-test.sh: Run cmp in C locale. |
11400 | ||
a1260d92 UD |
11401 | 2006-07-20 Adam Nemet <anemet@caviumnetworks.com> |
11402 | ||
11403 | * stdlib/test-canon.c (do_test): Close fd before unlinking file so | |
b06e7e9a | 11404 | that the directory is empty even on non-POSIX filesystems. |
a1260d92 | 11405 | |
d2de41fe UD |
11406 | 2006-07-31 Ulrich Drepper <drepper@redhat.com> |
11407 | ||
13669f2c UD |
11408 | * elf/dl-open.c (dl_open_worker): Add branch prediction. |
11409 | ||
d2de41fe UD |
11410 | * nis/nss_compat/compat-grp.c: Avoid unnecessary setgrent calls into |
11411 | the backend NSS module. If backend setgrent call failed, don't have | |
11412 | internal_setgrent fail. Just remember this until it is needed. | |
11413 | * nis/nss_compat/compat-pwd.c: Likewise. | |
11414 | * nis/nss_compat/compat-spwd.c: Likewise. | |
11415 | ||
b894c2ea RM |
11416 | 2006-07-30 Roland McGrath <roland@redhat.com> |
11417 | ||
11418 | * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: File removed. | |
11419 | * sysdeps/unix/sysv/linux/x86_64/sigsuspend.c: File removed. | |
11420 | * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: File removed. | |
11421 | * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: File removed. | |
11422 | ||
11423 | * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): New macro. | |
11424 | (nanosleep_not_cancel): New macro. | |
11425 | (sigsuspend_not_cancel): new macro. | |
11426 | * sysdeps/unix/sysv/linux/sigsuspend.c [__ASSUME_REALTIME_SIGNALS] | |
11427 | (do_sigsuspend): Define as inline. | |
11428 | (__sigsuspend): Always use do_sigsuspend. | |
11429 | [! NO_CANCELLATION] (__sigsuspend_nocancel): New function. | |
11430 | * include/signal.h: Declare __sigsuspend_nocancel. | |
11431 | * sysdeps/posix/pause.c | |
11432 | [! NO_CANCELLATION] (__pause_nocancel): New function. | |
11433 | ||
11434 | * include/unistd.h (__pause_nocancel): Add attribute_hidden. | |
11435 | * include/time.h (__nanosleep_nocancel): Likewise. | |
11436 | ||
c10d32c8 UD |
11437 | 2006-07-30 Ulrich Drepper <drepper@redhat.com> |
11438 | ||
11439 | * locale/programs/localedef.c (add_to_readlist): Rename local | |
11440 | variables to avoid confusion. | |
11441 | ||
11442 | * locale/programs/charmap.c (charmap_read): Emit error message if | |
11443 | charmap couldn't be found or read. | |
11444 | ||
6822f056 UD |
11445 | 2006-07-28 Ulrich Drepper <drepper@redhat.com> |
11446 | ||
d5ba53f9 UD |
11447 | * sysdeps/unix/sysv/linux/kernel-features.h: Define |
11448 | __ASSUME_FUTEX_LOCK_PI. | |
11449 | * include/time.h: Declare __nanosleep_nocancel. | |
11450 | * include/unistd.h: Declare __pause_nocancel. | |
11451 | ||
6822f056 UD |
11452 | * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Use this instead of |
11453 | LDFLAGS. Add -lgcc_eh and libc_nonshared (again) to make sure we | |
11454 | get the __stack_chk_fail_local definition when it's needed. | |
11455 | ||
3a975ff5 UD |
11456 | 2006-07-26 Ulrich Drepper <drepper@redhat.com> |
11457 | ||
6de1f625 UD |
11458 | * dlfcn/Makefile: Add rules to build and run bug-atexit3. |
11459 | * dlfcn/bug-atexit3.c: New file. | |
11460 | * dlfcn/bug-atexit3-lib.cc: New file. | |
11461 | ||
3a975ff5 UD |
11462 | * dlfcn/dlmopen.c (dlmopen_doit): Don't allow RTLD_GLOBAL to be |
11463 | used when the namespace is not the base namespace. | |
11464 | ||
a92b1166 UD |
11465 | 2006-07-26 Gavin Romig-Koch <gavin@redhat.com> |
11466 | ||
11467 | * stdlib/cxa_atexit.c (__new_exitfn_called): New variable. | |
11468 | (__new_exitfn): Bump it in every successful call. | |
11469 | * stdlib/cxa_finalize.c (__cxa_finalize): If destructor registered | |
11470 | more exit handlers, call them right away. | |
11471 | * stdlib/exit.h: Declare __new_exitfn_called. | |
11472 | ||
a08336fb UD |
11473 | 2006-07-25 Ulrich Drepper <drepper@redhat.com> |
11474 | ||
bd3754dc UD |
11475 | * stdlib/cxa_finalize.c (__cxa_finalize): Fix race condition when |
11476 | calling registered handler. | |
11477 | ||
a08336fb UD |
11478 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Fix comment. |
11479 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. | |
11480 | * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. | |
11481 | * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. | |
11482 | * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. | |
11483 | * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. | |
11484 | * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. | |
11485 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. | |
11486 | ||
871b9158 UD |
11487 | 2006-07-10 Ulrich Drepper <drepper@redhat.com> |
11488 | ||
11489 | * elf/dl-lookup.c (dl_new_hash): New functions. | |
11490 | (_dl_lookup_symbol_x): Rename hash to old_hash and don't compute | |
11491 | value here. Compute new-style hash value. Pass new hash value | |
11492 | and reference to variable with the old value to do_lookup_x. | |
11493 | (_dl_setup_hash): If DT_GNU_HASH is defined, use it and not | |
11494 | old-style hash table. | |
11495 | (_dl_debug_bindings): Pass new hash value and reference to variable | |
11496 | with the old value to do_lookup_x. | |
11497 | * elf/do-lookup.h (do_lookup_x): Accept additional parameter with | |
11498 | new-style hash value and change old-style hash value parameter to | |
11499 | be a reference. Reoganize functions to determine whether | |
11500 | new-style hash table is available. Only fall back on old-style | |
11501 | table. If old-style hash value is needed, compute it here. | |
11502 | * elf/dynamic-link.h (elf_get_dynamic_info): Relocate DT_GNU_HASH | |
11503 | entry. | |
11504 | * elf/elf.h: Define SHT_GNU_HASH, DT_GNU_HASH, DT_TLSDEC_PLT, | |
11505 | DT_TLSDEC_GOT. Adjust DT_ADDRNUM. | |
11506 | * include/link.h (struct link_map): Add l_gnu_bitmask_idxbits, | |
11507 | l_gnu_shift, l_gnu_bitmask, l_gnu_buckets and l_gnu_chain_zero. | |
11508 | * Makeconfig: If linker supports --hash-style option add it to all | |
11509 | linker command lines to build DSOs. | |
11510 | * config.make.in: Define have-hash-style. | |
11511 | * configure.in: Test whether linker supports --hash-style option. | |
11512 | ||
11513 | * elf/dl-misc.c (_dl_name_match_p): Make MAP parameter const. | |
11514 | * sysdeps/generic/ldsodefs.h: Adjust prototype. | |
11515 | ||
a1f0de82 UD |
11516 | 2006-06-27 Ulrich Drepper <drepper@redhat.com> |
11517 | ||
361a3706 UD |
11518 | * elf/dl-load.c (open_path): Fix test to determine whether DSO is |
11519 | auditing. | |
11520 | ||
a1f0de82 UD |
11521 | * elf/dl-load.c (_dl_map_object): Try harder to avoid looking at |
11522 | RPATH of main map twice. | |
11523 | ||
4259230f UD |
11524 | 2006-06-22 Ulrich Drepper <drepper@redhat.com> |
11525 | ||
11526 | * intl/dcigettext.c (DCIGETTEXT): If _nl_find_msg returns -1 don't | |
11527 | look further, return original strings. | |
11528 | (_nl_find_msg): Do not return found translation if the conversion | |
11529 | failed. Either signal the string is unusable or that something went | |
11530 | wrong and the original should be used. | |
11531 | ||
11532 | 2006-06-21 Ulrich Drepper <drepper@redhat.com> | |
11533 | ||
11534 | * string/_strerror.c (__strerror_r): Add __builtin_expect. | |
11535 | ||
f9b7a98b UD |
11536 | 2006-06-14 Jakub Jelinek <jakub@redhat.com> |
11537 | ||
11538 | [BZ #2766] | |
11539 | * misc/insremque.c (insque): Handle prev == NULL. | |
11540 | * misc/Makefile (tests): Add tst-insremque. | |
11541 | * misc/tst-insremque.c: New test. | |
11542 | ||
ac55a25b UD |
11543 | 2006-06-17 Ulrich Drepper <drepper@redhat.com> |
11544 | ||
11545 | [BZ #2792] | |
11546 | * elf/dl-deps.c (expand_dst): Rename __cnt variable to not | |
11547 | conflict with DL_DST_REQUIRED. | |
11548 | ||
02f366b3 UD |
11549 | 2006-06-16 Ulrich Drepper <drepper@redhat.com> |
11550 | ||
11551 | * nis/nis_subr.c (nis_getnames): Fix the implementation to better | |
11552 | match what Solaris does. | |
11553 | ||
9009e8f8 UD |
11554 | 2006-06-04 Ulrich Drepper <drepper@redhat.com> |
11555 | ||
1b8373f4 UD |
11556 | * sysdeps/posix/spawni.c (__spawni): Use local_seteuid and |
11557 | local_setegid instead of seteuid and setegid. | |
11558 | * sysdeps/generic/local-setxid.h: New file. | |
11559 | * sysdeps/unix/sysv/linux/local-setxid.h: New file. | |
11560 | ||
7231452e UD |
11561 | * sysdeps/posix/spawni.c (__spawni): Use non-cancelable interfaces. |
11562 | ||
9009e8f8 | 11563 | * string/Makefile (tests): Add bug-envz1. |
02f366b3 | 11564 | * string/bug-envz1.c: New file. |
9009e8f8 | 11565 | |
33e63e79 UD |
11566 | 2006-06-02 Jakub Jelinek <jakub@redhat.com> |
11567 | ||
11568 | * posix/regex_internal.c (re_string_skip_chars): If no character has | |
11569 | been converted at all, set *last_wc to WEOF. If mbrtowc failed, set wc | |
11570 | to the byte which couldn't be converted. | |
11571 | (re_string_reconstruct): Don't clear valid_raw_len before calling | |
11572 | re_string_skip_chars. If wc is WEOF after re_string_skip_chars, set | |
11573 | tip_context using re_string_context_at. | |
11574 | * posix/Makefile: Add rules to build and run bug-regex25 test. | |
11575 | * posix/bug-regex25.c: New test. | |
11576 | ||
fdc02996 UD |
11577 | 2006-06-02 Ryan S. Arnold <rsa@us.ibm.com> |
11578 | ||
11579 | [BZ #2703] | |
11580 | * string/envz.c (envz_strip): Correct erroneously reversed src | |
11581 | and dest parameters to memmove() invocation. | |
11582 | ||
902c4291 UD |
11583 | 2006-05-30 Jakub Jelinek <jakub@redhat.com> |
11584 | ||
11585 | * nscd/nscd.h (prune_cache): Add fd argument to prototype. | |
11586 | * nscd/nscd.c (parse_opt): Read response from INVALIDATE request | |
11587 | to make sure the database has been already invalidated. | |
11588 | * nscd/cache.c (prune_cache): Add fd argument. Write response to fd | |
11589 | after the cache has been invalidated. Use pthread_mutex_lock rather | |
11590 | than pthread_mutex_trylock if fd != -1. | |
11591 | * nscd/connections.c (invalidate_cache): Add fd argument, write | |
11592 | response to fd if not calling prune_cache, pass fd to prune_cache. | |
11593 | (handle_request): Adjust invalidate_cache caller. | |
11594 | (nscd_run): Pass -1 as fd to prune_cache. | |
11595 | ||
ecc68568 UD |
11596 | 2006-05-30 Ulrich Drepper <drepper@redhat.com> |
11597 | ||
11598 | * sysdeps/posix/getaddrinfo.c (gaiconf_init): Initialize bits in | |
11599 | the correct place. | |
11600 | ||
9636a217 UD |
11601 | 2006-05-29 Ulrich Drepper <drepper@redhat.com> |
11602 | ||
11603 | * nscd/nscd.h (struct database_dyn): Add prunelock field. | |
11604 | * nscd/cache.c (prune_cache): Take prunelock before starting the | |
11605 | work. Just return in case it is already taken. | |
cabfcde1 | 11606 | * nscd/connections.c (dbs): Initialize .prunelock. |
9636a217 | 11607 | |
6bcb494a UD |
11608 | 2006-05-25 Ulrich Drepper <drepper@redhat.com> |
11609 | ||
672d5a63 | 11610 | * nis/nis_removemember.c (nis_removemember): Avoid unnecessary |
ecc68568 | 11611 | copying. No need to allocate new array for group members. Just |
672d5a63 UD |
11612 | move the pointers and update the size. |
11613 | ||
1663b44f UD |
11614 | * nis/nis_addmember.c (nis_addmember): Avoid unnecessary copying. |
11615 | Avoid memory leak in case realloc fails. Simplification for | |
11616 | better code generation. | |
11617 | ||
11618 | Avoid deprecation warning because of libc_hidden_proto for | |
11619 | inet6_option_alloc. | |
11620 | * inet/inet6_option.c (option_alloc): Renamed from | |
11621 | inet6_option_alloc. Made static. | |
9636a217 | 11622 | (inet6_option_alloc): Now a simple wrapper around option_alloc. |
1663b44f UD |
11623 | (inet6_option_append): Call option_alloc. |
11624 | * include/netinet/in.h: Remove libc_hidden_proto for | |
11625 | inet6_option_alloc. | |
11626 | ||
6bcb494a UD |
11627 | * nis/nis_callback.c (__nis_create_callback): Always call xdr_free |
11628 | for cleanup when cb!=NULL [Coverity CID 233]. | |
11629 | ||
aec6b246 UD |
11630 | 2006-05-24 Ulrich Drepper <drepper@redhat.com> |
11631 | ||
07bfff20 UD |
11632 | [BZ #2693] |
11633 | * inet/Makefile (routines): Add inet6_opt and inet6_rth. | |
11634 | * inet/Versions (libc, GLIBC_2.5): Add inet6_opt_init, | |
11635 | inet6_opt_append, inet6_opt_finish, inet6_opt_set_val, inet6_opt_next, | |
11636 | inet6_opt_find, inet6_opt_get_val, inet6_rth_space, inet6_rth_init, | |
11637 | inet6_rth_add, inet6_rth_reverse, inet6_rth_segments, | |
11638 | and inet6_rth_getaddr. | |
11639 | * inet/netinet/ip6.h (struct ip6_rthdr0): Make ip6r0_addr a flexible | |
11640 | array. | |
11641 | * inet/netinet/in.h (struct ip6_mtuinfo): Define. | |
11642 | Mark inet6_option_* interfaces as deprecated. | |
11643 | Declare inet6_opt_init, inet6_opt_append, inet6_opt_finish, | |
11644 | inet6_opt_set_val, inet6_opt_next, inet6_opt_find, inet6_opt_get_val, | |
11645 | inet6_rth_space, inet6_rth_init, inet6_rth_add, inet6_rth_reverse, | |
11646 | inet6_rth_segments, and inet6_rth_getaddr. | |
11647 | * inet/inet6_opt.c: New file. | |
11648 | * inet/inet6_rth.c: New file. | |
11649 | ||
11650 | * inet/netinet/icmp6.h: Pretty printing. | |
11651 | ||
aec6b246 UD |
11652 | [BZ #2683] |
11653 | * elf/dl-addr.c (_dl_addr): Don't match undefined references. | |
11654 | ||
2d571cd1 UD |
11655 | 2006-05-23 Ulrich Drepper <drepper@redhat.com> |
11656 | ||
062e719b UD |
11657 | * nis/nis_lookup.c (nis_lookup): Use __prepare_niscall instead of |
11658 | doing it all here. When server does not know the answer do not | |
11659 | fail immediate, try parent first. | |
11660 | ||
2d571cd1 UD |
11661 | * nis/nis_domain_of_r.c (nis_domain_of_r): Add missing buffer |
11662 | overflow test. | |
11663 | ||
a17fa610 UD |
11664 | 2006-05-20 Ulrich Drepper <drepper@redhat.com> |
11665 | ||
11666 | * nis/nis_call.c (__prepare_niscall): New function. Split out | |
11667 | from __do_niscall. | |
11668 | * nis/nis_table.c (__create_ib_request): Renamed from create_ib_request | |
11669 | and exported. | |
11670 | (__follow_path): New function. Split out from nis_list. | |
11671 | * nis/nis_xdr.h: Add libnsl_hidden_proto for _xdr_ib_request and | |
11672 | _xdr_nis_result. | |
11673 | * nis/nis_xdr.c: Add libnsl_hidden_def for _xdr_ib_request and | |
11674 | _xdr_nis_result. | |
11675 | * nis/libnsl.h: Declare __prepare_niscall, __create_ib_request, | |
11676 | and __follow_path. | |
11677 | * nis/Versions: Export __prepare_niscall, __create_ib_request, | |
11678 | __follow_path, __do_niscall3, _xdr_ib_request, and _xdr_nis_result | |
11679 | from libnsl for version GLIBC_PRIVATE. | |
11680 | * nis/nisplus-parser.h: Remove _nss_nisplus_parse_pwent_chk. | |
11681 | Remove entry parameter from _nss_nisplus_parse_pwent and | |
11682 | _nss_nisplus_parse_grent. | |
11683 | * nis/nss_nisplus/nisplus-parser.c: Likewise. | |
11684 | * nis/nss_nisplus/nisplus-pwd.c: Remove support for SETENT_BATCH_READ | |
11685 | again. Rewrite getpwent handling to not use nis_first_entry and | |
11686 | nis_next_entry. Roll out own niscall handling. | |
11687 | * nis/nss_nisplus/nisplus-grp.c: Likewise. | |
11688 | ||
11689 | * sunrpc/xdr_rec.c: Fix typo in comment. | |
11690 | ||
429bb183 UD |
11691 | 2006-05-19 Ulrich Drepper <drepper@redhat.com> |
11692 | ||
1d4f062a UD |
11693 | * nis/nis_call.c (__do_niscall3): Avoid code duplication in error |
11694 | handling. | |
11695 | ||
101cc598 UD |
11696 | * nis/nis_callback.c (internal_nis_do_callback): Don't use malloc |
11697 | to allocate memory for my_pollfd. Better initialization of | |
11698 | cb_is_running. Use TEMP_FAILURE_RETRY. | |
11699 | ||
f50fa10c UD |
11700 | * malloc/memusage.sh (memusageso): Add quotes. |
11701 | (memusagestat): Likewise. | |
11702 | * debug/xtrace.sh (pcprofileso): Likewise. | |
11703 | (pcprofiledump): Likewise. | |
11704 | * debug/Makefile ($(objpfx)xtrace): Use $LIB in SLIBDIR | |
11705 | replacement. | |
11706 | * malloc/Makefile ($(objpfx)memusage): Likewise. | |
11707 | ||
882bfe73 UD |
11708 | * nis/nis_callback.c (__nis_create_callback): Calls to |
11709 | svcudp_bufcreate and svctcp_create can fail. Free ->xprt if | |
11710 | asprintf call fails. | |
11711 | ||
429bb183 UD |
11712 | * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_sendreq): Make sure |
11713 | no uninitialized memory is passed to sendto. | |
11714 | ||
f90de831 UD |
11715 | 2006-05-18 Ulrich Drepper <drepper@redhat.com> |
11716 | ||
11717 | * nis/nis_callback.c (__nis_create_callback): Use asprinf instead | |
11718 | of snprintf+strdup. Handle OOM. | |
11719 | * nis/nis_callback.c (__nis_create_callback): Allocate cb and | |
11720 | cb->serv together. Remove now obsolete free calls. | |
11721 | (__nis_destroy_callback): Remove now obsolete free call. | |
11722 | ||
a17fa610 | 11723 | 2006-05-18 David Woodhouse <dwmw2@redhat.com> |
6e2a7825 UD |
11724 | |
11725 | * sysdeps/posix/getaddrinfo.c: Add unique labels to the default | |
11726 | RFC3484 precedence table for fec0::/10 and fc00::/7 (site-local | |
11727 | and ULA respectively). Set precedence for IPv4 address to 10 as | |
11728 | defined in RFC3484 for preferring IPv6. | |
11729 | * posix/gai.conf: Update to match the new default tables. | |
11730 | ||
758b9d7e UD |
11731 | 2006-05-18 Jakub Jelinek <jakub@redhat.com> |
11732 | ||
11733 | * nis/nss_compat/compat-pwd.c (internal_setpwent): If nss_set*ent | |
11734 | returned NSS_STATUS_UNAVAIL, still return NSS_STATUS_SUCCESS. | |
11735 | * nis/nss_compat/compat-spwd.c (internal_setspent): Likewise. | |
11736 | * nis/nss_compat/compat-grp.c (internal_setgrent): Likewise. | |
11737 | ||
11738 | * nis/nss_compat/compat-initgroups.c (nss_setgrent, nss_endgrent): | |
11739 | Removed. | |
11740 | (init_nss_interface): Remove initialization of these variables. | |
11741 | ||
11742 | 2006-05-18 Ulrich Drepper <drepper@redhat.com> | |
11743 | ||
11744 | * nis/nis_call.c (rec_dirsearch): Little optimization: pull | |
11745 | nis_free_directory forward to avoid duplication. | |
11746 | ||
388c779e UD |
11747 | 2006-05-17 Ulrich Drepper <drepper@redhat.com> |
11748 | ||
5f1724bf UD |
11749 | * nis/nis_call.c (rec_dirsearch): Handle __nis_finddirectory and |
11750 | rec_dirsearch returning NULL. | |
11751 | (first_shoot): Handle __nis_finddirectory returning NULL. | |
11752 | (__nisfind_server): Fix leak when rec_dirsearch returns NULL. | |
11753 | ||
388c779e UD |
11754 | * sysdeps/unix/sysv/linux/sys/inotify.h: Define IN_CLOSE, IN_MOVE, |
11755 | IN_ONLYDIR, IN_DONT_FOLLOW, and IN_MASK_ADD. | |
11756 | ||
360d5cf4 UD |
11757 | 2006-05-17 Jakub Jelinek <jakub@redhat.com> |
11758 | ||
11759 | * sunrpc/key_call.c (getkeyserv_handle): Call auth_destroy if | |
11760 | pid changed. | |
11761 | ||
88dbff8c UD |
11762 | 2006-05-15 Ulrich Drepper <drepper@redhat.com> |
11763 | ||
6f8a7dff UD |
11764 | * include/rpc/pmap_prot.h: Mark all functions as hidden. |
11765 | ||
11766 | * nscd/nscd_initgroups.c: Mark __gr_map_handle as hidden. | |
11767 | * nscd/nscd_getgr_r.c: Likewise. | |
11768 | ||
11769 | * include/rpc/pmap_rmt.h: Mark all functions as hidden. | |
11770 | ||
11771 | * nscd/nscd_getai.c (__hst_map_handle): Mark as hidden. | |
11772 | * nscd/nscd_gethst_r.c (__hst_map_handle): Likewise. | |
11773 | ||
11774 | * stdlib/longlong.h (__clz_tab): Mark as hidden. | |
11775 | ||
11776 | * iconv/gconv_int.h: Mark __gconv_lock as hidden. | |
11777 | ||
360d5cf4 | 11778 | * include/rpc/key_prot.h: Mark all _internal functions as hidden. |
8263ed62 UD |
11779 | |
11780 | * include/rpc/auth.h: Mark xdr_des_block_internal and | |
11781 | xdr_opaque_auth_internal as hidden. | |
11782 | ||
11783 | * sysdeps/unix/sysv/linux/getdents.c: Mark __have_no_getdents64 as | |
11784 | hidden. | |
11785 | ||
360d5cf4 | 11786 | * include/rpc/xdr.h: Mark all _internal functions as hidden. |
8263ed62 | 11787 | |
02264020 UD |
11788 | * misc/getusershell.c (okshells): Don't use static initializers, |
11789 | do it dynamically. | |
11790 | ||
fd5ea238 UD |
11791 | * stdlib/fmtmsg.c (keywords): Change type of len element to |
11792 | uint32_t to not waste space on 64bit machines. | |
11793 | ||
9446614c UD |
11794 | * locale/setlocale.c: Change _nl_category_names into a string. |
11795 | Add new _nl_category_name_idxs. Change all users. | |
11796 | * locale/localeinfo.h: Adjust declaration of _nl_category_names. | |
11797 | Declare _nl_category_name_idxs. | |
11798 | * locale/findlocale.c: Adjust for _nl_category_names change. | |
11799 | * locale/loadlocale.c: Likewise. | |
11800 | * locale/newlocale.c: Likewise. | |
11801 | * intl/dcigettext.c: Likewise. | |
11802 | ||
88dbff8c UD |
11803 | * iconv/gconv_conf.c (add_alias): Move actual alias handling to... |
11804 | (add_alias2): ...here. New function. | |
11805 | (__gconv_read_conf): Simplify builtin alias handling. | |
11806 | (builtin_aliases): Convert to string to avoid relocations. | |
11807 | * iconv/gconv_builtin.h: Add comment about correct formatting. | |
11808 | ||
4442d58f UD |
11809 | 2006-05-15 Jakub Jelinek <jakub@redhat.com> |
11810 | ||
11811 | * resolv/res_debug.c (loc_ntoa): Make error const. | |
11812 | ||
11813 | 2006-05-14 Andreas Schwab <schwab@suse.de> | |
11814 | ||
11815 | * math/complex.h [__LDBL_COMPAT]: Use __REDIRECT_NTH. | |
11816 | ||
11817 | 2006-05-12 Jakub Jelinek <jakub@redhat.com> | |
11818 | ||
11819 | * sysdeps/unix/sysv/linux/sched_getaffinity.c: Include sys/param.h. | |
11820 | (__sched_getaffinity_new): Don't crash if cpusetsize is smaller than | |
11821 | sizeof (cpu_set_t). | |
11822 | ||
a51752b6 UD |
11823 | 2006-05-11 Ulrich Drepper <drepper@redhat.com> |
11824 | ||
5d3fd1f6 UD |
11825 | * resolv/res_debug.c (loc_ntoa): Define error as array, not pointer. |
11826 | ||
08cfb839 UD |
11827 | * include/arpa/nameser.h: Declare _ns_flagdata as hidden. |
11828 | ||
4b481a15 UD |
11829 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_master. |
11830 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_master. | |
11831 | ||
11832 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypbind_resp. | |
11833 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypbind_resp. | |
11834 | ||
11835 | * nis/nis_xdr.c: Add libnsl_hidden_def for xdr_cback_data. | |
11836 | * include/rpcsvc/nis_callback.h: Add libnsl_hidden_proto for | |
11837 | xdr_cback_data. | |
11838 | ||
11839 | * nis/ypupdate_xdr.c: Add libnsl_hidden_def for xdr_ypupdate_args. | |
11840 | * include/rpcsvc/ypupd.h: Add libnsl_hidden_proto for | |
11841 | xdr_ypupdate_args. | |
11842 | ||
11843 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_order. | |
11844 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_order. | |
11845 | ||
11846 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_maplist. | |
11847 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_maplist. | |
11848 | ||
11849 | * nis/nis_xdr.c: Add libnsl_hidden_def for xdr_obj_p. | |
11850 | * include/rpcsvc/nis_callback.h: New file. | |
11851 | ||
11852 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypresp_val. | |
11853 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypresp_val. | |
11854 | ||
11855 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypreq_nokey. | |
11856 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypreq_nokey. | |
11857 | ||
11858 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypmaplist. | |
11859 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypmaplist. | |
11860 | ||
11861 | * nis/yp_xdr.c: Add libnsl_hidden_def for xdr_ypreq_nokey. | |
11862 | * include/rpcsvc/yp.h: Add libnsl_hidden_proto for xdr_ypreq_nokey. | |
11863 | ||
b1ad49c6 UD |
11864 | * nis/ypupdate_xdr.c: Add libnsl_hidden_def for xdr_ypdelete_args. |
11865 | * include/rpcsvc/ypupd.h: Add libnsl_hidden_proto for | |
11866 | xdr_ypdelete_args. | |
11867 | ||
cd5f7829 UD |
11868 | * nis/nis_xdr.h: Mark all functions as hidden. Remove |
11869 | __BEGIN_DECLS and __END_DECLS, the header is not installed. | |
11870 | ||
a51752b6 UD |
11871 | * nis/nis_error.c: Remove table of strings. Use position |
11872 | independent mechanism. | |
11873 | * nis/nis_error.h: New file. | |
11874 | ||
3d237e42 UD |
11875 | 2006-05-11 Jakub Jelinek <jakub@redhat.com> |
11876 | ||
11877 | * locale/programs/ld-time.c (time_finish): If wide era name or | |
11878 | format aren't provided, set both wname and wformat to L"". | |
11879 | ||
d6c159fe UD |
11880 | 2006-05-10 Ulrich Drepper <drepper@redhat.com> |
11881 | ||
0088b04e UD |
11882 | * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Only store |
11883 | results if the call was succesful. | |
11884 | ||
d6c159fe UD |
11885 | * nis/nss-nis.h: Mark __yperr2nss_tab and __yperr2nss_count as hidden. |
11886 | ||
11887 | * nis/nss-nisplus.h: Mark __niserr2nss_tab and __niserr2nss_count | |
11888 | as hidden. | |
11889 | ||
5c5acdf0 UD |
11890 | 2006-05-10 Jakub Jelinek <jakub@redhat.com> |
11891 | ||
11892 | * misc/sys/queue.h: Remove uses of all QUEUEDEBUG_* macros. | |
11893 | ||
16d620db UD |
11894 | 2006-05-10 Ulrich Drepper <drepper@redhat.com> |
11895 | ||
11896 | * posix/wordexp.c (parse_glob): No need to check ifs for NULL, the | |
11897 | caller makes sure this is not the case. | |
11898 | (wordexp): Simplify ifs_white creation. [Coverity CID 231] | |
11899 | ||
e7c8359e UD |
11900 | 2006-05-09 Ulrich Drepper <drepper@redhat.com> |
11901 | ||
ecf359c6 UD |
11902 | * posix/wordexp.c: Remove numerous NULL pointer tests before FREE |
11903 | calls. | |
11904 | ||
400cc70a UD |
11905 | * io/ftw.c (open_dir_stream): Return right away if REALLOC fails. |
11906 | [Coverity CID 229, 230] | |
11907 | ||
11908 | * argp/argp-help.c (hol_entry_help): Handle STATE==NULL in ARG and | |
11909 | DGETTEXT calls. | |
11910 | (hol_help): Likewise. [Coverity CID 226, 227] | |
11911 | ||
11912 | * string/argz-replace.c (__argz_replace): Unconditionally call | |
11913 | free on SRC. [Coverity CID 225] | |
11914 | ||
11915 | * nis/nis_creategroup.c (nis_creategroup): No need to duplicate | |
11916 | the return value of __nis_default_owner and __nis_default_group, | |
11917 | it has been especially allocated. [Coverity CID 224] | |
11918 | ||
51e59260 UD |
11919 | * nis/nis_defaults.c (searchXYX): New functions. Used by both |
11920 | searchgroup and searchowner. Significantly simplified. | |
11921 | (__nis_default_owner): Remove duplication. Do not locally copy the | |
11922 | string before duplicating it. | |
11923 | (__nis_default_group): Likewise. | |
11924 | ||
11925 | * nis/nis_lookup.c (nis_lookup): After calling nis_free_directory, | |
11926 | we must clear the variable before calling __nisfind_server. | |
11927 | ||
11928 | * nis/nis_lookup.c (nis_lookup): Always free memory allocated with | |
11929 | nis_getnames. [Coverity CID 223] | |
11930 | ||
11931 | * locale/programs/locfile.c (locfile_read): Use alloca instead of | |
11932 | xmalloc to allocate local repertoire name. [Coverity CID 222] | |
11933 | ||
11934 | * iconv/iconv_charmap.c (use_to_charmap): No need to dynamically | |
11935 | allocate memory for the input to add_bytes. [Coverity CID 221] | |
11936 | ||
e7c8359e | 11937 | * posix/wordexp.c (w_addword): Free word if realloc fails and it |
51e59260 | 11938 | was allocated here. [Coverity CID 219, 220] |
e7c8359e UD |
11939 | |
11940 | * posix/getconf.c (print_all): Free confstr data after printing. | |
11941 | [Coverity CID 218] | |
11942 | ||
11943 | * sysdeps/posix/getaddrinfo.c (gaih_inet): Free canon string if | |
11944 | list allocation fails. [Coverity CID 215] | |
11945 | ||
11946 | * nss/nsswitch.c (__nss_configure_lookup): Fix loop end condition. | |
11947 | [Coverity CID 213] | |
11948 | ||
11949 | * argp/argp-help.c (hol_entry_cmp): Don't call canon_doc_option if | |
11950 | string is NULL. [Coverity CID 212] | |
11951 | * argp/Makefile: Add rules to build and run bug-argp1. | |
11952 | * argp/bug-argp1.c: New file. | |
11953 | ||
11954 | * io/ftw.c (ftw_dir): Use __rawmemchr instead of strchr to find | |
11955 | end of string. | |
11956 | * stdlib/canonicalize.c (__realpath): Likewise. | |
11957 | ||
11958 | * locale/programs/ld-time.c (time_finish): Don't dereference NULL | |
11959 | pointer. [Coverity CID 206] | |
11960 | ||
11961 | * elf/dl-dst.h (DL_DST_REQUIRED): Be prepared for missing link map | |
11962 | in statically linked code. | |
11963 | * elf/dl-load.c (_dl_dst_substitute): When replacing ORIGIN in | |
11964 | statically built code, be prepared to have no link map. | |
11965 | [Coverity CID 205] | |
11966 | ||
11967 | * argp/argp-help.c (fill_in_uparams): Handle STATE==NULL in | |
11968 | dgettext calls. [Coverity CID 204] | |
11969 | ||
11970 | * argp/argp-help.c (struct uparams): Remove valid member. Change | |
11971 | the one user. | |
11972 | (uparam_names): Reduce size. Avoid relative relocations. | |
11973 | Moved to read-only segment. | |
11974 | (fill_in_uparams): Update for new layout. | |
11975 | ||
11976 | * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Parameter can be | |
11977 | assumed to always be != NULL. [Coverity CID 202] | |
11978 | ||
11979 | * argp/argp-help.c (hol_entry_help): Remove some dead code | |
11980 | [Coverity CID 200]. | |
11981 | ||
11982 | * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Optimize | |
11983 | away a few more unconditional yperr2nss calls. | |
11984 | (_nss_nis_getservbyname_r): Likewise. | |
11985 | ||
acf82eaf UD |
11986 | 2006-05-06 Ulrich Drepper <drepper@redhat.com> |
11987 | ||
4461cf48 UD |
11988 | * sysdeps/generic/ldsodefs.h: Remove support for non-core |
11989 | architectures. | |
11990 | ||
b74a8c7f UD |
11991 | * sysdeps/unix/sysv/linux/check_pf.c (make_request): Make sure |
11992 | that unused memory passed to sendto is nevertheless initialized. | |
11993 | ||
acb98cb5 UD |
11994 | [BZ #2499] |
11995 | * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Avoid | |
11996 | possibly unaligned memory accesses. | |
11997 | ||
bce16467 UD |
11998 | * include/arpa/nameser.h: Also optimize NS_PUT16 and NS_PUT32. |
11999 | * resolv/res_mkquery.c: Use NS_PUT16 and NS_PUT32 instead of __putshort | |
12000 | and __putlong respectively. Correct buffer overflow check for | |
12001 | NS_NOTIFY_OP. | |
12002 | ||
12003 | * resolv/res_send.c (send_vc): Use ns_put16 instead of putshort. | |
12004 | ||
8e45b1ac UD |
12005 | * resolv/res_send.c (res_queriesmatch): Fix typo in comment. |
12006 | (send_dg): Rewrite error handling to be more compact and avoid | |
12007 | double recomputation of timeouts. Pass MSG_NOSIGNAL to send. | |
12008 | ||
697e1628 UD |
12009 | * include/arpa/nameser.h: Add optimizations for NS_GET16 and NS_GET32. |
12010 | ||
12011 | * resolv/res_send.c (res_nameinquery): Use NS_GET16 directly | |
12012 | instead of ns_get16. | |
12013 | (res_queriesmatch): Likewise. Minor optimization. | |
12014 | ||
acf82eaf UD |
12015 | [BZ #2499] |
12016 | * resolv/res_query.c (__libc_res_nquery): If answerp != NULL, | |
12017 | __libc_res_nsend might reallocate the buffer for the answer. In | |
12018 | this case we have to reload the HP pointer. | |
12019 | ||
7bfee654 UD |
12020 | 2006-05-05 Ulrich Drepper <drepper@redhat.com> |
12021 | ||
694b49ca UD |
12022 | * stdio-common/vfscanf.c (memory_error): Remove definition. Add |
12023 | some branch prediction hints. | |
12024 | ||
7bfee654 UD |
12025 | * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define SPLICE_F_*. |
12026 | * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. | |
12027 | * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. | |
12028 | * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. | |
12029 | * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. | |
12030 | * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise. | |
12031 | * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. | |
12032 | * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. | |
12033 | ||
308bb2d5 UD |
12034 | 2006-05-05 Martin Schwidefsky <schwidefsky@de.ibm.com> |
12035 | ||
12036 | * sysdeps/s390/s390-32/elf/start.S: Replace pc relative relocation | |
12037 | by a GOT relocation to make Scrt1.o position independent. | |
12038 | * sysdeps/s390/s390-64/elf/start.S: Likewise. | |
12039 | ||
12040 | * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: Add support for | |
12041 | six system call parameters. | |
12042 | * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise. | |
12043 | ||
cdb9c321 UD |
12044 | 2006-05-05 Ulrich Drepper <drepper@redhat.com> |
12045 | ||
12046 | * sunrpc/svcauth_des.c (cache_init): Use calloc instead of | |
12047 | malloc&bzero. | |
12048 | ||
12049 | * sunrpc/svc_udp.c (BZERO): Remove definition. | |
12050 | (CALLOC): Define. | |
12051 | (svc_enablecache): Use CALLOC instead of ALLOC&BZERO. | |
12052 | ||
12053 | * sunrpc/des_impl.c: Remove ALT_ECB support. We never used it. | |
12054 | (des_SPtrans): Use uint32_t type. | |
12055 | (des_skb): Likewise. | |
12056 | ||
12057 | * sunrpc/xdr_ref.c (xdr_reference): Use calloc instead of malloc&bzero. | |
12058 | ||
fff04b32 UD |
12059 | 2006-05-05 Jakub Jelinek <jakub@redhat.com> |
12060 | ||
12061 | [BZ #2509] | |
12062 | * stdio-common/tst-printf.sh: Adjust for tst-printf.c change even | |
12063 | on 32-bit arches. | |
12064 | ||
12065 | 2006-05-05 Ulrich Drepper <drepper@redhat.com> | |
12066 | ||
12067 | * locale/programs/ld-address.c (address_finish): Fix one more | |
cdb9c321 | 12068 | place where the iso639 array might be accessed beyond the limits. |
fff04b32 | 12069 | |
077a30bc | 12070 | 2006-05-04 Ulrich Drepper <drepper@redhat.com> |
77dd4c3b | 12071 | |
f2d5cf50 UD |
12072 | * nis/nis_table.c (nis_list): Avoid clearing res twice before |
12073 | filling it for the first time. | |
12074 | ||
3e4370cf UD |
12075 | * nis/nis_table.c (get_tablepath): Renamed from __get_tablepath. |
12076 | Adjust all callers. | |
12077 | Free res object content before returning. | |
12078 | ||
5e65a53d UD |
12079 | * sunrpc/xdr_array.c (xdr_array): Use calloc instead of malloc&bzero. |
12080 | ||
48be3114 UD |
12081 | * sunrpc/key_call.c (__rpc_thread_key_cleanup): Also free |
12082 | client->cl_auth. | |
12083 | ||
ca4fce0e UD |
12084 | * sunrpc/rpc_thread.c (__rpc_thread_destroy): Don't skip entire |
12085 | cleanup for initial thread, just the free call on TVP. | |
12086 | ||
077a30bc | 12087 | * nscd/gai.c (__getline): Define. |
3b7a95fb | 12088 | |
5d37289a | 12089 | |
3f87d901 | 12090 | See ChangeLog.16 for earlier changes. |