Don't keep assigning segment numbers to EXTERN or COMMON
commitaf5f918a9235ec8a4ce72553141c06b9631fb550
authorH. Peter Anvin <hpa@linux.intel.com>
Fri, 15 Jun 2018 02:53:45 +0000 (14 19:53 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 15 Jun 2018 02:53:45 +0000 (14 19:53 -0700)
tree15ddc1c8ac4e559a2972747497f741a71c04b0e3
parent58ab877402f60c69cae5b482b65dec65501e82fa
Don't keep assigning segment numbers to EXTERN or COMMON

If a symbol is EXTERN or COMMON, then we should not keep assigning it
new segment numbers over and over. Instead, change the label code so
that it assignes a new segment value if and only if one has not been
assigned before.

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