projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed some warnings when building in MSVC
[fw/sdcc]
/
as
/
mcs51
/
lklist.c
diff --git
a/as/mcs51/lklist.c
b/as/mcs51/lklist.c
index 3743240db34a19bbaa43cca3fa7a3ae0dcb4a148..5325ec895e5d94519f23373098ba460ec2ede7bb 100644
(file)
--- a/
as/mcs51/lklist.c
+++ b/
as/mcs51/lklist.c
@@
-205,7
+205,8
@@
struct area *xp;
fprintf(mfp, "Decimal\n\n");
}
fprintf(mfp, "Area ");
fprintf(mfp, "Decimal\n\n");
}
fprintf(mfp, "Area ");
- fprintf(mfp, "Addr Size Decimal Bytes (Attributes)\n");
+ fprintf(mfp, "Addr Size Decimal %s (Attributes)\n",
+ (xp->a_flag & A_BIT)?"Bits ":"Bytes");/* JCF: For BIT print bits...*/
fprintf(mfp, "-------------------------------- ");
fprintf(mfp, "---- ---- ------- ----- ------------\n");
/*
fprintf(mfp, "-------------------------------- ");
fprintf(mfp, "---- ---- ------- ----- ------------\n");
/*
@@
-224,7
+225,8
@@
struct area *xp;
if (xflag == 2) {
fprintf(mfp, " %05u %05u", ai, aj);
}
if (xflag == 2) {
fprintf(mfp, " %05u %05u", ai, aj);
}
- fprintf(mfp, " = %6u. bytes ", aj);
+ fprintf(mfp, " = %6u. %s ", aj,
+ (xp->a_flag & A_BIT)?"bits ":"bytes"); /* JCF: For BIT print bits...*/
if (xp->a_flag & A_ABS) {
fprintf(mfp, "(ABS");
} else {
if (xp->a_flag & A_ABS) {
fprintf(mfp, "(ABS");
} else {
@@
-366,6
+368,7
@@
struct area *xp;
if (dflag &&
strchr(ptr,'$'))
fprintf(dfp,"L:%s:%X\n",ptr,aj);
if (dflag &&
strchr(ptr,'$'))
fprintf(dfp,"L:%s:%X\n",ptr,aj);
+
/* NoICE output of symbol */
if (jflag) DefineNoICE( ptr, aj, memPage );
/* NoICE output of symbol */
if (jflag) DefineNoICE( ptr, aj, memPage );