comparison lwlink/lwlink.h @ 156:fc8386b13399

Added 'constant' sections to object file handling for lwasm and lwlink
author lost@l-w.ca
date Sun, 28 Aug 2011 02:06:42 -0600
parents 08fb11004df9
children 606123758641
comparison
equal deleted inserted replaced
155:1571e150f1fd 156:fc8386b13399
52 }; 52 };
53 53
54 typedef struct fileinfo_s fileinfo_t; 54 typedef struct fileinfo_s fileinfo_t;
55 55
56 #define SECTION_BSS 1 56 #define SECTION_BSS 1
57 #define SECTION_CONST 2
57 typedef struct 58 typedef struct
58 { 59 {
59 unsigned char *name; // name of the section 60 unsigned char *name; // name of the section
60 int flags; // section flags 61 int flags; // section flags
61 int codesize; // size of the code 62 int codesize; // size of the code