projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Applied patch #2762516
[fw/sdcc]
/
src
/
pic16
/
main.h
diff --git
a/src/pic16/main.h
b/src/pic16/main.h
index 9cc78d0599364c74accc1a647a679abe3c97b7e0..3b92452e727b45d662f4475805e4aa653612c169 100644
(file)
--- a/
src/pic16/main.h
+++ b/
src/pic16/main.h
@@
-1,6
+1,8
@@
#ifndef MAIN_INCLUDE
#define MAIN_INCLUDE
#ifndef MAIN_INCLUDE
#define MAIN_INCLUDE
+#include "ralloc.h"
+
bool x_parseOptions (char **argv, int *pargc);
void x_setDefaultOptions (void);
void x_finaliseOptions (void);
bool x_parseOptions (char **argv, int *pargc);
void x_setDefaultOptions (void);
void x_finaliseOptions (void);
@@
-11,12
+13,26
@@
typedef struct {
} pic16_sectioninfo_t;
typedef struct absSym {
} pic16_sectioninfo_t;
typedef struct absSym {
- char
*name
;
+ char
name[SDCC_SYMNAME_MAX+1]
;
unsigned int address;
} absSym;
unsigned int address;
} absSym;
+typedef struct sectName {
+ char *name;
+ set *regsSet;
+} sectName;
+
+typedef struct sectSym {
+ sectName *section;
+ char *name;
+ regs *reg;
+} sectSym;
extern set *absSymSet;
extern set *absSymSet;
+extern set *sectNames;
+extern set *sectSyms;
+extern set *wparamList;
+extern int pic16_mplab_comp;
#endif
#endif