| 325 | } |
| 326 | |
| 327 | void fxMapHosts(txLinker* linker, txLinkerScript* script, txID* theIDs) |
| 328 | { |
| 329 | txByte* p = script->hostsBuffer; |
| 330 | if (p) { |
| 331 | txID c, i, id; |
| 332 | mxDecodeID(p, c); |
| 333 | for (i = 0; i < c; i++) { |
| 334 | p++; |
| 335 | mxDecodeID(p, id); |
| 336 | if (id != XS_NO_ID) { |
| 337 | id = theIDs[id]; |
| 338 | p -= sizeof(txID); |
| 339 | mxEncodeID(p, id); |
| 340 | } |
| 341 | p += mxStringLength((char*)p) + 1; |
| 342 | } |
| 343 | linker->hostsCount += c; |
| 344 | } |
| 345 | } |
| 346 | |
| 347 | void fxMapScript(txLinker* linker, txLinkerScript* script) |
| 348 | { |