diff options
Diffstat (limited to 'bcc/label.h')
-rw-r--r-- | bcc/label.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/bcc/label.h b/bcc/label.h new file mode 100644 index 0000000..89c83d7 --- /dev/null +++ b/bcc/label.h @@ -0,0 +1,24 @@ +/* label.h - assembler-specific label characters for bcc */ + +/* Copyright (C) 1992 Bruce Evans */ + +/* defaults */ + +#define CCNAMEPREFIX '_' +# define LABELENDCHAR ':' /* last char of ALL labels */ +#define LABELSTARTCHAR '.' /* first char of names of generated labels */ +#define LOCALSTARTCHAR '.' /* first char of local names */ +#define PUBLICENDCHAR ':' + +/* adjustments for other assemblers */ + +#ifdef AS09 +# undef LABELENDCHAR +#endif + +#ifdef XENIX_AS +# undef LABELSTARTCHAR +# define LABELSTARTCHAR 'L' +# undef LOCALSTARTCHAR +# define LOCALSTARTCHAR 'L' +#endif |