]> sourceware.org Git - glibc.git/blame - ChangeLog
* Makerules: Use -include for tls.make, suppresses warning.
[glibc.git] / ChangeLog
CommitLineData
73917724
RM
12003-01-15 Roland McGrath <roland@redhat.com>
2
3 * Makerules: Use -include for tls.make, suppresses warning.
4 Move gen-as-const-headers rules up so before-compile is set in time.
5 (sed-remove-dotdot): Fix to work right for subdirs or top dir.
6
c9f24336
UD
72003-01-15 Ulrich Drepper <drepper@redhat.com>
8
d4397629
UD
9 * nscd/nscd.c (main): Make code to close all file descriptors
10 faster and more robust.
11
9caf4f1c
UD
12 * nscd/nscd_getpw_r.c (nscd_getpw_r): Consolidate writing of the
13 request with one writev call. Protect all read calls with
14 TEMP_FAILURE_RETRY.
15 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
17
18 * nscd/hstcache.c: Use extend_alloca to reallocate alloca'd buffer.
19 Protect writev calls with TEMP_FAILURE_RETRY.
20 * nscd/grpcache.c: Likewise.
21 * nscd/pwdcache.c: Likewise.
22
c9f24336
UD
23 * nscd/hstcache.c (addhstbynamev6): Don't interpret hostname as
24 IPv6 address in debug output.
25
9ae10332
RM
262003-01-14 Roland McGrath <roland@redhat.com>
27
28 * Makerules (check-abi-%): Use two rules for $(common-objpfx) and
29 $(objpfx) directories, and get rid of vpath directives. The previous
30 arrangement resulted in files being written to the source directories
31 when run in a clean build. Find all .abilist files in $(..)abilist/.
32 (update-abi-%): Likewise.
33 (generated): Don't add .symlist files, they'll be intermediates.
34
35 * sysdeps/generic/init-first.c: Add a comment.
36
37 * elf/Makefile ($(objpfx)ld.so): Pass -z defs in link.
38
39 * scripts/gen-as-const.awk: Grok lone "--" as a separator between
40 #includes and expressions.
41
42 * scripts/merge-abilist.awk: Omit cpu-.*-os.*/modifier from merged
43 config list when it already contains cpu-.*-os.* without / part.
44
45 * Makerules (sed-remove-dotdot): New variable.
46 ($(common-objpfx)%.make): Use it. Depend on $(before-compile).
47 ($(common-objpfx)%.h $(common-objpfx)%.h.d): Likewise.
48 (check-abi-config): New variable, append /tls or /notls to the tuple.
49 (check-abi-%): Use that for -v config value.
50 Find .abilist files in abilist/libfoo.abilist, not in subdir.
51 * Rules: Move bits/stdio_lim.h generation rules to Makerules.
52
a8d87c92
UD
532003-01-14 Ulrich Drepper <drepper@redhat.com>
54
55 * manual/install.texi: Correct description of header preparation for
56 Linux build. Patch by mhwood@Ameritech.Net [PR libc/4941].
57
574b892e
UD
582003-01-14 Guido Guenther <agx@sigxcpu.org>
59
60 * sysdeps/unix/sysv/linux/mips/sysdep.h (INTERNAL_SYSCALL,
61 INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
62 INTERNAL_SYSCALL_ERROR_P, INLINE_SYSCALL): Define.
63
642003-01-14 Steven Munroe <sjmunroe@us.ibm.com>
65
66 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
67 (INTERNAL_SYSCALL): Make use of ERR parameter.
68 (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
69 INTERNAL_SYSCALL_ERROR_P): Adjust accordingly.
70 (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL.
71 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: New file.
72
2c255347
UD
732003-01-14 Ulrich Drepper <drepper@redhat.com>
74
086311a9
UD
75 * sunrpc/pm_getport.c (pmap_getport): Open TCP socket if protocol
76 == IPPROTO_TCP.
77 Patch by James Strandboge <jamie@tpptraining.com> [PR libc/4943].
78
2f279b14
UD
79 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c (_dl_x86_cap_flags):
80 Fix entry for bit 31.
81
2c255347
UD
82 * iconvdata/Makefile: Add rules to build IBM866NAV.
83 * iconvdata/ibm866nav.c: New file.
84 * iconvdata/tst-tables.sh: Add IBM866NAV.
85 * iconvdata/gconv-modules: Add entries for IBM866NAV.
86
642eb2a2
UD
872003-01-13 Ulrich Drepper <drepper@redhat.com>
88
89 * string/tester.c (test_strcpy): Use the previously #if 0'ed code
90 to test void* parameters.
91
92 * sysdeps/i386/i486/bits/string.h (__STRING_SMALLL_GET16): Cast
93 source pointer before dereferencing.
94 (__STRING_SMALLL_GET32): Likewise.
95 (__memset_gc): Add missing parenthesis around macro arguments.
574b892e 96 Patch by Denis Zaitsev <zzz@cd-club.ru>.
642eb2a2
UD
97
98 * sysdeps/i386/i486/bits/string.h (__strspn_cg): Tell the compiler
574b892e 99 that %eax is modified. Reported by Denis Zaitsev <zzz@cd-club.ru>.
642eb2a2 100
115bb61d
UD
1012003-01-14 Jakub Jelinek <jakub@redhat.com>
102
103 * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL): Undefined before
104 defining.
105
1062003-01-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
107
108 * sysdeps/s390/s390-64/initfini.c: Avoid unterminated string literals.
109 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (L): Don't define it
110 here.
111 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (L): Likewise.
112
1132003-01-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
114
115 * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET): Move branch instructions
116 from here...
117 (PSEUDO): ... to here.
118 * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET): Move branch instruction
119 from here...
120 (PSEUDO): ... to here.
121
9ef0a840
UD
1222003-01-13 Ulrich Drepper <drepper@redhat.com>
123
124 * locale/programs/charmap-dir.c (charmap_readdir): Use struct
125 dirent64 instead of struct dirent for dirent. Call readdir64
126 instead of readdir.
127
128 * locale/programs/locfile.c (siblings_uncached): Use struct
129 dirent64 instead of struct dirent for other_dentry. Call
130 readdir64 instead of readdir.
131
132 * elf/ldconfig.c (direntry): Change type to struct dirent64.
133 (search_dir): Use readdir64 instead of readdir.
134 Patch by Zhangfan Xing <xing@pacific.jpl.nasa.gov>.
135
f1c5213d
RM
1362003-01-12 Roland McGrath <roland@redhat.com>
137
c01ec9c7
RM
138 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use strtoul,
139 not strtol. The former is usable in ld.so, the latter not.
140
f1c5213d
RM
141 * include/fcntl.h: Declare __libc_creat.
142
143 * sysdeps/mach/hurd/Makefile (libmachuser-link.so-no-z-defs,
144 libhurduser-link.so-no-z-defs): New variables.
145
146 * malloc/malloc.c: Revert last change.
147 * malloc/malloc.h (_int_*): Move these decls to ...
148 * include/malloc.h: ... here. Add attribute_hidden.
149 (_int_valloc): Declare it too.
150
73398a44
UD
1512003-01-12 Ulrich Drepper <drepper@redhat.com>
152
115bb61d 153 * elf/dl-close.c (_dl_close): Fix typo, must be == not = in
1376cd8c
UD
154 search for removed searchlist. Reported by Roland McGrath.
155
40212ce0
UD
156 * io/ftwtest-sh: Add test for case of symlink to nonexisting file
157 given as start file.
158
159 * io/ftw.c (ftw_startup): Use correct name in check for symlink
160 without existing target. Patch by Jim Meyering.
161
73398a44
UD
162 * Makerules (build-shlib-helper): Don't use -z defs linker option
163 if no-z-defs is defined either.
164
1652003-01-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
166
167 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Remove unused
168 file.
169
1702003-01-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
171
172 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Add vfork.
173 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
174
b2608c22
UD
1752003-01-12 Ulrich Drepper <drepper@redhat.com>
176
177 * io/ftwtest-sh: Add test case for relative path with /. at the end.
178
1792003-01-12 Jim Meyering <jim@meyering.net>
180
181 * io/ftw.c (ftw_startup): When trying to stat the starting directory,
182 use the basename if we've already chdir'd into its parent directory.
183
a5ce5fcf
UD
1842003-01-12 Ulrich Drepper <drepper@redhat.com>
185
186 * io/ftw.c (process_entry): Use relative path when using chdir()
b2608c22 187 to change directory after call to ftw_dir.
a5ce5fcf
UD
188 * io/ftwtest-sh: Add test for relative path argument to nftw()
189 with FTW_CHDIR option.
190
b398ae3c
UD
1912002-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
192
193 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_VFORK_SYSCALL):
194 Define for powerpc.
195 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Take register alignment
196 into account.
197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
198 (INTERNAL_SYSCALL): Make use of ERR parameter.
199 (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
200 INTERNAL_SYSCALL_ERROR_P): Adjust accordingly.
201 (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL.
202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: New file.
203
2042002-01-09 Richard Henderson <rth@redhat.com>
205
206 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Compute
207 DTPREL64 and TPREL64 without loadbase applied.
208
2092002-01-09 Richard Henderson <rth@redhat.com>
210
211 * sysdeps/unix/alpha/sysdep.S: Use correct definition of errno
212 for NOT_IN_libc.
213
214 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Move inline syscall bits...
215 * sysdeps/unix/alpha/sysdep.h: ... here.
216 (PSEUDO_LOADGP): Remove.
217 (PSEUDO_PROLOGUE): Load GP in non-pic case.
218 (SYSCALL_ERROR_LABEL): New.
219 (PSEUDO): Use it in error branch.
220 (PSEUDO_END): Add $syscall_error label.
221
1f8613a6
AJ
2222003-01-12 Andreas Jaeger <aj@suse.de>
223
224 * math/bits/mathcalls.h: Round is a const function.
225
aff4519d
UD
2262003-01-11 Jim Meyering <jim@meyering.net>
227
228 * io/ftw.c [HAVE_CONFIG_H]: Include <config.h>.
229 [HAVE_SYS_PARAM_H || _LIBC]: Guard inclusion of <sys/param.h>.
230 Include <sys/stat.h>, not <include/sys/stat.h>, if !_LIBC.
231 [!_LIBC] (__chdir, __closedir, __fchdir, __getcwd, __opendir): Define.
232 [!_LIBC] (__readdir64, __tdestroy, __tfind, __tsearch): Define.
233 [!_LIBC] (internal_function, dirent64, MAX): Define.
234 (__set_errno): Define if not already defined.
235 (open_dir_stream): When FTW_CHDIR is enabled, invoke opendir on
236 the basename, not the entire file name.
237 (process_entry): When FTW_CHDIR is enabled, invoke XSTAT or LXSTAT on
238 the basename, not the entire file name.
239
2402003-01-12 Ulrich Drepper <drepper@redhat.com>
241
242 * string/tester.c (test_strcpy): Disable last added strcpy until
243 it is fixed.
244
2452003-01-11 Philip Blundell <philb@gnu.org>
246
247 * sysdeps/unix/sysv/linux/arm/socket.S: Add cancellation support.
248
2492003-01-11 Andreas Schwab <schwab@suse.de>
250
251 * Makerules: Add vpath for %.dynsym and %.so so that the
252 implicit rule chaining for check-abi works.
253
2542003-01-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
255
256 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
257 Add non-PIC case.
258
2592003-01-11 Jakub Jelinek <jakub@redhat.com>
260
261 * elf/tls-macros.h [__ia64__] (__TLS_CALL_CLOBBERS): Define.
262 [__ia64__] (TLS_LE, TLS_IE): Fix typos. Add ;; at start of asm if
263 gp is used early.
264 [__ia64__] (TLS_LD, TLS_GD): Likewise. Use __TLS_CALL_CLOBBERS.
265 * elf/Makefile ($(objpfx)tst-tlsmod5.so, $(objpfx)tst-tlsmod6.so):
266 Ensure libc.so in DT_NEEDED.
267 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Move
268 CHECK_STATIC_TLS before l_tls_offset use.
269 * sysdeps/i386/dl-machine.h (elf_machine_rel, elf_machine_rela):
270 Likewise.
271 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
272 * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage) [TLS_DTV_AT_TP]:
273 Allocate TLS_PRE_TCB_SIZE bytes below result.
274 (_dl_deallocate_tls) [TLS_DTV_AT_TP]: Adjust before freeing.
275 * sysdeps/generic/libc-tls.c (__libc_setup_tls): If
276 TLS_INIT_TP_EXPENSIVE is not defined, allocate even if no PT_TLS
277 segment has been found. If TLS_DTV_AT_TP, allocate TLS_PRE_TCB_SIZE
278 bytes below result and add tcb_offset to memsz.
279 * sysdeps/ia64/dl-tls.h (__tls_get_addr): New prototype.
280 * sysdeps/ia64/dl-machine.h: Include tls.h.
281 (elf_machine_type_class): Return ELF_RTYPE_CLASS_PLT for TLS relocs
282 too.
283 (elf_machine_rela): Assume if sym_map != NULL sym is non-NULL too.
284 Handle R_IA64_DTPMOD*, R_IA64_DTPREL* and R_IA64_TPREL* relocations.
285 * sysdeps/ia64/libc-tls.c: New file.
286
2872003-01-10 Steven Munroe <sjmunroe@us.ibm.com>
288
289 * sysdeps/powerpc/powerpc64/sysdep.h (PSEUDO_RET): Add branch hit.
290 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h (STAT_VER_LINUX):
291 Fix type. Move definition out of #if.
292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ftruncate64.c: New file.
293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: New file.
294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: New file.
295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: New file.
296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: New file.
297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Add cancellation
298 support.
299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Remove
300 ftruncate64, pread64, pwrite64, truncate64 entries.
301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
302 (INLINE_SYSCALL): New version that supports function call like
303 syscalls. Add __builtin_expect.
304 (LOADARGS_n): Add argument size safety checks.
305 (INTERNAL_SYSCALL): New Macro.
306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/truncate64.c: New file.
307 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h [__PPC_ELF_H]: Avoid
308 redefinition of elf_fpreg_t and elf_fpregset_t.
309
3102003-01-12 Ulrich Drepper <drepper@redhat.com>
311
312 * elf/dl-close.c (_dl_close): Add several asserts. Correct and
313 simplify test for unloading. If loader of a DSO is unloaded do not
314 use its scope anymore. Fall back to own scope and adjust opencounts.
315 Fix several comments.
316 * elf/dl-deps.c (_dl_map_object_deps): Always allocate memory for
317 the l_searchlist, not only for l_initfini.
318
319 * elf/dl-lookup.c (add_dependencies): Avoid creating relocation
320 dependencies if objects cannot be removed. Remove object with the
321 definition as not unloadable if necessary.
322
323 * elf/reldep6.c: Create relocation dependency before closing the first
324 module.
325
326