[PATCH] D37998: Tweak orphan section placement

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 18 14:44:22 PDT 2017


ruiu added a comment.

I'm not sure if I understand this patch correctly.

  .some_sec { ...} ;
  __stack_start = .;
  . = . + 0x2000;
  __stack_end = .;

I think I agree that .comment shouldn't be before __stack_end, but what if it is not a .comment? For example, if an orphan section is a RO section, it might make sense to handle it with the normal rule.


https://reviews.llvm.org/D37998





More information about the llvm-commits mailing list