Debian Codegraph @

output/nullout.c

raw
1 /* SPDX-License-Identifier: BSD-2-Clause */
2 /* Copyright 1996-2018 The NASM Authors - All Rights Reserved */
3
4 #include "nasm.h"
5 #include "nasmlib.h"
6 #include "outlib.h"
7
8 enum directive_result
9 null_directive(enum directive directive, char *value)
10 {
11 (void)directive;
12 (void)value;
13 return DIRR_UNKNOWN;
14 }
15
16 void null_sectalign(int32_t seg, unsigned int value)
17 {
18 (void)seg;
19 (void)value;
20 }
21
22 void null_reset(void)
23 {
24 /* Nothing to do */
25 }
26
27 int32_t null_segbase(int32_t segment)
28 {
29 return segment;
30 }