emaste 3fdb20a9bf lld: ELF: Fix ICF crash on absolute symbol relocations.
If two sections contained relocations to absolute symbols with the same
value we would crash when trying to access their sections. Add a check that
both symbols point to sections before accessing their sections, and treat
absolute symbols as equal if their values are equal.

Obtained from:	LLD commit r292578
MFC after:	3 days
2017-06-13 00:31:16 +00:00
..
2017-05-10 22:45:05 +00:00
2017-05-31 19:37:23 +00:00
2017-05-22 01:10:12 +00:00
2017-03-02 01:14:48 +00:00
2017-05-05 14:33:39 +00:00
2017-02-19 17:37:16 +00:00
2017-06-08 19:40:00 +00:00
2017-06-06 21:50: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-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 02:42:49 +00:00
2017-01-17 05:55:47 +00:00
2017-05-06 10:26:40 +00:00