George Rimar f4ca4a6fa1 [ELF] - Do not collect SHT_REL[A] sections unconditionally when --gc-sections and --emit-relocs used together.
This is "Bug 34836 - --gc-sections remove relocations from --emit-relocs",

When --emit-relocs is used, LLD currently always drops SHT_REL[A] sections from
output if --gc-sections is present. Patch fixes the issue.

Differential revision: https://reviews.llvm.org/D38724

llvm-svn: 316418
2017-10-24 08:26:32 +00:00
..
2017-10-13 18:22:55 +00:00
2017-10-15 21:43:09 +00:00
2017-10-13 18:22:55 +00:00
2017-10-13 18:22:55 +00:00
2017-10-13 18:22:55 +00:00
2017-09-24 23:12:36 +00:00
2017-10-13 18:22:55 +00:00
2017-07-18 11:55:35 +00:00
2017-10-11 04:01:13 +00:00
2017-10-10 22:18:16 +00:00
2017-10-23 21:12:19 +00:00
2017-10-11 01:50:56 +00:00
2017-10-13 18:22:55 +00:00
2017-07-18 11:55:35 +00:00
2016-03-12 06:06:40 +00:00
2017-10-13 06:11:20 +00:00
2017-10-13 21:44:10 +00:00
2017-10-16 18:49:28 +00:00
2017-10-16 18:49:28 +00:00

See docs/NewLLD.rst