aboutsummaryrefslogtreecommitdiff
path: root/bfd/elflink.h
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1996-01-25 17:15:24 +0000
committerMichael Meissner <gnu@the-meissners.org>1996-01-25 17:15:24 +0000
commiteb82bc605f0eb154867648e2e8e36aca15804a30 (patch)
tree39c0ad84dc953ea22e14302b26a1399cea0d5266 /bfd/elflink.h
parentb209d2a3d97ccf0e209a7373a8884c2ed12dfa7d (diff)
downloadgdb-eb82bc605f0eb154867648e2e8e36aca15804a30.zip
gdb-eb82bc605f0eb154867648e2e8e36aca15804a30.tar.gz
gdb-eb82bc605f0eb154867648e2e8e36aca15804a30.tar.bz2
Add more eabi relocations
Diffstat (limited to 'bfd/elflink.h')
-rw-r--r--bfd/elflink.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elflink.h b/bfd/elflink.h
index 283d0c7..a6e0f96 100644
--- a/bfd/elflink.h
+++ b/bfd/elflink.h
@@ -3172,8 +3172,8 @@ elf_create_pointer_linker_section (abfd, info, lsect, h, rel)
return false;
}
- BFD_ASSERT (lsect->rel_section != NULL);
- lsect->rel_section->_raw_size += sizeof (Elf_External_Rela);
+ if (lsect->rel_section)
+ lsect->rel_section->_raw_size += sizeof (Elf_External_Rela);
}
else /* Allocation of a pointer to a local symbol */