Unbreak special segment symbols, unbreak COMMON
commit734824823e764addd52c085a647fda5faa29e504
authorH. Peter Anvin <hpa@linux.intel.com>
Mon, 11 Jun 2018 21:54:14 +0000 (11 14:54 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Mon, 11 Jun 2018 21:54:14 +0000 (11 14:54 -0700)
tree3c1197c7d1b5cbc73543968127289f819a03538e
parent0599034321c22b6fa84c76a08866e6de36b02f77
Unbreak special segment symbols, unbreak COMMON

Recent changes broke:

1. Backend-provided special segments, due to seg_alloc() getting
   reset.
2. COMMON; the old code would pass size in the "offset" *without*
   setting it in the label structure. Containing all this information
   in the label structure requires another field.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
asm/directiv.c
asm/labels.c
asm/nasm.c
asm/segalloc.c
include/nasmlib.h