2004-10-19  Ulrich Drepper  <drepper@redhat.com>

	* elf/Versions [ld, GLIBC_PRIVATE]: Add _dl_debug_state.
	* elf/dl-debug.c (_dl_debug_state): Add rtld_hidden_def.
	* sysdeps/generic/ldsodefs.h (_dl_debug_state): Don't maek as
	hidden but use rtld_hidden_proto.
This commit is contained in:
Ulrich Drepper 2004-10-19 22:21:46 +00:00
parent 1866ae9455
commit 7e46ec8ccc
4 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2004-10-19 Ulrich Drepper <drepper@redhat.com>
* elf/Versions [ld, GLIBC_PRIVATE]: Add _dl_debug_state.
* elf/dl-debug.c (_dl_debug_state): Add rtld_hidden_def.
* sysdeps/generic/ldsodefs.h (_dl_debug_state): Don't maek as
hidden but use rtld_hidden_proto.
2004-10-19 Alfred M. Szmidt <ams@gnu.org>
* sysdeps/generic/readonly-area.c (__readonly_str): Renamed to ...

View File

@ -54,5 +54,7 @@ ld {
_dl_get_tls_static_info; _dl_allocate_tls_init;
_dl_tls_setup; _dl_rtld_di_serinfo;
_dl_make_stack_executable;
# Only here for gdb while a better method is developed.
_dl_debug_state;
}
}

View File

@ -57,3 +57,4 @@ void
_dl_debug_state (void)
{
}
rtld_hidden_def (_dl_debug_state)

View File

@ -785,7 +785,8 @@ extern void _dl_fini (void) internal_function;
any shared object mappings. The `r_state' member of `struct r_debug'
says what change is taking place. This function's address is
the value of the `r_brk' member. */
extern void _dl_debug_state (void) attribute_hidden;
extern void _dl_debug_state (void);
rtld_hidden_proto (_dl_debug_state)
/* Initialize `struct r_debug' if it has not already been done. The
argument is the run-time load address of the dynamic linker, to be put