X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Fport.h;h=3e8339e64a759b47104cc0f4a8280c575e58c58b;hb=b1fd107ed52d0fa514f30b408800cb4d1c7b0f20;hp=d53dd0ce0b68879288cdc2d074734b705d408083;hpb=d46b4a50e1b8b1819d974533a9012b013090f8fd;p=fw%2Fsdcc diff --git a/src/port.h b/src/port.h index d53dd0ce..3e8339e6 100644 --- a/src/port.h +++ b/src/port.h @@ -55,11 +55,13 @@ typedef 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. PENDING: ignored */ const char *debug_opts; -/** Arguments for normal assembly mode. PENDING: ignored */ + /** Arguments for normal assembly mode. PENDING: ignored */ const char *plain_opts; /* print externs as global */ int externGlobal; @@ -71,11 +73,13 @@ typedef struct /* linker related info */ struct { -/** Command to run (eg link-z80) */ + /** Command to run (eg link-z80) */ 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); -/** Extention for object files (.rel, .obj, ...) */ + /** Extention for object files (.rel, .obj, ...) */ const char *rel_ext; } linker; @@ -214,6 +218,8 @@ typedef struct 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;