[PATCH] D22116: [ELF] Support for setting the base address

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 8 10:46:34 PDT 2016

ruiu added a comment.

I think doing it is valid only for ld.gold because the linker layouts a executable segment at beginning of a file image. Our segment layout is not the same as GNU gold -- we actually layout a read-only data segment at beginning of a file. So I think just setting the base pointer is not enough for us to handle -Ttext-segment.


More information about the llvm-commits mailing list