diff options
Diffstat (limited to 'binutils/objcopy.c')
-rw-r--r-- | binutils/objcopy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/objcopy.c b/binutils/objcopy.c index 44e9331..7fd6711 100644 --- a/binutils/objcopy.c +++ b/binutils/objcopy.c @@ -891,7 +891,7 @@ filter_symbols (bfd *abfd, bfd *obfd, asymbol **osyms, keep = (strip_symbols != STRIP_DEBUG && strip_symbols != STRIP_UNNEEDED && ! convert_debugging); - else if (bfd_get_section (sym)->comdat) + else if (bfd_coff_get_comdat_section (abfd, bfd_get_section (sym))) /* COMDAT sections store special information in local symbols, so we cannot risk stripping any of them. */ keep = 1; |