Document __PASS__
[nasm/avx512.git] / labels.h
bloba16ac3d2a9e3483d2ca9827ef4c0d587e0d84a4a
1 /* labels.h header file for labels.c
3 * The Netwide Assembler is copyright (C) 1996 Simon Tatham and
4 * Julian Hall. All rights reserved. The software is
5 * redistributable under the license given in the file "LICENSE"
6 * distributed in the NASM archive.
7 */
9 #ifndef LABELS_H
10 #define LABELS_H
12 extern char lprefix[PREFIX_MAX];
13 extern char lpostfix[PREFIX_MAX];
15 bool lookup_label(char *label, int32_t *segment, int64_t *offset);
16 bool is_extern(char *label);
17 void define_label(char *label, int32_t segment, int64_t offset, char *special,
18 bool is_norm, bool isextrn, struct ofmt *ofmt,
19 efunc error);
20 void redefine_label(char *label, int32_t segment, int64_t offset, char *special,
21 bool is_norm, bool isextrn, struct ofmt *ofmt,
22 efunc error);
23 void define_common(char *label, int32_t segment, int32_t size, char *special,
24 struct ofmt *ofmt, efunc error);
25 void declare_as_global(char *label, char *special, efunc error);
26 int init_labels(void);
27 void cleanup_labels(void);
28 char *local_scope(char *label);
30 #endif /* LABELS_H */