[PATCH 0/3] gas/x86: displacement handling adjustments

Jan Beulich jbeulich@suse.com
Thu Jun 30 12:06:28 GMT 2022


The primary goal here is the last patch, increasing the headroom
we have in the operand type structure for future additions, while
at the same time also reducing code size a little. When initially
validating the concept as viable, I stumbled across two issues
which the first two patches deal with. Unfortunately this leads
to a little back and forth in lex_got()'s internal lookup table
(and i386-gen's underlying macros); This would be avoidable only
if folding the last two patches, which I don't think is desirable.

1: x86-64: improve handling of branches to absolute addresses
2: x86: restore masking of displacement kinds
3: x86: fold Disp32S and Disp32

Jan


More information about the Binutils mailing list