Skip to content
  • Rafael Espindola's avatar
    Avoid a crash with -r and .comment. · d4372f78
    Rafael Espindola authored
    We would create a MergeInputSection for the synthetic .comment and
    crash trying to add it to a regular output section.
    
    With this we just don't add the synthetic section with -r. That is
    consistent with gold that doesn't create .note.gnu.gold-version with
    -r.
    
    llvm-svn: 286635
    d4372f78
Loading