We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8af731 commit cab5b75Copy full SHA for cab5b75
output/legacy.c
@@ -1,6 +1,6 @@
1
/* ----------------------------------------------------------------------- *
2
*
3
- * Copyright 2016-2017 The NASM Authors - All Rights Reserved
+ * Copyright 2016-2022 The NASM Authors - All Rights Reserved
4
* See the file AUTHORS included with the NASM distribution for
5
* the specific copyright holders.
6
@@ -89,10 +89,8 @@ void nasm_do_legacy_output(const struct out_data *data)
89
90
case OUT_SEGMENT:
91
type = OUT_ADDRESS;
92
- dptr = zero_buffer;
93
- size = (data->flags & OUT_SIGNED) ? -data->size : data->size;
94
tsegment |= 1;
95
- break;
+ /* fall through */
96
97
case OUT_ADDRESS:
98
dptr = &data->toffset;
0 commit comments