[PATCH] D60785: [ELF] Align file offset for .bss if first section in a PT_LOAD

James Clarke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 18 08:52:24 PDT 2019


jrtc27 updated this revision to Diff 195758.
jrtc27 added a comment.

Also handle .bss where the zeroes are written to the file.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D60785/new/

https://reviews.llvm.org/D60785

Files:
  lld/ELF/Writer.cpp
  lld/test/ELF/basic-ppc64.s
  lld/test/ELF/linkerscript/Inputs/bss-first-align.s
  lld/test/ELF/linkerscript/Inputs/bss-middle-align.s
  lld/test/ELF/linkerscript/bss-first-align.test
  lld/test/ELF/linkerscript/bss-middle-align.test
  lld/test/ELF/relocation-copy-align-common.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60785.195758.patch
Type: text/x-patch
Size: 7000 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190418/85eecae7/attachment.bin>


More information about the llvm-commits mailing list