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

Petr Hosek via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 8 18:21:07 PDT 2016

phosek added a comment.

In general, this is an option supported by all existing linkers and it's used by the existing software; having to use a custom linker script just to change the start address is a bit of an overkill.

In our case, we would like to use lld as our system linker, but in our system the lowest available start address is different from the default start address used by lld. Having an option to set the start address allows us to pass this option to the linker from our Clang toolchain driver and avoid the use of linker script.


More information about the llvm-commits mailing list