aboutsummaryrefslogtreecommitdiff
path: root/gas/gasp.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-08-24 21:48:18 +0000
committerIan Lance Taylor <ian@airs.com>1994-08-24 21:48:18 +0000
commita2a1a548c752684ea944c38ce94e388ba9d095c4 (patch)
treedc84dd772da50b68cb5db4e196a8355f6603d2dd /gas/gasp.c
parent5a53b1c1783207222857e0c5c7f7d259d7ae5031 (diff)
downloadfsf-binutils-gdb-a2a1a548c752684ea944c38ce94e388ba9d095c4.zip
fsf-binutils-gdb-a2a1a548c752684ea944c38ce94e388ba9d095c4.tar.gz
fsf-binutils-gdb-a2a1a548c752684ea944c38ce94e388ba9d095c4.tar.bz2
gcc lint.
* as.c (main): Move a inside the #if 0 block which uses it. * ecoff.c (current_stabs_filename): Make const. * frags.h (frag_align_pattern): Declare. * gasp.c (new_file): Cast isp to long, and use %ld to print it. * config/tc-alpha.h (md_operand): Add cast to void. (alpha_do_align): Declare argument types. (tc_get_register): Declare. (alpha_frob_ecoff_data): Declare. * config/tc-alpha.c: Include <ctype.h>. (s_mask): Don't declare; does not exist. (line_comment_chars): Remove /* from descriptive comment. (tc_get_register): Remove unused local reg. (tc_gen_reloc): Don't bother to compare unsigned to zero. (s_base): Correct warning to actually print register number. (md_begin): Remove unused locals retval, lose, and i. (alpha_fix_adjustable): Move default case inside switch to avoid warning. (load_symbol_address): Remove unused locals reloc_addr, p, sym, and addend. (emit_byte_manip_r): Declare types for all arguments. (emit_extract_r, emit_insert_r, emit_mask_r): Likewise. (emit_sign_extend, emit_bis_r, s_proc): Likewise. (alpha_ip): Use sprint_value to print offsetT value. Remove unused local size. Remove unused label get_macro. (alpha_do_align): Make fill const. (md_apply_fix): Remove unused label check_zov.
Diffstat (limited to 'gas/gasp.c')
-rw-r--r--gas/gasp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/gasp.c b/gas/gasp.c
index 6ab3ea5..5b56707 100644
--- a/gas/gasp.c
+++ b/gas/gasp.c
@@ -3261,7 +3261,7 @@ new_file (name)
return 0;
if (isp == MAX_INCLUDES)
- FATAL ((stderr, "Unreasonable include depth (%d).\n", isp));
+ FATAL ((stderr, "Unreasonable include depth (%ld).\n", (long) isp));
sp++;
sp->handle = newone;