[PATCH] D10937: [yaml2obj] Align section content using AddressAlign field's value

Simon Atanasyan simon at atanasyan.com
Fri Jul 3 16:53:47 PDT 2015


atanasyan created this revision.
atanasyan added a reviewer: silvas.
atanasyan added a subscriber: llvm-commits.

Use AddressAlign field's value to properly align sections content in the yaml2obj tool. Before this change the yaml2obj ignored AddressAlign and always aligned section on 16 bytes boundary.

Repository:
  rL LLVM

http://reviews.llvm.org/D10937

Files:
  test/Object/yaml2obj-elf-alignment.yaml
  test/Object/yaml2obj-elf-rel.yaml
  test/Object/yaml2obj-elf-section-basic.yaml
  tools/yaml2obj/yaml2elf.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10937.29039.patch
Type: text/x-patch
Size: 6633 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150703/2e745104/attachment.bin>


More information about the llvm-commits mailing list