From 6768eb71d8debde65562619c938b997aea1bd9f9 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Tue, 30 Apr 2002 20:52:26 +0000 Subject: NASM 0.95 --- outbin.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'outbin.c') diff --git a/outbin.c b/outbin.c index 362e4f8..da82abc 100644 --- a/outbin.c +++ b/outbin.c @@ -241,6 +241,11 @@ static void bin_out (long segto, void *data, unsigned long type, static void bin_deflabel (char *name, long segment, long offset, int is_global) { + if (name[0] == '.' && name[1] == '.' && name[2] != '@') { + error (ERR_NONFATAL, "unrecognised special symbol `%s'", name); + return; + } + if (is_global == 2) { error (ERR_NONFATAL, "binary output format does not support common" " variables"); -- cgit v1.2.3