home *** CD-ROM | disk | FTP | other *** search
- /* ---------------------------------------------------------------------- */
- /* Copyright (C) 1991 by Natürlich! */
- /* This file is copyrighted! */
- /* Refer to the documentation for details. */
- /* ---------------------------------------------------------------------- */
- #include "defines.h"
- #include "nasm.h"
- #include "debug.h"
- #include NMALLOC_H
- #include "code.h"
- #include "fix.h"
- #include "labels.h"
- #include "seg.h"
-
- make_mallocer( fix, FIXMAX, fix_alloc) /* that's all */
-
- #if ! VERSION
-
- void fix_up( ex, ip, type)
- expr huge *ex;
- imm huge *ip;
- {
- extern seg huge *sp;
- fix huge *q = fix_alloc();
-
- q->poof.block = sp;
- q->index = calc_index();
- q->imm = ip;
- ex->fix = type;
- ex->zonk.fixp = q;
- }
-
- void fix_lup( ex, p)
- expr *ex;
- label *p;
- {
- fix huge *q = fix_alloc();
-
- q->poof.label = p;
- ex->fix = FIX_LABEL;
- ex->zonk.fixp = q;
- }
- #endif
-