+ if ((type & T_EXT) && (type & (T_SEG | T_ABS)))
+ if (AddARSymbol(sstr + index, Ofile))
+ return 1;
+ }
+ else if (type == T_EXT)
+ {
+ // External symbol that is *not* in the current unit
+ hptr = LookupHREC(sstr + index);
+
+ if (hptr != NULL)
+ hptr->h_ofile->o_flags |= O_USED; // Mark .o file as used
+ // Otherwise add to unresolved list
+ else if (AddUnresolvedSymbol(sstr + index, Ofile))
+ return 1; // Error if addition failed
+ }
+ else if ((type & T_EXT) && (type & (T_SEG | T_ABS)))
+ {
+#if 0
+ // Symbol in the current unit that is also EXPORTED
+ if (DealWithSymbol(sstr + index, type, value, Ofile))
+ return 1; // Error if addition failed
+#else
+ hptr = LookupHREC(sstr + index);
+
+ // Symbol isn't in the table, so try to add it:
+ if (hptr == NULL)