diff --git a/output/codeview.c b/output/codeview.c index 7fc5619e..8492fdd3 100644 --- a/output/codeview.c +++ b/output/codeview.c @@ -215,7 +215,7 @@ static void cv8_deflabel(char *name, int32_t segment, int64_t offset, sym->typeindex = 0; /* handle local labels */ - if (name[0] == '.' && cv8_state.last_sym != NULL) { + if (name[0] == '.' && name[1] != '.' && cv8_state.last_sym != NULL) { len = strlen(cv8_state.last_sym->name) + strlen(name); sym->name = nasm_malloc(len + 1); ret = snprintf(sym->name, len + 1, "%s%s",