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

*** 178,188 **** noall, nodefs,\n\ \t\t\tnodirect, nolazyload, nomapfile, notext, \ nounused\n" @ MSG_ARG_DETAIL_ZH "\t[-z help], [--help]\n\ \t\t\tprint this usage message\n" ! @ MSG_ARG_DETAIL_ZIG "\t[-z ignore | record]\n\ \t\t\tignore|record unused dynamic dependencies\n" @ MSG_ARG_DETAIL_ZINA "\t[-z initarray=function]\n\ \t\t\tname of function to be appended to the \ .init_array\n" @ MSG_ARG_DETAIL_ZINI "\t[-z initfirst]\tmark object to indicate that its \ --- 178,188 ---- noall, nodefs,\n\ \t\t\tnodirect, nolazyload, nomapfile, notext, \ nounused\n" @ MSG_ARG_DETAIL_ZH "\t[-z help], [--help]\n\ \t\t\tprint this usage message\n" ! @ MSG_ARG_DETAIL_ZIG "\t[-z ignore | record], [--as-needed | --no-as-needed]\n\ \t\t\tignore|record unused dynamic dependencies\n" @ MSG_ARG_DETAIL_ZINA "\t[-z initarray=function]\n\ \t\t\tname of function to be appended to the \ .init_array\n" @ MSG_ARG_DETAIL_ZINI "\t[-z initfirst]\tmark object to indicate that its \
*** 1444,1453 **** --- 1444,1454 ---- @ MSG_ARG_T_RPATH "rpath" @ MSG_ARG_T_SHARED "shared" @ MSG_ARG_T_SONAME "soname" @ MSG_ARG_T_WL "l,-" + @ MSG_ARG_T_ASNEEDED "-as-needed" @ MSG_ARG_T_AUXFLTR "-auxiliary" @ MSG_ARG_T_MULDEFS "-allow-multiple-definition" @ MSG_ARG_T_INTERP "-dynamic-linker" @ MSG_ARG_T_ENDGROUP "-end-group" @ MSG_ARG_T_ENTRY "-entry"
*** 1455,1464 **** --- 1456,1466 ---- @ MSG_ARG_T_FATWARN "-fatal-warnings" @ MSG_ARG_T_NOFATWARN "-no-fatal-warnings" @ MSG_ARG_T_HELP "-help" @ MSG_ARG_T_LIBRARY "-library" @ MSG_ARG_T_LIBPATH "-library-path" + @ MSG_ARG_T_NOASNEEDED "-no-as-needed" @ MSG_ARG_T_NOUNDEF "-no-undefined" @ MSG_ARG_T_NOWHOLEARC "-no-whole-archive" @ MSG_ARG_T_OUTPUT "-output" @ MSG_ARG_T_RELOCATABLE "-relocatable" @ MSG_ARG_T_STARTGROUP "-start-group"