[PATCH] D50688: [LLD] Sort alloc/non-alloc output sections in linkerscripts

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 14 01:46:54 PDT 2018


grimar added a comment.

Since it fixes https://bugs.llvm.org/show_bug.cgi?id=37607,
which is about ARM, I added Peter as ARM expert.

Currently, LLD places the sections in the order specified by the script,
what works and simple.
It is perhaps also fine to sort the sections to place allocatable first (this patch),
but looking at the issue I wonder what is the problem to fix the script instead?
I think it is the script issue first of all, would not it be more correct action?


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D50688





More information about the llvm-commits mailing list