Make filler expression compatible with gold.
authorRui Ueyama <ruiu@google.com>
Wed, 3 Aug 2016 23:25:15 +0000 (23:25 +0000)
committerRui Ueyama <ruiu@google.com>
Wed, 3 Aug 2016 23:25:15 +0000 (23:25 +0000)
commit965827d6742b5296cfbb247f88b2904dd75b9703
treefba3b2334d642cb929c5dac90b407a572a753f4d
parent15a3ce0f59eaad29205279701c58b654343fba11
Make filler expression compatible with gold.

Previously, a decimal filler expression is interpreted as a byte value.
Gold on the other hand use it as a 32-bit big-endian value.
This patch fixes the compatibility issue.

Differential Revision: https://reviews.llvm.org/D23142

llvm-svn: 277680
lld/ELF/LinkerScript.cpp
lld/test/ELF/linkerscript/linkerscript-sections-padding.s