Rui Ueyama 4af8d47d05 Fix -emit-reloc against local symbols.
Previously, we drop symbols starting with .L from the symbol table, so
if there is a relocation that refers a .L symbol, it ended up
referencing a null -- which happened to be interpreted as an absolute
symbol.

This patch copies all symbols including local ones if -emit-reloc is
given.

Fixes https://bugs.llvm.org/show_bug.cgi?id=41385

Differential Revision: https://reviews.llvm.org/D60306

llvm-svn: 357885
2019-04-08 06:45:07 +00:00
..
2017-10-12 15:12:55 +00:00
2018-07-05 16:03:20 +00:00
2016-11-18 00:11:12 +00:00
2017-07-20 21:55:40 +00:00
2019-03-15 03:20:13 +00:00
2018-03-14 22:05:12 +00:00
2018-03-01 01:05:04 +00:00
2018-11-14 17:56:43 +00:00
2017-11-15 16:56:20 +00:00
2018-06-26 22:20:04 +00:00
2017-09-30 21:28:49 +00:00
2017-08-10 15:54:27 +00:00
2018-04-09 12:45:29 +00:00
2017-09-30 21:28:49 +00:00
2017-11-22 22:00:50 +00:00
2018-11-27 09:48:17 +00:00
2016-09-02 17:19:28 +00:00
2016-07-21 20:18:30 +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-06-26 22:20:04 +00:00
2018-04-20 01:21:24 +00:00
2017-11-28 20:17:58 +00:00
2018-04-25 00:29:13 +00:00
2016-11-04 23:26:29 +00:00
2017-12-12 20:00:30 +00:00
2018-06-26 22:20:04 +00:00
2017-02-27 13:21:18 +00:00
2018-08-08 14:50:33 +00:00
2018-08-08 14:50:33 +00:00
2018-08-08 14:50:33 +00:00
2018-08-08 14:50:33 +00:00
2018-03-27 16:10:01 +00:00
2017-10-18 04:45:09 +00:00
2017-09-07 23:54:20 +00:00
2017-11-15 16:56:20 +00:00
2019-01-10 17:57:30 +00:00
2016-12-05 20:49:16 +00:00
2017-11-28 20:13:12 +00:00
2018-10-08 17:24:29 +00:00
2017-05-04 03:00:27 +00:00
2019-02-06 01:00:49 +00:00
2018-12-21 22:57:11 +00:00
2016-11-23 05:14:01 +00:00
2018-04-24 23:03:58 +00:00
2017-07-05 00:43:18 +00:00
2018-08-22 07:02:26 +00:00
2018-08-22 07:02:26 +00:00
2018-04-26 06:10:18 +00:00