diff options
author | Alan Modra <amodra@gmail.com> | 2025-07-09 08:54:24 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2025-07-09 09:35:06 +0930 |
commit | b6ef2d0c2f70d3b50a51f3691d06948e4fa90074 (patch) | |
tree | 7a4107ffd35bd152aa40935cbcc6e99236c486db /gdb/python/py-gdb-readline.c | |
parent | 4ff3ce6fcd811545c45211b794d67fa2c00e40ff (diff) | |
download | binutils-b6ef2d0c2f70d3b50a51f3691d06948e4fa90074.zip binutils-b6ef2d0c2f70d3b50a51f3691d06948e4fa90074.tar.gz binutils-b6ef2d0c2f70d3b50a51f3691d06948e4fa90074.tar.bz2 |
gas pointer to int and vice versa
Use "intptr_t" or "uintptr_t" for these conversions, not "long" which
is wrong on LLP64 systems, or "size_t" which is better but still not
the correct type.
* config/tc-alpha.c (emit_ldXu, emit_ldX, emit_uldXu, emit_uldX),
(emit_stX, emit_ustX, emit_sextX): Use correct type when
converting vlgsize pointer to in. Use "int" rather than
"long" for result.
* config/tc-ia64.c (generate_unwind_image): Use intptr_t cast
when passing personality_routine to frag_var.
* config/tc-ppc.c (ppc_frob_symbol <coff>): Use uintptr_t cast
when converting symbol pointer to valueT.
* config/tc-v850.c (md_assemble): Use intptr_t cast when
loading integer opindex.
Diffstat (limited to 'gdb/python/py-gdb-readline.c')
0 files changed, 0 insertions, 0 deletions