+2005-11-23 Frederic Riss <frederic.riss@st.com>
+
+ * elfcode.h (elf_object_p): Delay the setting of start_address
+ until we're sure the backend matches the binary.
+
2005-11-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* som.c (som_decode_symclass): Decode BSF_WEAK symbols in the same
goto got_no_match;
}
- /* Remember the entry point specified in the ELF file header. */
- bfd_set_start_address (abfd, i_ehdrp->e_entry);
-
if (i_ehdrp->e_shoff != 0)
{
bfd_signed_vma where = i_ehdrp->e_shoff;
goto got_wrong_format_error;
}
+ /* Remember the entry point specified in the ELF file header. */
+ bfd_set_start_address (abfd, i_ehdrp->e_entry);
+
/* If we have created any reloc sections that are associated with
debugging sections, mark the reloc sections as debugging as well. */
for (s = abfd->sections; s != NULL; s = s->next)