summaryrefslogtreecommitdiffstats
path: root/ld/ld.texinfo
diff options
context:
space:
mode:
authorChristopher Faylor <me+cygwin@cgf.cx>2002-05-22 18:03:09 +0000
committerChristopher Faylor <me+cygwin@cgf.cx>2002-05-22 18:03:09 +0000
commit70b0be790399493084660877bf2cfeae26c61117 (patch)
treeeff851bbfc460723fcabdf9273b1437f63acc41d /ld/ld.texinfo
parent76feaaf3597dd644456717109f9268006c24bb6c (diff)
downloadppe42-binutils-70b0be790399493084660877bf2cfeae26c61117.tar.gz
ppe42-binutils-70b0be790399493084660877bf2cfeae26c61117.zip
* pe-dll.c (autofilter_liblist): Add more system libs excluded by default.
(autofilter_objlist): Add crtbegin.o, crtend.o. * emultempl/pe.em (OPTION_EXCLUDE_LIBS): Add new define. (longopts): Add new option --exclude-libs. (gld_${EMULATION_NAME}_list_options): Give quick help about it. (gld_${EMULATION_NAME}_parse_args): Use it. * pe-dll.h (pe_dll_add_excludes): Add second param to prototype. * pe-dll.c (exclude_list_struct): Add field type to distinguish symbols from whole archives. (pe_dll_add_excludes): Set excludes->type. (auto_export): Add new variable libname and set to archive basename if abfd. Use it when filtering default and user-specified libarary excludes. Let string "ALL" mean all libs when filtering user-specified libs. * ld.texinfo: Document --exclude-libs.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r--ld/ld.texinfo8
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index b7fa2a9839..5eee5404c9 100644
--- a/ld/ld.texinfo
+++ b/ld/ld.texinfo
@@ -1665,6 +1665,14 @@ These cygwin-excludes are: @code{_cygwin_dll_entry@@12},
Specifies a list of symbols which should not be automatically
exported. The symbol names may be delimited by commas or colons.
+@kindex --exclude-libs
+@item --exclude-libs @var{lib},@var{lib},...
+Specifies a list of archive libraries from which symbols should not be automatically
+exported. The library names may be delimited by commas or colons. Specifying
+@code{--exclude-libs ALL} excludes symbols in all archive libraries from
+automatic export. Symbols explicitly listed in a .def file are still exported,
+regardless of this option.
+
@kindex --file-alignment
@item --file-alignment
Specify the file alignment. Sections in the file will always begin at
OpenPOWER on IntegriCloud