[PATCH] D38238: [ELF] Add constant for querying the image base in linker scripts

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 25 10:46:13 PDT 2017


ruiu added a comment.

OK, so the current behavior of -image-base is that it doesn't have any effect if a linker script is used, is this correct. I can imagine that that is perceived as a pretty odd behavior from the user's perspective. I think a natural assumption of the -image-base behavior to start . with an address given by -image-base.

We don't need to think about backward compatibility because -image-base is a new option, no?


https://reviews.llvm.org/D38238





More information about the llvm-commits mailing list