aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-mips.c2
-rw-r--r--gas/config/tc-sparc.c5
-rw-r--r--gas/config/tc-v850.c2
3 files changed, 5 insertions, 4 deletions
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index 8b89be8..101afe7 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -3279,7 +3279,7 @@ macro_build_jalr (icnt, ep)
int icnt;
expressionS *ep;
{
- char *f = NULL;;
+ char *f = NULL;
if (HAVE_NEWABI)
{
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;
}
diff --git a/gas/config/tc-v850.c b/gas/config/tc-v850.c
index 81c12fd..5ee3c34 100644
--- a/gas/config/tc-v850.c
+++ b/gas/config/tc-v850.c
@@ -195,7 +195,7 @@ v850_offset (ignore)
{
char *pfrag;
int temp = get_absolute_expression ();
-
+
pfrag = frag_var (rs_org, 1, 1, (relax_substateT)0, (symbolS *)0,
(offsetT) temp, (char *) 0);
*pfrag = 0;