diff options
author | Jan Beulich <jbeulich@suse.com> | 2021-04-23 09:16:57 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2021-04-23 09:16:57 +0200 |
commit | 28a167a40651c4b50ef00c5fb92383b96390bfec (patch) | |
tree | b72d2a62aa73449568a0179ab9f61f180ac865dd /bfd/peicode.h | |
parent | 7b025ee8c81312ea0c1a7fd44b7813f59df871ef (diff) | |
download | binutils-28a167a40651c4b50ef00c5fb92383b96390bfec.zip binutils-28a167a40651c4b50ef00c5fb92383b96390bfec.tar.gz binutils-28a167a40651c4b50ef00c5fb92383b96390bfec.tar.bz2 |
x86: re-order optimize_disp()
While I can't point out any specific case where things break, it looks
wrong to have the consumer of a flag before its producer. Set .disp32
first, then do the possible conversion to signed 32-bit, and finally
check whether the value fits in a signed long.
Diffstat (limited to 'bfd/peicode.h')
0 files changed, 0 insertions, 0 deletions