emaste 69c2c70d3e lld: [ELF] Remove unused synthetic sections from script commands
Script commands are processed before unused synthetic sections are
removed. Therefore, if a linker script matches one of these sections
it'll get emitted as an empty output section because the logic for
removing unused synthetic sections ignores script commands which
could have already matched and captured one of these sections. This
patch fixes that by also removing the unused synthetic sections from
the script commands.

Discussed with:	dim
Obtained from:	LLVM r307037
Sponsored by:	The FreeBSD Foundation
2017-07-04 17:32:51 +00:00
..
2017-05-10 22:45:05 +00:00
2017-05-31 19:37:23 +00:00
2017-06-28 19:08:07 +00:00
2017-05-05 14:33:39 +00:00
2017-02-19 17:37:16 +00:00
2017-06-16 06:29:21 +00:00
2017-06-08 19:40:00 +00:00
2017-02-06 08:49:57 +00:00
2017-03-23 22:06:06 +00:00
2017-03-16 21:32:05 +00:00
2017-05-23 09:29:05 +00:00
2017-05-05 13:31:25 +00:00
2017-01-30 16:32:53 +00:00
2017-06-28 09:22:45 +00:00
2017-02-28 23:42:47 +00:00
2017-03-25 14:14:11 +00:00
2017-06-01 19:21:30 +00:00
2017-05-20 18:02:31 +00:00
2017-02-28 23:42:47 +00:00
2017-03-27 21:00:49 +00:00
2017-06-03 18:21:50 +00:00
2017-01-17 05:55:47 +00:00
2017-05-06 10:26:40 +00:00