aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-10-19 22:21:46 +0000
committerUlrich Drepper <drepper@redhat.com>2004-10-19 22:21:46 +0000
commit7e46ec8cccbf9c721e58ff458e81cb548e43f2ab (patch)
tree09c616ef07f686e91b5a42a5a8a61151dc314346 /elf
parent1866ae945547e8ebf978b1f5760661239f2513a6 (diff)
downloadglibc-7e46ec8cccbf9c721e58ff458e81cb548e43f2ab.zip
glibc-7e46ec8cccbf9c721e58ff458e81cb548e43f2ab.tar.gz
glibc-7e46ec8cccbf9c721e58ff458e81cb548e43f2ab.tar.bz2
Update.
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.
Diffstat (limited to 'elf')
-rw-r--r--elf/Versions2
-rw-r--r--elf/dl-debug.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/elf/Versions b/elf/Versions
index 3797cc4..e24b2de 100644
--- a/elf/Versions
+++ b/elf/Versions
@@ -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;
}
}
diff --git a/elf/dl-debug.c b/elf/dl-debug.c
index 2e7b9e8..bd6ee69 100644
--- a/elf/dl-debug.c
+++ b/elf/dl-debug.c
@@ -57,3 +57,4 @@ void
_dl_debug_state (void)
{
}
+rtld_hidden_def (_dl_debug_state)