Ignore:
Timestamp:
Apr 11, 2006, 12:50:06 AM (19 years ago)
Author:
bird
Message:

#89: more wlink stuff. ; Fixed the exp=int .def errors in weakld.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/emx/src/emxomf/weakld.c

    r2673 r2692  
    19981998            {
    19991999                pSym->fFlags |= WLDSF_ALIAS;
     2000                pSym->fFlags &= ~WLDSF_UNDEF;
    20002001                pSym->pAliasFor = pSymAlias;
    20012002            }
     
    34983499            {
    34993500                cch = sprintf(szTmp, "  \"%s\" = \"%s\"", pStmt->export.entryname, pSymExp->pszWeakName);
    3500                 pSymExp->fFlags |= WLDSF_WEAKALIASDONE;
     3501                if (!(pParam->pWld->fFlags & WLDC_LINKER_WLINK))
     3502                    pSymExp->fFlags |= WLDSF_WEAKALIASDONE;
    35013503            }
    35023504            if (pStmt->export.flags & _MDEP_ORDINAL)
     
    36883690                        /* now see if there are any aliases in __declspec(dllexport) statements. */
    36893691                        if (!rc)
    3690                             rc = symEnum(pWld, &pWld->Global,
    3691                                          WLDSF_EXPORT | WLDSF_WEAK, WLDSF_EXPORT | WLDSF_WEAK | WLDSF_EXPORT_DEF | WLDSF_WEAKALIASDONE,
    3692                                          wldGenerateDefExportEnum, &param);
     3692                        {
     3693                            if (0)//pWld->fFlags & WLDC_LINKER_WLINK)
     3694                                rc = symEnum(pWld, &pWld->Global,
     3695                                             WLDSF_EXPORT | WLDSF_EXPORT_DEF | WLDSF_WEAK, WLDSF_EXPORT | WLDSF_EXPORT_DEF | WLDSF_WEAK | WLDSF_WEAKALIASDONE,
     3696                                             wldGenerateDefExportEnum, &param);
     3697                            else
     3698                                rc = symEnum(pWld, &pWld->Global,
     3699                                             WLDSF_EXPORT | WLDSF_WEAK, WLDSF_EXPORT | WLDSF_WEAK | WLDSF_EXPORT_DEF | WLDSF_WEAKALIASDONE,
     3700                                             wldGenerateDefExportEnum, &param);
     3701                        }
    36933702
    36943703                        /* copy the rest of the file if any changes was made. */
Note: See TracChangeset for help on using the changeset viewer.