projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* src/SDCCmain.c: Added --fommit-frame-pointer option and implemented in the z80...
[fw/sdcc]
/
src
/
port.h
diff --git
a/src/port.h
b/src/port.h
index 9bf97e4959a0c5cee4144d69ac46274149e7a780..d01887c80f447d33de206db38ced9505c578073c 100644
(file)
--- a/
src/port.h
+++ b/
src/port.h
@@
-55,11
+55,13
@@
typedef struct
/* assembler related information */
struct
{
/* assembler related information */
struct
{
-/** Command to run and arguments (eg as-z80) */
- const char **cmd;
-/** Arguments for debug mode. PENDING: ignored */
+ /** Command to run and arguments (eg as-z80) */
+ const char **cmd;
+ /** Alternate macro based form. */
+ const char *mcmd;
+ /** Arguments for debug mode. */
const char *debug_opts;
const char *debug_opts;
-
/** Arguments for normal assembly mode. PENDING: ignored
*/
+
/** Arguments for normal assembly mode.
*/
const char *plain_opts;
/* print externs as global */
int externGlobal;
const char *plain_opts;
/* print externs as global */
int externGlobal;
@@
-71,11
+73,13
@@
typedef struct
/* linker related info */
struct
{
/* linker related info */
struct
{
-/** Command to run (eg link-z80) */
+
/** Command to run (eg link-z80) */
const char **cmd;
const char **cmd;
-/** If non-null will be used to execute the link. */
+ /** Alternate macro based form. */
+ const char *mcmd;
+ /** If non-null will be used to execute the link. */
void (*do_link) (void);
void (*do_link) (void);
-/** Extention for object files (.rel, .obj, ...) */
+
/** Extention for object files (.rel, .obj, ...) */
const char *rel_ext;
}
linker;
const char *rel_ext;
}
linker;
@@
-148,13
+152,10
@@
typedef struct
/** One more than the smallest
mul/div operation the processor can do nativley
Eg if the processor has an 8 bit mul, nativebelow is 2 */
/** One more than the smallest
mul/div operation the processor can do nativley
Eg if the processor has an 8 bit mul, nativebelow is 2 */
- unsigned native_below;
- /** The mul/div/mod functions will be made to use regparams
- for sizeof(param) < log2(force_reg)
- i.e. Use 2 for WORD and BYTE, 0 for none. */
- int force_reg_param_below;
+ unsigned muldiv;
+ unsigned shift;
}
}
-
muldiv
;
+
support
;
/** Prefix to add to a C function (eg "_") */
const char *fun_prefix;
/** Prefix to add to a C function (eg "_") */
const char *fun_prefix;
@@
-217,6
+218,8
@@
typedef struct
bool ne_neq; /* transform a != b --> ! (a == b) */
bool eq_nne; /* transform a == b --> ! (a != b) */
bool ne_neq; /* transform a != b --> ! (a == b) */
bool eq_nne; /* transform a == b --> ! (a != b) */
+ bool arrayInitializerSuppported;
+
#define PORT_MAGIC 0xAC32
/** Used at runtime to detect if this structure has been completly filled in. */
int magic;
#define PORT_MAGIC 0xAC32
/** Used at runtime to detect if this structure has been completly filled in. */
int magic;