[PATCH] D19976: [ELF] - Prototype of possible linkerscript redesign.

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 4 08:24:59 PDT 2016

davide added a comment.

Thanks for taking care of this, George.
The first question that comes to my mind is: how is this code going to support expression relative to sections? When we do symbol assignment a symbol may be relative to a section so we need to be able to fetch the section (which was a little bit of a stretch in the current code).

My second question is:
Can you defend the ability of your code being able to implement cleanly more complex constructs? e.g.

  KEEP (*(EXCLUDE_FILE (*crtend.o *crtend?.o ) .dtors))
  KEEP (*(SORT(.dtors.*)))


More information about the llvm-commits mailing list