diff options
Diffstat (limited to 'outrdf.c')
-rw-r--r-- | outrdf.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -91,7 +91,7 @@ typedef struct memorybuffer { struct memorybuffer *next; } memorybuffer; -static memorybuffer * newmembuf(){ +static memorybuffer * newmembuf(void){ memorybuffer * t; t = nasm_malloc(sizeof(memorybuffer)); @@ -269,6 +269,11 @@ static void rdf_deflabel(char *name, long segment, long offset, int is_global) static int warned_common = 0; #endif + if (name[0] == '.' && name[1] == '.' && name[2] != '@') { + error (ERR_NONFATAL, "unrecognised special symbol `%s'", name); + return; + } + if (is_global && segment > 4) { #ifdef VERBOSE_WARNINGS if (! warned_common) { |