[PATCH] D67152: Align output segments correctly

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 4 04:52:27 PDT 2019


MaskRay added inline comments.


================
Comment at: lld/test/ELF/nmagic.s:22
+.rodata
+.align 8
+.quad 42
----------------
If I assemble this file as x86-64, .rodata happens to be aligned without the change. A larger alignment make more likely reveal problems if we have some layout changes.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D67152





More information about the llvm-commits mailing list