Changeset 533
- Timestamp:
- Aug 5, 2003, 1:58:41 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/src/emxomf/weakld.c
-
Property cvs2svn:cvs-rev
changed from
1.11
to1.12
r532 r533 595 595 static int libLoadDict(PWLDLIB pLib) 596 596 { 597 #if 0 597 598 FILE *phFile; 598 599 599 /* been here, done that? */ 600 600 if (pLib->pDict) … … 624 624 pLib->pDict = NULL; 625 625 return -1; 626 #else 627 /* till we support processing the dictionary, we pretend there is none. */ 628 pLib->pDict = NULL; 629 return -1; 630 #endif 626 631 } 627 632 … … 1344 1349 * 1345 1350 * We'll simply return existing symbol when: 1346 * 1. adding a UNDEF where a PUBLIC or COMM or !WEAK UNDEFexists.1351 * 1. adding a UNDEF where a PUBLIC, COMM, !WEAK UNDEF or IMPORT exists. 1347 1352 * 2. adding a WKEXT where a PUBLIC or COMM exists. 1348 1353 * 3. adding a WKEXT where a UNDEF which isn't UNCERTAIN exists. 1349 1354 * 4. adding a COMM where a !WEAK COMM exists. 1350 1355 * 5. adding a WEAK PUBLIC or WEAK COMM where a PUBLIC or COMM exists. 1356 * 6. adding a WEAK UNDEF where WEAK UNDEF exists. 1351 1357 * 1352 1358 * We'll warn and return existing symbol when: … … 1452 1458 * 4. adding a COMM where a !WEAK COMM exists. 1453 1459 * 5. adding a WEAK PUBLIC or WEAK COMM where a PUBLIC or COMM exists. 1460 * 6. adding a WEAK UNDEF where WEAK UNDEF exists. 1454 1461 */ 1455 1462 if ( ( /* 1 */ … … 1469 1476 ((fFlags & (WLDSF_TYPEMASK | WLDSF_WEAK)) == (WLDSF_PUBLIC | WLDSF_WEAK) || (fFlags & (WLDSF_TYPEMASK | WLDSF_WEAK)) == (WLDSF_COMM | WLDSF_WEAK)) 1470 1477 && ((pSym->fFlags & WLDSF_TYPEMASK) == WLDSF_PUBLIC || (pSym->fFlags & WLDSF_TYPEMASK) == WLDSF_COMM) 1478 ) || ( /* 6 */ 1479 ((fFlags & (WLDSF_TYPEMASK | WLDSF_WEAK)) == (WLDSF_UNDEF | WLDSF_WEAK)) 1480 && ((pSym->fFlags & (WLDSF_TYPEMASK | WLDSF_WEAK)) == (WLDSF_UNDEF | WLDSF_WEAK)) 1471 1481 )) 1472 1482 { … … 2628 2638 /* add it to the link, do nothing till we're asked to do the searching. */ 2629 2639 pLib = xmalloc(sizeof(*pLib)); 2640 memset(pLib, 0, sizeof(*pLib)); 2630 2641 pLib->phFile = phFile; 2631 2642 pLib->pszLibName = strpool_add(pWld->pStrMisc, pszName); -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.