Files
clang-p2996/lld/test/ELF
George Rimar e7bf968803 [ELF] - Stop producing broken output for R_386_GOT32[X] relocations.
Previously we silently produced broken output for R_386_GOT32X/R_386_GOT32 
relocations if they were used to compute the address of the symbol’s global
offset table entry without base register when position-independent code is disabled.

Situation happened because of recent ABI changes. Released ABI mentions that
R_386_GOT32X can be calculated in a two different ways (so we did not follow ABI here 
before this patch), but draft ABI also mentions R_386_GOT32 relocation here. 
We should use the same calculations for both relocations.

Problem is that we always calculated them as G + A - GOT (offset from end of GOT),
but for case when PIC is disabled, according to i386 ABI calculation should be G + A,
what should produce just an address in GOT finally.

ABI: https://github.com/hjl-tools/x86-psABI/wiki/intel386-psABI-draft.pdf (p36, p60).
llvm-svn: 299812
2017-04-08 06:14:14 +00:00
..
2016-11-29 03:30:07 +00:00
2016-10-26 18:59:00 +00:00
2016-06-07 09:31:52 +00:00
2016-11-18 00:11:12 +00:00
2016-06-07 09:31:52 +00:00
2016-07-25 16:51:52 +00:00
2016-11-11 23:10:22 +00:00
2017-02-03 21:29:51 +00:00
2017-02-03 21:29:51 +00:00
2017-02-03 21:29:51 +00:00
2017-02-03 21:29:51 +00:00
2017-02-03 21:29:51 +00:00
2016-07-25 16:51:52 +00:00
2017-02-03 21:29:51 +00:00
2017-03-23 01:16:57 +00:00
2017-03-23 00:54:16 +00:00
2016-09-02 17:19:28 +00:00
2016-07-21 20:18:30 +00:00
2016-12-06 13:43:34 +00:00
2017-02-03 21:29:51 +00:00
2017-02-03 21:29:51 +00:00
2016-11-04 23:26:29 +00:00
2016-04-07 20:41:41 +00:00
2017-02-23 08:09:51 +00:00
2016-05-28 15:38:13 +00:00
2016-02-25 18:43:51 +00:00
2016-09-02 17:19:28 +00:00
2016-09-02 17:19:28 +00:00
2016-02-25 18:43:51 +00:00
2016-12-05 01:31:39 +00:00
2017-02-27 13:21:18 +00:00
2017-02-28 22:42:49 +00:00
2016-12-07 20:29:46 +00:00
2017-04-05 05:40:21 +00:00
2016-02-12 20:54:57 +00:00
2016-12-05 20:53:11 +00:00
2017-02-03 21:29:51 +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
2017-02-28 19:06:32 +00:00
2016-03-03 18:44:38 +00:00
2016-03-01 13:23:29 +00:00
2016-09-22 16:47:21 +00:00
2016-12-05 20:49:16 +00:00
2016-12-05 22:27:21 +00:00
2016-11-01 18:30:28 +00:00
2016-04-29 23:28:36 +00:00
2017-02-10 20:10:16 +00:00
2017-02-10 20:10:16 +00:00
2016-12-02 08:00:09 +00:00
2017-02-21 21:41:50 +00:00
2016-02-05 22:55:06 +00:00
2017-02-02 21:26:23 +00:00
2016-11-02 02:18:01 +00:00
2016-12-03 15:26:18 +00:00
2016-06-20 17:58:09 +00:00
2016-04-08 20:49:31 +00:00
2016-05-04 20:06:49 +00:00
2016-11-23 05:14:01 +00:00
2016-12-09 22:40:49 +00:00
2016-06-09 15:45:49 +00:00
2016-04-15 11:57:07 +00:00
2016-07-12 23:28:33 +00:00
2017-02-13 16:21:34 +00:00