diff options
author | Jan Beulich <jbeulich@suse.com> | 2023-04-21 12:09:35 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2023-04-21 12:09:35 +0200 |
commit | a82b3c5656d62a47173ddebab52819a2d0788de7 (patch) | |
tree | 984a5c2701e9e4142195d3313eff39d458d84c23 /opcodes/lm32-asm.c | |
parent | 9760136327e70c4c3e94dfa65deeec069ef4fba8 (diff) | |
download | binutils-gdb-a82b3c5656d62a47173ddebab52819a2d0788de7.tar.gz |
x86: change fetch error handling for get<N>()
Make them return boolean and convert FETCH_DATA() uses to fetch_code().
With this no further users of FETCH_DATA() remain, so the macro and its
backing function are dropped as well.
Leave value types as they were for the helper functions, even if I don't
think that beyond get64() use of bfd_{,signed_}vma is really necessary.
With type change of "disp" in OP_E_memory(), change the 2nd parameter of
print_displacement() to a signed type as well, though (eliminating the
need for a local variable of signed type). This also eliminates the need
for custom printing of '-' in Intel syntax displacement expressions.
While there drop forward declarations which aren't really needed.
Diffstat (limited to 'opcodes/lm32-asm.c')
0 files changed, 0 insertions, 0 deletions