dim
8f38cfd8d9
Pull in r265122 from upstream llvm trunk (by James Molloy):
...
Fix for pr24346: arm asm label calculation error in sub
Some ARM instructions encode 32-bit immediates as a 8-bit integer
(0-255) and a 4-bit rotation (0-30, even) in its least significant 12
bits. The original fixup, FK_Data_4, patches the instruction by the
value bit-to-bit, regardless of the encoding. For example, assuming
the label L1 and L2 are 0x0 and 0x104 respectively, the following
instruction:
add r0, r0, #(L2 - L1) ; expects 0x104, i.e., 260
would be assembled to the following, which adds 1 to r0, instead of
260:
e2800104 add r0, r0, #4 , 2 ; equivalently 1
The new fixup kind fixup_arm_mod_imm takes care of the encoding:
e2800f41 add r0, r0, #260
Patch by Ting-Yuan Huang!
This fixes label calculation for ARM assembly, and is needed to enable
ARM assembly sources for OpenSSL.
Requested by: jkim
MFC after: 3 days
2016-08-20 14:04:51 +00:00
..
2016-06-03 16:17:36 +00:00
2016-02-24 17:20:11 +00:00
2016-02-24 17:20:11 +00:00
2016-02-24 21:38:51 +00:00
2016-06-03 16:17:36 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-02-24 17:20:11 +00:00
2016-06-17 16:46:58 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-02-24 17:20:11 +00:00
2016-02-24 17:20:11 +00:00
2016-02-24 17:20:11 +00:00
2016-02-24 21:38:51 +00:00
2016-02-24 21:38:51 +00:00
2016-02-24 21:38:51 +00:00
2016-02-24 21:38:51 +00:00
2016-02-24 21:38:51 +00:00
2016-02-24 21:38:51 +00:00
2016-06-17 16:46:58 +00:00
2015-12-01 05:23:19 +00:00
2016-02-24 17:20:11 +00:00
2016-02-24 17:20:11 +00:00
2016-02-24 17:20:11 +00:00
2016-02-24 21:38:51 +00:00
2016-02-24 21:38:51 +00:00
2016-03-08 21:26:44 +00:00
2016-01-04 00:02:58 +00:00
2015-12-01 05:23:19 +00:00
2016-01-04 00:02:58 +00:00
2016-03-08 21:26:44 +00:00
2016-02-24 21:38:51 +00:00
2016-02-24 17:20:11 +00:00
2016-02-24 17:20:11 +00:00
2016-02-24 17:20:11 +00:00
2016-02-24 17:20:11 +00:00
2016-02-24 17:20:11 +00:00
2016-02-24 17:20:11 +00:00
2016-02-24 17:20:11 +00:00
2016-02-24 17:20:11 +00:00
2016-02-24 17:20:11 +00:00
2015-12-01 05:23:19 +00:00
2016-02-24 17:20:11 +00:00
2015-12-01 05:23:19 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2015-06-16 23:37:19 +00:00
2015-06-16 23:37:19 +00:00
2015-12-01 05:23:19 +00:00
2015-12-01 05:23:19 +00:00
2016-02-24 17:20:11 +00:00
2016-02-24 17:20:11 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-02-24 17:20:11 +00:00
2015-12-01 05:23:19 +00:00
2015-12-01 05:23:19 +00:00
2015-12-01 05:23:19 +00:00
2015-12-01 05:23:19 +00:00
2015-12-01 05:23:19 +00:00
2015-12-01 05:23:19 +00:00
2016-02-24 21:38:51 +00:00
2016-02-24 17:20:11 +00:00
2015-12-01 05:23:19 +00:00
2016-02-24 21:38:51 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-02-24 17:20:11 +00:00
2016-02-24 17:20:11 +00:00
2015-12-01 05:23:19 +00:00
2015-12-01 05:23:19 +00:00
2016-02-24 21:38:51 +00:00
2016-02-24 21:38:51 +00:00
2016-01-04 00:02:58 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-02-21 13:49:26 +00:00
2016-02-16 23:11:09 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2015-12-31 14:39:45 +00:00
2015-09-06 22:02:13 +00:00
2016-03-08 21:26:44 +00:00
2015-06-13 19:20:56 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2015-06-13 19:20:56 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2015-06-20 19:34:50 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-26 03:46:12 +00:00
2016-03-08 21:26:44 +00:00
2015-06-20 19:34:50 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2016-03-08 21:26:44 +00:00
2015-06-13 19:20:56 +00:00
2016-07-08 00:12:29 +00:00
2016-01-23 14:17:21 +00:00
2016-08-20 14:04:51 +00:00
2016-06-17 16:46:58 +00:00