* src/SDCCmain.c (linkEdit),
[fw/sdcc] / as / hc08 / aslink.h
index 263467a07e5d0c3df7609e366ae13a53c4bf05e9..a2dd2083d8c61fb12a7b7455d7bab2dccdf21f94 100644 (file)
 #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
  */
@@ -245,8 +248,10 @@ struct     area
        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;
 };
 
 /*
@@ -773,3 +778,6 @@ extern int summary(struct area * xp);
 /* JCF: lkaomf51.c */
 extern void SaveLinkedFilePath(char * filepath);
 extern void CreateAOMF51(void);
+
+/* EEP: lkelf.c */
+extern VOID            elf();