diff options
author | Alan Modra <amodra@gmail.com> | 2023-07-18 12:29:21 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2023-07-19 10:46:59 +0930 |
commit | 1d9f0053f02acc6f1e1c0d498b772bb13b91b745 (patch) | |
tree | 4883b07b93980f4bc55eb2a2ab8e520dfc7ffcbb /gas/config/tc-xtensa.c | |
parent | 057d00baa69799100553a395098fd9c2ee24b462 (diff) | |
download | gdb-1d9f0053f02acc6f1e1c0d498b772bb13b91b745.zip gdb-1d9f0053f02acc6f1e1c0d498b772bb13b91b745.tar.gz gdb-1d9f0053f02acc6f1e1c0d498b772bb13b91b745.tar.bz2 |
gas 32-bit host compile warnings
* config/tc-d10v.c (find_opcode): Correct format specifier vs.
arg mismatch.
* config/tc-m68hc11.c (fixup8, fixup16, fixup24, fixup8_xg): Likewise.
* config/tc-vax.c (md_assemble): Likewise.
* config/tc-xtensa.c (dump_litpools): Likewise.
* config/tc-z80.c (emit_data_val, emit_byte): Likewise.
Diffstat (limited to 'gas/config/tc-xtensa.c')
-rw-r--r-- | gas/config/tc-xtensa.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c index 550c825..fd3ed06 100644 --- a/gas/config/tc-xtensa.c +++ b/gas/config/tc-xtensa.c @@ -7869,8 +7869,9 @@ dump_litpools (void) count++; litfrag = litfrag->fr_next; } - printf(" %ld <%d:%d> (%d) [%d]: ", - lpf->addr, lpf->priority, lpf->original_priority, + printf(" %" PRId64 " <%d:%d> (%d) [%d]: ", + (int64_t) lpf->addr, + lpf->priority, lpf->original_priority, lpf->fragP->fr_line, count); /* dump_frag(lpf->fragP); */ } |