aboutsummaryrefslogtreecommitdiff
path: root/binutils/dwarf.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2022-07-04 08:32:20 +0200
committerJan Beulich <jbeulich@suse.com>2022-07-04 08:32:20 +0200
commit02b83698ef04a33a8c606efeceb8fe7cd9a9b344 (patch)
treed11b653a7321d636217643f0b89d910e19d10eac /binutils/dwarf.c
parent9386188e95f4dee6319c51b30e2ea64b27ae0084 (diff)
downloadgdb-02b83698ef04a33a8c606efeceb8fe7cd9a9b344.zip
gdb-02b83698ef04a33a8c606efeceb8fe7cd9a9b344.tar.gz
gdb-02b83698ef04a33a8c606efeceb8fe7cd9a9b344.tar.bz2
x86: restore masking of displacement kinds
Commit 7d5e4556a375 rendered the check near the end of what is now i386_finalize_displacement() entirely dead for AT&T mode, since for operands involving a displacement .unspecified will always be set. But the logic there is bogus anyway - Intel syntax operand size specifiers are of no interest there either. The only thing which matters in the "displacement only" determination is .baseindex. Of course when masking displacement kinds we should not at the same time also mask off other attributes. Furthermore the type mask returned by lex_got() also needs to be adjusted: The only case where we want Disp32 (rather than Disp32S) is when dealing with 32-bit addressing mode in 64-bit code.
Diffstat (limited to 'binutils/dwarf.c')
0 files changed, 0 insertions, 0 deletions