Added a message to the effect that 'local commons' can not be handled.
This commit is contained in:
parent
cec503a1b4
commit
eb025dae5c
1 changed files with 3 additions and 1 deletions
|
@ -139,8 +139,10 @@ namerelocate(name, sects)
|
||||||
|
|
||||||
if ((type & S_TYP) == S_UND || (type & S_TYP) == S_ABS)
|
if ((type & S_TYP) == S_UND || (type & S_TYP) == S_ABS)
|
||||||
return;
|
return;
|
||||||
if (type & S_COM)
|
if (type & S_COM) {
|
||||||
|
if ( ! (type&S_EXT) ) fatal("local commons should be handled by the assembler") ;
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
sectindex = (type & S_TYP) - S_MIN;
|
sectindex = (type & S_TYP) - S_MIN;
|
||||||
if (name->on_valu >= sects[sectindex].os_flen) {
|
if (name->on_valu >= sects[sectindex].os_flen) {
|
||||||
|
|
Loading…
Reference in a new issue