From 685736be243a01effb89a6d3e81a3bc6b55fafa2 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 24 Jun 2003 11:10:47 +0000 Subject: Update .comm error messages to assume an unsigned value. Update relaxing code to work in 64-bit address spaces. --- gas/read.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gas/read.c') diff --git a/gas/read.c b/gas/read.c index 061dfd4..4179348 100644 --- a/gas/read.c +++ b/gas/read.c @@ -1389,7 +1389,8 @@ s_comm (ignore) if ((temp = get_absolute_expression ()) < 0) { - as_warn (_(".COMMon length (%ld) < 0 ignored"), (long) temp); + as_warn (_(".COMMon length (%lu) out of range ignored"), + (unsigned long) temp); ignore_rest_of_line (); if (flag_mri) mri_comment_end (stop, stopc); -- cgit v1.1