DescriptionReplace rip lea with eip
Fix for the POINTERS_EXTEND_UNSIGNED > 0 problem of keeping high part of rip.
Note that ix86_lea_decompose_address does not produce pc_rtx in base or index even if -fPIC is used: pc_rtx is added later in print_operand_address_parts. That's why we are handling !base and !index case here.
BUG=http://code.google.com/p/nativeclient/issues/detail?id=1304
TEST=see reproducer in bug above
R=eaeltsin@google.com
Committed: https://git.chromium.org/gitweb?p=native_client/nacl-gcc.git;a=commit;h=61ff43b
Patch Set 1 #Patch Set 2 : Handle all cases handled by print_operand_address_parts #
Total comments: 1
Patch Set 3 : Create and use helper function #Patch Set 4 : Git-fu error #Patch Set 5 : Typo #Patch Set 6 : space #Patch Set 7 : remove [gcc] prefix #
Messages
Total messages: 7 (0 generated)
|