aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-04-29 15:51:31 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:01:40 -0700
commitb103bc3b532452ac797bfa4d2f9f8fe083ae0d63 (patch)
treea444da3c82aaa2b317852a44cdde3251830c917c /compile-i386.c
parentAdd handling for "-m64" to tell us to use 64-bit mode. (diff)
downloadsparse-b103bc3b532452ac797bfa4d2f9f8fe083ae0d63.tar.gz
sparse-b103bc3b532452ac797bfa4d2f9f8fe083ae0d63.tar.bz2
sparse-b103bc3b532452ac797bfa4d2f9f8fe083ae0d63.zip
Now that BITS_IN_XXXX aren't defined contstants any more,
rename them lower cased to match standard C naming rules.
Diffstat (limited to 'compile-i386.c')
-rw-r--r--compile-i386.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/compile-i386.c b/compile-i386.c
index 6290c3c..5a7a949 100644
--- a/compile-i386.c
+++ b/compile-i386.c
@@ -1988,14 +1988,14 @@ static struct storage *x86_symbol_expr(struct symbol *sym)
struct storage *new = stack_alloc(4);
if (sym->ctype.modifiers & (MOD_TOPLEVEL | MOD_EXTERN | MOD_STATIC)) {
- printf("\tmovi.%d\t\tv%d,$%s\n", BITS_IN_POINTER, new->pseudo, show_ident(sym->ident));
+ printf("\tmovi.%d\t\tv%d,$%s\n", bits_in_pointer, new->pseudo, show_ident(sym->ident));
return new;
}
if (sym->ctype.modifiers & MOD_ADDRESSABLE) {
- printf("\taddi.%d\t\tv%d,vFP,$%lld\n", BITS_IN_POINTER, new->pseudo, sym->value);
+ printf("\taddi.%d\t\tv%d,vFP,$%lld\n", bits_in_pointer, new->pseudo, sym->value);
return new;
}
- printf("\taddi.%d\t\tv%d,vFP,$offsetof(%s:%p)\n", BITS_IN_POINTER, new->pseudo, show_ident(sym->ident), sym);
+ printf("\taddi.%d\t\tv%d,vFP,$offsetof(%s:%p)\n", bits_in_pointer, new->pseudo, show_ident(sym->ident), sym);
return new;
}
@@ -2037,7 +2037,7 @@ static struct storage *x86_bitfield_expr(struct expression *expr)
static struct storage *x86_label_expr(struct expression *expr)
{
struct storage *new = stack_alloc(4);
- printf("\tmovi.%d\t\tv%d,.L%p\n",BITS_IN_POINTER, new->pseudo, expr->label_symbol);
+ printf("\tmovi.%d\t\tv%d,.L%p\n", bits_in_pointer, new->pseudo, expr->label_symbol);
return new;
}