/* Interface to the object format module(s) */
typedef struct objfmt_s {
/* one-line description of the format */
- char *name;
+ const char *name;
/* keyword used to select format on the command line */
- char *keyword;
+ const char *keyword;
/* default (starting) section name */
const char *default_section_name;
/* Interface to the optimizer module(s) */
typedef struct optimizer_s {
/* one-line description of the optimizer */
- char *name;
+ const char *name;
/* keyword used to select optimizer on the command line */
- char *keyword;
+ const char *keyword;
/* Main entrance point for the optimizer.
*
/* Interface to the parser module(s) -- the "front end" of the assembler */
typedef struct parser_s {
/* one-line description of the parser */
- char *name;
+ const char *name;
/* keyword used to select parser on the command line */
- char *keyword;
+ const char *keyword;
/* NULL-terminated list of preprocessors that are valid to use with this
* parser. The raw preprocessor (raw_preproc) should always be in this
/* Interface to the preprocesor module(s) */
typedef struct preproc_s {
/* one-line description of the preprocessor */
- char *name;
+ const char *name;
/* keyword used to select preprocessor on the command line */
- char *keyword;
+ const char *keyword;
/* Initializes preprocessor.
*
/* Interface to the object format module(s) */
typedef struct objfmt_s {
/* one-line description of the format */
- char *name;
+ const char *name;
/* keyword used to select format on the command line */
- char *keyword;
+ const char *keyword;
/* default (starting) section name */
const char *default_section_name;
/* Interface to the optimizer module(s) */
typedef struct optimizer_s {
/* one-line description of the optimizer */
- char *name;
+ const char *name;
/* keyword used to select optimizer on the command line */
- char *keyword;
+ const char *keyword;
/* Main entrance point for the optimizer.
*
/* Interface to the parser module(s) -- the "front end" of the assembler */
typedef struct parser_s {
/* one-line description of the parser */
- char *name;
+ const char *name;
/* keyword used to select parser on the command line */
- char *keyword;
+ const char *keyword;
/* NULL-terminated list of preprocessors that are valid to use with this
* parser. The raw preprocessor (raw_preproc) should always be in this
/* Interface to the preprocesor module(s) */
typedef struct preproc_s {
/* one-line description of the preprocessor */
- char *name;
+ const char *name;
/* keyword used to select preprocessor on the command line */
- char *keyword;
+ const char *keyword;
/* Initializes preprocessor.
*