Changeset 9166 for trunk/tools
- Timestamp:
- Aug 29, 2002, 12:04:10 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/bin/MapSym.cmd
r9110 r9166 1 /* $Id: MapSym.cmd,v 1. 7 2002-08-24 04:33:52bird Exp $1 /* $Id: MapSym.cmd,v 1.8 2002-08-29 10:04:10 bird Exp $ 2 2 * 3 3 * Helper script for calling MAPSYM.EXE. … … 12 12 * Configuration. 13 13 */ 14 sWatcom = ';wat11c;wat11;watcom;wat11c-16;wat11-16; '15 sIBMOld = ';vac3xx;vac365;vac308; link386;emx;emxpgcc;mscv6;mscv6-16;ibmold;'14 sWatcom = ';wat11c;wat11;watcom;wat11c-16;wat11-16;wlink;wlink.exe;' 15 sIBMOld = ';vac3xx;vac365;vac308;emx;emxpgcc;mscv6;mscv6-16;ilink;ilink.exe;link386;link386.exe;link;link.exe;ibmold;' 16 16 sVAC40 = ';vac40;' 17 sLinkers = strip(sVAC40, 'T', ';')||strip(sIBMOld, 'T', ';')||strip(sWatcom, 'T', ';')||';'17 sLinkers = strip(sVAC40, 'T', ';')||strip(sIBMOld, 'T', ';')||strip(sWatcom, 'T', ';')||';' 18 18 /* look for 4os2 */ 19 19 f4OS2 = 0; … … 125 125 when (sLinker = 'WATCOM') then 126 126 do 127 /*sTmpMapFile = watos2.map*/127 /*sTmpMapFile = 'watos2.map'*/ 128 128 rc = wat2map(sMapFile, sTmpMapFile); 129 129 if (rc <> 0) then … … 295 295 if (length(sSegName) < 22) then sSegName = left(sSegName, 22, ' '); 296 296 call lineout sOutFile, ' '||strip(iSeg)':'iSegOffset right(DecToHex(cbSegment), 9, '0'), 297 ||'H '||sSegName||' '||strip(sSegClass);297 ||'H '||sSegName||' '||strip(sSegClass); 298 298 sSegment = ''; 299 299 cbSegment = 0; … … 591 591 Parse Value watcomText With ofs 9 . 16 declaration 592 592 end 593 else 594 do /* kso: more workarounds */ 595 if (is_Hex(seg) & length(ofs) > 4 & \is_Hex(substr(ofs,5,1))) then 596 ofs = '0000'||left(ofs,4); 597 end 593 598 /*say ofs '-'declaration*/ 594 599 is_Adress = (is_Hex(seg) = 1) & (is_Hex(ofs) = 1)
Note:
See TracChangeset
for help on using the changeset viewer.