Document preprocessor token concatenation fix.
[nasm/avx512.git] / outlib.c
blobcf687216f1ec387c0e2fa3c0516e40314cadaa51
1 /*
2 * libout.c
4 * Common routines for the output backends.
5 */
7 #include "compiler.h"
8 #include "nasm.h"
9 #include "outlib.h"
11 uint64_t realsize(enum out_type type, uint64_t size)
13 switch (type) {
14 case OUT_REL2ADR:
15 return 2;
16 case OUT_REL4ADR:
17 return 4;
18 case OUT_REL8ADR:
19 return 8;
20 default:
21 return size;