This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ld --gc-sections for libraries, gcc generating movsl


> Date: Mon, 8 Jan 2001 01:09:33 -0800 (PST)
> From: Etienne Lorrain <etienne@masroudeau.com>

>  The question is why only some unused functions are removed using
>  "gcc -ffunction-sections" and "ld --gc-sections". It seems that
>  all function not called and not removed are in the two libraries
>  (ext2fs and zlib) I am using.
>  To show the problem, you need to build the complete Gujin with or
>  without the Makefile variable "GC_SECTION".

Did you build ext2fs and zlib with -ffunction-sections?

-- 
- Geoffrey Keating <geoffk@geoffk.org>

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]