#define A_XDATA 0100 /* external data space */
#define A_BIT 0200 /* bit addressable space */
+#define A_NOLOAD 0400 /* nonloadable */
+#define A_LOAD 0000 /* loadable (default) */
+
/*
* File types
*/
Addr_T a_addr; /* Beginning address of area */
Addr_T a_size; /* Total size of the area */
char a_type; /* Area subtype */
- char a_flag; /* Flag byte */
+ int a_flag; /* Flag byte */
char a_id[NCPS]; /* Name */
+ char *a_image;
+ char *a_used;
};
/*
extern struct lfile *filep; /* The pointers (lfile *) filep,
* (lfile *) cfp, and (FILE *) sfp
* are used in conjunction with
- * the routine getline() to read
+ * the routine as_getline() to read
* asmlnk commands from
* (1) the standard input or
* (2) or a command file
extern VOID getfid();
extern VOID getid();
extern VOID getSid();
-extern int getline();
+extern int as_getline();
extern int getmap();
extern char getnb();
extern int more();
/* lkarea.c */
extern VOID lkparea();
extern VOID lnkarea();
-extern VOID lnksect();
+extern Addr_T lnksect(struct area *tap);
extern VOID newarea();
/* lkhead.c */
/* JCF: lkaomf51.c */
extern void SaveLinkedFilePath(char * filepath);
extern void CreateAOMF51(void);
+
+/* EEP: lkelf.c */
+extern VOID elf();