diff options
author | Alan Modra <amodra@gmail.com> | 2025-07-10 11:15:16 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2025-07-11 08:23:40 +0930 |
commit | 6398ac7e8b9dc8992bc375e401943915a41952c8 (patch) | |
tree | 628d954c255c2ef66e0e3d8752a1ab22543c3310 /gdb/python/python-internal.h | |
parent | 7507184dbead052fe255bb6f83bf1354faafc358 (diff) | |
download | binutils-6398ac7e8b9dc8992bc375e401943915a41952c8.zip binutils-6398ac7e8b9dc8992bc375e401943915a41952c8.tar.gz binutils-6398ac7e8b9dc8992bc375e401943915a41952c8.tar.bz2 |
gas v850 md_convert_frag
The v850 md_convert_frag function oddly calls subseg_change twice
(commit 1cd986c58543). Neither call is needed, because that is done
in size_seg.
Convert the fr_opcode fixup field back (to an opindex, not fx_r_type)
using a cast rather than a union, since we used casts when setting up
those values. I guess the union was added to silence compiler
warnings about wrong-size casts, but unfortunately results in the
wrong value being retrieved on big-endian hosts.
Change "buffer" to a char* as there is no need to make it an
unsigned char*, and that way requires fewer casts. Finally, fix
formatting and use uintptr_t when make the rs_machine_dependent frags.
Remove subseg_change calls from cr16, crx, mn10200, mn10300, and sh
md_convert_frag too.
Diffstat (limited to 'gdb/python/python-internal.h')
0 files changed, 0 insertions, 0 deletions