[PATCH] D32887: [ELF] Emit __ehdr_start when there is a segment containing program headers

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 5 14:58:42 PDT 2017


ruiu added a comment.

Isn't there any way to determine if a ELF header is going to be included in some segment before scanning relocations?

Or, do you have any problem if you unconditionally define the symbol (and set it to zero if the condition is not satisfied)?


Repository:
  rL LLVM

https://reviews.llvm.org/D32887





More information about the llvm-commits mailing list