forked from OSchip/llvm-project
18821b60b0
The problem with symbol assignments in implicit linker scripts is that they can refer synthetic symbols such as _end, _etext or _edata. The value of these symbols is currently fixed only after all linker script commands are processed, so these assignments will be using non-final and hence invalid value. Rather than fixing the symbol values after all command processing have finished, we instead change the logic to generate symbol assignment commands that set the value of these symbols while processing the commands, this ensures that the value is going to be correct by the time any reference to these symbol is processed and is equivalent to defining these symbols explicitly in linker script as BFD ld does. Differential Revision: https://reviews.llvm.org/D36986 llvm-svn: 312305 |
||
---|---|---|
.. | ||
COFF | ||
Driver/Inputs | ||
ELF | ||
Unit | ||
darwin | ||
mach-o | ||
CMakeLists.txt | ||
lit.cfg | ||
lit.site.cfg.in |