]> sourceware.org Git - glibc.git/blame - ChangeLog
2003-01-14 Roland McGrath <roland@redhat.com>
[glibc.git] / ChangeLog
CommitLineData
a8d87c92
UD
12003-01-14 Ulrich Drepper <drepper@redhat.com>
2
3 * manual/install.texi: Correct description of header preparation for
4 Linux build. Patch by mhwood@Ameritech.Net [PR libc/4941].
5
574b892e
UD
62003-01-14 Guido Guenther <agx@sigxcpu.org>
7
8 * sysdeps/unix/sysv/linux/mips/sysdep.h (INTERNAL_SYSCALL,
9 INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
10 INTERNAL_SYSCALL_ERROR_P, INLINE_SYSCALL): Define.
11
122003-01-14 Steven Munroe <sjmunroe@us.ibm.com>
13
14 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15 (INTERNAL_SYSCALL): Make use of ERR parameter.
16 (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
17 INTERNAL_SYSCALL_ERROR_P): Adjust accordingly.
18 (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL.
19 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: New file.
20
2c255347
UD
212003-01-14 Ulrich Drepper <drepper@redhat.com>
22
086311a9
UD
23 * sunrpc/pm_getport.c (pmap_getport): Open TCP socket if protocol
24 == IPPROTO_TCP.
25 Patch by James Strandboge <jamie@tpptraining.com> [PR libc/4943].
26
2f279b14
UD
27 * sysdeps/unix/sysv/linux/i386/dl-procinfo.c (_dl_x86_cap_flags):
28 Fix entry for bit 31.
29
2c255347
UD
30 * iconvdata/Makefile: Add rules to build IBM866NAV.
31 * iconvdata/ibm866nav.c: New file.
32 * iconvdata/tst-tables.sh: Add IBM866NAV.
33 * iconvdata/gconv-modules: Add entries for IBM866NAV.
34
642eb2a2
UD
352003-01-13 Ulrich Drepper <drepper@redhat.com>
36
37 * string/tester.c (test_strcpy): Use the previously #if 0'ed code
38 to test void* parameters.
39
40 * sysdeps/i386/i486/bits/string.h (__STRING_SMALLL_GET16): Cast
41 source pointer before dereferencing.
42 (__STRING_SMALLL_GET32): Likewise.
43 (__memset_gc): Add missing parenthesis around macro arguments.
574b892e 44 Patch by Denis Zaitsev <zzz@cd-club.ru>.
642eb2a2
UD
45
46 * sysdeps/i386/i486/bits/string.h (__strspn_cg): Tell the compiler
574b892e 47 that %eax is modified. Reported by Denis Zaitsev <zzz@cd-club.ru>.
642eb2a2 48
115bb61d
UD
492003-01-14 Jakub Jelinek <jakub@redhat.com>
50
51 * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL): Undefined before
52 defining.
53
542003-01-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
55
56 * sysdeps/s390/s390-64/initfini.c: Avoid unterminated string literals.
57 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (L): Don't define it
58 here.
59 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (L): Likewise.
60
612003-01-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
62
63 * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET): Move branch instructions
64 from here...
65 (PSEUDO): ... to here.
66 * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET): Move branch instruction
67 from here...
68 (PSEUDO): ... to here.
69
9ef0a840
UD
702003-01-13 Ulrich Drepper <drepper@redhat.com>
71
72 * locale/programs/charmap-dir.c (charmap_readdir): Use struct
73 dirent64 instead of struct dirent for dirent. Call readdir64
74 instead of readdir.
75
76 * locale/programs/locfile.c (siblings_uncached): Use struct
77 dirent64 instead of struct dirent for other_dentry. Call
78 readdir64 instead of readdir.
79
80 * elf/ldconfig.c (direntry): Change type to struct dirent64.
81 (search_dir): Use readdir64 instead of readdir.
82 Patch by Zhangfan Xing <xing@pacific.jpl.nasa.gov>.
83
f1c5213d
RM
842003-01-12 Roland McGrath <roland@redhat.com>
85
c01ec9c7
RM
86 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use strtoul,
87 not strtol. The former is usable in ld.so, the latter not.
88
f1c5213d
RM
89 * include/fcntl.h: Declare __libc_creat.
90
91 * sysdeps/mach/hurd/Makefile (libmachuser-link.so-no-z-defs,
92 libhurduser-link.so-no-z-defs): New variables.
93
94 * malloc/malloc.c: Revert last change.
95 * malloc/malloc.h (_int_*): Move these decls to ...
96 * include/malloc.h: ... here. Add attribute_hidden.
97 (_int_valloc): Declare it too.
98
73398a44
UD
992003-01-12 Ulrich Drepper <drepper@redhat.com>
100
115bb61d 101 * elf/dl-close.c (_dl_close): Fix typo, must be == not = in
1376cd8c
UD
102 search for removed searchlist. Reported by Roland McGrath.
103
40212ce0
UD
104 * io/ftwtest-sh: Add test for case of symlink to nonexisting file
105 given as start file.
106
107 * io/ftw.c (ftw_startup): Use correct name in check for symlink
108 without existing target. Patch by Jim Meyering.
109
73398a44
UD
110 * Makerules (build-shlib-helper): Don't use -z defs linker option
111 if no-z-defs is defined either.
112
1132003-01-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
114
115 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Remove unused
116 file.
117
1182003-01-10 Martin Schwidefsky <schwidefsky@de.ibm.com>
119
120 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Add vfork.
121 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
122
b2608c22
UD
1232003-01-12 Ulrich Drepper <drepper@redhat.com>
124
125 * io/ftwtest-sh: Add test case for relative path with /. at the end.
126
1272003-01-12 Jim Meyering <jim@meyering.net>
128
129 * io/ftw.c (ftw_startup): When trying to stat the starting directory,
130 use the basename if we've already chdir'd into its parent directory.
131
a5ce5fcf
UD
1322003-01-12 Ulrich Drepper <drepper@redhat.com>
133
134 * io/ftw.c (process_entry): Use relative path when using chdir()
b2608c22 135 to change directory after call to ftw_dir.
a5ce5fcf
UD
136 * io/ftwtest-sh: Add test for relative path argument to nftw()
137 with FTW_CHDIR option.
138
b398ae3c
UD
1392002-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
140
141 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_VFORK_SYSCALL):
142 Define for powerpc.
143 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Take register alignment
144 into account.
145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
146 (INTERNAL_SYSCALL): Make use of ERR parameter.
147 (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
148 INTERNAL_SYSCALL_ERROR_P): Adjust accordingly.
149 (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL.
150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: New file.
151
1522002-01-09 Richard Henderson <rth@redhat.com>
153
154 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Compute
155 DTPREL64 and TPREL64 without loadbase applied.
156
1572002-01-09 Richard Henderson <rth@redhat.com>
158
159 * sysdeps/unix/alpha/sysdep.S: Use correct definition of errno
160 for NOT_IN_libc.
161
162 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Move inline syscall bits...
163 * sysdeps/unix/alpha/sysdep.h: ... here.
164 (PSEUDO_LOADGP): Remove.
165 (PSEUDO_PROLOGUE): Load GP in non-pic case.
166 (SYSCALL_ERROR_LABEL): New.
167 (PSEUDO): Use it in error branch.
168 (PSEUDO_END): Add $syscall_error label.
169
1f8613a6
AJ
1702003-01-12 Andreas Jaeger <aj@suse.de>
171
172 * math/bits/mathcalls.h: Round is a const function.
173
aff4519d
UD
1742003-01-11 Jim Meyering <jim@meyering.net>
175
176 * io/ftw.c [HAVE_CONFIG_H]: Include <config.h>.
177 [HAVE_SYS_PARAM_H || _LIBC]: Guard inclusion of <sys/param.h>.
178 Include <sys/stat.h>, not <include/sys/stat.h>, if !_LIBC.
179 [!_LIBC] (__chdir, __closedir, __fchdir, __getcwd, __opendir): Define.
180 [!_LIBC] (__readdir64, __tdestroy, __tfind, __tsearch): Define.
181 [!_LIBC] (internal_function, dirent64, MAX): Define.
182 (__set_errno): Define if not already defined.
183 (open_dir_stream): When FTW_CHDIR is enabled, invoke opendir on
184 the basename, not the entire file name.
185 (process_entry): When FTW_CHDIR is enabled, invoke XSTAT or LXSTAT on
186 the basename, not the entire file name.
187
1882003-01-12 Ulrich Drepper <drepper@redhat.com>
189
190 * string/tester.c (test_strcpy): Disable last added strcpy until
191 it is fixed.
192
1932003-01-11 Philip Blundell <philb@gnu.org>
194
195 * sysdeps/unix/sysv/linux/arm/socket.S: Add cancellation support.
196
1972003-01-11 Andreas Schwab <schwab@suse.de>
198
199 * Makerules: Add vpath for %.dynsym and %.so so that the
200 implicit rule chaining for check-abi works.
201
2022003-01-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
203
204 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
205 Add non-PIC case.
206
2072003-01-11 Jakub Jelinek <jakub@redhat.com>
208
209 * elf/tls-macros.h [__ia64__] (__TLS_CALL_CLOBBERS): Define.
210 [__ia64__] (TLS_LE, TLS_IE): Fix typos. Add ;; at start of asm if
211 gp is used early.
212 [__ia64__] (TLS_LD, TLS_GD): Likewise. Use __TLS_CALL_CLOBBERS.
213 * elf/Makefile ($(objpfx)tst-tlsmod5.so, $(objpfx)tst-tlsmod6.so):
214 Ensure libc.so in DT_NEEDED.
215 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Move
216 CHECK_STATIC_TLS before l_tls_offset use.
217 * sysdeps/i386/dl-machine.h (elf_machine_rel, elf_machine_rela):
218 Likewise.
219 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
220 * sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage) [TLS_DTV_AT_TP]:
221 Allocate TLS_PRE_TCB_SIZE bytes below result.
222 (_dl_deallocate_tls) [TLS_DTV_AT_TP]: Adjust before freeing.
223 * sysdeps/generic/libc-tls.c (__libc_setup_tls): If
224 TLS_INIT_TP_EXPENSIVE is not defined, allocate even if no PT_TLS
225 segment has been found. If TLS_DTV_AT_TP, allocate TLS_PRE_TCB_SIZE
226 bytes below result and add tcb_offset to memsz.
227 * sysdeps/ia64/dl-tls.h (__tls_get_addr): New prototype.
228 * sysdeps/ia64/dl-machine.h: Include tls.h.
229 (elf_machine_type_class): Return ELF_RTYPE_CLASS_PLT for TLS relocs
230 too.
231 (elf_machine_rela): Assume if sym_map != NULL sym is non-NULL too.
232 Handle R_IA64_DTPMOD*, R_IA64_DTPREL* and R_IA64_TPREL* relocations.
233 * sysdeps/ia64/libc-tls.c: New file.
234
2352003-01-10 Steven Munroe <sjmunroe@us.ibm.com>
236
237 * sysdeps/powerpc/powerpc64/sysdep.h (PSEUDO_RET): Add branch hit.
238 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h (STAT_VER_LINUX):
239 Fix type. Move definition out of #if.
240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ftruncate64.c: New file.
241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: New file.
242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: New file.
243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: New file.
244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: New file.
245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Add cancellation
246 support.
247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Remove
248 ftruncate64, pread64, pwrite64, truncate64 entries.
249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
250 (INLINE_SYSCALL): New version that supports function call like
251 syscalls. Add __builtin_expect.
252 (LOADARGS_n): Add argument size safety checks.
253 (INTERNAL_SYSCALL): New Macro.
254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/truncate64.c: New file.
255 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h [__PPC_ELF_H]: Avoid
256 redefinition of elf_fpreg_t and elf_fpregset_t.
257
2582003-01-12 Ulrich Drepper <drepper@redhat.com>
259
260 * elf/dl-close.c (_dl_close): Add several asserts. Correct and
261 simplify test for unloading. If loader of a DSO is unloaded do not
262 use its scope anymore. Fall back to own scope and adjust opencounts.
263 Fix several comments.
264 * elf/dl-deps.c (_dl_map_object_deps): Always allocate memory for
265 the l_searchlist, not only for l_initfini.
266
267 * elf/dl-lookup.c (add_dependencies): Avoid creating relocation
268 dependencies if objects cannot be removed. Remove object with the
269 definition as not unloadable if necessary.
270
271 * elf/reldep6.c: Create relocation dependency before closing the first
272 module.
273
274