aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-sparc.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-06-24 11:10:47 +0000
committerNick Clifton <nickc@redhat.com>2003-06-24 11:10:47 +0000
commit685736be243a01effb89a6d3e81a3bc6b55fafa2 (patch)
tree4ca8154d36e997d7be84351d5ebd63a365eab792 /gas/config/tc-sparc.c
parente98d298cda0b56de2678425854788bb88e7091c8 (diff)
downloadgdb-685736be243a01effb89a6d3e81a3bc6b55fafa2.zip
gdb-685736be243a01effb89a6d3e81a3bc6b55fafa2.tar.gz
gdb-685736be243a01effb89a6d3e81a3bc6b55fafa2.tar.bz2
Update .comm error messages to assume an unsigned value.
Update relaxing code to work in 64-bit address spaces.
Diffstat (limited to 'gas/config/tc-sparc.c')
-rw-r--r--gas/config/tc-sparc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gas/config/tc-sparc.c b/gas/config/tc-sparc.c
index 3156883..2278411 100644
--- a/gas/config/tc-sparc.c
+++ b/gas/config/tc-sparc.c
@@ -3764,7 +3764,7 @@ s_common (ignore)
char *name;
char c;
char *p;
- int temp, size;
+ offsetT temp, size;
symbolS *symbolP;
name = input_line_pointer;
@@ -3785,7 +3785,8 @@ s_common (ignore)
if ((temp = get_absolute_expression ()) < 0)
{
- as_bad (_(".COMMon length (%d.) <0! Ignored."), temp);
+ as_bad (_(".COMMon length (%lu) out of range ignored"),
+ (unsigned long) temp);
ignore_rest_of_line ();
return;
}