diff options
author | Joakim Tjernlund <joakim.tjernlund@transmode.se> | 2004-08-19 09:06:15 +0000 |
---|---|---|
committer | Joakim Tjernlund <joakim.tjernlund@transmode.se> | 2004-08-19 09:06:15 +0000 |
commit | 86eecc5c4007ef59b51911dcff41b77a393f45e1 (patch) | |
tree | 53524fae21145c150e0ecba2295d5e43ee14d170 /ldso/ldso/dl-startup.c | |
parent | 0a98c1b6b0a98fc7010e69f48a4cc13fa31d6f81 (diff) |
Move "debug_addr" ptr from dl-startup.c to ldso.c
Diffstat (limited to 'ldso/ldso/dl-startup.c')
-rw-r--r-- | ldso/ldso/dl-startup.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/ldso/ldso/dl-startup.c b/ldso/ldso/dl-startup.c index 06bd146b8..88ca8bd8c 100644 --- a/ldso/ldso/dl-startup.c +++ b/ldso/ldso/dl-startup.c @@ -130,7 +130,6 @@ DL_BOOT(unsigned long args) Elf32_auxv_t auxvt[AT_EGID + 1]; unsigned char *malloc_buffer, *mmap_zero; Elf32_Dyn *dpnt; - struct r_debug *debug_addr = NULL; size_t pagesize; int indx; #if defined(__i386__) @@ -299,12 +298,6 @@ found_got: tpnt = LD_MALLOC(sizeof(struct elf_resolve)); _dl_memset(tpnt, 0, sizeof(struct elf_resolve)); - /* - * This is used by gdb to locate the chain of shared libraries that are currently loaded. - */ - debug_addr = LD_MALLOC(sizeof(struct r_debug)); - _dl_memset(debug_addr, 0, sizeof(struct r_debug)); - /* OK, that was easy. Next scan the DYNAMIC section of the image. We are only doing ourself right now - we will have to do the rest later */ #ifdef __SUPPORT_LD_DEBUG_EARLY__ @@ -433,7 +426,7 @@ found_got: fixed up by now. Still no function calls outside of this library , since the dynamic resolver is not yet ready. */ _dl_get_ready_to_run(tpnt, load_addr, auxvt, envp, - debug_addr, malloc_buffer, mmap_zero, argv); + malloc_buffer, mmap_zero, argv); /* Transfer control to the application. */ |