diff options
| author | George Rimar <grimar@accesssoftek.com> | 2019-07-04 14:17:31 +0000 |
|---|---|---|
| committer | George Rimar <grimar@accesssoftek.com> | 2019-07-04 14:17:31 +0000 |
| commit | 0810f16fb9e89e9d7809a0e9a9a7296b35f8ef27 (patch) | |
| tree | b2a2fcb49c589094292451aedb59496872cf7507 /llvm/lib/CodeGen/AtomicExpandPass.cpp | |
| parent | 85fc597f26c81a187c5514d47ee997bc2ea87b1c (diff) | |
| download | bcm5719-llvm-0810f16fb9e89e9d7809a0e9a9a7296b35f8ef27.tar.gz bcm5719-llvm-0810f16fb9e89e9d7809a0e9a9a7296b35f8ef27.zip | |
[LLD][ELF] - Linkerscript: add a support for expressions for section's filling
Imagine the script:
.section: {
...
} = FILL_EXPR
LLD assumes that FILL_EXPR is a number, and does not allow
it to be an expression. Though that is allowed by specification:
https://sourceware.org/binutils/docs-2.32/ld/Output-Section-Fill.html
This patch adds a support for cases when FILL_EXPR is simple math expression.
Fixes https://bugs.llvm.org/show_bug.cgi?id=42482.
Differential revision: https://reviews.llvm.org/D64130
llvm-svn: 365143
Diffstat (limited to 'llvm/lib/CodeGen/AtomicExpandPass.cpp')
0 files changed, 0 insertions, 0 deletions

