Files
clang-p2996/lld/test/ELF
George Rimar d8281379f9 [ELF] - Do not ignore discarding of .rela.plt/.rela.dyn, allow doing custom layout for them.
Currently when we build input sections list in linker script
we ignore all rel[a] sections. That was done to support
scripts like .rela.dyn : { *(.rela.data) } for emit relocs.

Though as a result following scripts were also silently ignored:

/DISCARD/ : { *(.rela.plt)
/DISCARD/ : { *(.rela.dyn)

and we produced output with this sections. That is not ideal.
The solution this patch suggests is simple: do not ignore synthetic
rel[a] sections. That way we can enable common discarding logic
for them and report a proper error.

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

llvm-svn: 328419
2018-03-24 13:10:19 +00:00
..
2018-03-23 00:35:27 +00:00
2017-10-12 15:12:55 +00:00
2017-10-12 15:54:14 +00:00
2016-11-18 00:11:12 +00:00
2017-07-20 21:55:40 +00:00
2018-03-14 22:05:12 +00:00
2016-11-11 23:10:22 +00:00
2018-03-01 01:05:04 +00:00
2017-11-15 16:56:20 +00:00
2018-03-19 17:40:14 +00:00
2017-11-15 16:56:20 +00:00
2017-11-15 16:56:20 +00:00
2017-11-15 16:56:20 +00:00
2017-11-15 16:56:20 +00:00
2017-09-30 21:28:49 +00:00
2017-08-10 15:54:27 +00:00
2017-08-10 15:54:27 +00:00
2018-03-14 22:05:12 +00:00
2018-03-14 22:05:12 +00:00
2018-03-14 20:29:45 +00:00
2017-09-30 21:28:49 +00:00
2017-11-22 22:00:50 +00:00
2017-03-23 00:54:16 +00:00
2018-03-14 22:05:12 +00:00
2017-08-05 04:07:21 +00:00
2018-03-14 22:05:12 +00:00
2017-09-28 17:15:02 +00:00
2017-06-06 16:18:48 +00:00
2016-12-06 13:43:34 +00:00
2018-03-19 17:40:14 +00:00
2017-09-07 23:54:32 +00:00
2017-11-28 20:17:58 +00:00
2017-11-15 16:56:20 +00:00
2017-11-15 16:56:20 +00:00
2016-11-04 23:26:29 +00:00
2017-12-12 20:00:30 +00:00
2017-07-20 17:14:52 +00:00
2017-12-28 17:20:41 +00:00
2017-02-23 08:09:51 +00:00
2018-03-14 22:05:12 +00:00
2017-10-06 09:37:44 +00:00
2017-07-26 09:21:10 +00:00
2018-02-01 16:00:46 +00:00
2018-02-01 16:00:46 +00:00
2018-02-01 16:00:46 +00:00
2018-02-01 16:00:46 +00:00
2017-02-27 13:21:18 +00:00
2018-02-01 16:00:46 +00:00
2017-06-19 17:23:04 +00:00
2018-03-06 21:25:37 +00:00
2017-10-18 04:45:09 +00:00
2016-12-05 20:53:11 +00:00
2017-09-07 23:54:20 +00:00
2017-11-15 16:56:20 +00:00
2017-11-15 16:56:20 +00:00
2017-09-15 01:49:01 +00:00
2017-09-15 01:49:01 +00:00
2017-09-15 01:49:01 +00:00
2017-09-15 01:49:01 +00:00
2017-09-15 01:49:01 +00:00
2016-11-05 22:58:01 +00:00
2017-02-28 19:06:32 +00:00
2017-02-28 19:06:32 +00:00
2018-03-23 00:35:27 +00:00
2016-12-05 20:49:16 +00:00
2018-01-31 02:03:55 +00:00
2018-03-13 00:07:53 +00:00
2018-03-13 00:07:53 +00:00
2017-11-28 20:13:12 +00:00
2016-12-02 08:00:09 +00:00
2017-02-21 21:41:50 +00:00
2018-03-14 22:05:12 +00:00
2017-02-02 21:26:23 +00:00
2016-12-03 15:26:18 +00:00
2018-03-14 20:29:45 +00:00
2017-09-30 11:46:26 +00:00
2017-07-19 16:45:05 +00:00
2017-05-04 03:00:27 +00:00
2017-12-06 02:53:43 +00:00
2016-11-23 05:14:01 +00:00
2017-07-05 00:43:18 +00:00
2017-11-28 23:06:09 +00:00