Added a message to the effect that 'local commons' can not be handled.
authorkeie <none@none>
Mon, 29 Apr 1985 11:55:30 +0000 (11:55 +0000)
committerkeie <none@none>
Mon, 29 Apr 1985 11:55:30 +0000 (11:55 +0000)
util/led/extract.c

index d0b9b72..4ed5cec 100644 (file)
@@ -139,8 +139,10 @@ namerelocate(name, sects)
 
        if ((type & S_TYP) == S_UND || (type & S_TYP) == S_ABS)
                return;
-       if (type & S_COM)
+       if (type & S_COM) {
+               if ( ! (type&S_EXT) ) fatal("local commons should be handled by the assembler") ;
                return;
+       }
 
        sectindex = (type & S_TYP) - S_MIN;
        if (name->on_valu >= sects[sectindex].os_flen) {