Ticket #293: emxomf.c.diff
File emxomf.c.diff, 1.0 KB (added by , 10 years ago) |
---|
-
emxomf.c
587 587 } 588 588 589 589 590 /* Set the hll_type of a symbol s. */590 /* Set the hll_type of a symbol. */ 591 591 void set_hll_type (int index, int hll_type) 592 592 { 593 593 if (index > sym_count || index < 0) … … 1320 1320 put_32 (address); 1321 1321 else 1322 1322 put_16 (address); 1323 #if 1 // 2014-04-20 SHL don't die if HLL type index too large for OMF 1324 if (sym_more[i].hll_type <= 0x7fff) 1325 { 1323 1326 put_idx (sym_more[i].hll_type); /* type index */ 1324 1327 } 1328 else { 1329 /* Suppress HLL data reference */ 1330 warning ("HLL debug suppressed for symbol '%.*s' - index %u too large", 1331 cchPubName, szPubName, sym_more[i].hll_type); 1332 put_idx (0); /* type index */ 1325 1333 } 1334 #else 1335 put_idx (sym_more[i].hll_type); /* type index */ 1336 #endif 1326 1337 } 1338 } 1339 } 1327 1340 if (started) 1328 1341 write_rec (); 1329 1342 }