Can ld (binutils-2.15.92.0.2) do garbage collection when dynamic linking is done?

"jeniffer" <zenith.of.perfection@gmail.com>
15 May 2006 22:24:27 -0400

          From comp.compilers

Related articles
Can ld (binutils-2.15.92.0.2) do garbage collection when dynamic linki zenith.of.perfection@gmail.com (jeniffer) (2006-05-15)
| List of all articles for this month |
From: "jeniffer" <zenith.of.perfection@gmail.com>
Newsgroups: gnu.gcc.help,comp.compilers
Date: 15 May 2006 22:24:27 -0400
Organization: http://groups.google.com
Keywords: linker, question
Posted-Date: 15 May 2006 22:24:27 EDT

--gc-sections can be used to remove unused sections when static linking
is done.


I have heard that in older versions like 2.15.92.0.2 ,using
--gc-sections one cannot do garbage collection when dynamic linking is
done while in newer versions of bintutils this is possible.


Please tell me if ld (binutils-2.15.92.0.2) can do garbage collection
when dynamic linking is done?If it can or cannot please provide
references of documents this it is written.


Which version of binutils can do garbage collection on dynamic linking
too?



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.