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