diff options
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/xcofflink.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/xcofflink.c b/bfd/xcofflink.c index e18efd4..a00ae89 100644 --- a/bfd/xcofflink.c +++ b/bfd/xcofflink.c @@ -3992,7 +3992,8 @@ bfd_xcoff_size_dynamic_sections (bfd *output_bfd, } } - if (info->strip != strip_all) + if (info->strip != strip_all + && xcoff_hash_table (info)->debug_section != NULL) xcoff_hash_table (info)->debug_section->size = _bfd_stringtab_size (debug_strtab); |