(unsigned long) tpnt->loadaddr);
got_addr = (char **) instr_addr;
-#ifdef DEBUG
+#ifdef DL_DEBUG
_dl_dprintf(2, "Resolving symbol %s\n",
strtab + symtab[symtab_index].st_name);
#endif
_dl_progname, strtab + symtab[symtab_index].st_name);
_dl_exit(1);
};
-/* #define DEBUG_LIBRARY */
-#ifdef DEBUG_LIBRARY
+#ifdef DL_DEBUG
if ((unsigned long) got_addr < 0x40000000) {
_dl_dprintf(2, "Calling library function: %s\n",
strtab + symtab[symtab_index].st_name);
instr_addr = (int) this_reloc->r_offset + (int) tpnt->loadaddr;
got_addr = (char **) instr_addr;
-#ifdef DEBUG
+#ifdef DL_DEBUG
_dl_dprintf (2, "Resolving symbol %s\n",
strtab + symtab[symtab_index].st_name);
#endif
_dl_progname, strtab + symtab[symtab_index].st_name);
_dl_exit (1);
}
-/* #define DEBUG_LIBRARY */
-#ifdef DEBUG_LIBRARY
+/* #define DL_DEBUG */
+#ifdef DL_DEBUG
if ((unsigned int) got_addr < 0x40000000)
_dl_dprintf (2, "Calling library function: %s\n",
strtab + symtab[symtab_index].st_name);
-//#define DEBUG
+//#define DL_DEBUG
/* Run an ELF binary on a linux system.
Copyright (C) 1993, Eric Youngdale.
working. */
-#ifdef DEBUG
+#ifdef DL_DEBUG
static void debug_sym(Elf32_Sym *symtab,char *strtab,int symtab_index);
static void debug_reloc(ELF_RELOC *rpnt);
#define DPRINTF(fmt,args...) _dl_dprintf(2,fmt,args)
#endif
-#ifdef DEBUG
+#ifdef DL_DEBUG
static void debug_sym(Elf32_Sym *symtab,char *strtab,int symtab_index)
{
if(symtab_index){
_dl_dprintf(2, "symtab_index %d\n", symtab_index);
-#ifdef DEBUG
+#ifdef DL_DEBUG
_dl_dprintf(2, "Resolving symbol %s\n",
strtab + symtab[symtab_index].st_name);
#endif
_dl_progname, strtab + symtab[symtab_index].st_name);
_dl_exit(31);
};
-/* #define DEBUG_LIBRARY */
-#ifdef DEBUG_LIBRARY
+/* #define DL_DEBUG */
+#ifdef DL_DEBUG
if((unsigned int) got_addr < 0x40000000) {
_dl_dprintf(2, "Calling library function: %s\n",
strtab + symtab[symtab_index].st_name);