2008-12-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>

* elf64-s390.c (elf_s390_check_relocs): Initialize
	htab->elf.dynobj if necessary.
This commit is contained in:
Andreas Krebbel 2008-12-04 08:43:26 +00:00
parent 171191bac5
commit 440e9cd2ea
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2008-12-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* elf64-s390.c (elf_s390_check_relocs): Initialize
htab->elf.dynobj if necessary.
2008-12-03 Nick Clifton <nickc@redhat.com>
* syms.c (struct bfd_symbol): Add new flag BSF_INDIRECT_FUNCTION.

View file

@ -1246,6 +1246,9 @@ elf_s390_check_relocs (abfd, info, sec, relocs)
this reloc. */
if (sreloc == NULL)
{
if (htab->elf.dynobj == NULL)
htab->elf.dynobj = abfd;
sreloc = _bfd_elf_make_dynamic_reloc_section
(sec, htab->elf.dynobj, 3, abfd, /*rela?*/ TRUE);