[0/8] x86: do away with (ab)using setjmp/longjmp for error handling

Message ID 5dac45a8-cd5f-ee4d-52fc-7d283fc29ec4@suse.com
Headers
Series x86: do away with (ab)using setjmp/longjmp for error handling |

Message

Jan Beulich April 4, 2023, 6:56 a.m. UTC
  As per https://sourceware.org/pipermail/binutils/2023-March/126687.html
doing so is problematic.

1: move fetch error handling into a helper function
2: change fetch error handling in top-level function
3: change fetch error handling in ckprefix()
4: change fetch error handling in get_valid_dis386()
5: change fetch error handling when processing operands
6: change fetch error handling for get<N>()
7: drop use of setjmp() from disassembler
8: drop (explicit) BFD64 dependency from assembler

Jan