[PATCH v3 0/6] x86: break gas dependency on libopcodes

Jan Beulich jbeulich@suse.com
Mon Nov 28 11:29:25 GMT 2022


Unlike many other architectures, x86 does not share an opcode table
between assembly and disassembly. Any consumer of libopcodes would only
ever access one of the two.

v3: Two new patches (4 and 6). Correct an omission from patch 2.

1: instantiate i386_{op,reg}tab[] in gas instead of in libopcodes
2: remove i386-opc.c
3: break gas dependency on libopcodes
4: add generated tables dependency check to gas
5: drop sentinel from i386_optab[]
6: generate template sets data at build time

Jan


More information about the Binutils mailing list