Fangrui Song 01d2a01e79 [ELF] Fix a null pointer dereference when relocating a Local-Exec TLS relocation for a lazy symbol
If there is no SHF_TLS section, there will be no PT_TLS and Out::tlsPhdr may be a nullptr.
If the symbol referenced by an R_TLS is lazy, we should treat the symbol as undefined.

Also reorganize tls-in-archive.s and tls-weak-undef.s . They do not test what they intended to test.
2020-04-21 15:39:31 -07:00
..
2016-01-13 13:04:46 +00:00
2017-09-28 17:15:02 +00:00
2016-06-28 21:48:33 +00:00
2017-11-28 20:17:58 +00:00
2017-11-23 23:40:33 +00:00
2018-06-13 18:45:25 +00:00
2018-01-16 18:53:09 +00:00
2016-02-25 18:43:51 +00:00
2017-12-14 05:01:49 +00:00
2016-03-31 12:09:36 +00:00
2016-04-04 16:02:39 +00:00
2018-03-23 00:35:27 +00:00
2019-02-11 21:38:20 +00:00
2016-03-11 14:34:44 +00:00
2016-04-08 20:49:31 +00:00
2016-04-08 20:49:31 +00:00
2016-07-25 16:51:52 +00:00
2017-07-19 16:45:05 +00:00
2017-07-19 16:45:05 +00:00
2017-07-05 00:43:18 +00:00
2017-11-28 23:06:09 +00:00