commit | 471f27b9e538b496764734ccd9fbb05551a6df21 | [log] [tgz] |
---|---|---|
author | Evgeny Eltsin <eaeltsin@google.com> | Mon Aug 23 12:38:16 2010 |
committer | Evgeny Eltsin <eaeltsin@google.com> | Mon Nov 22 17:13:55 2010 |
tree | 3c61bf3bf6f68011f51003cc899232c5d829c35b | |
parent | 07de68ea59f6a1744aff475aa1971b35dae449b9 [diff] |
[gcc] Fix optimized expand of ptr diff for 64-bit PIC SImode subtraction instructions use "m" contstraint for one operand and "i" constraint for another. This does not work in 64-bit PIC in nacl, as "i" allows symbol references which get rip-relative addressing. This replaces "i" constraint with "e" contraint, where the latter does not allow symbol references except those that simply fit in 32-bits immediate. Review URL: http://codereview.chromium.org/3187016