X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=as%2Fmcs51%2Fasdata.c;h=c6ed0b44806f4e82ea85656a8a37fc5da074bc76;hb=88e560b915dc753c85898e35af1e0a751a4cf723;hp=f1abb1ebd9fc68a67fa12a96ad8214b9d0f0fc8c;hpb=554b80355adbbbd8436bdb0dd448ef3e956c0871;p=fw%2Fsdcc diff --git a/as/mcs51/asdata.c b/as/mcs51/asdata.c index f1abb1eb..c6ed0b44 100644 --- a/as/mcs51/asdata.c +++ b/as/mcs51/asdata.c @@ -17,7 +17,6 @@ #include #include #include -#include #include "asm.h" /*)Module asdata.c @@ -52,13 +51,13 @@ int iflvl[MAXIF+1]; /* array of IF-ELSE-ENDIF flevel * values indexed by tlevel */ -char afn[FILSPC]; /* afile temporary file name +char afn[PATH_MAX]; /* afile temporary file name */ -char srcfn[MAXFIL][FILSPC]; /* array of source file names +char srcfn[MAXFIL][PATH_MAX]; /* array of source file names */ int srcline[MAXFIL]; /* source line number */ -char incfn[MAXINC][FILSPC]; /* array of include file names +char incfn[MAXINC][PATH_MAX]; /* array of include file names */ int incline[MAXINC]; /* include line number */ @@ -96,10 +95,10 @@ int xflag; /* -x, listing radix flag */ int fflag; /* -f(f), relocations flagged flag */ -addr_t laddr; /* address of current assembler line +Addr_T laddr; /* address of current assembler line * or value of .if argument */ -addr_t fuzz; /* tracks pass to pass changes in the +Addr_T fuzz; /* tracks pass to pass changes in the * address of symbols caused by * variable length instruction formats */ @@ -130,6 +129,8 @@ char tb[NTITL]; /* Title string buffer */ char stb[NSBTL]; /* Subtitle string buffer */ +char optsdcc[NINPUT]; /* sdcc compile options + */ int flat24Mode; /* non-zero if we are using DS390 24 bit * flat mode (via .flat24 directive). */ @@ -159,7 +160,7 @@ char module[NCPS]; /* module name string * char m_id[NCPS]; Mnemonic * char m_type; Mnemonic subtype * char m_flag; Mnemonic flags - * addr_t m_valu; Value + * Addr_T m_valu; Value * }; */ struct mne *mnehash[NHASH]; @@ -186,7 +187,7 @@ struct mne *mnehash[NHASH]; * char s_flag; Symbol flags * struct area *s_area; Area line, 0 if absolute * int s_ref; Ref. number - * addr_t s_addr; Address + * Addr_T s_addr; Address * }; */ struct sym sym[] = { @@ -218,8 +219,8 @@ struct sym *symhash[NHASH]; /* array of pointers to NHASH * struct area *a_ap; Area link * char a_id[NCPS]; Area Name * int a_ref; Reference number - * addr_t a_size; Area size - * addr_t a_fuzz; Area fuzz + * Addr_T a_size; Area size + * Addr_T a_fuzz; Area fuzz * int a_flag; Area flags * }; */