diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-07-07 00:14:11 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-07-07 00:14:11 +0000 |
commit | ce9f1cf9c26bbc4e0cf23c14d8058e1847b1dd8a (patch) | |
tree | 7b250ef0c3be4c7d926eaffdd9bbf00d18bf5695 /ldso/ldso/ldso.c | |
parent | f7eee81da43d9e40395d6e3a21883bd64b3f63ce (diff) |
rip out all the duplicated debug code and move into a shared file
Diffstat (limited to 'ldso/ldso/ldso.c')
-rw-r--r-- | ldso/ldso/ldso.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ldso/ldso/ldso.c b/ldso/ldso/ldso.c index 8ef70c893..4b31bcfa9 100644 --- a/ldso/ldso/ldso.c +++ b/ldso/ldso/ldso.c @@ -33,6 +33,9 @@ #include "ldso.h" #include "unsecvars.h" +/* Pull in common debug code */ +#include "dl-debug.c" + #define ALLOW_ZERO_PLTGOT /* Pull in the value of _dl_progname */ @@ -122,7 +125,6 @@ void _dl_get_ready_to_run(struct elf_resolve *tpnt, unsigned long load_addr, ElfW(Addr) relro_addr = 0; size_t relro_size = 0; - /* Wahoo!!! We managed to make a function call! Get malloc * setup so we can use _dl_dprintf() to print debug noise * instead of the SEND_STDERR macros used in dl-startup.c */ |