[PATCH] D43942: [lld] Fix handling of output section selection for unmerged mergeable inputs and relocatable output

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 1 10:30:58 PST 2018


ruiu added a comment.

As Rafael said, it is not an error or anything to have multiple sections with the same section name in one ELF file. Actually that's pretty common. For example, if you pass -fno-unique-section-names to clang, clang creates multiple ".text" sections. What is a motivation to make this change?


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D43942





More information about the llvm-commits mailing list