mirror of
https://git.busybox.net/uClibc
synced 2025-05-08 23:02:28 +08:00
ldso: fix compilation for !LD_DEBUG
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
This commit is contained in:
parent
cd73f451aa
commit
38c29ff319
@ -77,9 +77,9 @@ unsigned long _dl_linux_resolver(struct elf_resolve *tpnt, int reloc_entry)
|
||||
_dl_exit(1);
|
||||
}
|
||||
#if defined (__SUPPORT_LD_DEBUG__)
|
||||
#if !defined __SUPPORT_LD_DEBUG_EARLY__
|
||||
# if !defined __SUPPORT_LD_DEBUG_EARLY__
|
||||
if ((unsigned long) got_addr < 0x40000000)
|
||||
#endif
|
||||
# endif
|
||||
{
|
||||
if (_dl_debug_bindings)
|
||||
{
|
||||
|
@ -237,8 +237,11 @@ _dl_do_reloc(struct elf_resolve *tpnt, struct dyn_elf *scope,
|
||||
_dl_memcpy ((void *) reloc_addr,
|
||||
(void *) symbol_addr,
|
||||
sym_ref.sym->st_size);
|
||||
} else
|
||||
}
|
||||
#if defined (__SUPPORT_LD_DEBUG__)
|
||||
else
|
||||
_dl_dprintf(_dl_debug_file, "no symbol_addr to copy !?\n");
|
||||
#endif
|
||||
break;
|
||||
|
||||
default:
|
||||
|
@ -271,8 +271,11 @@ _dl_do_reloc(struct elf_resolve *tpnt, struct dyn_elf *scope,
|
||||
_dl_memcpy((char *)reloc_addr,
|
||||
(char *)symbol_addr,
|
||||
sym_ref.sym->st_size);
|
||||
} else
|
||||
}
|
||||
#if defined (__SUPPORT_LD_DEBUG__)
|
||||
else
|
||||
_dl_dprintf(_dl_debug_file, "no symbol_addr to copy !?\n");
|
||||
#endif
|
||||
break;
|
||||
#if defined USE_TLS && USE_TLS
|
||||
case R_SPARC_TLS_DTPMOD32:
|
||||
|
@ -264,8 +264,11 @@ _dl_do_reloc(struct elf_resolve *tpnt, struct dyn_elf *scope,
|
||||
_dl_memcpy((char *)reloc_addr,
|
||||
(char *)symbol_addr,
|
||||
sym_ref.sym->st_size);
|
||||
} else
|
||||
}
|
||||
#if defined (__SUPPORT_LD_DEBUG__)
|
||||
else
|
||||
_dl_dprintf(_dl_debug_file, "no symbol_addr to copy !?\n");
|
||||
#endif
|
||||
break;
|
||||
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user