This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
linker garbage collector
- From: Sivaprasad <sivaprasad dot pv at redpinesignals dot com>
- To: Binutils <binutils at sourceware dot org>
- Date: Thu, 30 Jul 2015 16:43:06 +0530
- Subject: linker garbage collector
- Authentication-results: sourceware.org; auth=none
I have complied my project with -ffunction-sections -fdata-sections
compiler options (observed separate section generated for each function)
and trying to use --gc-sections option while linking.No changes in
executable size, unused functions are still present in executable file.
Binutils version used : 2.23
Please help me, to resolve this issue.
Thanks,
Siva prasad