+2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * solib-svr4.c: (LM_ADDR_CHECK): Move variable align to a more inner
+ block.
+
2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
* solib-svr4.c: (LM_ADDR_CHECK): Print successful prelink adjustment
if (so->lm_info->l_addr == (CORE_ADDR)-1)
{
struct bfd_section *dyninfo_sect;
- CORE_ADDR l_addr, l_dynaddr, dynaddr, align = 0x1000;
+ CORE_ADDR l_addr, l_dynaddr, dynaddr;
l_addr = LM_ADDR_FROM_LINK_MAP (so);
if (dynaddr + l_addr != l_dynaddr)
{
+ CORE_ADDR align = 0x1000;
+
if (bfd_get_flavour (abfd) == bfd_target_elf_flavour)
{
Elf_Internal_Ehdr *ehdr = elf_tdata (abfd)->elf_header;