diff options
author | George Rimar <grimar@accesssoftek.com> | 2017-10-12 08:40:12 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2017-10-12 08:40:12 +0000 |
commit | 81eca18df3c3d0aefda1527440722fb7d4561ad7 (patch) | |
tree | f6700ab3f0acfa24621adf0dd8ab924e8e2f80a1 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 3f2b00b7b641fa58042d5b7404d4cb389866c2ab (diff) | |
download | llvm-81eca18df3c3d0aefda1527440722fb7d4561ad7.zip llvm-81eca18df3c3d0aefda1527440722fb7d4561ad7.tar.gz llvm-81eca18df3c3d0aefda1527440722fb7d4561ad7.tar.bz2 |
[ELF] - Linkerscript: Add `~` as separate math token.
Previously we did not support following:
foo = ~0xFF;
and had to add space before numeric value:
foo = ~ 0xFF
That was constistent with ld.bfd < 2.30, which shows:
script.txt:3: undefined symbol `~2' referenced in expression,
but inconsistent with gold.
It was fixed for ld.bfd 2.30 as well:
https://sourceware.org/bugzilla/show_bug.cgi?id=22267
Differential revision: https://reviews.llvm.org/D36508
llvm-svn: 315569
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions