[lld][ELF] Removing redundant cast. NFC.
authorSam Clegg <sbc@chromium.org>
Mon, 1 Mar 2021 00:42:49 +0000 (16:42 -0800)
committerSam Clegg <sbc@chromium.org>
Mon, 1 Mar 2021 00:53:41 +0000 (16:53 -0800)
commitd49270b087e85191057925ce00c19378caeee5b2
tree1fe610a144c43485a6b77d7e7a46ee1e1d2aa69a
parent40cee381c1779256e039d66ea5d01ad7d344efb7
[lld][ELF] Removing redundant cast. NFC.

Also a couple of minor cleanups in merge-string.s:
- fix inconsistent use of tabs
- use `.p2align` rather than `.align` since `.p2align` works the
  same on all platforms (the meaning of align seems to differ
  between platforms according to `AlignmentIsInBytes`.

I noticed these potential cleanups while porting SHF_STRINGS support to
wasm-ld.

Differential Revision: https://reviews.llvm.org/D97647
lld/ELF/InputSection.cpp
lld/test/ELF/merge-string.s