[ELF] - Linkerscript: Implemented >> and <<

Description

[ELF] - Linkerscript: Implemented >> and <<

Found this operators used in the wild scripts, for example:

got2_entries = (_FIXUP_TABLE_ - _GOT2_TABLE_) >>2;
fixup_entries = (. - _FIXUP_TABLE_)>>2;

Differential revision: https://reviews.llvm.org/D24860

Details

Committed
grimarSep 23 2016, 6:13 AM
Differential Revision
D24860: [ELF] - Linkerscript: Implemented >> and <<
Parents
rL282242: Minor tweak. Avoid hardcoding.
Branches
Unknown
Tags
Unknown