* dlfcn/Makefile (libdl-routines): Add dladdr1.

* dlfcn/dladdr1.c: New file.
	* dlfcn/dlfcn.h [__USE_GNU]: Declare dladdr1.
	[__USE_GNU] (RTLD_DL_SYMENT, RTLD_DL_LINKMAP): New enum constants.
	* elf/dl-addr.c (_dl_addr): Take new args, a struct link_map ** and
	a const ElfNN_Sym ** to fill in.
	* include/dlfcn.h: Update decl.  Include <link.h>.
	* dlfcn/dladdr.c (dladdr): Update caller.
	* malloc/mtrace.c (tr_where): Likewise.
	* sysdeps/generic/elf/backtracesyms.c: Likewise.
	* sysdeps/generic/elf/backtracesymsfd.c: Likewise.
	* dlfcn/Versions (libdl: GLIBC_2.3.3): New set, add dladdr1.
	* Versions.def (libdl): Define GLIBC_2.3.3 set.
This commit is contained in:
Roland McGrath 2003-03-10 10:01:35 +00:00
parent 2b30b2e51f
commit d38c777e8d
2 changed files with 16 additions and 2 deletions

View File

@ -1,5 +1,19 @@
2003-03-10 Roland McGrath <roland@redhat.com> 2003-03-10 Roland McGrath <roland@redhat.com>
* dlfcn/Makefile (libdl-routines): Add dladdr1.
* dlfcn/dladdr1.c: New file.
* dlfcn/dlfcn.h [__USE_GNU]: Declare dladdr1.
[__USE_GNU] (RTLD_DL_SYMENT, RTLD_DL_LINKMAP): New enum constants.
* elf/dl-addr.c (_dl_addr): Take new args, a struct link_map ** and
a const ElfNN_Sym ** to fill in.
* include/dlfcn.h: Update decl. Include <link.h>.
* dlfcn/dladdr.c (dladdr): Update caller.
* malloc/mtrace.c (tr_where): Likewise.
* sysdeps/generic/elf/backtracesyms.c: Likewise.
* sysdeps/generic/elf/backtracesymsfd.c: Likewise.
* dlfcn/Versions (libdl: GLIBC_2.3.3): New set, add dladdr1.
* Versions.def (libdl): Define GLIBC_2.3.3 set.
* sysdeps/unix/make-syscalls.sh: Generate $(compile-syscall) for * sysdeps/unix/make-syscalls.sh: Generate $(compile-syscall) for
assembler command. assembler command.
* sysdeps/unix/Makefile (compile-syscall): New variable. * sysdeps/unix/Makefile (compile-syscall): New variable.

View File

@ -6,8 +6,6 @@
of __libc_locking_needed. of __libc_locking_needed.
(lll_trylock): Initialize %eax to zero. (lll_trylock): Initialize %eax to zero.
* sysdeps/unix/sysv/linux/x86_64/lowlevelcond.h: New file.
* sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Update * sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Update
pthread_cond_t definition. pthread_cond_t definition.
@ -46,6 +44,8 @@
2003-03-09 Ulrich Drepper <drepper@redhat.com> 2003-03-09 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/x86_64/lowlevelcond.h: New file.
* sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: New file. * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: New file.
* sysdeps/unix/sysv/linux/x86_64/fork.c: New file. * sysdeps/unix/sysv/linux/x86_64/fork.c: New file.