Make lld actually compatible with gold in terms of filler handling.
authorRui Ueyama <ruiu@google.com>
Mon, 29 Aug 2016 22:01:21 +0000 (22:01 +0000)
committerRui Ueyama <ruiu@google.com>
Mon, 29 Aug 2016 22:01:21 +0000 (22:01 +0000)
commit2c8f1f048c97ffdeb34b8e8723e9a7369d2987ee
tree623a0d50a7ae12d1988483d6c9a5c7865558fb6d
parentbd4a9cbbb67e4fcd79ab8c26edf09212e8fabd66
Make lld actually compatible with gold in terms of filler handling.

GNU gold handles output section fillers as 32-bit values.
This patch makes LLD compatible with that behavior.

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

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