Print this page
4843 add --as-needed and --no-as-needed to ld


 163                          \t\t\tenable|disable direct binding to shared object\n\
 164                          \t\t\tdependencies\n"
 165 @ MSG_ARG_DETAIL_ZE     "\t[-z endfiltee]\tmarks a filtee such that it will \
 166                          terminate a filters\n\t\t\tsearch\n"
 167 @ MSG_ARG_DETAIL_ZFATW  "\t[-z fatal-warnings | nofatal-warnings],\n\
 168                          \t[--fatal-warnings | --no-fatal-warnings]\n\
 169                          \t\tenable|disable treatment of warnings as fatal\n"
 170 @ MSG_ARG_DETAIL_ZFA    "\t[-z finiarray=function]\n\
 171                          \t\t\tname of function to be appended to the \
 172                          .fini_array\n"
 173 @ MSG_ARG_DETAIL_ZGP    "\t[-z groupperm | nogroupperm]\n\
 174                          \t\t\tenable|disable setting of group permissions\n\
 175                          \t\t\ton dynamic dependencies\n"
 176 @ MSG_ARG_DETAIL_ZGUIDE "\t[-z guidance | -z guidance=item1,item2,...]\n\
 177                          \t\t\tenable guidance warnings. items: \
 178                          noall, nodefs,\n\
 179                          \t\t\tnodirect, nolazyload, nomapfile, notext, \
 180                          nounused\n"
 181 @ MSG_ARG_DETAIL_ZH     "\t[-z help], [--help]\n\
 182                          \t\t\tprint this usage message\n"
 183 @ MSG_ARG_DETAIL_ZIG    "\t[-z ignore | record]\n\
 184                          \t\t\tignore|record unused dynamic dependencies\n"
 185 @ MSG_ARG_DETAIL_ZINA   "\t[-z initarray=function]\n\
 186                          \t\t\tname of function to be appended to the \
 187                          .init_array\n"
 188 @ MSG_ARG_DETAIL_ZINI   "\t[-z initfirst]\tmark object to indicate that its \
 189                          .init section should\n\
 190                          \t\t\tbe executed before the .init section of any \
 191                          other\n\t\t\tobjects\n"
 192 @ MSG_ARG_DETAIL_ZINT   "\t[-z interpose]\
 193                          \tdynamic object is to be an 'interposer' on direct\n\
 194                          \t\t\tbindings\n"
 195 @ MSG_ARG_DETAIL_ZLAZY  "\t[-z lazyload | nolazyload]\n\
 196                          \t\t\tenable|disable delayed loading of shared \
 197                          object\n\t\t\tdependencies\n"
 198 @ MSG_ARG_DETAIL_ZLD32  "\t[-z ld32=arg1,arg2,...]\n\
 199                          \t\t\tdefine arguments applicable to the \
 200                          32-bit class of ld(1)\n"
 201 @ MSG_ARG_DETAIL_ZLD64  "\t[-z ld64=arg1,arg2,...]\n\
 202                          \t\t\tdefine arguments applicable to the \
 203                          64-bit class of ld(1)\n"


1429 @ MSG_ARG_FATWARN       "fatal-warnings"
1430 @ MSG_ARG_NOFATWARN     "nofatal-warnings"
1431 @ MSG_ARG_HELP          "help"
1432 @ MSG_ARG_GROUP         "group"
1433 @ MSG_ARG_REDUCE        "reduce"
1434 @ MSG_ARG_STATIC        "static"
1435 @ MSG_ARG_SYMBOLCAP     "symbolcap"
1436 @ MSG_ARG_DEFERRED      "deferred"
1437 @ MSG_ARG_NODEFERRED    "nodeferred"
1438 @ MSG_ARG_ASSDEFLIB     "assert-deflib"
1439 
1440 @ MSG_ARG_LCOM          "L,"
1441 @ MSG_ARG_PCOM          "P,"
1442 @ MSG_ARG_UCOM          "U,"
1443 
1444 @ MSG_ARG_T_RPATH       "rpath"
1445 @ MSG_ARG_T_SHARED      "shared"
1446 @ MSG_ARG_T_SONAME      "soname"
1447 @ MSG_ARG_T_WL          "l,-"
1448 

1449 @ MSG_ARG_T_AUXFLTR     "-auxiliary"
1450 @ MSG_ARG_T_MULDEFS     "-allow-multiple-definition"
1451 @ MSG_ARG_T_INTERP      "-dynamic-linker"
1452 @ MSG_ARG_T_ENDGROUP    "-end-group"
1453 @ MSG_ARG_T_ENTRY       "-entry"
1454 @ MSG_ARG_T_STDFLTR     "-filter"
1455 @ MSG_ARG_T_FATWARN     "-fatal-warnings"
1456 @ MSG_ARG_T_NOFATWARN   "-no-fatal-warnings"
1457 @ MSG_ARG_T_HELP        "-help"
1458 @ MSG_ARG_T_LIBRARY     "-library"
1459 @ MSG_ARG_T_LIBPATH     "-library-path"

1460 @ MSG_ARG_T_NOUNDEF     "-no-undefined"
1461 @ MSG_ARG_T_NOWHOLEARC  "-no-whole-archive"
1462 @ MSG_ARG_T_OUTPUT      "-output"
1463 @ MSG_ARG_T_RELOCATABLE "-relocatable"
1464 @ MSG_ARG_T_STARTGROUP  "-start-group"
1465 @ MSG_ARG_T_STRIP       "-strip-all"
1466 @ MSG_ARG_T_UNDEF       "-undefined"
1467 @ MSG_ARG_T_VERSION     "-version"
1468 @ MSG_ARG_T_WHOLEARC    "-whole-archive"
1469 @ MSG_ARG_T_WRAP        "-wrap"
1470 @ MSG_ARG_T_OPAR        "("
1471 @ MSG_ARG_T_CPAR        ")"
1472 
1473 # -z guidance=item strings
1474 @ MSG_ARG_GUIDE_DELIM           ",: \t"
1475 @ MSG_ARG_GUIDE_NO_ALL          "noall"
1476 @ MSG_ARG_GUIDE_NO_DEFS         "nodefs"
1477 @ MSG_ARG_GUIDE_NO_DIRECT       "nodirect"
1478 @ MSG_ARG_GUIDE_NO_LAZYLOAD     "nolazyload"
1479 @ MSG_ARG_GUIDE_NO_MAPFILE      "nomapfile"




 163                          \t\t\tenable|disable direct binding to shared object\n\
 164                          \t\t\tdependencies\n"
 165 @ MSG_ARG_DETAIL_ZE     "\t[-z endfiltee]\tmarks a filtee such that it will \
 166                          terminate a filters\n\t\t\tsearch\n"
 167 @ MSG_ARG_DETAIL_ZFATW  "\t[-z fatal-warnings | nofatal-warnings],\n\
 168                          \t[--fatal-warnings | --no-fatal-warnings]\n\
 169                          \t\tenable|disable treatment of warnings as fatal\n"
 170 @ MSG_ARG_DETAIL_ZFA    "\t[-z finiarray=function]\n\
 171                          \t\t\tname of function to be appended to the \
 172                          .fini_array\n"
 173 @ MSG_ARG_DETAIL_ZGP    "\t[-z groupperm | nogroupperm]\n\
 174                          \t\t\tenable|disable setting of group permissions\n\
 175                          \t\t\ton dynamic dependencies\n"
 176 @ MSG_ARG_DETAIL_ZGUIDE "\t[-z guidance | -z guidance=item1,item2,...]\n\
 177                          \t\t\tenable guidance warnings. items: \
 178                          noall, nodefs,\n\
 179                          \t\t\tnodirect, nolazyload, nomapfile, notext, \
 180                          nounused\n"
 181 @ MSG_ARG_DETAIL_ZH     "\t[-z help], [--help]\n\
 182                          \t\t\tprint this usage message\n"
 183 @ MSG_ARG_DETAIL_ZIG    "\t[-z ignore | record], [--as-needed | --no-as-needed]\n\
 184                          \t\t\tignore|record unused dynamic dependencies\n"
 185 @ MSG_ARG_DETAIL_ZINA   "\t[-z initarray=function]\n\
 186                          \t\t\tname of function to be appended to the \
 187                          .init_array\n"
 188 @ MSG_ARG_DETAIL_ZINI   "\t[-z initfirst]\tmark object to indicate that its \
 189                          .init section should\n\
 190                          \t\t\tbe executed before the .init section of any \
 191                          other\n\t\t\tobjects\n"
 192 @ MSG_ARG_DETAIL_ZINT   "\t[-z interpose]\
 193                          \tdynamic object is to be an 'interposer' on direct\n\
 194                          \t\t\tbindings\n"
 195 @ MSG_ARG_DETAIL_ZLAZY  "\t[-z lazyload | nolazyload]\n\
 196                          \t\t\tenable|disable delayed loading of shared \
 197                          object\n\t\t\tdependencies\n"
 198 @ MSG_ARG_DETAIL_ZLD32  "\t[-z ld32=arg1,arg2,...]\n\
 199                          \t\t\tdefine arguments applicable to the \
 200                          32-bit class of ld(1)\n"
 201 @ MSG_ARG_DETAIL_ZLD64  "\t[-z ld64=arg1,arg2,...]\n\
 202                          \t\t\tdefine arguments applicable to the \
 203                          64-bit class of ld(1)\n"


1429 @ MSG_ARG_FATWARN       "fatal-warnings"
1430 @ MSG_ARG_NOFATWARN     "nofatal-warnings"
1431 @ MSG_ARG_HELP          "help"
1432 @ MSG_ARG_GROUP         "group"
1433 @ MSG_ARG_REDUCE        "reduce"
1434 @ MSG_ARG_STATIC        "static"
1435 @ MSG_ARG_SYMBOLCAP     "symbolcap"
1436 @ MSG_ARG_DEFERRED      "deferred"
1437 @ MSG_ARG_NODEFERRED    "nodeferred"
1438 @ MSG_ARG_ASSDEFLIB     "assert-deflib"
1439 
1440 @ MSG_ARG_LCOM          "L,"
1441 @ MSG_ARG_PCOM          "P,"
1442 @ MSG_ARG_UCOM          "U,"
1443 
1444 @ MSG_ARG_T_RPATH       "rpath"
1445 @ MSG_ARG_T_SHARED      "shared"
1446 @ MSG_ARG_T_SONAME      "soname"
1447 @ MSG_ARG_T_WL          "l,-"
1448 
1449 @ MSG_ARG_T_ASNEEDED    "-as-needed"
1450 @ MSG_ARG_T_AUXFLTR     "-auxiliary"
1451 @ MSG_ARG_T_MULDEFS     "-allow-multiple-definition"
1452 @ MSG_ARG_T_INTERP      "-dynamic-linker"
1453 @ MSG_ARG_T_ENDGROUP    "-end-group"
1454 @ MSG_ARG_T_ENTRY       "-entry"
1455 @ MSG_ARG_T_STDFLTR     "-filter"
1456 @ MSG_ARG_T_FATWARN     "-fatal-warnings"
1457 @ MSG_ARG_T_NOFATWARN   "-no-fatal-warnings"
1458 @ MSG_ARG_T_HELP        "-help"
1459 @ MSG_ARG_T_LIBRARY     "-library"
1460 @ MSG_ARG_T_LIBPATH     "-library-path"
1461 @ MSG_ARG_T_NOASNEEDED  "-no-as-needed"
1462 @ MSG_ARG_T_NOUNDEF     "-no-undefined"
1463 @ MSG_ARG_T_NOWHOLEARC  "-no-whole-archive"
1464 @ MSG_ARG_T_OUTPUT      "-output"
1465 @ MSG_ARG_T_RELOCATABLE "-relocatable"
1466 @ MSG_ARG_T_STARTGROUP  "-start-group"
1467 @ MSG_ARG_T_STRIP       "-strip-all"
1468 @ MSG_ARG_T_UNDEF       "-undefined"
1469 @ MSG_ARG_T_VERSION     "-version"
1470 @ MSG_ARG_T_WHOLEARC    "-whole-archive"
1471 @ MSG_ARG_T_WRAP        "-wrap"
1472 @ MSG_ARG_T_OPAR        "("
1473 @ MSG_ARG_T_CPAR        ")"
1474 
1475 # -z guidance=item strings
1476 @ MSG_ARG_GUIDE_DELIM           ",: \t"
1477 @ MSG_ARG_GUIDE_NO_ALL          "noall"
1478 @ MSG_ARG_GUIDE_NO_DEFS         "nodefs"
1479 @ MSG_ARG_GUIDE_NO_DIRECT       "nodirect"
1480 @ MSG_ARG_GUIDE_NO_LAZYLOAD     "nolazyload"
1481 @ MSG_ARG_GUIDE_NO_MAPFILE      "nomapfile"