[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
Tue May 9 11:16:45 PDT 2017


ruiu added a comment.

I'm reluctant to introduce a new concept of `SymbolReference` just for __ehdr_start symbol which is frankly speaking not that important. You needed these new concepts for defining __ehdr_start only when an ELF header is memory-allocated, right? Is there any problem if you always define that symbol and leave it zero if an ELF header is not in an allocated segment?


Repository:
  rL LLVM

https://reviews.llvm.org/D32887





More information about the llvm-commits mailing list