Re: [PATCH 0/3] build system: section garbage collection for vmlinux

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Denys Vlasenko
Date: Wednesday, September 5, 2007 - 11:46 am

On Wednesday 05 September 2007 16:53, Oleg Verych wrote:

They are vaguely connected in a sense that unused function which is
not marked static doesn't generate gcc warning, but will be discarded
by --gc-sections. "make XYZ static" also tends to find them - you make
function static, you recompile the file, and gcc informs you that
the function is not used at all!

This happened to me when I did aic7xxx patches.

You may yse --print-gc-sections to see the list of discarded sections.
--
vda
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 0/3] build system: section garbage collection f ..., Denys Vlasenko, (Wed Sep 5, 11:46 am)