[PATCH] D55211: [LLD][ELF] - Support discarding the .dynamic section.

Peter Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 3 09:44:39 PST 2018


peter.smith added a comment.

Will try and test these patches out on the linux kernel build on Thursday (going to be away Tuesday/Wednesday). One thought I had that could potentially simplify all three patches is to treat .dynamic, .dynstr and and .dynsym as a single discardable unit. For example:

- The .dynsym is not useful without the .dynstr.
- If there is a .dynsym then there must be a symbol that needs looking up with a dynamic loader, hence there is a strong case for the .dynamic section.


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

https://reviews.llvm.org/D55211





More information about the llvm-commits mailing list