diff options
author | H. Peter Anvin <hpa@zytor.com> | 2002-04-30 20:52:26 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2002-04-30 20:52:26 +0000 |
commit | 6768eb71d8debde65562619c938b997aea1bd9f9 (patch) | |
tree | 93fc4f4a6d66891ace9494b737aa4b2c1bed37ef /outbin.c | |
parent | d7ed89eac9580f280fe0017b22c8e38ca75ed8e3 (diff) | |
download | nasm-6768eb71d8debde65562619c938b997aea1bd9f9.tar.gz nasm-6768eb71d8debde65562619c938b997aea1bd9f9.tar.bz2 nasm-6768eb71d8debde65562619c938b997aea1bd9f9.zip |
NASM 0.95
Diffstat (limited to 'outbin.c')
-rw-r--r-- | outbin.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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"); |