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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sgs/libld/common/libld.msg
          +++ new/usr/src/cmd/sgs/libld/common/libld.msg
↓ open down ↓ 172 lines elided ↑ open up ↑
 173  173  @ MSG_ARG_DETAIL_ZGP    "\t[-z groupperm | nogroupperm]\n\
 174  174                           \t\t\tenable|disable setting of group permissions\n\
 175  175                           \t\t\ton dynamic dependencies\n"
 176  176  @ MSG_ARG_DETAIL_ZGUIDE "\t[-z guidance | -z guidance=item1,item2,...]\n\
 177  177                           \t\t\tenable guidance warnings. items: \
 178  178                           noall, nodefs,\n\
 179  179                           \t\t\tnodirect, nolazyload, nomapfile, notext, \
 180  180                           nounused\n"
 181  181  @ MSG_ARG_DETAIL_ZH     "\t[-z help], [--help]\n\
 182  182                           \t\t\tprint this usage message\n"
 183      -@ MSG_ARG_DETAIL_ZIG    "\t[-z ignore | record]\n\
      183 +@ MSG_ARG_DETAIL_ZIG    "\t[-z ignore | record], [--as-needed | --no-as-needed]\n\
 184  184                           \t\t\tignore|record unused dynamic dependencies\n"
 185  185  @ MSG_ARG_DETAIL_ZINA   "\t[-z initarray=function]\n\
 186  186                           \t\t\tname of function to be appended to the \
 187  187                           .init_array\n"
 188  188  @ MSG_ARG_DETAIL_ZINI   "\t[-z initfirst]\tmark object to indicate that its \
 189  189                           .init section should\n\
 190  190                           \t\t\tbe executed before the .init section of any \
 191  191                           other\n\t\t\tobjects\n"
 192  192  @ MSG_ARG_DETAIL_ZINT   "\t[-z interpose]\
 193  193                           \tdynamic object is to be an 'interposer' on direct\n\
↓ open down ↓ 1245 lines elided ↑ open up ↑
1439 1439  
1440 1440  @ MSG_ARG_LCOM          "L,"
1441 1441  @ MSG_ARG_PCOM          "P,"
1442 1442  @ MSG_ARG_UCOM          "U,"
1443 1443  
1444 1444  @ MSG_ARG_T_RPATH       "rpath"
1445 1445  @ MSG_ARG_T_SHARED      "shared"
1446 1446  @ MSG_ARG_T_SONAME      "soname"
1447 1447  @ MSG_ARG_T_WL          "l,-"
1448 1448  
     1449 +@ MSG_ARG_T_ASNEEDED    "-as-needed"
1449 1450  @ MSG_ARG_T_AUXFLTR     "-auxiliary"
1450 1451  @ MSG_ARG_T_MULDEFS     "-allow-multiple-definition"
1451 1452  @ MSG_ARG_T_INTERP      "-dynamic-linker"
1452 1453  @ MSG_ARG_T_ENDGROUP    "-end-group"
1453 1454  @ MSG_ARG_T_ENTRY       "-entry"
1454 1455  @ MSG_ARG_T_STDFLTR     "-filter"
1455 1456  @ MSG_ARG_T_FATWARN     "-fatal-warnings"
1456 1457  @ MSG_ARG_T_NOFATWARN   "-no-fatal-warnings"
1457 1458  @ MSG_ARG_T_HELP        "-help"
1458 1459  @ MSG_ARG_T_LIBRARY     "-library"
1459 1460  @ MSG_ARG_T_LIBPATH     "-library-path"
     1461 +@ MSG_ARG_T_NOASNEEDED  "-no-as-needed"
1460 1462  @ MSG_ARG_T_NOUNDEF     "-no-undefined"
1461 1463  @ MSG_ARG_T_NOWHOLEARC  "-no-whole-archive"
1462 1464  @ MSG_ARG_T_OUTPUT      "-output"
1463 1465  @ MSG_ARG_T_RELOCATABLE "-relocatable"
1464 1466  @ MSG_ARG_T_STARTGROUP  "-start-group"
1465 1467  @ MSG_ARG_T_STRIP       "-strip-all"
1466 1468  @ MSG_ARG_T_UNDEF       "-undefined"
1467 1469  @ MSG_ARG_T_VERSION     "-version"
1468 1470  @ MSG_ARG_T_WHOLEARC    "-whole-archive"
1469 1471  @ MSG_ARG_T_WRAP        "-wrap"
↓ open down ↓ 123 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX